Lines Matching full:ssp

3  *  linux/arch/arm/mach-sa1100/ssp.c
7 * Generic SSP driver. This provides the generic core for simple
8 * IO-based SSP applications.
21 #include <asm/hardware/ssp.h>
30 printk(KERN_WARNING "SSP: receiver overrun\n"); in ssp_interrupt()
38 * ssp_write_word - write a word to the SSP port
41 * Wait for a free entry in the SSP transmit FIFO, and write a data
42 * word to the SSP port. Wait for the SSP port to start sending
74 * ssp_read_word - read a word from the SSP port
76 * Wait for a data word in the SSP receive FIFO, and return the
106 * Wait for the SSP to idle, and ensure that the receive FIFO
133 * ssp_enable - enable the SSP port
135 * Turn on the SSP port.
143 * ssp_disable - shut down the SSP port
145 * Turn off the SSP port, optionally powering it down.
153 * ssp_save_state - save the SSP configuration
154 * @ssp: pointer to structure to save SSP configuration
156 * Save the configured SSP state for suspend.
158 void ssp_save_state(struct ssp_state *ssp) in ssp_save_state() argument
160 ssp->cr0 = Ser4SSCR0; in ssp_save_state()
161 ssp->cr1 = Ser4SSCR1; in ssp_save_state()
167 * ssp_restore_state - restore a previously saved SSP configuration
168 * @ssp: pointer to configuration saved by ssp_save_state
170 * Restore the SSP configuration saved previously by ssp_save_state.
172 void ssp_restore_state(struct ssp_state *ssp) in ssp_restore_state() argument
176 Ser4SSCR0 = ssp->cr0 & ~SSCR0_SSE; in ssp_restore_state()
177 Ser4SSCR1 = ssp->cr1; in ssp_restore_state()
178 Ser4SSCR0 = ssp->cr0; in ssp_restore_state()
182 * ssp_init - setup the SSP port
184 * initialise and claim resources for the SSP port.
187 * %-ENODEV if the SSP port is unavailable
198 if (!request_mem_region(__PREG(Ser4SSCR0), 0x18, "SSP")) { in ssp_init()
204 ret = request_irq(IRQ_Ser4SSP, ssp_interrupt, 0, "SSP", NULL); in ssp_init()
218 * release and free resources for the SSP port.
229 MODULE_DESCRIPTION("SA11x0 SSP PIO driver");