blob: ba0a62e486832fd30a58c79f68ce4e21e3984036 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef HASWELL_VCU_MAILBOX_H
#define HASWELL_VCU_MAILBOX_H
#include <stdint.h>
uint32_t vcu_read_csr(uint32_t addr);
void vcu_write_csr(uint32_t addr, uint32_t data);
void vcu_update_csr(uint32_t addr, uint32_t andvalue, uint32_t orvalue);
uint32_t vcu_read_mmio(uint32_t addr);
void vcu_write_mmio(uint32_t addr, uint32_t data);
void vcu_update_mmio(uint32_t addr, uint32_t andvalue, uint32_t orvalue);
#endif /* HASWELL_VCU_MAILBOX_H */
|