/kernel/linux/linux-5.10/include/linux/ |
D | property.h | 36 bool device_property_present(struct device *dev, const char *propname); 37 int device_property_read_u8_array(struct device *dev, const char *propname, 39 int device_property_read_u16_array(struct device *dev, const char *propname, 41 int device_property_read_u32_array(struct device *dev, const char *propname, 43 int device_property_read_u64_array(struct device *dev, const char *propname, 45 int device_property_read_string_array(struct device *dev, const char *propname, 47 int device_property_read_string(struct device *dev, const char *propname, 50 const char *propname, const char *string); 54 const char *propname); 56 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 | 101 static inline int of_gpio_named_count(struct device_node *np, const char* propname) in of_gpio_named_count() argument 103 return of_count_phandle_with_args(np, propname, "#gpio-cells"); in of_gpio_named_count() 133 const char *propname, int index) in of_get_named_gpio() argument 135 return of_get_named_gpio_flags(np, propname, index, NULL); in of_get_named_gpio()
|
D | fwnode.h | 117 const char *propname); 119 const char *propname, 124 const char *propname, const char **val,
|
D | acpi.h | 1137 int acpi_node_prop_get(const struct fwnode_handle *fwnode, const char *propname, 1140 const char *propname, enum dev_prop_type proptype, 1143 const char *propname, enum dev_prop_type proptype, 1145 int acpi_dev_prop_read(const struct acpi_device *adev, const char *propname, 1242 const char *propname, in acpi_node_prop_get() argument 1249 const char *propname, in acpi_dev_prop_read_single() argument 1257 const char *propname, in acpi_node_prop_read() argument 1265 const char *propname, in acpi_dev_prop_read() argument
|
/kernel/linux/linux-5.10/drivers/base/ |
D | property.c | 35 bool device_property_present(struct device *dev, const char *propname) in device_property_present() argument 37 return fwnode_property_present(dev_fwnode(dev), propname); in device_property_present() 47 const char *propname) in fwnode_property_present() argument 51 ret = fwnode_call_bool_op(fwnode, property_present, propname); in fwnode_property_present() 55 propname); in fwnode_property_present() 78 int device_property_read_u8_array(struct device *dev, const char *propname, in device_property_read_u8_array() argument 81 return fwnode_property_read_u8_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u8_array() 103 int device_property_read_u16_array(struct device *dev, const char *propname, in device_property_read_u16_array() argument 106 return fwnode_property_read_u16_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u16_array() 128 int device_property_read_u32_array(struct device *dev, const char *propname, in device_property_read_u32_array() argument [all …]
|
D | swnode.c | 115 const char *propname, size_t length) in property_entry_find() argument 120 prop = property_entry_get(props, propname); in property_entry_find() 133 const char *propname, size_t length) in property_entry_count_elems_of_size() argument 137 prop = property_entry_get(props, propname); in property_entry_count_elems_of_size() 170 const char *propname, in property_entry_read_string_array() argument 178 array_len = property_entry_count_elems_of_size(props, propname, in property_entry_read_string_array() 190 pointer = property_entry_find(props, propname, length); in property_entry_read_string_array() 367 const char *propname) in software_node_property_present() argument 371 return !!property_entry_get(swnode->node->properties, propname); in software_node_property_present() 375 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()
|
/kernel/linux/linux-5.10/drivers/of/ |
D | property.c | 68 const char *propname, int elem_size) in of_property_count_elems_of_size() argument 70 struct property *prop = of_find_property(np, propname, NULL); in of_property_count_elems_of_size() 79 propname, np, elem_size); in of_property_count_elems_of_size() 103 const char *propname, u32 min, u32 max, size_t *len) in of_find_property_value_of_size() argument 105 struct property *prop = of_find_property(np, propname, NULL); in of_find_property_value_of_size() 138 const char *propname, in of_property_read_u32_index() argument 141 const u32 *val = of_find_property_value_of_size(np, propname, in of_property_read_u32_index() 170 const char *propname, in of_property_read_u64_index() argument 173 const u64 *val = of_find_property_value_of_size(np, propname, in of_property_read_u64_index() 208 const char *propname, u8 *out_values, in of_property_read_variable_u8_array() argument [all …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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 | 720 const char *propname, int index, in acpi_gpio_property_lookup() argument 728 ret = __acpi_node_get_property_reference(fwnode, propname, index, 3, in acpi_gpio_property_lookup() 736 if (!acpi_get_driver_gpio_data(adev, propname, index, &args, in acpi_gpio_property_lookup() 782 const char *propname, int index, in acpi_get_gpiod_by_index() argument 794 if (propname) { in acpi_get_gpiod_by_index() 795 dev_dbg(&adev->dev, "GPIO: looking up %s\n", propname); in acpi_get_gpiod_by_index() 798 propname, index, &lookup); in acpi_get_gpiod_by_index() 833 char propname[32]; in acpi_find_gpio() local 839 snprintf(propname, sizeof(propname), "%s-%s", in acpi_find_gpio() 842 snprintf(propname, sizeof(propname), "%s", in acpi_find_gpio() [all …]
|
D | gpiolib-acpi.h | 51 const char *propname, int index, 85 acpi_node_get_gpiod(struct fwnode_handle *fwnode, const char *propname, in acpi_node_get_gpiod() argument
|
/kernel/linux/linux-5.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() 564 const char *propname, void **valptr) in acpi_node_prop_get() argument 567 propname, ACPI_TYPE_ANY, in acpi_node_prop_get() 671 const char *propname, size_t index, size_t num_args, in __acpi_node_get_property_reference() argument 684 ret = acpi_data_get_property(data, propname, ACPI_TYPE_ANY, &obj); in __acpi_node_get_property_reference() 790 const char *propname, in acpi_data_prop_read_single() argument 797 ret = acpi_data_get_property(data, propname, ACPI_TYPE_INTEGER, &obj); in acpi_data_prop_read_single() 836 ret = acpi_data_get_property(data, propname, ACPI_TYPE_STRING, &obj); in acpi_data_prop_read_single() [all …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | of_iommu.c | 41 char propname[NAME_MAX], addrname[NAME_MAX], sizename[NAME_MAX]; in of_get_dma_window() local 49 snprintf(propname, sizeof(propname), "%sdma-window", prefix); in of_get_dma_window() 53 dma_window = of_get_property(dn, propname, &bytes); in of_get_dma_window()
|
/kernel/linux/linux-5.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 if (!propname) in pinctrl_dt_to_map() 225 prop = of_find_property(np, propname, &size); in pinctrl_dt_to_map() 226 kfree(propname); in pinctrl_dt_to_map()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | cacheinfo.c | 208 const char *propname; in cache_size() local 211 propname = cache_type_info[cache->type].size_prop; in cache_size() 213 cache_size = of_get_property(cache->ofnode, propname, NULL); in cache_size() 241 const char *propname; in cache_get_line_size() local 243 propname = cache_type_info[cache->type].line_size_props[i]; in cache_get_line_size() 244 line_size = of_get_property(cache->ofnode, propname, NULL); in cache_get_line_size() 258 const char *propname; in cache_nr_sets() local 261 propname = cache_type_info[cache->type].nr_sets_prop; in cache_nr_sets() 263 nr_sets = of_get_property(cache->ofnode, propname, NULL); in cache_nr_sets()
|
/kernel/linux/linux-5.10/sound/soc/ |
D | soc-core.c | 2591 const char *propname) in snd_soc_of_parse_card_name() argument 2603 ret = of_property_read_string_index(np, propname, 0, &card->name); in snd_soc_of_parse_card_name() 2612 propname, ret); in snd_soc_of_parse_card_name() 2628 const char *propname) in snd_soc_of_parse_audio_simple_widgets() argument 2635 num_widgets = of_property_count_strings(np, propname); in snd_soc_of_parse_audio_simple_widgets() 2638 "ASoC: Property '%s' does not exist\n", propname); in snd_soc_of_parse_audio_simple_widgets() 2643 "ASoC: Property '%s' length is not even\n", propname); in snd_soc_of_parse_audio_simple_widgets() 2650 propname); in snd_soc_of_parse_audio_simple_widgets() 2663 ret = of_property_read_string_index(np, propname, in snd_soc_of_parse_audio_simple_widgets() 2668 propname, 2 * i, ret); in snd_soc_of_parse_audio_simple_widgets() [all …]
|
/kernel/linux/linux-5.10/scripts/dtc/ |
D | checks.c | 202 char *propname = c->data; in check_is_string() local 204 prop = get_property(node, propname); in check_is_string() 211 #define WARNING_IF_NOT_STRING(nm, propname) \ argument 212 WARNING(nm, check_is_string, (propname)) 213 #define ERROR_IF_NOT_STRING(nm, propname) \ argument 214 ERROR(nm, check_is_string, (propname)) 221 char *propname = c->data; in check_is_string_list() local 224 prop = get_property(node, propname); in check_is_string_list() 240 #define WARNING_IF_NOT_STRING_LIST(nm, propname) \ argument 241 WARNING(nm, check_is_string_list, (propname)) [all …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/include/linux/gpio/ |
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
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|