Home | History | Annotate | Download | only in hdaudio

Lines Matching refs:hdi

48 hdafg_dd_parse_info(uint8_t *data, size_t datalen, struct hdafg_dd_info *hdi)
50 struct eld_baseline_block *block = &hdi->eld;
57 memset(hdi, 0, sizeof(*hdi));
91 memcpy(hdi->monitor, data, ELD_MNL(block));
95 if (datalen < ELD_SAD_COUNT(block) * sizeof(hdi->sad[0])) {
100 (unsigned int)sizeof(hdi->sad[0]));
104 hdi->nsad = ELD_SAD_COUNT(block);
105 for (i = 0; i < hdi->nsad; i++) {
106 memcpy(&hdi->sad[i], data, sizeof(hdi->sad[i]));
107 data += sizeof(hdi->sad[i]);
108 datalen -= sizeof(hdi->sad[i]);