Home
last modified time | relevance | path

Searched refs:gpio_bank (Results 1 – 2 of 2) sorted by relevance

/arch/blackfin/kernel/
Dbfin_gpio.c144 #define map_entry(m, i) reserved_##m##_map[gpio_bank(i)]
177 *port_fer[gpio_bank(gpio)] |= gpio_bit(gpio); in port_setup()
179 *port_fer[gpio_bank(gpio)] &= ~gpio_bit(gpio); in port_setup()
189 *port_fer[gpio_bank(gpio)] &= ~gpio_bit(gpio); in port_setup()
191 *port_fer[gpio_bank(gpio)] |= gpio_bit(gpio); in port_setup()
286 u8 offset = pmux_offset[gpio_bank(ident)][gpio_sub_n(ident)]; in portmux_group_check()
290 if (offset != pmux_offset[gpio_bank(ident)][pin]) in portmux_group_check()
293 gpiopin = gpio_bank(ident) * GPIO_BANKSIZE + pin; in portmux_group_check()
299 pfunc = *port_mux[gpio_bank(ident)]; in portmux_group_check()
315 u8 offset = pmux_offset[gpio_bank(ident)][gpio_sub_n(ident)]; in portmux_setup()
[all …]
/arch/blackfin/include/asm/
Dgpio.h10 #define gpio_bank(x) ((x) >> 4) macro