Home
last modified time | relevance | path

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

12

/drivers/scsi/bfa/
Dbfad_debugfs.c46 int buffer_len; member
61 debug->buffer_len = sizeof(struct bfa_trc_mod_s); in bfad_debugfs_open_drvtrc()
81 fw_debug->buffer_len = sizeof(struct bfa_trc_mod_s); in bfad_debugfs_open_fwtrc()
83 fw_debug->debug_buffer = vmalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwtrc()
91 memset(fw_debug->debug_buffer, 0, fw_debug->buffer_len); in bfad_debugfs_open_fwtrc()
96 &fw_debug->buffer_len); in bfad_debugfs_open_fwtrc()
125 fw_debug->buffer_len = sizeof(struct bfa_trc_mod_s); in bfad_debugfs_open_fwsave()
127 fw_debug->debug_buffer = vmalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwsave()
135 memset(fw_debug->debug_buffer, 0, fw_debug->buffer_len); in bfad_debugfs_open_fwsave()
140 &fw_debug->buffer_len); in bfad_debugfs_open_fwsave()
[all …]
/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c44 int buffer_len; member
59 fw_debug->buffer_len = BNA_DBG_FWTRC_LEN; in bnad_debugfs_open_fwtrc()
61 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwtrc()
71 &fw_debug->buffer_len); in bnad_debugfs_open_fwtrc()
100 fw_debug->buffer_len = BNA_DBG_FWTRC_LEN; in bnad_debugfs_open_fwsave()
102 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwsave()
112 &fw_debug->buffer_len); in bnad_debugfs_open_fwsave()
201 drv_info->buffer_len = sizeof(struct bnad_drvinfo); in bnad_debugfs_open_drvinfo()
203 drv_info->debug_buffer = kzalloc(drv_info->buffer_len, GFP_KERNEL); in bnad_debugfs_open_drvinfo()
212 drv_info->buffer_len); in bnad_debugfs_open_drvinfo()
[all …]
/drivers/scsi/fnic/
Dfnic_debugfs.c140 fnic_dbg_prt->buffer_len = fnic_get_trace_data(fnic_dbg_prt); in fnic_trace_debugfs_open()
177 pos = fnic_dbg_prt->buffer_len + offset; in fnic_trace_debugfs_lseek()
179 return (pos < 0 || pos > fnic_dbg_prt->buffer_len) ? in fnic_trace_debugfs_lseek()
208 fnic_dbg_prt->buffer_len); in fnic_trace_debugfs_read()
Dfnic_trace.h40 int buffer_len; member
/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c106 u32 buffer_len) in cmpk_message_handle_tx() argument
129 if((buffer_len - frag_offset) > frag_threshold) { in cmpk_message_handle_tx()
134 frag_length = buffer_len - frag_offset; in cmpk_message_handle_tx()
157 seg_ptr = skb_put(skb, buffer_len); in cmpk_message_handle_tx()
162 memcpy(seg_ptr,codevirtualaddress,buffer_len); in cmpk_message_handle_tx()
163 tcb_desc->txbuf_size= (u16)buffer_len; in cmpk_message_handle_tx()
178 }while(frag_offset < buffer_len); in cmpk_message_handle_tx()
Dr819xU_firmware.c32 bool fw_download_code(struct net_device *dev, u8 *code_virtual_address, u32 buffer_len) in fw_download_code() argument
51 if((buffer_len - frag_offset) > frag_threshold) { in fw_download_code()
56 frag_length = buffer_len - frag_offset; in fw_download_code()
104 }while(frag_offset < buffer_len); in fw_download_code()
Dr819xU_cmdpkt.h195 …_message_handle_tx(struct net_device *dev, u8* codevirtualaddress, u32 packettype, u32 buffer_len);
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_firmware.c36 u32 buffer_len) in fw_download_code() argument
53 if ((buffer_len - frag_offset) > frag_threshold) { in fw_download_code()
58 frag_length = buffer_len - frag_offset; in fw_download_code()
98 } while (frag_offset < buffer_len); in fw_download_code()
Dr8192E_cmdpkt.c41 u32 buffer_len) in cmpk_message_handle_tx() argument
56 RT_TRACE(COMP_CMDPKT, "%s(),buffer_len is %d\n", __func__, buffer_len); in cmpk_message_handle_tx()
61 if ((buffer_len - frag_offset) > frag_threshold) { in cmpk_message_handle_tx()
66 frag_length = (u16)(buffer_len - frag_offset); in cmpk_message_handle_tx()
98 } while (frag_offset < buffer_len); in cmpk_message_handle_tx()
Dr8192E_cmdpkt.h156 u32 buffer_len);
/drivers/net/wireless/rtlwifi/rtl8192se/
Dfw.c164 u8 *code_virtual_address, u32 buffer_len) in _rtl92s_firmware_downloadcode() argument
177 if (buffer_len >= MAX_FIRMWARE_CODE_SIZE) { in _rtl92s_firmware_downloadcode()
187 if ((buffer_len - frag_offset) > frag_threshold) { in _rtl92s_firmware_downloadcode()
190 frag_length = (u16)(buffer_len - frag_offset + in _rtl92s_firmware_downloadcode()
215 } while (frag_offset < buffer_len); in _rtl92s_firmware_downloadcode()
/drivers/media/rc/
Dene_ir.c201 dev->buffer_len = ENE_FW_PACKET_SIZE * 2; in ene_rx_setup_hw_buffer()
217 dev->buffer_len = dev->extra_buf1_len + dev->extra_buf2_len + 8; in ene_rx_setup_hw_buffer()
225 pr_notice("Total buffer len = %d\n", dev->buffer_len); in ene_rx_setup_hw_buffer()
227 if (dev->buffer_len > 64 || dev->buffer_len < 16) in ene_rx_setup_hw_buffer()
238 if (dev->r_pointer > dev->buffer_len) in ene_rx_setup_hw_buffer()
303 if (dev->r_pointer == dev->buffer_len) in ene_rx_get_sample_reg()
Dene_ir.h211 int buffer_len; member
/drivers/net/ethernet/sgi/
Dmeth.c629 int buffer_len = skb->len - unaligned_len; in meth_tx_1page_prepare() local
642 catbuf = dma_map_single(NULL, buffer_data, buffer_len, in meth_tx_1page_prepare()
645 desc->data.cat_buf[0].form.len = buffer_len - 1; in meth_tx_1page_prepare()
/drivers/net/wireless/rtlwifi/rtl8192cu/
Dtrx.c628 u32 buffer_len, bool bIsPsPoll) in rtl92cu_fill_fake_txdesc() argument
635 SET_TX_DESC_PKT_SIZE(pDesc, buffer_len); /* Buffer size + command hdr */ in rtl92cu_fill_fake_txdesc()
Dtrx.h429 u32 buffer_len, bool bIsPsPoll);
/drivers/media/usb/gspca/
Dgspca.c195 unsigned int buffer_len; in alloc_and_submit_int_urb() local
202 buffer_len = le16_to_cpu(ep->wMaxPacketSize); in alloc_and_submit_int_urb()
206 ep->bEndpointAddress, buffer_len, interval); in alloc_and_submit_int_urb()
216 buffer = usb_alloc_coherent(dev, buffer_len, in alloc_and_submit_int_urb()
224 buffer, buffer_len, in alloc_and_submit_int_urb()
/drivers/net/ethernet/atheros/atl1c/
Datl1c.h157 __le16 buffer_len; /* include 4-byte CRC */ member
Datl1c_main.c2080 use_tpd->buffer_len = cpu_to_le16(buffer_info->length); in atl1c_tx_map()
2105 use_tpd->buffer_len = cpu_to_le16(buffer_info->length); in atl1c_tx_map()
2129 use_tpd->buffer_len = cpu_to_le16(buffer_info->length); in atl1c_tx_map()
/drivers/s390/net/
Dqeth_core_mpc.h402 __u32 buffer_len; member
/drivers/scsi/
Dpmcraid.h545 u32 buffer_len; member
Dipr.c3761 sglist->buffer_len = len; in ipr_copy_ucode_buffer()
3783 ioarcb->data_transfer_length = cpu_to_be32(sglist->buffer_len); in ipr_build_ucode_ioadl64()
3814 ioarcb->data_transfer_length = cpu_to_be32(sglist->buffer_len); in ipr_build_ucode_ioadl()
8378 ipr_cmd->ioarcb.cmd_pkt.cdb[6] = (sglist->buffer_len & 0xff0000) >> 16; in ipr_reset_ucode_download()
8379 ipr_cmd->ioarcb.cmd_pkt.cdb[7] = (sglist->buffer_len & 0x00ff00) >> 8; in ipr_reset_ucode_download()
8380 ipr_cmd->ioarcb.cmd_pkt.cdb[8] = sglist->buffer_len & 0x0000ff; in ipr_reset_ucode_download()
/drivers/scsi/be2iscsi/
Dbe_main.h520 unsigned long buffer_len; member
Dbe_main.c1619 pasync_handle->buffer_len = dpl; in hwi_get_async_handle()
1844 hdr_len = pasync_handle->buffer_len; in hwi_fwd_async_msg()
1846 buf_len = pasync_handle->buffer_len; in hwi_fwd_async_msg()
1891 (unsigned short)pasync_handle->buffer_len; in hwi_gather_async_pdu()
1918 (unsigned short)pasync_handle->buffer_len; in hwi_gather_async_pdu()
/drivers/target/iscsi/
Discsi_target.c3373 int buffer_len, end_of_buf = 0, len = 0, payload_len = 0; in iscsit_build_sendtargets_response() local
3376 buffer_len = max(conn->conn_ops->MaxRecvDataSegmentLength, in iscsit_build_sendtargets_response()
3379 payload = kzalloc(buffer_len, GFP_KERNEL); in iscsit_build_sendtargets_response()
3391 if ((len + payload_len) > buffer_len) { in iscsit_build_sendtargets_response()
3426 if ((len + payload_len) > buffer_len) { in iscsit_build_sendtargets_response()

12