nRF WiFi
Loading...
Searching...
No Matches
hal_mem.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
14#ifndef __HAL_MEM_H__
15#define __HAL_MEM_H__
16
17#include "hal_api_common.h"
18
36
56 void *host_addr,
57 unsigned int rpu_mem_addr,
58 unsigned int len);
59
79 unsigned int rpu_mem_addr,
80 void *host_addr,
81 unsigned int len);
82
97 enum RPU_PROC_TYPE rpu_proc,
98 enum HAL_RPU_MEM_TYPE mem_type);
99
100#endif /* __HAL_MEM_H__ */
Header containing API declarations for the HAL Layer of the Wi-Fi driver.
HAL_RPU_MEM_TYPE
Definition hal_mem.h:22
@ HAL_RPU_MEM_TYPE_PKTRAM
Definition hal_mem.h:26
@ HAL_RPU_MEM_TYPE_GRAM
Definition hal_mem.h:24
@ HAL_RPU_MEM_TYPE_CORE_SCRATCH
Definition hal_mem.h:32
@ HAL_RPU_MEM_TYPE_CORE_ROM
Definition hal_mem.h:28
@ HAL_RPU_MEM_TYPE_MAX
Definition hal_mem.h:34
@ HAL_RPU_MEM_TYPE_CORE_RET
Definition hal_mem.h:30
enum nrf_wifi_status hal_rpu_mem_clr(struct nrf_wifi_hal_dev_ctx *hal_ctx, enum RPU_PROC_TYPE rpu_proc, enum HAL_RPU_MEM_TYPE mem_type)
Clear contents of RPU memory.
enum nrf_wifi_status hal_rpu_mem_write(struct nrf_wifi_hal_dev_ctx *hal_ctx, unsigned int rpu_mem_addr, void *host_addr, unsigned int len)
Write to the RPU memory.
enum nrf_wifi_status hal_rpu_mem_read(struct nrf_wifi_hal_dev_ctx *hal_ctx, void *host_addr, unsigned int rpu_mem_addr, unsigned int len)
Read from the RPU memory.
RPU_PROC_TYPE
Enumeration of RPU processor types.
Definition hal_structs_common.h:32
unsigned int len
Definition host_rpu_data_if.h:3
nrf_wifi_status
The status of an operation performed by the RPU driver.
Definition osal_structs.h:39
Structure to hold per device context information for the HAL layer.
Definition hal_structs_common.h:201