Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mscc/
H A 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()
H A 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.15/net/dsa/
H A 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.15/include/media/
H A Dv4l2-ctrls.h322 union v4l2_ctrl_ptr p_max; member
474 union v4l2_ctrl_ptr p_max; member
762 const union v4l2_ctrl_ptr p_max);
/linux-6.15/drivers/media/v4l2-core/
H A Dv4l2-ctrls-core.c201 if (ctrl->p_max.p_const) in std_max_compound()
202 memcpy(p, ctrl->p_max.p_const, ctrl->elem_size); in std_max_compound()
1842 const union v4l2_ctrl_ptr p_max, in v4l2_ctrl_new() argument
2024 if (type >= V4L2_CTRL_COMPOUND_TYPES && p_max.p_const) in v4l2_ctrl_new()
2100 if (p_max.p_const) { in v4l2_ctrl_new()
2102 ctrl->p_max.p = ptr; in v4l2_ctrl_new()
2103 memcpy(ctrl->p_max.p, p_max.p_const, elem_size); in v4l2_ctrl_new()
2158 cfg->p_max, priv); in v4l2_ctrl_new_custom()
2261 const union v4l2_ctrl_ptr p_max) in v4l2_ctrl_new_std_compound() argument
2275 flags, NULL, NULL, p_def, p_min, p_max, NULL); in v4l2_ctrl_new_std_compound()
/linux-6.15/drivers/gpu/drm/msm/dp/
H A Ddp_link.c1110 int v_max = 0, p_max = 0; in msm_dp_link_adjust_levels() local
1130 if (p_max < data_p) in msm_dp_link_adjust_levels()
1131 p_max = data_p; in msm_dp_link_adjust_levels()
1135 msm_dp_link->phy_params.p_level = p_max >> DP_TRAIN_PRE_EMPHASIS_SHIFT; in msm_dp_link_adjust_levels()
/linux-6.15/drivers/gpu/drm/bridge/
H A 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()
H A Dsamsung-dsim.c572 u8 p_min, p_max; in samsung_dsim_pll_find_pms() local
578 p_max = fin / (driver_data->pll_fin_min * MHZ); in samsung_dsim_pll_find_pms()
580 for (_p = p_min; _p <= p_max; ++_p) { in samsung_dsim_pll_find_pms()
/linux-6.15/drivers/pci/hotplug/
H A 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.15/drivers/gpu/drm/i915/display/
H A 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.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.h405 u32 *p_cur, u32 *p_max);
409 u32 *p_cur, u32 *p_max);
H A Dspectrum_buffers.c1767 u32 *p_cur, u32 *p_max) in mlxsw_sp_sb_occ_port_pool_get() argument
1777 *p_max = mlxsw_sp_cells_bytes(mlxsw_sp, pm->occ.max); in mlxsw_sp_sb_occ_port_pool_get()
1784 u32 *p_cur, u32 *p_max) in mlxsw_sp_sb_occ_tc_port_bind_get() argument
1796 *p_max = mlxsw_sp_cells_bytes(mlxsw_sp, cm->occ.max); in mlxsw_sp_sb_occ_tc_port_bind_get()
H A Dspectrum.h609 u32 *p_cur, u32 *p_max);
613 u32 *p_cur, u32 *p_max);
H A Dcore.c1507 u32 *p_cur, u32 *p_max) in mlxsw_devlink_sb_occ_port_pool_get() argument
1517 pool_index, p_cur, p_max); in mlxsw_devlink_sb_occ_port_pool_get()
1524 u32 *p_cur, u32 *p_max) in mlxsw_devlink_sb_occ_tc_port_bind_get() argument
1535 pool_type, p_cur, p_max); in mlxsw_devlink_sb_occ_tc_port_bind_get()
/linux-6.15/drivers/net/dsa/ocelot/
H A Dfelix.c2112 u32 *p_cur, u32 *p_max) in felix_sb_occ_port_pool_get() argument
2117 p_cur, p_max); in felix_sb_occ_port_pool_get()
2123 u32 *p_cur, u32 *p_max) in felix_sb_occ_tc_port_bind_get() argument
2128 pool_type, p_cur, p_max); in felix_sb_occ_tc_port_bind_get()
/linux-6.15/include/soc/mscc/
H A Docelot.h1139 u32 *p_cur, u32 *p_max);
1143 u32 *p_cur, u32 *p_max);
/linux-6.15/include/net/
H A Ddsa.h1179 u32 *p_cur, u32 *p_max);
1183 u32 *p_cur, u32 *p_max);
H A Ddevlink.h1328 u32 *p_cur, u32 *p_max);
1333 u32 *p_cur, u32 *p_max);
/linux-6.15/lib/
H A Dmaple_tree.c7029 unsigned long p_min, p_max; in mas_dfs_postorder() local
7043 p_max = mas->max; in mas_dfs_postorder()
7048 mas->max = p_max; in mas_dfs_postorder()
/linux-6.15/drivers/media/test-drivers/vivid/
H A Dvivid-ctrls.c393 .p_max.p_const = &rect_max,