Lines Matching full:ssp
21 * 16bit serial writes via this SSP port to write the data bits into the
78 struct ssp_regs *ssp = (struct ssp_regs *)CONFIG_SSP2_BASE; in fpga_done_fn() local
83 while (!(readl(&ssp->sspsr) & SSPSR_TFE)) in fpga_done_fn()
127 * in SSP interface. So we don't have to do anything here. in fpga_clk_fn()
134 struct ssp_regs *ssp = (struct ssp_regs *)CONFIG_SSP2_BASE; in fpga_wr_fn() local
157 while (!(readl(&ssp->sspsr) & SSPSR_TNF)) in fpga_wr_fn()
160 /* Send 16 bits to FPGA via SSP bus */ in fpga_wr_fn()
161 writel(data, &ssp->sspdr); in fpga_wr_fn()
231 struct ssp_regs *ssp = (struct ssp_regs *)CONFIG_SSP2_BASE; in x600_init_fpga() local
245 writel(SSPCR0_DSS_16BITS, &ssp->sspcr0); in x600_init_fpga()
246 writel(SSPCR1_SSE, &ssp->sspcr1); in x600_init_fpga()
255 writel(2, &ssp->sspcpsr); in x600_init_fpga()