Lines Matching refs:grp
15 static u8 vivid_get_di(const struct vivid_rds_gen *rds, unsigned grp) in vivid_get_di() argument
17 switch (grp) { in vivid_get_di()
19 return (rds->dyn_pty << 2) | (grp & 3); in vivid_get_di()
21 return (rds->compressed << 2) | (grp & 3); in vivid_get_di()
23 return (rds->art_head << 2) | (grp & 3); in vivid_get_di()
25 return (rds->mono_stereo << 2) | (grp & 3); in vivid_get_di()
45 unsigned grp; in vivid_rds_generate() local
52 for (grp = 0; grp < VIVID_RDS_GEN_GROUPS; grp++, data += VIVID_RDS_GEN_BLKS_PER_GRP) { in vivid_rds_generate()
61 switch (grp) { in vivid_rds_generate()
65 idx = (grp % 22) % 4; in vivid_rds_generate()
77 idx = ((grp - 4) % 22) % 16; in vivid_rds_generate()
114 data[1].lsb |= vivid_get_di(rds, grp % 22); in vivid_rds_generate()
121 data[3].lsb |= vivid_get_di(rds, grp % 22); in vivid_rds_generate()