Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Diomux.c38 ofs += PAD_BANK(pad) * 0x20 + PAD_PIN(pad) / 16 * 0x10; in mxs_iomux_setup_pad()
39 bp = PAD_PIN(pad) % 16 * 2; in mxs_iomux_setup_pad()
48 ofs += PAD_BANK(pad) * 0x40 + PAD_PIN(pad) / 8 * 0x10; in mxs_iomux_setup_pad()
51 bp = PAD_PIN(pad) % 8 * 4; in mxs_iomux_setup_pad()
60 bp = PAD_PIN(pad) % 8 * 4 + 2; in mxs_iomux_setup_pad()
72 bp = PAD_PIN(pad); in mxs_iomux_setup_pad()
/OK3568_Linux_fs/u-boot/drivers/gpio/
H A Dmxs_gpio.c62 return (readl(&reg->reg) >> PAD_PIN(gpio)) & 1; in gpio_get_value()
73 writel(1 << PAD_PIN(gpio), &reg->reg_set); in gpio_set_value()
75 writel(1 << PAD_PIN(gpio), &reg->reg_clr); in gpio_set_value()
85 writel(1 << PAD_PIN(gpio), &reg->reg_clr); in gpio_direction_input()
99 writel(1 << PAD_PIN(gpio), &reg->reg_set); in gpio_direction_output()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-mxs/
H A Diomux.h113 static inline unsigned int PAD_PIN(iomux_cfg_t pad) in PAD_PIN() function