Home
last modified time | relevance | path

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

12345678910>>...46

/Linux-v4.19/drivers/thunderbolt/
Dproperty.c85 struct tb_property *property; in tb_property_alloc() local
87 property = kzalloc(sizeof(*property), GFP_KERNEL); in tb_property_alloc()
88 if (!property) in tb_property_alloc()
91 strcpy(property->key, key); in tb_property_alloc()
92 property->type = type; in tb_property_alloc()
93 INIT_LIST_HEAD(&property->list); in tb_property_alloc()
95 return property; in tb_property_alloc()
102 struct tb_property *property; in tb_property_parse() local
111 property = tb_property_alloc(key, entry->type); in tb_property_parse()
112 if (!property) in tb_property_parse()
[all …]
/Linux-v4.19/drivers/gpu/drm/
Ddrm_property.c95 struct drm_property *property = NULL; in drm_property_create() local
104 property = kzalloc(sizeof(struct drm_property), GFP_KERNEL); in drm_property_create()
105 if (!property) in drm_property_create()
108 property->dev = dev; in drm_property_create()
111 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create()
113 if (!property->values) in drm_property_create()
117 ret = drm_mode_object_add(dev, &property->base, DRM_MODE_OBJECT_PROPERTY); in drm_property_create()
121 property->flags = flags; in drm_property_create()
122 property->num_values = num_values; in drm_property_create()
123 INIT_LIST_HEAD(&property->enum_list); in drm_property_create()
[all …]
Ddrm_atomic.c545 struct drm_crtc_state *state, struct drm_property *property, in drm_atomic_crtc_set_property() argument
553 if (property == config->prop_active) in drm_atomic_crtc_set_property()
555 else if (property == config->prop_mode_id) { in drm_atomic_crtc_set_property()
561 } else if (property == config->degamma_lut_property) { in drm_atomic_crtc_set_property()
569 } else if (property == config->ctm_property) { in drm_atomic_crtc_set_property()
577 } else if (property == config->gamma_lut_property) { in drm_atomic_crtc_set_property()
585 } else if (property == config->prop_out_fence_ptr) { in drm_atomic_crtc_set_property()
596 return crtc->funcs->atomic_set_property(crtc, state, property, val); in drm_atomic_crtc_set_property()
600 property->base.id, property->name); in drm_atomic_crtc_set_property()
626 struct drm_property *property, uint64_t *val) in drm_atomic_crtc_get_property() argument
[all …]
Ddrm_mode_object.c219 struct drm_property *property, in drm_object_attach_property() argument
232 obj->properties->properties[count] = property; in drm_object_attach_property()
258 struct drm_property *property, uint64_t val) in drm_object_property_set_value() argument
262 WARN_ON(drm_drv_uses_atomic_modeset(property->dev) && in drm_object_property_set_value()
263 !(property->flags & DRM_MODE_PROP_IMMUTABLE)); in drm_object_property_set_value()
266 if (obj->properties->properties[i] == property) { in drm_object_property_set_value()
277 struct drm_property *property, in __drm_object_property_get_value() argument
286 if (drm_drv_uses_atomic_modeset(property->dev) && in __drm_object_property_get_value()
287 !(property->flags & DRM_MODE_PROP_IMMUTABLE)) in __drm_object_property_get_value()
288 return drm_atomic_get_property(obj, property, val); in __drm_object_property_get_value()
[all …]
/Linux-v4.19/drivers/of/
Dof_private.h36 struct property *prop, struct property *old_prop);
46 struct property *prop, struct property *old_prop) in of_property_notify()
54 int __of_add_property_sysfs(struct device_node *np, struct property *pp);
55 void __of_remove_property_sysfs(struct device_node *np, struct property *prop);
56 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
57 struct property *oldprop);
61 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
65 static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} in __of_remove_property_sysfs()
67 struct property *newprop, struct property *oldprop) {} in __of_update_property_sysfs()
108 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()
149 struct property *pp; in __of_detach_node_sysfs()
/Linux-v4.19/drivers/mfd/
Dsi476x-prop.c54 u16 property) in si476x_core_is_valid_property_a10() argument
88 return si476x_core_element_is_in_range(property, valid_ranges, in si476x_core_is_valid_property_a10()
90 si476x_core_element_is_in_array(property, valid_properties, in si476x_core_is_valid_property_a10()
95 u16 property) in si476x_core_is_valid_property_a20() argument
108 return si476x_core_is_valid_property_a10(core, property) || in si476x_core_is_valid_property_a20()
109 si476x_core_element_is_in_range(property, valid_ranges, in si476x_core_is_valid_property_a20()
111 si476x_core_element_is_in_array(property, valid_properties, in si476x_core_is_valid_property_a20()
116 u16 property) in si476x_core_is_valid_property_a30() argument
134 return si476x_core_is_valid_property_a20(core, property) || in si476x_core_is_valid_property_a30()
135 si476x_core_element_is_in_range(property, valid_ranges, in si476x_core_is_valid_property_a30()
[all …]
/Linux-v4.19/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-v4.19/scripts/dtc/
Ddtc.h144 struct property { struct
149 struct property *next; argument
157 struct property *proplist; argument
199 struct property *build_property(char *name, struct data val);
200 struct property *build_property_delete(char *name);
201 struct property *chain_property(struct property *first, struct property *list);
202 struct property *reverse_properties(struct property *first);
204 struct node *build_node(struct property *proplist, struct node *children);
213 void add_property(struct node *node, struct property *prop);
215 void delete_property(struct property *prop);
[all …]
Dlivetree.c53 struct property *build_property(char *name, struct data val) in build_property()
55 struct property *new = xmalloc(sizeof(*new)); in build_property()
65 struct property *build_property_delete(char *name) in build_property_delete()
67 struct property *new = xmalloc(sizeof(*new)); in build_property_delete()
77 struct property *chain_property(struct property *first, struct property *list) in chain_property()
85 struct property *reverse_properties(struct property *first) in reverse_properties()
87 struct property *p = first; in reverse_properties()
88 struct property *head = NULL; in reverse_properties()
89 struct property *next; in reverse_properties()
100 struct node *build_node(struct property *proplist, struct node *children) in build_node()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/arm/marvell/
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:
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-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-v4.19/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 for use when a node needs
26 to reference multiple interrupt parents. Each entry in this property contains
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
/Linux-v4.19/Documentation/devicetree/bindings/arm/
Dspear.txt5 Required root node property:
9 Required root node property:
13 Required root node property:
17 Required root node property:
21 Required root node property:
25 Required root node property:
Dsti.txt5 Required root node property:
9 Required root node property:
13 Required root node property:
17 Required root node property:
21 Required root node property:
Dvt8500.txt5 Required root node property:
9 Required root node property:
13 Required root node property:
17 Required root node property:
21 Required root node property:
Damlogic.txt17 Required root node property:
21 Required root node property:
25 Required root node property:
29 Required root node property:
33 Required root node property:
37 Required root node property:
41 Required root node property:
45 Required root node property:
49 Required root node property:
53 Required root node property:
[all …]
/Linux-v4.19/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-v4.19/arch/powerpc/platforms/chrp/
Dsetup.c260 const char *property; in chrp_init() local
270 property = of_get_property(node, "model", NULL); in chrp_init()
271 if (!property) in chrp_init()
273 if (strcmp(property, "Pegasos2")) in chrp_init()
276 property = of_get_property(of_chosen, "linux,stdout-path", NULL); in chrp_init()
277 if (!property) in chrp_init()
280 node = of_find_node_by_path(property); in chrp_init()
283 property = of_get_property(node, "device_type", NULL); in chrp_init()
284 if (!property) in chrp_init()
286 if (strcmp(property, "serial")) in chrp_init()
[all …]
/Linux-v4.19/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-v4.19/arch/arm/boot/compressed/
Datags_to_fdt.c21 static int setprop(void *fdt, const char *node_path, const char *property, in setprop() argument
27 return fdt_setprop(fdt, offset, property, val_array, size); in setprop()
31 const char *property, const char *string) in setprop_string() argument
36 return fdt_setprop_string(fdt, offset, property, string); in setprop_string()
40 const char *property, uint32_t val) in setprop_cell() argument
45 return fdt_setprop_cell(fdt, offset, property, val); in setprop_cell()
49 const char *property, int *len) in getprop() argument
56 return fdt_getprop(fdt, offset, property, len); in getprop()
/Linux-v4.19/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.
61 specifier using the '#pwm-cells' property.
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_atomic.c49 struct drm_property *property, in intel_digital_connector_atomic_get_property() argument
57 if (property == dev_priv->force_audio_property) in intel_digital_connector_atomic_get_property()
59 else if (property == dev_priv->broadcast_rgb_property) in intel_digital_connector_atomic_get_property()
63 property->base.id, property->name); in intel_digital_connector_atomic_get_property()
81 struct drm_property *property, in intel_digital_connector_atomic_set_property() argument
89 if (property == dev_priv->force_audio_property) { in intel_digital_connector_atomic_set_property()
94 if (property == dev_priv->broadcast_rgb_property) { in intel_digital_connector_atomic_set_property()
100 property->base.id, property->name); in intel_digital_connector_atomic_set_property()

12345678910>>...46