/Linux-v4.19/drivers/tty/ |
D | synclinkmp.c | 181 u32 max_frame_size; /* as set by device config */ member 926 if (count > info->max_frame_size) { in write() 945 min(info->max_frame_size - info->tx_count - 1, in write() 946 info->max_frame_size - info->tx_put)); in write() 954 if (info->tx_put >= info->max_frame_size) in write() 955 info->tx_put -= info->max_frame_size; in write() 1010 if (info->tx_count < info->max_frame_size - 1) { in put_char() 1012 if (info->tx_put >= info->max_frame_size) in put_char() 1013 info->tx_put -= info->max_frame_size; in put_char() 1126 ret = info->max_frame_size - info->tx_count - 1; in write_room() [all …]
|
D | synclink.c | 206 u32 max_frame_size; /* as set by device config */ member 2268 return info->max_frame_size; in mgsl_chars_in_buffer() 3556 BuffersPerFrame = (unsigned short)(info->max_frame_size/DMABUFFERSIZE); in mgsl_allocate_dma_buffers() 3557 if ( info->max_frame_size % DMABUFFERSIZE ) in mgsl_allocate_dma_buffers() 3850 info->intermediate_rxbuffer = kmalloc(info->max_frame_size, GFP_KERNEL | GFP_DMA); in mgsl_alloc_intermediate_rxbuffer_memory() 3854 info->flag_buf = kzalloc(info->max_frame_size, GFP_KERNEL); in mgsl_alloc_intermediate_rxbuffer_memory() 3908 kmalloc(info->max_frame_size, GFP_KERNEL); in mgsl_alloc_intermediate_txbuffer_memory() 4171 info->max_frame_size = maxframe[info->line]; in mgsl_add_device() 4199 if ( info->max_frame_size < 4096 ) in mgsl_add_device() 4200 info->max_frame_size = 4096; in mgsl_add_device() [all …]
|
D | synclink_gt.c | 296 u32 max_frame_size; /* as set by device config */ member 824 if (!info->tx_buf || (count > info->max_frame_size)) in write() 860 if (info->tx_count < info->max_frame_size) { in put_char() 1245 info->irq_level, info->max_frame_size); in line_info() 2413 info->tx_buf = kmalloc(info->max_frame_size, GFP_KERNEL); in startup() 3323 info->tmp_rbuf = kmalloc(info->max_frame_size + 5, GFP_KERNEL); in alloc_tmp_rbuf() 3327 info->flag_buf = kzalloc(info->max_frame_size + 5, GFP_KERNEL); in alloc_tmp_rbuf() 3507 info->max_frame_size = maxframe[info->line]; in add_device() 3521 if (info->max_frame_size < 4096) in add_device() 3522 info->max_frame_size = 4096; in add_device() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/nes/ |
D | nes_mgt.c | 75 skb = dev_alloc_skb(mgtvnic->nesvnic->max_frame_size); in nes_replenish_mgt_rq() 80 skb->data, mgtvnic->nesvnic->max_frame_size, PCI_DMA_FROMDEVICE); in nes_replenish_mgt_rq() 83 cb->maplen = mgtvnic->nesvnic->max_frame_size; in nes_replenish_mgt_rq() 87 cpu_to_le32(mgtvnic->nesvnic->max_frame_size); in nes_replenish_mgt_rq() 592 nesvnic->max_frame_size, PCI_DMA_TODEVICE); in mgt_thread() 1023 skb = dev_alloc_skb(nesvnic->max_frame_size); in nes_init_mgt_qp() 1032 nesvnic->max_frame_size, PCI_DMA_FROMDEVICE); in nes_init_mgt_qp() 1035 cb->maplen = nesvnic->max_frame_size; in nes_init_mgt_qp() 1038 mgt_rqe->wqe_words[NES_NIC_RQ_WQE_LENGTH_1_0_IDX] = cpu_to_le32((u32)nesvnic->max_frame_size); in nes_init_mgt_qp()
|
D | nes_hw.c | 1571 skb = dev_alloc_skb(nesvnic->max_frame_size); in nes_replenish_nic_rq() 1576 skb->data, nesvnic->max_frame_size, PCI_DMA_FROMDEVICE); in nes_replenish_nic_rq() 1579 cb->maplen = nesvnic->max_frame_size; in nes_replenish_nic_rq() 1583 cpu_to_le32(nesvnic->max_frame_size); in nes_replenish_nic_rq() 1815 skb = dev_alloc_skb(nesvnic->max_frame_size); in nes_init_nic_qp() 1826 nesvnic->max_frame_size, PCI_DMA_FROMDEVICE); in nes_init_nic_qp() 1829 cb->maplen = nesvnic->max_frame_size; in nes_init_nic_qp() 1832 nic_rqe->wqe_words[NES_NIC_RQ_WQE_LENGTH_1_0_IDX] = cpu_to_le32(nesvnic->max_frame_size); in nes_init_nic_qp() 2838 nesvnic->max_frame_size, PCI_DMA_FROMDEVICE); in nes_nic_ce_handler()
|
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-main.c | 417 static void shrink_height(unsigned long max_frame_size, in shrink_height() argument 421 var->yres_virtual = max_frame_size / in shrink_height() 431 static void shrink_width(unsigned long max_frame_size, in shrink_width() argument 435 var->xres_virtual = max_frame_size / var->yres_virtual / in shrink_width() 457 unsigned long max_frame_size = ofbi->region->size; in check_fb_size() local 463 if (check_vrfb_fb_size(max_frame_size, var)) in check_fb_size() 465 max_frame_size, var->xres_virtual, bytespp) * in check_fb_size() 468 if (check_vrfb_fb_size(max_frame_size, var)) { in check_fb_size() 476 DBG("max frame size %lu, line size %lu\n", max_frame_size, line_size); in check_fb_size() 478 if (line_size * var->yres_virtual > max_frame_size) in check_fb_size() [all …]
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_mfw_req.h | 145 u32 max_frame_size; /* Max Frame Size. bytes */ member
|
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 450 adapter->hw.max_frame_size = new_mtu; in atl1e_change_mtu() 617 hw->max_frame_size = adapter->netdev->mtu; in atl1e_sw_init() 618 hw->rx_jumbo_th = (hw->max_frame_size + ETH_HLEN + in atl1e_sw_init() 740 + adapter->hw.max_frame_size in atl1e_init_ring_resources() 950 if (hw->max_frame_size <= 1500) { in atl1e_configure_tx() 951 jumbo_thresh = hw->max_frame_size + extra_size; in atl1e_configure_tx() 952 } else if (hw->max_frame_size < 6*1024) { in atl1e_configure_tx() 954 (hw->max_frame_size + extra_size) * 2 / 3; in atl1e_configure_tx() 956 jumbo_thresh = (hw->max_frame_size + extra_size) / 2; in atl1e_configure_tx() 1132 AT_WRITE_REG(hw, REG_MTU, hw->max_frame_size + ETH_HLEN + in atl1e_configure()
|
D | atl1e.h | 328 u16 max_frame_size; member
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 218 if ((hw->max_frame_size != max_frame) || in ixgb_up() 219 (hw->max_frame_size != in ixgb_up() 222 hw->max_frame_size = max_frame; in ixgb_up() 224 IXGB_WRITE_REG(hw, MFS, hw->max_frame_size << IXGB_MFS_SHIFT); in ixgb_up() 226 if (hw->max_frame_size > in ixgb_up() 289 IXGB_WRITE_REG(hw, MFS, hw->max_frame_size << IXGB_MFS_SHIFT); in ixgb_reset() 290 if (hw->max_frame_size > in ixgb_reset() 564 hw->max_frame_size = netdev->mtu + ENET_HEADER_SIZE + ENET_FCS_LENGTH; in ixgb_sw_init() 565 adapter->rx_buffer_len = hw->max_frame_size + 8; /* + 8 for errata */ in ixgb_sw_init()
|
/Linux-v4.19/include/linux/ |
D | ti_wilink_st.h | 79 unsigned short max_frame_size; member
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_mpi.c | 731 mbcp->mbox_in[2] = qdev->max_frame_size; in ql_mb_set_port_cfg() 834 qdev->max_frame_size = mbcp->mbox_out[2]; in ql_mb_get_port_cfg() 1133 qdev->max_frame_size == in ql_mpi_port_cfg_work() 1138 qdev->max_frame_size = CFG_DEFAULT_MAX_FRAME_SIZE; in ql_mpi_port_cfg_work()
|
/Linux-v4.19/drivers/net/ethernet/intel/igbvf/ |
D | igbvf.h | 217 u32 max_frame_size; member
|
D | netdev.c | 1211 int max_frame_size; in igbvf_set_rlpml() local 1214 max_frame_size = adapter->max_frame_size + VLAN_TAG_SIZE; in igbvf_set_rlpml() 1218 e1000_rlpml_set_vf(hw, max_frame_size); in igbvf_set_rlpml() 1624 adapter->max_frame_size = netdev->mtu + ETH_HLEN + ETH_FCS_LEN; in igbvf_sw_init() 2412 adapter->max_frame_size = max_frame; in igbvf_change_mtu()
|
/Linux-v4.19/drivers/char/pcmcia/ |
D | synclink_cs.c | 177 u32 max_frame_size; member 532 info->max_frame_size = 4096; in mgslpc_probe() 872 if (buf->count >= info->max_frame_size) { in rx_ready_hdlc() 1655 rc = info->tx_active ? info->max_frame_size : 0; in mgslpc_chars_in_buffer() 2622 info->rx_buf_size = sizeof(RXBUF) + info->max_frame_size; in rx_alloc_buffers() 2639 info->flag_buf = kzalloc(info->max_frame_size, GFP_KERNEL); in rx_alloc_buffers() 2692 info->max_frame_size = maxframe[info->line]; in mgslpc_add_device() 2706 if (info->max_frame_size < 4096) in mgslpc_add_device() 2707 info->max_frame_size = 4096; in mgslpc_add_device() 2708 else if (info->max_frame_size > 65535) in mgslpc_add_device() [all …]
|
/Linux-v4.19/drivers/bluetooth/ |
D | btwilink.c | 162 ti_st_proto[i].max_frame_size = HCI_MAX_FRAME_SIZE; in ti_st_open()
|
/Linux-v4.19/drivers/video/fbdev/omap/ |
D | omapfb_main.c | 482 unsigned long max_frame_size; in set_fb_var() local 537 max_frame_size = fbdev->mem_desc.region[plane->idx].size; in set_fb_var() 539 if (line_size * var->yres_virtual > max_frame_size) { in set_fb_var() 541 line_size = max_frame_size / var->yres_virtual; in set_fb_var() 547 var->yres_virtual = max_frame_size / line_size; in set_fb_var()
|
/Linux-v4.19/drivers/net/ethernet/intel/ice/ |
D | ice_type.h | 84 u16 max_frame_size; member
|
/Linux-v4.19/drivers/media/usb/usbvision/ |
D | usbvision.h | 403 int max_frame_size; /* Bytes in one video frame */ member
|
D | usbvision-video.c | 701 vb->m.offset = vb->index * PAGE_ALIGN(usbvision->max_frame_size); in vidioc_querybuf() 1036 size != PAGE_ALIGN(usbvision->max_frame_size)) { in usbvision_mmap() 1041 if (((PAGE_ALIGN(usbvision->max_frame_size)*i) >> PAGE_SHIFT) == in usbvision_mmap()
|
/Linux-v4.19/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 1472 adapter->hw.mac.max_frame_size + PCH_GBE_DMA_ALIGN + NET_IP_ALIGN; in pch_gbe_alloc_tx_buffers() 1991 hw->mac.max_frame_size = netdev->mtu + ETH_HLEN + ETH_FCS_LEN; in pch_gbe_sw_init() 2010 hw->mac.min_frame_size, hw->mac.max_frame_size); in pch_gbe_sw_init() 2224 adapter->hw.mac.max_frame_size = max_frame; in pch_gbe_change_mtu() 2229 adapter->hw.mac.max_frame_size = max_frame; in pch_gbe_change_mtu() 2235 adapter->hw.mac.max_frame_size); in pch_gbe_change_mtu()
|
D | pch_gbe.h | 346 u32 max_frame_size; member
|
/Linux-v4.19/drivers/net/ethernet/atheros/atlx/ |
D | atl2.h | 402 u16 max_frame_size; member
|
/Linux-v4.19/drivers/scsi/bnx2i/ |
D | bnx2i_init.c | 389 stats->max_frame_size = hba->netdev->mtu; in bnx2i_get_stats()
|
/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c.h | 386 u16 max_frame_size; member
|