Lines Matching full:hd
220 return connection->hd->driver->message_send(connection->hd, in gb_message_send()
231 struct gb_host_device *hd = message->operation->connection->hd; in gb_message_cancel() local
233 hd->driver->message_cancel(message); in gb_message_cancel()
245 dev_err(&connection->hd->dev, in gb_operation_request_handle()
254 dev_err(&connection->hd->dev, in gb_operation_request_handle()
310 static void gb_operation_message_init(struct gb_host_device *hd, in gb_operation_message_init() argument
362 gb_operation_message_alloc(struct gb_host_device *hd, u8 type, in gb_operation_message_alloc() argument
369 if (message_size > hd->buffer_size_max) { in gb_operation_message_alloc()
370 dev_warn(&hd->dev, "requested message size too big (%zu > %zu)\n", in gb_operation_message_alloc()
371 message_size, hd->buffer_size_max); in gb_operation_message_alloc()
385 gb_operation_message_init(hd, message, 0, payload_size, type); in gb_operation_message_alloc()
472 struct gb_host_device *hd = operation->connection->hd; in gb_operation_response_alloc() local
478 response = gb_operation_message_alloc(hd, type, response_size, gfp); in gb_operation_response_alloc()
524 struct gb_host_device *hd = connection->hd; in gb_operation_create_common() local
532 operation->request = gb_operation_message_alloc(hd, type, request_size, in gb_operation_create_common()
624 struct gb_host_device *hd = connection->hd; in gb_operation_get_payload_size_max() local
626 return hd->buffer_size_max - sizeof(struct gb_operation_msg_hdr); in gb_operation_get_payload_size_max()
838 dev_err(&connection->hd->dev, "request result already set\n"); in gb_operation_response_send()
872 void greybus_message_sent(struct gb_host_device *hd, in greybus_message_sent() argument
891 dev_err(&connection->hd->dev, in greybus_message_sent()
929 dev_err(&connection->hd->dev, in gb_connection_recv_request()
971 dev_err_ratelimited(&connection->hd->dev, in gb_connection_recv_response()
979 dev_err_ratelimited(&connection->hd->dev, in gb_connection_recv_response()
989 dev_err_ratelimited(&connection->hd->dev, in gb_connection_recv_response()
998 dev_err_ratelimited(&connection->hd->dev, in gb_connection_recv_response()
1031 struct device *dev = &connection->hd->dev; in gb_connection_recv()
1162 dev_err(&connection->hd->dev, in gb_operation_sync_timeout()
1215 dev_err(&connection->hd->dev, in gb_operation_unidirectional_timeout()