Home
last modified time | relevance | path

Searched refs:FW_BUF_SIZE (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init_ops.h85 u32 buf_len = (((len*4) > FW_BUF_SIZE) ? FW_BUF_SIZE : (len*4)); in bnx2x_init_fill()
115 u32 buf_len32 = FW_BUF_SIZE/4; in bnx2x_init_wr_64()
123 len64 = min((u32)(FW_BUF_SIZE/8), len64); in bnx2x_init_wr_64()
Dbnx2x.h1795 #define FW_BUF_SIZE 0x8000 macro
Dbnx2x_main.c6509 bp->gunzip_buf = dma_alloc_coherent(&bp->pdev->dev, FW_BUF_SIZE, in bnx2x_gunzip_init()
6529 dma_free_coherent(&bp->pdev->dev, FW_BUF_SIZE, bp->gunzip_buf, in bnx2x_gunzip_init()
6547 dma_free_coherent(&bp->pdev->dev, FW_BUF_SIZE, bp->gunzip_buf, in bnx2x_gunzip_end()
6573 bp->strm->avail_out = FW_BUF_SIZE; in bnx2x_gunzip()
6584 bp->gunzip_outlen = (FW_BUF_SIZE - bp->strm->avail_out); in bnx2x_gunzip()
/linux-4.1.27/drivers/net/wireless/orinoco/
Dorinoco_usb.c193 #define FW_BUF_SIZE 64 macro
794 fw_buffer = kmalloc(FW_BUF_SIZE, GFP_KERNEL); in ezusb_firmware_download()
816 for (addr = 0; addr < fw->size; addr += FW_BUF_SIZE) { in ezusb_firmware_download()
822 memcpy(fw_buffer, &fw->code[addr], FW_BUF_SIZE); in ezusb_firmware_download()
824 variant_offset < addr + FW_BUF_SIZE) { in ezusb_firmware_download()
836 fw_buffer, FW_BUF_SIZE, in ezusb_firmware_download()