XenevaOS
Loading...
Searching...
No Matches
cec.h
Go to the documentation of this file.
1/*
2 * DCL cec.h -- one macro.
3 *
4 * drm_edid.c includes this name, and exactly one CEC symbol from it is used
5 * rather than none: drm_edid.c:6714 writes
6 *
7 * info->source_physical_address = CEC_PHYS_ADDR_INVALID;
8 *
9 * into the drm_connector's cec sink info when a block read fails. Every other
10 * cec_* path is CONFIG_CEC-gated upstream and has no counterpart here, so this
11 * is the whole header.
12 *
13 * 0xffff is mainline's value (include/media/cec.h), and it is chosen so the
14 * "no address" state is not a legal one: the physical address is a 16-bit
15 * four-nibble tree path, and each nibble is 0..0xe -- so no valid address has
16 * a set top nibble, and 0xffff cannot be confused with a real position in the
17 * HDMI topology. drm_connector.h:916 documents the same default.
18 */
19#ifndef _LINUX_CEC_H
20#define _LINUX_CEC_H
21
22#define CEC_PHYS_ADDR_INVALID 0xffff
23
24#endif /* _LINUX_CEC_H */