nRF WiFi
Toggle main menu visibility
Loading...
Searching...
No Matches
spi.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*/
6
13
14
#ifndef __SPI_H__
15
#define __SPI_H__
16
17
#include "
osal_structs.h
"
18
#include "
bal_structs.h
"
19
23
struct
nrf_wifi_bus_spi_priv
{
25
void
*
os_spi_priv
;
26
33
enum
nrf_wifi_status
(*
intr_callbk_fn
)(
void
*hal_ctx);
34
38
struct
nrf_wifi_bal_cfg_params
cfg_params
;
39
};
40
44
struct
nrf_wifi_bus_spi_dev_ctx
{
46
struct
nrf_wifi_bus_spi_priv
*
spi_priv
;
48
void
*
bal_dev_ctx
;
50
void
*
os_spi_dev_ctx
;
51
53
unsigned
long
host_addr_base
;
55
unsigned
long
addr_pktram_base
;
56
};
57
58
#endif
/* __LINUX_SPI_H__ */
bal_structs.h
Header containing the structure declarations for the Bus Abstraction Layer (BAL) of the Wi-Fi driver.
nrf_wifi_status
nrf_wifi_status
The status of an operation performed by the RPU driver.
Definition
osal_structs.h:39
osal_structs.h
Structure declarations for the OSAL Layer of the Wi-Fi driver.
nrf_wifi_bal_cfg_params
Structure holding configuration parameters for the BAL.
Definition
bal_structs.h:23
nrf_wifi_bus_spi_dev_ctx::host_addr_base
unsigned long host_addr_base
Definition
spi.h:53
nrf_wifi_bus_spi_dev_ctx::bal_dev_ctx
void * bal_dev_ctx
Definition
spi.h:48
nrf_wifi_bus_spi_dev_ctx::addr_pktram_base
unsigned long addr_pktram_base
Definition
spi.h:55
nrf_wifi_bus_spi_dev_ctx::os_spi_dev_ctx
void * os_spi_dev_ctx
Definition
spi.h:50
nrf_wifi_bus_spi_dev_ctx::spi_priv
struct nrf_wifi_bus_spi_priv * spi_priv
Definition
spi.h:46
nrf_wifi_bus_spi_dev_ctx
Structure to hold the device context for the Linux SPI bus.
Definition
spi.h:44
nrf_wifi_bus_spi_priv::cfg_params
struct nrf_wifi_bal_cfg_params cfg_params
Configuration parameters for the Linux SPI bus.
Definition
spi.h:38
nrf_wifi_bus_spi_priv::os_spi_priv
void * os_spi_priv
Definition
spi.h:25
nrf_wifi_bus_spi_priv::intr_callbk_fn
enum nrf_wifi_status(* intr_callbk_fn)(void *hal_ctx)
Interrupt callback function.
Definition
spi.h:33
nrf_wifi_bus_spi_priv
Structure to hold context information for the Linux SPI bus.
Definition
spi.h:23
bus_if
bus
spi
inc
spi.h
Generated on
for nRF WiFi by
1.17.0