Home
last modified time | relevance | path

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

12

/external/arm-trusted-firmware/drivers/mtd/spi-mem/
Dspi_mem.c211 cuint = fdt_getprop(fdt, bus_subnode, "reg", NULL); in spi_mem_init_slave()
220 cuint = fdt_getprop(fdt, bus_subnode, in spi_mem_init_slave()
227 if ((fdt_getprop(fdt, bus_subnode, "spi-cpol", NULL)) != NULL) { in spi_mem_init_slave()
230 if ((fdt_getprop(fdt, bus_subnode, "spi-cpha", NULL)) != NULL) { in spi_mem_init_slave()
233 if ((fdt_getprop(fdt, bus_subnode, "spi-cs-high", NULL)) != in spi_mem_init_slave()
237 if ((fdt_getprop(fdt, bus_subnode, "spi-3wire", NULL)) != in spi_mem_init_slave()
241 if ((fdt_getprop(fdt, bus_subnode, "spi-half-duplex", NULL)) != in spi_mem_init_slave()
247 cuint = fdt_getprop(fdt, bus_subnode, "spi-tx-bus-width", NULL); in spi_mem_init_slave()
265 cuint = fdt_getprop(fdt, bus_subnode, "spi-rx-bus-width", NULL); in spi_mem_init_slave()
/external/arm-trusted-firmware/drivers/allwinner/axp/
Dcommon.c61 prop = fdt_getprop(fdt, node, "regulator-min-microvolt", NULL); in fdt_get_regulator_millivolt()
66 prop = fdt_getprop(fdt, node, "regulator-max-microvolt", NULL); in fdt_get_regulator_millivolt()
101 if (fdt_getprop(fdt, node, "phandle", NULL) != NULL) in should_enable_regulator()
103 if (fdt_getprop(fdt, node, "regulator-always-on", NULL) != NULL) in should_enable_regulator()
119 prop = fdt_getprop(fdt, node, "dr_mode", &length); in board_uses_usb0_host_mode()
143 if (fdt_getprop(fdt, node, "x-powers,drive-vbus-en", NULL) && in axp_setup_regulators()
/external/arm-trusted-firmware/drivers/st/gpio/
Dstm32_gpio.c40 if (fdt_getprop(fdt, pinctrl_subnode, in ckeck_gpio_bank()
45 cuint = fdt_getprop(fdt, pinctrl_subnode, "reg", NULL); in ckeck_gpio_bank()
73 cuint = fdt_getprop(fdt, node, "pinmux", &len); in dt_set_gpio_config()
83 slewrate = fdt_getprop(fdt, node, "slew-rate", NULL); in dt_set_gpio_config()
88 if (fdt_getprop(fdt, node, "bias-pull-up", NULL) != NULL) { in dt_set_gpio_config()
90 } else if (fdt_getprop(fdt, node, "bias-pull-down", NULL) != NULL) { in dt_set_gpio_config()
130 if (fdt_getprop(fdt, node, "drive-open-drain", NULL) != NULL) { in dt_set_gpio_config()
176 cuint = fdt_getprop(fdt, node, "pinctrl-0", &lenp); in dt_set_pinctrl_config()
/external/arm-trusted-firmware/drivers/st/pmic/
Dstm32mp_pmic.c86 cuint = fdt_getprop(fdt, pmic_node, "reg", NULL); in dt_pmic_i2c_config()
132 if ((fdt_getprop(fdt, regulator_node, "regulator-boot-on",
134 (fdt_getprop(fdt, regulator_node, "regulator-always-on",
137 if (fdt_getprop(fdt, regulator_node, "regulator-boot-on",
143 if (fdt_getprop(fdt, regulator_node, "regulator-pull-down",
152 if (fdt_getprop(fdt, regulator_node, "st,mask-reset",
161 cuint = fdt_getprop(fdt, regulator_node,
/external/dtc/tests/
Dpath-references.c22 p = fdt_getprop(fdt, node, "ref", &len); in check_ref()
29 p = fdt_getprop(fdt, node, "lref", &len); in check_ref()
43 p = fdt_getprop(fdt, 0, "rref", &len); in check_rref()
73 p = fdt_getprop(fdt, 0, "multiref", &len); in main()
Dnotfound.c37 fdt_getprop(fdt, 0, "nonexistant-property", &lenerr); in main()
44 fdt_getprop(fdt, subnode1_offset, "prop-str", &lenerr); in main()
Dnop_property.c37 intp = fdt_getprop(fdt, 0, "prop-int", &lenerr); in main()
50 strp = fdt_getprop(fdt, 0, "prop-str", &lenerr); in main()
Dreferences.c23 p = fdt_getprop(fdt, node, "ref", &len); in check_ref()
34 p = fdt_getprop(fdt, node, "lref", &len); in check_ref()
52 p = fdt_getprop(fdt, 0, "rref", &len); in check_rref()
Dphandle_format.c54 if (fdt_getprop(fdt, n4, "linux,phandle", NULL)) in main()
60 if (fdt_getprop(fdt, n4, "phandle", NULL)) in main()
Ddel_property.c41 intp = fdt_getprop(fdt, 0, "prop-int", &lenerr); in main()
55 strp = fdt_getprop(fdt, 0, "prop-str", &lenerr); in main()
Dtruncated_property.c28 prop = fdt_getprop(fdt, 0, "truncated", &len); in main()
Dsubnode_iterate.c30 prop = fdt_getprop(fdt, parent_offset, "subnodes", &len); in test_node()
Dproperty_iterate.c33 prop = fdt_getprop(fdt, parent_offset, "test-properties", &len); in test_node()
Dsized_cells.c25 propval = fdt_getprop(fdt, 0, name_one, &proplen); in check_compare_properties()
Dinteger-expressions.c84 res = fdt_getprop(fdt, 0, "expressions", &reslen); in main()
/external/arm-trusted-firmware/drivers/st/clk/
Dstm32mp_clkfunc.c49 cuint = fdt_getprop(fdt, subnode, "clock-frequency", in fdt_osc_read_freq()
104 if (fdt_getprop(fdt, subnode, prop_name, NULL) != NULL) { in fdt_osc_read_bool()
242 cuint = fdt_getprop(fdt, node, prop_name, &len); in fdt_rcc_read_prop()
286 cuint = fdt_getprop(fdt, node, "clocks", NULL); in fdt_get_clock_id()
/external/arm-trusted-firmware/drivers/st/mmc/
Dstm32_sdmmc2.c643 cuint = fdt_getprop(fdt, sdmmc_node, "reg", NULL); in stm32_sdmmc2_dt_get_config()
668 cuint = fdt_getprop(fdt, sdmmc_node, "clocks", NULL); in stm32_sdmmc2_dt_get_config()
676 cuint = fdt_getprop(fdt, sdmmc_node, "resets", NULL); in stm32_sdmmc2_dt_get_config()
684 if ((fdt_getprop(fdt, sdmmc_node, "st,use-ckin", NULL)) != NULL) { in stm32_sdmmc2_dt_get_config()
688 if ((fdt_getprop(fdt, sdmmc_node, "st,sig-dir", NULL)) != NULL) { in stm32_sdmmc2_dt_get_config()
692 if ((fdt_getprop(fdt, sdmmc_node, "st,neg-edge", NULL)) != NULL) { in stm32_sdmmc2_dt_get_config()
696 cuint = fdt_getprop(fdt, sdmmc_node, "bus-width", NULL); in stm32_sdmmc2_dt_get_config()
712 cuint = fdt_getprop(fdt, sdmmc_node, "max-frequency", NULL); in stm32_sdmmc2_dt_get_config()
/external/dtc/libfdt/
Dfdt_ro.c500 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() function
513 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); in fdt_get_phandle()
515 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); in fdt_get_phandle()
670 val = fdt_getprop(fdt, offset, propname, &len); in fdt_node_offset_by_prop_value()
726 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count()
752 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search()
783 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_get()
827 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); in fdt_node_check_compatible()
Dfdt_overlay.c33 val = fdt_getprop(fdto, fragment, "target", &len); in overlay_get_target_phandle()
73 path = fdt_getprop(fdto, fragment, "target-path", &path_len); in overlay_get_target()
123 val = fdt_getprop(fdt, node, name, &len); in overlay_phandle_add_offset()
245 tree_val = fdt_getprop(fdto, tree_node, name, &tree_len); in overlay_update_local_node_references()
382 symbol_path = fdt_getprop(fdt, symbols_off, label, in overlay_fixup_one_phandle()
Dversion.lds18 fdt_getprop;
Dfdt_wip.c39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace()
Dfdt_addresses.c20 c = fdt_getprop(fdt, nodeoffset, name, &len); in fdt_cells()
/external/arm-trusted-firmware/drivers/st/iwdg/
Dstm32_iwdg.c100 if (fdt_getprop(fdt, node, "stm32,enable-on-stop", NULL) == in stm32_iwdg_init()
105 if (fdt_getprop(fdt, node, "stm32,enable-on-standby", NULL) == in stm32_iwdg_init()
/external/arm-trusted-firmware/common/
Dfdt_wrappers.c34 prop = fdt_getprop(dtb, node, prop_name, &value_len); in fdt_read_uint32_array()
259 prop = fdt_getprop(dtb, node, "reg", &len); in fdt_get_reg_props_by_index()
318 prop = fdt_getprop(dtb, node, "stdout-path", NULL); in fdt_get_stdout_node_offset()
Dfdt_fixup.c119 prop = fdt_getprop(fdt, offs, "device_type", &len); in dt_update_one_cpu_node()
126 prop = fdt_getprop(fdt, offs, "enable-method", &len); in dt_update_one_cpu_node()

12