/linux/arch/x86/kernel/ |
H A D | signal.c | 211 static unsigned long __ro_after_init max_frame_size; variable 218 max_frame_size = MAX_FRAME_SIGINFO_UCTXT_SIZE + MAX_FRAME_PADDING; in init_sigframe_size() 220 max_frame_size += fpu_default_state_size + MAX_XSAVE_PADDING; in init_sigframe_size() 223 max_frame_size = round_up(max_frame_size, FRAME_ALIGNMENT); in init_sigframe_size() 225 pr_info("max sigframe size: %lu\n", max_frame_size); in init_sigframe_size() 232 return max_frame_size; in get_sigframe_size() 418 unsigned long fsize = max_frame_size - fpu_default_state_size; in sigaltstack_size_valid()
|
/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/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 | 110 u32 max_frame_size; member 1168 fmt->max_frame_size = cfg->max_frame_size; in q6asm_stream_media_format_block_flac()
|
H A D | q6asm-dai.c | 720 flac_cfg.max_frame_size = flac->max_frame_size; in __q6asm_dai_compr_set_codec_params()
|
/linux/drivers/net/ethernet/intel/igbvf/ |
H A D | igbvf.h | 215 u32 max_frame_size; member
|
/linux/drivers/tty/ |
H A D | synclink_gt.c | 267 u32 max_frame_size; /* as set by device config */ member 760 if (!info->tx_buf || (count > info->max_frame_size)) in write() 796 if (info->tx_count < info->max_frame_size) { in put_char() 1173 info->irq_level, info->max_frame_size); in line_info() 2339 info->tx_buf = kmalloc(info->max_frame_size, GFP_KERNEL); in startup() 3243 info->tmp_rbuf = kmalloc(info->max_frame_size + 5, GFP_KERNEL); in alloc_tmp_rbuf() 3423 info->max_frame_size = maxframe[info->line]; in add_device() 3437 if (info->max_frame_size < 4096) in add_device() 3438 info->max_frame_size = 4096; in add_device() 3439 else if (info->max_frame_size > 65535) in add_device() [all …]
|
/linux/drivers/video/fbdev/omap/ |
H A D | omapfb_main.c | 466 unsigned long max_frame_size; in set_fb_var() local 521 max_frame_size = fbdev->mem_desc.region[plane->idx].size; in set_fb_var() 523 if (line_size * var->yres_virtual > max_frame_size) { in set_fb_var() 525 line_size = max_frame_size / var->yres_virtual; in set_fb_var() 531 var->yres_virtual = max_frame_size / line_size; in set_fb_var()
|
/linux/include/uapi/sound/ |
H A D | compress_params.h | 296 __u16 max_frame_size; member
|
/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 1429 adapter->hw.mac.max_frame_size + PCH_GBE_DMA_ALIGN + NET_IP_ALIGN; in pch_gbe_alloc_tx_buffers() 1950 hw->mac.max_frame_size = netdev->mtu + ETH_HLEN + ETH_FCS_LEN; in pch_gbe_sw_init() 1969 hw->mac.min_frame_size, hw->mac.max_frame_size); in pch_gbe_sw_init() 2183 adapter->hw.mac.max_frame_size = max_frame; in pch_gbe_change_mtu() 2188 adapter->hw.mac.max_frame_size = max_frame; in pch_gbe_change_mtu() 2194 adapter->hw.mac.max_frame_size); in pch_gbe_change_mtu()
|
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() 2685 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/intel/ice/ |
H A D | ice_virtchnl.c | 352 u16 max_frame_size; in ice_vc_get_max_frame_size() local 354 max_frame_size = pi->phy.link_info.max_frame_size; in ice_vc_get_max_frame_size() 357 max_frame_size -= VLAN_HLEN; in ice_vc_get_max_frame_size() 359 return max_frame_size; in ice_vc_get_max_frame_size() 2058 u16 max_frame_size = ice_vc_get_max_frame_size(vf); in ice_vc_cfg_qs_msg() local 2075 if (qpi->rxq.max_pkt_size > max_frame_size || in ice_vc_cfg_qs_msg()
|
H A D | ice_common.h | 174 ice_aq_set_mac_cfg(struct ice_hw *hw, u16 max_frame_size, struct ice_sq_cd *cd);
|
H A D | ice_common.c | 834 li->max_frame_size = le16_to_cpu(link_data.max_frame_size); in ice_aq_get_link_info() 868 li->max_frame_size); in ice_aq_get_link_info() 939 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 946 if (max_frame_size == 0) in ice_aq_set_mac_cfg() 951 cmd->max_frame_size = cpu_to_le16(max_frame_size); in ice_aq_set_mac_cfg()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c.h | 372 u16 max_frame_size; member
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | e1000.h | 276 u32 max_frame_size; member
|
/linux/drivers/net/ethernet/intel/e1000/ |
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)))))
|