Home
last modified time | relevance | path

Searched refs:property (Results 1 – 25 of 1570) sorted by relevance

12345678910>>...63

/linux-6.6.21/drivers/thunderbolt/
Dproperty.c82 struct tb_property *property; in tb_property_alloc() local
84 property = kzalloc(sizeof(*property), GFP_KERNEL); in tb_property_alloc()
85 if (!property) in tb_property_alloc()
88 strcpy(property->key, key); in tb_property_alloc()
89 property->type = type; in tb_property_alloc()
90 INIT_LIST_HEAD(&property->list); in tb_property_alloc()
92 return property; in tb_property_alloc()
99 struct tb_property *property; in tb_property_parse() local
108 property = tb_property_alloc(key, entry->type); in tb_property_parse()
109 if (!property) in tb_property_parse()
[all …]
/linux-6.6.21/drivers/gpu/drm/
Ddrm_property.c100 struct drm_property *property = NULL; in drm_property_create() local
109 property = kzalloc(sizeof(struct drm_property), GFP_KERNEL); in drm_property_create()
110 if (!property) in drm_property_create()
113 property->dev = dev; in drm_property_create()
116 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create()
118 if (!property->values) in drm_property_create()
122 ret = drm_mode_object_add(dev, &property->base, DRM_MODE_OBJECT_PROPERTY); in drm_property_create()
126 property->flags = flags; in drm_property_create()
127 property->num_values = num_values; in drm_property_create()
128 INIT_LIST_HEAD(&property->enum_list); in drm_property_create()
[all …]
Ddrm_atomic_uapi.c408 struct drm_crtc_state *state, struct drm_property *property, in drm_atomic_crtc_set_property() argument
416 if (property == config->prop_active) in drm_atomic_crtc_set_property()
418 else if (property == config->prop_mode_id) { in drm_atomic_crtc_set_property()
424 } else if (property == config->prop_vrr_enabled) { in drm_atomic_crtc_set_property()
426 } else if (property == config->degamma_lut_property) { in drm_atomic_crtc_set_property()
434 } else if (property == config->ctm_property) { in drm_atomic_crtc_set_property()
442 } else if (property == config->gamma_lut_property) { in drm_atomic_crtc_set_property()
450 } else if (property == config->prop_out_fence_ptr) { in drm_atomic_crtc_set_property()
460 } else if (property == crtc->scaling_filter_property) { in drm_atomic_crtc_set_property()
463 return crtc->funcs->atomic_set_property(crtc, state, property, val); in drm_atomic_crtc_set_property()
[all …]
Ddrm_mode_object.c234 struct drm_property *property, in drm_object_attach_property() argument
238 struct drm_device *dev = property->dev; in drm_object_attach_property()
258 obj->properties->properties[count] = property; in drm_object_attach_property()
284 struct drm_property *property, uint64_t val) in drm_object_property_set_value() argument
288 WARN_ON(drm_drv_uses_atomic_modeset(property->dev) && in drm_object_property_set_value()
289 !(property->flags & DRM_MODE_PROP_IMMUTABLE)); in drm_object_property_set_value()
292 if (obj->properties->properties[i] == property) { in drm_object_property_set_value()
303 struct drm_property *property, in __drm_object_property_get_prop_value() argument
309 if (obj->properties->properties[i] == property) { in __drm_object_property_get_prop_value()
319 struct drm_property *property, in __drm_object_property_get_value() argument
[all …]
/linux-6.6.21/arch/arm/boot/dts/broadcom/
Dbcm-nsp-ax.dtsi13 /delete-property/ dma-coherent;
17 /delete-property/ dma-coherent;
21 /delete-property/ dma-coherent;
25 /delete-property/ dma-coherent;
29 /delete-property/ dma-coherent;
33 /delete-property/ dma-coherent;
37 /delete-property/ dma-coherent;
41 /delete-property/ dma-coherent;
45 /delete-property/ dma-coherent;
49 /delete-property/ dma-coherent;
[all …]
/linux-6.6.21/drivers/of/
Dof_private.h47 struct property *prop, struct property *old_prop);
57 struct property *prop, struct property *old_prop) in of_property_notify()
71 int __of_add_property_sysfs(struct device_node *np, struct property *pp);
72 void __of_remove_property_sysfs(struct device_node *np, struct property *prop);
73 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
74 struct property *oldprop);
78 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
82 static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} in __of_remove_property_sysfs()
84 struct property *newprop, struct property *oldprop) {} in __of_update_property_sysfs()
125 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags);
[all …]
Dkobj.c35 struct property *pp = container_of(bin_attr, struct property, attr); in of_node_property_read()
63 int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
87 void __of_sysfs_remove_bin_file(struct device_node *np, struct property *prop) in __of_sysfs_remove_bin_file()
96 void __of_remove_property_sysfs(struct device_node *np, struct property *prop) in __of_remove_property_sysfs()
103 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, in __of_update_property_sysfs()
104 struct property *oldprop) in __of_update_property_sysfs()
119 struct property *pp; in __of_attach_node_sysfs()
151 struct property *pp; in __of_detach_node_sysfs()
/linux-6.6.21/drivers/mfd/
Dsi476x-prop.c46 u16 property) in si476x_core_is_valid_property_a10() argument
80 return si476x_core_element_is_in_range(property, valid_ranges, in si476x_core_is_valid_property_a10()
82 si476x_core_element_is_in_array(property, valid_properties, in si476x_core_is_valid_property_a10()
87 u16 property) in si476x_core_is_valid_property_a20() argument
100 return si476x_core_is_valid_property_a10(core, property) || in si476x_core_is_valid_property_a20()
101 si476x_core_element_is_in_range(property, valid_ranges, in si476x_core_is_valid_property_a20()
103 si476x_core_element_is_in_array(property, valid_properties, in si476x_core_is_valid_property_a20()
108 u16 property) in si476x_core_is_valid_property_a30() argument
126 return si476x_core_is_valid_property_a20(core, property) || in si476x_core_is_valid_property_a30()
127 si476x_core_element_is_in_range(property, valid_ranges, in si476x_core_is_valid_property_a30()
[all …]
/linux-6.6.21/arch/arm64/boot/dts/qcom/
Dsc7180-firmware-tfa.dtsi10 /delete-property/ power-domains;
11 /delete-property/ power-domain-names;
19 /delete-property/ power-domains;
20 /delete-property/ power-domain-names;
28 /delete-property/ power-domains;
29 /delete-property/ power-domain-names;
37 /delete-property/ power-domains;
38 /delete-property/ power-domain-names;
46 /delete-property/ power-domains;
47 /delete-property/ power-domain-names;
[all …]
/linux-6.6.21/drivers/gpu/drm/logicvc/
Dlogicvc_of.c129 struct logicvc_of_property *property; in logicvc_of_property_parse_u32() local
137 property = &logicvc_of_properties[index]; 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()
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()
[all …]
/linux-6.6.21/arch/arm/boot/dts/nxp/imx/
Dimx6ulz.dtsi9 /delete-property/ ethernet0;
10 /delete-property/ ethernet1;
11 /delete-property/ i2c2;
12 /delete-property/ i2c3;
13 /delete-property/ serial4;
14 /delete-property/ serial5;
15 /delete-property/ serial6;
16 /delete-property/ serial7;
17 /delete-property/ spi2;
18 /delete-property/ spi3;
/linux-6.6.21/drivers/bus/
Dtegra-gmi.c97 u32 property, ranges[4]; in tegra_gmi_parse_dt() local
150 err = of_property_read_u32(child, "reg", &property); in tegra_gmi_parse_dt()
157 property = ranges[1]; in tegra_gmi_parse_dt()
161 if (property >= TEGRA_GMI_MAX_CHIP_SELECT) { in tegra_gmi_parse_dt()
162 dev_err(gmi->dev, "invalid chip select: %d", property); in tegra_gmi_parse_dt()
167 gmi->snor_config |= TEGRA_GMI_CS_SELECT(property); in tegra_gmi_parse_dt()
170 if (!of_property_read_u32(child, "nvidia,snor-muxed-width", &property)) in tegra_gmi_parse_dt()
171 gmi->snor_timing0 |= TEGRA_GMI_MUXED_WIDTH(property); in tegra_gmi_parse_dt()
175 if (!of_property_read_u32(child, "nvidia,snor-hold-width", &property)) in tegra_gmi_parse_dt()
176 gmi->snor_timing0 |= TEGRA_GMI_HOLD_WIDTH(property); in tegra_gmi_parse_dt()
[all …]
/linux-6.6.21/scripts/dtc/
Ddtc.h206 struct property { struct
211 struct property *next; argument
220 struct property *proplist; argument
263 struct property *build_property(char *name, struct data val,
265 struct property *build_property_delete(char *name);
266 struct property *chain_property(struct property *first, struct property *list);
267 struct property *reverse_properties(struct property *first);
269 struct node *build_node(struct property *proplist, struct node *children,
279 void add_property(struct node *node, struct property *prop);
281 void delete_property(struct property *prop);
[all …]
Dlivetree.c39 struct property *build_property(char *name, struct data val, in build_property()
42 struct property *new = xmalloc(sizeof(*new)); in build_property()
53 struct property *build_property_delete(char *name) in build_property_delete()
55 struct property *new = xmalloc(sizeof(*new)); in build_property_delete()
65 struct property *chain_property(struct property *first, struct property *list) in chain_property()
73 struct property *reverse_properties(struct property *first) in reverse_properties()
75 struct property *p = first; in reverse_properties()
76 struct property *head = NULL; in reverse_properties()
77 struct property *next; in reverse_properties()
88 struct node *build_node(struct property *proplist, struct node *children, in build_node()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/mux/
Dmux-consumer.yaml14 want to use with a property containing a 'mux-ctrl-list':
23 each mux controller property must be documented in the device tree binding for
24 each consumer. An optional property "mux-control-names" may contain a list of
26 property.
29 be set to, the property "mux-states" must be used. An optional property
31 each of the multiplixer states listed in the "mux-states" property.
35 needs to set multiple states in a mux controller, then property
37 controller to a given state then property "mux-states" can be used.
55 "mux-control-names" property to map the name of the requested mux
56 controller to an index into the list given by the "mux-controls" property.
[all …]
/linux-6.6.21/include/linux/mfd/
Dsyscon.h25 const char *property);
28 const char *property,
33 const char *property);
52 const char *property) in syscon_regmap_lookup_by_phandle() argument
59 const char *property, in syscon_regmap_lookup_by_phandle_args() argument
68 const char *property) in syscon_regmap_lookup_by_phandle_optional() argument
/linux-6.6.21/arch/riscv/boot/dts/renesas/
Drzfive-smarc-som.dtsi12 /delete-property/ ethernet0;
13 /delete-property/ ethernet1;
30 /delete-property/ interrupt-parent;
31 /delete-property/ interrupts;
40 /delete-property/ interrupt-parent;
41 /delete-property/ interrupts;
/linux-6.6.21/Documentation/devicetree/bindings/arm/marvell/
D98dx3236.txt5 shall have the following property:
7 Required root node property:
12 following property:
14 Required root node property:
19 following property:
21 Required root node property:
Darmada-370-xp.txt5 shall have the following property:
7 Required root node property:
12 following property:
14 Required root node property:
19 following property:
21 Required root node property:
Darmada-38x.txt5 following property:
7 Required root node property:
12 following property before the previous one:
14 Required root node property:
19 following property before the previous one:
21 Required root node property:
Darmada-39x.txt5 following property:
7 Required root node property:
12 following property before the common "marvell,armada390" one:
14 Required root node property:
23 property before the common "marvell,armada390" one:
25 Required root node property:
/linux-6.6.21/Documentation/devicetree/bindings/interrupt-controller/
Dinterrupts.txt8 "interrupts" property, an "interrupts-extended" property, or both. If both are
19 The "interrupt-parent" property is used to specify the controller to which
21 controller node. This property is inherited, so it may be specified in an
23 "interrupts" property are always in reference to the node's interrupt parent.
25 The "interrupts-extended" property is a special form; useful when a node needs
27 the inherited one. Each entry in this property contains both the parent phandle
37 property. This is a empty, boolean property. An additional "#interrupt-cells"
38 property defines the number of cells needed to specify a single interrupt.
46 The #interrupt-cells property is set to 1 and the single cell defines the
69 The #interrupt-cells property is set to 2 and the first cell defines the
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/powerpc/
Dibm,powerpc-cpu-features.txt43 revision of the compatible property.
104 This property describes the privilege levels and/or software components
107 If bit 0 is set, then the hwcap-bit-nr property will exist.
118 This property describes the HV privilege support required to enable the
119 feature to lesser privilege levels. If the property does not exist then no
125 If the HFSCR bit is set, then the hfscr-bit-nr property will exist and
137 This property describes the OS privilege support required to enable the
138 feature to lesser privilege levels. If the property does not exist then no
144 If the FSCR bit is set, then the fscr-bit-nr property will exist and
153 This property exists when the hv-support property HFSCR bit is set. This
[all …]
/linux-6.6.21/arch/arm64/boot/dts/renesas/
Drzg2ul-smarc.dtsi13 /delete-property/ pinctrl-0;
14 /delete-property/ pinctrl-names;
57 /delete-property/ pinctrl-0;
58 /delete-property/ pinctrl-names;
63 /delete-property/ pinctrl-0;
64 /delete-property/ pinctrl-names;
/linux-6.6.21/arch/arm/boot/dts/st/
Dstm32mp15xx-dhcom-drc02.dtsi79 /delete-property/dmas;
80 /delete-property/dma-names;
103 /delete-property/dmas;
104 /delete-property/dma-names;
112 /delete-property/broken-cd;
122 /delete-property/dmas;
123 /delete-property/dma-names;
134 /delete-property/dmas;
135 /delete-property/dma-names;
149 /delete-property/dmas;
[all …]

12345678910>>...63