HomeSort by: relevance | last modified time | path
    Searched refs:hdi (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/dev/hdaudio/
hdafg_dd.c 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]))
    [all...]
hdafg.c 849 struct hdafg_dd_info hdi; local in function:hdafg_assoc_dump_dd
895 if (hdafg_dd_parse_info(elddata, elddatalen, &hdi) != 0) {
903 hda_print(sc, " ELD version=0x%x", ELD_VER(&hdi.eld));
904 hda_print1(sc, ",len=%u", hdi.eld.header.baseline_eld_len * 4);
905 hda_print1(sc, ",edid=0x%x", ELD_CEA_EDID_VER(&hdi.eld));
906 hda_print1(sc, ",port=0x%" PRIx64, hdi.eld.port_id);
907 hda_print1(sc, ",vendor=0x%04x", hdi.eld.vendor);
908 hda_print1(sc, ",product=0x%04x", hdi.eld.product);
910 hda_print(sc, " Monitor = '%s'\n", hdi.monitor);
911 for (i = 0; i < hdi.nsad; i++)
    [all...]

Completed in 16 milliseconds