Lines Matching refs:gb_host_device
15 struct gb_host_device;
21 int (*cport_allocate)(struct gb_host_device *hd, int cport_id,
23 void (*cport_release)(struct gb_host_device *hd, u16 cport_id);
24 int (*cport_enable)(struct gb_host_device *hd, u16 cport_id,
26 int (*cport_disable)(struct gb_host_device *hd, u16 cport_id);
27 int (*cport_connected)(struct gb_host_device *hd, u16 cport_id);
28 int (*cport_flush)(struct gb_host_device *hd, u16 cport_id);
29 int (*cport_shutdown)(struct gb_host_device *hd, u16 cport_id,
31 int (*cport_quiesce)(struct gb_host_device *hd, u16 cport_id,
33 int (*cport_clear)(struct gb_host_device *hd, u16 cport_id);
35 int (*message_send)(struct gb_host_device *hd, u16 dest_cport_id,
38 int (*latency_tag_enable)(struct gb_host_device *hd, u16 cport_id);
39 int (*latency_tag_disable)(struct gb_host_device *hd, u16 cport_id);
40 int (*output)(struct gb_host_device *hd, void *req, u16 size, u8 cmd,
44 struct gb_host_device { struct
63 #define to_gb_host_device(d) container_of(d, struct gb_host_device, dev) argument
65 int gb_hd_cport_reserve(struct gb_host_device *hd, u16 cport_id);
66 void gb_hd_cport_release_reserved(struct gb_host_device *hd, u16 cport_id);
67 int gb_hd_cport_allocate(struct gb_host_device *hd, int cport_id,
69 void gb_hd_cport_release(struct gb_host_device *hd, u16 cport_id);
71 struct gb_host_device *gb_hd_create(struct gb_hd_driver *driver,
75 int gb_hd_add(struct gb_host_device *hd);
76 void gb_hd_del(struct gb_host_device *hd);
77 void gb_hd_shutdown(struct gb_host_device *hd);
78 void gb_hd_put(struct gb_host_device *hd);
79 int gb_hd_output(struct gb_host_device *hd, void *req, u16 size, u8 cmd,