Lines Matching refs:resp
618 resp_upiu_t *resp; in ufs_check_resp() local
624 resp = (resp_upiu_t *)utrd->resp_upiu; in ufs_check_resp()
642 assert((resp->trans_type & TRANS_TYPE_CODE_MASK) == trans_type); in ufs_check_resp()
644 sense = &resp->sd.sense; in ufs_check_resp()
652 (void)resp; in ufs_check_resp()
734 query_resp_upiu_t *resp; in ufs_query() local
754 resp = (query_resp_upiu_t *)utrd.resp_upiu; in ufs_query()
758 assert(resp->query_resp == QUERY_RESP_SUCCESS); in ufs_query()
762 *(uint32_t *)buf = (uint32_t)resp->ts.flag.value; in ufs_query()
770 *(uint32_t *)buf = htobe32(resp->ts.attr.value); in ufs_query()
826 resp_upiu_t *resp; in ufs_read_capacity() local
847 resp = (resp_upiu_t *)utrd.resp_upiu; in ufs_read_capacity()
848 sense = &resp->sd.sense; in ufs_read_capacity()
871 resp_upiu_t *resp; in ufs_read_blocks() local
886 resp = (resp_upiu_t *)utrd.resp_upiu; in ufs_read_blocks()
887 return size - resp->res_trans_cnt; in ufs_read_blocks()
893 resp_upiu_t *resp; in ufs_write_blocks() local
903 resp = (resp_upiu_t *)utrd.resp_upiu; in ufs_write_blocks()
904 return size - resp->res_trans_cnt; in ufs_write_blocks()