Lines Matching refs:comp1
485 u32 comp1 = i2s_read_reg(dev->i2s_base, dev->i2s_reg_comp1); in dw_configure_dai() local
487 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai()
492 comp1 = comp1 & ~BIT(5); in dw_configure_dai()
496 comp1 = comp1 & ~BIT(6); in dw_configure_dai()
498 if (COMP1_TX_ENABLED(comp1)) { in dw_configure_dai()
500 idx = COMP1_TX_WORDSIZE_0(comp1); in dw_configure_dai()
507 1 << (COMP1_TX_CHANNELS(comp1) + 1); in dw_configure_dai()
512 if (COMP1_RX_ENABLED(comp1)) { in dw_configure_dai()
521 1 << (COMP1_RX_CHANNELS(comp1) + 1); in dw_configure_dai()
526 if (COMP1_MODE_EN(comp1)) { in dw_configure_dai()
543 u32 comp1 = i2s_read_reg(dev->i2s_base, dev->i2s_reg_comp1); in dw_configure_dai_by_pd() local
544 u32 idx = COMP1_APB_DATA_WIDTH(comp1); in dw_configure_dai_by_pd()
575 u32 comp1 = i2s_read_reg(dev->i2s_base, I2S_COMP_PARAM_1); in dw_configure_dai_by_dt() local
577 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai_by_dt()
578 u32 idx = COMP1_APB_DATA_WIDTH(comp1); in dw_configure_dai_by_dt()
589 if (COMP1_TX_ENABLED(comp1)) { in dw_configure_dai_by_dt()
590 idx2 = COMP1_TX_WORDSIZE_0(comp1); in dw_configure_dai_by_dt()
599 if (COMP1_RX_ENABLED(comp1)) { in dw_configure_dai_by_dt()