|
VSF Documented
|
mal driver More...
#include <vsf_mal.h>
Data Fields | |
| uint_fast32_t(* | blksz )(vk_mal_t *mal, uint_fast64_t addr, uint_fast32_t size, vsf_mal_op_t op) |
| bool(* | buffer )(vk_mal_t *mal, uint_fast64_t addr, uint_fast32_t size, vsf_mal_op_t op, vsf_mem_t *mem) |
| vsf_mal_capability_t(* | capability )(vk_mal_t *mal) |
| uint8_t | init_local_size |
| uint8_t | fini_local_size |
| uint8_t | erase_local_size |
| uint8_t | read_local_size |
| uint8_t | write_local_size |
| vsf_peda_evthandler_t | init |
| vsf_peda_evthandler_t | fini |
| vsf_peda_evthandler_t | erase |
| vsf_peda_evthandler_t | read |
| vsf_peda_evthandler_t | write |
mal driver
| uint_fast32_t(* vk_mal_drv_t::blksz) (vk_mal_t *mal, uint_fast64_t addr, uint_fast32_t size, vsf_mal_op_t op) |
get block size for a dedicated operation specified by addr/size/operation
| bool(* vk_mal_drv_t::buffer) (vk_mal_t *mal, uint_fast64_t addr, uint_fast32_t size, vsf_mal_op_t op, vsf_mem_t *mem) |
get buffer for read/write if VSF_MAL_LOCAL_BUFFER is enabled
| vsf_mal_capability_t(* vk_mal_drv_t::capability) (vk_mal_t *mal) |
get capability of the mal device
| uint8_t vk_mal_drv_t::init_local_size |
| uint8_t vk_mal_drv_t::fini_local_size |
| uint8_t vk_mal_drv_t::erase_local_size |
| uint8_t vk_mal_drv_t::read_local_size |
| uint8_t vk_mal_drv_t::write_local_size |
| vsf_peda_evthandler_t vk_mal_drv_t::init |
initialize mal
| vsf_peda_evthandler_t vk_mal_drv_t::fini |
finalize mal
| vsf_peda_evthandler_t vk_mal_drv_t::erase |
erase mal
| vsf_peda_evthandler_t vk_mal_drv_t::read |
read mal
| vsf_peda_evthandler_t vk_mal_drv_t::write |
write mal