/kernel/linux/linux-5.10/include/linux/ |
D | rio_drv.h | 145 static inline int rio_read_config_32(struct rio_dev *rdev, u32 offset, in rio_read_config_32() 161 static inline int rio_write_config_32(struct rio_dev *rdev, u32 offset, in rio_write_config_32() 177 static inline int rio_read_config_16(struct rio_dev *rdev, u32 offset, in rio_read_config_16() 193 static inline int rio_write_config_16(struct rio_dev *rdev, u32 offset, in rio_write_config_16() 209 static inline int rio_read_config_8(struct rio_dev *rdev, u32 offset, u8 * data) in rio_read_config_8() 224 static inline int rio_write_config_8(struct rio_dev *rdev, u32 offset, u8 data) in rio_write_config_8() 241 static inline int rio_send_doorbell(struct rio_dev *rdev, u16 data) in rio_send_doorbell() 312 struct rio_dev *rdev, int mbox, in rio_add_outb_message() 354 extern struct resource *rio_request_outb_dbell(struct rio_dev *, u16, u16); 355 extern int rio_release_outb_dbell(struct rio_dev *, struct resource *); [all …]
|
D | rio.h | 85 struct rio_dev; 103 struct rio_dev *nextdev[]; 132 int (*em_init) (struct rio_dev *dev); 133 int (*em_handle) (struct rio_dev *dev, u8 swport); 175 struct rio_dev { struct 199 int (*pwcback) (struct rio_dev *rdev, union rio_pw_msg *msg, int step); argument 202 struct rio_dev *prev; argument 207 #define rio_dev_g(n) list_entry(n, struct rio_dev, global_list) argument 208 #define rio_dev_f(n) list_entry(n, struct rio_dev, net_list) 209 #define to_rio_dev(n) container_of(n, struct rio_dev, dev) [all …]
|
/kernel/linux/linux-5.10/drivers/rapidio/ |
D | rio.h | 29 extern int rio_route_add_entry(struct rio_dev *rdev, 31 extern int rio_route_get_entry(struct rio_dev *rdev, u16 table, 33 extern int rio_route_clr_table(struct rio_dev *rdev, u16 table, int lock); 34 extern int rio_set_port_lockout(struct rio_dev *rdev, u32 pnum, int lock); 35 extern struct rio_dev *rio_get_comptag(u32 comp_tag, struct rio_dev *from); 39 extern int rio_add_device(struct rio_dev *rdev); 40 extern void rio_del_device(struct rio_dev *rdev, enum rio_device_state state); 45 extern void rio_attach_device(struct rio_dev *rdev);
|
D | rio-driver.c | 28 const struct rio_dev *rdev) in rio_match_device() 54 struct rio_dev *rio_dev_get(struct rio_dev *rdev) in rio_dev_get() 71 void rio_dev_put(struct rio_dev *rdev) in rio_dev_put() 86 struct rio_dev *rdev = to_rio_dev(dev); in rio_device_probe() 117 struct rio_dev *rdev = to_rio_dev(dev); in rio_device_remove() 133 struct rio_dev *rdev = to_rio_dev(dev); in rio_device_shutdown() 175 void rio_attach_device(struct rio_dev *rdev) in rio_attach_device() 193 struct rio_dev *rdev = to_rio_dev(dev); in rio_match_bus() 211 struct rio_dev *rdev; in rio_uevent()
|
D | rio-sysfs.c | 22 struct rio_dev *rdev = to_rio_dev(dev); \ 39 struct rio_dev *rdev = to_rio_dev(dev); in routes_show() 59 struct rio_dev *rdev = to_rio_dev(dev); in lprev_show() 69 struct rio_dev *rdev = to_rio_dev(dev); in lnext_show() 90 struct rio_dev *rdev = to_rio_dev(dev); in modalias_show() 120 struct rio_dev *dev = to_rio_dev(kobj_to_dev(kobj)); in rio_read_config() 191 struct rio_dev *dev = to_rio_dev(kobj_to_dev(kobj)); in rio_write_config() 262 struct rio_dev *rdev = to_rio_dev(kobj_to_dev(kobj)); in rio_dev_is_attr_visible()
|
D | rio.c | 172 int rio_add_device(struct rio_dev *rdev) in rio_add_device() 203 void rio_del_device(struct rio_dev *rdev, enum rio_device_state state) in rio_del_device() 515 struct resource *rio_request_outb_dbell(struct rio_dev *rdev, u16 start, in rio_request_outb_dbell() 543 int rio_release_outb_dbell(struct rio_dev *rdev, struct resource *res) in rio_release_outb_dbell() 620 int rio_request_inb_pwrite(struct rio_dev *rdev, in rio_request_inb_pwrite() 621 int (*pwcback)(struct rio_dev *rdev, union rio_pw_msg *msg, int step)) in rio_request_inb_pwrite() 644 int rio_release_inb_pwrite(struct rio_dev *rdev) in rio_release_inb_pwrite() 840 struct rio_dev *rio_get_comptag(u32 comp_tag, struct rio_dev *from) in rio_get_comptag() 843 struct rio_dev *rdev; in rio_get_comptag() 867 int rio_set_port_lockout(struct rio_dev *rdev, u32 pnum, int lock) in rio_set_port_lockout() [all …]
|
D | rio-scan.c | 36 static void rio_init_em(struct rio_dev *rdev); 194 struct rio_dev *rdev; in rio_clear_locks() 284 struct rio_dev *rdev; in rio_release_dev() 299 static int rio_is_switch(struct rio_dev *rdev) in rio_is_switch() 322 static struct rio_dev *rio_setup_device(struct rio_net *net, in rio_setup_device() 327 struct rio_dev *rdev; in rio_setup_device() 487 rio_sport_is_active(struct rio_dev *rdev, int sp) in rio_sport_is_active() 527 u8 hopcount, struct rio_dev *prev, int prev_port) in rio_enum_peer() 529 struct rio_dev *rdev; in rio_enum_peer() 731 u8 hopcount, struct rio_dev *prev, int prev_port) in rio_disc_peer() [all …]
|
D | rio_cm.c | 140 struct rio_dev *rdev; 181 struct rio_dev *rdev; /* remote RapidIO device */ 198 struct rio_dev *rdev; 226 static int riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev, 703 static int riocm_queue_req(struct cm_dev *cm, struct rio_dev *rdev, in riocm_queue_req() 733 static int riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev, in riocm_post_send() 1947 struct rio_dev *rdev = to_rio_dev(dev); in riocm_add_dev() 1990 struct rio_dev *rdev = to_rio_dev(dev); in riocm_remove_dev()
|
/kernel/linux/linux-5.10/drivers/rapidio/switches/ |
D | idt_gen2.c | 213 idtg2_em_init(struct rio_dev *rdev) in idtg2_em_init() 322 idtg2_em_handler(struct rio_dev *rdev, u8 portnum) in idtg2_em_handler() 371 struct rio_dev *rdev = to_rio_dev(dev); in idtg2_show_errlog() 389 static int idtg2_sysfs(struct rio_dev *rdev, bool create) in idtg2_sysfs() 416 static int idtg2_probe(struct rio_dev *rdev, const struct rio_device_id *id) in idtg2_probe() 443 static void idtg2_remove(struct rio_dev *rdev) in idtg2_remove()
|
D | idt_gen3.c | 161 idtg3_em_init(struct rio_dev *rdev) in idtg3_em_init() 231 idtg3_em_handler(struct rio_dev *rdev, u8 pnum) in idtg3_em_handler() 270 static int idtg3_probe(struct rio_dev *rdev, const struct rio_device_id *id) in idtg3_probe() 296 static void idtg3_remove(struct rio_dev *rdev) in idtg3_remove() 310 static void idtg3_shutdown(struct rio_dev *rdev) in idtg3_shutdown()
|
D | tsi568.c | 111 tsi568_em_init(struct rio_dev *rdev) in tsi568_em_init() 140 static int tsi568_probe(struct rio_dev *rdev, const struct rio_device_id *id) in tsi568_probe() 156 static void tsi568_remove(struct rio_dev *rdev) in tsi568_remove()
|
D | tsi57x.c | 156 tsi57x_em_init(struct rio_dev *rdev) in tsi57x_em_init() 209 tsi57x_em_handler(struct rio_dev *rdev, u8 portnum) in tsi57x_em_handler() 301 static int tsi57x_probe(struct rio_dev *rdev, const struct rio_device_id *id) in tsi57x_probe() 323 static void tsi57x_remove(struct rio_dev *rdev) in tsi57x_remove()
|
D | idtcps.c | 129 static int idtcps_probe(struct rio_dev *rdev, const struct rio_device_id *id) in idtcps_probe() 155 static void idtcps_remove(struct rio_dev *rdev) in idtcps_remove()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | rionet.c | 67 struct rio_dev *rdev; 75 struct rio_dev **active; 146 struct rio_dev *rdev) in rionet_queue_tx_msg() 405 struct rio_dev *rdev = to_rio_dev(dev); in rionet_remove_dev() 489 nets[mport->id].active = (struct rio_dev **)__get_free_pages(GFP_KERNEL, in rionet_setup_netdev() 550 struct rio_dev *rdev = to_rio_dev(dev); in rionet_add_dev()
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
D | fsl_rio.h | 134 struct rio_dev *rdev,
|
D | fsl_rmu.c | 660 fsl_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, in fsl_add_outb_message()
|
/kernel/linux/linux-5.10/Documentation/driver-api/rapidio/ |
D | rapidio.rst | 53 All devices are presented in the RapidIO subsystem by corresponding rio_dev data 63 RapidIO subsystem by rio_dev data structure expanded by additional rio_switch 258 is successfully acquired, the enumerator allocates a new rio_dev structure and
|
/kernel/linux/linux-5.10/drivers/rapidio/devices/ |
D | rio_mport_cdev.c | 1649 struct rio_dev *rdev; in rio_release_dev() 1680 struct rio_dev *rdev; in rio_mport_add_riodev() 1822 struct rio_dev *rdev = NULL; in rio_mport_del_riodev()
|
D | tsi721.c | 1667 tsi721_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, in tsi721_add_outb_message()
|