Searched refs:pin_node (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/arch/x86/lib/ |
H A D | pinctrl_ich6.c | 61 static int ich6_pinctrl_cfg_pin(s32 gpiobase, s32 iobase, int pin_node) in ich6_pinctrl_cfg_pin() argument 73 ret = fdtdec_get_int_array(gd->fdt_blob, pin_node, "gpio-offset", in ich6_pinctrl_cfg_pin() 77 is_gpio = fdtdec_get_bool(gd->fdt_blob, pin_node, "mode-gpio"); in ich6_pinctrl_cfg_pin() 83 dir = fdtdec_get_int(gd->fdt_blob, pin_node, "direction", -1); in ich6_pinctrl_cfg_pin() 89 val = fdtdec_get_int(gd->fdt_blob, pin_node, "output-value", in ich6_pinctrl_cfg_pin() 96 invert = fdtdec_get_bool(gd->fdt_blob, pin_node, "invert"); in ich6_pinctrl_cfg_pin() 114 pad_offset = fdtdec_get_int(gd->fdt_blob, pin_node, in ich6_pinctrl_cfg_pin() 127 val = fdtdec_get_int(gd->fdt_blob, pin_node, "mode-func", -1); in ich6_pinctrl_cfg_pin() 132 val = fdtdec_get_int(gd->fdt_blob, pin_node, "pull-assign", -1); in ich6_pinctrl_cfg_pin() 138 val = fdtdec_get_int(gd->fdt_blob, pin_node, "pull-strength", in ich6_pinctrl_cfg_pin() [all …]
|
/openbmc/u-boot/arch/x86/cpu/tangier/ |
H A D | pinmux.c | 127 static int mrfld_pinctrl_cfg_pin(ofnode pin_node) in mrfld_pinctrl_cfg_pin() argument 136 is_protected = ofnode_read_bool(pin_node, "protected"); in mrfld_pinctrl_cfg_pin() 140 pad_offset = ofnode_read_s32_default(pin_node, "pad-offset", -1); in mrfld_pinctrl_cfg_pin() 144 mode = ofnode_read_s32_default(pin_node, "mode-func", -1); in mrfld_pinctrl_cfg_pin() 163 ofnode pin_node; in tangier_pinctrl_probe() local 172 ofnode_for_each_subnode(pin_node, dev_ofnode(dev)) { in tangier_pinctrl_probe() 173 ret = mrfld_pinctrl_cfg_pin(pin_node); in tangier_pinctrl_probe() 176 __func__, pin_node.of_offset); in tangier_pinctrl_probe()
|