Home
last modified time | relevance | path

Searched refs:rio_dev (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/include/linux/
H A Drio_drv.h312 struct rio_dev *rdev, int mbox, in rio_add_outb_message()
358 int rio_claim_resource(struct rio_dev *, int);
359 int rio_request_regions(struct rio_dev *, char *);
360 void rio_release_regions(struct rio_dev *);
361 int rio_request_region(struct rio_dev *, int, char *);
362 void rio_release_region(struct rio_dev *, int);
374 extern int rio_request_inb_pwrite(struct rio_dev *,
376 extern int rio_release_inb_pwrite(struct rio_dev *);
390 struct rio_dev *rio_dev_get(struct rio_dev *);
391 void rio_dev_put(struct rio_dev *);
[all …]
H A Drio.h85 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
202 struct rio_dev *prev; argument
209 #define to_rio_dev(n) container_of(n, struct rio_dev, dev)
460 void (*remove) (struct rio_dev * dev);
461 void (*shutdown)(struct rio_dev *dev);
462 int (*suspend) (struct rio_dev * dev, u32 state);
[all …]
/openbmc/linux/drivers/rapidio/
H A Drio.h29 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);
H A Drio-driver.c28 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()
131 struct rio_dev *rdev = to_rio_dev(dev); in rio_device_shutdown()
173 void rio_attach_device(struct rio_dev *rdev) in rio_attach_device()
191 struct rio_dev *rdev = to_rio_dev(dev); in rio_match_bus()
209 const struct rio_dev *rdev; in rio_uevent()
H A Drio-sysfs.c22 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()
H A Drio.c172 int rio_add_device(struct rio_dev *rdev) in rio_add_device()
620 int rio_request_inb_pwrite(struct rio_dev *rdev, 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()
954 rio_chk_dev_route(struct rio_dev *rdev, struct rio_dev **nrdev, int *npnum) in rio_chk_dev_route()
958 struct rio_dev *prev = NULL; in rio_chk_dev_route()
1014 static int rio_chk_dev_access(struct rio_dev *rdev) in rio_chk_dev_access()
1172 struct rio_dev *rdev; in rio_inb_pwrite_handler()
1614 int rio_route_add_entry(struct rio_dev *rdev, in rio_route_add_entry()
[all …]
H A Drio-scan.c36 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()
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()
529 struct rio_dev *rdev; in rio_enum_peer()
734 struct rio_dev *rdev; in rio_disc_peer()
890 struct rio_dev *rdev, *swrdev; in rio_update_route_tables()
928 static void rio_init_em(struct rio_dev *rdev) in rio_init_em()
[all …]
H A Drio_cm.c140 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()
/openbmc/linux/drivers/rapidio/switches/
H A Didt_gen2.c213 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()
H A Didt_gen3.c161 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()
H A Didtcps.c129 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()
/openbmc/linux/drivers/net/
H A Drionet.c67 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()
490 nets[mport->id].active = (struct rio_dev **)__get_free_pages(GFP_KERNEL, in rionet_setup_netdev()
552 struct rio_dev *rdev = to_rio_dev(dev); in rionet_add_dev()
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_rio.h134 struct rio_dev *rdev,
H A Dfsl_rmu.c660 fsl_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, in fsl_add_outb_message()
/openbmc/linux/Documentation/driver-api/rapidio/
H A Drapidio.rst53 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
/openbmc/linux/drivers/rapidio/devices/
H A Drio_mport_cdev.c1650 struct rio_dev *rdev; in rio_release_dev()
1681 struct rio_dev *rdev; in rio_mport_add_riodev()
1823 struct rio_dev *rdev = NULL; in rio_mport_del_riodev()
H A Dtsi721.c1667 tsi721_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, in tsi721_add_outb_message()