Lines Matching full:ssp
20 * 16bit serial writes via this SSP port to write the data bits into the
77 struct ssp_regs *ssp = (struct ssp_regs *)CONFIG_SSP2_BASE; in fpga_done_fn() local
82 while (!(readl(&ssp->sspsr) & SSPSR_TFE)) in fpga_done_fn()
126 * in SSP interface. So we don't have to do anything here. in fpga_clk_fn()
133 struct ssp_regs *ssp = (struct ssp_regs *)CONFIG_SSP2_BASE; in fpga_wr_fn() local
156 while (!(readl(&ssp->sspsr) & SSPSR_TNF)) in fpga_wr_fn()
159 /* Send 16 bits to FPGA via SSP bus */ in fpga_wr_fn()
160 writel(data, &ssp->sspdr); in fpga_wr_fn()
230 struct ssp_regs *ssp = (struct ssp_regs *)CONFIG_SSP2_BASE; in x600_init_fpga() local
244 writel(SSPCR0_DSS_16BITS, &ssp->sspcr0); in x600_init_fpga()
245 writel(SSPCR1_SSE, &ssp->sspcr1); in x600_init_fpga()
254 writel(2, &ssp->sspcpsr); in x600_init_fpga()