Lines Matching defs:eld

270 	uint8_t *eld;
275 eld = NULL;
286 if (w->eld != NULL && w->eld_len >= 8)
287 eld = w->eld;
296 if (eld) {
298 if (eld[7] & 0x01) /* Front Left/Right */
300 if (eld[7] & 0x02) /* Low Frequency Effect */
302 if (eld[7] & 0x04) /* Front Center */
304 if (eld[7] & 0x08) { /* Rear Left/Right */
306 if (eld[7] & 0x40) /* Rear Left/Right Center */
311 if (eld[7] & 0x10) /* Rear center */
313 if (eld[7] & 0x20) /* Front Left/Right Center */
315 if (eld[7] & 0x40) /* Rear Left/Right Center */
609 if (w->eld == NULL || w->eld_len < 4)
613 w->nid, w->eld[0] >> 3, w->eld[2]);
614 if ((w->eld[0] >> 3) != 0x02)
616 len = min(w->eld_len, (u_int)w->eld[2] * 4);
617 mnl = w->eld[4] & 0x1f;
620 w->nid, w->eld[4] >> 5, mnl);
621 sadc = w->eld[5] >> 4;
624 w->nid, sadc, (w->eld[5] >> 2) & 0x3,
625 (w->eld[5] >> 1) & 0x1, w->eld[5] & 0x1);
628 w->nid, w->eld[6] * 2);
631 w->nid, w->eld[7],
635 w->nid, w->eld[8], w->eld[9], w->eld[10], w->eld[11],
636 w->eld[12], w->eld[13], w->eld[14], w->eld[15]);
639 w->nid, w->eld[16], w->eld[17]);
642 w->nid, w->eld[18], w->eld[19]);
645 w->nid, mnl, &w->eld[20]);
647 sad = &w->eld[20 + mnl + i * 3];
698 if ((w->eld != 0) == ((res & HDA_CMD_GET_PIN_SENSE_ELD_VALID) != 0))
700 if (w->eld != NULL) {
702 free(w->eld, M_HDAA);
703 w->eld = NULL;
722 w->eld = malloc(w->eld_len, M_HDAA, M_ZERO | M_NOWAIT);
723 if (w->eld == NULL) {
732 w->eld[i] = res & 0xff;
1983 if (w->eld != NULL && w->eld_len >= 6 &&
1984 ((w->eld[5] >> 2) & 0x3) == 1) { /* DisplayPort */
6294 if (w->eld != NULL) {
6296 free(w->eld, M_HDAA);
6297 w->eld = NULL;