sunxi_i2s.c | 695 uint32_t ctl, fat0, chsel; local in function:sunxi_i2s_dai_set_format 748 chsel = I2S_READ(sc, sc->sc_cfg->txchsel); 749 chsel &= ~DA_CHSEL_OFFSET; 750 chsel |= __SHIFTIN(offset, DA_CHSEL_OFFSET); 751 I2S_WRITE(sc, sc->sc_cfg->txchsel, chsel); 753 chsel = I2S_READ(sc, sc->sc_cfg->rxchsel); 754 chsel &= ~DA_CHSEL_OFFSET; 755 chsel |= __SHIFTIN(offset, DA_CHSEL_OFFSET); 756 I2S_WRITE(sc, sc->sc_cfg->rxchsel, chsel);
|