/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_mfw_req.h | 143 u32 max_frame_size; /* Max Frame Size. bytes */ member in struct:iscsi_stats_info
|
/drivers/infiniband/hw/nes/ |
H A D | nes_mgt.c | 75 skb = dev_alloc_skb(mgtvnic->nesvnic->max_frame_size); 80 skb->data, mgtvnic->nesvnic->max_frame_size, PCI_DMA_FROMDEVICE); 83 cb->maplen = mgtvnic->nesvnic->max_frame_size; 87 cpu_to_le32(mgtvnic->nesvnic->max_frame_size); 592 nesvnic->max_frame_size, PCI_DMA_TODEVICE); 1025 skb = dev_alloc_skb(nesvnic->max_frame_size); 1034 nesvnic->max_frame_size, PCI_DMA_FROMDEVICE); 1037 cb->maplen = nesvnic->max_frame_size; 1040 mgt_rqe->wqe_words[NES_NIC_RQ_WQE_LENGTH_1_0_IDX] = cpu_to_le32((u32)nesvnic->max_frame_size);
|
H A D | nes_hw.c | 1585 skb = dev_alloc_skb(nesvnic->max_frame_size); 1590 skb->data, nesvnic->max_frame_size, PCI_DMA_FROMDEVICE); 1593 cb->maplen = nesvnic->max_frame_size; 1597 cpu_to_le32(nesvnic->max_frame_size); 1848 skb = dev_alloc_skb(nesvnic->max_frame_size); 1859 nesvnic->max_frame_size, PCI_DMA_FROMDEVICE); 1862 cb->maplen = nesvnic->max_frame_size; 1865 nic_rqe->wqe_words[NES_NIC_RQ_WQE_LENGTH_1_0_IDX] = cpu_to_le32(nesvnic->max_frame_size); 2883 nesvnic->max_frame_size, PCI_DMA_FROMDEVICE);
|
/drivers/net/ethernet/intel/igbvf/ |
H A D | igbvf.h | 245 u32 max_frame_size; member in struct:igbvf_adapter
|
H A D | netdev.c | 1226 int max_frame_size; local 1229 max_frame_size = adapter->max_frame_size + VLAN_TAG_SIZE; 1230 e1000_rlpml_set_vf(hw, max_frame_size); 1571 adapter->max_frame_size = netdev->mtu + ETH_HLEN + ETH_FCS_LEN; 2356 /* igbvf_down has a dependency on max_frame_size */ 2357 adapter->max_frame_size = max_frame;
|
/drivers/tty/ |
H A D | synclinkmp.c | 181 u32 max_frame_size; /* as set by device config */ member in struct:_synclinkmp_info 940 if (count > info->max_frame_size) { 959 min(info->max_frame_size - info->tx_count - 1, 960 info->max_frame_size - info->tx_put)); 968 if (info->tx_put >= info->max_frame_size) 969 info->tx_put -= info->max_frame_size; 1024 if (info->tx_count < info->max_frame_size - 1) { 1026 if (info->tx_put >= info->max_frame_size) 1027 info->tx_put -= info->max_frame_size; 1140 ret = info->max_frame_size [all...] |
H A D | synclink.c | 207 u32 max_frame_size; /* as set by device config */ member in struct:mgsl_struct 2279 return info->max_frame_size; 3595 BuffersPerFrame = (unsigned short)(info->max_frame_size/DMABUFFERSIZE); 3596 if ( info->max_frame_size % DMABUFFERSIZE ) 3878 * Allocate a buffer large enough to hold max_frame_size. This buffer 3889 info->intermediate_rxbuffer = kmalloc(info->max_frame_size, GFP_KERNEL | GFP_DMA); 3893 info->flag_buf = kzalloc(info->max_frame_size, GFP_KERNEL); 3925 * Allocate intermdiate transmit buffer(s) large enough to hold max_frame_size. 3947 kmalloc(info->max_frame_size, GFP_KERNEL); 4211 info->max_frame_size [all...] |
H A D | synclink_gt.c | 297 u32 max_frame_size; /* as set by device config */ member in struct:slgt_info 839 if (!info->tx_buf || (count > info->max_frame_size)) 875 if (info->tx_count < info->max_frame_size) { 1260 info->irq_level, info->max_frame_size); 2438 info->tx_buf = kmalloc(info->max_frame_size, GFP_KERNEL); 3356 info->tmp_rbuf = kmalloc(info->max_frame_size + 5, GFP_KERNEL); 3360 info->flag_buf = kzalloc(info->max_frame_size + 5, GFP_KERNEL); 3540 info->max_frame_size = maxframe[info->line]; 3554 if (info->max_frame_size < 4096) 3555 info->max_frame_size [all...] |
/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-main.c | 417 static void shrink_height(unsigned long max_frame_size, argument 421 var->yres_virtual = max_frame_size / 431 static void shrink_width(unsigned long max_frame_size, argument 435 var->xres_virtual = max_frame_size / var->yres_virtual / 457 unsigned long max_frame_size = ofbi->region->size; local 463 if (check_vrfb_fb_size(max_frame_size, var)) 465 max_frame_size, var->xres_virtual, bytespp) * 468 if (check_vrfb_fb_size(max_frame_size, var)) { 476 DBG("max frame size %lu, line size %lu\n", max_frame_size, line_size); 478 if (line_size * var->yres_virtual > max_frame_size) [all...] |
/drivers/bluetooth/ |
H A D | btwilink.c | 166 ti_st_proto[i].max_frame_size = HCI_MAX_FRAME_SIZE;
|
/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge_mpi.c | 731 mbcp->mbox_in[2] = qdev->max_frame_size; 834 qdev->max_frame_size = mbcp->mbox_out[2]; 1133 qdev->max_frame_size == 1138 qdev->max_frame_size = CFG_DEFAULT_MAX_FRAME_SIZE;
|
/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 455 adapter->hw.max_frame_size = new_mtu; 622 hw->max_frame_size = adapter->netdev->mtu; 623 hw->rx_jumbo_th = (hw->max_frame_size + ETH_HLEN + 746 + adapter->hw.max_frame_size 956 if (hw->max_frame_size <= 1500) { 957 jumbo_thresh = hw->max_frame_size + extra_size; 958 } else if (hw->max_frame_size < 6*1024) { 960 (hw->max_frame_size + extra_size) * 2 / 3; 962 jumbo_thresh = (hw->max_frame_size + extra_size) / 2; 1138 AT_WRITE_REG(hw, REG_MTU, hw->max_frame_size [all...] |
H A D | atl1e.h | 328 u16 max_frame_size; member in struct:atl1e_hw
|
/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_main.c | 249 if ((hw->max_frame_size != max_frame) || 250 (hw->max_frame_size != 253 hw->max_frame_size = max_frame; 255 IXGB_WRITE_REG(hw, MFS, hw->max_frame_size << IXGB_MFS_SHIFT); 257 if (hw->max_frame_size > 319 IXGB_WRITE_REG(hw, MFS, hw->max_frame_size << IXGB_MFS_SHIFT); 320 if (hw->max_frame_size > 596 hw->max_frame_size = netdev->mtu + ENET_HEADER_SIZE + ENET_FCS_LENGTH; 597 adapter->rx_buffer_len = hw->max_frame_size + 8; /* + 8 for errata */
|
/drivers/char/pcmcia/ |
H A D | synclink_cs.c | 177 u32 max_frame_size; member in struct:_mgslpc_info 532 info->max_frame_size = 4096; 872 if (buf->count >= info->max_frame_size) { 1662 rc = info->tx_active ? info->max_frame_size : 0; 2656 info->rx_buf_size = sizeof(RXBUF) + info->max_frame_size; 2673 info->flag_buf = kzalloc(info->max_frame_size, GFP_KERNEL); 2726 info->max_frame_size = maxframe[info->line]; 2740 if (info->max_frame_size < 4096) 2741 info->max_frame_size = 4096; 2742 else if (info->max_frame_size > 6553 [all...] |
/drivers/media/usb/usbvision/ |
H A D | usbvision.h | 407 int max_frame_size; /* Bytes in one video frame */ member in struct:usb_usbvision
|
/drivers/net/ethernet/atheros/atlx/ |
H A D | atl2.h | 405 u16 max_frame_size; member in struct:atl2_hw
|
/drivers/video/fbdev/omap/ |
H A D | omapfb_main.c | 485 unsigned long max_frame_size; local 540 max_frame_size = fbdev->mem_desc.region[plane->idx].size; 542 if (line_size * var->yres_virtual > max_frame_size) { 544 line_size = max_frame_size / var->yres_virtual; 550 var->yres_virtual = max_frame_size / line_size;
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 1513 adapter->hw.mac.max_frame_size + PCH_GBE_DMA_ALIGN + NET_IP_ALIGN; 2040 hw->mac.max_frame_size = netdev->mtu + ETH_HLEN + ETH_FCS_LEN; 2061 "rx_buffer_len : %d mac.min_frame_size : %d mac.max_frame_size : %d\n", 2063 hw->mac.min_frame_size, hw->mac.max_frame_size); 2299 adapter->hw.mac.max_frame_size = max_frame; 2304 adapter->hw.mac.max_frame_size = max_frame; 2308 "max_frame : %d rx_buffer_len : %d mtu : %d max_frame_size : %d\n", 2310 adapter->hw.mac.max_frame_size);
|
H A D | pch_gbe.h | 361 * @max_frame_size: Max transmit frame size 372 u32 max_frame_size; member in struct:pch_gbe_mac_info
|
/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c.h | 386 u16 max_frame_size; member in struct:atl1c_hw
|
/drivers/net/ethernet/intel/e1000e/ |
H A D | e1000.h | 289 u32 max_frame_size; member in struct:e1000_adapter
|
/drivers/net/ethernet/intel/igb/ |
H A D | igb.h | 376 u32 max_frame_size; member in struct:igb_adapter
|
/drivers/nfc/ |
H A D | nfcwilink.c | 372 .max_frame_size = NFCWILINK_MAX_FRAME_SIZE,
|
/drivers/scsi/bnx2i/ |
H A D | bnx2i_init.c | 397 stats->max_frame_size = hba->netdev->mtu;
|