Home
last modified time | relevance | path

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

/u-boot/arch/x86/cpu/apollolake/
A Dfsp_bindings.c276 .propname = "fspm,igd",
647 .propname = NULL
690 .propname = "fsps,eist",
702 .propname = "fsps,c1e",
886 .propname = "fsps,gmm",
938 .propname = "fsps,pme",
990 .propname = "fsps,mmt",
994 .propname = "fsps,hmt",
1018 .propname = "fsps,hpet",
1775 .propname = "fsps,ipc",
[all …]
/u-boot/include/dm/
A Dread.h893 const char *propname, uint *outp) in dev_read_u32u() argument
919 const char *propname) in dev_read_string() argument
925 const char *propname) in dev_read_bool() argument
1005 const char *propname, in dev_read_addr_size() argument
1017 const char *propname, in dev_read_stringlist_search() argument
1024 const char *propname, int index, in dev_read_string_index() argument
1031 const char *propname) in dev_read_string_count() argument
1037 const char *propname, in dev_read_string_list() argument
1089 const char *propname, int *lenp) in dev_read_prop() argument
1105 const char **propname, in dev_read_prop_by_prop() argument
[all …]
A Dof_access.h255 const char *propname,
283 int of_read_u8(const struct device_node *np, const char *propname, u8 *outp);
299 int of_read_u16(const struct device_node *np, const char *propname, u16 *outp);
333 int of_read_u32_index(const struct device_node *np, const char *propname,
366 int of_read_u32_array(const struct device_node *np, const char *propname,
386 const char *propname, const char **out_strs,
410 const char *propname, in of_property_read_string_index() argument
413 int rc = of_property_read_string_helper(np, propname, output, 1, index); in of_property_read_string_index()
432 const char *propname) in of_property_count_strings() argument
434 return of_property_read_string_helper(np, propname, NULL, 0, 0); in of_property_count_strings()
[all …]
A Dofnode.h373 int ofnode_read_u8(ofnode node, const char *propname, u8 *outp);
438 return ofnode_read_u32(node, propname, (u32 *)outp); in ofnode_read_s32()
530 int ofnode_read_u32_array(ofnode node, const char *propname,
540 bool ofnode_read_bool(ofnode node, const char *propname);
668 int ofnode_read_size(ofnode node, const char *propname);
750 int ofnode_stringlist_search(ofnode node, const char *propname,
919 const char *ofnode_read_chosen_string(const char *propname);
932 ofnode ofnode_get_chosen_node(const char *propname);
959 ofnode ofnode_get_aliases_node(const char *propname);
1057 const char **propname, int *lenp);
[all …]
/u-boot/tools/dtoc/
A Dfdt_util.py114 prop = node.props.get(propname)
137 prop = node.props.get(propname)
157 prop = node.props.get(propname)
180 prop = node.props.get(propname)
191 def GetArgs(node, propname): argument
192 prop = node.props.get(propname)
219 if propname in node.props:
234 prop = node.props.get(propname)
258 prop = node.props.get(propname)
266 def GetPhandleList(node, propname): argument
[all …]
/u-boot/drivers/core/
A Dread.c18 return ofnode_read_u8(dev_ofnode(dev), propname, outp); in dev_read_u8()
28 return ofnode_read_u16(dev_ofnode(dev), propname, outp); in dev_read_u16()
39 return ofnode_read_u32(dev_ofnode(dev), propname, outp); in dev_read_u32()
77 ret = ofnode_read_u32(dev_ofnode(dev), propname, &val); in dev_read_u32u()
87 return ofnode_read_u64(dev_ofnode(dev), propname, outp); in dev_read_u64()
98 return ofnode_read_string(dev_ofnode(dev), propname); in dev_read_string()
103 return ofnode_read_bool(dev_ofnode(dev), propname); in dev_read_bool()
123 return ofnode_read_size(dev_ofnode(dev), propname); in dev_read_size()
312 const char **propname, int *lenp) in dev_read_prop_by_prop() argument
314 return ofprop_get_property(prop, propname, lenp); in dev_read_prop_by_prop()
[all …]
A Dofnode.c222 debug("%s: %s: ", __func__, propname); in ofnode_read_u8()
242 ofnode_read_u8(node, propname, &def); in ofnode_read_u8_default()
253 debug("%s: %s: ", __func__, propname); in ofnode_read_u16()
273 ofnode_read_u16(node, propname, &def); in ofnode_read_u16_default()
298 debug("%s: %s: ", __func__, propname); in ofnode_read_u32_index()
305 propname, &len); in ofnode_read_u32_index()
351 propname, &len); in ofnode_read_u64()
403 propname, &len); in ofnode_read_prop()
1047 propname, lenp); in ofnode_get_property()
1096 propname, lenp); in ofprop_get_property()
[all …]
A Dof_access.c422 const char *propname, const void *propval, in of_device_has_prop_value() argument
433 const char *propname, in of_find_node_by_prop_value() argument
477 const char *propname, u32 len) in of_find_property_value_of_size() argument
493 debug("%s: %s: ", __func__, propname); in of_read_u8()
512 debug("%s: %s: ", __func__, propname); in of_read_u16()
529 return of_read_u32_index(np, propname, 0, outp); in of_read_u32()
537 debug("%s: %s: ", __func__, propname); in of_read_u32_array()
556 debug("%s: %s: ", __func__, propname); in of_read_u32_index()
577 debug("%s: %s: ", __func__, propname); in of_read_u64()
938 if (strcmp(pp->name, propname) == 0) { in of_write_prop()
[all …]
/u-boot/drivers/pinctrl/
A Dpinctrl-generic.c274 const char *propname; in pinctrl_generic_set_state_one() local
347 const char *propname; in pinctrl_generic_get_subnode_type() local
350 if (!propname) in pinctrl_generic_get_subnode_type()
353 free_name_with_prefix(propname, prefix); in pinctrl_generic_get_subnode_type()
358 if (!propname) in pinctrl_generic_get_subnode_type()
361 free_name_with_prefix(propname, prefix); in pinctrl_generic_get_subnode_type()
367 if (!propname) in pinctrl_generic_get_subnode_type()
394 const char *propname; in pinctrl_generic_set_state_subnode() local
406 if (!propname) in pinctrl_generic_set_state_subnode()
418 if (!propname) in pinctrl_generic_set_state_subnode()
[all …]
A Dpinctrl-uclass.c58 char propname[32]; /* long enough */ in pinctrl_select_state_full() local
76 snprintf(propname, sizeof(propname), "pinctrl-%d", state); in pinctrl_select_state_full()
77 list = dev_read_prop(dev, propname, &size); in pinctrl_select_state_full()
A Dpinctrl-single.c507 const char *propname = "pinctrl-single,gpio-range"; in single_add_gpio_func() local
514 ret = ofnode_parse_phandle_with_args(dev_ofnode(dev), propname, in single_add_gpio_func()
/u-boot/test/dm/
A Dofread.c13 const char *propname; in dm_test_ofprop_get_property() local
20 value = ofprop_get_property(&prop, &propname, &len); in dm_test_ofprop_get_property()
24 ut_asserteq_str("image-pos", propname); in dm_test_ofprop_get_property()
28 ut_asserteq_str("size", propname); in dm_test_ofprop_get_property()
32 ut_asserteq_str("erase-value", propname); in dm_test_ofprop_get_property()
37 ut_asserteq_str("name", propname); in dm_test_ofprop_get_property()
A Dofnode.c152 const char *propname, const char *propval, in check_prop_values() argument
161 node = ofnode_by_prop_value(start, propname, propval, proplen); in check_prop_values()
163 str = ofnode_read_string(node, propname); in check_prop_values()
169 node = ofnode_by_prop_value(node, propname, propval, proplen); in check_prop_values()
172 str = ofnode_read_string(node, propname); in check_prop_values()
/u-boot/drivers/reboot-mode/
A Dreboot-mode-uclass.c71 const char *propname; in dm_reboot_mode_pre_probe() local
80 propvalue = dev_read_prop_by_prop(&property, &propname, NULL); in dm_reboot_mode_pre_probe()
83 propname); in dm_reboot_mode_pre_probe()
87 if (!strncmp(propname, mode_prefix, mode_prefix_len)) in dm_reboot_mode_pre_probe()
97 propvalue = dev_read_prop_by_prop(&property, &propname, NULL); in dm_reboot_mode_pre_probe()
100 propname); in dm_reboot_mode_pre_probe()
104 if (!strncmp(propname, mode_prefix, mode_prefix_len)) { in dm_reboot_mode_pre_probe()
105 next->mode_name = &propname[mode_prefix_len]; in dm_reboot_mode_pre_probe()
/u-boot/drivers/bootcount/
A Dbootcount-uclass.c39 const char *propname = "u-boot,bootcount-device"; in bootcount_store() local
47 node = ofnode_get_chosen_node(propname); in bootcount_store()
66 const char *propname = "u-boot,bootcount-device"; in bootcount_load() local
75 node = ofnode_get_chosen_node(propname); in bootcount_load()
/u-boot/scripts/dtc/
A Dchecks.c183 char *propname = c->data; in check_is_string() local
185 prop = get_property(node, propname); in check_is_string()
193 WARNING(nm, check_is_string, (propname))
195 ERROR(nm, check_is_string, (propname))
202 char *propname = c->data; in check_is_string_list() local
205 prop = get_property(node, propname); in check_is_string_list()
230 char *propname = c->data; in check_is_cell() local
232 prop = get_property(node, propname); in check_is_cell()
240 WARNING(nm, check_is_cell, (propname))
242 ERROR(nm, check_is_cell, (propname))
[all …]
A Ddtc.h223 struct property *get_property(struct node *node, const char *propname);
A Dlivetree.c425 struct property *get_property(struct node *node, const char *propname) in get_property() argument
430 if (streq(prop->name, propname)) in get_property()
/u-boot/drivers/clk/
A Dclk_pic32.c326 char propname[50]; in pic32_clk_init() local
334 snprintf(propname, sizeof(propname), in pic32_clk_init()
336 rate = fdtdec_get_int(blob, dev_of_offset(dev), propname, 0); in pic32_clk_init()
/u-boot/arch/x86/include/asm/arch-apollolake/
A Dfsp_bindings.h40 char *propname; member
/u-boot/env/
A Dmmc.c109 const char *propname; in mmc_offset() local
135 propname = dt_prop.offset; in mmc_offset()
139 propname = dt_prop.offset_redund; in mmc_offset()
142 return ofnode_conf_read_int(propname, defvalue); in mmc_offset()
/u-boot/drivers/gpio/
A Dgpio-uclass.c1391 char *propname; in devm_gpiod_get_index() local
1394 propname = malloc(strlen(id) + sizeof(suffix)); in devm_gpiod_get_index()
1395 if (!propname) { in devm_gpiod_get_index()
1400 strcpy(propname, id); in devm_gpiod_get_index()
1401 strcat(propname, suffix); in devm_gpiod_get_index()
1410 rc = gpio_request_by_name(dev, propname, index, desc, flags); in devm_gpiod_get_index()
1413 if (propname) in devm_gpiod_get_index()
1414 free(propname); in devm_gpiod_get_index()
/u-boot/scripts/dtc/libfdt/
A Dfdt_ro.c654 const char *propname, in fdt_node_offset_by_prop_value() argument
671 val = fdt_getprop(fdt, offset, propname, &len); in fdt_node_offset_by_prop_value()
869 const char *propname; in fdt_check_full() local
929 prop = fdt_getprop_by_offset(fdt, offset, &propname, in fdt_check_full()
A Dlibfdt.h947 const char *propname,
/u-boot/drivers/net/fsl-mc/
A Dmc.c169 const char *propname, struct udevice *eth_dev, in mc_fixup_mac_addr() argument
195 if (fdt_get_property(blob, nodeoffset, propname, NULL)) { in mc_fixup_mac_addr()
201 size = MC_DT_INCREASE_SIZE + strlen(propname) + len; in mc_fixup_mac_addr()
211 err = fdt_setprop(blob, nodeoffset, propname, val, len); in mc_fixup_mac_addr()

Completed in 89 milliseconds