Home
last modified time | relevance | path

Searched refs:p_max (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_devlink.c820 u32 *p_cur, u32 *p_max) in ocelot_sb_occ_port_pool_get() argument
841 ocelot_wm_status(ocelot, wm_index, p_cur, p_max); in ocelot_sb_occ_port_pool_get()
843 *p_max *= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_occ_port_pool_get()
853 u32 *p_cur, u32 *p_max) in ocelot_sb_occ_tc_port_bind_get() argument
874 ocelot_wm_status(ocelot, wm_index, p_cur, p_max); in ocelot_sb_occ_tc_port_bind_get()
876 *p_max *= ocelot_sb_pool[sb_index].cell_size; in ocelot_sb_occ_tc_port_bind_get()
Docelot_net.c135 u32 *p_max) in ocelot_devlink_sb_occ_port_pool_get() argument
141 p_cur, p_max); in ocelot_devlink_sb_occ_port_pool_get()
148 u32 *p_cur, u32 *p_max) in ocelot_devlink_sb_occ_tc_port_bind_get() argument
155 p_cur, p_max); in ocelot_devlink_sb_occ_tc_port_bind_get()
/linux-6.6.21/net/dsa/
Ddevlink.c140 u32 *p_max) in dsa_devlink_sb_occ_port_pool_get() argument
149 pool_index, p_cur, p_max); in dsa_devlink_sb_occ_port_pool_get()
156 u32 *p_cur, u32 *p_max) in dsa_devlink_sb_occ_tc_port_bind_get() argument
167 p_max); in dsa_devlink_sb_occ_tc_port_bind_get()
/linux-6.6.21/drivers/gpu/drm/msm/dp/
Ddp_link.c1144 int v_max = 0, p_max = 0; in dp_link_adjust_levels() local
1164 if (p_max < data_p) in dp_link_adjust_levels()
1165 p_max = data_p; in dp_link_adjust_levels()
1169 dp_link->phy_params.p_level = p_max >> DP_TRAIN_PRE_EMPHASIS_SHIFT; in dp_link_adjust_levels()
/linux-6.6.21/drivers/gpu/drm/bridge/
Dchipone-icn6211.c257 unsigned int p_min, p_max; in chipone_configure_pll() local
286 p_max = clamp(fin / 5000000, 1U, 31U); in chipone_configure_pll()
288 for (p = p_min; p < p_max; p++) { /* PLL_REF_DIV[4,3:0] */ in chipone_configure_pll()
Dsamsung-dsim.c559 u8 p_min, p_max; in samsung_dsim_pll_find_pms() local
565 p_max = fin / (6 * MHZ); in samsung_dsim_pll_find_pms()
567 for (_p = p_min; _p <= p_max; ++_p) { in samsung_dsim_pll_find_pms()
/linux-6.6.21/drivers/pci/hotplug/
Dcpqphp_core.c198 void __iomem *p_max; in get_subsequent_smbios_entry() local
204 p_max = smbios_start + readw(smbios_table + ST_LENGTH); in get_subsequent_smbios_entry()
209 while ((p_temp < p_max) && !bail) { in get_subsequent_smbios_entry()
221 if (p_temp < p_max) in get_subsequent_smbios_entry()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dvlv_dsi_pll.c64 unsigned int m_min, m_max, p_min = 2, p_max = 6; in dsi_calc_mnp() local
92 for (p = p_min; p <= p_max && delta; p++) { in dsi_calc_mnp()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h387 u32 *p_cur, u32 *p_max);
391 u32 *p_cur, u32 *p_max);
Dspectrum_buffers.c1755 u32 *p_cur, u32 *p_max) in mlxsw_sp_sb_occ_port_pool_get() argument
1765 *p_max = mlxsw_sp_cells_bytes(mlxsw_sp, pm->occ.max); in mlxsw_sp_sb_occ_port_pool_get()
1772 u32 *p_cur, u32 *p_max) in mlxsw_sp_sb_occ_tc_port_bind_get() argument
1784 *p_max = mlxsw_sp_cells_bytes(mlxsw_sp, cm->occ.max); in mlxsw_sp_sb_occ_tc_port_bind_get()
Dspectrum.h612 u32 *p_cur, u32 *p_max);
616 u32 *p_cur, u32 *p_max);
Dcore.c1494 u32 *p_cur, u32 *p_max) in mlxsw_devlink_sb_occ_port_pool_get() argument
1504 pool_index, p_cur, p_max); in mlxsw_devlink_sb_occ_port_pool_get()
1511 u32 *p_cur, u32 *p_max) in mlxsw_devlink_sb_occ_tc_port_bind_get() argument
1522 pool_type, p_cur, p_max); in mlxsw_devlink_sb_occ_tc_port_bind_get()
/linux-6.6.21/drivers/video/fbdev/intelfb/
Dintelfbhw.c942 u32 p_min, p_max, p_inc, div_max; in calc_pll_params() local
951 p_max = ROUND_DOWN_TO(div_max, p_inc); in calc_pll_params()
954 if (p_max > pll->max_p) in calc_pll_params()
955 p_max = pll->max_p; in calc_pll_params()
957 DBG_MSG("p range is %d-%d (%d)\n", p_min, p_max, p_inc); in calc_pll_params()
997 } while ((p <= p_max)); in calc_pll_params()
/linux-6.6.21/drivers/net/dsa/ocelot/
Dfelix.c1970 u32 *p_cur, u32 *p_max) in felix_sb_occ_port_pool_get() argument
1975 p_cur, p_max); in felix_sb_occ_port_pool_get()
1981 u32 *p_cur, u32 *p_max) in felix_sb_occ_tc_port_bind_get() argument
1986 pool_type, p_cur, p_max); in felix_sb_occ_tc_port_bind_get()
/linux-6.6.21/include/net/
Ddsa.h1170 u32 *p_cur, u32 *p_max);
1174 u32 *p_cur, u32 *p_max);
Ddevlink.h1311 u32 *p_cur, u32 *p_max);
1316 u32 *p_cur, u32 *p_max);
/linux-6.6.21/include/soc/mscc/
Docelot.h1120 u32 *p_cur, u32 *p_max);
1124 u32 *p_cur, u32 *p_max);
/linux-6.6.21/lib/
Dmaple_tree.c6693 unsigned long p_min, p_max; in mas_dfs_postorder() local
6707 p_max = mas->max; in mas_dfs_postorder()
6712 mas->max = p_max; in mas_dfs_postorder()