Home
last modified time | relevance | path

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

/arch/blackfin/kernel/
Dbfin_gpio.c256 u16 m, pmux, pfunc; in portmux_group_check() local
261 pmux = bfin_read_PORT_MUX(); in portmux_group_check()
271 pfunc = (pmux >> offset) & 3; in portmux_group_check()
273 pfunc = (pmux >> offset) & 1; in portmux_group_check()
289 u16 pmux; in portmux_setup() local
294 pmux = bfin_read_PORT_MUX(); in portmux_setup()
296 pmux &= ~(1 << offset); in portmux_setup()
298 pmux &= ~(3 << 1); in portmux_setup()
299 pmux |= (function << offset); in portmux_setup()
300 bfin_write_PORT_MUX(pmux); in portmux_setup()
[all …]