Searched refs:chan_size (Results 1 – 2 of 2) sorted by relevance
280 unsigned chan_size = 0; in panfrost_emit_bifrost_blend() local285 chan_size = MAX2(format_desc->channel[0].size, chan_size); in panfrost_emit_bifrost_blend()290 u16 constant = blend[i].equation.constant * ((1 << chan_size) - 1); in panfrost_emit_bifrost_blend()291 constant <<= 16 - chan_size; in panfrost_emit_bifrost_blend()
2295 unsigned chan_size = format_desc->channel[chan].size; in lp_build_clamp_border_color() local2296 if (chan_size < 32) { in lp_build_clamp_border_color()2298 0 - (1 << (chan_size - 1))); in lp_build_clamp_border_color()2300 (1 << (chan_size - 1)) - 1); in lp_build_clamp_border_color()2323 unsigned chan_size = format_desc->channel[chan].size; in lp_build_clamp_border_color() local2324 if (chan_size < 32) { in lp_build_clamp_border_color()2326 (1 << chan_size) - 1); in lp_build_clamp_border_color()