Lines Matching defs:response
319 * __fw_send_request() - submit a request packet for transmission to generate callback for response
325 * @generation: bus generation in which request and response are valid
330 * @callback: union of two functions whether to receive time stamp or not for response
332 * @with_tstamp: Whether to receive time stamp or not for response subaction.
357 * @callback will be called. Among its parameters is the response code which
446 * @generation: bus generation in which request and response are valid
454 * to the payload of the response. DMA mapping restrictions apply to outbound
455 * request payloads of >= 8 bytes but not to inbound response payloads.
657 struct fw_packet response;
685 struct fw_request *request = container_of(packet, struct fw_request, response);
729 void fw_fill_response(struct fw_packet *response, u32 *request_header,
740 response->header[0] =
744 response->header[1] =
747 response->header[2] = 0;
752 response->header[0] |= HEADER_TCODE(TCODE_WRITE_RESPONSE);
753 response->header_length = 12;
754 response->payload_length = 0;
758 response->header[0] |=
761 response->header[3] = *(u32 *)payload;
763 response->header[3] = 0;
764 response->header_length = 16;
765 response->payload_length = 0;
770 response->header[0] |= HEADER_TCODE(tcode + 2);
771 response->header[3] =
774 response->header_length = 16;
775 response->payload = payload;
776 response->payload_length = length;
783 response->payload_mapped = false;
844 request->response.speed = p->speed;
845 request->response.timestamp =
847 request->response.generation = p->generation;
848 request->response.ack = 0;
849 request->response.callback = free_response_callback;
862 * fw_send_response: - send response packet for asynchronous transaction.
863 * @card: interface to send the response at.
865 * @rcode: response code to send.
867 * Submit a response packet into the asynchronous response transmission queue. The @request
881 fw_fill_response(&request->response, request->request_header,
885 fw_fill_response(&request->response, request->request_header,
891 card->driver->send_response(card, &request->response);
901 return request->response.speed;
1052 fw_notice(card, "unsolicited response (source %x, tlabel %x)\n",
1087 * The response handler may be executed while the request handler