nrfxlib API 0.1.0
Loading...
Searching...
No Matches
bal_api.h File Reference
#include "osal_api.h"
#include "bal_structs.h"

Go to the source code of this file.

Functions

struct nrf_wifi_bal_privnrf_wifi_bal_init (struct nrf_wifi_bal_cfg_params *cfg_params, enum nrf_wifi_status(*intr_callbk_fn)(void *hal_ctx))
 Header containing the API declarations for the Bus Abstraction Layer (BAL) of the Wi-Fi driver.
 
void nrf_wifi_bal_deinit (struct nrf_wifi_bal_priv *bpriv)
 Deinitialize the BAL layer.
 
struct nrf_wifi_bal_dev_ctxnrf_wifi_bal_dev_add (struct nrf_wifi_bal_priv *bpriv, void *hal_dev_ctx)
 Add a device context to the BAL layer.
 
void nrf_wifi_bal_dev_rem (struct nrf_wifi_bal_dev_ctx *bal_dev_ctx)
 Remove a device context from the BAL layer.
 
enum nrf_wifi_status nrf_wifi_bal_dev_init (struct nrf_wifi_bal_dev_ctx *bal_dev_ctx)
 Initialize a device context in the BAL layer.
 
void nrf_wifi_bal_dev_deinit (struct nrf_wifi_bal_dev_ctx *bal_dev_ctx)
 Deinitialize a device context in the BAL layer.
 
unsigned int nrf_wifi_bal_read_word (void *ctx, unsigned long addr_offset)
 Read a word from a specific address offset.
 
void nrf_wifi_bal_write_word (void *ctx, unsigned long addr_offset, unsigned int val)
 Write a word to a specific address offset.
 
void nrf_wifi_bal_read_block (void *ctx, void *dest_addr, unsigned long src_addr_offset, size_t len)
 Read a block of data from a specific address offset.
 
void nrf_wifi_bal_write_block (void *ctx, unsigned long dest_addr_offset, const void *src_addr, size_t len)
 Write a block of data to a specific address offset.
 
unsigned long nrf_wifi_bal_dma_map (void *ctx, unsigned long virt_addr, size_t len, enum nrf_wifi_osal_dma_dir dma_dir)
 Map a virtual address to a physical address for DMA transfer.
 
unsigned long nrf_wifi_bal_dma_unmap (void *ctx, unsigned long phy_addr, size_t len, enum nrf_wifi_osal_dma_dir dma_dir)
 Unmap a physical address for DMA transfer.
 
void nrf_wifi_bal_bus_access_rec_enab (void *ctx)
 Enable bus access recording.
 
void nrf_wifi_bal_bus_access_rec_disab (void *ctx)
 Disable bus access recording.
 
void nrf_wifi_bal_bus_access_cnt_print (void *ctx)
 Print bus access count.