Lines Matching refs:comp1
498 u32 comp1 = i2s_read_reg(dev->i2s_base, dev->i2s_reg_comp1); in dw_configure_dai() local
500 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai()
505 comp1 = comp1 & ~BIT(5); in dw_configure_dai()
509 comp1 = comp1 & ~BIT(6); in dw_configure_dai()
511 if (COMP1_TX_ENABLED(comp1)) { in dw_configure_dai()
513 idx = COMP1_TX_WORDSIZE_0(comp1); in dw_configure_dai()
520 1 << (COMP1_TX_CHANNELS(comp1) + 1); in dw_configure_dai()
525 if (COMP1_RX_ENABLED(comp1)) { in dw_configure_dai()
534 1 << (COMP1_RX_CHANNELS(comp1) + 1); in dw_configure_dai()
539 if (COMP1_MODE_EN(comp1)) { in dw_configure_dai()
556 u32 comp1 = i2s_read_reg(dev->i2s_base, dev->i2s_reg_comp1); in dw_configure_dai_by_pd() local
557 u32 idx = COMP1_APB_DATA_WIDTH(comp1); in dw_configure_dai_by_pd()
588 u32 comp1 = i2s_read_reg(dev->i2s_base, I2S_COMP_PARAM_1); in dw_configure_dai_by_dt() local
590 u32 fifo_depth = 1 << (1 + COMP1_FIFO_DEPTH_GLOBAL(comp1)); in dw_configure_dai_by_dt()
591 u32 idx = COMP1_APB_DATA_WIDTH(comp1); in dw_configure_dai_by_dt()
602 if (COMP1_TX_ENABLED(comp1)) { in dw_configure_dai_by_dt()
603 idx2 = COMP1_TX_WORDSIZE_0(comp1); in dw_configure_dai_by_dt()
612 if (COMP1_RX_ENABLED(comp1)) { in dw_configure_dai_by_dt()