Home
last modified time | relevance | path

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

12345678910>>...51

/Linux-v5.10/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-v5.10/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.c420 struct drm_crtc_state *state, struct drm_property *property, in drm_atomic_crtc_set_property() argument
428 if (property == config->prop_active) in drm_atomic_crtc_set_property()
430 else if (property == config->prop_mode_id) { in drm_atomic_crtc_set_property()
436 } else if (property == config->prop_vrr_enabled) { in drm_atomic_crtc_set_property()
438 } else if (property == config->degamma_lut_property) { in drm_atomic_crtc_set_property()
446 } else if (property == config->ctm_property) { in drm_atomic_crtc_set_property()
454 } else if (property == config->gamma_lut_property) { in drm_atomic_crtc_set_property()
462 } else if (property == config->prop_out_fence_ptr) { in drm_atomic_crtc_set_property()
473 return crtc->funcs->atomic_set_property(crtc, state, property, val); in drm_atomic_crtc_set_property()
477 property->base.id, property->name); 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_value() argument
310 if (drm_drv_uses_atomic_modeset(property->dev) && in __drm_object_property_get_value()
311 !(property->flags & DRM_MODE_PROP_IMMUTABLE)) in __drm_object_property_get_value()
[all …]
/Linux-v5.10/drivers/of/
Dof_private.h44 struct property *prop, struct property *old_prop);
54 struct property *prop, struct property *old_prop) in of_property_notify()
62 int __of_add_property_sysfs(struct device_node *np, struct property *pp);
63 void __of_remove_property_sysfs(struct device_node *np, struct property *prop);
64 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
65 struct property *oldprop);
69 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
73 static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} in __of_remove_property_sysfs()
75 struct property *newprop, struct property *oldprop) {} in __of_update_property_sysfs()
116 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-v5.10/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-v5.10/arch/arm/boot/dts/
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-v5.10/drivers/bus/
Dtegra-gmi.c92 u32 property, ranges[4]; in tegra_gmi_parse_dt() local
145 err = of_property_read_u32(child, "reg", &property); in tegra_gmi_parse_dt()
152 property = ranges[1]; in tegra_gmi_parse_dt()
156 if (property >= TEGRA_GMI_MAX_CHIP_SELECT) { in tegra_gmi_parse_dt()
157 dev_err(gmi->dev, "invalid chip select: %d", property); in tegra_gmi_parse_dt()
162 gmi->snor_config |= TEGRA_GMI_CS_SELECT(property); in tegra_gmi_parse_dt()
165 if (!of_property_read_u32(child, "nvidia,snor-muxed-width", &property)) in tegra_gmi_parse_dt()
166 gmi->snor_timing0 |= TEGRA_GMI_MUXED_WIDTH(property); in tegra_gmi_parse_dt()
170 if (!of_property_read_u32(child, "nvidia,snor-hold-width", &property)) in tegra_gmi_parse_dt()
171 gmi->snor_timing0 |= TEGRA_GMI_HOLD_WIDTH(property); in tegra_gmi_parse_dt()
[all …]
/Linux-v5.10/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.h170 struct property { struct
175 struct property *next; argument
184 struct property *proplist; argument
227 struct property *build_property(char *name, struct data val,
229 struct property *build_property_delete(char *name);
230 struct property *chain_property(struct property *first, struct property *list);
231 struct property *reverse_properties(struct property *first);
233 struct node *build_node(struct property *proplist, struct node *children,
243 void add_property(struct node *node, struct property *prop);
245 void delete_property(struct property *prop);
[all …]
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/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".
/Linux-v5.10/include/linux/
Dof.h31 struct property { struct
35 struct property *next; argument
57 struct property *properties; argument
58 struct property *deadprops; /* removed properties */
99 struct property *prop;
100 struct property *old_prop;
210 static inline int of_property_check_flag(struct property *p, unsigned long flag) in of_property_check_flag()
215 static inline void of_property_set_flag(struct property *p, unsigned long flag) in of_property_set_flag()
220 static inline void of_property_clear_flag(struct property *p, unsigned long flag) in of_property_clear_flag()
304 extern struct property *of_find_property(const struct device_node *np,
[all …]
/Linux-v5.10/arch/arm/boot/compressed/
Datags_to_fdt.c22 static int setprop(void *fdt, const char *node_path, const char *property, in setprop() argument
28 return fdt_setprop(fdt, offset, property, val_array, size); in setprop()
32 const char *property, const char *string) in setprop_string() argument
37 return fdt_setprop_string(fdt, offset, property, string); in setprop_string()
41 const char *property, uint32_t val) in setprop_cell() argument
46 return fdt_setprop_cell(fdt, offset, property, val); in setprop_cell()
50 const char *property, int *len) in getprop() argument
57 return fdt_getprop(fdt, offset, property, len); in getprop()
/Linux-v5.10/Documentation/firmware-guide/acpi/
DDSD-properties-rules.rst19 A device property is a data item consisting of a string key and a value (of a
30 A property set is a collection of properties applicable to a hardware entity
38 representation of property subsets is via the mechanism specified in the
41 Property sets may be hierarchical. That is, a property set may contain
42 multiple property subsets that each may contain property subsets of its
48 Valid property sets must follow the guidance given by the Device Properties UUID
55 return property sets which do not follow that rule from _DSD in data packages
62 principle, the property set may still not be regarded as a valid one.
76 property set.
81 It often is useful to make _DSD return property sets that follow Device Tree
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/
Dchosen.txt14 This property is used when booting with CONFIG_RANDOMIZE_BASE as the
26 Note that if this property is set from UEFI (or a bootloader in EFI
28 the Linux EFI stub (which will populate the property itself, using
35 with a stdout-path property under /chosen, as described in the Devicetree
66 Implementation note: Linux will look for the property "linux,stdout-path" or
69 should only use the "stdout-path" property.
74 This property is set (currently only on PowerPC, and only needed on
82 This property (arm64 only) holds a base address and size, describing a
86 This property describes a limitation: memory within this range is only
102 While this property does not represent a real hardware, the address
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/pwm/
Dpwm.txt8 with a property containing a 'pwm-list':
17 property must be documented in the device tree binding for each device.
18 An optional property "pwm-names" may contain a list of strings to label
19 each of the PWM devices listed in the "pwms" property. If no "pwm-names"
20 property is given, the name of the user node will be used as fallback.
23 "pwm-names" property to map the name of the PWM device requested by the
24 pwm_get() call to an index into the list given by the "pwms" property.
/Linux-v5.10/include/linux/mfd/
Dsyscon.h25 const char *property);
28 const char *property,
49 const char *property) in syscon_regmap_lookup_by_phandle() argument
56 const char *property, in syscon_regmap_lookup_by_phandle_args() argument
/Linux-v5.10/include/drm/
Ddrm_property.h234 static inline bool drm_property_type_is(struct drm_property *property, in drm_property_type_is() argument
238 if (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) in drm_property_type_is()
239 return (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) == type; in drm_property_type_is()
240 return property->flags & type; in drm_property_type_is()
266 int drm_property_add_enum(struct drm_property *property,
268 void drm_property_destroy(struct drm_device *dev, struct drm_property *property);

12345678910>>...51