Searched refs:ctrl0 (Results 1 – 2 of 2) sorted by relevance
300 unsigned int ctrl0, ctrl0_mask; in adau1977_hw_params() local318 ctrl0 = fs; in adau1977_hw_params()323 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_RJ_16BIT; in adau1977_hw_params()326 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_RJ_24BIT; in adau1977_hw_params()368 ctrl0_mask, ctrl0); in adau1977_hw_params()500 unsigned int ctrl0, ctrl1, drv; in adau1977_set_tdm_slot() local550 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_2; in adau1977_set_tdm_slot()553 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_4; in adau1977_set_tdm_slot()556 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_8; in adau1977_set_tdm_slot()559 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_16; in adau1977_set_tdm_slot()[all …]
555 unsigned int ctrl0, ctrl1; in adau17x1_set_dai_fmt() local560 ctrl0 = ADAU17X1_SERIAL_PORT0_MASTER; in adau17x1_set_dai_fmt()564 ctrl0 = 0; in adau17x1_set_dai_fmt()583 ctrl0 |= ADAU17X1_SERIAL_PORT0_PULSE_MODE; in adau17x1_set_dai_fmt()588 ctrl0 |= ADAU17X1_SERIAL_PORT0_PULSE_MODE; in adau17x1_set_dai_fmt()599 ctrl0 |= ADAU17X1_SERIAL_PORT0_BCLK_POL; in adau17x1_set_dai_fmt()605 ctrl0 |= ADAU17X1_SERIAL_PORT0_BCLK_POL; in adau17x1_set_dai_fmt()613 ctrl0 |= ADAU17X1_SERIAL_PORT0_LRCLK_POL; in adau17x1_set_dai_fmt()615 regmap_write(adau->regmap, ADAU17X1_SERIAL_PORT0, ctrl0); in adau17x1_set_dai_fmt()