Home
last modified time | relevance | path

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

/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()
/drivers/gpu/drm/msm/dp/
Ddp_link.c1145 int v_max = 0, p_max = 0; in dp_link_adjust_levels() local
1165 if (p_max < data_p) in dp_link_adjust_levels()
1166 p_max = data_p; in dp_link_adjust_levels()
1170 dp_link->phy_params.p_level = p_max >> DP_TRAIN_PRE_EMPHASIS_SHIFT; in dp_link_adjust_levels()
/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()
/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()
/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()
/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()
/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h387 u32 *p_cur, u32 *p_max);
391 u32 *p_cur, u32 *p_max);
Dspectrum_buffers.c1763 u32 *p_cur, u32 *p_max) in mlxsw_sp_sb_occ_port_pool_get() argument
1773 *p_max = mlxsw_sp_cells_bytes(mlxsw_sp, pm->occ.max); in mlxsw_sp_sb_occ_port_pool_get()
1780 u32 *p_cur, u32 *p_max) in mlxsw_sp_sb_occ_tc_port_bind_get() argument
1792 *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()
/drivers/net/dsa/ocelot/
Dfelix.c1981 u32 *p_cur, u32 *p_max) in felix_sb_occ_port_pool_get() argument
1986 p_cur, p_max); in felix_sb_occ_port_pool_get()
1992 u32 *p_cur, u32 *p_max) in felix_sb_occ_tc_port_bind_get() argument
1997 pool_type, p_cur, p_max); in felix_sb_occ_tc_port_bind_get()