Home
last modified time | relevance | path

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

123

/drivers/input/mouse/
Dcyapa_gen6.c92 int resp_len; 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()
104 if (error || resp_len < PIP_BL_GET_INFO_RESP_LENGTH) 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()
120 if (error || resp_len < PIP_READ_SYS_INFO_RESP_LENGTH) in cyapa_get_pip_fixed_info()
141 int resp_len; in cyapa_pip_state_parse() local
157 resp_len = PIP_HID_DESCRIPTOR_SIZE; in cyapa_pip_state_parse()
160 resp_data, &resp_len, in cyapa_pip_state_parse()
[all …]
Dcyapa_gen5.c356 pip->resp_len = NULL; in cyapa_pip_cmd_state_initialize()
521 u8 *resp_data, int *resp_len, in cyapa_do_i2c_pip_cmd_polling() argument
537 length = resp_len ? *resp_len : 0; in cyapa_do_i2c_pip_cmd_polling()
538 if (resp_data && resp_len && length != 0 && func) { in cyapa_do_i2c_pip_cmd_polling()
542 *resp_len = length; in cyapa_do_i2c_pip_cmd_polling()
544 resp_data, resp_len, func); in cyapa_do_i2c_pip_cmd_polling()
545 if (error || *resp_len == 0) in cyapa_do_i2c_pip_cmd_polling()
550 if ((error || *resp_len == 0) || tries <= 0) in cyapa_do_i2c_pip_cmd_polling()
561 u8 *resp_data, int *resp_len, in cyapa_i2c_pip_cmd_irq_sync() argument
579 pip->resp_len = resp_len; in cyapa_i2c_pip_cmd_irq_sync()
[all …]
Dcyapa.h290 int *resp_len; member
393 u8 *resp_data, int *resp_len,
/drivers/staging/rdma/hfi1/
Dmad.c295 u8 port, u32 *resp_len) in __subn_get_opa_nodedesc() argument
308 if (resp_len) in __subn_get_opa_nodedesc()
309 *resp_len += sizeof(*nd); in __subn_get_opa_nodedesc()
316 u32 *resp_len) in __subn_get_opa_nodeinfo() argument
347 if (resp_len) in __subn_get_opa_nodeinfo()
348 *resp_len += sizeof(*ni); in __subn_get_opa_nodeinfo()
515 u32 *resp_len) in __subn_get_opa_portinfo() argument
709 if (resp_len) in __subn_get_opa_portinfo()
710 *resp_len += sizeof(struct opa_port_info); in __subn_get_opa_portinfo()
732 u32 *resp_len) in __subn_get_opa_pkeytable() argument
[all …]
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h86 __le16 resp_len; member
394 __le16 resp_len; member
529 __le16 resp_len; member
680 __le16 resp_len; member
743 __le16 resp_len; member
770 __le16 resp_len; member
797 __le16 resp_len; member
826 __le16 resp_len; member
855 __le16 resp_len; member
883 __le16 resp_len; member
[all …]
/drivers/scsi/bnx2fc/
Dbnx2fc_els.c122 u32 resp_len, hdr_len; in bnx2fc_l2_els_compl() local
148 resp_len = mp_req->resp_len; in bnx2fc_l2_els_compl()
157 if (hdr_len + resp_len > PAGE_SIZE) { in bnx2fc_l2_els_compl()
163 memcpy(buf + hdr_len, resp_buf, resp_len); in bnx2fc_l2_els_compl()
164 frame_len = hdr_len + resp_len; in bnx2fc_l2_els_compl()
266 u32 resp_len, hdr_len; in bnx2fc_srr_compl() local
318 resp_len = mp_req->resp_len; in bnx2fc_srr_compl()
328 memcpy(buf + hdr_len, resp_buf, resp_len); in bnx2fc_srr_compl()
330 fp = fc_frame_alloc(NULL, resp_len); in bnx2fc_srr_compl()
338 memcpy(fh, buf, hdr_len + resp_len); in bnx2fc_srr_compl()
[all …]
/drivers/mmc/host/
Dvub300.c320 u8 resp_len; member
906 vub300->resp_len = 6; in send_command()
918 vub300->resp_len = 6; in send_command()
922 vub300->resp_len = 6; in send_command()
926 vub300->resp_len = 6; in send_command()
930 vub300->resp_len = 6; in send_command()
934 vub300->resp_len = 6; in send_command()
938 vub300->resp_len = 6; in send_command()
942 vub300->resp_len = 6; in send_command()
945 vub300->resp_len = 0; in send_command()
[all …]
/drivers/media/radio/wl128x/
Dfmdrv_rx.c51 u32 resp_len; in fm_rx_set_freq() local
115 ret = fmc_send_cmd(fmdev, FREQ_SET, REG_RD, NULL, 2, &curr_frq, &resp_len); in fm_rx_set_freq()
172 u32 resp_len; in fm_rx_seek() local
188 sizeof(curr_frq), &curr_frq, &resp_len); in fm_rx_seek()
284 &curr_frq, &resp_len); in fm_rx_seek()
521 u32 resp_len; in fm_rx_get_rssi_level() local
530 &curr_rssi_lel, &resp_len); in fm_rx_get_rssi_level()
612 u32 resp_len; in fm_rx_get_stereo_mono() local
621 &curr_mode, &resp_len); in fm_rx_get_stereo_mono()
Dfmdrv_tx.c366 u32 resp_len; in fm_tx_get_tune_cap_val() local
373 NULL, sizeof(curr_val), &curr_val, &resp_len); in fm_tx_get_tune_cap_val()
/drivers/firmware/
Dqcom_scm-32.c268 size_t cmd_len, void *resp_buf, size_t resp_len) in qcom_scm_call() argument
275 cmd = alloc_qcom_scm_command(cmd_len, resp_len); in qcom_scm_call()
296 end = (unsigned long)qcom_scm_get_response_buffer(rsp) + resp_len; in qcom_scm_call()
300 memcpy(resp_buf, qcom_scm_get_response_buffer(rsp), resp_len); in qcom_scm_call()
/drivers/nfc/
Dpn533.c401 int resp_len; member
914 int resp_len, in __pn533_send_async() argument
930 cmd->resp_len = resp_len; in __pn533_send_async()
939 rc = __pn533_send_frame_async(dev, req, resp, resp_len); in __pn533_send_async()
970 int resp_len = dev->ops->rx_header_len + in pn533_send_data_async() local
974 resp = nfc_alloc_recv_skb(resp_len, GFP_KERNEL); in pn533_send_data_async()
978 rc = __pn533_send_async(dev, cmd_code, req, resp, resp_len, complete_cb, in pn533_send_data_async()
993 int resp_len = dev->ops->rx_header_len + in pn533_send_cmd_async() local
997 resp = alloc_skb(resp_len, GFP_KERNEL); in pn533_send_cmd_async()
1001 rc = __pn533_send_async(dev, cmd_code, req, resp, resp_len, complete_cb, in pn533_send_cmd_async()
[all …]
Dport100.c455 int resp_len; member
789 int resp_len = PORT100_FRAME_HEADER_LEN + in port100_send_cmd_async() local
793 resp = alloc_skb(resp_len, GFP_KERNEL); in port100_send_cmd_async()
806 cmd->resp_len = resp_len; in port100_send_cmd_async()
814 rc = port100_send_frame_async(dev, req, resp, resp_len); in port100_send_cmd_async()
/drivers/net/wireless/ath/ath10k/
Dpci.c1702 void *resp, u32 *resp_len) in ath10k_pci_hif_exchange_bmi_msg() argument
1717 if (resp && !resp_len) in ath10k_pci_hif_exchange_bmi_msg()
1720 if (resp && resp_len && *resp_len == 0) in ath10k_pci_hif_exchange_bmi_msg()
1734 if (resp && resp_len) { in ath10k_pci_hif_exchange_bmi_msg()
1735 tresp = kzalloc(*resp_len, GFP_KERNEL); in ath10k_pci_hif_exchange_bmi_msg()
1741 resp_paddr = dma_map_single(ar->dev, tresp, *resp_len, in ath10k_pci_hif_exchange_bmi_msg()
1750 xfer.resp_len = 0; in ath10k_pci_hif_exchange_bmi_msg()
1778 *resp_len, DMA_FROM_DEVICE); in ath10k_pci_hif_exchange_bmi_msg()
1783 if (ret == 0 && resp_len) { in ath10k_pci_hif_exchange_bmi_msg()
1784 *resp_len = min(*resp_len, xfer.resp_len); in ath10k_pci_hif_exchange_bmi_msg()
[all …]
Dpci.h41 u32 resp_len; member
/drivers/scsi/mvsas/
Dmv_sas.c327 u32 req_len, resp_len, tag = tei->tag; in mvs_task_prep_smp() local
350 resp_len = SB_RFB_MAX; in mvs_task_prep_smp()
353 if ((req_len & 0x3) || (resp_len & 0x3)) { in mvs_task_prep_smp()
401 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | ((req_len - 4) / 4)); in mvs_task_prep_smp()
456 u32 i, req_len, resp_len; in mvs_task_prep_ata() local
535 resp_len = MVS_SLOT_BUF_SZ - MVS_ATA_CMD_SZ - in mvs_task_prep_ata()
539 resp_len = min(resp_len, max_resp_len); in mvs_task_prep_ata()
540 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | (req_len / 4)); in mvs_task_prep_ata()
584 u32 resp_len, req_len, i, tag = tei->tag; in mvs_task_prep_ssp() local
649 resp_len = MVS_SLOT_BUF_SZ - MVS_SSP_CMD_SZ - MVS_OAF_SZ - in mvs_task_prep_ssp()
[all …]
/drivers/net/wireless/libertas/
Dmain.c487 else if (priv->resp_len[priv->resp_idx]) in lbs_thread()
534 if (priv->resp_len[resp_idx]) { in lbs_thread()
538 priv->resp_len[resp_idx]); in lbs_thread()
540 priv->resp_len[resp_idx] = 0; in lbs_thread()
914 priv->resp_len[0] = priv->resp_len[1] = 0; in lbs_init_adapter()
Ddev.h136 u32 resp_len[2]; member
/drivers/s390/crypto/
Dzcrypt_msgtype6.c435 if (CEIL4(xcRB->resp_len) < xcRB->resp_len) in xcrb_msg_to_type6_ep11cprb_msgx()
438 if (CEIL4(xcRB->resp_len) > MSGTYPE06_MAX_MSG_SIZE - in xcrb_msg_to_type6_ep11cprb_msgx()
445 msg->hdr.FromCardLen1 = xcRB->resp_len; in xcrb_msg_to_type6_ep11cprb_msgx()
658 if (xcRB->resp_len < msg->fmt2.count1) in convert_type86_ep11_xcrb()
665 xcRB->resp_len = msg->fmt2.count1; in convert_type86_ep11_xcrb()
/drivers/net/wireless/iwlwifi/mvm/
Dtime-event.c444 int resp_len = iwl_rx_packet_payload_len(pkt); in iwl_mvm_te_notif() local
449 if (WARN_ON_ONCE(resp_len != sizeof(*resp))) { in iwl_mvm_te_notif()
476 int resp_len = iwl_rx_packet_payload_len(pkt); in iwl_mvm_time_event_response() local
481 if (WARN_ON_ONCE(resp_len != sizeof(*resp))) { in iwl_mvm_time_event_response()
Dnvm.c639 int resp_len, n_channels; in iwl_mvm_update_mcc() local
673 resp_len = sizeof(*mcc_resp) + n_channels * sizeof(__le32); in iwl_mvm_update_mcc()
674 resp_cp = kmemdup(mcc_resp, resp_len, GFP_KERNEL); in iwl_mvm_update_mcc()
/drivers/char/ipmi/
Dipmi_si_intf.c2931 unsigned long resp_len; in try_get_dev_id() local
2950 resp_len = smi_info->handlers->get_result(smi_info->si_sm, in try_get_dev_id()
2954 rv = ipmi_demangle_device_id(resp, resp_len, &smi_info->device_id); in try_get_dev_id()
2965 unsigned long resp_len; in get_global_enables() local
2984 resp_len = smi_info->handlers->get_result(smi_info->si_sm, in get_global_enables()
2987 if (resp_len < 4 || in get_global_enables()
2993 resp_len, resp[0], resp[1], resp[2]); in get_global_enables()
3012 unsigned long resp_len; in set_global_enables() local
3032 resp_len = smi_info->handlers->get_result(smi_info->si_sm, in set_global_enables()
3035 if (resp_len < 3 || in set_global_enables()
[all …]
/drivers/net/wireless/ath/ath6kl/
Dusb.c932 u8 resp_val, u8 *resp_buf, u32 *resp_len) in ath6kl_usb_ctrl_msg_exchange() argument
950 resp_buf, *resp_len); in ath6kl_usb_ctrl_msg_exchange()
960 u32 resp_len; in ath6kl_usb_diag_read32() local
968 resp_len = sizeof(*resp); in ath6kl_usb_diag_read32()
975 ar_usb->diag_resp_buffer, &resp_len); in ath6kl_usb_diag_read32()
/drivers/net/wireless/mwifiex/
Dwmm.c924 uint16_t resp_len = le16_to_cpu(resp->size), tlv_len; in mwifiex_ret_wmm_get_status() local
935 resp_len); in mwifiex_ret_wmm_get_status()
937 while ((resp_len >= sizeof(tlv_hdr->header)) && valid) { in mwifiex_ret_wmm_get_status()
941 if (resp_len < tlv_len + sizeof(tlv_hdr->header)) in mwifiex_ret_wmm_get_status()
998 resp_len -= (tlv_len + sizeof(tlv_hdr->header)); in mwifiex_ret_wmm_get_status()
/drivers/scsi/bfa/
Dbfa_fcbuild.h44 fc_get_ctresp_pyld_len(u32 resp_len) in fc_get_ctresp_pyld_len() argument
46 return resp_len - sizeof(struct ct_hdr_s); in fc_get_ctresp_pyld_len()
/drivers/scsi/qla4xxx/
Dql4_iocb.c424 if (task_data->resp_len) { in qla4xxx_send_passthru0()
430 cpu_to_le32(task_data->resp_len); in qla4xxx_send_passthru0()

123