4 * Copyright (C) 2003 Russell King, All Rights Reserved.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * This driver supports the following PXA CPU/SSP ports:-
14 * PXA26x SSP, NSSP, ASSP
15 * PXA27x SSP1, SSP2, SSP3
36 int ssp_write_word(struct ssp_dev *dev, u32 data);
37 int ssp_read_word(struct ssp_dev *dev);
38 void ssp_flush(struct ssp_dev *dev);
39 void ssp_enable(struct ssp_dev *dev);
40 void ssp_disable(struct ssp_dev *dev);
41 void ssp_save_state(struct ssp_dev *dev, struct ssp_state *ssp);
42 void ssp_restore_state(struct ssp_dev *dev, struct ssp_state *ssp);
43 int ssp_init(struct ssp_dev *dev, u32 port);
44 int ssp_config(struct ssp_dev *dev, u32 mode, u32 flags, u32 psp_flags, u32 speed);
45 void ssp_exit(struct ssp_dev *dev);