Home
last modified time | relevance | path

Searched refs:rio_mport (Results 1 – 16 of 16) sorted by relevance

/linux/include/linux/
H A Drio_drv.h19 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 …]
H A Drio.h84 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/arch/powerpc/sysdev/
H A Dfsl_rio.h88 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 …]
H A Dfsl_rmu.c208 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 …]
H A Dfsl_rio.c142 static int fsl_local_config_read(struct rio_mport *mport, in fsl_local_config_read()
164 static int fsl_local_config_write(struct rio_mport *mport, in fsl_local_config_write()
190 fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_read()
255 fsl_rio_config_write(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_write()
307 static int fsl_map_inb_mem(struct rio_mport *mport, dma_addr_t lstart, in fsl_map_inb_mem()
358 static void fsl_unmap_inb_mem(struct rio_mport *mport, dma_addr_t lstart) in fsl_unmap_inb_mem()
449 struct rio_mport *port; in fsl_rio_setup()
583 port = kzalloc_obj(struct rio_mport); in fsl_rio_setup()
/linux/drivers/rapidio/
H A Drio.h18 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,
H A Drio-access.c34 (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()
H A Drio-sysfs.c332 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()
H A Drio_cm.c147 struct rio_mport *mport;
613 static void riocm_inb_msg_event(struct rio_mport *mport, void *dev_id, in riocm_inb_msg_event()
690 static void riocm_outb_msg_event(struct rio_mport *mport, void *dev_id, in riocm_outb_msg_event()
2098 struct rio_mport *mport = to_rio_mport(dev); in riocm_add_mport()
2173 struct rio_mport *mport = to_rio_mport(dev); in riocm_remove_mport()
/linux/drivers/rapidio/switches/
H A Didtcps.c21 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()
H A Didt_gen2.c87 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()
H A Didt_gen3.c37 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/drivers/net/
H A Drionet.c52 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()
667 struct rio_mport *mport = to_rio_mport(dev); in rionet_remove_mport()
/linux/drivers/rapidio/devices/
H A Dtsi721_dma.c54 return container_of(ddev, struct rio_mport, dma)->priv; in to_tsi721()
968 struct rio_mport *mport = &priv->mport; in tsi721_register_dma()
1021 struct rio_mport *mport = &priv->mport; in tsi721_unregister_dma()
H A Dtsi721.h869 struct rio_mport mport;
/linux/Documentation/driver-api/rapidio/
H A Drapidio.rst38 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