Lines Matching refs:stream_mask
162 u32 stream_mask; member
1476 new_tunnel_state->stream_mask = tunnel_state->stream_mask; in tunnel_group_duplicate_state()
1479 hweight32(tunnel_state->stream_mask), in tunnel_group_duplicate_state()
1610 u32 stream_mask = 0; in check_unique_stream_ids() local
1614 tunnel_state->stream_mask & stream_mask, in check_unique_stream_ids()
1617 tunnel_state->stream_mask, in check_unique_stream_ids()
1618 stream_mask); in check_unique_stream_ids()
1620 stream_mask |= tunnel_state->stream_mask; in check_unique_stream_ids()
1629 static int stream_id_to_idx(u32 stream_mask, u8 stream_id) in stream_id_to_idx() argument
1631 return hweight32(stream_mask & (BIT(stream_id) - 1)); in stream_id_to_idx()
1656 tunnel_state->stream_mask = new_mask; in resize_bw_array()
1667 tunnel_state->stream_mask, in set_stream_bw()
1668 tunnel_state->stream_mask | BIT(stream_id)); in set_stream_bw()
1672 tunnel_state->stream_bw[stream_id_to_idx(tunnel_state->stream_mask, stream_id)] = bw; in set_stream_bw()
1680 if (!(tunnel_state->stream_mask & ~BIT(stream_id))) { in clear_stream_bw()
1686 tunnel_state->stream_mask, in clear_stream_bw()
1687 tunnel_state->stream_mask & ~BIT(stream_id)); in clear_stream_bw()
1710 stream_id > BITS_PER_TYPE(tunnel_state->stream_mask))) in drm_dp_tunnel_atomic_set_stream_bw()
1757 if (!tunnel_state || !tunnel_state->stream_mask) in drm_dp_tunnel_atomic_get_required_bw()
1760 for (i = 0; i < hweight32(tunnel_state->stream_mask); i++) in drm_dp_tunnel_atomic_get_required_bw()
1780 u32 *stream_mask) in drm_dp_tunnel_atomic_get_group_streams_in_state() argument
1789 *stream_mask = 0; in drm_dp_tunnel_atomic_get_group_streams_in_state()
1791 *stream_mask |= tunnel_state->stream_mask; in drm_dp_tunnel_atomic_get_group_streams_in_state()
1818 *failed_stream_mask = new_tunnel_state->stream_mask; in drm_dp_tunnel_atomic_check_group_bw()
1824 group_stream_mask |= new_tunnel_state->stream_mask; in drm_dp_tunnel_atomic_check_group_bw()