Home
last modified time | relevance | path

Searched refs:PAD_BANK (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/drivers/gpio/
Dmxs_gpio.c56 uint32_t bank = PAD_BANK(gpio); in gpio_get_value()
66 uint32_t bank = PAD_BANK(gpio); in gpio_set_value()
79 uint32_t bank = PAD_BANK(gpio); in gpio_direction_input()
91 uint32_t bank = PAD_BANK(gpio); in gpio_direction_output()
105 if (PAD_BANK(gpio) >= PINCTRL_BANKS) in gpio_request()
/external/u-boot/arch/arm/cpu/arm926ejs/mxs/
Diomux.c37 ofs += PAD_BANK(pad) * 0x20 + PAD_PIN(pad) / 16 * 0x10; in mxs_iomux_setup_pad()
47 ofs += PAD_BANK(pad) * 0x40 + PAD_PIN(pad) / 8 * 0x10; in mxs_iomux_setup_pad()
70 ofs += PAD_BANK(pad) * 0x10; in mxs_iomux_setup_pad()
/external/u-boot/arch/arm/include/asm/arch-mxs/
Diomux.h107 static inline unsigned int PAD_BANK(iomux_cfg_t pad) in PAD_BANK() function