vme_bridgeRegular
4.4: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(int));
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
4.8: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(int));
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
4.10: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
4.13: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
4.15: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
4.18: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
5.0: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
5.3: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
5.4: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
5.8: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
5.11: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
5.13: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
5.15: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
5.19: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
6.2: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
6.5: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
6.8: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
arm64: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
armhf: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
ppc64el: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
riscv64: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
aws: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
azure: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
gcp: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
lowlatency: ✅struct vme_bridge {
char name[16];
int num;
struct list_head master_resources;
struct list_head slave_resources;
struct list_head dma_resources;
struct list_head lm_resources;
struct list_head vme_error_handlers;
struct list_head devices;
struct device *parent;
void *driver_priv;
struct list_head bus_list;
struct vme_irq irq[7];
struct mutex irq_mtx;
int (*slave_get)(struct vme_slave_resource *, int *, long long unsigned int *, long long unsigned int *, dma_addr_t *, u32 *, u32 *);
int (*slave_set)(struct vme_slave_resource *, int, long long unsigned int, long long unsigned int, dma_addr_t, u32, u32);
int (*master_get)(struct vme_master_resource *, int *, long long unsigned int *, long long unsigned int *, u32 *, u32 *, u32 *);
int (*master_set)(struct vme_master_resource *, int, long long unsigned int, long long unsigned int, u32, u32, u32);
ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t);
ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t);
unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t);
int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t);
int (*dma_list_exec)(struct vme_dma_list *);
int (*dma_list_empty)(struct vme_dma_list *);
void (*irq_set)(struct vme_bridge *, int, int, int);
int (*irq_generate)(struct vme_bridge *, int, int);
int (*lm_set)(struct vme_lm_resource *, long long unsigned int, u32, u32);
int (*lm_get)(struct vme_lm_resource *, long long unsigned int *, u32 *, u32 *);
int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *);
int (*lm_detach)(struct vme_lm_resource *, int);
int (*slot_get)(struct vme_bridge *);
void * (*alloc_consistent)(struct device *, size_t, dma_addr_t *);
void (*free_consistent)(struct device *, size_t, void *, dma_addr_t);
};
Regular
4.4 and 4.8 ✅
4.8 and 4.10 ⚠️int (*lm_attach)(struct vme_lm_resource *, int, void(*)(int)) ➡️ int (*lm_attach)(struct vme_lm_resource *, int, void(*)(void *), void *)
4.10 and 4.13 ✅
4.13 and 4.15 ✅
4.15 and 4.18 ✅
4.18 and 5.0 ✅
5.0 and 5.3 ✅
5.3 and 5.4 ✅
5.4 and 5.8 ✅
5.8 and 5.11 ✅
5.11 and 5.13 ✅
5.13 and 5.15 ✅
5.15 and 5.19 ✅
5.19 and 6.2 ✅
6.2 and 6.5 ✅
6.5 and 6.8 ✅
amd64 and arm64 ✅
amd64 and armhf ✅
amd64 and ppc64el ✅
amd64 and riscv64 ✅
generic and aws ✅
generic and azure ✅
generic and gcp ✅
generic and lowlatency ✅