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()
309 static void gb_operation_message_init(struct gb_host_device *hd, in gb_operation_message_init() argument
361 gb_operation_message_alloc(struct gb_host_device *hd, u8 type, in gb_operation_message_alloc() argument
368 if (message_size > hd->buffer_size_max) { in gb_operation_message_alloc()
369 dev_warn(&hd->dev, "requested message size too big (%zu > %zu)\n", in gb_operation_message_alloc()
370 message_size, hd->buffer_size_max); in gb_operation_message_alloc()
384 gb_operation_message_init(hd, message, 0, payload_size, type); in gb_operation_message_alloc()
471 struct gb_host_device *hd = operation->connection->hd; in gb_operation_response_alloc() local
477 response = gb_operation_message_alloc(hd, type, response_size, gfp); in gb_operation_response_alloc()
523 struct gb_host_device *hd = connection->hd; in gb_operation_create_common() local
531 operation->request = gb_operation_message_alloc(hd, type, request_size, in gb_operation_create_common()
623 struct gb_host_device *hd = connection->hd; in gb_operation_get_payload_size_max() local
625 return hd->buffer_size_max - sizeof(struct gb_operation_msg_hdr); in gb_operation_get_payload_size_max()
837 dev_err(&connection->hd->dev, "request result already set\n"); in gb_operation_response_send()
871 void greybus_message_sent(struct gb_host_device *hd, in greybus_message_sent() argument
890 dev_err(&connection->hd->dev, in greybus_message_sent()
928 dev_err(&connection->hd->dev, in gb_connection_recv_request()
970 dev_err_ratelimited(&connection->hd->dev, in gb_connection_recv_response()
978 dev_err_ratelimited(&connection->hd->dev, in gb_connection_recv_response()
988 dev_err_ratelimited(&connection->hd->dev, in gb_connection_recv_response()
997 dev_err_ratelimited(&connection->hd->dev, in gb_connection_recv_response()
1030 struct device *dev = &connection->hd->dev; in gb_connection_recv()
1161 dev_err(&connection->hd->dev, in gb_operation_sync_timeout()
1214 dev_err(&connection->hd->dev, in gb_operation_unidirectional_timeout()