/linux-6.1.9/include/linux/ |
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 *port, u16 destid, [all …]
|
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); 265 struct rio_mport { struct [all …]
|
/linux-6.1.9/arch/powerpc/sysdev/ |
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 *mport, int mbox); [all …]
|
D | fsl_rmu.c | 208 struct rio_mport *port = (struct rio_mport *)dev_instance; in fsl_rio_tx_handler() 253 struct rio_mport *port = (struct rio_mport *)dev_instance; in fsl_rio_rx_handler() 518 int fsl_rio_pw_enable(struct rio_mport *mport, int enable) in fsl_rio_pw_enable() 624 int fsl_rio_doorbell_send(struct rio_mport *mport, in fsl_rio_doorbell_send() 660 fsl_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, in fsl_add_outb_message() 720 fsl_open_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) in fsl_open_outb_mbox() 823 void fsl_close_outb_mbox(struct rio_mport *mport, int mbox) in fsl_close_outb_mbox() 852 fsl_open_inb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) in fsl_open_inb_mbox() 924 void fsl_close_inb_mbox(struct rio_mport *mport, int mbox) in fsl_close_inb_mbox() 949 int fsl_add_inb_buffer(struct rio_mport *mport, int mbox, void *buf) in fsl_add_inb_buffer() [all …]
|
D | fsl_rio.c | 141 static int fsl_local_config_read(struct rio_mport *mport, in fsl_local_config_read() 163 static int fsl_local_config_write(struct rio_mport *mport, in fsl_local_config_write() 189 fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_read() 254 fsl_rio_config_write(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_write() 306 int fsl_map_inb_mem(struct rio_mport *mport, dma_addr_t lstart, in fsl_map_inb_mem() 357 void fsl_unmap_inb_mem(struct rio_mport *mport, dma_addr_t lstart) in fsl_unmap_inb_mem() 448 struct rio_mport *port; in fsl_rio_setup() 623 port = kzalloc(sizeof(struct rio_mport), GFP_KERNEL); in fsl_rio_setup()
|
/linux-6.1.9/drivers/rapidio/ |
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);
|
D | rio.c | 38 int (*pwcback)(struct rio_mport *mport, void *context, 72 u16 rio_local_get_device_id(struct rio_mport *port) in rio_local_get_device_id() 90 int rio_query_mport(struct rio_mport *port, in rio_query_mport() 108 struct rio_net *rio_alloc_net(struct rio_mport *mport) in rio_alloc_net() 157 void rio_local_set_device_id(struct rio_mport *port, u16 did) in rio_local_set_device_id() 232 int rio_request_inb_mbox(struct rio_mport *mport, in rio_request_inb_mbox() 236 void (*minb) (struct rio_mport * mport, void *dev_id, int mbox, in rio_request_inb_mbox() 285 int rio_release_inb_mbox(struct rio_mport *mport, int mbox) in rio_release_inb_mbox() 317 int rio_request_outb_mbox(struct rio_mport *mport, in rio_request_outb_mbox() 321 void (*moutb) (struct rio_mport * mport, void *dev_id, int mbox, int slot)) in rio_request_outb_mbox() [all …]
|
D | rio-access.c | 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) in rio_mport_send_doorbell()
|
D | rio-scan.c | 159 static u16 rio_get_device_id(struct rio_mport *port, u16 destid, u8 hopcount) in rio_get_device_id() 177 static void rio_set_device_id(struct rio_mport *port, u16 destid, u8 hopcount, u16 did) in rio_set_device_id() 193 struct rio_mport *port = net->hport; in rio_clear_locks() 240 static int rio_enum_host(struct rio_mport *port) in rio_enum_host() 267 static int rio_device_has_destid(struct rio_mport *port, int src_ops, in rio_device_has_destid() 323 struct rio_mport *port, u16 destid, in rio_setup_device() 505 static u16 rio_get_host_deviceid_lock(struct rio_mport *port, u8 hopcount) in rio_get_host_deviceid_lock() 526 static int rio_enum_peer(struct rio_net *net, struct rio_mport *port, in rio_enum_peer() 708 static int rio_enum_complete(struct rio_mport *port) in rio_enum_complete() 730 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, in rio_disc_peer() [all …]
|
D | rio-sysfs.c | 332 struct rio_mport *mport = to_rio_mport(dev); in port_destid_show() 344 struct rio_mport *mport = to_rio_mport(dev); in sys_size_show()
|
D | rio_cm.c | 147 struct rio_mport *mport; 617 static void riocm_inb_msg_event(struct rio_mport *mport, void *dev_id, in riocm_inb_msg_event() 694 static void riocm_outb_msg_event(struct rio_mport *mport, void *dev_id, in riocm_outb_msg_event() 2101 struct rio_mport *mport = to_rio_mport(dev); in riocm_add_mport() 2178 struct rio_mport *mport = to_rio_mport(dev); in riocm_remove_mport()
|
/linux-6.1.9/drivers/rapidio/switches/ |
D | idtcps.c | 21 idtcps_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_add_entry() 45 idtcps_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_get_entry() 68 idtcps_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_route_clr_table() 90 idtcps_set_domain(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_set_domain() 102 idtcps_get_domain(struct rio_mport *mport, u16 destid, u8 hopcount, in idtcps_get_domain()
|
D | idt_gen2.c | 87 idtg2_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_add_entry() 120 idtg2_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_get_entry() 152 idtg2_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_route_clr_table() 184 idtg2_set_domain(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_set_domain() 196 idtg2_get_domain(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg2_get_domain()
|
D | idt_gen3.c | 37 idtg3_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg3_route_add_entry() 79 idtg3_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg3_route_get_entry() 118 idtg3_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in idtg3_route_clr_table()
|
/linux-6.1.9/drivers/rapidio/devices/ |
D | tsi721.c | 57 static int tsi721_lcread(struct rio_mport *mport, int index, u32 offset, in tsi721_lcread() 81 static int tsi721_lcwrite(struct rio_mport *mport, int index, u32 offset, in tsi721_lcwrite() 213 static int tsi721_cread_dma(struct rio_mport *mport, int index, u16 destid, in tsi721_cread_dma() 236 static int tsi721_cwrite_dma(struct rio_mport *mport, int index, u16 destid, in tsi721_cwrite_dma() 311 static int tsi721_pw_enable(struct rio_mport *mport, int enable) in tsi721_pw_enable() 341 static int tsi721_dsend(struct rio_mport *mport, int index, in tsi721_dsend() 385 struct rio_mport *mport; in tsi721_db_dpc() 919 static int tsi721_map_outb_win(struct rio_mport *mport, u16 destid, u64 rstart, in tsi721_map_outb_win() 1002 static void tsi721_unmap_outb_win(struct rio_mport *mport, in tsi721_unmap_outb_win() 1086 static int tsi721_rio_map_inb_mem(struct rio_mport *mport, dma_addr_t lstart, in tsi721_rio_map_inb_mem() [all …]
|
D | rio_mport_cdev.c | 167 struct rio_mport *mport; 261 struct rio_mport *mport = priv->md->mport; in rio_mport_maint_rd() 306 struct rio_mport *mport = priv->md->mport; in rio_mport_maint_wr() 363 struct rio_mport *mport = md->mport; in rio_mport_create_outbound_mapping() 1203 struct rio_mport *mport = md->mport; in rio_mport_create_inbound_mapping() 1397 static void rio_mport_doorbell_handler(struct rio_mport *mport, void *dev_id, in rio_mport_doorbell_handler() 1517 static int rio_mport_pw_handler(struct rio_mport *mport, void *context, in rio_mport_pw_handler() 1683 struct rio_mport *mport; in rio_mport_add_riodev() 1825 struct rio_mport *mport; in rio_mport_del_riodev() 2150 struct rio_mport *mport = map->md->mport; in mport_release_mapping() [all …]
|
D | tsi721_dma.c | 54 return container_of(ddev, struct rio_mport, dma)->priv; in to_tsi721() 967 struct rio_mport *mport = &priv->mport; in tsi721_register_dma() 1020 struct rio_mport *mport = &priv->mport; in tsi721_unregister_dma()
|
D | tsi721.h | 869 struct rio_mport mport;
|
/linux-6.1.9/drivers/net/ |
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, in rionet_dbell_event() 266 static void rionet_inb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot) in rionet_inb_msg_event() 282 static void rionet_outb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot) in rionet_outb_msg_event() 481 static int rionet_setup_netdev(struct rio_mport *mport, struct net_device *ndev) in rionet_setup_netdev() 668 struct rio_mport *mport = to_rio_mport(dev); in rionet_remove_mport()
|
/linux-6.1.9/Documentation/driver-api/rapidio/ |
D | rapidio.rst | 38 by a rio_mport data structure. This structure contains master port specific 39 resources such as mailboxes and doorbells. The rio_mport also includes a unique 45 independent interface for RapidIO subsystem operations, rio_mport structure
|