mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-25 20:53:05 +00:00
16 lines
354 B
C
16 lines
354 B
C
|
/* SPDX-License-Identifier: MIT */
|
||
|
|
||
|
#ifndef DART_H
|
||
|
#define DART_H
|
||
|
|
||
|
#include "types.h"
|
||
|
|
||
|
typedef struct dart_dev dart_dev_t;
|
||
|
|
||
|
dart_dev_t *dart_init(uintptr_t base, u8 device);
|
||
|
int dart_map(dart_dev_t *dart, uintptr_t iova, void *bfr, size_t len);
|
||
|
void dart_unmap(dart_dev_t *dart, uintptr_t iova, size_t len);
|
||
|
void dart_shutdown(dart_dev_t *dart);
|
||
|
|
||
|
#endif
|