Searched refs:pmux (Results 1 – 1 of 1) sorted by relevance
89 u32 pmux; in portmux_setup() local93 pmux = gpio_array[gpio_bank(ident)]->port_mux; in portmux_setup()95 pmux &= ~(0x3 << (2 * gpio_sub_n(ident))); in portmux_setup()96 pmux |= (function & 0x3) << (2 * gpio_sub_n(ident)); in portmux_setup()98 gpio_array[gpio_bank(ident)]->port_mux = pmux; in portmux_setup()103 u32 pmux; in get_portmux() local106 pmux = gpio_array[gpio_bank(ident)]->port_mux; in get_portmux()108 return pmux >> (2 * gpio_sub_n(ident)) & 0x3; in get_portmux()