Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_init_ops.h87 u32 buf_len = (((len*4) > FW_BUF_SIZE) ? FW_BUF_SIZE : (len*4)); in bnx2x_init_fill()
117 u32 buf_len32 = FW_BUF_SIZE/4; in bnx2x_init_wr_64()
125 len64 = min((u32)(FW_BUF_SIZE/8), len64); in bnx2x_init_wr_64()
H A Dbnx2x.h1726 #define FW_BUF_SIZE 0x8000 macro
H A Dbnx2x_main.c6572 bp->gunzip_buf = dma_alloc_coherent(&bp->pdev->dev, FW_BUF_SIZE, in bnx2x_gunzip_init()
6592 dma_free_coherent(&bp->pdev->dev, FW_BUF_SIZE, bp->gunzip_buf, in bnx2x_gunzip_init()
6610 dma_free_coherent(&bp->pdev->dev, FW_BUF_SIZE, bp->gunzip_buf, in bnx2x_gunzip_end()
6636 bp->strm->avail_out = FW_BUF_SIZE; in bnx2x_gunzip()
6647 bp->gunzip_outlen = (FW_BUF_SIZE - bp->strm->avail_out); in bnx2x_gunzip()
/openbmc/linux/drivers/net/wireless/intersil/orinoco/
H A Dorinoco_usb.c190 #define FW_BUF_SIZE 64 macro
815 fw_buffer = kmalloc(FW_BUF_SIZE, GFP_KERNEL); in ezusb_firmware_download()
837 for (addr = 0; addr < fw->size; addr += FW_BUF_SIZE) { in ezusb_firmware_download()
843 memcpy(fw_buffer, &fw->code[addr], FW_BUF_SIZE); in ezusb_firmware_download()
845 variant_offset < addr + FW_BUF_SIZE) { in ezusb_firmware_download()
857 fw_buffer, FW_BUF_SIZE, in ezusb_firmware_download()