/linux-master/include/linux/ |
H A D | rio_drv.h | 19 extern int __rio_local_read_config_32(struct rio_mport *port, u32 offset, 21 extern int __rio_local_write_config_32(struct rio_mport *port, u32 offset, 23 extern int __rio_local_read_config_16(struct rio_mport *port, u32 offset, 25 extern int __rio_local_write_config_16(struct rio_mport *port, u32 offset, 27 extern int __rio_local_read_config_8(struct rio_mport *port, u32 offset, 29 extern int __rio_local_write_config_8(struct rio_mport *port, u32 offset, 32 extern int rio_mport_read_config_32(struct rio_mport *port, u16 destid, 34 extern int rio_mport_write_config_32(struct rio_mport *port, u16 destid, 36 extern int rio_mport_read_config_16(struct rio_mport *port, u16 destid, 38 extern int rio_mport_write_config_16(struct rio_mport *por [all...] |
H A D | rio.h | 84 struct rio_mport; 122 int (*add_entry) (struct rio_mport *mport, u16 destid, u8 hopcount, 124 int (*get_entry) (struct rio_mport *mport, u16 destid, u8 hopcount, 126 int (*clr_table) (struct rio_mport *mport, u16 destid, u8 hopcount, 128 int (*set_domain) (struct rio_mport *mport, u16 destid, u8 hopcount, 130 int (*get_domain) (struct rio_mport *mport, u16 destid, u8 hopcount, 211 #define to_rio_mport(n) container_of(n, struct rio_mport, dev) 221 void (*mcback) (struct rio_mport * mport, void *dev_id, int mbox, int slot); 234 void (*dinb) (struct rio_mport *mport, void *dev_id, u16 src, u16 dst, u16 info); 239 * struct rio_mport 265 struct rio_mport { struct [all...] |
/linux-master/arch/powerpc/sysdev/ |
H A D | fsl_rio.h | 88 struct rio_mport *mport[MAX_PORT_NUM]; 96 struct rio_mport *mport[MAX_PORT_NUM]; 124 extern int fsl_rio_setup_rmu(struct rio_mport *mport, 127 extern int fsl_rio_pw_enable(struct rio_mport *mport, int enable); 131 extern int fsl_rio_doorbell_send(struct rio_mport *mport, 133 extern int fsl_add_outb_message(struct rio_mport *mport, 136 extern int fsl_open_outb_mbox(struct rio_mport *mport, 138 extern void fsl_close_outb_mbox(struct rio_mport *mport, int mbox); 139 extern int fsl_open_inb_mbox(struct rio_mport *mport, 141 extern void fsl_close_inb_mbox(struct rio_mport *mpor [all...] |
H A D | fsl_rmu.c | 208 struct rio_mport *port = (struct rio_mport *)dev_instance; 253 struct rio_mport *port = (struct rio_mport *)dev_instance; 518 int fsl_rio_pw_enable(struct rio_mport *mport, int enable) 624 int fsl_rio_doorbell_send(struct rio_mport *mport, 660 fsl_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, 720 fsl_open_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) 823 void fsl_close_outb_mbox(struct rio_mport *mport, int mbox) 852 fsl_open_inb_mbox(struct rio_mport *mpor [all...] |
H A D | fsl_rio.c | 142 static int fsl_local_config_read(struct rio_mport *mport, 164 static int fsl_local_config_write(struct rio_mport *mport, 190 fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, 255 fsl_rio_config_write(struct rio_mport *mport, int index, u16 destid, 307 static int fsl_map_inb_mem(struct rio_mport *mport, dma_addr_t lstart, 358 static void fsl_unmap_inb_mem(struct rio_mport *mport, dma_addr_t lstart) 449 struct rio_mport *port; 583 port = kzalloc(sizeof(struct rio_mport), GFP_KERNEL);
|
/linux-master/drivers/rapidio/ |
H A D | rio.h | 18 extern u32 rio_mport_get_feature(struct rio_mport *mport, int local, u16 destid, 20 extern u32 rio_mport_get_physefb(struct rio_mport *port, int local, 22 extern u32 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid, 24 extern int rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid, 26 extern int rio_lock_device(struct rio_mport *port, u16 destid, 28 extern int rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount); 36 extern struct rio_net *rio_alloc_net(struct rio_mport *mport); 41 extern int rio_enable_rx_tx_port(struct rio_mport *port, int local, u16 destid, 46 extern struct rio_mport *rio_find_mport(int mport_id);
|
H A D | rio-access.c | 16 * alignment and call the low-level functions pointed to by rio_mport->ops. 34 (struct rio_mport *mport, u32 offset, type *value) \ 55 (struct rio_mport *mport, u32 offset, type value) \ 86 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type *value) \ 107 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type value) \ 138 int rio_mport_send_doorbell(struct rio_mport *mport, u16 destid, u16 data)
|
H A D | rio.c | 38 int (*pwcback)(struct rio_mport *mport, void *context, 72 u16 rio_local_get_device_id(struct rio_mport *port) 90 int rio_query_mport(struct rio_mport *port, 108 struct rio_net *rio_alloc_net(struct rio_mport *mport) 157 void rio_local_set_device_id(struct rio_mport *port, u16 did) 232 int rio_request_inb_mbox(struct rio_mport *mport, 236 void (*minb) (struct rio_mport * mport, void *dev_id, int mbox, 285 int rio_release_inb_mbox(struct rio_mport *mport, int mbox) 317 int rio_request_outb_mbox(struct rio_mport *mport, 321 void (*moutb) (struct rio_mport * mpor [all...] |
H A D | rio-scan.c | 159 static u16 rio_get_device_id(struct rio_mport *port, u16 destid, u8 hopcount) 177 static void rio_set_device_id(struct rio_mport *port, u16 destid, u8 hopcount, u16 did) 193 struct rio_mport *port = net->hport; 240 static int rio_enum_host(struct rio_mport *port) 267 static int rio_device_has_destid(struct rio_mport *port, int src_ops, 323 struct rio_mport *port, u16 destid, 505 static u16 rio_get_host_deviceid_lock(struct rio_mport *port, u8 hopcount) 526 static int rio_enum_peer(struct rio_net *net, struct rio_mport *port, 708 static int rio_enum_complete(struct rio_mport *port) 730 rio_disc_peer(struct rio_net *net, struct rio_mport *por [all...] |
H A D | rio-sysfs.c | 332 struct rio_mport *mport = to_rio_mport(dev); 344 struct rio_mport *mport = to_rio_mport(dev);
|
H A D | rio_cm.c | 147 struct rio_mport *mport; 619 static void riocm_inb_msg_event(struct rio_mport *mport, void *dev_id, 696 static void riocm_outb_msg_event(struct rio_mport *mport, void *dev_id, 2101 struct rio_mport *mport = to_rio_mport(dev); 2176 struct rio_mport *mport = to_rio_mport(dev);
|
/linux-master/drivers/rapidio/switches/ |
H A D | idtcps.c | 21 idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, 45 idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, 68 idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, 90 idtcps_set_domain(struct rio_mport *mport, u16 destid, u8 hopcount, 102 idtcps_get_domain(struct rio_mport *mport, u16 destid, u8 hopcount,
|
H A D | idt_gen2.c | 87 idtg2_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, 120 idtg2_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, 152 idtg2_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, 184 idtg2_set_domain(struct rio_mport *mport, u16 destid, u8 hopcount, 196 idtg2_get_domain(struct rio_mport *mport, u16 destid, u8 hopcount,
|
H A D | idt_gen3.c | 37 idtg3_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, 79 idtg3_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, 118 idtg3_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount,
|
/linux-master/drivers/rapidio/devices/ |
H A D | tsi721.c | 58 static int tsi721_lcread(struct rio_mport *mport, int index, u32 offset, 83 static int tsi721_lcwrite(struct rio_mport *mport, int index, u32 offset, 215 static int tsi721_cread_dma(struct rio_mport *mport, int index, u16 destid, 238 static int tsi721_cwrite_dma(struct rio_mport *mport, int index, u16 destid, 317 static int tsi721_pw_enable(struct rio_mport *mport, int enable) 349 static int tsi721_dsend(struct rio_mport *mport, int index, 395 struct rio_mport *mport; 943 static int tsi721_map_outb_win(struct rio_mport *mport, u16 destid, u64 rstart, 1026 static void tsi721_unmap_outb_win(struct rio_mport *mport, 1110 static int tsi721_rio_map_inb_mem(struct rio_mport *mpor [all...] |
H A D | rio_mport_cdev.c | 44 #define DRV_NAME "rio_mport" 46 #define DEV_NAME "rio_mport" 167 struct rio_mport *mport; 263 struct rio_mport *mport = priv->md->mport; 308 struct rio_mport *mport = priv->md->mport; 365 struct rio_mport *mport = md->mport; 1205 struct rio_mport *mport = md->mport; 1399 static void rio_mport_doorbell_handler(struct rio_mport *mport, void *dev_id, 1519 static int rio_mport_pw_handler(struct rio_mport *mport, void *context, 1685 struct rio_mport *mpor [all...] |
H A D | tsi721_dma.c | 54 return container_of(ddev, struct rio_mport, dma)->priv; 969 struct rio_mport *mport = &priv->mport; 1022 struct rio_mport *mport = &priv->mport;
|
H A D | tsi721.h | 869 struct rio_mport mport;
|
/linux-master/drivers/net/ |
H A D | rionet.c | 52 struct rio_mport *mport; 227 static void rionet_dbell_event(struct rio_mport *mport, void *dev_id, u16 sid, u16 tid, 266 static void rionet_inb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot) 282 static void rionet_outb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot) 481 static int rionet_setup_netdev(struct rio_mport *mport, struct net_device *ndev) 667 struct rio_mport *mport = to_rio_mport(dev);
|