Home
last modified time | relevance | path

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

/linux-4.1.27/arch/blackfin/kernel/
Dbfin_gpio.c230 u16 m, pmux, pfunc, mask; in portmux_group_check() local
235 pmux = bfin_read_PORT_MUX(); in portmux_group_check()
249 pfunc = (pmux >> offset) & mask; in portmux_group_check()
265 u16 pmux, mask; in portmux_setup() local
270 pmux = bfin_read_PORT_MUX(); in portmux_setup()
276 pmux &= ~(mask << offset); in portmux_setup()
277 pmux |= ((function & mask) << offset); in portmux_setup()
279 bfin_write_PORT_MUX(pmux); in portmux_setup()
316 u16 pmux; in portmux_setup() local
318 pmux = *port_mux[gpio_bank(ident)]; in portmux_setup()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dmarvell,berlin.txt128 spi1_pmux: spi1-pmux {
138 uart0_pmux: uart0-pmux {
143 uart1_pmux: uart1-pmux {
148 uart2_pmux: uart2-pmux {
/linux-4.1.27/arch/arm/boot/dts/
Dberlin2q.dtsi370 twsi0_pmux: twsi0-pmux {
375 twsi1_pmux: twsi1-pmux {
532 uart0_pmux: uart0-pmux {
537 uart1_pmux: uart1-pmux {
542 twsi2_pmux: twsi2-pmux {
547 twsi3_pmux: twsi3-pmux {
Dberlin2.dtsi361 emmc_pmux: emmc-pmux {
448 uart0_pmux: uart0-pmux {
453 uart1_pmux: uart1-pmux {
458 uart2_pmux: uart2-pmux {
Dberlin2cd.dtsi305 uart0_pmux: uart0-pmux {
/linux-4.1.27/drivers/pinctrl/
Dpinctrl-adi2.c231 u32 pmux; in portmux_setup() local
233 pmux = readl(&regs->port_mux); in portmux_setup()
238 pmux &= ~(0x3 << (2 * offset)); in portmux_setup()
239 pmux |= (function & 0x3) << (2 * offset); in portmux_setup()
241 writel(pmux, &regs->port_mux); in portmux_setup()
247 u32 pmux = readl(&regs->port_mux); in get_portmux() local
252 return pmux >> (2 * offset) & 0x3; in get_portmux()