diff options
Diffstat (limited to 'utils/hwstub/lib/hwstub.h')
-rw-r--r-- | utils/hwstub/lib/hwstub.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/hwstub/lib/hwstub.h b/utils/hwstub/lib/hwstub.h index d7d6ceb8ef..4d12de8eda 100644 --- a/utils/hwstub/lib/hwstub.h +++ b/utils/hwstub/lib/hwstub.h | |||
@@ -53,8 +53,11 @@ int hwstub_get_desc(struct hwstub_device_t *dev, uint16_t desc, void *info, size | |||
53 | int hwstub_get_log(struct hwstub_device_t *dev, void *buf, size_t sz); | 53 | int hwstub_get_log(struct hwstub_device_t *dev, void *buf, size_t sz); |
54 | /* Returns number of bytes written/read or <0 on error */ | 54 | /* Returns number of bytes written/read or <0 on error */ |
55 | int hwstub_read(struct hwstub_device_t *dev, uint32_t addr, void *buf, size_t sz); | 55 | int hwstub_read(struct hwstub_device_t *dev, uint32_t addr, void *buf, size_t sz); |
56 | int hwstub_write(struct hwstub_device_t *dev, uint32_t addr, void *buf, size_t sz); | 56 | int hwstub_read_atomic(struct hwstub_device_t *dev, uint32_t addr, void *buf, size_t sz); |
57 | int hwstub_write(struct hwstub_device_t *dev, uint32_t addr, const void *buf, size_t sz); | ||
58 | int hwstub_write_atomic(struct hwstub_device_t *dev, uint32_t addr, const void *buf, size_t sz); | ||
57 | int hwstub_rw_mem(struct hwstub_device_t *dev, int read, uint32_t addr, void *buf, size_t sz); | 59 | int hwstub_rw_mem(struct hwstub_device_t *dev, int read, uint32_t addr, void *buf, size_t sz); |
60 | int hwstub_rw_mem_atomic(struct hwstub_device_t *dev, int read, uint32_t addr, void *buf, size_t sz); | ||
58 | /* Returns <0 on error */ | 61 | /* Returns <0 on error */ |
59 | int hwstub_exec(struct hwstub_device_t *dev, uint32_t addr, uint16_t flags); | 62 | int hwstub_exec(struct hwstub_device_t *dev, uint32_t addr, uint16_t flags); |
60 | int hwstub_call(struct hwstub_device_t *dev, uint32_t addr); | 63 | int hwstub_call(struct hwstub_device_t *dev, uint32_t addr); |