Lines Matching +full:hdmi +full:- +full:switch
1 // SPDX-License-Identifier: GPL-2.0
3 #define DSS_SUBSYS_NAME "HDMI"
10 #include "hdmi.h"
23 dev_err(&pdev->dev, "bad number of lanes\n"); in hdmi_parse_lanes_of()
24 return -EINVAL; in hdmi_parse_lanes_of()
30 dev_err(&pdev->dev, "failed to read lane data\n"); in hdmi_parse_lanes_of()
36 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of()
44 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of()
58 return -EINVAL; in hdmi_compute_acr()
64 * When using deep color, the default N value (as in the HDMI in hdmi_compute_acr()
65 * specification) yields to an non-integer CTS. Hence, we in hdmi_compute_acr()
67 * section 7.2.1 of the HDMI 1.4a specification. in hdmi_compute_acr()
69 switch (sample_freq) { in hdmi_compute_acr()
89 return -EINVAL; in hdmi_compute_acr()
93 switch (sample_freq) { in hdmi_compute_acr()
116 return -EINVAL; in hdmi_compute_acr()
119 switch (sample_freq) { in hdmi_compute_acr()
142 return -EINVAL; in hdmi_compute_acr()
145 /* Calculate CTS. See HDMI 1.3a or 1.4a specifications */ in hdmi_compute_acr()