Home
last modified time | relevance | path

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

/linux/include/linux/
A Drio_drv.h297 void (*)(struct rio_mport *, void *,int, int));
298 extern int rio_release_outb_mbox(struct rio_mport *, int);
311 static inline int rio_add_outb_message(struct rio_mport *mport, in rio_add_outb_message()
320 void (*)(struct rio_mport *, void *, int, int));
321 extern int rio_release_inb_mbox(struct rio_mport *, int);
352 void (*)(struct rio_mport *, void *, u16, u16, u16));
370 extern void rio_unmap_outb_region(struct rio_mport *mport,
378 int (*pwcback)(struct rio_mport *mport, void *dev_id,
381 int (*pwcback)(struct rio_mport *mport, void *dev_id,
383 extern int rio_inb_pwrite_handler(struct rio_mport *mport,
[all …]
A Drio.h84 struct rio_mport;
265 struct rio_mport { struct
409 int (*pwenable) (struct rio_mport *mport, int enable);
423 int (*query_mport)(struct rio_mport *mport,
518 return container_of(ddev, struct rio_mport, dma); in dma_to_mport()
530 int (*enumerate)(struct rio_mport *mport, u32 flags);
531 int (*discover)(struct rio_mport *mport, u32 flags);
548 extern int rio_mport_initialize(struct rio_mport *);
549 extern int rio_register_mport(struct rio_mport *);
550 extern int rio_unregister_mport(struct rio_mport *);
[all …]
/linux/arch/powerpc/sysdev/
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 …]
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()
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()
981 void *fsl_get_inb_message(struct rio_mport *mport, int mbox) in fsl_get_inb_message()
[all …]
A Dfsl_rio.c133 static int fsl_local_config_read(struct rio_mport *mport, in fsl_local_config_read()
155 static int fsl_local_config_write(struct rio_mport *mport, in fsl_local_config_write()
181 fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_read()
246 fsl_rio_config_write(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_write()
298 int fsl_map_inb_mem(struct rio_mport *mport, dma_addr_t lstart, in fsl_map_inb_mem()
349 void fsl_unmap_inb_mem(struct rio_mport *mport, dma_addr_t lstart) in fsl_unmap_inb_mem()
440 struct rio_mport *port; in fsl_rio_setup()
613 port = kzalloc(sizeof(struct rio_mport), GFP_KERNEL); in fsl_rio_setup()
/linux/drivers/rapidio/
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,
46 extern struct rio_mport *rio_find_mport(int mport_id);
A Drio.c72 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()
563 int (*pwcback)(struct rio_mport *mport, in rio_add_mport_pw_handler()
590 int (*pwcback)(struct rio_mport *mport, in rio_del_mport_pw_handler()
1754 struct rio_mport *mport = arg; in rio_chan_filter()
1873 struct rio_mport *port; in rio_find_mport()
1902 struct rio_mport *port; in rio_register_scan()
1977 struct rio_mport *port; in rio_unregister_scan()
2012 struct rio_mport *port = NULL; in rio_mport_scan()
2048 struct rio_mport *mport;
[all …]
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()
A Drio-scan.c193 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()
522 static int rio_enum_peer(struct rio_net *net, struct rio_mport *port, in rio_enum_peer()
704 static int rio_enum_complete(struct rio_mport *port) in rio_enum_complete()
726 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, in rio_disc_peer()
797 static int rio_mport_is_active(struct rio_mport *port) in rio_mport_is_active()
833 static struct rio_net *rio_scan_alloc_net(struct rio_mport *mport, in rio_scan_alloc_net()
942 static int rio_enum_mport(struct rio_mport *mport, u32 flags) in rio_enum_mport()
[all …]
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()
A Drio_cm.c147 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/drivers/rapidio/switches/
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()
A Dtsi57x.c42 tsi57x_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_route_add_entry()
63 tsi57x_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_route_get_entry()
90 tsi57x_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_route_clr_table()
117 tsi57x_set_domain(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_set_domain()
139 tsi57x_get_domain(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi57x_get_domain()
211 struct rio_mport *mport = rdev->net->hport; in tsi57x_em_handler()
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()
A Dtsi568.c33 tsi568_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi568_route_add_entry()
55 tsi568_route_get_entry(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi568_route_get_entry()
82 tsi568_route_clr_table(struct rio_mport *mport, u16 destid, u8 hopcount, in tsi568_route_clr_table()
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/rapidio/devices/
A Dtsi721.c57 static int tsi721_lcread(struct rio_mport *mport, int index, u32 offset, in tsi721_lcread()
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()
1002 static void tsi721_unmap_outb_win(struct rio_mport *mport, in tsi721_unmap_outb_win()
1239 static void tsi721_rio_unmap_inb_mem(struct rio_mport *mport, in tsi721_rio_unmap_inb_mem()
1737 struct rio_mport *mport = &priv->mport; in tsi721_omsg_handler()
2117 struct rio_mport *mport = &priv->mport; in tsi721_imsg_handler()
2546 static int tsi721_query_mport(struct rio_mport *mport, in tsi721_query_mport()
2646 struct rio_mport *mport = to_rio_mport(dev); in tsi721_mport_release()
[all …]
A Drio_mport_cdev.c167 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()
1683 struct rio_mport *mport; in rio_mport_add_riodev()
1822 struct rio_mport *mport; in rio_mport_del_riodev()
2147 struct rio_mport *mport = map->md->mport; in mport_release_mapping()
2300 struct rio_mport *mport = priv->md->mport; in mport_write()
2541 struct rio_mport *mport = NULL; in mport_add_mport()
[all …]
A Dtsi721_dma.c54 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()
A Dtsi721.h869 struct rio_mport mport;
/linux/drivers/net/
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()
668 struct rio_mport *mport = to_rio_mport(dev); in rionet_remove_mport()
/linux/Documentation/driver-api/rapidio/
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

Completed in 61 milliseconds