Lines Matching refs:MSP_GCR

203 	temp_reg = readl(msp->registers + MSP_GCR) & ~TX_CLK_POL_RISING;  in configure_protocol()
205 writel(temp_reg, msp->registers + MSP_GCR); in configure_protocol()
206 temp_reg = readl(msp->registers + MSP_GCR) & ~RX_CLK_POL_RISING; in configure_protocol()
208 writel(temp_reg, msp->registers + MSP_GCR); in configure_protocol()
222 reg_val_GCR = readl(msp->registers + MSP_GCR); in setup_bitclk()
223 writel(reg_val_GCR & ~SRG_ENABLE, msp->registers + MSP_GCR); in setup_bitclk()
261 reg_val_GCR = readl(msp->registers + MSP_GCR); in setup_bitclk()
262 writel(reg_val_GCR | SRG_ENABLE, msp->registers + MSP_GCR); in setup_bitclk()
373 reg_val_GCR = readl(msp->registers + MSP_GCR); in enable_msp()
374 writel(reg_val_GCR | FRAME_GEN_ENABLE, msp->registers + MSP_GCR); in enable_msp()
384 reg_val_GCR = readl(msp->registers + MSP_GCR); in flush_fifo_rx()
385 writel(reg_val_GCR | RX_ENABLE, msp->registers + MSP_GCR); in flush_fifo_rx()
393 writel(reg_val_GCR, msp->registers + MSP_GCR); in flush_fifo_rx()
401 reg_val_GCR = readl(msp->registers + MSP_GCR); in flush_fifo_tx()
402 writel(reg_val_GCR | TX_ENABLE, msp->registers + MSP_GCR); in flush_fifo_tx()
411 writel(reg_val_GCR, msp->registers + MSP_GCR); in flush_fifo_tx()
462 old_reg = readl(msp->registers + MSP_GCR); in ux500_msp_i2s_open()
465 writel(new_reg, msp->registers + MSP_GCR); in ux500_msp_i2s_open()
488 reg_val_GCR = readl(msp->registers + MSP_GCR); in disable_msp_rx()
489 writel(reg_val_GCR & ~RX_ENABLE, msp->registers + MSP_GCR); in disable_msp_rx()
504 reg_val_GCR = readl(msp->registers + MSP_GCR); in disable_msp_tx()
505 writel(reg_val_GCR & ~TX_ENABLE, msp->registers + MSP_GCR); in disable_msp_tx()
521 reg_val_GCR = readl(msp->registers + MSP_GCR); in disable_msp()
525 reg_val_GCR = readl(msp->registers + MSP_GCR); in disable_msp()
527 msp->registers + MSP_GCR); in disable_msp()
533 writel((readl(msp->registers + MSP_GCR) & in disable_msp()
534 (~TX_ENABLE)), msp->registers + MSP_GCR); in disable_msp()
540 writel((readl(msp->registers + MSP_GCR) & in disable_msp()
542 msp->registers + MSP_GCR); in disable_msp()
572 reg_val_GCR = readl(msp->registers + MSP_GCR); in ux500_msp_i2s_trigger()
573 writel(reg_val_GCR | enable_bit, msp->registers + MSP_GCR); in ux500_msp_i2s_trigger()
601 writel((readl(msp->registers + MSP_GCR) & in ux500_msp_i2s_close()
603 msp->registers + MSP_GCR); in ux500_msp_i2s_close()
605 writel(0, msp->registers + MSP_GCR); in ux500_msp_i2s_close()