Home
last modified time | relevance | path

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

12345678910>>...60

/linux-6.1.9/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.1.9/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.c399 struct drm_crtc_state *state, struct drm_property *property, in drm_atomic_crtc_set_property() argument
407 if (property == config->prop_active) in drm_atomic_crtc_set_property()
409 else if (property == config->prop_mode_id) { in drm_atomic_crtc_set_property()
415 } else if (property == config->prop_vrr_enabled) { in drm_atomic_crtc_set_property()
417 } else if (property == config->degamma_lut_property) { in drm_atomic_crtc_set_property()
425 } else if (property == config->ctm_property) { in drm_atomic_crtc_set_property()
433 } else if (property == config->gamma_lut_property) { in drm_atomic_crtc_set_property()
441 } else if (property == config->prop_out_fence_ptr) { in drm_atomic_crtc_set_property()
451 } else if (property == crtc->scaling_filter_property) { in drm_atomic_crtc_set_property()
454 return crtc->funcs->atomic_set_property(crtc, state, property, val); in drm_atomic_crtc_set_property()
[all …]
Ddrm_mode_object.c232 struct drm_property *property, in drm_object_attach_property() argument
236 struct drm_device *dev = property->dev; in drm_object_attach_property()
256 obj->properties->properties[count] = property; in drm_object_attach_property()
282 struct drm_property *property, uint64_t val) in drm_object_property_set_value() argument
286 WARN_ON(drm_drv_uses_atomic_modeset(property->dev) && in drm_object_property_set_value()
287 !(property->flags & DRM_MODE_PROP_IMMUTABLE)); in drm_object_property_set_value()
290 if (obj->properties->properties[i] == property) { in drm_object_property_set_value()
301 struct drm_property *property, in __drm_object_property_get_prop_value() argument
307 if (obj->properties->properties[i] == property) { in __drm_object_property_get_prop_value()
317 struct drm_property *property, in __drm_object_property_get_value() argument
[all …]
/linux-6.1.9/arch/arm/boot/dts/
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 …]
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;
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 …]
Dimx6q-apalis-ixora-v1.1.dts24 /delete-property/ xceiver-supply;
28 /delete-property/ xceiver-supply;
33 /delete-property/ cap-power-off-card;
34 /delete-property/ pinctrl-1;
35 /delete-property/ vmmc-supply;
/linux-6.1.9/drivers/of/
Dof_private.h46 struct property *prop, struct property *old_prop);
56 struct property *prop, struct property *old_prop) in of_property_notify()
64 int __of_add_property_sysfs(struct device_node *np, struct property *pp);
65 void __of_remove_property_sysfs(struct device_node *np, struct property *prop);
66 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
67 struct property *oldprop);
71 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
75 static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} in __of_remove_property_sysfs()
77 struct property *newprop, struct property *oldprop) {} in __of_update_property_sysfs()
118 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.1.9/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.1.9/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.1.9/drivers/bus/
Dtegra-gmi.c95 u32 property, ranges[4]; in tegra_gmi_parse_dt() local
148 err = of_property_read_u32(child, "reg", &property); in tegra_gmi_parse_dt()
155 property = ranges[1]; in tegra_gmi_parse_dt()
159 if (property >= TEGRA_GMI_MAX_CHIP_SELECT) { in tegra_gmi_parse_dt()
160 dev_err(gmi->dev, "invalid chip select: %d", property); in tegra_gmi_parse_dt()
165 gmi->snor_config |= TEGRA_GMI_CS_SELECT(property); in tegra_gmi_parse_dt()
168 if (!of_property_read_u32(child, "nvidia,snor-muxed-width", &property)) in tegra_gmi_parse_dt()
169 gmi->snor_timing0 |= TEGRA_GMI_MUXED_WIDTH(property); in tegra_gmi_parse_dt()
173 if (!of_property_read_u32(child, "nvidia,snor-hold-width", &property)) in tegra_gmi_parse_dt()
174 gmi->snor_timing0 |= TEGRA_GMI_HOLD_WIDTH(property); in tegra_gmi_parse_dt()
[all …]
/linux-6.1.9/scripts/dtc/
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 …]
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 …]
/linux-6.1.9/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.1.9/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.1.9/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.1.9/arch/arm64/boot/dts/renesas/
Drzg2ul-smarc.dtsi13 /delete-property/ pinctrl-0;
14 /delete-property/ pinctrl-names;
44 /delete-property/ pinctrl-0;
45 /delete-property/ pinctrl-names;
50 /delete-property/ pinctrl-0;
51 /delete-property/ pinctrl-names;
/linux-6.1.9/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.1.9/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.1.9/Documentation/devicetree/bindings/x86/
Dce4100.txt7 name in their compatible property because they first appeared in this
44 This node describes the in-core peripherals. Required property:
49 This node describes the PCI bus on the SoC. Its property should be
55 to contain the interrupt property. Besides the interrupt property it has
56 to contain at least the reg property containing the PCI bus address and
57 compatible property according to "PCI Bus Binding Revision 2.1".

12345678910>>...60