Lines Matching refs:ctrl_val
1280 unsigned int val_len = 0, ctrl_val, bclk_fs, bclk_div; in nau8825_hw_params() local
1307 regmap_read(nau8825->regmap, NAU8825_REG_I2S_PCM_CTRL2, &ctrl_val); in nau8825_hw_params()
1308 if (ctrl_val & NAU8825_I2S_MS_MASTER) { in nau8825_hw_params()
1430 unsigned int ctrl_val = 0, ctrl_offset = 0, value = 0, dac_s, adc_s; in nau8825_set_tdm_slot() local
1459 ctrl_val |= NAU8825_TDM_OFFSET_EN; in nau8825_set_tdm_slot()
1470 ctrl_val |= NAU8825_TDM_MODE; in nau8825_set_tdm_slot()
1474 ctrl_val |= 1 << NAU8825_TDM_DACR_RX_SFT; in nau8825_set_tdm_slot()
1477 ctrl_val |= 2 << NAU8825_TDM_DACR_RX_SFT; in nau8825_set_tdm_slot()
1480 ctrl_val |= 1 << NAU8825_TDM_DACL_RX_SFT; in nau8825_set_tdm_slot()
1481 ctrl_val |= 2 << NAU8825_TDM_DACR_RX_SFT; in nau8825_set_tdm_slot()
1484 ctrl_val |= 3 << NAU8825_TDM_DACR_RX_SFT; in nau8825_set_tdm_slot()
1487 ctrl_val |= 1 << NAU8825_TDM_DACL_RX_SFT; in nau8825_set_tdm_slot()
1488 ctrl_val |= 3 << NAU8825_TDM_DACR_RX_SFT; in nau8825_set_tdm_slot()
1491 ctrl_val |= 2 << NAU8825_TDM_DACL_RX_SFT; in nau8825_set_tdm_slot()
1492 ctrl_val |= 3 << NAU8825_TDM_DACR_RX_SFT; in nau8825_set_tdm_slot()
1498 ctrl_val |= adc_s - 1; in nau8825_set_tdm_slot()
1503 NAU8825_TDM_TX_MASK, ctrl_val); in nau8825_set_tdm_slot()