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.c260 UtpUpiuRsp rsp_upiu; in ufs_init() local
341 ufs_send_nop_out(ufs, 0, &utrd, &rsp_upiu); in ufs_init()
357 } while (be32_to_cpu(rsp_upiu.qr.value) != 0 && in ufs_init()
432 UtpUpiuRsp rsp_upiu; in ufstest_init() local
438 &utrd, &rsp_upiu); in ufstest_init()
454 &utrd, &rsp_upiu); in ufstest_init()
498 UtpUpiuRsp rsp_upiu; in ufstest_read_write() local
513 g_assert_cmpuint(rsp_upiu.header.scsi_status, ==, in ufstest_read_write()
521 NULL, 0, &utrd, &rsp_upiu); in ufstest_read_write()
523 g_assert_cmpuint(rsp_upiu.header.scsi_status, ==, in ufstest_read_write()
[all …]
/openbmc/qemu/hw/ufs/
H A Dufs.c285 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()
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()
1033 req->rsp_upiu.qr.value = cpu_to_be32(value); in ufs_exec_query_flag()
1158 req->rsp_upiu.qr.value = cpu_to_be32(value); in ufs_exec_query_attr()
1327 if (length > req->rsp_upiu.qr.data[0]) { in ufs_read_desc()
1328 length = req->rsp_upiu.qr.data[0]; in ufs_read_desc()
1331 req->rsp_upiu.qr.idn = req->req_upiu.qr.idn; in ufs_read_desc()
[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.h95 struct utp_upiu_req *rsp_upiu,
H A Dufshcd.c7077 struct utp_upiu_req *rsp_upiu, in ufshcd_issue_devman_upiu_cmd() argument
7137 memcpy(rsp_upiu, lrbp->ucd_rsp_ptr, sizeof(*rsp_upiu)); in ufshcd_issue_devman_upiu_cmd()
7139 u8 *descp = (u8 *)lrbp->ucd_rsp_ptr + sizeof(*rsp_upiu); in ufshcd_issue_devman_upiu_cmd()
7180 struct utp_upiu_req *rsp_upiu, in ufshcd_exec_raw_upiu_cmd() argument
7198 err = ufshcd_issue_devman_upiu_cmd(hba, req_upiu, rsp_upiu, in ufshcd_exec_raw_upiu_cmd()
7222 memcpy(rsp_upiu, &treq.upiu_rsp, sizeof(*rsp_upiu)); in ufshcd_exec_raw_upiu_cmd()
7248 struct utp_upiu_req *rsp_upiu, struct ufs_ehs *req_ehs, in ufshcd_advanced_rpmb_req_handler() argument
7309 memcpy(rsp_upiu, lrbp->ucd_rsp_ptr, sizeof(*rsp_upiu)); in ufshcd_advanced_rpmb_req_handler()
/openbmc/linux/include/ufs/
H A Dufshcd.h1387 struct utp_upiu_req *rsp_upiu, struct ufs_ehs *ehs_req,