29 void * (*init)(
void *cfg_params,
46 void * (*dev_add)(
void *bus_priv,
79 unsigned long addr_offset);
89 unsigned long addr_offset,
102 unsigned long src_addr_offset,
114 unsigned long dest_addr_offset,
115 const void *src_addr,
128 unsigned long virt_addr,
142 unsigned long phy_addr,
146#if defined(CONFIG_NRF_WIFI_LOW_POWER) || defined(__DOXYGEN__)
152 void (*rpu_ps_sleep)(
void *bus_dev_ctx);
159 void (*rpu_ps_wake)(
void *bus_dev_ctx);
167 int (*rpu_ps_status)(
void *bus_dev_ctx);
struct nrf_wifi_bal_ops * get_bus_ops(void)
Get the bus operations.
nrf_wifi_status
The status of an operation performed by the RPU driver.
Definition: osal_structs.h:29
nrf_wifi_osal_dma_dir
DMA direction for a DMA operation.
Definition: osal_structs.h:39
void(* dev_rem)(void *bus_dev_ctx)
Remove a device from the bus.
Definition: bal_ops.h:54
unsigned long(* dma_unmap)(void *bus_dev_ctx, unsigned long phy_addr, size_t len, enum nrf_wifi_osal_dma_dir dma_dir)
Unmap a DMA buffer.
Definition: bal_ops.h:141
void(* write_block)(void *bus_dev_ctx, unsigned long dest_addr_offset, const void *src_addr, size_t len)
Write a block of data to the bus.
Definition: bal_ops.h:113
void(* read_block)(void *bus_dev_ctx, void *dest_addr, unsigned long src_addr_offset, size_t len)
Read a block of data from the bus.
Definition: bal_ops.h:100
void(* dev_deinit)(void *bus_dev_ctx)
Deinitialize a device on the bus.
Definition: bal_ops.h:69
unsigned long(* dma_map)(void *bus_dev_ctx, unsigned long virt_addr, size_t len, enum nrf_wifi_osal_dma_dir dma_dir)
Map a DMA buffer.
Definition: bal_ops.h:127
enum nrf_wifi_status(* dev_init)(void *bus_dev_ctx)
Initialize a device on the bus.
Definition: bal_ops.h:62
unsigned int(* read_word)(void *bus_dev_ctx, unsigned long addr_offset)
Read a word from the bus.
Definition: bal_ops.h:78
void(* write_word)(void *bus_dev_ctx, unsigned long addr_offset, unsigned int val)
Write a word to the bus.
Definition: bal_ops.h:88
void(* deinit)(void *bus_priv)
Deinitialize the bus.
Definition: bal_ops.h:37
Header containing the OPs declarations for the Bus Abstraction Layer (BAL) of the Wi-Fi driver.
Definition: bal_ops.h:21