Home
last modified time | relevance | path

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

/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()
38 bp = PAD_PIN(pad) % 16 * 2; in mxs_iomux_setup_pad()
47 ofs += PAD_BANK(pad) * 0x40 + PAD_PIN(pad) / 8 * 0x10; in mxs_iomux_setup_pad()
50 bp = PAD_PIN(pad) % 8 * 4; in mxs_iomux_setup_pad()
59 bp = PAD_PIN(pad) % 8 * 4 + 2; in mxs_iomux_setup_pad()
71 bp = PAD_PIN(pad); in mxs_iomux_setup_pad()
/external/u-boot/drivers/gpio/
Dmxs_gpio.c61 return (readl(&reg->reg) >> PAD_PIN(gpio)) & 1; in gpio_get_value()
72 writel(1 << PAD_PIN(gpio), &reg->reg_set); in gpio_set_value()
74 writel(1 << PAD_PIN(gpio), &reg->reg_clr); in gpio_set_value()
84 writel(1 << PAD_PIN(gpio), &reg->reg_clr); in gpio_direction_input()
98 writel(1 << PAD_PIN(gpio), &reg->reg_set); in gpio_direction_output()
/external/u-boot/arch/arm/include/asm/arch-mxs/
Diomux.h112 static inline unsigned int PAD_PIN(iomux_cfg_t pad) in PAD_PIN() function