Home
last modified time | relevance | path

Searched refs:resp_data (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.6.21/drivers/scsi/libsas/
Dsas_host_smp.c19 static void sas_host_smp_discover(struct sas_ha_struct *sas_ha, u8 *resp_data, in sas_host_smp_discover() argument
26 resp_data[2] = SMP_RESP_NO_PHY; in sas_host_smp_discover()
29 resp_data[2] = SMP_RESP_FUNC_ACC; in sas_host_smp_discover()
32 resp_data[9] = phy_id; in sas_host_smp_discover()
33 resp_data[13] = phy->negotiated_linkrate; in sas_host_smp_discover()
34 memcpy(resp_data + 16, sas_ha->sas_addr, SAS_ADDR_SIZE); in sas_host_smp_discover()
35 memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr, in sas_host_smp_discover()
37 resp_data[40] = (phy->minimum_linkrate << 4) | in sas_host_smp_discover()
39 resp_data[41] = (phy->maximum_linkrate << 4) | in sas_host_smp_discover()
47 resp_data[12] = rphy->identify.device_type << 4; in sas_host_smp_discover()
[all …]
Dsas_task.c23 tstat->stat = iu->resp_data[3]; in sas_ssp_task_response()
/linux-6.6.21/drivers/input/mouse/
Dcyapa_gen6.c91 u8 resp_data[PIP_READ_SYS_INFO_RESP_LENGTH]; in cyapa_get_pip_fixed_info() local
98 resp_len = sizeof(resp_data); in cyapa_get_pip_fixed_info()
101 resp_data, &resp_len, in cyapa_get_pip_fixed_info()
107 pip_info->family_id = resp_data[8]; in cyapa_get_pip_fixed_info()
108 pip_info->silicon_id_low = resp_data[10]; in cyapa_get_pip_fixed_info()
109 pip_info->silicon_id_high = resp_data[11]; in cyapa_get_pip_fixed_info()
115 resp_len = sizeof(resp_data); in cyapa_get_pip_fixed_info()
118 resp_data, &resp_len, in cyapa_get_pip_fixed_info()
123 product_family = get_unaligned_le16(&resp_data[7]); in cyapa_get_pip_fixed_info()
128 pip_info->family_id = resp_data[19]; in cyapa_get_pip_fixed_info()
[all …]
Dcyapa_gen5.c361 pip->resp_data = NULL; in cyapa_pip_cmd_state_initialize()
568 u8 *resp_data, int *resp_len, in cyapa_do_i2c_pip_cmd_polling() argument
585 if (resp_data && resp_len && length != 0 && func) { in cyapa_do_i2c_pip_cmd_polling()
591 resp_data, resp_len, func); in cyapa_do_i2c_pip_cmd_polling()
608 u8 *resp_data, int *resp_len, in cyapa_i2c_pip_cmd_irq_sync() argument
625 pip->resp_data = resp_data; in cyapa_i2c_pip_cmd_irq_sync()
643 if (error == -ETIMEDOUT && resp_data && in cyapa_i2c_pip_cmd_irq_sync()
651 resp_data, resp_len, func); in cyapa_i2c_pip_cmd_irq_sync()
658 resp_data, resp_len, timeout, func); in cyapa_i2c_pip_cmd_irq_sync()
662 pip->resp_data = NULL; in cyapa_i2c_pip_cmd_irq_sync()
[all …]
Dcyapa.h233 #define PIP_CMD_COMPLETE_SUCCESS(resp_data) \ argument
234 ((resp_data)[PIP_RESP_STATUS_OFFSET] == 0x00)
298 u8 *resp_data; member
405 u8 *resp_data, int *resp_len,
/linux-6.6.21/drivers/scsi/isci/
Dtask.h125 tmf->resp.resp_iu.resp_data[0], in isci_print_tmf()
126 tmf->resp.resp_iu.resp_data[1], in isci_print_tmf()
127 tmf->resp.resp_iu.resp_data[2], in isci_print_tmf()
128 tmf->resp.resp_iu.resp_data[3]); in isci_print_tmf()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_mbx.c41 u8 *resp_data, u16 resp_len) in hclgevf_get_mbx_resp() argument
83 if (resp_data) in hclgevf_get_mbx_resp()
84 memcpy(resp_data, &mbx_resp->additional_info[0], resp_len); in hclgevf_get_mbx_resp()
103 u8 *resp_data, u16 resp_len) in hclgevf_send_mbx_msg() argument
141 send_msg->subcode, resp_data, in hclgevf_send_mbx_msg()
182 memcpy(resp->additional_info, req->msg.resp_data, in hclgevf_handle_mbx_response()
Dhclgevf_main.h287 u8 *resp_data, u16 resp_len);
Dhclgevf_main.c229 u8 resp_data[2]; in hclgevf_get_qid_global() local
234 ret = hclgevf_send_mbx_msg(hdev, &send_msg, true, resp_data, in hclgevf_get_qid_global()
235 sizeof(resp_data)); in hclgevf_get_qid_global()
237 qid_in_pf = le16_to_cpu(*(__le16 *)resp_data); in hclgevf_get_qid_global()
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dadf_pfvf_pf_proto.c128 u8 resp_data = 0; in handle_blkmsg_req() local
160 byte_max, &resp_data, in handle_blkmsg_req()
169 byte_max, &resp_data, in handle_blkmsg_req()
176 FIELD_PREP(ADF_PF2VF_BLKMSG_RESP_DATA_MASK, resp_data); in handle_blkmsg_req()
/linux-6.6.21/drivers/platform/olpc/
Dolpc-xo175-ec.c240 u8 resp_data[EC_MAX_RESP_LEN]; member
377 priv->resp_data[priv->resp_len++] = byte; in olpc_xo175_ec_complete()
393 priv->resp_data[0] = byte; in olpc_xo175_ec_complete()
503 if (resp_len > sizeof(priv->resp_data)) { in olpc_xo175_ec_cmd()
550 cmd, priv->resp_data[0]); in olpc_xo175_ec_cmd()
563 memcpy(resp, priv->resp_data, resp_len); in olpc_xo175_ec_cmd()
/linux-6.6.21/drivers/virt/coco/sev-guest/
Dsev-guest.c487 if (!arg->req_data || !arg->resp_data) in get_report()
509 if (copy_to_user((void __user *)arg->resp_data, resp, sizeof(*resp))) in get_report()
528 if (!arg->req_data || !arg->resp_data) in get_derived_key()
549 if (copy_to_user((void __user *)arg->resp_data, &resp, sizeof(resp))) in get_derived_key()
567 if (!arg->req_data || !arg->resp_data) in get_ext_report()
626 if (copy_to_user((void __user *)arg->resp_data, resp, sizeof(*resp))) in get_ext_report()
/linux-6.6.21/include/uapi/linux/
Dsev-guest.h53 __u64 resp_data; member
Disst_if.h114 __u32 resp_data; member
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c670 struct iwl_probe_resp_data *resp_data; in iwl_mvm_probe_resp_set_noa() local
682 resp_data = rcu_dereference(mvmvif->deflink.probe_resp_data); in iwl_mvm_probe_resp_set_noa()
683 if (!resp_data) in iwl_mvm_probe_resp_set_noa()
686 if (!resp_data->notif.noa_active) in iwl_mvm_probe_resp_set_noa()
698 if (skb_tailroom(skb) < resp_data->noa_len) { in iwl_mvm_probe_resp_set_noa()
699 if (pskb_expand_head(skb, 0, resp_data->noa_len, GFP_ATOMIC)) { in iwl_mvm_probe_resp_set_noa()
706 pos = skb_put(skb, resp_data->noa_len); in iwl_mvm_probe_resp_set_noa()
710 *pos++ = resp_data->noa_len - 2; in iwl_mvm_probe_resp_set_noa()
716 memcpy(pos, &resp_data->notif.noa_attr, in iwl_mvm_probe_resp_set_noa()
717 resp_data->noa_len - sizeof(struct ieee80211_vendor_ie)); in iwl_mvm_probe_resp_set_noa()
Dnvm.c90 u8 *resp_data; in iwl_nvm_read_chunk() local
105 resp_data = nvm_resp->data; in iwl_nvm_read_chunk()
138 memcpy(data + offset, resp_data, bytes_read); in iwl_nvm_read_chunk()
/linux-6.6.21/drivers/platform/x86/intel/speed_select_if/
Disst_if_mbox_msr.c103 &act->mbox_cmd->resp_data); in msrl_update_func()
Disst_if_mbox_pci.c109 mbox_cmd->resp_data = data; in isst_if_mbox_cmd()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/
Dhclge_mbx.h145 u8 resp_data[HCLGE_MBX_MAX_RESP_DATA_SIZE]; member
/linux-6.6.21/include/scsi/
Dsas.h336 DECLARE_FLEX_ARRAY(u8, resp_data);
557 DECLARE_FLEX_ARRAY(u8, resp_data);
/linux-6.6.21/Documentation/virt/coco/
Dsev-guest.rst42 output structure is specified through the req_data and resp_data field
58 __u64 resp_data;
/linux-6.6.21/sound/pci/mixart/
Dmixart_core.c219 …rt_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, void *resp_data) in snd_mixart_send_msg() argument
253 resp.data = resp_data; in snd_mixart_send_msg()
Dmixart_core.h556 …t_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, void *resp_data);
/linux-6.6.21/drivers/scsi/aic94xx/
Daic94xx_tmf.c291 res = ru->resp_data[3]; in asd_get_tmf_resp_tasklet()
/linux-6.6.21/tools/power/x86/intel-speed-select/
Disst-core-mbox.c200 *resp = mbox_cmds.mbox_cmd[0].resp_data; in _send_mbox_command()

12