Home
last modified time | relevance | path

Searched refs:gpio_offset (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/arch/x86/lib/
Dpinctrl_ich6.c64 u32 gpio_offset[2]; in ich6_pinctrl_cfg_pin() local
74 gpio_offset, 2); in ich6_pinctrl_cfg_pin()
80 gpio_offset[0], gpio_offset[1], in ich6_pinctrl_cfg_pin()
86 gpio_offset[0], gpio_offset[1], in ich6_pinctrl_cfg_pin()
93 gpio_offset[0], gpio_offset[1], in ich6_pinctrl_cfg_pin()
98 setio_32(gpiobase + GPI_INV, 1 << gpio_offset[1]); in ich6_pinctrl_cfg_pin()
100 gpio_offset[0], gpio_offset[1], is_gpio, dir, val, in ich6_pinctrl_cfg_pin()
/external/u-boot/drivers/pinctrl/
Dpinctrl-uclass.c177 unsigned gpio_offset, pfc_base, pfc_pins; in pinctrl_gpio_get_pinctrl_and_offset() local
197 gpio_offset = args.args[0]; in pinctrl_gpio_get_pinctrl_and_offset()
201 if (offset < gpio_offset || offset > gpio_offset + pfc_pins) { in pinctrl_gpio_get_pinctrl_and_offset()
208 offset -= gpio_offset; in pinctrl_gpio_get_pinctrl_and_offset()