Angel Pons | 567ece4 | 2022-05-06 21:56:48 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #ifndef HASWELL_VCU_MAILBOX_H |
| 4 | #define HASWELL_VCU_MAILBOX_H |
| 5 | |
| 6 | #include <stdint.h> |
| 7 | |
| 8 | uint32_t vcu_read_csr(uint32_t addr); |
| 9 | void vcu_write_csr(uint32_t addr, uint32_t data); |
| 10 | void vcu_update_csr(uint32_t addr, uint32_t andvalue, uint32_t orvalue); |
| 11 | |
| 12 | uint32_t vcu_read_mmio(uint32_t addr); |
| 13 | void vcu_write_mmio(uint32_t addr, uint32_t data); |
| 14 | void vcu_update_mmio(uint32_t addr, uint32_t andvalue, uint32_t orvalue); |
| 15 | |
| 16 | #endif /* HASWELL_VCU_MAILBOX_H */ |