Home
last modified time | relevance | path

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

12345

/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/hwmon/occ/
A Dp9_sbe.c54 size_t resp_len) in p9_sbe_occ_save_ffdc() argument
60 if (resp_len > ctx->ffdc_size) { in p9_sbe_occ_save_ffdc()
62 ctx->ffdc = kvmalloc(resp_len, GFP_KERNEL); in p9_sbe_occ_save_ffdc()
69 ctx->ffdc_size = resp_len; in p9_sbe_occ_save_ffdc()
74 ctx->ffdc_len = resp_len; in p9_sbe_occ_save_ffdc()
75 memcpy(ctx->ffdc, resp, resp_len); in p9_sbe_occ_save_ffdc()
84 void *resp, size_t resp_len) in p9_sbe_occ_send_cmd() argument
86 size_t original_resp_len = resp_len; in p9_sbe_occ_send_cmd()
94 if (resp_len) { in p9_sbe_occ_send_cmd()
95 if (p9_sbe_occ_save_ffdc(ctx, resp, resp_len)) in p9_sbe_occ_send_cmd()
[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/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.c48 len = pvt_data->resp_len; in ftpm_tee_tpm_op_recv()
57 pvt_data->resp_len = 0; in ftpm_tee_tpm_op_recv()
75 size_t resp_len; in ftpm_tee_tpm_op_send() local
92 pvt_data->resp_len = 0; in ftpm_tee_tpm_op_send()
145 resp_len = be32_to_cpu(resp_header->length); in ftpm_tee_tpm_op_send()
148 if (resp_len < TPM_HEADER_SIZE) { in ftpm_tee_tpm_op_send()
153 if (resp_len > MAX_RESPONSE_SIZE) { in ftpm_tee_tpm_op_send()
156 __func__, resp_len); in ftpm_tee_tpm_op_send()
161 memcpy(pvt_data->resp_buf, temp_buf, resp_len); in ftpm_tee_tpm_op_send()
162 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()
279 len = proxy_dev->resp_len; in vtpm_proxy_tpm_op_recv()
289 proxy_dev->resp_len = 0; in vtpm_proxy_tpm_op_recv()
351 proxy_dev->resp_len = 0; in vtpm_proxy_tpm_op_send()
374 if (proxy_dev->resp_len) in vtpm_proxy_tpm_op_status()
/linux/drivers/fsi/
A Dfsi-occ.c218 size_t resp_len) in occ_save_ffdc() argument
220 if (resp_len > parsed_len) { in occ_save_ffdc()
221 size_t dh = resp_len - parsed_len; in occ_save_ffdc()
262 size_t resp_len = OCC_MAX_RESP_WORDS; in occ_getsram() local
296 resp, resp_len, &parsed_len); in occ_getsram()
323 size_t resp_len = OCC_MAX_RESP_WORDS; in occ_putsram() local
369 buf, resp_len, &parsed_len); in occ_putsram()
400 size_t resp_len = OCC_MAX_RESP_WORDS; in occ_trigger_attn() local
430 buf, resp_len, &parsed_len); in occ_trigger_attn()
473 size_t user_resp_len = *resp_len; in fsi_occ_submit()
[all …]
A Dfsi-sbefifo.c222 size_t resp_len, size_t *data_len) in sbefifo_parse_status() argument
227 if (resp_len < 3) { in sbefifo_parse_status()
229 cmd, resp_len); in sbefifo_parse_status()
232 dh = be32_to_cpu(response[resp_len - 1]); in sbefifo_parse_status()
233 if (dh > resp_len || dh < 3) { in sbefifo_parse_status()
235 cmd >> 8, cmd & 0xff, dh, resp_len); in sbefifo_parse_status()
254 *data_len = resp_len - dh; in sbefifo_parse_status()
739 __be32 *response, size_t *resp_len) in sbefifo_submit() argument
754 if (!resp_len || !command || !response) in sbefifo_submit()
758 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/platform/x86/dell/
A Ddell-uart-backlight.c60 u8 resp_len; member
91 dell_bl->resp_len = -1; /* Invalid / unset */ in dell_uart_bl_command()
223 while (i < len && dell_bl->resp_idx != dell_bl->resp_len) { in dell_uart_bl_receive()
228 dell_bl->resp_len = dell_bl->resp[RESP_LEN]; in dell_uart_bl_receive()
229 if (dell_bl->resp_len < MIN_RESP_LEN || in dell_uart_bl_receive()
230 dell_bl->resp_len > dell_bl->resp_max_len) { in dell_uart_bl_receive()
232 dell_bl->resp_len, MIN_RESP_LEN, dell_bl->resp_max_len); in dell_uart_bl_receive()
249 if (dell_bl->resp_idx != dell_bl->resp_len) in dell_uart_bl_receive()
252 csum = dell_uart_checksum(dell_bl->resp, dell_bl->resp_len - 1); in dell_uart_bl_receive()
253 if (dell_bl->resp[dell_bl->resp_len - 1] == csum) { in dell_uart_bl_receive()
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_hsi.h31 __le16 resp_len; member
87 __le16 resp_len; member
608 __le16 resp_len; member
648 __le16 resp_len; member
802 __le16 resp_len; member
1556 __le16 resp_len; member
1579 __le16 resp_len; member
1603 __le16 resp_len; member
1627 __le16 resp_len; member
1692 __le16 resp_len; member
[all …]
A Dbnxt_ulp.c199 u32 resp_len; in bnxt_send_msg() local
216 resp_len = le16_to_cpu(resp->resp_len); in bnxt_send_msg()
217 if (resp_len) { in bnxt_send_msg()
218 if (fw_msg->resp_max_len < resp_len) in bnxt_send_msg()
219 resp_len = fw_msg->resp_max_len; in bnxt_send_msg()
221 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/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()
1711 int resp_len = vub300->resp_len; in construct_request_response() local
1712 int less_cmd = (17 == resp_len) ? resp_len : resp_len - 1; in construct_request_response()
[all …]
/linux/drivers/net/wireless/microchip/wilc1000/
A Dspi.c516 int cmd_len, resp_len, i; in wilc_spi_single_read() local
547 resp_len += 2; in wilc_spi_single_read()
553 cmd_len, resp_len, ARRAY_SIZE(wb)); in wilc_spi_single_read()
611 int cmd_len, resp_len; in wilc_spi_write_cmd() local
645 resp_len = sizeof(*r); in wilc_spi_write_cmd()
650 cmd_len, resp_len, ARRAY_SIZE(wb)); in wilc_spi_write_cmd()
686 int cmd_len, resp_len; in wilc_spi_dma_rw() local
723 resp_len = sizeof(*r); in wilc_spi_dma_rw()
727 cmd_len, resp_len, ARRAY_SIZE(wb)); in wilc_spi_dma_rw()
812 int cmd_len, resp_len = 0; in wilc_spi_special_cmd() local
[all …]
/linux/include/linux/
A Drpmb.h40 u8 *resp, unsigned int resp_len);
78 unsigned int req_len, u8 *resp, unsigned int resp_len);
117 unsigned int resp_len) in rpmb_route_frames() argument
A Dfsi-sbefifo.h20 __be32 *response, size_t *resp_len);
23 size_t resp_len, size_t *data_len);
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_mbx.c41 u8 *resp_data, u16 resp_len) in hclgevf_get_mbx_resp() argument
49 if (resp_len > HCLGE_MBX_MAX_RESP_DATA_SIZE) { in hclgevf_get_mbx_resp()
52 resp_len, 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
142 resp_len); in hclgevf_send_mbx_msg()
/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/drivers/firmware/qcom/
A Dqcom_scm-legacy.c145 const size_t resp_len = MAX_QCOM_SCM_RETS * sizeof(__le32); in scm_legacy_call() local
146 size_t alloc_len = sizeof(*cmd) + cmd_len + sizeof(*rsp) + resp_len; in scm_legacy_call()
191 resp_len, DMA_FROM_DEVICE); in scm_legacy_call()
/linux/drivers/virt/coco/sev-guest/
A Dsev-guest.c501 int rc, resp_len; in get_report() local
516 resp_len = sizeof(report_resp->data) + crypto->a_len; in get_report()
517 report_resp = kzalloc(resp_len, GFP_KERNEL_ACCOUNT); in get_report()
539 int rc, resp_len; in get_derived_key() local
553 resp_len = sizeof(derived_key_resp.data) + crypto->a_len; in get_derived_key()
554 if (sizeof(buf) < resp_len) in get_derived_key()
562 derived_key_req, sizeof(*derived_key_req), buf, resp_len); in get_derived_key()
584 int ret, npages = 0, resp_len; in get_ext_report() local
625 resp_len = sizeof(report_resp->data) + crypto->a_len; in get_ext_report()
626 report_resp = kzalloc(resp_len, GFP_KERNEL_ACCOUNT); in get_ext_report()
[all …]
/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.c1313 unsigned long resp_len; in try_get_dev_id() local
1340 resp + 2, resp_len - 2, &smi_info->device_id); in try_get_dev_id()
1363 unsigned long resp_len; in get_global_enables() local
1385 if (resp_len < 4 || in get_global_enables()
1391 resp_len, resp[0], resp[1], resp[2]); in get_global_enables()
1410 unsigned long resp_len; in set_global_enables() local
1433 if (resp_len < 3 || in set_global_enables()
1438 resp_len, resp[0], resp[1]); in set_global_enables()
1529 unsigned long resp_len; in try_enable_event_buffer() local
1549 if (resp_len < 4 || in try_enable_event_buffer()
[all …]

Completed in 163 milliseconds

12345