| /linux/drivers/video/fbdev/omap2/omapfb/ |
| H A D | omapfb-main.c | 406 static void shrink_height(unsigned long max_frame_size, in shrink_height() argument 410 var->yres_virtual = max_frame_size / in shrink_height() 420 static void shrink_width(unsigned long max_frame_size, in shrink_width() argument 424 var->xres_virtual = max_frame_size / var->yres_virtual / in shrink_width() 446 unsigned long max_frame_size = ofbi->region->size; in check_fb_size() local 452 if (check_vrfb_fb_size(max_frame_size, var)) in check_fb_size() 454 max_frame_size, var->xres_virtual, bytespp) * in check_fb_size() 457 if (check_vrfb_fb_size(max_frame_size, var)) { in check_fb_size() 465 DBG("max frame size %lu, line size %lu\n", max_frame_size, line_size); in check_fb_size() 467 if (line_size * var->yres_virtual > max_frame_size) in check_fb_size() [all …]
|
| /linux/drivers/net/ethernet/atheros/atl1e/ |
| H A D | atl1e_main.c | 432 adapter->hw.max_frame_size = new_mtu; in atl1e_change_mtu() 601 hw->max_frame_size = adapter->netdev->mtu; in atl1e_sw_init() 602 hw->rx_jumbo_th = (hw->max_frame_size + ETH_HLEN + in atl1e_sw_init() 726 + adapter->hw.max_frame_size in atl1e_init_ring_resources() 940 if (hw->max_frame_size <= 1500) { in atl1e_configure_tx() 941 jumbo_thresh = hw->max_frame_size + extra_size; in atl1e_configure_tx() 942 } else if (hw->max_frame_size < 6*1024) { in atl1e_configure_tx() 944 (hw->max_frame_size + extra_size) * 2 / 3; in atl1e_configure_tx() 946 jumbo_thresh = (hw->max_frame_size + extra_size) / 2; in atl1e_configure_tx() 1122 AT_WRITE_REG(hw, REG_MTU, hw->max_frame_size + ETH_HLEN + in atl1e_configure()
|
| H A D | atl1e.h | 315 u16 max_frame_size; member
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_mfw_req.h | 145 u32 max_frame_size; /* Max Frame Size. bytes */ member
|
| /linux/drivers/net/ethernet/hisilicon/hibmcge/ |
| H A D | hbg_hw.c | 172 u16 max_frame_size) in hbg_hw_set_mac_max_frame_len() argument 175 HBG_REG_MAX_FRAME_LEN_M, max_frame_size); in hbg_hw_set_mac_max_frame_len()
|
| /linux/drivers/net/ethernet/intel/igbvf/ |
| H A D | igbvf.h | 200 u32 max_frame_size; member
|
| /linux/include/linux/ |
| H A D | ti_wilink_st.h | 66 unsigned short max_frame_size; member
|
| /linux/sound/soc/qcom/qdsp6/ |
| H A D | q6asm.h | 41 u32 max_frame_size; member
|
| H A D | q6asm.c | 111 u32 max_frame_size; member 1147 fmt->max_frame_size = cfg->max_frame_size; in q6asm_stream_media_format_block_flac()
|
| H A D | audioreach.c | 883 flac_cfg->max_frame_size = mcfg->codec.options.flac_d.max_frame_size; in audioreach_set_compr_media_format()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_type_e610.h | 476 __le16 max_frame_size; member 800 u16 max_frame_size; member
|
| /linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
| H A D | pch_gbe.h | 335 u32 max_frame_size; member
|
| /linux/drivers/net/ethernet/atheros/atlx/ |
| H A D | atl2.h | 389 u16 max_frame_size; member
|
| H A D | atl1.h | 729 u32 max_frame_size; member
|
| H A D | atl1.c | 933 hw->max_frame_size = netdev->mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; in atl1_sw_init() 938 adapter->rx_buffer_len = (hw->max_frame_size + 7) & ~7; in atl1_sw_init() 961 hw->tx_jumbo_task_th = (hw->max_frame_size + 7) >> 3; in atl1_sw_init() 1534 iowrite32(hw->max_frame_size, hw->hw_addr + REG_MTU); in atl1_configure() 2720 adapter->hw.max_frame_size = max_frame; in atl1_change_mtu()
|
| /linux/drivers/scsi/bnx2i/ |
| H A D | bnx2i_init.c | 389 stats->max_frame_size = hba->netdev->mtu; in bnx2i_get_stats()
|
| /linux/drivers/net/ethernet/atheros/atl1c/ |
| H A D | atl1c.h | 372 u16 max_frame_size; member
|
| /linux/drivers/net/ethernet/intel/e1000/ |
| H A D | e1000_main.c | 585 if (hw->max_frame_size > E1000_RXBUFFER_8192) in e1000_reset() 595 } else if (hw->max_frame_size > ETH_FRAME_LEN + ETH_FCS_LEN) { in e1000_reset() 614 min_tx_space = (hw->max_frame_size + in e1000_reset() 620 min_rx_space = hw->max_frame_size; in e1000_reset() 661 ((pba << 10) - hw->max_frame_size)); in e1000_reset() 865 hw->max_frame_size = adapter->netdev->mtu + in e1000_init_hw_struct() 3545 hw->max_frame_size = max_frame; in e1000_change_mtu() 4061 if (frame_len == hw->max_frame_size) { in e1000_tbi_adjust_stats()
|
| H A D | e1000_hw.h | 1351 u32 max_frame_size; member 2458 ((length) <= ((adapter)->max_frame_size + 1))) : \ 2460 ((length) <= ((adapter)->max_frame_size + VLAN_TAG_SIZE + 1)))))
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_common.c | 1203 int i40e_aq_set_mac_config(struct i40e_hw *hw, u16 max_frame_size, in i40e_aq_set_mac_config() argument 1211 if (max_frame_size == 0) in i40e_aq_set_mac_config() 1216 cmd->max_frame_size = cpu_to_le16(max_frame_size); in i40e_aq_set_mac_config() 1331 hw_link_info->max_frame_size = le16_to_cpu(resp->max_frame_size); in i40e_aq_get_link_info()
|
| H A D | i40e_adminq_cmd.h | 1562 __le16 max_frame_size; member 1604 __le16 max_frame_size; member
|
| H A D | i40e_prototype.h | 101 int i40e_aq_set_mac_config(struct i40e_hw *hw, u16 max_frame_size,
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_common.c | 730 li->max_frame_size = le16_to_cpu(link_data.max_frame_size); in ice_aq_get_link_info() 764 li->max_frame_size); in ice_aq_get_link_info() 835 ice_aq_set_mac_cfg(struct ice_hw *hw, u16 max_frame_size, struct ice_sq_cd *cd) in ice_aq_set_mac_cfg() argument 842 if (max_frame_size == 0) in ice_aq_set_mac_cfg() 847 cmd->max_frame_size = cpu_to_le16(max_frame_size); in ice_aq_set_mac_cfg()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc.h | 254 u32 max_frame_size; member
|
| /linux/drivers/net/ethernet/qlogic/ |
| H A D | qla3xxx.h | 1183 u32 max_frame_size; member
|