Home
last modified time | relevance | path

Searched refs:resp_len (Results 1 – 25 of 91) sorted by relevance

1234

/linux/drivers/input/mouse/
A Dcyapa_gen6.c92 int resp_len; in cyapa_get_pip_fixed_info() local
101 resp_data, &resp_len, in cyapa_get_pip_fixed_info()
118 resp_data, &resp_len, in cyapa_get_pip_fixed_info()
141 int resp_len; in cyapa_pip_state_parse() local
197 int resp_len; in cyapa_gen6_read_sys_info() local
261 int resp_len; in cyapa_gen6_bl_read_app_info() local
294 int resp_len; in cyapa_gen6_config_dev_irq() local
324 int resp_len; in cyapa_gen6_change_power_state() local
355 int resp_len; in cyapa_gen6_set_interval_setting() local
394 int resp_len; in cyapa_gen6_get_interval_setting() local
[all …]
A Dcyapa_gen5.c584 length = resp_len ? *resp_len : 0; in cyapa_do_i2c_pip_cmd_polling()
626 pip->resp_len = resp_len; in cyapa_i2c_pip_cmd_irq_sync()
644 resp_len && *resp_len != 0 && func) { in cyapa_i2c_pip_cmd_irq_sync()
689 int resp_len; in cyapa_sort_tsg_pip_app_resp_data() local
731 int resp_len; in cyapa_sort_gen5_hid_descriptor_data() local
1058 int resp_len; in cyapa_pip_bl_initiate() local
1144 int resp_len; in cyapa_pip_bl_exit() local
1170 int resp_len; in cyapa_pip_bl_enter() local
1330 int resp_len; in cyapa_pip_write_fw_block() local
1415 int resp_len; in cyapa_gen5_change_power_state() local
[all …]
/linux/drivers/infiniband/hw/hfi1/
A Dmad.c555 if (resp_len) in __subn_get_opa_nodedesc()
595 if (resp_len) in __subn_get_opa_nodeinfo()
958 if (resp_len) in __subn_get_opa_portinfo()
1026 if (resp_len) in __subn_get_opa_pkeytable()
1802 if (resp_len) in __subn_get_opa_sl_to_sc()
1854 if (resp_len) in __subn_get_opa_sc_to_sl()
1897 if (resp_len) in __subn_get_opa_sc_to_vlt()
1964 if (resp_len) in __subn_get_opa_sc_to_vlnt()
2038 if (resp_len) in __subn_get_opa_psi()
2138 if (resp_len) in __subn_get_opa_cable_info()
[all …]
/linux/drivers/hwmon/occ/
A Dp9_sbe.c51 size_t resp_len) in p9_sbe_occ_save_ffdc() argument
57 if (resp_len > ctx->ffdc_size) { in p9_sbe_occ_save_ffdc()
60 ctx->ffdc = kvmalloc(resp_len, GFP_KERNEL); in p9_sbe_occ_save_ffdc()
67 ctx->ffdc_size = resp_len; in p9_sbe_occ_save_ffdc()
72 ctx->ffdc_len = resp_len; in p9_sbe_occ_save_ffdc()
73 memcpy(ctx->ffdc, resp, resp_len); in p9_sbe_occ_save_ffdc()
85 size_t resp_len = sizeof(*resp); in p9_sbe_occ_send_cmd() local
88 rc = fsi_occ_submit(ctx->sbe, cmd, len, resp, &resp_len); in p9_sbe_occ_send_cmd()
90 if (resp_len) { in p9_sbe_occ_send_cmd()
91 if (p9_sbe_occ_save_ffdc(ctx, resp, resp_len)) in p9_sbe_occ_send_cmd()
/linux/drivers/platform/olpc/
A Dolpc-xo175-ec.c242 int resp_len; member
316 priv->resp_len = 0; in olpc_xo175_ec_complete()
394 priv->resp_len = 1; in olpc_xo175_ec_complete()
474 size_t resp_len, void *ec_cb_arg) in olpc_xo175_ec_cmd() argument
503 if (resp_len > sizeof(priv->resp_data)) { in olpc_xo175_ec_cmd()
507 nr_bytes = resp_len; in olpc_xo175_ec_cmd()
512 resp_len = min(resp_len, nr_bytes); in olpc_xo175_ec_cmd()
526 priv->resp_len = 0; in olpc_xo175_ec_cmd()
552 } else if (priv->resp_len != nr_bytes) { in olpc_xo175_ec_cmd()
554 cmd, priv->resp_len, nr_bytes); in olpc_xo175_ec_cmd()
[all …]
/linux/drivers/char/tpm/
A Dtpm_ftpm_tee.c49 len = pvt_data->resp_len; in ftpm_tee_tpm_op_recv()
58 pvt_data->resp_len = 0; in ftpm_tee_tpm_op_recv()
76 size_t resp_len; in ftpm_tee_tpm_op_send() local
93 pvt_data->resp_len = 0; in ftpm_tee_tpm_op_send()
146 resp_len = be32_to_cpu(resp_header->length); in ftpm_tee_tpm_op_send()
149 if (resp_len < TPM_HEADER_SIZE) { in ftpm_tee_tpm_op_send()
154 if (resp_len > MAX_RESPONSE_SIZE) { in ftpm_tee_tpm_op_send()
157 __func__, resp_len); in ftpm_tee_tpm_op_send()
162 memcpy(pvt_data->resp_buf, temp_buf, resp_len); in ftpm_tee_tpm_op_send()
163 pvt_data->resp_len = resp_len; in ftpm_tee_tpm_op_send()
A Dtpm_vtpm_proxy.c44 size_t resp_len; /* length of queued TPM response */ member
154 proxy_dev->resp_len = count; in vtpm_proxy_fops_write()
280 len = proxy_dev->resp_len; in vtpm_proxy_tpm_op_recv()
290 proxy_dev->resp_len = 0; in vtpm_proxy_tpm_op_recv()
352 proxy_dev->resp_len = 0; in vtpm_proxy_tpm_op_send()
375 if (proxy_dev->resp_len) in vtpm_proxy_tpm_op_status()
/linux/drivers/fsi/
A Dfsi-occ.c215 size_t resp_len) in occ_save_ffdc() argument
217 if (resp_len > parsed_len) { in occ_save_ffdc()
218 size_t dh = resp_len - parsed_len; in occ_save_ffdc()
259 size_t resp_len = OCC_MAX_RESP_WORDS; in occ_getsram() local
293 resp, resp_len, &parsed_len); in occ_getsram()
320 size_t resp_len = OCC_MAX_RESP_WORDS; in occ_putsram() local
366 buf, resp_len, &parsed_len); in occ_putsram()
397 size_t resp_len = OCC_MAX_RESP_WORDS; in occ_trigger_attn() local
427 buf, resp_len, &parsed_len); in occ_trigger_attn()
462 size_t user_resp_len = *resp_len; in fsi_occ_submit()
[all …]
A Dfsi-sbefifo.c216 size_t resp_len, size_t *data_len) in sbefifo_parse_status() argument
221 if (resp_len < 3) { in sbefifo_parse_status()
223 cmd, resp_len); in sbefifo_parse_status()
226 dh = be32_to_cpu(response[resp_len - 1]); in sbefifo_parse_status()
227 if (dh > resp_len || dh < 3) { in sbefifo_parse_status()
229 cmd >> 8, cmd & 0xff, dh, resp_len); in sbefifo_parse_status()
248 *data_len = resp_len - dh; in sbefifo_parse_status()
730 __be32 *response, size_t *resp_len) in sbefifo_submit() argument
745 if (!resp_len || !command || !response) in sbefifo_submit()
749 rbytes = (*resp_len) * sizeof(__be32); in sbefifo_submit()
[all …]
/linux/tools/testing/selftests/nci/
A Dnci_dev.c184 int resp_len; in get_family_id() local
204 while (len < resp_len) { in get_family_id()
253 int rc, resp_len; in get_nci_devid() local
262 if (resp_len < 0) { in get_nci_devid()
281 int resp_len; in get_dev_enable_state() local
288 while (len < resp_len) { in get_dev_enable_state()
295 return resp_len; in get_dev_enable_state()
650 int resp_len; in get_taginfo() local
676 while (len < resp_len) { in get_taginfo()
725 int resp_len; in connect_tag() local
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_hsi.h31 __le16 resp_len; member
85 __le16 resp_len; member
516 __le16 resp_len; member
556 __le16 resp_len; member
709 __le16 resp_len; member
1357 __le16 resp_len; member
1380 __le16 resp_len; member
1404 __le16 resp_len; member
1428 __le16 resp_len; member
1487 __le16 resp_len; member
[all …]
A Dbnxt_ulp.c243 u32 resp_len; in bnxt_send_msg() local
260 resp_len = le16_to_cpu(resp->resp_len); in bnxt_send_msg()
261 if (resp_len) { in bnxt_send_msg()
262 if (fw_msg->resp_max_len < resp_len) in bnxt_send_msg()
263 resp_len = fw_msg->resp_max_len; in bnxt_send_msg()
265 memcpy(fw_msg->resp, resp, resp_len); in bnxt_send_msg()
/linux/drivers/scsi/qedf/
A Dqedf_els.c426 u32 resp_len; in qedf_l2_els_compl() local
450 resp_len = mp_req->resp_len; in qedf_l2_els_compl()
490 memcpy(fc_payload, resp_buf, resp_len); in qedf_l2_els_compl()
546 u32 resp_len; in qedf_srr_compl() local
584 resp_len = mp_req->resp_len; in qedf_srr_compl()
587 fp = fc_frame_alloc(lport, resp_len); in qedf_srr_compl()
600 memcpy(fc_payload, resp_buf, resp_len); in qedf_srr_compl()
841 u32 resp_len; in qedf_rec_compl() local
884 resp_len = mp_req->resp_len; in qedf_rec_compl()
887 fp = fc_frame_alloc(lport, resp_len); in qedf_rec_compl()
[all …]
/linux/drivers/net/wireless/microchip/wilc1000/
A Dspi.c430 int cmd_len, resp_len, i; in wilc_spi_single_read() local
461 resp_len += 2; in wilc_spi_single_read()
467 cmd_len, resp_len, ARRAY_SIZE(wb)); in wilc_spi_single_read()
525 int cmd_len, resp_len; in wilc_spi_write_cmd() local
559 resp_len = sizeof(*r); in wilc_spi_write_cmd()
564 cmd_len, resp_len, ARRAY_SIZE(wb)); in wilc_spi_write_cmd()
600 int cmd_len, resp_len; in wilc_spi_dma_rw() local
637 resp_len = sizeof(*r); in wilc_spi_dma_rw()
641 cmd_len, resp_len, ARRAY_SIZE(wb)); in wilc_spi_dma_rw()
729 int cmd_len, resp_len = 0; in wilc_spi_special_cmd() local
[all …]
/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_els.c130 u32 resp_len, hdr_len; in bnx2fc_l2_els_compl() local
156 resp_len = mp_req->resp_len; in bnx2fc_l2_els_compl()
165 if (hdr_len + resp_len > PAGE_SIZE) { in bnx2fc_l2_els_compl()
172 frame_len = hdr_len + resp_len; in bnx2fc_l2_els_compl()
274 u32 resp_len, hdr_len; in bnx2fc_srr_compl() local
326 resp_len = mp_req->resp_len; in bnx2fc_srr_compl()
338 fp = fc_frame_alloc(NULL, resp_len); in bnx2fc_srr_compl()
346 memcpy(fh, buf, hdr_len + resp_len); in bnx2fc_srr_compl()
393 u32 resp_len, hdr_len; in bnx2fc_rec_compl() local
450 resp_len = mp_req->resp_len; in bnx2fc_rec_compl()
[all …]
/linux/drivers/mmc/host/
A Dvub300.c317 u8 resp_len; member
901 vub300->resp_len = 6; in send_command()
913 vub300->resp_len = 6; in send_command()
917 vub300->resp_len = 6; in send_command()
921 vub300->resp_len = 6; in send_command()
925 vub300->resp_len = 6; in send_command()
929 vub300->resp_len = 6; in send_command()
933 vub300->resp_len = 6; in send_command()
937 vub300->resp_len = 6; in send_command()
1713 int resp_len = vub300->resp_len; in construct_request_response() local
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_mbx.c39 u8 *resp_data, u16 resp_len) in hclgevf_get_mbx_resp() argument
47 if (resp_len > HCLGE_MBX_MAX_RESP_DATA_SIZE) { in hclgevf_get_mbx_resp()
50 resp_len, in hclgevf_get_mbx_resp()
78 memcpy(resp_data, &mbx_resp->additional_info[0], resp_len); in hclgevf_get_mbx_resp()
97 u8 *resp_data, u16 resp_len) in hclgevf_send_mbx_msg() argument
136 resp_len); in hclgevf_send_mbx_msg()
/linux/include/linux/
A Dfsi-sbefifo.h20 __be32 *response, size_t *resp_len);
23 size_t resp_len, size_t *data_len);
/linux/drivers/media/radio/wl128x/
A Dfmdrv_rx.c38 u32 resp_len; in fm_rx_set_freq() local
102 ret = fmc_send_cmd(fmdev, FREQ_SET, REG_RD, NULL, 2, &curr_frq, &resp_len); in fm_rx_set_freq()
159 u32 resp_len; in fm_rx_seek() local
175 sizeof(curr_frq), &curr_frq, &resp_len); in fm_rx_seek()
271 &curr_frq, &resp_len); in fm_rx_seek()
508 u32 resp_len; in fm_rx_get_rssi_level() local
517 &curr_rssi_lel, &resp_len); in fm_rx_get_rssi_level()
599 u32 resp_len; in fm_rx_get_stereo_mono() local
608 &curr_mode, &resp_len); in fm_rx_get_stereo_mono()
/linux/arch/sparc/kernel/
A Dds.c487 u64 handle, int resp_len, int ncpus, in dr_cpu_init_response() argument
537 int resp_len, ncpus, cpu; in dr_cpu_configure() local
541 resp_len = dr_cpu_size_response(ncpus); in dr_cpu_configure()
542 resp = kzalloc(resp_len, GFP_KERNEL); in dr_cpu_configure()
547 resp_len, ncpus, mask, in dr_cpu_configure()
579 __ds_send(dp->lp, resp, resp_len); in dr_cpu_configure()
596 int resp_len, ncpus, cpu; in dr_cpu_unconfigure() local
600 resp_len = dr_cpu_size_response(ncpus); in dr_cpu_unconfigure()
601 resp = kzalloc(resp_len, GFP_KERNEL); in dr_cpu_unconfigure()
606 resp_len, ncpus, mask, in dr_cpu_unconfigure()
[all …]
/linux/drivers/char/ipmi/
A Dipmi_si_intf.c1312 unsigned long resp_len; in try_get_dev_id() local
1339 resp + 2, resp_len - 2, &smi_info->device_id); in try_get_dev_id()
1362 unsigned long resp_len; in get_global_enables() local
1384 if (resp_len < 4 || in get_global_enables()
1390 resp_len, resp[0], resp[1], resp[2]); in get_global_enables()
1409 unsigned long resp_len; in set_global_enables() local
1432 if (resp_len < 3 || in set_global_enables()
1437 resp_len, resp[0], resp[1]); in set_global_enables()
1528 unsigned long resp_len; in try_enable_event_buffer() local
1548 if (resp_len < 4 || in try_enable_event_buffer()
[all …]
/linux/drivers/firmware/
A Dqcom_scm-legacy.c142 const size_t resp_len = MAX_QCOM_SCM_RETS * sizeof(__le32); in scm_legacy_call() local
143 size_t alloc_len = sizeof(*cmd) + cmd_len + sizeof(*rsp) + resp_len; in scm_legacy_call()
188 resp_len, DMA_FROM_DEVICE); in scm_legacy_call()
/linux/drivers/net/ethernet/microsoft/mana/
A Dhw_channel.c43 u32 resp_len) in mana_hwc_verify_resp_msg() argument
45 if (resp_len < sizeof(*resp_msg)) in mana_hwc_verify_resp_msg()
48 if (resp_len > caller_ctx->output_buflen) in mana_hwc_verify_resp_msg()
54 static void mana_hwc_handle_resp(struct hw_channel_context *hwc, u32 resp_len, in mana_hwc_handle_resp() argument
68 err = mana_hwc_verify_resp_msg(ctx, resp_msg, resp_len); in mana_hwc_handle_resp()
74 memcpy(ctx->output_buf, resp_msg, resp_len); in mana_hwc_handle_resp()
774 const void *req, u32 resp_len, void *resp) in mana_hwc_send_request() argument
796 ctx->output_buflen = resp_len; in mana_hwc_send_request()
/linux/drivers/net/wireless/ath/ath10k/
A Dusb.c547 u32 *resp_len) in ath10k_usb_ctrl_msg_exchange() argument
560 resp_buf, *resp_len); in ath10k_usb_ctrl_msg_exchange()
575 u32 resp_len; in ath10k_usb_hif_diag_read() local
585 resp_len = sizeof(struct ath10k_usb_ctrl_diag_resp_read); in ath10k_usb_hif_diag_read()
592 ar_usb->diag_resp_buffer, &resp_len); in ath10k_usb_hif_diag_read()
596 if (resp_len != sizeof(struct ath10k_usb_ctrl_diag_resp_read)) in ath10k_usb_hif_diag_read()
634 void *resp, u32 *resp_len) in ath10k_usb_bmi_exchange_msg() argument
653 0, 0, resp, *resp_len); in ath10k_usb_bmi_exchange_msg()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Dnvm.c425 int resp_len, n_channels; in iwl_mvm_update_mcc() local
448 resp_len = sizeof(struct iwl_mcc_update_resp) + in iwl_mvm_update_mcc()
450 resp_cp = kmemdup(mcc_resp, resp_len, GFP_KERNEL); in iwl_mvm_update_mcc()
459 resp_len = sizeof(struct iwl_mcc_update_resp) + in iwl_mvm_update_mcc()
461 resp_cp = kzalloc(resp_len, GFP_KERNEL); in iwl_mvm_update_mcc()

Completed in 170 milliseconds

1234