/linux/include/linux/ |
A D | property.h | 55 const char *propname); 57 const char *propname, u8 *val, 60 const char *propname, u16 *val, 128 const char *propname) in device_property_read_bool() argument 178 const char *propname) in device_property_string_array_count() argument 184 const char *propname) in fwnode_property_read_bool() argument 214 const char *propname) in fwnode_property_count_u8() argument 220 const char *propname) in fwnode_property_count_u16() argument 226 const char *propname) in fwnode_property_count_u32() argument 232 const char *propname) in fwnode_property_count_u64() argument [all …]
|
A D | of.h | 322 const char *propname, 329 const char *propname, 335 const char *propname, 824 const char *propname, in of_property_read_variable_u32_array() argument 839 const char *propname, in of_property_read_variable_u64_array() argument 1094 const char *propname) in of_property_count_u8_elems() argument 1113 const char *propname) in of_property_count_u16_elems() argument 1132 const char *propname) in of_property_count_u32_elems() argument 1151 const char *propname) in of_property_count_u64_elems() argument 1215 const char *propname, in of_property_read_string_index() argument [all …]
|
A D | of_gpio.h | 102 const char *propname) in of_gpio_named_count() argument 104 return of_count_phandle_with_args(np, propname, "#gpio-cells"); in of_gpio_named_count() 134 const char *propname, int index) in of_get_named_gpio() argument 136 return of_get_named_gpio_flags(np, propname, index, NULL); in of_get_named_gpio()
|
A D | fwnode.h | 117 const char *propname); 119 const char *propname, 124 const char *propname, const char **val,
|
/linux/drivers/base/ |
A D | property.c | 46 const char *propname) in fwnode_property_present() argument 54 propname); in fwnode_property_present() 229 const char *propname, in fwnode_property_read_int_array() argument 265 const char *propname, u8 *val, size_t nval) in fwnode_property_read_u8_array() argument 291 const char *propname, u16 *val, size_t nval) in fwnode_property_read_u16_array() argument 317 const char *propname, u32 *val, size_t nval) in fwnode_property_read_u32_array() argument 343 const char *propname, u64 *val, size_t nval) in fwnode_property_read_u64_array() argument 369 const char *propname, const char **val, in fwnode_property_read_string_array() argument 379 property_read_string_array, propname, in fwnode_property_read_string_array() 401 const char *propname, const char **val) in fwnode_property_read_string() argument [all …]
|
A D | swnode.c | 131 const char *propname, size_t length) in property_entry_find() argument 136 prop = property_entry_get(props, propname); in property_entry_find() 149 const char *propname, size_t length) in property_entry_count_elems_of_size() argument 153 prop = property_entry_get(props, propname); in property_entry_count_elems_of_size() 186 const char *propname, in property_entry_read_string_array() argument 206 pointer = property_entry_find(props, propname, length); in property_entry_read_string_array() 383 const char *propname) in software_node_property_present() argument 391 const char *propname, in software_node_read_int_array() argument 402 const char *propname, in software_node_read_string_array() argument 408 propname, val, nval); in software_node_read_string_array() [all …]
|
A D | cacheinfo.c | 76 const char *propname; in cache_size() local 80 propname = cache_type_info[ct_idx].size_prop; in cache_size() 82 of_property_read_u32(np, propname, &this_leaf->size); in cache_size() 97 const char *propname; in cache_get_line_size() local 99 propname = cache_type_info[ct_idx].line_size_props[i]; in cache_get_line_size() 100 ret = of_property_read_u32(np, propname, &line_size); in cache_get_line_size() 110 const char *propname; in cache_nr_sets() local 114 propname = cache_type_info[ct_idx].nr_sets_prop; in cache_nr_sets() 116 of_property_read_u32(np, propname, &this_leaf->number_of_sets); in cache_nr_sets()
|
/linux/drivers/of/ |
A D | property.c | 71 const char *propname, int elem_size) in of_property_count_elems_of_size() argument 82 propname, np, elem_size); in of_property_count_elems_of_size() 144 const char *propname, in of_property_read_u32_index() argument 178 const char *propname, in of_property_read_u64_index() argument 218 const char *propname, u8 *out_values, in of_property_read_variable_u8_array() argument 268 const char *propname, u16 *out_values, in of_property_read_variable_u16_array() argument 315 const char *propname, u32 *out_values, in of_property_read_variable_u32_array() argument 393 const char *propname, u64 *out_values, in of_property_read_variable_u64_array() argument 876 const char *propname) in of_fwnode_property_present() argument 882 const char *propname, in of_fwnode_property_read_int_array() argument [all …]
|
/linux/drivers/input/ |
A D | matrix-keymap.c | 69 static int matrix_keypad_parse_keymap(const char *propname, in matrix_keypad_parse_keymap() argument 81 if (!propname) in matrix_keypad_parse_keymap() 82 propname = "linux,keymap"; in matrix_keypad_parse_keymap() 84 size = device_property_count_u32(dev, propname); in matrix_keypad_parse_keymap() 87 propname, size); in matrix_keypad_parse_keymap() 93 propname, size, max_keys); in matrix_keypad_parse_keymap() 101 retval = device_property_read_u32_array(dev, propname, keys, size); in matrix_keypad_parse_keymap() 104 propname, retval); in matrix_keypad_parse_keymap()
|
/linux/drivers/gpio/ |
A D | gpiolib-of.c | 62 char propname[32]; in of_gpio_get_count() local 71 snprintf(propname, sizeof(propname), "%s-%s", in of_gpio_get_count() 74 snprintf(propname, sizeof(propname), "%s", in of_gpio_get_count() 134 const char *propname, in of_gpio_flags_quirks() argument 145 (!(strcmp(propname, "enable-gpio") && in of_gpio_flags_quirks() 146 strcmp(propname, "enable-gpios")) && in of_gpio_flags_quirks() 223 !strcmp(propname, "snps,reset-gpio") && in of_gpio_flags_quirks() 251 __func__, propname, np, index); in of_get_named_gpiod_flags() 269 __func__, propname, np, index, in of_get_named_gpiod_flags() 307 const char *propname, int index, in gpiod_get_from_of_node() argument [all …]
|
A D | gpiolib-acpi.c | 799 const char *propname, int index, in acpi_gpio_property_lookup() argument 861 const char *propname, int index, in acpi_get_gpiod_by_index() argument 873 if (propname) { in acpi_get_gpiod_by_index() 877 propname, index, &lookup); in acpi_get_gpiod_by_index() 912 char propname[32]; in acpi_find_gpio() local 918 snprintf(propname, sizeof(propname), "%s-%s", in acpi_find_gpio() 921 snprintf(propname, sizeof(propname), "%s", in acpi_find_gpio() 983 if (!propname) in acpi_node_get_gpiod() 1401 char propname[32]; in acpi_gpio_count() local 1407 snprintf(propname, sizeof(propname), "%s-%s", in acpi_gpio_count() [all …]
|
A D | gpiolib-acpi.h | 55 const char *propname, int index, 91 acpi_node_get_gpiod(struct fwnode_handle *fwnode, const char *propname, in acpi_node_get_gpiod() argument
|
/linux/drivers/acpi/ |
A D | property.c | 502 const union acpi_object *propname, *propvalue; in acpi_data_get_property() local 507 propname = &property->package.elements[0]; in acpi_data_get_property() 510 if (!strcmp(name, propname->string.pointer)) { in acpi_data_get_property() 558 const char *propname, void **valptr) in acpi_node_prop_get() argument 561 propname, ACPI_TYPE_ANY, in acpi_node_prop_get() 784 const char *propname, in acpi_data_prop_read_single() argument 921 const char *propname, in acpi_data_prop_read() argument 1001 propname, proptype, val, nval); in acpi_node_prop_read() 1258 const char *propname) in acpi_fwnode_property_present() argument 1265 const char *propname, in acpi_fwnode_property_read_int_array() argument [all …]
|
/linux/arch/powerpc/boot/ |
A D | ops.h | 49 const char *propname, 147 const char *propname, in find_node_by_prop_value() argument 151 return dt_ops.find_node_by_prop_value(prev, propname, in find_node_by_prop_value() 158 const char *propname, in find_node_by_prop_value_str() argument 161 return find_node_by_prop_value(prev, propname, propval, in find_node_by_prop_value_str()
|
/linux/drivers/virt/ |
A D | fsl_hypervisor.c | 336 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/arch/powerpc/kernel/ |
A D | cacheinfo.c | 211 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/ |
A D | soc-core.c | 2711 const char *propname) in snd_soc_of_parse_card_name() argument 2732 propname, ret); in snd_soc_of_parse_card_name() 2748 const char *propname) in snd_soc_of_parse_audio_simple_widgets() argument 2770 propname); in snd_soc_of_parse_audio_simple_widgets() 2788 propname, 2 * i, ret); in snd_soc_of_parse_audio_simple_widgets() 2813 propname, (2 * i) + 1, ret); in snd_soc_of_parse_audio_simple_widgets() 2885 const char *propname) in snd_soc_of_parse_node_prefix() argument 2902 const char *propname) in snd_soc_of_parse_audio_routing() argument 2913 propname); in snd_soc_of_parse_audio_routing() 2932 propname, 2 * i, ret); in snd_soc_of_parse_audio_routing() [all …]
|
/linux/drivers/clk/at91/ |
A D | pmc.c | 24 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/scripts/dtc/ |
A D | checks.c | 210 char *propname = c->data; in check_is_string() local 212 prop = get_property(node, propname); in check_is_string() 220 WARNING(nm, check_is_string, (propname)) 222 ERROR(nm, check_is_string, (propname)) 229 char *propname = c->data; in check_is_string_list() local 232 prop = get_property(node, propname); in check_is_string_list() 257 char *propname = c->data; in check_is_cell() local 259 prop = get_property(node, propname); in check_is_cell() 267 WARNING(nm, check_is_cell, (propname)) 269 ERROR(nm, check_is_cell, (propname)) [all …]
|
/linux/sound/soc/meson/ |
A D | axg-card.c | 162 char propname[32]; in axg_card_parse_cpu_tdm_slots() local 174 snprintf(propname, 32, "dai-tdm-slot-tx-mask-%d", i); in axg_card_parse_cpu_tdm_slots() 175 snd_soc_of_get_slot_mask(node, propname, &be->tx_mask[i]); in axg_card_parse_cpu_tdm_slots() 184 snprintf(propname, 32, "dai-tdm-slot-rx-mask-%d", i); in axg_card_parse_cpu_tdm_slots() 185 snd_soc_of_get_slot_mask(node, propname, &be->rx_mask[i]); in axg_card_parse_cpu_tdm_slots()
|
A D | meson-card-utils.c | 245 const char *propname, in meson_card_parse_of_optional() argument 250 if (!of_property_read_bool(card->dev->of_node, propname)) in meson_card_parse_of_optional() 254 return func(card, propname); in meson_card_parse_of_optional()
|
/linux/include/linux/gpio/ |
A D | consumer.h | 179 const char *propname, int index, 549 const char *propname, int index, in fwnode_get_named_gpiod() argument 613 const char *propname, int index, 623 const char *propname, int index, in gpiod_get_from_of_node() argument 637 const char *propname, int index, 648 const char *propname, int index, in devm_gpiod_get_from_of_node() argument
|
/linux/drivers/pinctrl/ |
A D | devicetree.c | 200 char *propname; in pinctrl_dt_to_map() local 222 propname = kasprintf(GFP_KERNEL, "pinctrl-%d", state); in pinctrl_dt_to_map() 223 prop = of_find_property(np, propname, &size); in pinctrl_dt_to_map() 224 kfree(propname); in pinctrl_dt_to_map()
|
/linux/drivers/memory/ |
A D | bt1-l2-ctl.c | 182 const char *propname) in l2_ctl_of_parse_property() argument 187 if (!of_property_read_u32(l2->dev->of_node, propname, &data)) { in l2_ctl_of_parse_property() 190 dev_err(l2->dev, "Invalid value of '%s'\n", propname); in l2_ctl_of_parse_property()
|
/linux/drivers/iio/temperature/ |
A D | ltc2983.c | 383 const char *propname, in __ltc2983_custom_sensor_new() argument 398 n_entries = of_property_count_elems_of_size(np, propname, e_size); in __ltc2983_custom_sensor_new() 440 of_property_read_u64_index(np, propname, index, &temp); in __ltc2983_custom_sensor_new() 451 of_property_read_u32_index(np, propname, index, &t32); in __ltc2983_custom_sensor_new() 673 const char *propname = "adi,custom-thermocouple"; in ltc2983_thermocouple_new() local 676 propname, false, in ltc2983_thermocouple_new() 915 const char *propname; in ltc2983_thermistor_new() local 919 propname = "adi,custom-steinhart"; in ltc2983_thermistor_new() 921 propname = "adi,custom-thermistor"; in ltc2983_thermistor_new() 925 propname, in ltc2983_thermistor_new()
|