treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm / include / asm / hardware / ssp.h
blob72d176790308454a61b7978c753ca8bd629bb756
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * ssp.h
5 * Copyright (C) 2003 Russell King, All Rights Reserved.
6 */
7 #ifndef SSP_H
8 #define SSP_H
10 struct ssp_state {
11 unsigned int cr0;
12 unsigned int cr1;
15 int ssp_write_word(u16 data);
16 int ssp_read_word(u16 *data);
17 int ssp_flush(void);
18 void ssp_enable(void);
19 void ssp_disable(void);
20 void ssp_save_state(struct ssp_state *ssp);
21 void ssp_restore_state(struct ssp_state *ssp);
22 int ssp_init(void);
23 void ssp_exit(void);
25 #endif