text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```unknown
# Counter and timer configuration options
config TIMER_DTMR_CMSDK_APB
bool "ARM CMSDK (Cortex-M System Design Kit) DTMR Timer driver"
default y
depends on DT_HAS_ARM_CMSDK_DTIMER_ENABLED
help
The dualtimer (DTMR) present in the platform is used as a timer.
This option enables the support for the ... | /content/code_sandbox/drivers/counter/Kconfig.dtmr_cmsdk_apb | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```unknown
# IMX EPIT configuration options
config COUNTER_IMX_EPIT
bool "IMX EPIT driver"
default y
depends on DT_HAS_NXP_IMX_EPIT_ENABLED
help
Enable the IMX EPIT driver.
``` | /content/code_sandbox/drivers/counter/Kconfig.imx_epit | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 52 |
```unknown
# Xilinx AXI Timer
config COUNTER_XLNX_AXI_TIMER
bool "Xilinx AXI Timer driver"
default y
depends on DT_HAS_XLNX_XPS_TIMER_1_00_A_ENABLED
help
Enable counter support for the Xilinx AXI Timer v2.0 IP.
``` | /content/code_sandbox/drivers/counter/Kconfig.xlnx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 67 |
```c
/*
*
*/
#define DT_DRV_COMPAT gd_gd32_timer
#include <zephyr/device.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/gd32.h>
#include <zephyr/drivers/counter.h>
#include <zephyr/drivers/reset.h>
#include <zephyr/irq.h>
#include <zephyr/logging/log.h>
#include <zephyr/sys/atom... | /content/code_sandbox/drivers/counter/counter_gd32_timer.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,947 |
```unknown
# MCUXpresso SDK Periodic Interrupt Timer (PIT)
config COUNTER_NXP_PIT
bool "NXP PIT driver"
default y
depends on DT_HAS_NXP_PIT_CHANNEL_ENABLED && \
DT_HAS_NXP_PIT_ENABLED
help
Enable support for the NXP Periodic Interrupt Timer (PIT).
``` | /content/code_sandbox/drivers/counter/Kconfig.nxp_pit | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```c
/*
*
*/
#define DT_DRV_COMPAT nxp_kinetis_rtc
#include <zephyr/drivers/counter.h>
#include <zephyr/irq.h>
#include <zephyr/kernel.h>
#include <zephyr/sys_clock.h>
#include <fsl_rtc.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(mcux_rtc, CONFIG_COUNTER_LOG_LEVEL);
struct mcux_rtc_data {
counter_alar... | /content/code_sandbox/drivers/counter/counter_mcux_rtc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,225 |
```c
/*
*
*/
#define DT_DRV_COMPAT microchip_mcp7940n
#include <zephyr/device.h>
#include <zephyr/drivers/counter.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/drivers/rtc/mcp7940n.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include <zephyr/sys/timeutil.h>
#... | /content/code_sandbox/drivers/counter/rtc_mcp7940n.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,066 |
```c
/*
*
*/
#include <zephyr/drivers/counter.h>
#include <zephyr/spinlock.h>
#include <zephyr/irq.h>
#include <zephyr/arch/cpu.h>
#include <string.h>
#define DT_DRV_COMPAT andestech_atcpit100
/* register definitions */
#define REG_IDR 0x00 /* ID and Revision Reg. */
#define REG_CFG 0x10 /* Configuration Reg... | /content/code_sandbox/drivers/counter/counter_andes_atcpit100.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,960 |
```c
/*
*
*/
#define DT_DRV_COMPAT maxim_ds3231
#include <zephyr/device.h>
#include <zephyr/drivers/rtc/maxim_ds3231.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include <zephyr/sys/timeutil.h>
#include <zephyr/sys/util.h>
LOG_MODUL... | /content/code_sandbox/drivers/counter/maxim_ds3231.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 9,359 |
```c
/*
*
*/
#define DT_DRV_COMPAT snps_dw_timers
#include <zephyr/device.h>
#include <zephyr/drivers/counter.h>
#include <zephyr/spinlock.h>
#include <zephyr/logging/log.h>
#include <zephyr/drivers/reset.h>
#include <zephyr/drivers/clock_control.h>
LOG_MODULE_REGISTER(dw_timer, CONFIG_COUNTER_LOG_LEVEL);
static ... | /content/code_sandbox/drivers/counter/counter_dw_timer.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,020 |
```unknown
# GD32 counter timer configuration options
config COUNTER_TIMER_GD32
bool "GD32 timer counter driver"
default y
depends on DT_HAS_GD_GD32_TIMER_ENABLED && !SOC_SERIES_GD32VF103
select USE_GD32_TIMER
help
Enable counter timer driver for GD32 series devices.
``` | /content/code_sandbox/drivers/counter/Kconfig.gd32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 71 |
```unknown
# MCUXpresso SDK RTC
config COUNTER_MCUX_GPT
bool "MCUX GPT driver"
default y
depends on DT_HAS_NXP_IMX_GPT_ENABLED
select KERNEL_DIRECT_MAP if MMU
help
Enable support for mcux General Purpose Timer (GPT) driver.
``` | /content/code_sandbox/drivers/counter/Kconfig.mcux_gpt | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 65 |
```unknown
# Counter and timer configuration options
config TIMER_TMR_CMSDK_APB
bool "ARM CMSDK (Cortex-M System Design Kit) Timer driver"
default y
depends on DT_HAS_ARM_CMSDK_TIMER_ENABLED
help
The timers (TMR) present in the platform are used as timers.
This option enables the support for the timers.
``... | /content/code_sandbox/drivers/counter/Kconfig.tmr_cmsdk_apb | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 76 |
```c
/*
*
*/
#define DT_DRV_COMPAT nxp_s32_sys_timer
#include <zephyr/kernel.h>
#include <zephyr/drivers/counter.h>
#include <zephyr/drivers/clock_control.h>
#if defined(CONFIG_GIC)
#include <zephyr/drivers/interrupt_controller/gic.h>
#endif /* CONFIG_GIC */
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
... | /content/code_sandbox/drivers/counter/counter_nxp_s32_sys_timer.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,497 |
```c
/*
*
*/
#include <zephyr/drivers/counter.h>
#include <hal/nrf_timer.h>
#include <zephyr/sys/atomic.h>
#define LOG_LEVEL CONFIG_COUNTER_LOG_LEVEL
#define LOG_MODULE_NAME counter_timer
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
LOG_MODULE_REGISTER(LOG_MODULE_NAME, LOG_LEVEL);
#define DT_DRV_COMPAT n... | /content/code_sandbox/drivers/counter/counter_nrfx_timer.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,694 |
```unknown
# XEC counter configuration options
config COUNTER_XEC
bool "Microchip XEC series counter driver"
default y
depends on DT_HAS_MICROCHIP_XEC_TIMER_ENABLED
help
Enable counter driver for Microchip XEC MCU series. Such driver
will expose the basic timer devices present on the MCU.
``` | /content/code_sandbox/drivers/counter/Kconfig.xec | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```c
/*
*
*/
#define DT_DRV_COMPAT zephyr_native_posix_counter
#include <string.h>
#include <zephyr/device.h>
#include <zephyr/drivers/counter.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <hw_counter.h>
#include <limits.h>
#define DRIVER_CONFIG_INFO_FLAGS (COUNTER_CONFIG_INFO_COUNT_UP)
#define DRIVER_CONFI... | /content/code_sandbox/drivers/counter/counter_native_posix.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,495 |
```unknown
# Synopsys DesignWare Timer configuration option
config COUNTER_SNPS_DW
bool "Synopsys DesignWare Timer Driver"
default y
depends on DT_HAS_SNPS_DW_TIMERS_ENABLED
help
Enable Timer driver
``` | /content/code_sandbox/drivers/counter/Kconfig.dw | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 52 |
```unknown
config COUNTER_NRF_TIMER
def_bool y
depends on DT_HAS_NORDIC_NRF_TIMER_ENABLED
config COUNTER_NRF_RTC
def_bool y
depends on DT_HAS_NORDIC_NRF_RTC_ENABLED
# Internal flag which detects if PPI wrap feature is enabled for any instance
config COUNTER_RTC_WITH_PPI_WRAP
def_bool $(dt_nodelabel_bool_prop,rt... | /content/code_sandbox/drivers/counter/Kconfig.nrfx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 249 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_COUNTER_TIMER_CMSDK_APB_H_
#define ZEPHYR_DRIVERS_COUNTER_TIMER_CMSDK_APB_H_
#include <zephyr/drivers/counter.h>
#ifdef __cplusplus
extern "C" {
#endif
struct timer_cmsdk_apb {
/* Offset: 0x000 (R/W) control register */
volatile uint32_t ctrl;
/* Offset: 0x004 (R/W)... | /content/code_sandbox/drivers/counter/timer_cmsdk_apb.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 270 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_COUNTER_DUALTIMER_CMSDK_APB_H_
#define ZEPHYR_DRIVERS_COUNTER_DUALTIMER_CMSDK_APB_H_
#include <zephyr/drivers/counter.h>
#ifdef __cplusplus
extern "C" {
#endif
struct dualtimer_cmsdk_apb {
/* Offset: 0x000 (R/W) Timer 1 Load */
volatile uint32_t timer1load;
/* Offse... | /content/code_sandbox/drivers/counter/dualtimer_cmsdk_apb.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 664 |
```c
/*
*
*/
#define DT_DRV_COMPAT microchip_xec_timer
/**
* @file
* @brief Microchip XEC Counter driver
*
* This is the driver for the 16/32-bit counters on the Microchip SoCs.
*
* Notes:
* - The counters are running in down counting mode.
* - Interrupts are triggered (if enabled) when the counter
* rea... | /content/code_sandbox/drivers/counter/counter_mchp_xec.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,541 |
```unknown
# Counter configuration options
menuconfig COUNTER
bool "Counter drivers"
help
Enable support for counter and timer.
if COUNTER
config COUNTER_INIT_PRIORITY
int "Counter init priority"
default 60
help
Counter driver device initialization priority.
config COUNTER_SHELL
bool "Counter shell"
d... | /content/code_sandbox/drivers/counter/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 535 |
```unknown
# MCUXpresso SDK Low Power Timer (LPTMR)
config COUNTER_MCUX_LPTMR
bool "MCUX LPTMR driver"
default y
depends on DT_HAS_NXP_LPTMR_ENABLED || \
COUNTER_MCUX_KINETIS_LPTMR
help
Enable support for the MCUX Low Power Timer (LPTMR).
config COUNTER_MCUX_KINETIS_LPTMR
bool
default y
depends on DT_... | /content/code_sandbox/drivers/counter/Kconfig.mcux_lptmr | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 157 |
```c
/*
*
*/
#define DT_DRV_COMPAT xlnx_xps_timer_1_00_a
#include <zephyr/arch/cpu.h>
#include <zephyr/device.h>
#include <zephyr/drivers/counter.h>
#include <zephyr/irq.h>
#include <zephyr/sys/sys_io.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(xlnx_axi_timer, CONFIG_COUNTER_LOG_LEVEL);
/* AXI Timer v2.... | /content/code_sandbox/drivers/counter/counter_xlnx_axi_timer.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,773 |
```unknown
#
#
config COUNTER_MICROCHIP_MCP7940N
bool "Microchip MCP7940N RTC"
default y
depends on DT_HAS_MICROCHIP_MCP7940N_ENABLED
select I2C
help
Enable RTC driver based on Microchip MCP7940N I2C device.
``` | /content/code_sandbox/drivers/counter/Kconfig.mcp7940n | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 67 |
```c
/*
*
*/
#define DT_DRV_COMPAT nxp_tpm_timer
#include <zephyr/drivers/counter.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#include <zephyr/logging/log.h>
#include <fsl_tpm.h>
LOG_MODULE_REGISTER(mcux_tpm, CONFIG_COUNTER_LOG_LEVEL);
#define DEV_CFG(_dev) ((const struct mcux_tpm_config... | /content/code_sandbox/drivers/counter/counter_mcux_tpm.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,260 |
```unknown
#
config ACE_V1X_ART_COUNTER
bool "DSP ART Wall Clock for ACE V1X"
depends on DT_HAS_INTEL_ACE_ART_COUNTER_ENABLED
default y
help
DSP ART Wall Clock used by ACE V1X.
config ACE_V1X_RTC_COUNTER
bool "DSP RTC Wall Clock for ACE V1X"
depends on DT_HAS_INTEL_ACE_RTC_COUNTER_ENABLED
default y
help
... | /content/code_sandbox/drivers/counter/Kconfig.ace | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 102 |
```c
/*
*
*/
#include <zephyr/drivers/counter.h>
#include <zephyr/irq.h>
#include <fsl_rtc.h>
#include "fsl_power.h"
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(mcux_rtc, CONFIG_COUNTER_LOG_LEVEL);
struct mcux_lpc_rtc_data {
counter_alarm_callback_t alarm_callback;
counter_top_callback_t top_callback;
v... | /content/code_sandbox/drivers/counter/counter_mcux_lpc_rtc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,865 |
```unknown
# Infineon CAT1 counter driver
# an affiliate of Cypress Semiconductor Corporation
config COUNTER_INFINEON_CAT1
bool "Infineon CAT1 COUNTER driver"
default y
depends on DT_HAS_INFINEON_CAT1_COUNTER_ENABLED
select USE_INFINEON_TIMER
help
This option enables the COUNTER driver for Infineon CAT1 famil... | /content/code_sandbox/drivers/counter/Kconfig.ifx_cat1 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 79 |
```unknown
config COUNTER_SAM0_TC32
bool "SAM0 series 32-bit basic timer driver"
default y
depends on DT_HAS_ATMEL_SAM0_TC32_ENABLED
help
Enable the SAM0 series timer counter (TC) driver in 32-bit wide
mode.
``` | /content/code_sandbox/drivers/counter/Kconfig.sam0 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 64 |
```unknown
config COUNTER_NATIVE_POSIX
bool "Counter on COUNTER_0"
default y
depends on DT_HAS_ZEPHYR_NATIVE_POSIX_COUNTER_ENABLED
config COUNTER_NATIVE_POSIX_FREQUENCY
int "native_posix counter frequency in Hz"
default 1000
depends on COUNTER_NATIVE_POSIX
config COUNTER_NATIVE_POSIX_NBR_CHANNELS
int "native ... | /content/code_sandbox/drivers/counter/Kconfig.native_posix | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 100 |
```unknown
config COUNTER_NXP_MRT
bool "NXP MRT driver"
default y
depends on DT_HAS_NXP_MRT_CHANNEL_ENABLED && \
DT_HAS_NXP_MRT_ENABLED
select RESET
help
Enable driver for the NXP Multirate Timer (MRT).
``` | /content/code_sandbox/drivers/counter/Kconfig.nxp_mrt | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```c
/*
*
*
* Source file for the STM32 RTC driver
*
*/
#define DT_DRV_COMPAT st_stm32_rtc
#include <time.h>
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/sys/util.h>
#include <zephyr/kernel.h>
#include <soc.h>
#include <stm32_ll_exti.h>... | /content/code_sandbox/drivers/counter/counter_ll_stm32_rtc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,630 |
```unknown
# MCUXpresso SDK QTMR
config COUNTER_MCUX_QTMR
bool "MCUX QTMR driver"
default y
depends on DT_HAS_NXP_IMX_TMR_ENABLED
help
Enable support for mcux Quad Timer (QTMR) driver.
``` | /content/code_sandbox/drivers/counter/Kconfig.mcux_qtmr | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 58 |
```unknown
config COUNTER_TIMER_RPI_PICO
def_bool y
select PICOSDK_USE_TIMER
select PICOSDK_USE_CLAIM
depends on DT_HAS_RASPBERRYPI_PICO_TIMER_ENABLED
``` | /content/code_sandbox/drivers/counter/Kconfig.rpi_pico | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 45 |
```unknown
# WiFi drivers configuration options
menuconfig WIFI
bool "Wi-Fi drivers"
if WIFI
module = WIFI
module-dep = LOG
module-str = Log level for Wi-Fi driver
module-help = Sets log level for Wi-Fi Device Drivers.
source "subsys/net/Kconfig.template.log_config.net"
config WIFI_INIT_PRIORITY
int "Wi-Fi drive... | /content/code_sandbox/drivers/wifi/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 306 |
```c
/*
*
* This barebones driver enables the use of the PC AT-style RTC
* (the so-called "CMOS" clock) as a primitive, 1Hz monotonic counter.
*
* Reading a reliable value from the RTC is a fairly slow process, because
* we use legacy I/O ports and do a lot of iterations with spinlocks to read
* the RTC state. P... | /content/code_sandbox/drivers/counter/counter_cmos.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,435 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_WIFI_ESP_AT_ESP_H_
#define ZEPHYR_INCLUDE_DRIVERS_WIFI_ESP_AT_ESP_H_
#include <zephyr/kernel.h>
#include <zephyr/net/net_context.h>
#include <zephyr/net/net_if.h>
#include <zephyr/net/net_ip.h>
#include <zephyr/net/net_pkt.h>
#include <zephyr/net/wifi_mgmt.h>
#... | /content/code_sandbox/drivers/wifi/esp_at/esp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,963 |
```unknown
menuconfig WIFI_ESP_AT
bool "Espressif AT Command support"
default y
depends on DT_HAS_ESPRESSIF_ESP_AT_ENABLED
select MODEM
select MODEM_CONTEXT
select MODEM_CMD_HANDLER
select MODEM_IFACE_UART
select NET_L2_WIFI_MGMT
select WIFI_OFFLOAD
imply UART_USE_RUNTIME_CONFIGURE
help
Enable Espressif ... | /content/code_sandbox/drivers/wifi/esp_at/Kconfig.esp_at | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,105 |
```c
/*
*
*/
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wifi_esp_at_offload, CONFIG_WIFI_LOG_LEVEL);
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <zephyr/net/net_pkt.h>
#include <zephyr/net/net_if.h>
#include <zephyr/net/net_offl... | /content/code_sandbox/drivers/wifi/esp_at/esp_offload.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,305 |
```c
/*
*
*/
#include "esp.h"
#include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(wifi_esp_at, CONFIG_WIFI_LOG_LEVEL);
#define RX_NET_PKT_ALLOC_TIMEOUT \
K_MSEC(CONFIG_WIFI_ESP_AT_RX_NET_PKT_ALLOC_TIMEOUT)
struct esp_workq_flush_data {
struct k_work work;
struct k_sem sem;
};
struct esp_socket *esp_socket_g... | /content/code_sandbox/drivers/wifi/esp_at/esp_socket.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,676 |
```unknown
# Nordic Wi-Fi driver for nRF70 series SoCs
#
#
#
menuconfig WIFI_NRF70
bool "nRF70 driver"
select NET_L2_WIFI_MGMT if NETWORKING
select NET_L2_ETHERNET_MGMT if NETWORKING && NET_L2_ETHERNET
select WIFI_USE_NATIVE_NETWORKING if NETWORKING
select EXPERIMENTAL if !SOC_SERIES_NRF53X && !SOC_SERIES_NRF91X
... | /content/code_sandbox/drivers/wifi/nrfwifi/Kconfig.nrfwifi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,404 |
```linker script
/*
*
*/
/**
* @file
* @brief Custom Linker command/script file
*
* Custom Linker script for the Cortex-M platforms.
*/
#include <zephyr/linker/sections.h>
#include <zephyr/devicetree.h>
#include <zephyr/linker/linker-defs.h>
#include <zephyr/linker/linker-tool.h>
#if CONFIG_BOARD_NRF5340DK_N... | /content/code_sandbox/drivers/wifi/nrfwifi/rpu_fw_patches.ld | linker script | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 392 |
```c
/*
*
*/
/**
* @brief File containing work specific definitions for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#include <zephyr/kernel.h>
#include <zephyr/init.h>
#include <zephyr/sys/printk.h>
#include <zephyr/logging/log.h>
#include "work.h"
LOG_MODULE_DECLARE(wifi_nrf, CONFIG_WIFI_NRF70_LOG_LEVEL);
... | /content/code_sandbox/drivers/wifi/nrfwifi/src/work.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,131 |
```c
/*
*
*/
#define DT_DRV_COMPAT espressif_esp_at
#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wifi_esp_at, CONFIG_WIFI_LOG_LEVEL);
#include <zephyr/kernel.h>
#include <ctype.h>
#include <errno.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#... | /content/code_sandbox/drivers/wifi/esp_at/esp.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 11,405 |
```c
/*
*
*/
/**
* @brief File containing netowrk stack interface specific definitions for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#include <stdlib.h>
#ifdef CONFIG_WIFI_RANDOM_MAC_ADDRESS
#include <zephyr/random/random.h>
#endif
#include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(wifi_nrf, CONFIG_WIFI_NR... | /content/code_sandbox/drivers/wifi/nrfwifi/src/net_if.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,999 |
```c
/*
*
*/
/**
* @brief File containing FW load functions for Zephyr.
*/
#include <stdlib.h>
#include <string.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(wifi_nrf, CONFIG_WIFI_NRF70_LOG_LEVEL);
#include <fmac_main.h>
#ifdef CONFIG_NRF_WIFI_PATCH... | /content/code_sandbox/drivers/wifi/nrfwifi/src/fw_load.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 641 |
```c
/*
*
*/
/**
* @brief File containing FMAC interface specific definitions for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#include <stdlib.h>
#include <zephyr/kernel.h>
#ifdef CONFIG_NET_L2_ETHERNET
#include <zephyr/net/ethernet.h>
#endif
#include <zephyr/logging/log.h>
#include <zephyr/net/wifi_mgmt.h>
#... | /content/code_sandbox/drivers/wifi/nrfwifi/src/fmac_main.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 9,483 |
```objective-c
/*
*
*/
/* @file
* @brief nRF Wi-Fi radio-test mode shell module
*/
#include <zephyr/kernel.h>
#include <stdio.h>
#include <stdlib.h>
#include <zephyr/shell/shell.h>
#include <zephyr/init.h>
#include <ctype.h>
#include <host_rpu_sys_if.h>
#include <fmac_structs.h>
#include <queue.h>
struct nrf_wif... | /content/code_sandbox/drivers/wifi/nrfwifi/src/wifi_util.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 116 |
```objective-c
/*
*
*/
/**
* @brief Header containing timer specific declarations for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#ifndef __TIMER_H__
#define __TIMER_H__
struct timer_list {
void (*function)(unsigned long data);
unsigned long data;
struct k_work_delayable work;
};
void init_timer(struct tim... | /content/code_sandbox/drivers/wifi/nrfwifi/src/timer.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 101 |
```c
/*
*
*/
/**
* @brief Header containing OS specific definitions for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <zephyr/kernel.h>
#include <zephyr/sys/printk.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/logging/log.h>
#include <... | /content/code_sandbox/drivers/wifi/nrfwifi/src/shim.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,376 |
```objective-c
/*
*
*/
/**
* @brief Header containing work specific declarations for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#ifndef __WORK_H__
#define __WORK_H__
extern struct k_work_q zep_wifi_bh_q;
enum zep_work_type {
ZEP_WORK_TYPE_BH,
ZEP_WORK_TYPE_IRQ,
ZEP_WORK_TYPE_TX_DONE,
ZEP_WORK_TYPE_RX,
... | /content/code_sandbox/drivers/wifi/nrfwifi/src/work.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 199 |
```c
/*
*
*/
/* @file
* @brief NRF Wi-Fi util shell module
*/
#include <stdlib.h>
#include "host_rpu_umac_if.h"
#include "fmac_api.h"
#include "fmac_util.h"
#include "fmac_main.h"
#include "wifi_util.h"
extern struct nrf_wifi_drv_priv_zep rpu_drv_priv_zep;
struct nrf_wifi_ctx_zep *ctx = &rpu_drv_priv_zep.rpu_ctx_... | /content/code_sandbox/drivers/wifi/nrfwifi/src/wifi_util.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,430 |
```c
/*
*
*/
/**
* @brief File containing WiFi management operation implementations
* for the Zephyr OS.
*/
#include <stdlib.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include "util.h"
#include "fmac_api.h"
#include "fmac_tx.h"
#include "fmac_util.h"
#include "fmac_main.h"
#include "wifi_mg... | /content/code_sandbox/drivers/wifi/nrfwifi/src/wifi_mgmt.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,845 |
```c
/*
*
*/
/**
* @brief File containing display scan specific definitions for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#include <stdlib.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include "util.h"
#include "fmac_api.h"
#include "fmac_tx.h"
#include "fmac_main.h"
#include "wifi_mgmt_sc... | /content/code_sandbox/drivers/wifi/nrfwifi/src/wifi_mgmt_scan.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,476 |
```objective-c
/*
*
*/
/**
* @brief Header containing OS interface specific declarations for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#ifndef __SHIM_H__
#define __SHIM_H__
#include <zephyr/kernel.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/net/net_pkt.h>
/**
* struct zep_shim_bus_qspi_priv - Str... | /content/code_sandbox/drivers/wifi/nrfwifi/src/shim.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 452 |
```c
/*
*
*/
/** @file
* @brief Coexistence functions
*/
#include <stdio.h>
#include <stdlib.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include <zephyr/drivers/gpio.h>
#include "coex.h"
#include "coex_struct.h"
#include "fmac_main.h"
#include "fmac_api.h"
LOG_MODULE_DECLARE(wifi_nrf, CONFIG_... | /content/code_sandbox/drivers/wifi/nrfwifi/src/coex.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,702 |
```c
/*
*
*/
/**
* @brief File containing timer specific definitons for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#include <stdio.h>
#include <string.h>
#include <zephyr/kernel.h>
#include <zephyr/sys/printk.h>
#include <zephyr/drivers/gpio.h>
#include "timer.h"
static void timer_expiry_function(struct k_... | /content/code_sandbox/drivers/wifi/nrfwifi/src/timer.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 192 |
```c
/*
*
*/
/* @file
* @brief NRF Wi-Fi radio FICR programming functions
*/
#include <zephyr/logging/log.h>
#include <zephyr/kernel.h>
#include "rpu_if.h"
#include "rpu_hw_if.h"
#include "ficr_prog.h"
LOG_MODULE_DECLARE(otp_prog, CONFIG_WIFI_NRF70_BUS_LOG_LEVEL);
static void write_word(unsigned int addr, unsi... | /content/code_sandbox/drivers/wifi/nrfwifi/src/qspi/src/ficr_prog.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,769 |
```c
/*
*
*/
/**
* @brief File containing QSPI device interface specific definitions for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#include <errno.h>
#include <string.h>
#include <zephyr/init.h>
#include <zephyr/logging/log.h>
#include <zephyr/drivers/pinctrl.h>
#include <soc.h>
#include <nrf_erratas.h>
#i... | /content/code_sandbox/drivers/wifi/nrfwifi/src/qspi/src/qspi_if.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 9,166 |
```c
/*
*
*/
/**
* @brief File containing QSPI device specific definitions for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#include <zephyr/kernel.h>
#include <zephyr/sys/printk.h>
#include <zephyr/drivers/gpio.h>
#include <stdio.h>
#include <string.h>
#include "qspi_if.h"
#include "spi_if.h"
static struct q... | /content/code_sandbox/drivers/wifi/nrfwifi/src/qspi/src/device.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 535 |
```c
/*
*
*/
/**
* @brief File containing WPA supplicant interface specific definitions for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#include <stdlib.h>
#include <zephyr/device.h>
#include <zephyr/logging/log.h>
#include "fmac_main.h"
#include "fmac_util.h"
#include "wifi_mgmt.h"
#include "wpa_supp_if.h"
... | /content/code_sandbox/drivers/wifi/nrfwifi/src/wpa_supp_if.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 23,614 |
```c
/*
*
*/
/**
* @brief File containing SPI device interface specific definitions for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#include <string.h>
#include <zephyr/drivers/spi.h>
#include <zephyr/logging/log.h>
#include "qspi_if.h"
#include "spi_if.h"
LOG_MODULE_DECLARE(wifi_nrf_bus, CONFIG_WIFI_NRF70_... | /content/code_sandbox/drivers/wifi/nrfwifi/src/qspi/src/spi_if.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,173 |
```objective-c
/*
*
*/
/**
* @brief Header containing SPI device interface specific declarations for the
* Zephyr OS layer of the Wi-Fi driver.
*/
/* SPIM driver config */
int spim_init(struct qspi_config *config);
int spim_deinit(void);
int spim_write(unsigned int addr, const void *data, int len);
int spim_... | /content/code_sandbox/drivers/wifi/nrfwifi/src/qspi/inc/spi_if.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 213 |
```c
/*
*
*/
/**
* @brief File containing common functions for RPU hardware interaction
* using QSPI and SPI that can be invoked by shell or the driver.
*/
#include <string.h>
#include <sys/time.h>
#include <zephyr/kernel.h>
#include <zephyr/sys/printk.h>
#include <zephyr/devicetree.h>
#include <zephyr/dt-bindi... | /content/code_sandbox/drivers/wifi/nrfwifi/src/qspi/src/rpu_hw_if.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,916 |
```objective-c
/*
*
*/
/**
* @brief Header containing address/offets and functions for writing
* the FICR fields of the OTP memory on nRF7002 device
*/
#ifndef __OTP_PROG_H_
#define __OTP_PROG_H_
#include <stdio.h>
#include <stdlib.h>
int write_otp_memory(unsigned int otp_addr, unsigned int *write_val);
int re... | /content/code_sandbox/drivers/wifi/nrfwifi/src/qspi/inc/ficr_prog.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 135 |
```objective-c
/*
*
*/
/**
* @brief Header containing common functions for RPU hardware interaction
* using QSPI and SPI that can be invoked by shell or the driver.
*/
#ifndef __RPU_HW_IF_H_
#define __RPU_HW_IF_H_
#include <stdio.h>
#include <stdlib.h>
#include <zephyr/drivers/gpio.h>
enum {
SYSBUS = 0,
EXT_... | /content/code_sandbox/drivers/wifi/nrfwifi/src/qspi/inc/rpu_hw_if.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 373 |
```objective-c
/*
*
*/
/**
* @brief Header containing SPI device specific declarations for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#ifndef __SPI_NOR_H__
#define __SPI_NOR_H__
#include <zephyr/sys/util.h>
#define SPI_NOR_MAX_ID_LEN 3
/* Status register bits */
#define SPI_NOR_WIP_BIT BIT(0) /* Write in p... | /content/code_sandbox/drivers/wifi/nrfwifi/src/qspi/inc/spi_nor.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 478 |
```objective-c
/*
*
*/
/**
* @brief Header containing display scan specific declarations for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#ifndef __ZEPHYR_DISP_SCAN_H__
#define __ZEPHYR_DISP_SCAN_H__
#include <zephyr/device.h>
#include <zephyr/net/wifi_mgmt.h>
#include "osal_api.h"
int nrf_wifi_disp_scan_zep(c... | /content/code_sandbox/drivers/wifi/nrfwifi/inc/wifi_mgmt_scan.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 240 |
```objective-c
/*
*
*/
/**
* @brief Header containing QSPI device interface specific declarations for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#ifndef __QSPI_IF_H__
#define __QSPI_IF_H__
#include <zephyr/kernel.h>
#include <zephyr/drivers/gpio.h>
#ifdef CONFIG_NRF70_ON_QSPI
#include <nrfx_qspi.h>
#endif
#... | /content/code_sandbox/drivers/wifi/nrfwifi/src/qspi/inc/qspi_if.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 861 |
```objective-c
/*
*
*/
/**
* @brief Header containing network stack interface specific declarations for
* the Zephyr OS layer of the Wi-Fi driver.
*/
#ifndef __ZEPHYR_NET_IF_H__
#define __ZEPHYR_NET_IF_H__
#include <zephyr/device.h>
#include <zephyr/net/net_pkt.h>
#include <zephyr/net/net_if.h>
#include <zephyr/... | /content/code_sandbox/drivers/wifi/nrfwifi/inc/net_if.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 477 |
```objective-c
/*
*
*/
/**
* @brief Header containing WiFi management operation implementations
* for the Zephyr OS.
*/
#ifndef __ZEPHYR_WIFI_MGMT_H__
#define __ZEPHYR_WIFI_MGMT_H__
#include <math.h>
#include <zephyr/device.h>
#include <zephyr/net/wifi_mgmt.h>
#include "osal_api.h"
/** Filter setting defines ... | /content/code_sandbox/drivers/wifi/nrfwifi/inc/wifi_mgmt.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 572 |
```objective-c
/*
*
*/
/**
* @brief Header containing FMAC interface specific declarations for the
* Zephyr OS layer of the Wi-Fi driver.
*/
#ifndef __ZEPHYR_FMAC_MAIN_H__
#define __ZEPHYR_FMAC_MAIN_H__
#include <stdio.h>
#include <version.h>
#include <zephyr/kernel.h>
#include <zephyr/net/net_if.h>
#ifndef C... | /content/code_sandbox/drivers/wifi/nrfwifi/inc/fmac_main.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,056 |
```objective-c
/*
*
*/
/**
* @brief Header containing WPA supplicant interface specific declarations for
* the Zephyr OS layer of the Wi-Fi driver.
*/
#ifndef __ZEPHYR_WPA_SUPP_IF_H__
#define __ZEPHYR_WPA_SUPP_IF_H__
#define RPU_RESP_EVENT_TIMEOUT 5000
#ifdef CONFIG_NRF70_STA_MODE
#include <drivers/driver_zep... | /content/code_sandbox/drivers/wifi/nrfwifi/inc/wpa_supp_if.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,343 |
```objective-c
/**
*
*/
/**
* @brief Structures and related enumerations used in Coexistence.
*/
#ifndef __COEX_STRUCT_H__
#define __COEX_STRUCT_H__
#include <stdint.h>
#include <stdbool.h>
/* Max size of message buffer (exchanged between host and MAC). This is in "bytes" */
#define MAX_MESSAGE_BUF_SIZE 320
/* ... | /content/code_sandbox/drivers/wifi/nrfwifi/inc/coex_struct.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,574 |
```objective-c
/*
*
*/
/**
* @brief Header containing Coexistence APIs.
*/
#ifndef __COEX_H__
#define __COEX_H__
#include <stdbool.h>
/* Indicates WLAN frequency band of operation */
enum nrf_wifi_pta_wlan_op_band {
NRF_WIFI_PTA_WLAN_OP_BAND_2_4_GHZ = 0,
NRF_WIFI_PTA_WLAN_OP_BAND_5_GHZ,
NRF_WIFI_PTA_WLAN_OP_... | /content/code_sandbox/drivers/wifi/nrfwifi/inc/coex.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 635 |
```c
/**
*
* @file nxp_wifi_shell.c
* Wi-Fi driver shell adapter layer
*/
#include <zephyr/kernel.h>
#include <zephyr/shell/shell.h>
#include "nxp_wifi_drv.h"
static struct nxp_wifi_dev *nxp_wifi;
void nxp_wifi_shell_register(struct nxp_wifi_dev *dev)
{
/* only one instance supported */
if (nxp_wifi) {
retu... | /content/code_sandbox/drivers/wifi/nxp/nxp_wifi_shell.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 250 |
```unknown
menuconfig WIFI_NXP
bool "NXP Wi-Fi driver support"
select NET_L2_WIFI_MGMT if NETWORKING
select WIFI_USE_NATIVE_NETWORKING if NETWORKING
select NET_L2_ETHERNET_MGMT if NETWORKING && NET_L2_ETHERNET
select SDHC if !SOC_SERIES_RW6XX
select SDIO_STACK if !SOC_SERIES_RW6XX
select WIFI_NM if WIFI_NM_WPA_... | /content/code_sandbox/drivers/wifi/nxp/Kconfig.nxp | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,195 |
```objective-c
/**
*
* @file nxp_wifi_drv.h
* Shim layer between wifi driver connection manager and zephyr
* Wi-Fi L2 layer
*/
#ifndef ZEPHYR_DRIVERS_WIFI_NNP_WIFI_DRV_H_
#define ZEPHYR_DRIVERS_WIFI_NXP_WIFI_DRV_H_
#include <zephyr/kernel.h>
#include <stdio.h>
#ifdef CONFIG_SDIO_STACK
#include <zephyr/sd/sd.h>
#... | /content/code_sandbox/drivers/wifi/nxp/nxp_wifi_drv.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 501 |
```c
/**
*
* @file nxp_wifi_drv.c
* Shim layer between wifi driver connection manager and zephyr
* Wi-Fi L2 layer
*/
#define DT_DRV_COMPAT nxp_wifi
#include <zephyr/net/ethernet.h>
#include <zephyr/net/dns_resolve.h>
#include <zephyr/device.h>
#include <soc.h>
#include <ethernet/eth_stats.h>
#include <zephyr/log... | /content/code_sandbox/drivers/wifi/nxp/nxp_wifi_drv.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 14,638 |
```c
/**
*
*/
#define LOG_MODULE_NAME wifi_winc1500
#define LOG_LEVEL CONFIG_WIFI_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(LOG_MODULE_NAME);
#include <zephyr/kernel.h>
#include <zephyr/debug/stack.h>
#include <zephyr/device.h>
#include <string.h>
#include <errno.h>
#include <zephyr/net/net_pkt... | /content/code_sandbox/drivers/wifi/winc1500/wifi_winc1500.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,760 |
```c
/**
*
*/
#define DT_DRV_COMPAT atmel_winc1500
#define LOG_LEVEL CONFIG_WIFI_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(winc1500);
#include <stdio.h>
#include <stdint.h>
#include <zephyr/device.h>
#include <zephyr/drivers/spi.h>
#include "wifi_winc1500_nm_bsp_internal.h"
#include <bsp/inc... | /content/code_sandbox/drivers/wifi/winc1500/wifi_winc1500_nm_bus_wrapper.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,051 |
```c
/**
*
*/
#define DT_DRV_COMPAT atmel_winc1500
#include "wifi_winc1500_nm_bsp_internal.h"
#include <bsp/include/nm_bsp.h>
#include <common/include/nm_common.h>
#include "wifi_winc1500_config.h"
const struct winc1500_cfg winc1500_config = {
.spi = SPI_DT_SPEC_INST_GET(0, SPI_WORD_SET(8) | SPI_TRANSFER_MSB, 0... | /content/code_sandbox/drivers/wifi/winc1500/wifi_winc1500_nm_bsp.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 506 |
```unknown
# Atmel WINC1500 WiFi driver options
menuconfig WIFI_WINC1500
bool "WINC1500 driver support"
default y
depends on DT_HAS_ATMEL_WINC1500_ENABLED
select SPI
select ATMEL_WINC1500
select WIFI_OFFLOAD
select NET_L2_WIFI_MGMT
if WIFI_WINC1500
config WIFI_WINC1500_NAME
string "Driver name"
default "WI... | /content/code_sandbox/drivers/wifi/winc1500/Kconfig.winc1500 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 510 |
```objective-c
/**
*
*/
#ifndef ZEPHYR_DRIVERS_WIFI_WINC1500_WIFI_WINC1500_NM_BSP_INTERNAL_H_
#define ZEPHYR_DRIVERS_WIFI_WINC1500_WIFI_WINC1500_NM_BSP_INTERNAL_H_
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/spi.h>
#include "wifi_winc1500_config.h"
#include <bus_wrapper/inc... | /content/code_sandbox/drivers/wifi/winc1500/wifi_winc1500_nm_bsp_internal.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 321 |
```objective-c
/**
*
*/
#ifndef ZEPHYR_DRIVERS_WIFI_WINC1500_WIFI_WINC1500_CONFIG_H_
#define ZEPHYR_DRIVERS_WIFI_WINC1500_WIFI_WINC1500_CONFIG_H_
/*
---------------------------------
---------- PIN settings ---------
---------------------------------
*/
#define CONF_WINC_PIN_RESET IOPORT_CREATE_PIN(PIOA... | /content/code_sandbox/drivers/wifi/winc1500/wifi_winc1500_config.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 528 |
```unknown
menuconfig WIFI_ESP32
bool "ESP32 SoC WiFi support"
default y
depends on DT_HAS_ESPRESSIF_ESP32_WIFI_ENABLED
depends on !SMP
select THREAD_CUSTOM_DATA
select NET_L2_WIFI_MGMT
select WIFI_USE_NATIVE_NETWORKING
select MBEDTLS
select THREAD_STACK_INFO
select DYNAMIC_THREAD
select DYNAMIC_THREAD_ALLO... | /content/code_sandbox/drivers/wifi/esp32/Kconfig.esp32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,536 |
```objective-c
/*
* an affiliate of Cypress Semiconductor Corporation
*
*/
/* This is enpty/stub file used in WHD */
``` | /content/code_sandbox/drivers/wifi/infineon/cybsp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 25 |
```c
/*
*
*/
#define DT_DRV_COMPAT espressif_esp32_wifi
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(esp32_wifi, CONFIG_WIFI_LOG_LEVEL);
#include <zephyr/net/ethernet.h>
#include <zephyr/net/net_pkt.h>
#include <zephyr/net/net_if.h>
#include <zephyr/net/wifi_mgmt.h>
#include <zephyr/net/conn_mgr/connectivit... | /content/code_sandbox/drivers/wifi/esp32/src/esp_wifi_drv.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,567 |
```objective-c
/*
* an affiliate of Cypress Semiconductor Corporation
*
*/
#include <whd_buffer_api.h>
#include <zephyr/sd/sd.h>
#include <zephyr/sd/sdio.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/net/wifi_mgmt.h>
#include <cy_utils.h>
struct airoc_wifi_data {
struct sd_card card;
struct sdio_func sdio... | /content/code_sandbox/drivers/wifi/infineon/airoc_wifi.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 326 |
```c
/*
* an affiliate of Cypress Semiconductor Corporation
*
*/
#include <airoc_wifi.h>
#include <bus_protocols/whd_bus_sdio_protocol.h>
#include <bus_protocols/whd_bus.h>
#include <bus_protocols/whd_sdio.h>
#include <zephyr/sd/sd.h>
#include <cy_utils.h>
#define DT_DRV_COMPAT infineon_airoc_wifi
LOG_MODULE_REG... | /content/code_sandbox/drivers/wifi/infineon/airoc_whd_hal.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,670 |
```unknown
# an affiliate of Cypress Semiconductor Corporation
menuconfig WIFI_AIROC
bool "Infineon AIROC SoC Wi-Fi support"
select THREAD_CUSTOM_DATA
select WIFI_OFFLOAD
select NET_L2_WIFI_MGMT
select SDIO_STACK
select SDHC
select WIFI_USE_NATIVE_NETWORKING
select USE_INFINEON_ABSTRACTION_RTOS
depends on DT_... | /content/code_sandbox/drivers/wifi/infineon/Kconfig.airoc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,088 |
```objective-c
/**
*
*/
#ifndef ZEPHYR_DRIVERS_WIFI_ESWIFI_ESWIFI_OFFLOAD_H_
#define ZEPHYR_DRIVERS_WIFI_ESWIFI_ESWIFI_OFFLOAD_H_
#include <zephyr/net/net_offload.h>
#include "eswifi.h"
#define ESWIFI_OFFLOAD_MAX_SOCKETS 4
enum eswifi_transport_type {
ESWIFI_TRANSPORT_TCP,
ESWIFI_TRANSPORT_UDP,
ESWIFI_TRANSPOR... | /content/code_sandbox/drivers/wifi/eswifi/eswifi_offload.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 307 |
```c
/*
* an affiliate of Cypress Semiconductor Corporation
*
*/
/**
* @brief AIROC Wi-Fi driver.
*/
#define DT_DRV_COMPAT infineon_airoc_wifi
#include <zephyr/logging/log.h>
#include <zephyr/net/conn_mgr/connectivity_wifi_mgmt.h>
#include <airoc_wifi.h>
LOG_MODULE_REGISTER(infineon_airoc_wifi, CONFIG_WIFI_LOG... | /content/code_sandbox/drivers/wifi/infineon/airoc_wifi.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,655 |
```objective-c
/**
*
*/
#ifndef ZEPHYR_DRIVERS_WIFI_ESWIFI_ESWIFI_LOG_H_
#define ZEPHYR_DRIVERS_WIFI_ESWIFI_ESWIFI_LOG_H_
#define LOG_MODULE_NAME wifi_eswifi
#define LOG_LEVEL CONFIG_WIFI_LOG_LEVEL
#include <zephyr/logging/log.h>
#endif /* ZEPHYR_DRIVERS_WIFI_ESWIFI_ESWIFI_LOG_H_ */
``` | /content/code_sandbox/drivers/wifi/eswifi/eswifi_log.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 82 |
```unknown
# es-WiFi driver options
menuconfig WIFI_ESWIFI
bool "Inventek eS-WiFi support"
default y
depends on DT_HAS_INVENTEK_ESWIFI_ENABLED || DT_HAS_INVENTEK_ESWIFI_UART_ENABLED
select NET_L2_WIFI_MGMT
select WIFI_OFFLOAD
select NET_OFFLOAD
select NET_SOCKETS
imply NET_SOCKETS_OFFLOAD
select GPIO
if WIF... | /content/code_sandbox/drivers/wifi/eswifi/Kconfig.eswifi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 287 |
```c
/*
*
*/
#include "eswifi_log.h"
LOG_MODULE_DECLARE(LOG_MODULE_NAME);
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <zephyr/net/socket_offload.h>
#include <zephyr/net/tls_credentials.h>
#include "sockets_internal.h"... | /content/code_sandbox/drivers/wifi/eswifi/eswifi_socket_offload.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,590 |
```c
/**
*
*/
#include <zephyr/kernel.h>
#include <zephyr/shell/shell.h>
#include "eswifi.h"
static struct eswifi_dev *eswifi;
void eswifi_shell_register(struct eswifi_dev *dev)
{
/* only one instance supported */
if (eswifi) {
return;
}
eswifi = dev;
}
static int eswifi_shell_atcmd(const struct shell *sh... | /content/code_sandbox/drivers/wifi/eswifi/eswifi_shell.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 375 |
```objective-c
/**
*
*/
#ifndef ZEPHYR_DRIVERS_WIFI_ESWIFI_ESWIFI_H_
#define ZEPHYR_DRIVERS_WIFI_ESWIFI_ESWIFI_H_
#include <zephyr/kernel.h>
#include <stdio.h>
#include <zephyr/kernel_structs.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/net/wifi_mgmt.h>
#include "eswifi_offload.h"
#define AT_OK_STR "\r\n... | /content/code_sandbox/drivers/wifi/eswifi/eswifi.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,151 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.