/linux-6.1.9/drivers/mfd/ |
D | si476x-cmd.c | 261 u8 resp[], in si476x_core_send_command() argument 322 err = si476x_core_i2c_xfer(core, SI476X_I2C_RECV, resp, respn); in si476x_core_send_command() 330 dev_dbg(&client->dev, "Response:\n %*ph\n", respn, resp); in si476x_core_send_command() 334 if (resp[0] & SI476X_ERR) { in si476x_core_send_command() 341 if (!(resp[0] & SI476X_CTS)) in si476x_core_send_command() 375 uint8_t *resp, size_t respn) in si476x_cmd_tune_seek_freq() argument 381 err = si476x_core_send_command(core, cmd, args, argn, resp, respn, in si476x_cmd_tune_seek_freq() 408 u8 resp[CMD_FUNC_INFO_NRESP]; in si476x_core_cmd_func_info() local 412 resp, ARRAY_SIZE(resp), in si476x_core_cmd_func_info() 415 info->firmware.major = resp[1]; in si476x_core_cmd_func_info() [all …]
|
/linux-6.1.9/fs/nfsd/ |
D | nfs2acl.c | 33 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfsacld_proc_getacl() local 40 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_getacl() 41 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsacld_proc_getacl() 42 if (resp->status != nfs_ok) in nfsacld_proc_getacl() 48 resp->status = nfserr_inval; in nfsacld_proc_getacl() 51 resp->mask = argp->mask; in nfsacld_proc_getacl() 53 resp->status = fh_getattr(fh, &resp->stat); in nfsacld_proc_getacl() 54 if (resp->status != nfs_ok) in nfsacld_proc_getacl() 57 if (resp->mask & (NFS_ACL|NFS_ACLCNT)) { in nfsacld_proc_getacl() 64 resp->status = nfserrno(PTR_ERR(acl)); in nfsacld_proc_getacl() [all …]
|
D | nfs3proc.c | 47 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_getattr() local 52 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr() 53 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd3_proc_getattr() 55 if (resp->status != nfs_ok) in nfsd3_proc_getattr() 58 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsd3_proc_getattr() 70 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_setattr() local 78 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr() 79 resp->status = nfsd_setattr(rqstp, &resp->fh, &attrs, in nfsd3_proc_setattr() 91 struct nfsd3_diropres *resp = rqstp->rq_resp; in nfsd3_proc_lookup() local 98 fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_lookup() [all …]
|
D | nfs3xdr.c | 743 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfs3svc_encode_getattrres() local 745 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_getattrres() 747 switch (resp->status) { in nfs3svc_encode_getattrres() 749 lease_get_mtime(d_inode(resp->fh.fh_dentry), &resp->stat.mtime); in nfs3svc_encode_getattrres() 750 if (!svcxdr_encode_fattr3(rqstp, xdr, &resp->fh, &resp->stat)) in nfs3svc_encode_getattrres() 762 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfs3svc_encode_wccstat() local 764 return svcxdr_encode_nfsstat3(xdr, resp->status) && in nfs3svc_encode_wccstat() 765 svcxdr_encode_wcc_data(rqstp, xdr, &resp->fh); in nfs3svc_encode_wccstat() 772 struct nfsd3_diropres *resp = rqstp->rq_resp; in nfs3svc_encode_lookupres() local 774 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_lookupres() [all …]
|
D | nfs3acl.c | 31 struct nfsd3_getaclres *resp = rqstp->rq_resp; in nfsd3_proc_getacl() local 36 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getacl() 37 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); in nfsd3_proc_getacl() 38 if (resp->status != nfs_ok) in nfsd3_proc_getacl() 44 resp->status = nfserr_inval; in nfsd3_proc_getacl() 47 resp->mask = argp->mask; in nfsd3_proc_getacl() 49 if (resp->mask & (NFS_ACL|NFS_ACLCNT)) { in nfsd3_proc_getacl() 56 resp->status = nfserrno(PTR_ERR(acl)); in nfsd3_proc_getacl() 59 resp->acl_access = acl; in nfsd3_proc_getacl() 61 if (resp->mask & (NFS_DFACL|NFS_DFACLCNT)) { in nfsd3_proc_getacl() [all …]
|
D | nfsproc.c | 30 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsd_proc_getattr() local 34 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_getattr() 35 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd_proc_getattr() 37 if (resp->status != nfs_ok) in nfsd_proc_getattr() 39 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsd_proc_getattr() 52 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfsd_proc_setattr() local 63 fhp = fh_copy(&resp->fh, &argp->fh); in nfsd_proc_setattr() 89 resp->status = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP); in nfsd_proc_setattr() 90 if (resp->status != nfs_ok) in nfsd_proc_setattr() 106 resp->status = nfsd_setattr(rqstp, fhp, &attrs, 0, (time64_t)0); in nfsd_proc_setattr() [all …]
|
D | nfsxdr.c | 418 struct nfsd_stat *resp = rqstp->rq_resp; in nfssvc_encode_statres() local 420 return svcxdr_encode_stat(xdr, resp->status); in nfssvc_encode_statres() 426 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfssvc_encode_attrstatres() local 428 if (!svcxdr_encode_stat(xdr, resp->status)) in nfssvc_encode_attrstatres() 430 switch (resp->status) { in nfssvc_encode_attrstatres() 432 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat)) in nfssvc_encode_attrstatres() 443 struct nfsd_diropres *resp = rqstp->rq_resp; in nfssvc_encode_diropres() local 445 if (!svcxdr_encode_stat(xdr, resp->status)) in nfssvc_encode_diropres() 447 switch (resp->status) { in nfssvc_encode_diropres() 449 if (!svcxdr_encode_fhandle(xdr, &resp->fh)) in nfssvc_encode_diropres() [all …]
|
/linux-6.1.9/tools/power/x86/intel-speed-select/ |
D | isst-core.c | 11 unsigned int req, resp; in isst_write_pm_config() local 20 &resp); in isst_write_pm_config() 24 debug_printf("cpu:%d WRITE_PM_CONFIG resp:%x\n", id->cpu, resp); in isst_write_pm_config() 31 unsigned int resp; in isst_read_pm_config() local 35 &resp); in isst_read_pm_config() 39 debug_printf("cpu:%d READ_PM_CONFIG resp:%x\n", id->cpu, resp); in isst_read_pm_config() 41 *cp_state = resp & BIT(16); in isst_read_pm_config() 42 *cp_cap = resp & BIT(0) ? 1 : 0; in isst_read_pm_config() 49 unsigned int resp; in isst_get_ctdp_levels() local 53 CONFIG_TDP_GET_LEVELS_INFO, 0, 0, &resp); in isst_get_ctdp_levels() [all …]
|
/linux-6.1.9/net/nfc/ |
D | digital_technology.c | 216 struct sk_buff *resp) in digital_in_recv_ats() argument 222 if (IS_ERR(resp)) { in digital_in_recv_ats() 223 rc = PTR_ERR(resp); in digital_in_recv_ats() 224 resp = NULL; in digital_in_recv_ats() 228 if (resp->len < 2) { in digital_in_recv_ats() 233 fsdi = DIGITAL_ATS_FSCI(resp->data[1]); in digital_in_recv_ats() 244 dev_kfree_skb(resp); in digital_in_recv_ats() 273 struct sk_buff *resp) in digital_in_recv_sel_res() argument 280 if (IS_ERR(resp)) { in digital_in_recv_sel_res() 281 rc = PTR_ERR(resp); in digital_in_recv_sel_res() [all …]
|
D | digital_dep.c | 107 struct sk_buff *resp); 109 struct sk_buff *resp); 232 struct sk_buff *resp, in digital_recv_dep_data_gather() argument 252 if (resp->len > skb_tailroom(ddev->chaining_skb)) { in digital_recv_dep_data_gather() 267 skb_put_data(ddev->chaining_skb, resp->data, resp->len); in digital_recv_dep_data_gather() 269 kfree_skb(resp); in digital_recv_dep_data_gather() 270 resp = NULL; in digital_recv_dep_data_gather() 280 resp = ddev->chaining_skb; in digital_recv_dep_data_gather() 284 return resp; in digital_recv_dep_data_gather() 287 kfree_skb(resp); in digital_recv_dep_data_gather() [all …]
|
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
D | sta_cmdresp.c | 33 struct host_cmd_ds_command *resp) in mwifiex_process_cmdresp_error() argument 40 resp->command, resp->result); in mwifiex_process_cmdresp_error() 45 switch (le16_to_cpu(resp->command)) { in mwifiex_process_cmdresp_error() 47 pm = &resp->params.psmode_enh; in mwifiex_process_cmdresp_error() 50 resp->result, le16_to_cpu(pm->action)); in mwifiex_process_cmdresp_error() 96 struct host_cmd_ds_command *resp) in mwifiex_ret_802_11_rssi_info() argument 99 &resp->params.rssi_info_rsp; in mwifiex_ret_802_11_rssi_info() 156 struct host_cmd_ds_command *resp, in mwifiex_ret_802_11_snmp_mib() argument 159 struct host_cmd_ds_802_11_snmp_mib *smib = &resp->params.smib; in mwifiex_ret_802_11_snmp_mib() 208 struct host_cmd_ds_command *resp, in mwifiex_ret_get_log() argument [all …]
|
/linux-6.1.9/drivers/infiniband/hw/efa/ |
D | efa_com_cmd.c | 62 struct efa_admin_modify_qp_resp resp; in efa_com_modify_qp() local 78 (struct efa_admin_acq_entry *)&resp, in efa_com_modify_qp() 79 sizeof(resp)); in efa_com_modify_qp() 97 struct efa_admin_query_qp_resp resp; in efa_com_query_qp() local 106 (struct efa_admin_acq_entry *)&resp, in efa_com_query_qp() 107 sizeof(resp)); in efa_com_query_qp() 115 result->qp_state = resp.qp_state; in efa_com_query_qp() 116 result->qkey = resp.qkey; in efa_com_query_qp() 117 result->sq_draining = resp.sq_draining; in efa_com_query_qp() 118 result->sq_psn = resp.sq_psn; in efa_com_query_qp() [all …]
|
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_trans_resv.c | 915 struct xfs_trans_resv *resp) in xfs_trans_resv_calc() argument 923 resp->tr_write.tr_logres = xfs_calc_write_reservation(mp, false); in xfs_trans_resv_calc() 924 resp->tr_write.tr_logcount = XFS_WRITE_LOG_COUNT; in xfs_trans_resv_calc() 925 resp->tr_write.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc() 927 resp->tr_itruncate.tr_logres = xfs_calc_itruncate_reservation(mp, false); in xfs_trans_resv_calc() 928 resp->tr_itruncate.tr_logcount = XFS_ITRUNCATE_LOG_COUNT; in xfs_trans_resv_calc() 929 resp->tr_itruncate.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc() 931 resp->tr_rename.tr_logres = xfs_calc_rename_reservation(mp); in xfs_trans_resv_calc() 932 resp->tr_rename.tr_logcount = XFS_RENAME_LOG_COUNT; in xfs_trans_resv_calc() 933 resp->tr_rename.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc() [all …]
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_resp.c | 94 rxe_run_task(&qp->resp.task, must_sched); in rxe_resp_queue_pkt() 102 if (qp->resp.state == QP_STATE_ERROR) { in get_req() 119 return (qp->resp.res) ? RESPST_READ_REPLY : RESPST_CHK_PSN; in get_req() 125 int diff = psn_compare(pkt->psn, qp->resp.psn); in check_psn() 131 if (qp->resp.sent_psn_nak) in check_psn() 134 qp->resp.sent_psn_nak = 1; in check_psn() 143 if (qp->resp.sent_psn_nak) in check_psn() 144 qp->resp.sent_psn_nak = 0; in check_psn() 149 if (qp->resp.drop_msg || diff != 0) { in check_psn() 151 qp->resp.drop_msg = 0; in check_psn() [all …]
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | qmi.c | 117 struct wlfw_msa_info_resp_msg_v01 resp = {}; in ath10k_qmi_msa_mem_info_send_sync_msg() local 129 wlfw_msa_info_resp_msg_v01_ei, &resp); in ath10k_qmi_msa_mem_info_send_sync_msg() 147 if (resp.resp.result != QMI_RESULT_SUCCESS_V01) { in ath10k_qmi_msa_mem_info_send_sync_msg() 148 ath10k_err(ar, "msa info req rejected: %d\n", resp.resp.error); in ath10k_qmi_msa_mem_info_send_sync_msg() 153 if (resp.mem_region_info_len > QMI_WLFW_MAX_MEM_REG_V01) { in ath10k_qmi_msa_mem_info_send_sync_msg() 155 resp.mem_region_info_len); in ath10k_qmi_msa_mem_info_send_sync_msg() 161 qmi->nr_mem_region = resp.mem_region_info_len; in ath10k_qmi_msa_mem_info_send_sync_msg() 162 for (i = 0; i < resp.mem_region_info_len; i++) { in ath10k_qmi_msa_mem_info_send_sync_msg() 163 if (resp.mem_region_info[i].size > ar->msa.mem_size || in ath10k_qmi_msa_mem_info_send_sync_msg() 164 resp.mem_region_info[i].region_addr > max_mapped_addr || in ath10k_qmi_msa_mem_info_send_sync_msg() [all …]
|
/linux-6.1.9/fs/ksmbd/mgmt/ |
D | user_config.c | 14 struct ksmbd_login_response *resp; in ksmbd_login_user() local 17 resp = ksmbd_ipc_login_request(account); in ksmbd_login_user() 18 if (!resp) in ksmbd_login_user() 21 if (!(resp->status & KSMBD_USER_FLAG_OK)) in ksmbd_login_user() 24 user = ksmbd_alloc_user(resp); in ksmbd_login_user() 26 kvfree(resp); in ksmbd_login_user() 30 struct ksmbd_user *ksmbd_alloc_user(struct ksmbd_login_response *resp) in ksmbd_alloc_user() argument 38 user->name = kstrdup(resp->account, GFP_KERNEL); in ksmbd_alloc_user() 39 user->flags = resp->status; in ksmbd_alloc_user() 40 user->gid = resp->gid; in ksmbd_alloc_user() [all …]
|
D | share_config.c | 126 struct ksmbd_share_config_response *resp; in share_config_request() local 131 resp = ksmbd_ipc_share_config_request(name); in share_config_request() 132 if (!resp) in share_config_request() 135 if (resp->flags == KSMBD_SHARE_FLAG_INVALID) in share_config_request() 138 if (*resp->share_name) { in share_config_request() 142 cf_resp_name = ksmbd_casefold_sharename(um, resp->share_name); in share_config_request() 155 share->flags = resp->flags; in share_config_request() 161 share->path = kstrdup(ksmbd_share_config_path(resp), in share_config_request() 165 share->create_mask = resp->create_mask; in share_config_request() 166 share->directory_mask = resp->directory_mask; in share_config_request() [all …]
|
/linux-6.1.9/drivers/nfc/ |
D | port100.c | 95 struct sk_buff *resp); 474 struct sk_buff *resp; member 817 struct sk_buff *resp = cmd->resp; in port100_send_async_complete() local 826 dev_kfree_skb(resp); in port100_send_async_complete() 830 skb_put(resp, port100_rx_frame_size(resp->data)); in port100_send_async_complete() 831 skb_pull(resp, PORT100_FRAME_HEADER_LEN); in port100_send_async_complete() 832 skb_trim(resp, resp->len - PORT100_FRAME_TAIL_LEN); in port100_send_async_complete() 834 cmd->complete_cb(dev, cmd->complete_cb_context, resp); in port100_send_async_complete() 846 struct sk_buff *resp; in port100_send_cmd_async() local 858 resp = alloc_skb(resp_len, GFP_KERNEL); in port100_send_cmd_async() [all …]
|
/linux-6.1.9/fs/lockd/ |
D | svc4proc.c | 93 __nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_test() argument 102 resp->cookie = argp->cookie; in __nlm4svc_proc_test() 105 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_test() 106 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlm4svc_proc_test() 110 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); in __nlm4svc_proc_test() 111 if (resp->status == nlm_drop_reply) in __nlm4svc_proc_test() 114 dprintk("lockd: TEST4 status %d\n", ntohl(resp->status)); in __nlm4svc_proc_test() 129 __nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_lock() argument 138 resp->cookie = argp->cookie; in __nlm4svc_proc_lock() 141 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_lock() [all …]
|
D | svcproc.c | 114 __nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_test() argument 123 resp->cookie = argp->cookie; in __nlmsvc_proc_test() 126 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_test() 127 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlmsvc_proc_test() 132 …resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->coo… in __nlmsvc_proc_test() 133 if (resp->status == nlm_drop_reply) in __nlmsvc_proc_test() 137 ntohl(resp->status), rqstp->rq_vers); in __nlmsvc_proc_test() 152 __nlmsvc_proc_lock(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_lock() argument 161 resp->cookie = argp->cookie; in __nlmsvc_proc_lock() 164 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_lock() [all …]
|
/linux-6.1.9/drivers/usb/gadget/function/ |
D | rndis.c | 176 rndis_query_cmplt_type *resp; in gen_ndis_query_resp() local 182 resp = (rndis_query_cmplt_type *)r->buf; in gen_ndis_query_resp() 184 if (!resp) return -ENOMEM; in gen_ndis_query_resp() 198 outbuf = (__le32 *)&resp[1]; in gen_ndis_query_resp() 199 resp->InformationBufferOffset = cpu_to_le32(16); in gen_ndis_query_resp() 478 resp->InformationBufferLength = cpu_to_le32(length); in gen_ndis_query_resp() 479 r->length = length + sizeof(*resp); in gen_ndis_query_resp() 480 resp->MessageLength = cpu_to_le32(r->length); in gen_ndis_query_resp() 487 rndis_set_cmplt_type *resp; in gen_ndis_set_resp() local 492 resp = (rndis_set_cmplt_type *)r->buf; in gen_ndis_set_resp() [all …]
|
/linux-6.1.9/drivers/infiniband/core/ |
D | uverbs_cmd.c | 58 static int uverbs_response(struct uverbs_attr_bundle *attrs, const void *resp, in uverbs_response() argument 65 attrs, UVERBS_ATTR_CORE_OUT, resp, resp_len); in uverbs_response() 67 if (copy_to_user(attrs->ucore.outbuf, resp, in uverbs_response() 278 struct ib_uverbs_get_context_resp resp; in ib_uverbs_get_context() local 298 resp = (struct ib_uverbs_get_context_resp){ in ib_uverbs_get_context() 302 ret = uverbs_response(attrs, &resp, sizeof(resp)); in ib_uverbs_get_context() 325 struct ib_uverbs_query_device_resp *resp, in copy_query_dev_fields() argument 330 resp->fw_ver = attr->fw_ver; in copy_query_dev_fields() 331 resp->node_guid = ib_dev->node_guid; in copy_query_dev_fields() 332 resp->sys_image_guid = attr->sys_image_guid; in copy_query_dev_fields() [all …]
|
D | ucma.c | 118 struct rdma_ucm_event_resp resp; member 274 uevent->resp.uid = uevent->mc->uid; in ucma_create_uevent() 275 uevent->resp.id = uevent->mc->id; in ucma_create_uevent() 278 uevent->resp.uid = ctx->uid; in ucma_create_uevent() 279 uevent->resp.id = ctx->id; in ucma_create_uevent() 282 uevent->resp.event = event->event; in ucma_create_uevent() 283 uevent->resp.status = event->status; in ucma_create_uevent() 285 ucma_copy_ud_event(ctx->cm_id->device, &uevent->resp.param.ud, in ucma_create_uevent() 288 ucma_copy_conn_event(&uevent->resp.param.conn, in ucma_create_uevent() 291 uevent->resp.ece.vendor_id = event->ece.vendor_id; in ucma_create_uevent() [all …]
|
/linux-6.1.9/sound/pci/mixart/ |
D | mixart_core.c | 61 static int get_msg(struct mixart_mgr *mgr, struct mixart_msg *resp, in get_msg() argument 75 resp->message_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 4)); /* dwMessageID */ in get_msg() 76 resp->uid.object_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 8)); /* uidDest */ in get_msg() 77 resp->uid.desc = readl_be(MIXART_MEM(mgr, msg_frame_address + 12)); /* */ in get_msg() 79 if( (size < MSG_DESCRIPTOR_SIZE) || (resp->size < (size - MSG_DESCRIPTOR_SIZE))) { in get_msg() 87 memcpy_fromio(resp->data, MIXART_MEM(mgr, msg_frame_address + MSG_HEADER_SIZE ), size); in get_msg() 88 resp->size = size; in get_msg() 94 ((u32*)resp->data)[i] = be32_to_cpu(((__be32*)resp->data)[i]); in get_msg() 221 struct mixart_msg resp; in snd_mixart_send_msg() local 251 resp.message_id = 0; in snd_mixart_send_msg() [all …]
|
/linux-6.1.9/drivers/mmc/core/ |
D | sd_ops.c | 45 if (!mmc_host_is_spi(host) && !(cmd.resp[0] & R1_APP_CMD)) in mmc_app_cmd() 67 if (cmd->resp[0] & R1_SPI_ILLEGAL_COMMAND) in mmc_wait_for_app_cmd() 75 memset(cmd->resp, 0, sizeof(cmd->resp)); in mmc_wait_for_app_cmd() 89 if (cmd->resp[0] & R1_SPI_ILLEGAL_COMMAND) in mmc_wait_for_app_cmd() 141 if (!(cmd.resp[0] & R1_SPI_IDLE)) in mmc_send_app_op_cond() 144 if (cmd.resp[0] & MMC_CARD_BUSY) in mmc_send_app_op_cond() 157 *rocr = cmd.resp[0]; in mmc_send_app_op_cond() 163 u32 *resp) in __mmc_send_if_cond() argument 184 result_pattern = cmd.resp[1] & 0xFF; in __mmc_send_if_cond() 186 result_pattern = cmd.resp[0] & 0xFF; in __mmc_send_if_cond() [all …]
|