io_win.h 561 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (C) 2018 Marvell International Ltd.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. * https://spdx.org/licenses
  6. */
  7. /* IO Window unit device driver for Marvell AP807, AP807 and AP810 SoCs */
  8. #ifndef IO_WIN_H
  9. #define IO_WIN_H
  10. #include <drivers/marvell/addr_map.h>
  11. int init_io_win(int ap_index);
  12. void iow_temp_win_insert(int ap_index, struct addr_map_win *win, int size);
  13. void iow_temp_win_remove(int ap_index, struct addr_map_win *win, int size);
  14. void iow_save_win_all(int ap_id);
  15. void iow_restore_win_all(int ap_id);
  16. #endif /* IO_WIN_H */