Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/libsas/
Dsas_host_smp.c22 static void sas_host_smp_discover(struct sas_ha_struct *sas_ha, u8 *resp_data, in sas_host_smp_discover() argument
29 resp_data[2] = SMP_RESP_NO_PHY; in sas_host_smp_discover()
32 resp_data[2] = SMP_RESP_FUNC_ACC; in sas_host_smp_discover()
35 resp_data[9] = phy_id; in sas_host_smp_discover()
36 resp_data[13] = phy->negotiated_linkrate; in sas_host_smp_discover()
37 memcpy(resp_data + 16, sas_ha->sas_addr, SAS_ADDR_SIZE); in sas_host_smp_discover()
38 memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr, in sas_host_smp_discover()
40 resp_data[40] = (phy->minimum_linkrate << 4) | in sas_host_smp_discover()
42 resp_data[41] = (phy->maximum_linkrate << 4) | in sas_host_smp_discover()
50 resp_data[12] = rphy->identify.device_type << 4; in sas_host_smp_discover()
[all …]
Dsas_task.c17 tstat->stat = iu->resp_data[3]; in sas_ssp_task_response()
/Linux-v4.19/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()
567 u8 *resp_data, int *resp_len, in cyapa_do_i2c_pip_cmd_polling() argument
584 if (resp_data && resp_len && length != 0 && func) { in cyapa_do_i2c_pip_cmd_polling()
590 resp_data, resp_len, func); in cyapa_do_i2c_pip_cmd_polling()
607 u8 *resp_data, int *resp_len, in cyapa_i2c_pip_cmd_irq_sync() argument
624 pip->resp_data = resp_data; in cyapa_i2c_pip_cmd_irq_sync()
642 if (error == -ETIMEDOUT && resp_data && in cyapa_i2c_pip_cmd_irq_sync()
650 resp_data, resp_len, func); in cyapa_i2c_pip_cmd_irq_sync()
657 resp_data, resp_len, timeout, func); in cyapa_i2c_pip_cmd_irq_sync()
661 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-v4.19/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()
Drequest.c993 memcpy(resp_buf, ssp_response->resp_data, len); in sci_io_request_copy_response()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c18 u8 *resp_data, u16 resp_data_len) in hclge_gen_resp_to_vf() argument
44 if (resp_data && resp_data_len > 0) in hclge_gen_resp_to_vf()
45 memcpy(&resp_pf_to_vf->msg[4], resp_data, resp_data_len); in hclge_gen_resp_to_vf()
280 u8 resp_data; in hclge_set_vf_mc_mac_addr() local
293 resp_data = hdev->mta_mac_sel_type; in hclge_set_vf_mc_mac_addr()
317 &resp_data, resp_len); in hclge_set_vf_mc_mac_addr()
369 u8 resp_data[HCLGE_TQPS_RSS_INFO_LEN]; in hclge_get_vf_queue_info() local
373 memcpy(&resp_data[0], &vport->alloc_tqps, sizeof(u16)); in hclge_get_vf_queue_info()
374 memcpy(&resp_data[2], &vport->nic.kinfo.rss_size, sizeof(u16)); in hclge_get_vf_queue_info()
375 memcpy(&resp_data[4], &hdev->num_desc, sizeof(u16)); in hclge_get_vf_queue_info()
[all …]
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_mbx.c26 u8 *resp_data, u16 resp_len) in hclgevf_get_mbx_resp() argument
61 if (resp_data) in hclgevf_get_mbx_resp()
62 memcpy(resp_data, &mbx_resp->additional_info[0], resp_len); in hclgevf_get_mbx_resp()
78 u8 *resp_data, u16 resp_len) in hclgevf_send_mbx_msg() argument
112 status = hclgevf_get_mbx_resp(hdev, code, subcode, resp_data, in hclgevf_send_mbx_msg()
Dhclgevf_main.h196 u8 *resp_data, u16 resp_len);
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dnvm.c152 u8 *resp_data; in iwl_nvm_read_chunk() local
167 resp_data = nvm_resp->data; in iwl_nvm_read_chunk()
200 memcpy(data + offset, resp_data, bytes_read); in iwl_nvm_read_chunk()
/Linux-v4.19/include/scsi/
Dsas.h343 u8 resp_data[0]; member
574 u8 resp_data[0]; member
/Linux-v4.19/sound/pci/mixart/
Dmixart_core.c237 …rt_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, void *resp_data) in snd_mixart_send_msg() argument
271 resp.data = resp_data; in snd_mixart_send_msg()
Dmixart_core.h562 …t_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, void *resp_data);
/Linux-v4.19/drivers/scsi/aic94xx/
Daic94xx_tmf.c309 res = ru->resp_data[3]; in asd_get_tmf_resp_tasklet()
/Linux-v4.19/drivers/rapidio/
Drio_cm.c432 static int riocm_resp_handler(void *resp_data) in riocm_resp_handler() argument
435 struct rio_ch_chan_hdr *hh = resp_data; in riocm_resp_handler()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_sli.c4222 uint32_t hc_copy, ha_copy, resp_data; in lpfc_reset_barrier() local
4264 if (lpfc_readl((resp_buf + 1), &resp_data)) in lpfc_reset_barrier()
4266 if (resp_data != ~(BARRIER_TEST_PATTERN)) in lpfc_reset_barrier()
4271 resp_data = 0; in lpfc_reset_barrier()
4272 if (lpfc_readl((resp_buf + 1), &resp_data)) in lpfc_reset_barrier()
4274 if (resp_data != ~(BARRIER_TEST_PATTERN)) { in lpfc_reset_barrier()
4283 resp_data = 0; in lpfc_reset_barrier()
4285 if (lpfc_readl(resp_buf, &resp_data)) in lpfc_reset_barrier()
4287 if (resp_data != mbox) in lpfc_reset_barrier()