Lines Matching refs:GRAB_BITS
148 #define GRAB_BITS(buf, byte, lowbit, bits) \ macro
164 val = GRAB_BITS(buf, 1, 0, 7); in hdmi_update_short_audio_desc()
170 a->channels = GRAB_BITS(buf, 0, 0, 3); in hdmi_update_short_audio_desc()
176 a->format = GRAB_BITS(buf, 0, 3, 4); in hdmi_update_short_audio_desc()
183 val = GRAB_BITS(buf, 2, 0, 3); in hdmi_update_short_audio_desc()
196 a->max_bitrate = GRAB_BITS(buf, 2, 0, 8); in hdmi_update_short_audio_desc()
216 a->profile = GRAB_BITS(buf, 2, 0, 3); in hdmi_update_short_audio_desc()
220 a->format = GRAB_BITS(buf, 2, 3, 5); in hdmi_update_short_audio_desc()
244 e->eld_ver = GRAB_BITS(buf, 0, 3, 5); in snd_hdmi_parse_eld()
251 e->baseline_len = GRAB_BITS(buf, 2, 0, 8); in snd_hdmi_parse_eld()
252 mnl = GRAB_BITS(buf, 4, 0, 5); in snd_hdmi_parse_eld()
253 e->cea_edid_ver = GRAB_BITS(buf, 4, 5, 3); in snd_hdmi_parse_eld()
255 e->support_hdcp = GRAB_BITS(buf, 5, 0, 1); in snd_hdmi_parse_eld()
256 e->support_ai = GRAB_BITS(buf, 5, 1, 1); in snd_hdmi_parse_eld()
257 e->conn_type = GRAB_BITS(buf, 5, 2, 2); in snd_hdmi_parse_eld()
258 e->sad_count = GRAB_BITS(buf, 5, 4, 4); in snd_hdmi_parse_eld()
260 e->aud_synch_delay = GRAB_BITS(buf, 6, 0, 8) * 2; in snd_hdmi_parse_eld()
261 e->spk_alloc = GRAB_BITS(buf, 7, 0, 7); in snd_hdmi_parse_eld()