Lines Matching +full:audmux +full:- +full:port
1 /*-
28 * i.MX6 Digital Audio Multiplexer (AUDMUX)
53 bus_space_read_4(_sc->bst, _sc->bsh, _reg)
55 bus_space_write_4(_sc->bst, _sc->bsh, _reg, _val)
57 #define AUDMUX_PTCR(n) (0x8 * (n - 1)) /* Port Timing Control Register */
66 #define AUDMUX_PDCR(n) (0x8 * (n - 1) + 0x4) /* Port Data Control Reg */
69 #define PDCR_RXDSEL_PORT(n) (n - 1)
80 { -1, 0 }
90 if (!ofw_bus_is_compatible(dev, "fsl,imx6q-audmux")) in audmux_probe()
121 if (bus_alloc_resources(dev, audmux_spec, sc->res)) { in audmux_attach()
127 sc->bst = rman_get_bustag(sc->res[0]); in audmux_attach()
128 sc->bsh = rman_get_bushandle(sc->res[0]); in audmux_attach()
147 "audmux",
152 DRIVER_MODULE(audmux, simplebus, audmux_driver, 0, 0);