Home
last modified time | relevance | path

Searched refs:rsp_upiu (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dufs-test.c264 UtpUpiuRsp rsp_upiu; in ufs_init() local
345 ufs_send_nop_out(ufs, 0, &utrd, &rsp_upiu); in ufs_init()
351 UFS_QUERY_FLAG_IDN_FDEVICEINIT, 0, 0, 0, &utrd, &rsp_upiu); in ufs_init()
361 &rsp_upiu); in ufs_init()
362 } while (be32_to_cpu(rsp_upiu.qr.value) != 0 && in ufs_init()
364 g_assert_cmpuint(be32_to_cpu(rsp_upiu.qr.value), ==, 0); in ufs_init()
437 UtpUpiuRsp rsp_upiu; in ufstest_init() local
443 &utrd, &rsp_upiu); in ufstest_init()
445 g_assert_cmpuint(rsp_upiu.header.scsi_status, ==, GOOD); in ufstest_init()
453 sizeof(buf), &utrd, &rsp_upiu); in ufstest_init()
[all …]
/openbmc/qemu/hw/ufs/
H A Dufs.c275 be16_to_cpu(req->rsp_upiu.header.data_segment_length); in ufs_dma_write_rsp_upiu()
285 if (copy_size > sizeof(req->rsp_upiu)) { in ufs_dma_write_rsp_upiu()
286 copy_size = sizeof(req->rsp_upiu); in ufs_dma_write_rsp_upiu()
289 ret = ufs_addr_write(u, rsp_upiu_base_addr, &req->rsp_upiu, copy_size); in ufs_dma_write_rsp_upiu()
846 memcpy(&req->rsp_upiu.header, &req->req_upiu.header, sizeof(UtpUpiuHeader)); in ufs_build_upiu_header()
847 req->rsp_upiu.header.trans_type = trans_type; in ufs_build_upiu_header()
848 req->rsp_upiu.header.flags = flags; in ufs_build_upiu_header()
849 req->rsp_upiu.header.response = response; in ufs_build_upiu_header()
850 req->rsp_upiu.header.scsi_status = scsi_status; in ufs_build_upiu_header()
851 req->rsp_upiu.header.data_segment_length = cpu_to_be16(data_segment_length); in ufs_build_upiu_header()
[all …]
H A Dlu.c27 req->rsp_upiu.sr.sense_data_len = cpu_to_be16(sense_len); in ufs_build_upiu_sense_data()
29 memcpy(req->rsp_upiu.sr.sense_data, sense, sense_len); in ufs_build_upiu_sense_data()
42 req->rsp_upiu.sr.residual_transfer_count = in ufs_build_scsi_response_upiu()
46 req->rsp_upiu.sr.residual_transfer_count = in ufs_build_scsi_response_upiu()
57 cpu_to_be16(sense_len + sizeof(req->rsp_upiu.sr.sense_data_len)); in ufs_build_scsi_response_upiu()
H A Dufs.h57 UtpUpiuRsp rsp_upiu; member
/openbmc/linux/drivers/ufs/core/
H A Dufshcd-priv.h96 struct utp_upiu_req *rsp_upiu,
H A Dufshcd.c7110 struct utp_upiu_req *rsp_upiu, in ufshcd_issue_devman_upiu_cmd() argument
7170 memcpy(rsp_upiu, lrbp->ucd_rsp_ptr, sizeof(*rsp_upiu)); in ufshcd_issue_devman_upiu_cmd()
7172 u8 *descp = (u8 *)lrbp->ucd_rsp_ptr + sizeof(*rsp_upiu); in ufshcd_issue_devman_upiu_cmd()
7213 struct utp_upiu_req *rsp_upiu, in ufshcd_exec_raw_upiu_cmd() argument
7231 err = ufshcd_issue_devman_upiu_cmd(hba, req_upiu, rsp_upiu, in ufshcd_exec_raw_upiu_cmd()
7255 memcpy(rsp_upiu, &treq.upiu_rsp, sizeof(*rsp_upiu)); in ufshcd_exec_raw_upiu_cmd()
7281 struct utp_upiu_req *rsp_upiu, struct ufs_ehs *req_ehs, in ufshcd_advanced_rpmb_req_handler() argument
7342 memcpy(rsp_upiu, lrbp->ucd_rsp_ptr, sizeof(*rsp_upiu)); in ufshcd_advanced_rpmb_req_handler()
/openbmc/linux/include/ufs/
H A Dufshcd.h1386 struct utp_upiu_req *rsp_upiu, struct ufs_ehs *ehs_req,