Home
last modified time | relevance | path

Searched refs:fmts_bitmap (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/staging/media/tegra-video/
H A Dvi.h225 DECLARE_BITMAP(fmts_bitmap, MAX_FORMAT_NUM);
H A Dvi.c399 unsigned long *fmts_bitmap = chan->tpg_fmts_bitmap; in tegra_channel_enum_format() local
402 fmts_bitmap = chan->fmts_bitmap; in tegra_channel_enum_format()
404 if (f->index >= bitmap_weight(fmts_bitmap, MAX_FORMAT_NUM)) in tegra_channel_enum_format()
408 index = find_next_bit(fmts_bitmap, MAX_FORMAT_NUM, index); in tegra_channel_enum_format()
1036 bitmap_zero(chan->fmts_bitmap, MAX_FORMAT_NUM); in vi_fmts_bitmap_init()
1052 bitmap_set(chan->fmts_bitmap, index, 1); in vi_fmts_bitmap_init()
1074 bitmap_set(chan->fmts_bitmap, index, 1); in vi_fmts_bitmap_init()