| /linux/drivers/gpu/drm/ |
| H A D | drm_property.c | 101 struct drm_property *property = NULL; in drm_property_create() local 110 property = kzalloc(sizeof(struct drm_property), GFP_KERNEL); in drm_property_create() 111 if (!property) in drm_property_create() 114 property->dev = dev; in drm_property_create() 117 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create() 119 if (!property->values) in drm_property_create() 123 ret = drm_mode_object_add(dev, &property->base, DRM_MODE_OBJECT_PROPERTY); in drm_property_create() 127 property->flags = flags; in drm_property_create() 128 property->num_values = num_values; in drm_property_create() 129 INIT_LIST_HEAD(&property->enum_list); in drm_property_create() [all …]
|
| H A D | drm_atomic_uapi.c | 397 struct drm_crtc_state *state, struct drm_property *property, in drm_atomic_crtc_set_property() argument 405 if (property == config->prop_active) in drm_atomic_crtc_set_property() 407 else if (property == config->prop_mode_id) { in drm_atomic_crtc_set_property() 413 } else if (property == config->prop_vrr_enabled) { in drm_atomic_crtc_set_property() 415 } else if (property == config->degamma_lut_property) { in drm_atomic_crtc_set_property() 423 } else if (property == config->ctm_property) { in drm_atomic_crtc_set_property() 431 } else if (property == config->gamma_lut_property) { in drm_atomic_crtc_set_property() 439 } else if (property == config->prop_out_fence_ptr) { in drm_atomic_crtc_set_property() 449 } else if (property == crtc->scaling_filter_property) { in drm_atomic_crtc_set_property() 451 } else if (property == crtc->sharpness_strength_property) { in drm_atomic_crtc_set_property() [all …]
|
| H A D | drm_mode_object.c | 236 struct drm_property *property, in drm_object_attach_property() argument 240 struct drm_device *dev = property->dev; in drm_object_attach_property() 260 obj->properties->properties[count] = property; in drm_object_attach_property() 286 struct drm_property *property, uint64_t val) in drm_object_property_set_value() argument 290 WARN_ON(drm_drv_uses_atomic_modeset(property->dev) && in drm_object_property_set_value() 291 !(property->flags & DRM_MODE_PROP_IMMUTABLE)); in drm_object_property_set_value() 294 if (obj->properties->properties[i] == property) { in drm_object_property_set_value() 305 struct drm_property *property, in __drm_object_property_get_prop_value() argument 311 if (obj->properties->properties[i] == property) { in __drm_object_property_get_prop_value() 321 struct drm_property *property, in __drm_object_property_get_value() argument [all …]
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm-nsp-ax.dtsi | 13 /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/drivers/mfd/ |
| H A D | si476x-prop.c | 46 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/drivers/gpu/drm/logicvc/ |
| H A D | logicvc_of.c | 129 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/drivers/of/ |
| H A D | of_private.h | 51 struct property *prop, struct property *old_prop); 61 struct property *prop, struct property *old_prop) in of_property_notify() 75 int __of_add_property_sysfs(struct device_node *np, struct property *pp); 76 void __of_remove_property_sysfs(struct device_node *np, const struct property *prop); 77 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, 78 const struct property *oldprop); 82 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs() 86 static inline void __of_remove_property_sysfs(struct device_node *np, const struct property *prop) … in __of_remove_property_sysfs() 88 struct property *newprop, const struct property *oldprop) {} in __of_update_property_sysfs() 131 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags); [all …]
|
| H A D | kobj.c | 35 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, const struct property *prop) in __of_sysfs_remove_bin_file() 96 void __of_remove_property_sysfs(struct device_node *np, const 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 const 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()
|
| H A D | dynamic.c | 109 struct property *prop, *old_prop = NULL; in of_reconfig_get_state_change() 186 struct property *prop, struct property *oldprop) in of_property_notify() 310 void __of_prop_free(struct property *prop) in __of_prop_free() 317 static void property_list_free(struct property *prop_list) in property_list_free() 319 struct property *prop, *next; in property_list_free() 410 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags) in __of_prop_dup() 412 struct property *new; in __of_prop_dup() 472 struct property *pp, *new_pp; in __of_node_dup() 904 struct device_node *np, struct property *prop) in of_changeset_action() 928 const struct property *pp) in of_changeset_add_prop_helper() [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6ulz.dtsi | 9 /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;
|
| H A D | imx6q-apalis-ixora-v1.1.dts | 24 /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/Documentation/devicetree/bindings/interrupt-controller/ |
| H A D | interrupts.txt | 8 "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/Documentation/devicetree/bindings/powerpc/ |
| H A D | ibm,powerpc-cpu-features.txt | 43 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/include/linux/mfd/ |
| H A D | syscon.h | 24 const char *property); 26 const char *property, 30 const char *property); 51 const char *property) in syscon_regmap_lookup_by_phandle() argument 58 const char *property, in syscon_regmap_lookup_by_phandle_args() argument 67 const char *property) in syscon_regmap_lookup_by_phandle_optional() argument
|
| /linux/Documentation/devicetree/bindings/x86/ |
| H A D | ce4100.txt | 7 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/Documentation/firmware-guide/acpi/ |
| H A D | DSD-properties-rules.rst | 19 A device property is a data item consisting of a string key and a value (of a 32 A property set is a collection of properties applicable to a hardware entity 40 representation of property subsets is via the mechanism specified in the 45 Property sets may be hierarchical. That is, a property set may contain 46 multiple property subsets that each may contain property subsets of its 52 Valid property sets must follow the guidance given by the Device Properties UUID 59 return property sets which do not follow that rule from _DSD in data packages 66 principle, the property set may still not be regarded as a valid one. 80 property set. 85 It often is useful to make _DSD return property sets that follow Device Tree [all …]
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | base_device.py | 57 @property 65 @property 79 @property 96 @property 100 @property 104 @property 237 @property 243 @property 316 @property 324 @property [all …]
|
| /linux/arch/arm64/boot/dts/marvell/ |
| H A D | cn9131-db-comexpress.dtsi | 20 /delete-property/ gpios; 24 /delete-property/ gpio; 28 /delete-property/ gpio; 32 /delete-property/ gpio; 92 /delete-property/ phys; 99 /delete-property/ phys;
|
| /linux/arch/arm/boot/compressed/ |
| H A D | atags_to_fdt.c | 24 static int setprop(void *fdt, const char *node_path, const char *property, in setprop() argument 30 return fdt_setprop(fdt, offset, property, val_array, size); in setprop() 34 const char *property, const char *string) in setprop_string() argument 39 return fdt_setprop_string(fdt, offset, property, string); in setprop_string() 43 const char *property, uint32_t val) in setprop_cell() argument 48 return fdt_setprop_cell(fdt, offset, property, val); in setprop_cell() 52 const char *property, int *len) in getprop() argument 59 return fdt_getprop(fdt, offset, property, len); in getprop()
|
| /linux/Documentation/devicetree/bindings/pwm/ |
| H A D | pwm.txt | 8 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/include/linux/ |
| H A D | of.h | 28 struct property { struct 32 struct property *next; argument 54 struct property *properties; argument 55 struct property *deadprops; /* removed properties */ 96 struct property *prop; 97 struct property *old_prop; 212 static inline int of_property_check_flag(const struct property *p, unsigned long flag) in of_property_check_flag() 217 static inline void of_property_set_flag(struct property *p, unsigned long flag) in of_property_set_flag() 222 static inline void of_property_clear_flag(struct property *p, unsigned long flag) in of_property_clear_flag() 313 extern struct property *of_find_property(const struct device_node *np, [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32mp15xx-dhcor-drc-compact.dtsi | 200 /delete-property/dmas; 201 /delete-property/dma-names; 271 /delete-property/dmas; 272 /delete-property/dma-names; 279 /delete-property/dmas; 280 /delete-property/dma-names; 288 /delete-property/dmas; 289 /delete-property/dma-names; 298 /delete-property/dmas; 299 /delete-property/dma-names; [all …]
|
| H A D | stm32mp153c-lxa-fairytux2.dtsi | 291 /delete-property/dmas; 292 /delete-property/dma-names; 303 /delete-property/dmas; 304 /delete-property/dma-names; 315 /delete-property/dmas; 316 /delete-property/dma-names; 327 /delete-property/dmas; 328 /delete-property/dma-names; 347 /delete-property/dmas; 348 /delete-property/dma-names; [all …]
|
| H A D | stm32mp151a-prtt1l.dtsi | 123 /delete-property/ bias-disable; 147 /delete-property/ bias-disable; 152 /delete-property/ bias-disable; 157 /delete-property/ bias-disable; 162 /delete-property/ bias-disable; 171 /delete-property/dmas; 172 /delete-property/dma-names; 182 /delete-property/ bias-disable; 193 /delete-property/ bias-disable;
|
| /linux/include/drm/ |
| H A D | drm_property.h | 241 static inline bool drm_property_type_is(struct drm_property *property, in drm_property_type_is() argument 245 if (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) in drm_property_type_is() 246 return (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) == type; in drm_property_type_is() 247 return property->flags & type; in drm_property_type_is() 273 int drm_property_add_enum(struct drm_property *property, 275 void drm_property_destroy(struct drm_device *dev, struct drm_property *property);
|