Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 25 of 537) sorted by relevance

12345678910>>...22

/kernel/linux/linux-5.10/drivers/mfd/
Dsi476x-cmd.c261 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 …]
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs3proc.c45 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_getattr() local
50 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr()
51 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd3_proc_getattr()
53 if (resp->status != nfs_ok) in nfsd3_proc_getattr()
56 resp->status = fh_getattr(&resp->fh, &resp->stat); in nfsd3_proc_getattr()
68 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_setattr() local
73 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr()
74 resp->status = nfsd_setattr(rqstp, &resp->fh, &argp->attrs, in nfsd3_proc_setattr()
86 struct nfsd3_diropres *resp = rqstp->rq_resp; in nfsd3_proc_lookup() local
93 fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_lookup()
[all …]
Dnfs2acl.c33 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 …]
Dnfsproc.c30 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
60 fhp = fh_copy(&resp->fh, &argp->fh); in nfsd_proc_setattr()
86 resp->status = fh_verify(rqstp, fhp, 0, NFSD_MAY_NOP); in nfsd_proc_setattr()
87 if (resp->status != nfs_ok) in nfsd_proc_setattr()
103 resp->status = nfsd_setattr(rqstp, fhp, iap, 0, (time64_t)0); in nfsd_proc_setattr()
[all …]
Dnfs3acl.c31 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 …]
Dnfs3xdr.c655 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfs3svc_encode_attrstat() local
657 *p++ = resp->status; in nfs3svc_encode_attrstat()
658 if (resp->status == 0) { in nfs3svc_encode_attrstat()
659 lease_get_mtime(d_inode(resp->fh.fh_dentry), in nfs3svc_encode_attrstat()
660 &resp->stat.mtime); in nfs3svc_encode_attrstat()
661 p = encode_fattr3(rqstp, p, &resp->fh, &resp->stat); in nfs3svc_encode_attrstat()
670 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfs3svc_encode_wccstat() local
672 *p++ = resp->status; in nfs3svc_encode_wccstat()
673 p = encode_wcc_data(rqstp, p, &resp->fh); in nfs3svc_encode_wccstat()
681 struct nfsd3_diropres *resp = rqstp->rq_resp; in nfs3svc_encode_diropres() local
[all …]
Dnfsxdr.c435 struct nfsd_stat *resp = rqstp->rq_resp; in nfssvc_encode_stat() local
437 *p++ = resp->status; in nfssvc_encode_stat()
444 struct nfsd_attrstat *resp = rqstp->rq_resp; in nfssvc_encode_attrstat() local
446 *p++ = resp->status; in nfssvc_encode_attrstat()
447 if (resp->status != nfs_ok) in nfssvc_encode_attrstat()
449 p = encode_fattr(rqstp, p, &resp->fh, &resp->stat); in nfssvc_encode_attrstat()
457 struct nfsd_diropres *resp = rqstp->rq_resp; in nfssvc_encode_diropres() local
459 *p++ = resp->status; in nfssvc_encode_diropres()
460 if (resp->status != nfs_ok) in nfssvc_encode_diropres()
462 p = encode_fh(p, &resp->fh); in nfssvc_encode_diropres()
[all …]
/kernel/linux/linux-5.10/tools/power/x86/intel-speed-select/
Disst-core.c11 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", 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", 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 …]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_trans_resv.c838 struct xfs_trans_resv *resp) in xfs_trans_resv_calc() argument
844 resp->tr_write.tr_logres = xfs_calc_write_reservation(mp); in xfs_trans_resv_calc()
846 resp->tr_write.tr_logcount = XFS_WRITE_LOG_COUNT_REFLINK; in xfs_trans_resv_calc()
848 resp->tr_write.tr_logcount = XFS_WRITE_LOG_COUNT; in xfs_trans_resv_calc()
849 resp->tr_write.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
851 resp->tr_itruncate.tr_logres = xfs_calc_itruncate_reservation(mp); in xfs_trans_resv_calc()
853 resp->tr_itruncate.tr_logcount = in xfs_trans_resv_calc()
856 resp->tr_itruncate.tr_logcount = XFS_ITRUNCATE_LOG_COUNT; in xfs_trans_resv_calc()
857 resp->tr_itruncate.tr_logflags |= XFS_TRANS_PERM_LOG_RES; in xfs_trans_resv_calc()
859 resp->tr_rename.tr_logres = xfs_calc_rename_reservation(mp); in xfs_trans_resv_calc()
[all …]
/kernel/linux/linux-5.10/net/nfc/
Ddigital_technology.c216 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 …]
Ddigital_dep.c107 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c45 struct host_cmd_ds_command *resp) in mwifiex_process_cmdresp_error() argument
52 resp->command, resp->result); in mwifiex_process_cmdresp_error()
57 switch (le16_to_cpu(resp->command)) { in mwifiex_process_cmdresp_error()
59 pm = &resp->params.psmode_enh; in mwifiex_process_cmdresp_error()
62 resp->result, le16_to_cpu(pm->action)); in mwifiex_process_cmdresp_error()
108 struct host_cmd_ds_command *resp) in mwifiex_ret_802_11_rssi_info() argument
111 &resp->params.rssi_info_rsp; in mwifiex_ret_802_11_rssi_info()
168 struct host_cmd_ds_command *resp, in mwifiex_ret_802_11_snmp_mib() argument
171 struct host_cmd_ds_802_11_snmp_mib *smib = &resp->params.smib; in mwifiex_ret_802_11_snmp_mib()
219 struct host_cmd_ds_command *resp, in mwifiex_ret_get_log() argument
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa_com_cmd.c68 struct efa_admin_modify_qp_resp resp; in efa_com_modify_qp() local
84 (struct efa_admin_acq_entry *)&resp, in efa_com_modify_qp()
85 sizeof(resp)); in efa_com_modify_qp()
103 struct efa_admin_query_qp_resp resp; in efa_com_query_qp() local
112 (struct efa_admin_acq_entry *)&resp, in efa_com_query_qp()
113 sizeof(resp)); in efa_com_query_qp()
121 result->qp_state = resp.qp_state; in efa_com_query_qp()
122 result->qkey = resp.qkey; in efa_com_query_qp()
123 result->sq_draining = resp.sq_draining; in efa_com_query_qp()
124 result->sq_psn = resp.sq_psn; in efa_com_query_qp()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_resp.c90 rxe_run_task(&qp->resp.task, must_sched); in rxe_resp_queue_pkt()
98 if (qp->resp.state == QP_STATE_ERROR) { in get_req()
114 return (qp->resp.res) ? RESPST_READ_REPLY : RESPST_CHK_PSN; in get_req()
120 int diff = psn_compare(pkt->psn, qp->resp.psn); in check_psn()
126 if (qp->resp.sent_psn_nak) in check_psn()
129 qp->resp.sent_psn_nak = 1; in check_psn()
138 if (qp->resp.sent_psn_nak) in check_psn()
139 qp->resp.sent_psn_nak = 0; in check_psn()
144 if (qp->resp.drop_msg || diff != 0) { in check_psn()
146 qp->resp.drop_msg = 0; in check_psn()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dqmi.c117 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 …]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Drndis.c176 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 …]
/kernel/linux/linux-5.10/drivers/nfc/
Dport100.c95 struct sk_buff *resp);
474 struct sk_buff *resp; member
814 struct sk_buff *resp = cmd->resp; in port100_send_async_complete() local
823 dev_kfree_skb(resp); in port100_send_async_complete()
827 skb_put(resp, port100_rx_frame_size(resp->data)); in port100_send_async_complete()
828 skb_pull(resp, PORT100_FRAME_HEADER_LEN); in port100_send_async_complete()
829 skb_trim(resp, resp->len - PORT100_FRAME_TAIL_LEN); in port100_send_async_complete()
831 cmd->complete_cb(dev, cmd->complete_cb_context, resp); in port100_send_async_complete()
843 struct sk_buff *resp; in port100_send_cmd_async() local
855 resp = alloc_skb(resp_len, GFP_KERNEL); in port100_send_cmd_async()
[all …]
/kernel/linux/linux-5.10/fs/lockd/
Dsvc4proc.c82 __nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_test() argument
90 resp->cookie = argp->cookie; in __nlm4svc_proc_test()
93 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_test()
94 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlm4svc_proc_test()
97 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); in __nlm4svc_proc_test()
98 if (resp->status == nlm_drop_reply) in __nlm4svc_proc_test()
101 dprintk("lockd: TEST4 status %d\n", ntohl(resp->status)); in __nlm4svc_proc_test()
116 __nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_lock() argument
125 resp->cookie = argp->cookie; in __nlm4svc_proc_lock()
128 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_lock()
[all …]
Dsvcproc.c112 __nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_test() argument
120 resp->cookie = argp->cookie; in __nlmsvc_proc_test()
123 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_test()
124 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlmsvc_proc_test()
127resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->coo… in __nlmsvc_proc_test()
128 if (resp->status == nlm_drop_reply) in __nlmsvc_proc_test()
132 ntohl(resp->status), rqstp->rq_vers); in __nlmsvc_proc_test()
147 __nlmsvc_proc_lock(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlmsvc_proc_lock() argument
156 resp->cookie = argp->cookie; in __nlmsvc_proc_lock()
159 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in __nlmsvc_proc_lock()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_cmd.c58 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 …]
Ducma.c116 struct rdma_ucm_event_resp resp; member
271 uevent->resp.uid = uevent->mc->uid; in ucma_create_uevent()
272 uevent->resp.id = uevent->mc->id; in ucma_create_uevent()
275 uevent->resp.uid = ctx->uid; in ucma_create_uevent()
276 uevent->resp.id = ctx->id; in ucma_create_uevent()
279 uevent->resp.event = event->event; in ucma_create_uevent()
280 uevent->resp.status = event->status; in ucma_create_uevent()
282 ucma_copy_ud_event(ctx->cm_id->device, &uevent->resp.param.ud, in ucma_create_uevent()
285 ucma_copy_conn_event(&uevent->resp.param.conn, in ucma_create_uevent()
288 uevent->resp.ece.vendor_id = event->ece.vendor_id; in ucma_create_uevent()
[all …]
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_server.c333 struct open_response *resp) in hmdfs_update_open_response() argument
343 resp->ino = cpu_to_le64(info->real_ino); in hmdfs_update_open_response()
344 resp->file_ver = cpu_to_le64(hmdfs_server_pack_fid_ver(con, cmd)); in hmdfs_update_open_response()
345 resp->file_id = cpu_to_le32(info->file_id); in hmdfs_update_open_response()
346 resp->file_size = cpu_to_le64(size); in hmdfs_update_open_response()
347 resp->ctime = cpu_to_le64(ctime.tv_sec); in hmdfs_update_open_response()
348 resp->ctime_nsec = cpu_to_le32(ctime.tv_nsec); in hmdfs_update_open_response()
360 resp->stable_ctime = cpu_to_le64(0); in hmdfs_update_open_response()
361 resp->stable_ctime_nsec = cpu_to_le32(0); in hmdfs_update_open_response()
364 resp->stable_ctime = resp->ctime; in hmdfs_update_open_response()
[all …]
Dhmdfs_client.c39 struct open_response *resp; in hmdfs_send_open() local
60 resp = sm.out_buf; in hmdfs_send_open()
62 open_ret->ino = le64_to_cpu(resp->ino); in hmdfs_send_open()
63 open_ret->fid.ver = le64_to_cpu(resp->file_ver); in hmdfs_send_open()
64 open_ret->fid.id = le32_to_cpu(resp->file_id); in hmdfs_send_open()
65 open_ret->file_size = le64_to_cpu(resp->file_size); in hmdfs_send_open()
66 open_ret->remote_ctime.tv_sec = le64_to_cpu(resp->ctime); in hmdfs_send_open()
67 open_ret->remote_ctime.tv_nsec = le32_to_cpu(resp->ctime_nsec); in hmdfs_send_open()
68 open_ret->stable_ctime.tv_sec = le64_to_cpu(resp->stable_ctime); in hmdfs_send_open()
69 open_ret->stable_ctime.tv_nsec = le32_to_cpu(resp->stable_ctime_nsec); in hmdfs_send_open()
[all …]
/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart_core.c63 static int get_msg(struct mixart_mgr *mgr, struct mixart_msg *resp, in get_msg() argument
77 resp->message_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 4)); /* dwMessageID */ in get_msg()
78 resp->uid.object_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 8)); /* uidDest */ in get_msg()
79 resp->uid.desc = readl_be(MIXART_MEM(mgr, msg_frame_address + 12)); /* */ in get_msg()
81 if( (size < MSG_DESCRIPTOR_SIZE) || (resp->size < (size - MSG_DESCRIPTOR_SIZE))) { in get_msg()
89 memcpy_fromio(resp->data, MIXART_MEM(mgr, msg_frame_address + MSG_HEADER_SIZE ), size); in get_msg()
90 resp->size = size; in get_msg()
96 ((u32*)resp->data)[i] = be32_to_cpu(((__be32*)resp->data)[i]); in get_msg()
223 struct mixart_msg resp; in snd_mixart_send_msg() local
253 resp.message_id = 0; in snd_mixart_send_msg()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_hw.c367 struct prestera_msg_common_resp resp; in prestera_cmd() local
369 return prestera_cmd_ret(sw, type, cmd, clen, &resp.ret, sizeof(resp)); in prestera_cmd()
486 struct prestera_msg_port_info_resp resp; in prestera_hw_port_info_get() local
490 &req.cmd, sizeof(req), &resp.ret, sizeof(resp)); in prestera_hw_port_info_get()
494 *dev_id = resp.dev_id; in prestera_hw_port_info_get()
495 *hw_id = resp.hw_id; in prestera_hw_port_info_get()
496 *fp_id = resp.fp_id; in prestera_hw_port_info_get()
515 struct prestera_msg_switch_init_resp resp; in prestera_hw_switch_init() local
523 &resp.ret, sizeof(resp), in prestera_hw_switch_init()
530 sw->port_count = resp.port_count; in prestera_hw_switch_init()
[all …]

12345678910>>...22