Home
last modified time | relevance | path

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

123

/linux-4.19.296/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 …]
DMakefile3 thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o
/linux-4.19.296/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()
112 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()
Dpdt.c86 static struct property * __init of_pdt_build_one_prop(phandle node, char *prev, in of_pdt_build_one_prop()
91 static struct property *tmp = NULL; in of_pdt_build_one_prop()
92 struct property *p; in of_pdt_build_one_prop()
100 p = prom_early_alloc(sizeof(struct property) + 32); in of_pdt_build_one_prop()
133 static struct property * __init of_pdt_build_prop_list(phandle node) in of_pdt_build_prop_list()
135 struct property *head, *tail; in of_pdt_build_prop_list()
Dbase.c245 static struct property *__of_find_property(const struct device_node *np, in __of_find_property()
248 struct property *pp; in __of_find_property()
264 struct property *of_find_property(const struct device_node *np, in of_find_property()
268 struct property *pp; in of_find_property()
325 struct property *pp = __of_find_property(np, name, lenp); in __of_get_property()
337 struct property *pp = of_find_property(np, name, lenp); in of_get_property()
503 struct property *prop; in __of_device_is_compatible()
895 struct property *pp; in of_find_node_opts_by_path()
1043 struct property *pp; in of_find_node_with_property()
1730 int __of_add_property(struct device_node *np, struct property *prop) in __of_add_property()
[all …]
Dresolver.c44 struct property *prop; in adjust_overlay_phandles()
73 struct property *prop_fixup, phandle phandle) in update_usages_of_a_phandle_reference()
76 struct property *prop; in update_usages_of_a_phandle_reference()
163 struct property *prop_fix, *prop; in adjust_local_phandle_references()
261 struct property *prop; in of_resolve_phandles()
Ddynamic.c112 struct property *prop, *old_prop = NULL; in of_reconfig_get_state_change()
189 struct property *prop, struct property *oldprop) in of_property_notify()
311 static void property_list_free(struct property *prop_list) in property_list_free()
313 struct property *prop, *next; in property_list_free()
380 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags) in __of_prop_dup()
382 struct property *new; in __of_prop_dup()
443 struct property *pp, *new_pp; in __of_node_dup()
571 struct property *old_prop, **propp; in __of_changeset_entry_apply()
912 struct device_node *np, struct property *prop) in of_changeset_action()
Dproperty.c46 struct property *prop = of_find_property(np, propname, NULL); in of_property_count_elems_of_size()
81 struct property *prop = of_find_property(np, propname, NULL); in of_find_property_value_of_size()
396 const struct property *prop = of_find_property(np, propname, NULL); in of_property_read_string()
420 const struct property *prop = of_find_property(np, propname, NULL); in of_property_match_string()
460 const struct property *prop = of_find_property(np, propname, NULL); in of_property_read_string_helper()
483 const __be32 *of_prop_next_u32(struct property *prop, const __be32 *cur, in of_prop_next_u32()
506 const char *of_prop_next_string(struct property *prop, const char *cur) in of_prop_next_string()
Doverlay.c197 static struct property *dup_and_fixup_symbol_prop( in dup_and_fixup_symbol_prop()
198 struct overlay_changeset *ovcs, const struct property *prop) in dup_and_fixup_symbol_prop()
201 struct property *new_prop; in dup_and_fixup_symbol_prop()
303 struct target *target, struct property *overlay_prop, in add_changeset_property()
306 struct property *new_prop = NULL, *prop; in add_changeset_property()
494 struct property *prop; in build_changeset_next_level()
526 struct property *prop; in build_changeset_symbols_node()
DMakefile2 obj-y = base.o device.o platform.o property.o
/linux-4.19.296/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-4.19.296/include/linux/
Dof.h31 struct property { struct
35 struct property *next; argument
58 struct property *properties; argument
59 struct property *deadprops; /* removed properties */
101 struct property *prop;
102 struct property *old_prop;
212 static inline int of_property_check_flag(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()
312 extern struct property *of_find_property(const struct device_node *np,
[all …]
Dpower_supply.h338 const char *property);
340 struct device *dev, const char *property);
343 power_supply_get_by_phandle(struct device_node *np, const char *property) in power_supply_get_by_phandle() argument
346 devm_power_supply_get_by_phandle(struct device *dev, const char *property) in devm_power_supply_get_by_phandle() argument
Dthunderbolt.h165 #define tb_property_for_each(dir, property) \ argument
166 for (property = tb_property_get_next(dir, NULL); \
167 property; \
168 property = tb_property_get_next(dir, property))
/linux-4.19.296/include/drm/
Ddrm_property.h231 static inline bool drm_property_type_is(struct drm_property *property, in drm_property_type_is() argument
235 if (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) in drm_property_type_is()
236 return (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) == type; in drm_property_type_is()
237 return property->flags & type; in drm_property_type_is()
263 int drm_property_add_enum(struct drm_property *property,
265 void drm_property_destroy(struct drm_device *dev, struct drm_property *property);
Ddrm_mode_object.h124 struct drm_property *property,
127 struct drm_property *property,
131 struct drm_property *property,
Ddrm_plane.h305 struct drm_property *property, uint64_t val);
395 struct drm_property *property,
418 struct drm_property *property,
726 struct drm_property *property,
Ddrm_crtc.h582 struct drm_property *property, uint64_t val);
672 struct drm_property *property,
694 struct drm_property *property,
Ddrm_connector.h662 int (*set_property)(struct drm_connector *connector, struct drm_property *property,
794 struct drm_property *property,
817 struct drm_property *property,
/linux-4.19.296/drivers/media/radio/si4713/
Dsi4713.c935 s32 *bit, s32 *mask, u16 *property, int *mul, in si4713_choose_econtrol_action() argument
943 *property = SI4713_TX_RDS_PI; in si4713_choose_econtrol_action()
947 *property = SI4713_TX_ACOMP_THRESHOLD; in si4713_choose_econtrol_action()
951 *property = SI4713_TX_ACOMP_GAIN; in si4713_choose_econtrol_action()
955 *property = SI4713_TX_PILOT_FREQUENCY; in si4713_choose_econtrol_action()
959 *property = SI4713_TX_ACOMP_ATTACK_TIME; in si4713_choose_econtrol_action()
963 *property = SI4713_TX_PILOT_DEVIATION; in si4713_choose_econtrol_action()
967 *property = SI4713_TX_AUDIO_DEVIATION; in si4713_choose_econtrol_action()
971 *property = SI4713_TX_RDS_DEVIATION; in si4713_choose_econtrol_action()
976 *property = SI4713_TX_RDS_PS_MISC; in si4713_choose_econtrol_action()
[all …]
/linux-4.19.296/include/linux/mfd/
Dsyscon.h29 const char *property);
48 const char *property) in syscon_regmap_lookup_by_phandle() argument
/linux-4.19.296/drivers/of/unittest-data/
Dtests-phandle.dtsi54 empty-property;
55 string-property = "foobar";
Doverlay_9.dts9 property-foo = "bar";
/linux-4.19.296/fs/openpromfs/
Dinode.c32 struct property *prop;
67 struct property *prop = f->private; in property_show()
183 struct property *prop; in openpromfs_lookup()
268 struct property *prop; in openpromfs_readdir()

123