Lines Matching refs:mlxsw_sp_hdroom
318 void mlxsw_sp_hdroom_prios_reset_buf_idx(struct mlxsw_sp_hdroom *hdroom) in mlxsw_sp_hdroom_prios_reset_buf_idx()
334 void mlxsw_sp_hdroom_bufs_reset_lossiness(struct mlxsw_sp_hdroom *hdroom) in mlxsw_sp_hdroom_bufs_reset_lossiness()
363 const struct mlxsw_sp_hdroom *hdroom) in mlxsw_sp_hdroom_buf_delay_get()
387 static bool mlxsw_sp_hdroom_buf_is_used(const struct mlxsw_sp_hdroom *hdroom, int buf) in mlxsw_sp_hdroom_buf_is_used()
399 struct mlxsw_sp_hdroom *hdroom) in mlxsw_sp_hdroom_bufs_reset_sizes()
451 const struct mlxsw_sp_hdroom *hdroom, bool force) in mlxsw_sp_hdroom_configure_buffers()
483 const struct mlxsw_sp_hdroom *hdroom, bool force) in mlxsw_sp_hdroom_configure_priomap()
507 const struct mlxsw_sp_hdroom *hdroom, bool force) in mlxsw_sp_hdroom_configure_int_buf()
527 const struct mlxsw_sp_hdroom *hdroom) in mlxsw_sp_hdroom_bufs_fit()
540 const struct mlxsw_sp_hdroom *hdroom, bool force) in __mlxsw_sp_hdroom_configure()
542 struct mlxsw_sp_hdroom orig_hdroom; in __mlxsw_sp_hdroom_configure()
543 struct mlxsw_sp_hdroom tmp_hdroom; in __mlxsw_sp_hdroom_configure()
595 const struct mlxsw_sp_hdroom *hdroom) in mlxsw_sp_hdroom_configure()
603 struct mlxsw_sp_hdroom hdroom = {}; in mlxsw_sp_port_headroom_init()