| /Linux-v6.1/arch/x86/kernel/ |
| D | signal.c | 724 static unsigned long __ro_after_init max_frame_size; variable 731 max_frame_size = MAX_FRAME_SIGINFO_UCTXT_SIZE + MAX_FRAME_PADDING; in init_sigframe_size() 733 max_frame_size += fpu_default_state_size + MAX_XSAVE_PADDING; in init_sigframe_size() 736 max_frame_size = round_up(max_frame_size, FRAME_ALIGNMENT); in init_sigframe_size() 738 pr_info("max sigframe size: %lu\n", max_frame_size); in init_sigframe_size() 743 return max_frame_size; in get_sigframe_size() 950 unsigned long fsize = max_frame_size - fpu_default_state_size; in sigaltstack_size_valid()
|
| /Linux-v6.1/drivers/video/fbdev/omap2/omapfb/ |
| 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-v6.1/drivers/net/ethernet/broadcom/bnx2x/ |
| D | bnx2x_mfw_req.h | 145 u32 max_frame_size; /* Max Frame Size. bytes */ member
|
| /Linux-v6.1/drivers/net/ethernet/atheros/atl1e/ |
| 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() 937 if (hw->max_frame_size <= 1500) { in atl1e_configure_tx() 938 jumbo_thresh = hw->max_frame_size + extra_size; in atl1e_configure_tx() 939 } else if (hw->max_frame_size < 6*1024) { in atl1e_configure_tx() 941 (hw->max_frame_size + extra_size) * 2 / 3; in atl1e_configure_tx() 943 jumbo_thresh = (hw->max_frame_size + extra_size) / 2; in atl1e_configure_tx() 1119 AT_WRITE_REG(hw, REG_MTU, hw->max_frame_size + ETH_HLEN + in atl1e_configure()
|
| D | atl1e.h | 315 u16 max_frame_size; member
|
| /Linux-v6.1/drivers/net/ethernet/intel/ixgb/ |
| D | ixgb_main.c | 214 if ((hw->max_frame_size != max_frame) || in ixgb_up() 215 (hw->max_frame_size != in ixgb_up() 218 hw->max_frame_size = max_frame; in ixgb_up() 220 IXGB_WRITE_REG(hw, MFS, hw->max_frame_size << IXGB_MFS_SHIFT); in ixgb_up() 222 if (hw->max_frame_size > in ixgb_up() 285 IXGB_WRITE_REG(hw, MFS, hw->max_frame_size << IXGB_MFS_SHIFT); in ixgb_reset() 286 if (hw->max_frame_size > in ixgb_reset() 553 hw->max_frame_size = netdev->mtu + ENET_HEADER_SIZE + ENET_FCS_LENGTH; in ixgb_sw_init() 554 adapter->rx_buffer_len = hw->max_frame_size + 8; /* + 8 for errata */ in ixgb_sw_init()
|
| D | ixgb_hw.h | 647 u32 max_frame_size; /* Maximum frame size supported */ member
|
| /Linux-v6.1/include/linux/ |
| D | ti_wilink_st.h | 66 unsigned short max_frame_size; member
|
| /Linux-v6.1/drivers/staging/qlge/ |
| D | qlge_mpi.c | 728 mbcp->mbox_in[2] = qdev->max_frame_size; in qlge_mb_set_port_cfg() 830 qdev->max_frame_size = mbcp->mbox_out[2]; in qlge_mb_get_port_cfg() 1129 qdev->max_frame_size == CFG_DEFAULT_MAX_FRAME_SIZE) in qlge_mpi_port_cfg_work() 1133 qdev->max_frame_size = CFG_DEFAULT_MAX_FRAME_SIZE; in qlge_mpi_port_cfg_work()
|
| /Linux-v6.1/drivers/char/pcmcia/ |
| D | synclink_cs.c | 177 u32 max_frame_size; member 532 info->max_frame_size = 4096; in mgslpc_probe() 870 if (buf->count >= info->max_frame_size) { in rx_ready_hdlc() 1649 rc = info->tx_active ? info->max_frame_size : 0; in mgslpc_chars_in_buffer() 2614 info->rx_buf_size = sizeof(RXBUF) + info->max_frame_size; in rx_alloc_buffers() 2631 info->flag_buf = kzalloc(info->max_frame_size, GFP_KERNEL); in rx_alloc_buffers() 2684 info->max_frame_size = maxframe[info->line]; in mgslpc_add_device() 2698 if (info->max_frame_size < 4096) in mgslpc_add_device() 2699 info->max_frame_size = 4096; in mgslpc_add_device() 2700 else if (info->max_frame_size > 65535) in mgslpc_add_device() [all …]
|
| /Linux-v6.1/sound/soc/qcom/qdsp6/ |
| D | q6asm.h | 42 u32 max_frame_size; member
|
| /Linux-v6.1/drivers/net/ethernet/intel/igbvf/ |
| D | igbvf.h | 217 u32 max_frame_size; member
|
| D | netdev.c | 1218 int max_frame_size; in igbvf_set_rlpml() local 1221 max_frame_size = adapter->max_frame_size + VLAN_TAG_SIZE; in igbvf_set_rlpml() 1225 e1000_rlpml_set_vf(hw, max_frame_size); in igbvf_set_rlpml() 1630 adapter->max_frame_size = netdev->mtu + ETH_HLEN + ETH_FCS_LEN; in igbvf_sw_init() 2403 adapter->max_frame_size = max_frame; in igbvf_change_mtu()
|
| /Linux-v6.1/drivers/tty/ |
| D | synclink_gt.c | 267 u32 max_frame_size; /* as set by device config */ member 762 if (!info->tx_buf || (count > info->max_frame_size)) in write() 798 if (info->tx_count < info->max_frame_size) { in put_char() 1174 info->irq_level, info->max_frame_size); in line_info() 2339 info->tx_buf = kmalloc(info->max_frame_size, GFP_KERNEL); in startup() 3242 info->tmp_rbuf = kmalloc(info->max_frame_size + 5, GFP_KERNEL); in alloc_tmp_rbuf() 3246 info->flag_buf = kzalloc(info->max_frame_size + 5, GFP_KERNEL); in alloc_tmp_rbuf() 3430 info->max_frame_size = maxframe[info->line]; in add_device() 3444 if (info->max_frame_size < 4096) in add_device() 3445 info->max_frame_size = 4096; in add_device() [all …]
|
| /Linux-v6.1/include/uapi/sound/ |
| D | compress_params.h | 296 __u16 max_frame_size; member
|
| /Linux-v6.1/drivers/video/fbdev/omap/ |
| 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-v6.1/drivers/net/ethernet/intel/ice/ |
| 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() 1660 u16 max_frame_size = ice_vc_get_max_frame_size(vf); in ice_vc_cfg_qs_msg() local 1671 if (qpi->rxq.max_pkt_size > max_frame_size || in ice_vc_cfg_qs_msg()
|
| D | ice_common.h | 140 ice_aq_set_mac_cfg(struct ice_hw *hw, u16 max_frame_size, struct ice_sq_cd *cd);
|
| D | ice_common.c | 602 li->max_frame_size = le16_to_cpu(link_data.max_frame_size); in ice_aq_get_link_info() 636 li->max_frame_size); in ice_aq_get_link_info() 695 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 702 if (max_frame_size == 0) in ice_aq_set_mac_cfg() 707 cmd->max_frame_size = cpu_to_le16(max_frame_size); in ice_aq_set_mac_cfg()
|
| /Linux-v6.1/drivers/net/ethernet/oki-semi/pch_gbe/ |
| 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()
|
| D | pch_gbe.h | 335 u32 max_frame_size; member
|
| /Linux-v6.1/drivers/net/ethernet/atheros/atlx/ |
| D | atl2.h | 389 u16 max_frame_size; member
|
| D | atl1.h | 729 u32 max_frame_size; member
|
| /Linux-v6.1/drivers/scsi/bnx2i/ |
| D | bnx2i_init.c | 389 stats->max_frame_size = hba->netdev->mtu; in bnx2i_get_stats()
|
| /Linux-v6.1/drivers/net/ethernet/atheros/atl1c/ |
| D | atl1c.h | 372 u16 max_frame_size; member
|