Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/greybus/
Dhd.h12 struct gb_host_device;
18 int (*cport_allocate)(struct gb_host_device *hd, int cport_id,
20 void (*cport_release)(struct gb_host_device *hd, u16 cport_id);
21 int (*cport_enable)(struct gb_host_device *hd, u16 cport_id,
23 int (*cport_disable)(struct gb_host_device *hd, u16 cport_id);
24 int (*cport_connected)(struct gb_host_device *hd, u16 cport_id);
25 int (*cport_flush)(struct gb_host_device *hd, u16 cport_id);
26 int (*cport_shutdown)(struct gb_host_device *hd, u16 cport_id,
28 int (*cport_quiesce)(struct gb_host_device *hd, u16 cport_id,
30 int (*cport_clear)(struct gb_host_device *hd, u16 cport_id);
[all …]
Dhd.c24 int gb_hd_output(struct gb_host_device *hd, void *req, u16 size, u8 cmd, in gb_hd_output()
36 struct gb_host_device *hd = to_gb_host_device(dev); in bus_id_show()
48 int gb_hd_cport_reserve(struct gb_host_device *hd, u16 cport_id) in gb_hd_cport_reserve()
63 void gb_hd_cport_release_reserved(struct gb_host_device *hd, u16 cport_id) in gb_hd_cport_release_reserved()
72 int gb_hd_cport_allocate(struct gb_host_device *hd, int cport_id, in gb_hd_cport_allocate()
96 void gb_hd_cport_release(struct gb_host_device *hd, u16 cport_id) in gb_hd_cport_release()
108 struct gb_host_device *hd = to_gb_host_device(dev); in gb_hd_release()
124 struct gb_host_device *gb_hd_create(struct gb_hd_driver *driver, in gb_hd_create()
129 struct gb_host_device *hd; in gb_hd_create()
200 int gb_hd_add(struct gb_host_device *hd) in gb_hd_add()
[all …]
Dconnection.c28 struct gb_host_device *hd = intf->hd; in gb_connection_cport_in_use()
58 gb_connection_hd_find(struct gb_host_device *hd, u16 cport_id) in gb_connection_hd_find()
80 void greybus_data_rcvd(struct gb_host_device *hd, u16 cport_id, in greybus_data_rcvd()
148 _gb_connection_create(struct gb_host_device *hd, int hd_cport_id, in _gb_connection_create()
232 gb_connection_create_static(struct gb_host_device *hd, u16 hd_cport_id, in gb_connection_create_static()
285 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_enable()
304 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_disable()
319 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_connected()
337 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_flush()
355 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_quiesce()
[all …]
Dmodule.h14 struct gb_host_device *hd;
27 struct gb_module *gb_module_create(struct gb_host_device *hd, u8 module_id,
Dconnection.h36 struct gb_host_device *hd;
64 struct gb_connection *gb_connection_create_static(struct gb_host_device *hd,
90 void greybus_data_rcvd(struct gb_host_device *hd, u16 cport_id,
Des2.c104 struct gb_host_device *hd;
137 static inline struct es2_ap_dev *hd_to_es2(struct gb_host_device *hd) in hd_to_es2()
218 static int output(struct gb_host_device *hd, void *req, u16 size, u8 cmd, in output()
391 static int message_send(struct gb_host_device *hd, u16 cport_id, in message_send()
456 struct gb_host_device *hd = message->operation->connection->hd; in message_cancel()
489 static int es2_cport_allocate(struct gb_host_device *hd, int cport_id, in es2_cport_allocate()
529 static void es2_cport_release(struct gb_host_device *hd, u16 cport_id) in es2_cport_release()
542 static int cport_enable(struct gb_host_device *hd, u16 cport_id, in cport_enable()
587 static int es2_cport_connected(struct gb_host_device *hd, u16 cport_id) in es2_cport_connected()
606 static int es2_cport_flush(struct gb_host_device *hd, u16 cport_id) in es2_cport_flush()
[all …]
Dgreybus_trace.h20 struct gb_host_device;
429 DECLARE_EVENT_CLASS(gb_host_device,
431 TP_PROTO(struct gb_host_device *hd),
453 DEFINE_EVENT(gb_host_device, name, \
454 TP_PROTO(struct gb_host_device *hd), \
Dsvc.h37 struct gb_host_device *hd;
57 struct gb_svc *gb_svc_create(struct gb_host_device *hd);
Doperation.c231 struct gb_host_device *hd = message->operation->connection->hd; in gb_message_cancel()
309 static void gb_operation_message_init(struct gb_host_device *hd, in gb_operation_message_init()
360 gb_operation_message_alloc(struct gb_host_device *hd, u8 type, in gb_operation_message_alloc()
470 struct gb_host_device *hd = operation->connection->hd; in gb_operation_response_alloc()
522 struct gb_host_device *hd = connection->hd; in gb_operation_create_common()
621 struct gb_host_device *hd = connection->hd; in gb_operation_get_payload_size_max()
869 void greybus_message_sent(struct gb_host_device *hd, in greybus_message_sent()
Dinterface.h47 struct gb_host_device *hd;
Dcore.c83 struct gb_host_device *hd; in greybus_uevent()
151 struct gb_host_device *hd; in greybus_shutdown()
Dgreybus.h146 static inline bool cport_id_valid(struct gb_host_device *hd, u16 cport_id) in cport_id_valid()
Dsvc.c882 struct gb_host_device *hd = svc->hd; in gb_svc_interface_lookup()
902 struct gb_host_device *hd = svc->hd; in gb_svc_module_lookup()
950 struct gb_host_device *hd = svc->hd; in gb_svc_process_module_inserted()
1304 struct gb_svc *gb_svc_create(struct gb_host_device *hd) in gb_svc_create()
1366 struct gb_host_device *hd = svc->hd; in gb_svc_remove_modules()
Doperation.h183 void greybus_message_sent(struct gb_host_device *hd,
Dmodule.c90 struct gb_module *gb_module_create(struct gb_host_device *hd, u8 module_id, in gb_module_create()
Dgbphy.c81 struct gb_host_device *hd = intf->hd; in gbphy_dev_uevent()
Dinterface.c363 struct gb_host_device *hd = intf->hd; in gb_interface_read_and_clear_init_status()
789 struct gb_host_device *hd = module->hd; in gb_interface_create()