Lines Matching refs:comp1
587 u32 comp1 = i2s_read_reg(dev->i2s_base, dev->i2s_reg_comp1); in dw_configure_dai() local
589 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai()
594 comp1 = comp1 & ~BIT(5); in dw_configure_dai()
598 comp1 = comp1 & ~BIT(6); in dw_configure_dai()
600 if (COMP1_TX_ENABLED(comp1)) { in dw_configure_dai()
602 idx = COMP1_TX_WORDSIZE_0(comp1); in dw_configure_dai()
609 1 << (COMP1_TX_CHANNELS(comp1) + 1); in dw_configure_dai()
614 if (COMP1_RX_ENABLED(comp1)) { in dw_configure_dai()
623 1 << (COMP1_RX_CHANNELS(comp1) + 1); in dw_configure_dai()
628 if (COMP1_MODE_EN(comp1)) { in dw_configure_dai()
645 u32 comp1 = i2s_read_reg(dev->i2s_base, dev->i2s_reg_comp1); in dw_configure_dai_by_pd() local
646 u32 idx = COMP1_APB_DATA_WIDTH(comp1); in dw_configure_dai_by_pd()
664 if (COMP1_TX_ENABLED(comp1)) { in dw_configure_dai_by_pd()
665 idx2 = COMP1_TX_WORDSIZE_0(comp1); in dw_configure_dai_by_pd()
671 if (COMP1_RX_ENABLED(comp1)) { in dw_configure_dai_by_pd()
699 u32 comp1 = i2s_read_reg(dev->i2s_base, I2S_COMP_PARAM_1); in dw_configure_dai_by_dt() local
701 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai_by_dt()
709 if (COMP1_TX_ENABLED(comp1)) { in dw_configure_dai_by_dt()
710 idx2 = COMP1_TX_WORDSIZE_0(comp1); in dw_configure_dai_by_dt()
718 if (COMP1_RX_ENABLED(comp1)) { in dw_configure_dai_by_dt()