/linux/include/linux/greybus/ |
H A D | hd.h | 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); [all …]
|
H A D | connection.h | 39 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 D | module.h | 17 struct gb_host_device *hd; 30 struct gb_module *gb_module_create(struct gb_host_device *hd, u8 module_id,
|
H A D | svc.h | 42 struct gb_host_device *hd; 62 struct gb_svc *gb_svc_create(struct gb_host_device *hd);
|
H A D | operation.h | 18 struct gb_host_device; 188 void greybus_message_sent(struct gb_host_device *hd,
|
H A D | interface.h | 50 struct gb_host_device *hd;
|
/linux/drivers/greybus/ |
H A D | hd.c | 24 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 …]
|
H A D | connection.c | 24 struct gb_host_device *hd = intf->hd; in gb_connection_cport_in_use() 54 gb_connection_hd_find(struct gb_host_device *hd, u16 cport_id) in gb_connection_hd_find() 76 void greybus_data_rcvd(struct gb_host_device *hd, u16 cport_id, in greybus_data_rcvd() 144 _gb_connection_create(struct gb_host_device *hd, int hd_cport_id, in _gb_connection_create() 228 gb_connection_create_static(struct gb_host_device *hd, u16 hd_cport_id, in gb_connection_create_static() 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() [all …]
|
H A D | es2.c | 103 struct gb_host_device *hd; 136 static inline struct es2_ap_dev *hd_to_es2(struct gb_host_device *hd) in hd_to_es2() 217 static int output(struct gb_host_device *hd, void *req, u16 size, u8 cmd, in output() 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() 488 static int es2_cport_allocate(struct gb_host_device *hd, int cport_id, in es2_cport_allocate() 528 static void es2_cport_release(struct gb_host_device *hd, u16 cport_id) in es2_cport_release() 541 static int cport_enable(struct gb_host_device *hd, u16 cport_id, in cport_enable() 583 static int es2_cport_connected(struct gb_host_device *hd, u16 cport_id) in es2_cport_connected() 602 static int es2_cport_flush(struct gb_host_device *hd, u16 cport_id) in es2_cport_flush() [all …]
|
H A D | greybus_trace.h | 20 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 D | operation.c | 231 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 D | core.c | 113 const struct gb_host_device *hd; in greybus_uevent() 181 struct gb_host_device *hd; in greybus_shutdown()
|
H A D | svc.c | 891 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 D | module.c | 89 struct gb_module *gb_module_create(struct gb_host_device *hd, u8 module_id, in gb_module_create()
|
H A D | gb-beagleplay.c | 73 struct gb_host_device *gb_hd; 593 static int gb_message_send(struct gb_host_device *hd, u16 cport, struct gb_message *msg, gfp_t mask) in gb_message_send()
|
/linux/include/linux/ |
H A D | greybus.h | 116 static inline bool cport_id_valid(struct gb_host_device *hd, u16 cport_id) in cport_id_valid()
|
/linux/drivers/staging/greybus/ |
H A D | gbphy.c | 81 const struct gb_host_device *hd = intf->hd; in gbphy_dev_uevent()
|