Lines Matching +full:layer +full:- +full:alpha +full:- +full:mode
1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2019-2022 Bootlin
14 { "lvds-4bits", LOGICVC_DISPLAY_INTERFACE_LVDS_4BITS },
15 { "lvds-3bits", LOGICVC_DISPLAY_INTERFACE_LVDS_3BITS },
33 { "layer", LOGICVC_LAYER_ALPHA_LAYER },
40 .name = "xylon,display-interface",
48 .name = "xylon,display-colorspace",
56 .name = "xylon,display-depth",
60 .name = "xylon,row-stride",
67 .name = "xylon,background-layer",
71 .name = "xylon,layers-configurable",
75 .name = "xylon,layers-count",
78 .name = "xylon,layer-depth",
82 .name = "xylon,layer-colorspace",
90 .name = "xylon,layer-alpha-mode",
98 .name = "xylon,layer-base-offset",
101 .name = "xylon,layer-buffer-offset",
104 .name = "xylon,layer-primary",
123 return -EINVAL; in logicvc_of_property_sv_value()
135 return -EINVAL; in logicvc_of_property_parse_u32()
139 if (!property->optional && in logicvc_of_property_parse_u32()
140 !of_property_read_bool(of_node, property->name)) in logicvc_of_property_parse_u32()
141 return -ENODEV; in logicvc_of_property_parse_u32()
143 if (property->sv) { in logicvc_of_property_parse_u32()
144 ret = of_property_read_string(of_node, property->name, &string); in logicvc_of_property_parse_u32()
148 ret = logicvc_of_property_sv_value(property->sv, string, in logicvc_of_property_parse_u32()
153 ret = of_property_read_u32(of_node, property->name, &value); in logicvc_of_property_parse_u32()
158 if (property->range[0] || property->range[1]) in logicvc_of_property_parse_u32()
159 if (value < property->range[0] || value > property->range[1]) in logicvc_of_property_parse_u32()
160 return -ERANGE; in logicvc_of_property_parse_u32()
179 *target = of_property_read_bool(of_node, property->name); in logicvc_of_property_parse_bool()
184 return !of_node_cmp(of_node->name, "layer"); in logicvc_of_node_is_layer()