Home
last modified time | relevance | path

Searched refs:cmd_resp (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/mtd/devices/
Dsst25l.c71 unsigned char cmd_resp[2]; in sst25l_status() local
77 cmd_resp[0] = SST25L_CMD_RDSR; in sst25l_status()
78 cmd_resp[1] = 0xff; in sst25l_status()
79 t.tx_buf = cmd_resp; in sst25l_status()
80 t.rx_buf = cmd_resp; in sst25l_status()
81 t.len = sizeof(cmd_resp); in sst25l_status()
87 *status = cmd_resp[1]; in sst25l_status()
313 unsigned char cmd_resp[6]; in sst25l_match_device() local
320 cmd_resp[0] = SST25L_CMD_READ_ID; in sst25l_match_device()
321 cmd_resp[1] = 0; in sst25l_match_device()
[all …]
/linux-6.1.9/drivers/hid/amd-sfh-hid/sfh1_1/
Damd_sfh_interface.c17 struct sfh_cmd_response cmd_resp; in amd_sfh_wait_response() local
20 if (!readl_poll_timeout(mp2->mmio + AMD_P2C_MSG(0), cmd_resp.resp, in amd_sfh_wait_response()
21 (cmd_resp.response.response == 0 && in amd_sfh_wait_response()
22 cmd_resp.response.cmd_id == cmd_id && (sid == 0xff || in amd_sfh_wait_response()
23 cmd_resp.response.sensor_id == sid)), 500, 1600000)) in amd_sfh_wait_response()
24 return cmd_resp.response.response; in amd_sfh_wait_response()
/linux-6.1.9/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_mbox.c181 u64 cmd_resp; in workload_type_show() local
184 ret = send_mbox_read_cmd(pdev, MBOX_CMD_WORKLOAD_TYPE_READ, &cmd_resp); in workload_type_show()
188 cmd_resp &= 0xff; in workload_type_show()
190 if (cmd_resp > ARRAY_SIZE(workload_types) - 1) in workload_type_show()
193 return sprintf(buf, "%s\n", workload_types[cmd_resp]); in workload_type_show()
213 u64 cmd_resp; in proc_thermal_mbox_add() local
217 ret = send_mbox_read_cmd(pdev, MBOX_CMD_WORKLOAD_TYPE_READ, &cmd_resp); in proc_thermal_mbox_add()
/linux-6.1.9/include/trace/events/
Dmmc.h105 __array(u32, cmd_resp, 4)
131 __entry->cmd_resp[0] = mrq->cmd ? mrq->cmd->resp[0] : 0;
132 __entry->cmd_resp[1] = mrq->cmd ? mrq->cmd->resp[1] : 0;
133 __entry->cmd_resp[2] = mrq->cmd ? mrq->cmd->resp[2] : 0;
134 __entry->cmd_resp[3] = mrq->cmd ? mrq->cmd->resp[3] : 0;
173 __entry->cmd_resp[0], __entry->cmd_resp[1],
174 __entry->cmd_resp[2], __entry->cmd_resp[3],
/linux-6.1.9/drivers/net/ethernet/vertexcom/
Dmse102x.c310 u16 cmd_resp; in mse102x_rx_pkt_spi() local
316 cmd_resp = be16_to_cpu(rx); in mse102x_rx_pkt_spi()
318 if (ret || ((cmd_resp & CMD_MASK) != CMD_RTS)) { in mse102x_rx_pkt_spi()
326 cmd_resp = be16_to_cpu(rx); in mse102x_rx_pkt_spi()
327 if ((cmd_resp & CMD_MASK) != CMD_RTS) { in mse102x_rx_pkt_spi()
329 __func__, cmd_resp); in mse102x_rx_pkt_spi()
338 rxlen = cmd_resp & LEN_MASK; in mse102x_rx_pkt_spi()
376 u16 cmd_resp; in mse102x_tx_pkt_spi() local
386 cmd_resp = be16_to_cpu(rx); in mse102x_tx_pkt_spi()
390 if (cmd_resp == CMD_CTR) in mse102x_tx_pkt_spi()
[all …]
/linux-6.1.9/drivers/hid/amd-sfh-hid/
Damd_sfh_pcie.c39 union cmd_response cmd_resp; in amd_sfh_wait_response_v2() local
42 if (!readl_poll_timeout(mp2->mmio + AMD_P2C_MSG(0), cmd_resp.resp, in amd_sfh_wait_response_v2()
43 (cmd_resp.response_v2.response == sensor_sts && in amd_sfh_wait_response_v2()
44 cmd_resp.response_v2.status == 0 && (sid == 0xff || in amd_sfh_wait_response_v2()
45 cmd_resp.response_v2.sensor_id == sid)), 500, 1600000)) in amd_sfh_wait_response_v2()
46 return cmd_resp.response_v2.response; in amd_sfh_wait_response_v2()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_common.c364 struct iavf_aqc_get_set_rss_lut *cmd_resp = in iavf_aq_get_set_rss_lut() local
378 cmd_resp->vsi_id = in iavf_aq_get_set_rss_lut()
382 cmd_resp->vsi_id |= cpu_to_le16((u16)IAVF_AQC_SET_RSS_LUT_VSI_VALID); in iavf_aq_get_set_rss_lut()
385 cmd_resp->flags |= cpu_to_le16((u16) in iavf_aq_get_set_rss_lut()
390 cmd_resp->flags |= cpu_to_le16((u16) in iavf_aq_get_set_rss_lut()
449 struct iavf_aqc_get_set_rss_key *cmd_resp = in iavf_aq_get_set_rss_key() local
464 cmd_resp->vsi_id = in iavf_aq_get_set_rss_key()
468 cmd_resp->vsi_id |= cpu_to_le16((u16)IAVF_AQC_SET_RSS_KEY_VSI_VALID); in iavf_aq_get_set_rss_key()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_common.c394 struct i40e_aqc_get_set_rss_lut *cmd_resp = in i40e_aq_get_set_rss_lut() local
408 cmd_resp->vsi_id = in i40e_aq_get_set_rss_lut()
412 cmd_resp->vsi_id |= cpu_to_le16((u16)I40E_AQC_SET_RSS_LUT_VSI_VALID); in i40e_aq_get_set_rss_lut()
415 cmd_resp->flags |= cpu_to_le16((u16) in i40e_aq_get_set_rss_lut()
420 cmd_resp->flags |= cpu_to_le16((u16) in i40e_aq_get_set_rss_lut()
479 struct i40e_aqc_get_set_rss_key *cmd_resp = in i40e_aq_get_set_rss_key() local
494 cmd_resp->vsi_id = in i40e_aq_get_set_rss_key()
498 cmd_resp->vsi_id |= cpu_to_le16((u16)I40E_AQC_SET_RSS_KEY_VSI_VALID); in i40e_aq_get_set_rss_key()
2601 struct i40e_aqc_get_veb_parameters_completion *cmd_resp = in i40e_aq_get_veb_parameters() local
2611 cmd_resp->seid = cpu_to_le16(veb_seid); in i40e_aq_get_veb_parameters()
[all …]
/linux-6.1.9/drivers/net/wireless/rsi/
Drsi_91x_hal.c520 u16 *cmd_resp) in bl_write_cmd() argument
588 *cmd_resp = ((u16 *)&regout_val)[0] & 0xffff; in bl_write_cmd()
720 u16 cmd_resp, cmd_req; in ping_pong_write() local
726 cmd_resp = PONG_AVAIL; in ping_pong_write()
731 cmd_resp = PING_AVAIL; in ping_pong_write()
744 status = bl_cmd(adapter, cmd_req, cmd_resp, str); in ping_pong_write()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_common.c1821 struct ice_aqc_req_res *cmd_resp; in ice_aq_req_res() local
1825 cmd_resp = &desc.params.res_owner; in ice_aq_req_res()
1829 cmd_resp->res_id = cpu_to_le16(res); in ice_aq_req_res()
1830 cmd_resp->access_type = cpu_to_le16(access); in ice_aq_req_res()
1831 cmd_resp->res_number = cpu_to_le32(sdp_number); in ice_aq_req_res()
1832 cmd_resp->timeout = cpu_to_le32(*timeout); in ice_aq_req_res()
1849 if (le16_to_cpu(cmd_resp->status) == ICE_AQ_RES_GLBL_SUCCESS) { in ice_aq_req_res()
1850 *timeout = le32_to_cpu(cmd_resp->timeout); in ice_aq_req_res()
1852 } else if (le16_to_cpu(cmd_resp->status) == in ice_aq_req_res()
1854 *timeout = le32_to_cpu(cmd_resp->timeout); in ice_aq_req_res()
[all …]
/linux-6.1.9/drivers/input/touchscreen/
Delants_i2c.c180 u8 cmd_resp[HEADER_SIZE]; member
329 if (memcmp(rek_resp, ts->cmd_resp, sizeof(rek_resp))) { in elants_i2c_calibrate()
332 (int)sizeof(ts->cmd_resp), ts->cmd_resp); in elants_i2c_calibrate()
1087 memcpy(ts->cmd_resp, ts->buf, sizeof(ts->cmd_resp)); in elants_i2c_irq()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dpsp_gfx_if.h68 volatile uint32_t cmd_resp; /* +0 Command/Response register for Gfx commands */ member
/linux-6.1.9/drivers/usb/typec/ucsi/
Ducsi_ccg.c209 u8 cmd_resp; member
689 uc->cmd_resp = uc->dev_resp.code; in ccg_process_response()
697 uc->cmd_resp = uc->dev_resp.code; in ccg_process_response()
778 return uc->cmd_resp; in ccg_send_command()
/linux-6.1.9/drivers/mmc/host/
Dmeson-gx-mmc.c148 u32 cmd_resp; member
748 desc[i].cmd_resp = 0; in meson_mmc_desc_chain_transfer()