Lines Matching refs:resp
479 resp_upiu_t *resp; in ufs_check_resp() local
485 resp = (resp_upiu_t *)utrd->resp_upiu; in ufs_check_resp()
502 assert((resp->trans_type & TRANS_TYPE_CODE_MASK) == trans_type); in ufs_check_resp()
504 sense = &resp->sd.sense; in ufs_check_resp()
512 (void)resp; in ufs_check_resp()
593 query_resp_upiu_t *resp; in ufs_query() local
613 resp = (query_resp_upiu_t *)utrd.resp_upiu; in ufs_query()
617 assert(resp->query_resp == QUERY_RESP_SUCCESS); in ufs_query()
621 *(uint32_t *)buf = (uint32_t)resp->ts.flag.value; in ufs_query()
629 *(uint32_t *)buf = htobe32(resp->ts.attr.value); in ufs_query()
685 resp_upiu_t *resp; in ufs_read_capacity() local
706 resp = (resp_upiu_t *)utrd.resp_upiu; in ufs_read_capacity()
707 sense = &resp->sd.sense; in ufs_read_capacity()
730 resp_upiu_t *resp; in ufs_read_blocks() local
745 resp = (resp_upiu_t *)utrd.resp_upiu; in ufs_read_blocks()
746 return size - resp->res_trans_cnt; in ufs_read_blocks()
752 resp_upiu_t *resp; in ufs_write_blocks() local
762 resp = (resp_upiu_t *)utrd.resp_upiu; in ufs_write_blocks()
763 return size - resp->res_trans_cnt; in ufs_write_blocks()