Lines Matching defs:resp
55 struct scatterlist *req, struct scatterlist *resp)
77 task->smp_task.smp_resp = *resp;
103 if (task->task_status.resp == SAS_TASK_COMPLETE &&
108 if (task->task_status.resp == SAS_TASK_COMPLETE &&
115 if (task->task_status.resp == SAS_TASK_COMPLETE &&
120 if (task->task_status.resp == SAS_TASK_UNDELIVERED &&
127 task->task_status.resp,
141 void *resp, int resp_size)
147 sg_init_one(&resp_sg, resp, resp_size);
200 struct smp_resp *resp = rsp;
201 struct discover_resp *dr = &resp->disc;
218 switch (resp->result) {
450 struct smp_resp *resp)
452 struct report_general_resp *rg = &resp->rg;
663 u8 *resp;
671 resp = alloc_smp_resp(RPEL_RESP_SIZE);
672 if (!resp) {
681 resp, RPEL_RESP_SIZE);
686 phy->invalid_dword_count = get_unaligned_be32(&resp[12]);
687 phy->running_disparity_error_count = get_unaligned_be32(&resp[16]);
688 phy->loss_of_dword_sync_count = get_unaligned_be32(&resp[20]);
689 phy->phy_reset_problem_count = get_unaligned_be32(&resp[24]);
693 kfree(resp);
708 u8 *resp = (u8 *)rps_resp;
721 * should be encoded so that FIS type is in resp[24].
724 if (!res && resp[27] == 0x34 && resp[24] != 0x34) {
730 a = resp[j + 0];
731 b = resp[j + 1];
732 resp[j + 0] = resp[j + 3];
733 resp[j + 1] = resp[j + 2];
734 resp[j + 2] = b;
735 resp[j + 3] = a;