Searched refs:rio_dev (Results 1 - 16 of 16) sorted by relevance

/linux-master/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)
54 struct rio_dev *rio_dev_get(struct rio_dev *rdev)
71 void rio_dev_put(struct rio_dev *rdev)
81 * return 0 and set rio_dev->driver when drv claims rio_dev, else error
86 struct rio_dev *rdev = to_rio_dev(dev);
117 struct rio_dev *rdev = to_rio_dev(dev);
131 struct rio_dev *rdev = to_rio_dev(dev);
173 void rio_attach_device(struct rio_dev *rde
[all...]
H A Drio-sysfs.c22 struct rio_dev *rdev = to_rio_dev(dev); \
39 struct rio_dev *rdev = to_rio_dev(dev);
59 struct rio_dev *rdev = to_rio_dev(dev);
69 struct rio_dev *rdev = to_rio_dev(dev);
90 struct rio_dev *rdev = to_rio_dev(dev);
120 struct rio_dev *dev = to_rio_dev(kobj_to_dev(kobj));
191 struct rio_dev *dev = to_rio_dev(kobj_to_dev(kobj));
262 struct rio_dev *rdev = to_rio_dev(kobj_to_dev(kobj));
H A Drio.c172 int rio_add_device(struct rio_dev *rdev)
203 void rio_del_device(struct rio_dev *rdev, enum rio_device_state state)
515 struct resource *rio_request_outb_dbell(struct rio_dev *rdev, u16 start,
543 int rio_release_outb_dbell(struct rio_dev *rdev, struct resource *res)
620 int rio_request_inb_pwrite(struct rio_dev *rdev,
621 int (*pwcback)(struct rio_dev *rdev, union rio_pw_msg *msg, int step))
641 * Removes callback from the rio_dev structure. Returns 0 if the request
644 int rio_release_inb_pwrite(struct rio_dev *rdev)
840 struct rio_dev *rio_get_comptag(u32 comp_tag, struct rio_dev *fro
[all...]
H A Drio-scan.c36 static void rio_init_em(struct rio_dev *rdev);
194 struct rio_dev *rdev;
284 struct rio_dev *rdev;
299 static int rio_is_switch(struct rio_dev *rdev)
322 static struct rio_dev *rio_setup_device(struct rio_net *net,
327 struct rio_dev *rdev;
487 rio_sport_is_active(struct rio_dev *rdev, int sp)
527 u8 hopcount, struct rio_dev *prev, int prev_port)
529 struct rio_dev *rdev;
723 * @prev: previous rio_dev
[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,
705 static int riocm_queue_req(struct cm_dev *cm, struct rio_dev *rdev,
735 static int riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev,
1949 struct rio_dev *rdev = to_rio_dev(dev);
1992 struct rio_dev *rdev = to_rio_dev(dev);
/linux-master/include/linux/
H A Drio_drv.h145 static inline int rio_read_config_32(struct rio_dev *rdev, u32 offset,
161 static inline int rio_write_config_32(struct rio_dev *rdev, u32 offset,
177 static inline int rio_read_config_16(struct rio_dev *rdev, u32 offset,
193 static inline int rio_write_config_16(struct rio_dev *rdev, u32 offset,
209 static inline int rio_read_config_8(struct rio_dev *rdev, u32 offset, u8 * data)
224 static inline int rio_write_config_8(struct rio_dev *rdev, u32 offset, u8 data)
241 static inline int rio_send_doorbell(struct rio_dev *rdev, u16 data)
312 struct rio_dev *rdev, int mbox,
354 extern struct resource *rio_request_outb_dbell(struct rio_dev *, u16, u16);
355 extern int rio_release_outb_dbell(struct rio_dev *, struc
[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);
144 * struct rio_dev - RIO device info
175 struct rio_dev { struct
199 int (*pwcback) (struct rio_dev *rdev, union rio_pw_msg *msg, int step);
202 struct rio_dev *prev;
207 #define rio_dev_g(n) list_entry(n, struct rio_dev, global_list)
208 #define rio_dev_f(n) list_entry(n, struct rio_dev, net_lis
[all...]
/linux-master/drivers/rapidio/switches/
H A Didt_gen2.c213 idtg2_em_init(struct rio_dev *rdev)
322 idtg2_em_handler(struct rio_dev *rdev, u8 portnum)
371 struct rio_dev *rdev = to_rio_dev(dev);
389 static int idtg2_sysfs(struct rio_dev *rdev, bool create)
416 static int idtg2_probe(struct rio_dev *rdev, const struct rio_device_id *id)
443 static void idtg2_remove(struct rio_dev *rdev)
H A Didt_gen3.c161 idtg3_em_init(struct rio_dev *rdev)
231 idtg3_em_handler(struct rio_dev *rdev, u8 pnum)
270 static int idtg3_probe(struct rio_dev *rdev, const struct rio_device_id *id)
296 static void idtg3_remove(struct rio_dev *rdev)
310 static void idtg3_shutdown(struct rio_dev *rdev)
H A Didtcps.c129 static int idtcps_probe(struct rio_dev *rdev, const struct rio_device_id *id)
155 static void idtcps_remove(struct rio_dev *rdev)
/linux-master/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,
/linux-master/drivers/net/
H A Drionet.c67 struct rio_dev *rdev;
75 struct rio_dev **active;
146 struct rio_dev *rdev)
405 struct rio_dev *rdev = to_rio_dev(dev);
490 nets[mport->id].active = (struct rio_dev **)__get_free_pages(GFP_KERNEL,
552 struct rio_dev *rdev = to_rio_dev(dev);
/linux-master/drivers/rapidio/devices/
H A Drio_mport_cdev.c1652 struct rio_dev *rdev;
1683 struct rio_dev *rdev;
1825 struct rio_dev *rdev = NULL;
H A Dtsi721.c1694 tsi721_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox,

Completed in 245 milliseconds