Searched refs:PAD_PIN (Results 1 – 3 of 3) sorted by relevance
37 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()
66 return (readl(®->reg) >> PAD_PIN(gpio)) & 1; in gpio_get_value()77 writel(1 << PAD_PIN(gpio), ®->reg_set); in gpio_set_value()79 writel(1 << PAD_PIN(gpio), ®->reg_clr); in gpio_set_value()89 writel(1 << PAD_PIN(gpio), ®->reg_clr); in gpio_direction_input()103 writel(1 << PAD_PIN(gpio), ®->reg_set); in gpio_direction_output()
112 static inline unsigned int PAD_PIN(iomux_cfg_t pad) in PAD_PIN() function
Completed in 6 milliseconds