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 |
|---|---|---|---|---|---|---|---|---|
```c
/*
*
*/
/**
* @brief Common part of DMA drivers for imx rt series.
*/
#include <errno.h>
#include <soc.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/devicetree.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/drivers/clock_control.h>
#include <zephy... | /content/code_sandbox/drivers/dma/dma_mcux_edma.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,487 |
```c
/*
*
*/
#define DT_DRV_COMPAT microchip_xec_dmac
#include <soc.h>
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#include <zephyr/drivers/clock_control/mchp_xec_clock_control.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/drivers/interrupt_controller/intc_mchp_xec_ecia.h>
#include <zephyr/dt-bi... | /content/code_sandbox/drivers/dma/dma_mchp_xec.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7,511 |
```c
/*
*
*/
#include <zephyr/device.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/drivers/reset.h>
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
#include <zephyr/dt-bindings/dma/rpi_pico_dma.h>
#include <hardware/dma.h>
#define DT_DRV_COMPAT raspberrypi_pi... | /content/code_sandbox/drivers/dma/dma_rpi_pico.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,203 |
```c
/*
*
*/
#define DT_DRV_COMPAT atmel_sam0_dmac
#include <zephyr/device.h>
#include <soc.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
LOG_MODULE_REGISTER(dma_sam0, CONFIG_DMA_LOG_LEVEL);
#define DMA_REGS ((Dmac *)DT_INST_REG_ADDR(0))
struct dma_sam0_channel {
dma... | /content/code_sandbox/drivers/dma/dma_sam0.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,407 |
```c
/*
*
*/
#define DT_DRV_COMPAT brcm_iproc_pax_dma_v1
#include <zephyr/arch/cpu.h>
#include <zephyr/cache.h>
#include <errno.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/linker/sections.h>
#include <soc.h>
#include <string.h>
#include <zephyr/toolchain.h>
#include <zephyr/types.h>
#inc... | /content/code_sandbox/drivers/dma/dma_iproc_pax_v1.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,214 |
```unknown
# DMA configuration options
config DMA_MCUX_EDMA
bool "MCUX DMA driver"
default y
depends on DT_HAS_NXP_MCUX_EDMA_ENABLED
imply NOCACHE_MEMORY if HAS_MCUX_CACHE
help
DMA driver for MCUX series SoCs.
config DMA_MCUX_EDMA_V3
bool "MCUX DMA v3 driver"
default y
depends on DT_HAS_NXP_MCUX_EDMA_V3_E... | /content/code_sandbox/drivers/dma/Kconfig.mcux_edma | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 398 |
```c
/*
*
*/
/**
* @brief Common part of DMA drivers for stm32U5.
* @note Functions named with stm32_dma_* are SoCs related functions
*
*/
#include "dma_stm32.h"
#include <zephyr/init.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/dma/dma_stm32.h>
#include <zephyr/logging/log.h>
#inclu... | /content/code_sandbox/drivers/dma/dma_stm32u5.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,224 |
```unknown
# DMA configuration options
config DMA_STM32
bool "STM32 DMA driver"
select USE_STM32_LL_DMA
default y
depends on DT_HAS_ST_STM32_DMA_V1_ENABLED \
|| DT_HAS_ST_STM32_DMA_V2_ENABLED \
|| DT_HAS_ST_STM32_DMA_V2BIS_ENABLED \
|| DT_HAS_ST_STM32_BDMA_ENABLED
help
Driver for STM32 DMA V1, V2, V2bis... | /content/code_sandbox/drivers/dma/Kconfig.stm32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 577 |
```unknown
config DMA_IPROC_PAX
bool
prompt "Broadcom PAX(PCIE<->AXI) DMA driver"
default y
depends on DT_HAS_BRCM_IPROC_PAX_DMA_V1_ENABLED
depends on PCIE_EP_IPROC
config DMA_IPROC_PAX_V2
bool
prompt "Broadcom PAX(PCIE<->AXI) DMA driver version 2"
default y
depends on DT_HAS_BRCM_IPROC_PAX_DMA_V2_ENABLED
d... | /content/code_sandbox/drivers/dma/Kconfig.iproc_pax | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 407 |
```c
/*
*
*/
#define DT_DRV_COMPAT intel_lpss
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/drivers/dma/dma_intel_lpss.h>
#include "dma_dw_common.h"
#include <soc.h>
#include... | /content/code_sandbox/drivers/dma/dma_intel_lpss.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,327 |
```unknown
config DMA_MAX32
bool "MAX32 MCU DMA driver"
default y
depends on DT_HAS_ADI_MAX32_DMA_ENABLED
help
Enable DMA support on the MAX32 family of processors.
``` | /content/code_sandbox/drivers/dma/Kconfig.max32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 44 |
```unknown
# DMA configuration options
config DMA_INTEL_ADSP_GPDMA
bool "Intel ADSP General Purpose Direct Memory Access driver"
default y
depends on DT_HAS_INTEL_ADSP_GPDMA_ENABLED
help
Intel ADSP DMA driver.
if DMA_INTEL_ADSP_GPDMA
config DMA_INTEL_ADSP_GPDMA_NEED_CONTROLLER_OWNERSHIP
bool
default y
hel... | /content/code_sandbox/drivers/dma/Kconfig.intel_adsp_gpdma | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 220 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_DMA_INTEL_ADSP_HDA_COMMON_H_
#define ZEPHYR_DRIVERS_DMA_INTEL_ADSP_HDA_COMMON_H_
#define INTEL_ADSP_HDA_MAX_CHANNELS DT_PROP(DT_NODELABEL(hda_host_out), dma_channels)
/* Minimum recommended FPI increment */
#define INTEL_HDA_MIN_FPI_INCREMENT_FOR_INTERRUPT 32
#include... | /content/code_sandbox/drivers/dma/dma_intel_adsp_hda.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 558 |
```c
/*
*
*/
#define DT_DRV_COMPAT intel_adsp_hda_link_in
#include <zephyr/drivers/dma.h>
#include "dma_intel_adsp_hda.h"
#define LOG_LEVEL CONFIG_DMA_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(dma_intel_adsp_hda_dma_link_in);
static const struct dma_driver_api intel_adsp_hda_dma_link_in_api = ... | /content/code_sandbox/drivers/dma/dma_intel_adsp_hda_link_in.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 442 |
```c
/*
*
*/
/**
* @brief Common part of DMAMUX drivers for stm32.
* @note api functions named dmamux_stm32_
* are calling the dma_stm32 corresponding function
* implemented in dma_stm32.c
*/
#include <soc.h>
#include <stm32_ll_dmamux.h>
#include <zephyr/init.h>
#include <zephyr/drivers/dma.h>
#... | /content/code_sandbox/drivers/dma/dmamux_stm32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,112 |
```unknown
config DMA_MCUX_SMARTDMA
bool "MCUX SmartDMA Driver"
default y
depends on DT_HAS_NXP_SMARTDMA_ENABLED
help
MCUX SmartDMA driver.
``` | /content/code_sandbox/drivers/dma/Kconfig.mcux_smartdma | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 42 |
```unknown
config DMA_ESP32
bool "ESP32 General Purpose DMA driver"
depends on DT_HAS_ESPRESSIF_ESP32_GDMA_ENABLED
default y
help
General Purpose DMA for ESP32 series.
config DMA_ESP32_MAX_DESCRIPTOR_NUM
int "Maximal number of available DMA descriptors"
default 16
help
Reserves memory for a maximal numbe... | /content/code_sandbox/drivers/dma/Kconfig.esp32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 82 |
```c
/*
*
*/
#define DT_DRV_COMPAT espressif_esp32_gdma
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(dma_esp32_gdma, CONFIG_DMA_LOG_LEVEL);
#include <hal/gdma_hal.h>
#include <hal/gdma_ll.h>
#include <soc/gdma_channel.h>
#include <hal/dma_types.h>
#include <soc.h>
#include <esp_memory_utils.h>
#include <er... | /content/code_sandbox/drivers/dma/dma_esp32_gdma.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,214 |
```unknown
config DMA_NXP_SOF_HOST_DMA
bool "NXP DMA driver used by SOF's host component"
default y
depends on DT_HAS_NXP_SOF_HOST_DMA_ENABLED
help
Enable NXP's DMA driver used by
SOF (Sound Open Firmware) host
component. Specifically, this driver
is used by the SOF host component to
perform transfers be... | /content/code_sandbox/drivers/dma/Kconfig.nxp_sof_host_dma | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 267 |
```c
/*
*
*/
#define DT_DRV_COMPAT brcm_iproc_pax_dma_v2
#include <zephyr/arch/cpu.h>
#include <zephyr/cache.h>
#include <errno.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/linker/sections.h>
#include <soc.h>
#include <string.h>
#include <zephyr/toolchain.h>
#include <zephyr/types.h>
#inc... | /content/code_sandbox/drivers/dma/dma_iproc_pax_v2.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 9,071 |
```c
/*
*
*/
#include <zephyr/drivers/dma.h>
#include <zephyr/internal/syscall_handler.h>
/* Both of these APIs are assuming that the drive implementations are checking
* the validity of the channel ID and returning -errno if it's bogus
*/
static inline int z_vrfy_dma_start(const struct device *dev, uint32_t cha... | /content/code_sandbox/drivers/dma/dma_handlers.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 180 |
```unknown
# Intel sedi DMA configuration options
config DMA_SEDI
bool "SEDI DMA driver"
select DMA_64BIT
default y
depends on DT_HAS_INTEL_SEDI_DMA_ENABLED
help
This option enables the Intel SEDI DMA driver.
This driver is simply a shim driver built upon the SEDI
bare metal DMA driver in the hal-intel ... | /content/code_sandbox/drivers/dma/Kconfig.sedi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```unknown
# Nios-II mSGDMA driver configuration options
config DMA_NIOS2_MSGDMA
bool "Nios-II Modular Scatter-Gather DMA(MSGDMA) driver"
default y
depends on DT_HAS_ALTR_MSGDMA_ENABLED
help
Enable Nios-II Modular Scatter-Gather DMA(MSGDMA) driver.
``` | /content/code_sandbox/drivers/dma/Kconfig.nios2_msgdma | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 67 |
```c
/*
*
*/
#define DT_DRV_COMPAT infineon_xmc4xxx_dma
#include <soc.h>
#include <stdint.h>
#include <xmc_dma.h>
#include <zephyr/device.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/dt-bindings/dma/infineon-xmc4xxx-dma.h>
#include <zephyr/irq.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(dma_xmc4x... | /content/code_sandbox/drivers/dma/dma_xmc4xxx.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,636 |
```unknown
config DMA_MCUX_LPC
bool "MCUX LPC DMAC driver"
default y
depends on DT_HAS_NXP_LPC_DMA_ENABLED
help
DMA driver for MCUX LPC MCUs.
if DMA_MCUX_LPC
config DMA_MCUX_LPC_NUMBER_OF_DESCRIPTORS
int "Number of DMA descriptors to use"
default 16
help
Each DMA descriptor can be used to transfer (1024... | /content/code_sandbox/drivers/dma/Kconfig.mcux_lpc | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 285 |
```unknown
# DesignWare DMA common configuration options
config DMA_DW_FIFO_PARTITION
bool "FIFO Partitioning"
help
FIFO partition feature
config DMA_DW_LLI_POOL_SIZE
int "number of LLI structs in an allocation pool"
default 2
help
The number of LLI structs in a statically allocated pool. Each channel has... | /content/code_sandbox/drivers/dma/Kconfig.dw_common | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 320 |
```c
/*
*
*/
#define DT_DRV_COMPAT intel_adsp_hda_host_in
#include <zephyr/drivers/dma.h>
#include <adsp_interrupt.h>
#include "dma_intel_adsp_hda.h"
static const struct dma_driver_api intel_adsp_hda_dma_host_in_api = {
.config = intel_adsp_hda_dma_host_in_config,
.reload = intel_adsp_hda_dma_host_reload,
.star... | /content/code_sandbox/drivers/dma/dma_intel_adsp_hda_host_in.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 574 |
```c
/*
* All rights reserved.
*
*/
#include <zephyr/drivers/dma.h>
#include <zephyr/drivers/dma/dma_mcux_pxp.h>
#include <zephyr/devicetree.h>
#include <fsl_pxp.h>
#ifdef CONFIG_HAS_MCUX_CACHE
#include <fsl_cache.h>
#endif
#define DT_DRV_COMPAT nxp_pxp
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(dma_mcu... | /content/code_sandbox/drivers/dma/dma_mcux_pxp.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,007 |
```objective-c
/*
*
*/
#ifndef DMA_MCUX_EDMA_H_
#define DMA_MCUX_EDMA_H_
#include <errno.h>
#include <zephyr/device.h>
#include <zephyr/drivers/dma.h>
#include <soc.h>
#include <fsl_common.h>
#include "fsl_edma.h"
#if defined(FSL_FEATURE_SOC_DMAMUX_COUNT) && FSL_FEATURE_SOC_DMAMUX_COUNT
#include "fsl_dmamux.h"
#en... | /content/code_sandbox/drivers/dma/dma_mcux_edma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 105 |
```c
/*
*
*/
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/pm/device.h>
#include <zephyr/pm/device_runtime.h>
#include <soc.h>
#include "dma_dw_common.h"
#define LOG_LEVEL CON... | /content/code_sandbox/drivers/dma/dma_dw_common.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7,420 |
```c
/*
*
*/
#include <zephyr/device.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
#include <zephyr/drivers/clock_control/adi_max32_clock_control.h>
#include <wrap_max32_dma.h>
#define DT_DRV_COMPAT adi_max32_dma
LOG_MODULE_REG... | /content/code_sandbox/drivers/dma/dma_max32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,647 |
```c
/*
*
*/
/**
* @brief DMA low level driver implementation for F2/F4/F7 series SoCs.
*/
#include "dma_stm32.h"
#define LOG_LEVEL CONFIG_DMA_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(dma_stm32_v1);
/* DMA burst length */
#define BURST_TRANS_LENGTH_1 0
uint32_t dma_stm32_id_to_stream(uin... | /content/code_sandbox/drivers/dma/dma_stm32_v1.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,388 |
```unknown
# DesignWare DMA configuration options
config DMA_DW_AXI
bool "DesignWare AXI DMA driver"
default y
depends on DT_HAS_SNPS_DESIGNWARE_DMA_AXI_ENABLED
imply DMA_64BIT
help
DesignWare AXI DMA driver.
if DMA_DW_AXI
config DMA_DW_AXI_MAX_DESC
int "allocate number of lli descriptor"
default 10
help... | /content/code_sandbox/drivers/dma/Kconfig.dw_axi_dmac | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 298 |
```c
/*
*
*/
/**
* @brief Common part of BDMA drivers for stm32.
*/
#include "dma_stm32_bdma.h"
#include <zephyr/init.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/dma/dma_stm32.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
#include <zephyr/logging/log.h>
#include <zephy... | /content/code_sandbox/drivers/dma/dma_stm32_bdma.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7,196 |
```unknown
# Atmel XDMAC SAM driver configuration options
config DMA_SAM_XDMAC
bool "Atmel SAM DMA (XDMAC) driver"
default y
depends on DT_HAS_ATMEL_SAM_XDMAC_ENABLED
help
Enable Atmel SAM MCU Family Direct Memory Access (XDMAC) driver.
``` | /content/code_sandbox/drivers/dma/Kconfig.sam_xdmac | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 70 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_DMA_DMA_NXP_EDMA_H_
#define ZEPHYR_DRIVERS_DMA_DMA_NXP_EDMA_H_
#include <zephyr/device.h>
#include <zephyr/irq.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/logging/log.h>
#include "fsl_edma_soc_rev2.h"
LOG_MODULE_REGISTER(nxp_edma);
/* used for driver binding ... | /content/code_sandbox/drivers/dma/dma_nxp_edma.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,593 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/irq.h>
#include <DA1469xAB.h>
#include <da1469x_pd.h>
#include <da1469x_config.h>
#include <system_DA1469x.h>
#include <da1469x_otp.h>
#include <zephyr/drivers/dma/dma_smartbond.h>
#include <zephyr/pm/... | /content/code_sandbox/drivers/dma/dma_smartbond.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,143 |
```unknown
# Smartbond DMA Accelerator Configuration Options
config DMA_SMARTBOND
bool "Smartbond DMA Accelerator Driver"
depends on DT_HAS_RENESAS_SMARTBOND_DMA_ENABLED
default y
help
Enable Smartbond DMA Accelerator Driver
``` | /content/code_sandbox/drivers/dma/Kconfig.smartbond | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 55 |
```unknown
config DMA_NXP_EDMA
bool "NXP enhanced Direct Memory Access (eDMA) driver"
default y
depends on DT_HAS_NXP_EDMA_ENABLED
help
Enable driver for NXP's eDMA IP.
if DMA_NXP_EDMA
config DMA_NXP_EDMA_ALIGN
int "Alignment (in bytes) required for the transfers"
default 8
help
Use this to set the alignm... | /content/code_sandbox/drivers/dma/Kconfig.nxp_edma | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 252 |
```c
/*
*
*/
#define DT_DRV_COMPAT intel_adsp_hda_link_out
#include <zephyr/drivers/dma.h>
#include "dma_intel_adsp_hda.h"
#define LOG_LEVEL CONFIG_DMA_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(dma_intel_adsp_hda_dma_link_out);
static const struct dma_driver_api intel_adsp_hda_dma_link_out_api... | /content/code_sandbox/drivers/dma/dma_intel_adsp_hda_link_out.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 442 |
```unknown
config DMA_GD32
bool "Gigadevice GD32 DMA driver"
default y
depends on DT_HAS_GD_GD32_DMA_ENABLED || DT_HAS_GD_GD32_DMA_V1_ENABLED
select USE_GD32_DMA
help
DMA driver for GigaDevice GD32 series MCUs.
``` | /content/code_sandbox/drivers/dma/Kconfig.gd32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```unknown
config DMA_EMUL
bool "Emulated DMA driver [EXPERIMENTAL]"
depends on DT_HAS_ZEPHYR_DMA_EMUL_ENABLED
select EXPERIMENTAL
help
Emulated DMA Driver
``` | /content/code_sandbox/drivers/dma/Kconfig.emul | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46 |
```objective-c
/*
*
*/
#ifndef DMA_PL330_H
#define DMA_PL330_H
#include <zephyr/drivers/dma.h>
#define DT_DRV_COMPAT arm_dma_pl330
/*
* Max burst length and max burst size for 32bit system with
* 128bit bus width for memory to memory data transfer
*
* Burst length is encoded in following format for pl330
* b0... | /content/code_sandbox/drivers/dma/dma_pl330.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,219 |
```c
/*
*
*/
#include <errno.h>
#include <stdint.h>
#include <stdio.h>
#include <zephyr/device.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include <zephyr/pm/device.h>
#include <zephyr/sys/util.h>
#define DT_DRV_COMPAT zephyr_dma_emul
#ifdef CONFIG_DMA_64BIT
#def... | /content/code_sandbox/drivers/dma/dma_emul.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,895 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_DMA_DMA_DW_COMMON_H_
#define ZEPHYR_DRIVERS_DMA_DMA_DW_COMMON_H_
#include <zephyr/sys/atomic.h>
#include <zephyr/drivers/dma.h>
#ifdef __cplusplus
extern "C" {
#endif
#define MASK(b_hi, b_lo) \
(((1ULL << ((b_hi) - (b_lo) + 1ULL)) - 1ULL) << (b_lo))
#define SET_B... | /content/code_sandbox/drivers/dma/dma_dw_common.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,652 |
```c
/*
*
*/
#include <zephyr/device.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/gd32.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/drivers/reset.h>
#include <zephyr/logging/log.h>
#include <gd32_dma.h>
#include <zephyr/irq.h>
#if DT_HAS_COMPAT_STATUS_OKAY(gd_gd32_dma_... | /content/code_sandbox/drivers/dma/dma_gd32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,811 |
```unknown
# Microchip XEC DMAC configuration options
config DMA_MCHP_XEC
bool "Microchip XEC series DMAC driver"
default y
depends on DT_HAS_MICROCHIP_XEC_DMAC_ENABLED
help
DMA driver for Microchip XEC series MCUs.
``` | /content/code_sandbox/drivers/dma/Kconfig.xec | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 61 |
```unknown
config DMA_PL330
bool
prompt "PL330 DMA driver"
default y
depends on DT_HAS_ARM_DMA_PL330_ENABLED
help
This option enables support of pl330 DMA Controller.
``` | /content/code_sandbox/drivers/dma/Kconfig.dma_pl330 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 44 |
```unknown
# LPSS DMA configuration options
config DMA_INTEL_LPSS
bool "INTEL LPSS DMA driver"
default y
depends on DT_HAS_INTEL_LPSS_ENABLED
select DEVICE_DEPS
help
INTEL LPSS DMA driver.
if DMA_INTEL_LPSS
source "drivers/dma/Kconfig.dw_common"
endif # DMA_INTEL_LPSS
``` | /content/code_sandbox/drivers/dma/Kconfig.intel_lpss | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 78 |
```c
/*
*
*/
/**
* @brief DMA low level driver implementation for F0/F1/F3/L0/L4 series SoCs.
*/
#include "dma_stm32.h"
#define LOG_LEVEL CONFIG_DMA_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(dma_stm32_v2);
uint32_t dma_stm32_id_to_stream(uint32_t id)
{
static const uint32_t stream_nr[] = {... | /content/code_sandbox/drivers/dma/dma_stm32_v2.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,524 |
```c
/*
*
*/
#define DT_DRV_COMPAT altr_msgdma
#include <zephyr/device.h>
#include <errno.h>
#include <zephyr/init.h>
#include <string.h>
#include <soc.h>
#include <zephyr/drivers/dma.h>
#include <altera_common.h>
#include "altera_msgdma_csr_regs.h"
#include "altera_msgdma_descriptor_regs.h"
#include "altera_msgdma... | /content/code_sandbox/drivers/dma/dma_nios2_msgdma.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,782 |
```unknown
# DesignWare DMA configuration options
config DMA_DW
bool "DesignWare DMA driver"
default y
depends on DT_HAS_SNPS_DESIGNWARE_DMA_ENABLED
help
DesignWare DMA driver.
if DMA_DW
source "drivers/dma/Kconfig.dw_common"
endif # DMA_DW
``` | /content/code_sandbox/drivers/dma/Kconfig.dw | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 65 |
```c
/*
*
*/
#define DT_DRV_COMPAT intel_sedi_dma
#include <errno.h>
#include <stdio.h>
#include <zephyr/kernel.h>
#include <zephyr/pm/device.h>
#include <string.h>
#include <zephyr/init.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/devicetree.h>
#include <zephyr/cache.h>
#include <soc.h>
#include "sedi_driv... | /content/code_sandbox/drivers/dma/dma_sedi.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,742 |
```c
/*
*
*/
#include <zephyr/device.h>
#include <zephyr/drivers/dma.h>
#include <errno.h>
#include <zephyr/init.h>
#include <string.h>
#include <soc.h>
#include <zephyr/sys/__assert.h>
#include "dma_pl330.h"
#define LOG_LEVEL CONFIG_DMA_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(dma_pl330);
#de... | /content/code_sandbox/drivers/dma/dma_pl330.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,655 |
```c
/*
*
*/
#include "dma_nxp_edma.h"
/* TODO list:
* 1) Support for requesting a specific channel.
* 2) Support for checking if DMA transfer is pending when attempting config. (?)
* 3) Support for error interrupt.
* 4) Support for error if buffer overflow/underrun.
* 5) Ideally, HALFMAJOR should be set on a ... | /content/code_sandbox/drivers/dma/dma_nxp_edma.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,412 |
```c
/*
*
*/
#include <zephyr/device.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/logging/log.h>
#include <zephyr/pm/policy.h>
#include <zephyr/drivers/dma/dma_mcux_smartdma.h>
#include <soc.h>
#include <fsl_smartdma.h>
#include <fsl_inputmux.h>
#include <fsl_power.h>
#define DT_DRV_COMPAT nxp_smartdma
LOG... | /content/code_sandbox/drivers/dma/dma_mcux_smartdma.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,011 |
```unknown
# DMA configuration options
#
# DMA options
#
menuconfig DMA
bool "Direct Memory Access (DMA) drivers"
if DMA
config DMA_64BIT
bool "DMA 64 bit address support"
help
When this option is true, 64 bit source and dest
DMA addresses are supported.
config DMA_INIT_PRIORITY
int "DMA init priority"
d... | /content/code_sandbox/drivers/dma/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 432 |
```c
/*
*
*/
#define DT_DRV_COMPAT snps_designware_dma_axi
#include <zephyr/device.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/logging/log.h>
#include <zephyr/drivers/reset.h>
#include <zephyr/cache.h>
LOG_MODULE_REGISTER(dma_designware_axi, CONFIG_DMA_LOG_LEVEL);
#define DEV_CFG(_dev) ((const struct dma_... | /content/code_sandbox/drivers/dma/dma_dw_axi.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,610 |
```c
/*
*
*/
#define DT_DRV_COMPAT atmel_sam_xdmac
/** @file
* @brief Atmel SAM MCU family Direct Memory Access (XDMAC) driver.
*/
#include <errno.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <string.h>
#include <soc.h>
#include <zephyr/drivers/dma.h>
#include ... | /content/code_sandbox/drivers/dma/dma_sam_xdmac.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,447 |
```c
/*
*
*/
#include <adsp_interrupt.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/cache.h>
#define DT_DRV_COMPAT intel_adsp_gpdma
#define GPDMA_CTL_OFFSET 0x0004
#define GPDMA_CTL_FDCGB BIT(0)
#define GPDMA_CTL_DCGD BIT(30)
/* TODO make device tree defined? */
#define GPDMA_CHLLPC_OFFSET(channel) (0x0010 ... | /content/code_sandbox/drivers/dma/dma_intel_adsp_gpdma.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,748 |
```c
/*
*
*/
/**
* @brief Common part of DMA drivers for stm32.
* @note Functions named with stm32_dma_* are SoCs related functions
* implemented in dma_stm32_v*.c
*/
#include "dma_stm32.h"
#include <zephyr/init.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/dma/dma_stm32.h>
#in... | /content/code_sandbox/drivers/dma/dma_stm32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7,109 |
```objective-c
/*
*
*/
#ifndef DMA_STM32_H_
#define DMA_STM32_H_
#include <soc.h>
#include <stm32_ll_dma.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
/* Maximum data sent in single transfer (Bytes) */
#define DMA_STM32_MAX_DATA_ITEMS 0xffff
struct dma_stm32_stre... | /content/code_sandbox/drivers/dma/dma_stm32.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,149 |
```c
/*
*
*/
/**
* @brief Intel ADSP HDA DMA (Stream) driver
*
* HDA is effectively, from the DSP, a ringbuffer (fifo) where the read
* and write positions are maintained by the hardware and the software may
* commit read/writes by writing to another register (DGFPBI) the length of
* the read or write.
*
* I... | /content/code_sandbox/drivers/dma/dma_intel_adsp_hda.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,912 |
```c
/*
*
*/
#define DT_DRV_COMPAT snps_designware_dma
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/drivers/dma.h>
#include <soc.h>
#include "dma_dw_common.h"
#include <zephyr/logging/log.h>
#include <zeph... | /content/code_sandbox/drivers/dma/dma_dw.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 910 |
```c
/*
*
*/
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/drivers/dma.h>
#define DT_DRV_COMPAT andestech_atcdmac300
#define LOG_LEVEL CONFIG_DMA_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER... | /content/code_sandbox/drivers/dma/dma_andes_atcdmac300.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,498 |
```objective-c
/*
*
*/
#ifndef DMA_IPROC_PAX
#define DMA_IPROC_PAX
/* Broadcom PAX-DMA RM register defines */
#define PAX_DMA_REG_ADDR(_base, _offs) ((_base) + (_offs))
#define PAX_DMA_RING_ADDR_OFFSET(_ring) (0x10000 * (_ring))
/* Per-Ring register offsets */
#define RING_VER 0x000
#define RING_BD_START_ADDR ... | /content/code_sandbox/drivers/dma/dma_iproc_pax.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,856 |
```unknown
# Andestech ATCDMAC300 configuration options
config DMA_ANDES_ATCDMAC300
bool "Using Andes ATCDMAC300 DMA driver"
default y
depends on DT_HAS_ANDESTECH_ATCDMAC300_ENABLED
help
Andes ATCDMAC300 DMA driver.
``` | /content/code_sandbox/drivers/dma/Kconfig.andes_atcdmac300 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```c
/*
*
*/
#define DT_DRV_COMPAT intel_adsp_hda_host_out
#include <zephyr/drivers/dma.h>
#include <adsp_interrupt.h>
#include "dma_intel_adsp_hda.h"
#define LOG_LEVEL CONFIG_DMA_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(dma_intel_adsp_hda_dma_host_out);
static const struct dma_driver_api int... | /content/code_sandbox/drivers/dma/dma_intel_adsp_hda_host_out.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 609 |
```unknown
# Infineon XMC4xxx DMA configuration options
config DMA_XMC4XXX
bool "Infineon xmc4xxx series DMA driver"
default y
depends on DT_HAS_INFINEON_XMC4XXX_DMA_ENABLED
help
DMA driver for Infineon xmc4xxx series MCUs.
``` | /content/code_sandbox/drivers/dma/Kconfig.xmc4xxx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```unknown
# Atmel SAM DMAC configuration options
config DMA_SAM0
bool "Atmel SAM0 series DMAC driver"
default y
depends on DT_HAS_ATMEL_SAM0_DMAC_ENABLED
help
DMA driver for Atmel SAM0 series MCUs.
``` | /content/code_sandbox/drivers/dma/Kconfig.sam0 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 59 |
```c
/*
*
*/
/**
* @brief Common part of DMA drivers for some NXP SoC.
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <soc.h>
#include <zephyr/drivers/dma.h>
#include <fsl_dma.h>
#include <fsl_inputmux.h>
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
#include <zephyr/sys/barrier.h>
#in... | /content/code_sandbox/drivers/dma/dma_mcux_lpc.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7,711 |
```c
/*
*
*/
#include <zephyr/drivers/dma.h>
#include <zephyr/logging/log.h>
#include <zephyr/cache.h>
/* used for driver binding */
#define DT_DRV_COMPAT nxp_sof_host_dma
/* macros used to parse DTS properties */
#define IDENTITY_VARGS(V, ...) IDENTITY(V)
#define _SOF_HOST_DMA_CHANNEL_INDEX_ARRAY(inst)\
LISTIFY... | /content/code_sandbox/drivers/dma/dma_nxp_sof_host_dma.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,770 |
```unknown
config DMA_RPI_PICO
bool "Raspberry Pi Pico DMA driver"
default y
depends on DT_HAS_RASPBERRYPI_PICO_DMA_ENABLED
select PICOSDK_USE_DMA
select PICOSDK_USE_CLAIM
depends on RESET
help
DMA driver for RaspberryPi Pico.
``` | /content/code_sandbox/drivers/dma/Kconfig.rpi_pico | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/drivers/video.h>
#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(video_sw_generator);
#define VIDEO_PATTERN_COLOR_BAR 0
#define VIDEO_PATTERN_FPS 30
struct video_sw_generator_data {
const struct device *... | /content/code_sandbox/drivers/video/video_sw_generator.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,041 |
```c
/*
*
*/
#define DT_DRV_COMPAT st_stm32_dcmi
#include <errno.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/video.h>
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/irq.h>
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/driver... | /content/code_sandbox/drivers/video/video_stm32_dcmi.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,192 |
```c
/*
*
*/
#define DT_DRV_COMPAT aptina_mt9m114
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/drivers/video.h>
#include <zephyr/drivers/i2c.h>
#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(mt9m114);
#def... | /content/code_sandbox/drivers/video/mt9m114.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,587 |
```unknown
# MT9m114
config VIDEO_SW_GENERATOR
bool "Video Software Generator"
help
Enable video pattern generator (for testing purposes).
``` | /content/code_sandbox/drivers/video/Kconfig.sw_generator | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 31 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/drivers/video.h>
K_HEAP_DEFINE(video_buffer_pool,
CONFIG_VIDEO_BUFFER_POOL_SZ_MAX *
CONFIG_VIDEO_BUFFER_POOL_NUM_MAX);
static struct video_buffer video_buf[CONFIG_VIDEO_BUFFER_POOL_NUM_MAX];
struct mem_block {
void *data;
};
static struct me... | /content/code_sandbox/drivers/video/video_common.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 392 |
```unknown
# OV7725
config VIDEO_OV7725
bool "OV7725 CMOS digital image sensor"
select I2C
depends on DT_HAS_OVTI_OV7725_ENABLED
default y
help
Enable driver for OV7725 CMOS digital image sensor device.
``` | /content/code_sandbox/drivers/video/Kconfig.ov7725 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 62 |
```c
/*
*
*/
#define DT_DRV_COMPAT ovti_ov2640
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/drivers/video.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/drivers/gpio.h>
#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(ov2640);
/* DSP reg... | /content/code_sandbox/drivers/video/ov2640.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 10,213 |
```unknown
# OV2640
config VIDEO_OV2640
bool "OV2640 CMOS digital image sensor"
select I2C
depends on DT_HAS_OVTI_OV2640_ENABLED
default y
help
Enable driver for OV2640 CMOS digital image sensor device.
``` | /content/code_sandbox/drivers/video/Kconfig.ov2640 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 62 |
```unknown
# MT9m114
config VIDEO_MT9M114
bool "MT9M114 Aptina CMOS digital image sensor"
select I2C
depends on DT_HAS_APTINA_MT9M114_ENABLED
default y
help
Enable driver for MT9M114 CMOS digital image sensor device.
``` | /content/code_sandbox/drivers/video/Kconfig.mt9m114 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 67 |
```unknown
config VIDEO_OV7670
bool "OV7670 CMOS digital image sensor"
select I2C
depends on DT_HAS_OVTI_OV7670_ENABLED
default y
help
Enable driver for OV7670 CMOS digital image sensor device.
``` | /content/code_sandbox/drivers/video/Kconfig.ov7670 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 58 |
```unknown
# STM32 DCMI driver configuration options
DT_STM32_DCMI_HAS_DMA := $(dt_nodelabel_has_prop,dcmi,dmas)
config VIDEO_STM32_DCMI
bool "STM32 Digital camera interface (DCMI) driver"
default y
depends on DT_HAS_ST_STM32_DCMI_ENABLED
select USE_STM32_HAL_DCMI
select USE_STM32_HAL_MDMA if SOC_SERIES_STM32H7... | /content/code_sandbox/drivers/video/Kconfig.stm32_dcmi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 189 |
```c
/*
*
*/
#define DT_DRV_COMPAT nxp_mipi_csi2rx
#include <fsl_mipi_csi2rx.h>
#include <zephyr/drivers/video.h>
#include <zephyr/kernel.h>
#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(mipi_csi);
/*
* Two data lanes are set by default as 2-lanes camera sensors ... | /content/code_sandbox/drivers/video/video_mcux_mipi_csi2rx.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,626 |
```c
/*
*
*/
#define DT_DRV_COMPAT ovti_ov5640
#include <zephyr/device.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/video.h>
#include <zephyr/kernel.h>
#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(ov5640);
#include <... | /content/code_sandbox/drivers/video/ov5640.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,898 |
```unknown
# NXP MIPI CSI-2 Rx driver configuration option
config VIDEO_MCUX_MIPI_CSI2RX
bool "NXP MIPI CSI-2 Rx driver"
default y
depends on DT_HAS_NXP_MIPI_CSI2RX_ENABLED
select VIDEO_MCUX_CSI
``` | /content/code_sandbox/drivers/video/Kconfig.mcux_mipi_csi2rx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 62 |
```unknown
# NXP MCUX CSI driver configuration options
config VIDEO_MCUX_CSI
bool "NXP MCUX CMOS Sensor Interface (CSI) driver"
default y
depends on DT_HAS_NXP_IMX_CSI_ENABLED
config VIDEO_MCUX_CSI_INIT_PRIORITY
int "NXP MCUX CSI init priority"
default 61
depends on VIDEO_MCUX_CSI
help
Initialization prior... | /content/code_sandbox/drivers/video/Kconfig.mcux_csi | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 98 |
```unknown
# VIDEO driver configuration options
#
# VIDEO Drivers
#
menuconfig VIDEO
bool "Video drivers"
help
Enable support for the VIDEO.
if VIDEO
config VIDEO_INIT_PRIORITY
int "Video initialization priority"
default 60
help
System initialization priority for video drivers.
config VIDEO_BUFFER_POOL_... | /content/code_sandbox/drivers/video/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 230 |
```unknown
# OV5640
config VIDEO_OV5640
bool "OV5640 CMOS digital image sensor"
select I2C
depends on DT_HAS_OVTI_OV5640_ENABLED
default y
help
Enable driver for OV5640 CMOS digital image sensor device
``` | /content/code_sandbox/drivers/video/Kconfig.ov5640 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 62 |
```c
/*
*
*/
#define DT_DRV_COMPAT ovti_ov7725
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/drivers/video.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/drivers/gpio.h>
#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL
#include <zephyr/logging/log.h>
LOG_M... | /content/code_sandbox/drivers/video/ov7725.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,789 |
```c
/*
*
*/
#define DT_DRV_COMPAT nxp_imx_csi
#include <zephyr/kernel.h>
#include <fsl_csi.h>
#ifdef CONFIG_HAS_MCUX_CACHE
#include <fsl_cache.h>
#endif
#include <zephyr/drivers/video.h>
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/irq.h>
struct video_mcux_csi_config {
CSI_Type *base;
const struct de... | /content/code_sandbox/drivers/video/video_mcux_csi.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,700 |
```objective-c
/* util.h - Common helpers for Bluetooth drivers */
/*
*
*/
static inline void bt_uart_drain(const struct device *dev)
{
uint8_t c;
while (uart_fifo_read(dev, &c, 1)) {
continue;
}
}
``` | /content/code_sandbox/drivers/bluetooth/util.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 53 |
```unknown
# Bluetooth LE driver configuration options
#
# Bluetooth options
#
# Controller support is an HCI driver in itself, so these HCI driver
# options are only applicable if controller support hasn't been enabled.
menuconfig BT_DRIVERS
bool "Bluetooth drivers"
default y
depends on BT
if BT_DRIVERS
if BT_... | /content/code_sandbox/drivers/bluetooth/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 109 |
```c
/*
* an affiliate of Cypress Semiconductor Corporation
*
*/
/**
* @brief Zephyr CYW20829 driver.
*
* This driver uses btstack-integration asset as hosts platform adaptation layer
* (porting layer) for CYW20829. btstack-integration layer implements/
* invokes the interfaces defined by BTSTACK to e... | /content/code_sandbox/drivers/bluetooth/hci/hci_ifx_cyw208xx.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,135 |
```unknown
#
#
#
config HCI_NXP_ENABLE_AUTO_SLEEP
bool "BLE Controller auto sleep mode"
help
If enabled, the Controller auto sleep mode will be configured and enabled during HCI init.
Auto sleep mode means the Controller will handle its low power state automatically.
Enabling this feature will allow to save... | /content/code_sandbox/drivers/bluetooth/hci/Kconfig.nxp | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 355 |
```c
/*
*
*/
#define DT_DRV_COMPAT ovti_ov7670
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/drivers/video.h>
#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(ov7670);
/* Initialization register structure */
struct ov7670_reg {
uin... | /content/code_sandbox/drivers/video/ov7670.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,207 |
```c
/*
*
*/
#include <zephyr/drivers/bluetooth.h>
#include <sl_btctrl_linklayer.h>
#include <sl_hci_common_transport.h>
#include <pa_conversions_efr32.h>
#include <sl_bt_ll_zephyr.h>
#include <rail.h>
#define LOG_LEVEL CONFIG_BT_HCI_DRIVER_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(bt_hci_drive... | /content/code_sandbox/drivers/bluetooth/hci/slz_hci.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,524 |
```c
/* userchan.c - HCI User Channel based Bluetooth driver */
/*
*/
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/sys/util.h>
#include <errno.h>
#include <stddef.h>
#include <stdlib.h>
#include <poll.h>
#include <errno.h>
#include <sys/socket.h>
#include <string.h... | /content/code_sandbox/drivers/bluetooth/hci/userchan.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,168 |
```c
/*
*
*/
#include <soc.h>
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#include <nrf53_cpunet_mgmt.h>
#include <../subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/debug.h>
#include <hal/nrf_spu.h>
#define LOG_LEVEL CONFIG_BT_HCI_DRIVER_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTE... | /content/code_sandbox/drivers/bluetooth/hci/nrf53_support.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 305 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.