Home
last modified time | relevance | path

Searched refs:propname (Results 1 – 25 of 52) sorted by relevance

123

/linux/drivers/base/
H A Dproperty.c38 * @propname: Name of the property
40 * Check if property @propname is present in the device firmware description.
44 * Return: true if property @propname is present. Otherwise, returns false.
46 bool device_property_present(const struct device *dev, const char *propname) in device_property_present() argument
48 return fwnode_property_present(dev_fwnode(dev), propname); in device_property_present()
55 * @propname: Name of the property
57 * Check if property @propname is present in the firmware node description.
61 * Return: true if property @propname is present. Otherwise, returns false.
64 const char *propname) in fwnode_property_present() argument
71 ret = fwnode_call_bool_op(fwnode, property_present, propname); in fwnode_property_present()
88 device_property_read_bool(const struct device * dev,const char * propname) device_property_read_bool() argument
104 fwnode_property_read_bool(const struct fwnode_handle * fwnode,const char * propname) fwnode_property_read_bool() argument
140 device_property_read_u8_array(const struct device * dev,const char * propname,u8 * val,size_t nval) device_property_read_u8_array() argument
168 device_property_read_u16_array(const struct device * dev,const char * propname,u16 * val,size_t nval) device_property_read_u16_array() argument
196 device_property_read_u32_array(const struct device * dev,const char * propname,u32 * val,size_t nval) device_property_read_u32_array() argument
224 device_property_read_u64_array(const struct device * dev,const char * propname,u64 * val,size_t nval) device_property_read_u64_array() argument
252 device_property_read_string_array(const struct device * dev,const char * propname,const char ** val,size_t nval) device_property_read_string_array() argument
274 device_property_read_string(const struct device * dev,const char * propname,const char ** val) device_property_read_string() argument
296 device_property_match_string(const struct device * dev,const char * propname,const char * string) device_property_match_string() argument
304 fwnode_property_read_int_array(const struct fwnode_handle * fwnode,const char * propname,unsigned int elem_size,void * val,size_t nval) fwnode_property_read_int_array() argument
344 fwnode_property_read_u8_array(const struct fwnode_handle * fwnode,const char * propname,u8 * val,size_t nval) fwnode_property_read_u8_array() argument
373 fwnode_property_read_u16_array(const struct fwnode_handle * fwnode,const char * propname,u16 * val,size_t nval) fwnode_property_read_u16_array() argument
402 fwnode_property_read_u32_array(const struct fwnode_handle * fwnode,const char * propname,u32 * val,size_t nval) fwnode_property_read_u32_array() argument
431 fwnode_property_read_u64_array(const struct fwnode_handle * fwnode,const char * propname,u64 * val,size_t nval) fwnode_property_read_u64_array() argument
460 fwnode_property_read_string_array(const struct fwnode_handle * fwnode,const char * propname,const char ** val,size_t nval) fwnode_property_read_string_array() argument
494 fwnode_property_read_string(const struct fwnode_handle * fwnode,const char * propname,const char ** val) fwnode_property_read_string() argument
518 fwnode_property_match_string(const struct fwnode_handle * fwnode,const char * propname,const char * string) fwnode_property_match_string() argument
563 fwnode_property_match_property_string(const struct fwnode_handle * fwnode,const char * propname,const char * const * array,size_t n) fwnode_property_match_property_string() argument
[all...]
H A Dcacheinfo.c160 const char *propname; in cache_size() local
164 propname = cache_type_info[ct_idx].size_prop; in cache_size()
166 of_property_read_u32(np, propname, &this_leaf->size); in cache_size()
181 const char *propname; in cache_get_line_size() local
183 propname = cache_type_info[ct_idx].line_size_props[i]; in cache_get_line_size()
184 ret = of_property_read_u32(np, propname, &line_size); in cache_get_line_size()
194 const char *propname; in cache_nr_sets() local
198 propname = cache_type_info[ct_idx].nr_sets_prop; in cache_nr_sets()
200 of_property_read_u32(np, propname, &this_leaf->number_of_sets); in cache_nr_sets()
/linux/include/linux/
H A Dof.h316 extern bool of_property_read_bool(const struct device_node *np, const char *propname);
318 const char *propname, int elem_size);
320 const char *propname,
323 const char *propname,
326 const char *propname,
329 const char *propname,
332 const char *propname, u8 *out_values,
335 const char *propname, u16 *out_values,
338 const char *propname,
343 const char *propname, u6
655 of_property_read_bool(const struct device_node * np,const char * propname) of_property_read_bool() argument
661 of_property_count_elems_of_size(const struct device_node * np,const char * propname,int elem_size) of_property_count_elems_of_size() argument
667 of_property_read_u8_index(const struct device_node * np,const char * propname,u32 index,u8 * out_value) of_property_read_u8_index() argument
673 of_property_read_u16_index(const struct device_node * np,const char * propname,u32 index,u16 * out_value) of_property_read_u16_index() argument
679 of_property_read_u32_index(const struct device_node * np,const char * propname,u32 index,u32 * out_value) of_property_read_u32_index() argument
685 of_property_read_u64_index(const struct device_node * np,const char * propname,u32 index,u64 * out_value) of_property_read_u64_index() argument
735 of_property_read_variable_u8_array(const struct device_node * np,const char * propname,u8 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u8_array() argument
742 of_property_read_variable_u16_array(const struct device_node * np,const char * propname,u16 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u16_array() argument
749 of_property_read_variable_u32_array(const struct device_node * np,const char * propname,u32 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u32_array() argument
758 of_property_read_u64(const struct device_node * np,const char * propname,u64 * out_value) of_property_read_u64() argument
764 of_property_read_variable_u64_array(const struct device_node * np,const char * propname,u64 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u64_array() argument
773 of_property_read_string(const struct device_node * np,const char * propname,const char ** out_string) of_property_read_string() argument
780 of_property_match_string(const struct device_node * np,const char * propname,const char * string) of_property_match_string() argument
787 of_property_read_string_helper(const struct device_node * np,const char * propname,const char ** out_strs,size_t sz,int index) of_property_read_string_helper() argument
1207 of_property_count_u8_elems(const struct device_node * np,const char * propname) of_property_count_u8_elems() argument
1226 of_property_count_u16_elems(const struct device_node * np,const char * propname) of_property_count_u16_elems() argument
1245 of_property_count_u32_elems(const struct device_node * np,const char * propname) of_property_count_u32_elems() argument
1264 of_property_count_u64_elems(const struct device_node * np,const char * propname) of_property_count_u64_elems() argument
1283 of_property_read_string_array(const struct device_node * np,const char * propname,const char ** out_strs,size_t sz) of_property_read_string_array() argument
1303 of_property_count_strings(const struct device_node * np,const char * propname) of_property_count_strings() argument
1328 of_property_read_string_index(const struct device_node * np,const char * propname,int index,const char ** output) of_property_read_string_index() argument
1344 of_property_present(const struct device_node * np,const char * propname) of_property_present() argument
1372 of_property_read_u8_array(const struct device_node * np,const char * propname,u8 * out_values,size_t sz) of_property_read_u8_array() argument
1404 of_property_read_u16_array(const struct device_node * np,const char * propname,u16 * out_values,size_t sz) of_property_read_u16_array() argument
1434 of_property_read_u32_array(const struct device_node * np,const char * propname,u32 * out_values,size_t sz) of_property_read_u32_array() argument
1464 of_property_read_u64_array(const struct device_node * np,const char * propname,u64 * out_values,size_t sz) of_property_read_u64_array() argument
1476 of_property_read_u8(const struct device_node * np,const char * propname,u8 * out_value) of_property_read_u8() argument
1483 of_property_read_u16(const struct device_node * np,const char * propname,u16 * out_value) of_property_read_u16() argument
1490 of_property_read_u32(const struct device_node * np,const char * propname,u32 * out_value) of_property_read_u32() argument
1497 of_property_read_s32(const struct device_node * np,const char * propname,s32 * out_value) of_property_read_s32() argument
1504 of_property_read_s32_index(const struct device_node * np,const char * propname,u32 index,s32 * out_value) of_property_read_s32_index() argument
1516 of_property_for_each_u32(np,propname,u) global() argument
1523 of_property_for_each_string(np,propname,prop,s) global() argument
[all...]
/linux/drivers/of/
H A Dproperty.c38 * @propname: name of the property to be searched.
45 bool of_property_read_bool(const struct device_node *np, const char *propname) in of_property_read_bool() argument
47 struct property *prop = of_find_property(np, propname, NULL); in of_property_read_bool()
55 pr_warn("%pOF: Read of boolean property '%s' with a value.\n", np, propname); in of_property_read_bool()
85 * @propname: name of the property to be searched.
96 const char *propname, int elem_size) in of_property_count_elems_of_size() argument
98 const struct property *prop = of_find_property(np, propname, NULL); in of_property_count_elems_of_size()
107 propname, np, elem_size); in of_property_count_elems_of_size()
119 * @propname: name of the property to be searched.
132 const char *propname, u3 in of_find_property_value_of_size() argument
169 of_property_read_u8_index(const struct device_node * np,const char * propname,u32 index,u8 * out_value) of_property_read_u8_index() argument
202 of_property_read_u16_index(const struct device_node * np,const char * propname,u32 index,u16 * out_value) of_property_read_u16_index() argument
235 of_property_read_u32_index(const struct device_node * np,const char * propname,u32 index,u32 * out_value) of_property_read_u32_index() argument
269 of_property_read_u64_index(const struct device_node * np,const char * propname,u32 index,u64 * out_value) of_property_read_u64_index() argument
309 of_property_read_variable_u8_array(const struct device_node * np,const char * propname,u8 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u8_array() argument
359 of_property_read_variable_u16_array(const struct device_node * np,const char * propname,u16 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u16_array() argument
406 of_property_read_variable_u32_array(const struct device_node * np,const char * propname,u32 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u32_array() argument
446 of_property_read_u64(const struct device_node * np,const char * propname,u64 * out_value) of_property_read_u64() argument
484 of_property_read_variable_u64_array(const struct device_node * np,const char * propname,u64 * out_values,size_t sz_min,size_t sz_max) of_property_read_variable_u64_array() argument
530 of_property_read_string(const struct device_node * np,const char * propname,const char ** out_string) of_property_read_string() argument
560 of_property_match_string(const struct device_node * np,const char * propname,const char * string) of_property_match_string() argument
600 of_property_read_string_helper(const struct device_node * np,const char * propname,const char ** out_strs,size_t sz,int skip) of_property_read_string_helper() argument
1075 of_fwnode_property_present(const struct fwnode_handle * fwnode,const char * propname) of_fwnode_property_present() argument
1081 of_fwnode_property_read_bool(const struct fwnode_handle * fwnode,const char * propname) of_fwnode_property_read_bool() argument
1087 of_fwnode_property_read_int_array(const struct fwnode_handle * fwnode,const char * propname,unsigned int elem_size,void * val,size_t nval) of_fwnode_property_read_int_array() argument
1113 of_fwnode_property_read_string_array(const struct fwnode_handle * fwnode,const char * propname,const char ** val,size_t nval) of_fwnode_property_read_string_array() argument
[all...]
/linux/drivers/gpio/
H A Dgpiolib-of.c46 * @propname: property name containing gpio specifier(s)
67 const char *propname) in of_gpio_named_count() argument
69 return of_count_phandle_with_args(np, propname, "#gpio-cells"); in of_gpio_named_count()
107 char propname[32]; in of_gpio_count() local
113 for_each_gpio_property_name(propname, con_id) { in of_gpio_count()
114 ret = of_gpio_named_count(np, propname); in of_gpio_count()
180 const char *propname, in of_gpio_try_fixup_polarity() argument
185 const char *propname; in of_gpio_try_fixup_polarity() member
257 !strcmp(propname, gpios[i].propname)) { in of_gpio_try_fixup_polarity()
265 of_gpio_set_polarity_by_property(const struct device_node * np,const char * propname,enum of_gpio_flags * flags) of_gpio_set_polarity_by_property() argument
344 of_gpio_flags_quirks(const struct device_node * np,const char * propname,enum of_gpio_flags * flags,int index) of_gpio_flags_quirks() argument
418 of_get_named_gpiod_flags(const struct device_node * np,const char * propname,int index,enum of_gpio_flags * flags) of_get_named_gpiod_flags() argument
700 char propname[32]; /* 32 is max size of property name */ of_find_gpio() local
[all...]
H A Dgpiolib-acpi-core.c789 static int acpi_gpio_property_lookup(struct fwnode_handle *fwnode, const char *propname, in acpi_gpio_property_lookup()
801 ret = __acpi_node_get_property_reference(fwnode, propname, index, 3, &args); in acpi_gpio_property_lookup()
806 if (!acpi_get_driver_gpio_data(adev, propname, index, &args, &quirks)) in acpi_gpio_property_lookup()
831 * @propname: Property name of the GPIO (optional)
839 * If @propname is specified the GPIO is looked using device property. In
852 static int acpi_get_gpiod_by_index(struct acpi_device *adev, const char *propname, in acpi_get_gpiod_by_index()
859 if (propname) { in acpi_get_gpiod_by_index()
860 dev_dbg(&adev->dev, "GPIO: looking up %s\n", propname); in acpi_get_gpiod_by_index()
862 ret = acpi_gpio_property_lookup(acpi_fwnode_handle(adev), propname, lookup); in acpi_get_gpiod_by_index()
880 * @propname
787 acpi_gpio_property_lookup(struct fwnode_handle * fwnode,const char * propname,struct acpi_gpio_lookup * lookup) acpi_gpio_property_lookup() argument
850 acpi_get_gpiod_by_index(struct acpi_device * adev,const char * propname,struct acpi_gpio_lookup * lookup) acpi_get_gpiod_by_index() argument
891 acpi_get_gpiod_from_data(struct fwnode_handle * fwnode,const char * propname,struct acpi_gpio_lookup * lookup) acpi_get_gpiod_from_data() argument
930 char propname[32]; __acpi_find_gpio() local
1363 char propname[32]; acpi_gpio_count() local
[all...]
/linux/drivers/input/
H A Dmatrix-keymap.c76 static int matrix_keypad_parse_keymap(const char *propname, in matrix_keypad_parse_keymap()
87 if (!propname) in matrix_keypad_parse_keymap()
88 propname = "linux,keymap"; in matrix_keypad_parse_keymap()
90 size = device_property_count_u32(dev, propname); in matrix_keypad_parse_keymap()
93 propname, size); in matrix_keypad_parse_keymap()
99 propname, size, max_keys); in matrix_keypad_parse_keymap()
107 error = device_property_read_u32_array(dev, propname, keys, size); in matrix_keypad_parse_keymap()
110 propname, error); in matrix_keypad_parse_keymap()
69 matrix_keypad_parse_keymap(const char * propname,unsigned int rows,unsigned int cols,struct input_dev * input_dev) matrix_keypad_parse_keymap() argument
/linux/drivers/acpi/
H A Dproperty.c719 const union acpi_object *propname, *propvalue; in acpi_data_get_property() local
724 propname = &property->package.elements[0]; in acpi_data_get_property()
727 if (!strcmp(name, propname->string.pointer)) { in acpi_data_get_property()
776 const char *propname, void **valptr) in acpi_node_prop_get() argument
779 propname, ACPI_TYPE_ANY, in acpi_node_prop_get()
948 const char *propname, const char *nargs_prop, in acpi_fwnode_get_reference_args() argument
963 ret = acpi_data_get_property(data, propname, ACPI_TYPE_ANY, &obj); in acpi_fwnode_get_reference_args()
1106 const char *propname, size_t index, in __acpi_node_get_property_reference() argument
1110 return acpi_fwnode_get_reference_args(fwnode, propname, NULL, num_args, index, args); in __acpi_node_get_property_reference()
1115 const char *propname, in acpi_data_prop_read_single() argument
[all …]
/linux/drivers/iio/adc/
H A Dad7191.c156 const char *propname; in ad7191_config_setup() local
162 propname = "adi,odr-value"; in ad7191_config_setup()
163 if (device_property_present(dev, propname)) { in ad7191_config_setup()
164 ret = device_property_read_u32(dev, propname, &odr_value); in ad7191_config_setup()
166 return dev_err_probe(dev, ret, "Failed to get %s.\n", propname); in ad7191_config_setup()
204 propname = "adi,pga-value"; in ad7191_config_setup()
205 if (device_property_present(dev, propname)) { in ad7191_config_setup()
206 ret = device_property_read_u32(dev, propname, &pga_value); in ad7191_config_setup()
208 return dev_err_probe(dev, ret, "Failed to get %s.\n", propname); in ad7191_config_setup()
/linux/drivers/phy/
H A Dphy-can-transceiver.c130 const char *propname; in can_transceiver_phy_probe() local
156 propname = "max-bitrate"; in can_transceiver_phy_probe()
157 if (device_property_present(dev, propname)) { in can_transceiver_phy_probe()
158 err = device_property_read_u32(dev, propname, &max_bitrate); in can_transceiver_phy_probe()
160 return dev_err_probe(dev, err, "failed to parse %s\n", propname); in can_transceiver_phy_probe()
/linux/drivers/input/keyboard/
H A Dmax7360-keypad.c139 const char *propname = "linux,keymap"; in max7360_keypad_build_keymap() local
144 size = device_property_count_u32(dev, propname); in max7360_keypad_build_keymap()
146 dev_err(dev, "missing or malformed property %s: %d\n", propname, size); in max7360_keypad_build_keymap()
152 dev_err(dev, "%s size overflow (%d vs max %u)\n", propname, size, max_keys); in max7360_keypad_build_keymap()
160 error = device_property_read_u32_array(dev, propname, keys, size); in max7360_keypad_build_keymap()
162 dev_err(dev, "failed to read %s property: %d\n", propname, error); in max7360_keypad_build_keymap()
/linux/arch/powerpc/boot/
H A Dops.h47 const char *propname,
145 const char *propname, in find_node_by_prop_value() argument
149 return dt_ops.find_node_by_prop_value(prev, propname, in find_node_by_prop_value()
156 const char *propname, in find_node_by_prop_value_str() argument
159 return find_node_by_prop_value(prev, propname, propval, in find_node_by_prop_value_str()
/linux/include/linux/soc/samsung/
H A Dexynos-pmu.h26 const char *propname);
34 const char *propname) in exynos_get_pmu_regmap_by_phandle() argument
/linux/sound/soc/
H A Dsoc-core.c2405 const char *propname)
2417 ret = of_property_read_string_index(np, propname, 0, &card->name); in snd_soc_add_dai_controls()
2426 propname, ret);
2442 const char *propname) in snd_soc_register_card()
2449 num_widgets = of_property_count_strings(np, propname); in snd_soc_register_card()
2452 "ASoC: Property '%s' does not exist\n", propname); in snd_soc_register_card()
2457 propname); in snd_soc_register_card()
2462 "ASoC: Property '%s' length is not even\n", propname);
2476 int ret = of_property_read_string_index(np, propname, in snd_soc_unregister_card()
2481 propname,
2841 snd_soc_of_parse_card_name(struct snd_soc_card * card,const char * propname) snd_soc_of_parse_card_name() argument
2878 snd_soc_of_parse_audio_simple_widgets(struct snd_soc_card * card,const char * propname) snd_soc_of_parse_audio_simple_widgets() argument
3067 snd_soc_of_parse_node_prefix(struct device_node * np,struct snd_soc_codec_conf * codec_conf,struct device_node * of_node,const char * propname) snd_soc_of_parse_node_prefix() argument
3084 snd_soc_of_parse_audio_routing(struct snd_soc_card * card,const char * propname) snd_soc_of_parse_audio_routing() argument
3134 snd_soc_of_parse_aux_devs(struct snd_soc_card * card,const char * propname) snd_soc_of_parse_aux_devs() argument
3166 snd_soc_of_parse_ignore_suspend_widgets(struct snd_soc_card * card,const char * propname) snd_soc_of_parse_ignore_suspend_widgets() argument
[all...]
/linux/drivers/pinctrl/
H A Ddevicetree.c208 char *propname; in pinctrl_dt_to_map() local
230 propname = kasprintf(GFP_KERNEL, "pinctrl-%d", state); in pinctrl_dt_to_map()
231 if (!propname) { in pinctrl_dt_to_map()
235 prop = of_find_property(np, propname, &size); in pinctrl_dt_to_map()
236 kfree(propname); in pinctrl_dt_to_map()
/linux/drivers/virt/
H A Dfsl_hypervisor.c336 char *path, *propname; in ioctl_dtprop() local
345 upropname = (char __user *)(uintptr_t)param.propname; in ioctl_dtprop()
352 propname = strndup_user(upropname, FH_DTPROP_MAX_PATHLEN); in ioctl_dtprop()
353 if (IS_ERR(propname)) { in ioctl_dtprop()
354 ret = PTR_ERR(propname); in ioctl_dtprop()
377 virt_to_phys(propname), in ioctl_dtprop()
383 virt_to_phys(propname), in ioctl_dtprop()
402 kfree(propname); in ioctl_dtprop()
/linux/drivers/clk/at91/
H A Dpmc.c24 int of_at91_get_clk_range(struct device_node *np, const char *propname, in of_at91_get_clk_range() argument
30 ret = of_property_read_u32_index(np, propname, 0, &min); in of_at91_get_clk_range()
34 ret = of_property_read_u32_index(np, propname, 1, &max); in of_at91_get_clk_range()
/linux/arch/powerpc/kernel/
H A Dcacheinfo.c211 const char *propname; in cache_size() local
214 propname = cache_type_info[cache->type].size_prop; in cache_size()
216 cache_size = of_get_property(cache->ofnode, propname, NULL); in cache_size()
244 const char *propname; in cache_get_line_size() local
246 propname = cache_type_info[cache->type].line_size_props[i]; in cache_get_line_size()
247 line_size = of_get_property(cache->ofnode, propname, NULL); in cache_get_line_size()
261 const char *propname; in cache_nr_sets() local
264 propname = cache_type_info[cache->type].nr_sets_prop; in cache_nr_sets()
266 nr_sets = of_get_property(cache->ofnode, propname, NULL); in cache_nr_sets()
/linux/sound/soc/meson/
H A Daxg-card.c163 char propname[32]; in axg_card_parse_cpu_tdm_slots()
173 snprintf(propname, 32, "dai-tdm-slot-tx-mask-%d", i); in axg_card_parse_cpu_tdm_slots()
174 snd_soc_of_get_slot_mask(node, propname, &be->tx_mask[i]); in axg_card_parse_cpu_tdm_slots()
183 snprintf(propname, 32, "dai-tdm-slot-rx-mask-%d", i); in axg_card_parse_cpu_tdm_slots()
184 snd_soc_of_get_slot_mask(node, propname, &be->rx_mask[i]); in axg_card_parse_cpu_tdm_slots()
161 char propname[32]; axg_card_parse_cpu_tdm_slots() local
H A Dmeson-card-utils.c222 const char *propname, in meson_card_parse_of_optional()
229 if (!of_property_present(dev->of_node, propname)) in meson_card_parse_of_optional()
233 return func(card, propname); in meson_card_parse_of_optional()
223 meson_card_parse_of_optional(struct snd_soc_card * card,const char * propname,int (* func)(struct snd_soc_card * c,const char * p)) meson_card_parse_of_optional() argument
/linux/drivers/soundwire/
H A Dmipi_disco.c26 const char *propname) in mipi_fwnode_property_read_bool() argument
31 if (!fwnode_property_present(fwnode, propname)) in mipi_fwnode_property_read_bool()
33 ret = fwnode_property_read_u8_array(fwnode, propname, &val, 1); in mipi_fwnode_property_read_bool()
40 const char *propname) in mipi_device_property_read_bool() argument
42 return mipi_fwnode_property_read_bool(dev_fwnode(dev), propname); in mipi_device_property_read_bool()
/linux/sound/soc/codecs/
H A Dtlv320adc3xxx.c1115 const char *propname, unsigned int *cfg) in adc3xxx_parse_dt_gpio() argument
1121 if (!of_property_read_u32(np, propname, &val)) { in adc3xxx_parse_dt_gpio()
1123 dev_err(dev, "Invalid property value for '%s'\n", propname); in adc3xxx_parse_dt_gpio()
1134 const char *propname, in adc3xxx_parse_dt_micbias_gpo() argument
1140 *cfg = of_property_read_bool(np, propname); in adc3xxx_parse_dt_micbias_gpo()
1145 const char *propname, unsigned int *vg) in adc3xxx_parse_dt_micbias_vg() argument
1151 if (!of_property_read_u32(np, propname, &val)) { in adc3xxx_parse_dt_micbias_vg()
1153 dev_err(dev, "Invalid property value for '%s'\n", propname); in adc3xxx_parse_dt_micbias_vg()
/linux/drivers/soc/samsung/
H A Dexynos-pmu.c186 * @propname: Name of property holding phandle value
194 const char *propname) in exynos_get_pmu_regmap_by_phandle()
199 if (propname) in exynos_get_pmu_regmap_by_phandle()
200 pmu_np = of_parse_phandle(np, propname, 0); in exynos_get_pmu_regmap_by_phandle()
215 if (propname) in exynos_get_pmu_regmap_by_phandle()
189 exynos_get_pmu_regmap_by_phandle(struct device_node * np,const char * propname) exynos_get_pmu_regmap_by_phandle() argument
/linux/arch/powerpc/kexec/
H A Dfile_load_64.c670 const char *propname) in copy_property() argument
675 prop = of_get_property(dn, propname, &len); in copy_property()
676 fdtprop = fdt_getprop(fdt, node_offset, propname, &fdtlen); in copy_property()
679 return fdt_delprop(fdt, node_offset, propname); in copy_property()
681 return fdt_setprop(fdt, node_offset, propname, prop, len); in copy_property()
/linux/sound/soc/mediatek/common/
H A Dmtk-dsp-sof-common.c231 const char *propname) in mtk_sof_dailink_parse_of() argument
250 ret = of_property_read_string_index(np, propname, i, &dai_name); in mtk_sof_dailink_parse_of()
253 propname, i, ret); in mtk_sof_dailink_parse_of()

123