Lines Matching refs:sads
4415 /* Audio Data Block, contains SADs */
4453 * drm_edid_to_sad - extracts SADs from EDID
4455 * @sads: pointer that will be set to the extracted SADs
4457 * Looks for CEA EDID block and extracts SADs (Short Audio Descriptors) from it.
4461 * Return: The number of found SADs or negative number on error.
4463 int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads)
4493 *sads = kcalloc(count, sizeof(**sads), GFP_KERNEL);
4494 if (!*sads)
4499 (*sads)[j].format = (sad[0] & 0x78) >> 3;
4500 (*sads)[j].channels = sad[0] & 0x7;
4501 (*sads)[j].freq = sad[1] & 0x7F;
4502 (*sads)[j].byte2 = sad[2];