/linux-5.19.10/include/linux/ |
D | property.h | 37 bool device_property_present(struct device *dev, const char *propname); 38 int device_property_read_u8_array(struct device *dev, const char *propname, 40 int device_property_read_u16_array(struct device *dev, const char *propname, 42 int device_property_read_u32_array(struct device *dev, const char *propname, 44 int device_property_read_u64_array(struct device *dev, const char *propname, 46 int device_property_read_string_array(struct device *dev, const char *propname, 48 int device_property_read_string(struct device *dev, const char *propname, 51 const char *propname, const char *string); 55 const char *propname); 57 const char *propname, u8 *val, [all …]
|
D | of.h | 308 const char *propname, int elem_size); 310 const char *propname, 313 const char *propname, 316 const char *propname, u8 *out_values, 319 const char *propname, u16 *out_values, 322 const char *propname, 327 const char *propname, u64 *out_value); 329 const char *propname, 335 const char *propname, 338 const char *propname, [all …]
|
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()
|
D | fwnode.h | 120 const char *propname); 122 const char *propname, 127 const char *propname, const char **val,
|
D | genalloc.h | 214 const char *propname, int index); 217 const char *propname, int index) in of_gen_pool_get() argument
|
/linux-5.19.10/drivers/base/ |
D | property.c | 34 bool device_property_present(struct device *dev, const char *propname) in device_property_present() argument 36 return fwnode_property_present(dev_fwnode(dev), propname); in device_property_present() 46 const char *propname) in fwnode_property_present() argument 53 ret = fwnode_call_bool_op(fwnode, property_present, propname); in fwnode_property_present() 57 return fwnode_call_bool_op(fwnode->secondary, property_present, propname); in fwnode_property_present() 82 int device_property_read_u8_array(struct device *dev, const char *propname, in device_property_read_u8_array() argument 85 return fwnode_property_read_u8_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u8_array() 110 int device_property_read_u16_array(struct device *dev, const char *propname, in device_property_read_u16_array() argument 113 return fwnode_property_read_u16_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u16_array() 138 int device_property_read_u32_array(struct device *dev, const char *propname, in device_property_read_u32_array() argument [all …]
|
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 194 array_len = property_entry_count_elems_of_size(props, propname, in property_entry_read_string_array() 206 pointer = property_entry_find(props, propname, length); in property_entry_read_string_array() 383 const char *propname) in software_node_property_present() argument 387 return !!property_entry_get(swnode->node->properties, propname); in software_node_property_present() 391 const char *propname, in software_node_read_int_array() argument [all …]
|
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-5.19.10/drivers/of/ |
D | property.c | 72 const char *propname, int elem_size) in of_property_count_elems_of_size() argument 74 struct property *prop = of_find_property(np, propname, NULL); in of_property_count_elems_of_size() 83 propname, np, elem_size); in of_property_count_elems_of_size() 108 const char *propname, u32 min, u32 max, size_t *len) in of_find_property_value_of_size() argument 110 struct property *prop = of_find_property(np, propname, NULL); in of_find_property_value_of_size() 145 const char *propname, in of_property_read_u32_index() argument 148 const u32 *val = of_find_property_value_of_size(np, propname, in of_property_read_u32_index() 179 const char *propname, in of_property_read_u64_index() argument 182 const u64 *val = of_find_property_value_of_size(np, propname, in of_property_read_u64_index() 219 const char *propname, u8 *out_values, in of_property_read_variable_u8_array() argument [all …]
|
/linux-5.19.10/drivers/input/ |
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-5.19.10/drivers/gpio/ |
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() 77 ret = of_gpio_named_count(dev->of_node, propname); 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() 180 if (IS_ENABLED(CONFIG_SPI_MASTER) && !strcmp(propname, "cs-gpios") && in of_gpio_flags_quirks() 223 !strcmp(propname, "snps,reset-gpio") && in of_gpio_flags_quirks() 240 const char *propname, int index, enum of_gpio_flags *flags) in of_get_named_gpiod_flags() argument [all …]
|
D | gpiolib-acpi.c | 788 const char *propname, int index, in acpi_gpio_property_lookup() argument 796 ret = __acpi_node_get_property_reference(fwnode, propname, index, 3, in acpi_gpio_property_lookup() 804 if (!acpi_get_driver_gpio_data(adev, propname, index, &args, in acpi_gpio_property_lookup() 850 const char *propname, int index, in acpi_get_gpiod_by_index() argument 862 if (propname) { in acpi_get_gpiod_by_index() 863 dev_dbg(&adev->dev, "GPIO: looking up %s\n", propname); in acpi_get_gpiod_by_index() 866 propname, index, &lookup); in acpi_get_gpiod_by_index() 901 char propname[32]; in acpi_find_gpio() local 907 snprintf(propname, sizeof(propname), "%s-%s", in acpi_find_gpio() 910 snprintf(propname, sizeof(propname), "%s", in acpi_find_gpio() [all …]
|
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-5.19.10/drivers/acpi/ |
D | property.c | 508 const union acpi_object *propname, *propvalue; in acpi_data_get_property() local 513 propname = &property->package.elements[0]; in acpi_data_get_property() 516 if (!strcmp(name, propname->string.pointer)) { in acpi_data_get_property() 565 const char *propname, void **valptr) in acpi_node_prop_get() argument 568 propname, ACPI_TYPE_ANY, in acpi_node_prop_get() 672 const char *propname, size_t index, size_t num_args, in __acpi_node_get_property_reference() argument 685 ret = acpi_data_get_property(data, propname, ACPI_TYPE_ANY, &obj); in __acpi_node_get_property_reference() 795 const char *propname, in acpi_data_prop_read_single() argument 802 ret = acpi_data_get_property(data, propname, ACPI_TYPE_INTEGER, &obj); in acpi_data_prop_read_single() 841 ret = acpi_data_get_property(data, propname, ACPI_TYPE_STRING, &obj); in acpi_data_prop_read_single() [all …]
|
/linux-5.19.10/arch/powerpc/boot/ |
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-5.19.10/drivers/clk/at91/ |
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-5.19.10/drivers/virt/ |
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-5.19.10/arch/powerpc/kernel/ |
D | cacheinfo.c | 210 const char *propname; in cache_size() local 213 propname = cache_type_info[cache->type].size_prop; in cache_size() 215 cache_size = of_get_property(cache->ofnode, propname, NULL); in cache_size() 243 const char *propname; in cache_get_line_size() local 245 propname = cache_type_info[cache->type].line_size_props[i]; in cache_get_line_size() 246 line_size = of_get_property(cache->ofnode, propname, NULL); in cache_get_line_size() 260 const char *propname; in cache_nr_sets() local 263 propname = cache_type_info[cache->type].nr_sets_prop; in cache_nr_sets() 265 nr_sets = of_get_property(cache->ofnode, propname, NULL); in cache_nr_sets()
|
/linux-5.19.10/sound/soc/meson/ |
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()
|
/linux-5.19.10/sound/soc/ |
D | soc-core.c | 2716 const char *propname) in snd_soc_of_parse_card_name() argument 2728 ret = of_property_read_string_index(np, propname, 0, &card->name); in snd_soc_of_parse_card_name() 2737 propname, ret); in snd_soc_of_parse_card_name() 2753 const char *propname) in snd_soc_of_parse_audio_simple_widgets() argument 2760 num_widgets = of_property_count_strings(np, propname); in snd_soc_of_parse_audio_simple_widgets() 2763 "ASoC: Property '%s' does not exist\n", propname); in snd_soc_of_parse_audio_simple_widgets() 2768 propname); in snd_soc_of_parse_audio_simple_widgets() 2773 "ASoC: Property '%s' length is not even\n", propname); in snd_soc_of_parse_audio_simple_widgets() 2788 int ret = of_property_read_string_index(np, propname, in snd_soc_of_parse_audio_simple_widgets() 2793 propname, 2 * i, ret); in snd_soc_of_parse_audio_simple_widgets() [all …]
|
/linux-5.19.10/scripts/dtc/ |
D | checks.c | 210 char *propname = c->data; in check_is_string() local 212 prop = get_property(node, propname); in check_is_string() 219 #define WARNING_IF_NOT_STRING(nm, propname) \ argument 220 WARNING(nm, check_is_string, (propname)) 221 #define ERROR_IF_NOT_STRING(nm, propname) \ argument 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() 248 #define WARNING_IF_NOT_STRING_LIST(nm, propname) \ argument 249 WARNING(nm, check_is_string_list, (propname)) [all …]
|
/linux-5.19.10/drivers/pinctrl/ |
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-5.19.10/include/linux/gpio/ |
D | consumer.h | 178 const char *propname, int index, 558 const char *propname, int index, in fwnode_get_named_gpiod() argument 622 const char *propname, int index, 632 const char *propname, int index, in gpiod_get_from_of_node() argument 646 const char *propname, int index, 657 const char *propname, int index, in devm_gpiod_get_from_of_node() argument
|
/linux-5.19.10/drivers/memory/ |
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-5.19.10/drivers/iio/temperature/ |
D | ltc2983.c | 386 const char *propname, const bool is_steinhart, in __ltc2983_custom_sensor_new() argument 400 n_entries = fwnode_property_count_u32(fn, propname); in __ltc2983_custom_sensor_new() 402 n_entries = fwnode_property_count_u64(fn, propname); in __ltc2983_custom_sensor_new() 445 ret = fwnode_property_read_u32_array(fn, propname, new_custom->table, n_entries); in __ltc2983_custom_sensor_new() 451 ret = fwnode_property_read_u64_array(fn, propname, new_custom->table, n_entries); in __ltc2983_custom_sensor_new() 678 const char *propname = "adi,custom-thermocouple"; in ltc2983_thermocouple_new() local 681 propname, false, in ltc2983_thermocouple_new() 923 const char *propname; in ltc2983_thermistor_new() local 927 propname = "adi,custom-steinhart"; in ltc2983_thermistor_new() 929 propname = "adi,custom-thermistor"; in ltc2983_thermistor_new() [all …]
|