/Linux-v6.6/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-v6.6/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 | 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 | 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 | 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-v6.6/tools/power/x86/intel-speed-select/ |
D | isst-core-mbox.c | 125 unsigned int req_data, unsigned int *resp) in _send_mbox_command() argument 155 *resp = value; in _send_mbox_command() 163 *resp = value; in _send_mbox_command() 200 *resp = mbox_cmds.mbox_cmd[0].resp_data; in _send_mbox_command() 203 cpu, command, sub_command, parameter, req_data, *resp); in _send_mbox_command() 221 unsigned int resp; in mbox_read_pm_config() local 225 &resp); in mbox_read_pm_config() 229 debug_printf("cpu:%d READ_PM_CONFIG resp:%x\n", id->cpu, resp); in mbox_read_pm_config() 231 *cp_state = resp & BIT(16); in mbox_read_pm_config() 232 *cp_cap = resp & BIT(0) ? 1 : 0; in mbox_read_pm_config() [all …]
|
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/infiniband/sw/rxe/ |
D | rxe_resp.c | 61 rxe_sched_task(&qp->resp.task); in rxe_resp_queue_pkt() 63 rxe_run_task(&qp->resp.task); in rxe_resp_queue_pkt() 77 return (qp->resp.res) ? RESPST_READ_REPLY : RESPST_CHK_PSN; in get_req() 83 int diff = psn_compare(pkt->psn, qp->resp.psn); in check_psn() 89 if (qp->resp.sent_psn_nak) in check_psn() 92 qp->resp.sent_psn_nak = 1; in check_psn() 101 if (qp->resp.sent_psn_nak) in check_psn() 102 qp->resp.sent_psn_nak = 0; in check_psn() 107 if (qp->resp.drop_msg || diff != 0) { in check_psn() 109 qp->resp.drop_msg = 0; in check_psn() [all …]
|
/Linux-v6.6/drivers/net/wireless/ath/ath10k/ |
D | qmi.c | 122 struct wlfw_msa_info_resp_msg_v01 resp = {}; in ath10k_qmi_msa_mem_info_send_sync_msg() local 134 wlfw_msa_info_resp_msg_v01_ei, &resp); in ath10k_qmi_msa_mem_info_send_sync_msg() 152 if (resp.resp.result != QMI_RESULT_SUCCESS_V01) { in ath10k_qmi_msa_mem_info_send_sync_msg() 153 ath10k_err(ar, "msa info req rejected: %d\n", resp.resp.error); in ath10k_qmi_msa_mem_info_send_sync_msg() 158 if (resp.mem_region_info_len > QMI_WLFW_MAX_MEM_REG_V01) { in ath10k_qmi_msa_mem_info_send_sync_msg() 160 resp.mem_region_info_len); in ath10k_qmi_msa_mem_info_send_sync_msg() 166 qmi->nr_mem_region = resp.mem_region_info_len; in ath10k_qmi_msa_mem_info_send_sync_msg() 167 for (i = 0; i < resp.mem_region_info_len; i++) { in ath10k_qmi_msa_mem_info_send_sync_msg() 168 if (resp.mem_region_info[i].size > ar->msa.mem_size || in ath10k_qmi_msa_mem_info_send_sync_msg() 169 resp.mem_region_info[i].region_addr > max_mapped_addr || in ath10k_qmi_msa_mem_info_send_sync_msg() [all …]
|
/Linux-v6.6/fs/smb/server/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 …]
|
/Linux-v6.6/drivers/platform/chrome/ |
D | cros_ec_uart.c | 91 struct response_info *resp = &ec_uart->response; in cros_ec_uart_rx_bytes() local 94 if (!resp->data) { in cros_ec_uart_rx_bytes() 105 if (resp->size + count > resp->max_size) { in cros_ec_uart_rx_bytes() 106 resp->status = -EMSGSIZE; in cros_ec_uart_rx_bytes() 107 wake_up(&resp->wait_queue); in cros_ec_uart_rx_bytes() 111 memcpy(resp->data + resp->size, data, count); in cros_ec_uart_rx_bytes() 113 resp->size += count; in cros_ec_uart_rx_bytes() 116 if (resp->size >= sizeof(*host_response) && resp->exp_len == 0) { in cros_ec_uart_rx_bytes() 117 host_response = (struct ec_host_response *)resp->data; in cros_ec_uart_rx_bytes() 118 resp->exp_len = host_response->data_len + sizeof(*host_response); in cros_ec_uart_rx_bytes() [all …]
|
/Linux-v6.6/drivers/crypto/intel/qat/qat_common/ |
D | qat_comp_req.h | 57 static inline u32 qat_comp_get_consumed_ctr(void *resp) in qat_comp_get_consumed_ctr() argument 59 struct icp_qat_fw_comp_resp *qat_resp = resp; in qat_comp_get_consumed_ctr() 64 static inline u32 qat_comp_get_produced_ctr(void *resp) in qat_comp_get_produced_ctr() argument 66 struct icp_qat_fw_comp_resp *qat_resp = resp; in qat_comp_get_produced_ctr() 71 static inline u32 qat_comp_get_produced_adler32(void *resp) in qat_comp_get_produced_adler32() argument 73 struct icp_qat_fw_comp_resp *qat_resp = resp; in qat_comp_get_produced_adler32() 78 static inline u64 qat_comp_get_opaque(void *resp) in qat_comp_get_opaque() argument 80 struct icp_qat_fw_comp_resp *qat_resp = resp; in qat_comp_get_opaque() 85 static inline s8 qat_comp_get_cmp_err(void *resp) in qat_comp_get_cmp_err() argument 87 struct icp_qat_fw_comp_resp *qat_resp = resp; in qat_comp_get_cmp_err() [all …]
|
D | adf_admin.c | 155 struct icp_qat_fw_init_admin_resp *resp, in adf_send_admin() argument 161 if (adf_put_admin_msg_sync(accel_dev, ae, req, resp) || in adf_send_admin() 162 resp->status) in adf_send_admin() 171 struct icp_qat_fw_init_admin_resp resp; in adf_init_ae() local 176 memset(&resp, 0, sizeof(resp)); in adf_init_ae() 179 return adf_send_admin(accel_dev, &req, &resp, ae_mask); in adf_init_ae() 185 struct icp_qat_fw_init_admin_resp resp; in adf_set_fw_constants() local 190 memset(&resp, 0, sizeof(resp)); in adf_set_fw_constants() 196 return adf_send_admin(accel_dev, &req, &resp, ae_mask); in adf_set_fw_constants() 202 struct icp_qat_fw_init_admin_resp resp; in adf_get_fw_timestamp() local [all …]
|
/Linux-v6.6/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-v6.6/fs/lockd/ |
D | svc4proc.c | 94 __nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_test() argument 103 resp->cookie = argp->cookie; in __nlm4svc_proc_test() 106 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_test() 107 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlm4svc_proc_test() 111 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); in __nlm4svc_proc_test() 112 if (resp->status == nlm_drop_reply) in __nlm4svc_proc_test() 115 dprintk("lockd: TEST4 status %d\n", ntohl(resp->status)); in __nlm4svc_proc_test() 130 __nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_lock() argument 139 resp->cookie = argp->cookie; in __nlm4svc_proc_lock() 142 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_lock() [all …]
|
D | svcproc.c | 115 __nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_test() argument 124 resp->cookie = argp->cookie; in __nlmsvc_proc_test() 127 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_test() 128 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlmsvc_proc_test() 133 …resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->coo… in __nlmsvc_proc_test() 134 if (resp->status == nlm_drop_reply) in __nlmsvc_proc_test() 138 ntohl(resp->status), rqstp->rq_vers); in __nlmsvc_proc_test() 153 __nlmsvc_proc_lock(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_lock() argument 162 resp->cookie = argp->cookie; in __nlmsvc_proc_lock() 165 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_lock() [all …]
|
/Linux-v6.6/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-v6.6/drivers/accel/ivpu/ |
D | ivpu_jsm_msg.c | 14 struct vpu_jsm_msg resp; in ivpu_jsm_register_db() local 22 ret = ivpu_ipc_send_receive(vdev, &req, VPU_JSM_MSG_REGISTER_DB_DONE, &resp, in ivpu_jsm_register_db() 37 struct vpu_jsm_msg resp; in ivpu_jsm_unregister_db() local 42 ret = ivpu_ipc_send_receive(vdev, &req, VPU_JSM_MSG_UNREGISTER_DB_DONE, &resp, in ivpu_jsm_unregister_db() 57 struct vpu_jsm_msg resp; in ivpu_jsm_get_heartbeat() local 65 ret = ivpu_ipc_send_receive(vdev, &req, VPU_JSM_MSG_QUERY_ENGINE_HB_DONE, &resp, in ivpu_jsm_get_heartbeat() 72 *heartbeat = resp.payload.query_engine_hb_done.heartbeat; in ivpu_jsm_get_heartbeat() 79 struct vpu_jsm_msg resp; in ivpu_jsm_reset_engine() local 87 ret = ivpu_ipc_send_receive(vdev, &req, VPU_JSM_MSG_ENGINE_RESET_DONE, &resp, in ivpu_jsm_reset_engine() 98 struct vpu_jsm_msg resp; in ivpu_jsm_preempt_engine() local [all …]
|
/Linux-v6.6/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 …]
|