Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/greybus/
H A Dhd.h15 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,
28 int (*cport_flush)(struct gb_host_device *hd, u16 cport_id);
33 int (*cport_clear)(struct gb_host_device *hd, u16 cport_id);
44 struct gb_host_device { struct
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);
[all …]
H A Dmodule.h17 struct gb_host_device *hd;
30 struct gb_module *gb_module_create(struct gb_host_device *hd, u8 module_id,
H A Dconnection.h39 struct gb_host_device *hd;
67 struct gb_connection *gb_connection_create_static(struct gb_host_device *hd,
93 void greybus_data_rcvd(struct gb_host_device *hd, u16 cport_id,
H A Dsvc.h42 struct gb_host_device *hd;
62 struct gb_svc *gb_svc_create(struct gb_host_device *hd);
H A Doperation.h18 struct gb_host_device;
188 void greybus_message_sent(struct gb_host_device *hd,
H A Dinterface.h50 struct gb_host_device *hd;
/openbmc/linux/drivers/greybus/
H A Dhd.c36 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()
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()
220 void gb_hd_del(struct gb_host_device *hd) in gb_hd_del()
234 void gb_hd_shutdown(struct gb_host_device *hd) in gb_hd_shutdown()
[all …]
H A Dconnection.c24 struct gb_host_device *hd = intf->hd; in gb_connection_cport_in_use()
281 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_enable()
300 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_disable()
315 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_connected()
333 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_flush()
351 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_quiesce()
378 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_clear()
401 struct gb_host_device *hd = connection->hd; in gb_connection_svc_connection_create()
557 struct gb_host_device *hd = connection->hd; in gb_connection_cport_shutdown()
909 struct gb_host_device *hd = connection->hd; in gb_connection_latency_tag_enable()
[all …]
H A Des2.c103 struct gb_host_device *hd;
136 static inline struct es2_ap_dev *hd_to_es2(struct gb_host_device *hd) in hd_to_es2()
390 static int message_send(struct gb_host_device *hd, u16 cport_id, in message_send()
455 struct gb_host_device *hd = message->operation->connection->hd; in message_cancel()
541 static int cport_enable(struct gb_host_device *hd, u16 cport_id, in cport_enable()
602 static int es2_cport_flush(struct gb_host_device *hd, u16 cport_id) in es2_cport_flush()
646 static int es2_cport_quiesce(struct gb_host_device *hd, u16 cport_id, in es2_cport_quiesce()
675 static int es2_cport_clear(struct gb_host_device *hd, u16 cport_id) in es2_cport_clear()
815 struct gb_host_device *hd = urb->context; in cport_in_callback()
859 struct gb_host_device *hd = message->operation->connection->hd; in cport_out_callback()
[all …]
H A 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), \
H A 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()
361 gb_operation_message_alloc(struct gb_host_device *hd, u8 type, in gb_operation_message_alloc()
471 struct gb_host_device *hd = operation->connection->hd; in gb_operation_response_alloc()
523 struct gb_host_device *hd = connection->hd; in gb_operation_create_common()
623 struct gb_host_device *hd = connection->hd; in gb_operation_get_payload_size_max()
871 void greybus_message_sent(struct gb_host_device *hd, in greybus_message_sent()
H A Dcore.c83 const struct gb_host_device *hd; in greybus_uevent()
151 struct gb_host_device *hd; in greybus_shutdown()
H A Dsvc.c891 struct gb_host_device *hd = svc->hd; in gb_svc_interface_lookup()
911 struct gb_host_device *hd = svc->hd; in gb_svc_module_lookup()
959 struct gb_host_device *hd = svc->hd; in gb_svc_process_module_inserted()
1313 struct gb_svc *gb_svc_create(struct gb_host_device *hd) in gb_svc_create()
1375 struct gb_host_device *hd = svc->hd; in gb_svc_remove_modules()
H A Dmodule.c89 struct gb_module *gb_module_create(struct gb_host_device *hd, u8 module_id, in gb_module_create()
H A Dinterface.c363 struct gb_host_device *hd = intf->hd; in gb_interface_read_and_clear_init_status()
790 struct gb_host_device *hd = module->hd; in gb_interface_create()
/openbmc/linux/include/linux/
H A Dgreybus.h146 static inline bool cport_id_valid(struct gb_host_device *hd, u16 cport_id) in cport_id_valid()
/openbmc/linux/drivers/staging/greybus/
H A Dgbphy.c81 const struct gb_host_device *hd = intf->hd; in gbphy_dev_uevent()