Lines Matching refs:GRAB_BITS
161 #define GRAB_BITS(buf, byte, lowbit, bits) \ macro
177 val = GRAB_BITS(buf, 1, 0, 7); in hdmi_update_short_audio_desc()
183 a->channels = GRAB_BITS(buf, 0, 0, 3); in hdmi_update_short_audio_desc()
189 a->format = GRAB_BITS(buf, 0, 3, 4); in hdmi_update_short_audio_desc()
196 val = GRAB_BITS(buf, 2, 0, 3); in hdmi_update_short_audio_desc()
209 a->max_bitrate = GRAB_BITS(buf, 2, 0, 8); in hdmi_update_short_audio_desc()
229 a->profile = GRAB_BITS(buf, 2, 0, 3); in hdmi_update_short_audio_desc()
233 a->format = GRAB_BITS(buf, 2, 3, 5); in hdmi_update_short_audio_desc()
256 e->eld_ver = GRAB_BITS(buf, 0, 3, 5); in snd_hdmi_parse_eld()
263 e->baseline_len = GRAB_BITS(buf, 2, 0, 8); in snd_hdmi_parse_eld()
264 mnl = GRAB_BITS(buf, 4, 0, 5); in snd_hdmi_parse_eld()
265 e->cea_edid_ver = GRAB_BITS(buf, 4, 5, 3); in snd_hdmi_parse_eld()
267 e->support_hdcp = GRAB_BITS(buf, 5, 0, 1); in snd_hdmi_parse_eld()
268 e->support_ai = GRAB_BITS(buf, 5, 1, 1); in snd_hdmi_parse_eld()
269 e->conn_type = GRAB_BITS(buf, 5, 2, 2); in snd_hdmi_parse_eld()
270 e->sad_count = GRAB_BITS(buf, 5, 4, 4); in snd_hdmi_parse_eld()
272 e->aud_synch_delay = GRAB_BITS(buf, 6, 0, 8) * 2; in snd_hdmi_parse_eld()
273 e->spk_alloc = GRAB_BITS(buf, 7, 0, 7); in snd_hdmi_parse_eld()