xref: /kernel/linux/linux-5.10/arch/arm/include/asm/hardware/ssp.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/arm/include/asm/hardware/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci *  ssp.h
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci *  Copyright (C) 2003 Russell King, All Rights Reserved.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci#ifndef SSP_H
88c2ecf20Sopenharmony_ci#define SSP_H
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_cistruct ssp_state {
118c2ecf20Sopenharmony_ci	unsigned int	cr0;
128c2ecf20Sopenharmony_ci	unsigned int	cr1;
138c2ecf20Sopenharmony_ci};
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciint ssp_write_word(u16 data);
168c2ecf20Sopenharmony_ciint ssp_read_word(u16 *data);
178c2ecf20Sopenharmony_ciint ssp_flush(void);
188c2ecf20Sopenharmony_civoid ssp_enable(void);
198c2ecf20Sopenharmony_civoid ssp_disable(void);
208c2ecf20Sopenharmony_civoid ssp_save_state(struct ssp_state *ssp);
218c2ecf20Sopenharmony_civoid ssp_restore_state(struct ssp_state *ssp);
228c2ecf20Sopenharmony_ciint ssp_init(void);
238c2ecf20Sopenharmony_civoid ssp_exit(void);
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci#endif
26

Indexes created Thu Nov 07 10:32:03 CST 2024