Home
last modified time | relevance | path

Searched refs:buffer_len (Results 1 – 25 of 42) sorted by relevance

12

/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c37 int buffer_len; member
52 fw_debug->buffer_len = BNA_DBG_FWTRC_LEN; in bnad_debugfs_open_fwtrc()
54 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwtrc()
64 &fw_debug->buffer_len); in bnad_debugfs_open_fwtrc()
92 fw_debug->buffer_len = BNA_DBG_FWTRC_LEN; in bnad_debugfs_open_fwsave()
94 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwsave()
104 &fw_debug->buffer_len); in bnad_debugfs_open_fwsave()
192 drv_info->buffer_len = sizeof(struct bnad_drvinfo); in bnad_debugfs_open_drvinfo()
194 drv_info->debug_buffer = kzalloc(drv_info->buffer_len, GFP_KERNEL); in bnad_debugfs_open_drvinfo()
203 drv_info->buffer_len); in bnad_debugfs_open_drvinfo()
[all …]
/drivers/scsi/bfa/
Dbfad_debugfs.c39 int buffer_len; member
54 debug->buffer_len = sizeof(struct bfa_trc_mod_s); in bfad_debugfs_open_drvtrc()
74 fw_debug->buffer_len = sizeof(struct bfa_trc_mod_s); in bfad_debugfs_open_fwtrc()
76 fw_debug->debug_buffer = vzalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwtrc()
87 &fw_debug->buffer_len); in bfad_debugfs_open_fwtrc()
116 fw_debug->buffer_len = sizeof(struct bfa_trc_mod_s); in bfad_debugfs_open_fwsave()
118 fw_debug->debug_buffer = vzalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwsave()
129 &fw_debug->buffer_len); in bfad_debugfs_open_fwsave()
167 debug->buffer_len); in bfad_debugfs_lseek()
180 debug->debug_buffer, debug->buffer_len); in bfad_debugfs_read()
/drivers/misc/mei/hdcp/
Dmei_hdcp.c56 session_init_in.header.buffer_len = in mei_hdcp_initiate_session()
126 verify_rxcert_in.header.buffer_len = in mei_hdcp_verify_receiver_cert_prepare_km()
198 send_hprime_in.header.buffer_len = WIRED_CMD_BUF_LEN_AKE_SEND_HPRIME_IN; in mei_hdcp_verify_hprime()
255 pairing_info_in.header.buffer_len = in mei_hdcp_store_pairing_info()
315 lc_init_in.header.buffer_len = WIRED_CMD_BUF_LEN_INIT_LOCALITY_CHECK_IN; in mei_hdcp_initiate_locality_check()
370 verify_lprime_in.header.buffer_len = in mei_hdcp_verify_lprime()
429 get_skey_in.header.buffer_len = WIRED_CMD_BUF_LEN_GET_SESSION_KEY_IN; in mei_hdcp_get_session_key()
493 verify_repeater_in.header.buffer_len = in mei_hdcp_repeater_check_flow_prepare_ack()
572 verify_mprime_in->header.buffer_len = cmd_size - sizeof(verify_mprime_in->header); in mei_hdcp_verify_mprime()
634 enable_auth_in.header.buffer_len = WIRED_CMD_BUF_LEN_ENABLE_AUTH_IN; in mei_hdcp_enable_authentication()
[all …]
Dmei_hdcp.h176 u32 buffer_len; member
/drivers/acpi/acpica/
Ddbhistry.c46 u16 buffer_len; in acpi_db_add_to_history() local
57 buffer_len = in acpi_db_add_to_history()
62 if (cmd_len > buffer_len) { in acpi_db_add_to_history()
/drivers/hid/surface-hid/
Dsurface_hid.c48 u32 buffer_len, offset, length; in ssam_hid_get_descriptor() local
57 buffer_len = ARRAY_SIZE(buffer) - sizeof(struct surface_hid_buffer_slice); in ssam_hid_get_descriptor()
75 length = buffer_len; in ssam_hid_get_descriptor()
92 if (length > buffer_len || offset > len) in ssam_hid_get_descriptor()
101 length = buffer_len; in ssam_hid_get_descriptor()
/drivers/scsi/fnic/
Dfnic_debugfs.c228 fnic_dbg_prt->buffer_len = fnic_get_trace_data(fnic_dbg_prt); in fnic_trace_debugfs_open()
239 fnic_dbg_prt->buffer_len = in fnic_trace_debugfs_open()
270 fnic_dbg_prt->buffer_len); in fnic_trace_debugfs_lseek()
298 fnic_dbg_prt->buffer_len); in fnic_trace_debugfs_read()
614 debug->buffer_len = fnic_get_stats_data(debug, fnic_stats); in fnic_stats_debugfs_open()
646 debug->buffer_len); in fnic_stats_debugfs_read()
Dfnic_trace.h55 int buffer_len; member
Dfnic_stats.h137 int buffer_len; member
/drivers/staging/rtl8192u/
Dr819xU_firmware.c35 u32 buffer_len) in fw_download_code() argument
54 if ((buffer_len - frag_offset) > frag_threshold) { in fw_download_code()
58 frag_length = buffer_len - frag_offset; in fw_download_code()
102 } while (frag_offset < buffer_len); in fw_download_code()
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c134 u8 *code_virtual_address, u32 buffer_len) in _rtl92s_firmware_downloadcode() argument
146 if (buffer_len >= MAX_FIRMWARE_CODE_SIZE) { in _rtl92s_firmware_downloadcode()
154 if ((buffer_len - frag_offset) > frag_threshold) { in _rtl92s_firmware_downloadcode()
157 frag_length = (u16)(buffer_len - frag_offset + in _rtl92s_firmware_downloadcode()
180 } while (frag_offset < buffer_len); in _rtl92s_firmware_downloadcode()
/drivers/net/ethernet/intel/i40e/
Di40e_debugfs.c1333 u16 buffer_len; in i40e_dbg_command_write() local
1349 &buffer_len); in i40e_dbg_command_write()
1359 if (buffer_len == 0) in i40e_dbg_command_write()
1360 buffer_len = 1280; in i40e_dbg_command_write()
1362 buff = kzalloc(buffer_len, GFP_KERNEL); in i40e_dbg_command_write()
1370 buffer_len, NULL); in i40e_dbg_command_write()
1392 buff, buffer_len, true); in i40e_dbg_command_write()
1532 u16 buffer_len, bytes; in i40e_dbg_command_write() local
1539 &module, &offset, &buffer_len); in i40e_dbg_command_write()
1543 buffer_len = 0; in i40e_dbg_command_write()
[all …]
/drivers/media/rc/
Dene_ir.c186 dev->buffer_len = ENE_FW_PACKET_SIZE * 2; in ene_rx_setup_hw_buffer()
202 dev->buffer_len = dev->extra_buf1_len + dev->extra_buf2_len + 8; in ene_rx_setup_hw_buffer()
210 pr_notice("Total buffer len = %d\n", dev->buffer_len); in ene_rx_setup_hw_buffer()
212 if (dev->buffer_len > 64 || dev->buffer_len < 16) in ene_rx_setup_hw_buffer()
223 if (dev->r_pointer > dev->buffer_len) in ene_rx_setup_hw_buffer()
288 if (dev->r_pointer == dev->buffer_len) in ene_rx_get_sample_reg()
Dene_ir.h197 int buffer_len; member
/drivers/platform/x86/dell/dell-wmi-sysman/
Dsysman.c37 ssize_t populate_string_buffer(char *buffer, size_t buffer_len, const char *str) in populate_string_buffer() argument
44 target, buffer_len - sizeof(u16)); in populate_string_buffer()
Ddell-wmi-sysman.h189 ssize_t populate_string_buffer(char *buffer, size_t buffer_len, const char *str);
/drivers/net/ethernet/sgi/
Dmeth.c626 int buffer_len = skb->len - unaligned_len; in meth_tx_1page_prepare() local
639 catbuf = dma_map_single(&priv->pdev->dev, buffer_data, buffer_len, in meth_tx_1page_prepare()
642 desc->data.cat_buf[0].form.len = buffer_len - 1; in meth_tx_1page_prepare()
/drivers/media/usb/gspca/
Dgspca.c157 unsigned int buffer_len; in alloc_and_submit_int_urb() local
164 buffer_len = le16_to_cpu(ep->wMaxPacketSize); in alloc_and_submit_int_urb()
167 ep->bEndpointAddress, buffer_len, interval); in alloc_and_submit_int_urb()
177 buffer = usb_alloc_coherent(dev, buffer_len, in alloc_and_submit_int_urb()
185 buffer, buffer_len, in alloc_and_submit_int_urb()
/drivers/net/wireless/ath/ath11k/
Dhtc.h241 u8 buffer_len; member
/drivers/media/platform/qcom/venus/
Dhfi_cmds.h125 u32 buffer_len; member
/drivers/net/fjes/
Dfjes_hw.h129 __le64 buffer_len; member
/drivers/net/wireless/ath/ath10k/
Dhtc.h346 u8 buffer_len; member
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dtrx.c604 u32 buffer_len, bool is_pspoll) in rtl92cu_fill_fake_txdesc() argument
613 set_tx_desc_pkt_size(pdesc, buffer_len); /* Buffer size + command hdr */ in rtl92cu_fill_fake_txdesc()
Dtrx.h398 u32 buffer_len, bool ispspoll);
/drivers/bus/mhi/host/
Dinit.c874 mhi_cntrl->buffer_len = config->buf_len; in parse_config()
875 if (!mhi_cntrl->buffer_len) in parse_config()
876 mhi_cntrl->buffer_len = MHI_MAX_MTU; in parse_config()

12