Searched refs:PAD_BANK (Results 1 – 3 of 3) sorted by relevance
56 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()
37 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()
107 static inline unsigned int PAD_BANK(iomux_cfg_t pad) in PAD_BANK() function