text stringlengths 14 100k | source stringclasses 1
value | repo stringclasses 810
values | language stringclasses 13
values |
|---|---|---|---|
/*
* Copyright (c) 2024 Silicon Laboratories Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_SILABS_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_SILABS_H_
#include <zephyr/drivers/clock_control.h>
#if defined(CONFIG_SOC_SILABS_XG21)
#include <zephyr/dt-bindings/clo... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>52
#define ESP32_CLOCK_CONTROL_SUBSYS_RTC_FAST_NOMINAL 53
#define ESP32_CLOCK_CONTROL_SUBSYS_RTC_SLOW_NOMINAL 54
struct esp32_cpu_clock_config {
int clk_src;
uint32_t cpu_freq;
uint32_t xtal_freq;
};
struct esp32_rtc_clock_config {
uint32_t rtc_fast_clock_src;
uint32_t rtc_slow_clock_src;
};
struc... | fim | zephyrproject-rtos/zephyr | c |
/*
* Copyright (c) 2022 Teslabs Engineering S.L.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_GD32_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_GD32_H_
#include <zephyr/device.h>
/**
* @brief Obtain a reference to the GD32 clock controller.
*
* There is a single c... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>ntrol.h>
#include <zephyr/dt-bindings/clock/lpc11u6x_clock.h>
#endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_LPC11U6X_CLOCK_CONTROL_H_ */
<|fim_prefix|>/*
* Copyright (c) 2020 Seagate
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_LPC11U6X_CLOCK_CONTROL_H_
#de... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>h>
#include <zephyr/drivers/clock_control.h>
#if CONFIG_CLOCK_CONTROL_MCHP_SAM_D5X_E5X
#include <zephyr/drivers/clock_control/mchp_clock_sam_d5x_e5x.h>
#endif /* CLOCK_CONTROL_MCHP_SAM_D5X_E5X */
#if CONFIG_CLOCK_CONTROL_MCHP_PIC32CM_JH
#include <zephyr/drivers/clock_control/mchp_clock_pic32cm_jh.h>
#en... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>enerator. The actual division
* factor is dependent on the state of div_select (gclk1 0 - 65535, others 0 - 255)
*/
uint16_t div_factor;
/** @brief configure oscillator to ON in standby sleep mode, unless on_demand_en is set */
bool run_in_standby_en;
/** @brief Generator source clock selection ... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>CLUDE_ZEPHYR_DRIVERS_CLOCK_CONTROL_MCHP_CLOCK_PIC32CM_PL_H_ */
<|fim_prefix|>/*
* Copyright (c) 2026 Microchip Technology Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file mchp_clock_pic32cm_pl.h
* @brief Clock control header file for Microchip pic32cm_pl family.
*
* This file provides ... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2025-2026 Microchip Technology Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file mchp_clock_pic32cz_ca.h
* @brief Clock control header file f<|fim_suffix|> Gclk Generator 7 */
CLOCK_MCHP_GCLKGEN_GEN8, /**< Gclk Generator 8 */
CLOCK_MCHP_GCLKGEN_GEN9, /**< Gclk Gener... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>EN8,
CLOCK_MCHP_GCLKGEN_GEN9,
CLOCK_MCHP_GCLKGEN_GEN10,
CLOCK_MCHP_GCLKGEN_GEN11
};
struct clock_mchp_subsys_dfll_config {
/** @brief configure oscillator to ON, when a peripheral is requesting it as a source */
bool on_demand_en;
/** @brief configure oscillator to ON in standby sleep mode, unless... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (C) 2025 Microchip Technology Inc. and its subsidiaries
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MICROCHIP_SAM_PMC_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MICROCHIP_SAM_PMC_H_
#include <soc.h>
#include <zephyr/drivers/clock_contro... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>dif
#endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_LPC11U6X_CLOCK_CONTROL_H_ */
<|fim_prefix|>/*
* Copyright (c) 2021 Microchip Technology Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MCHP_XEC_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MCHP_XEC_H_
... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>_t clk;
};
#define MSPM0_CLOCK_SUBSYS_FN(index) {.clk = DT_INST_CLOCKS_CELL(index, clk)}
#endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MSPM0_CLOCK_CONTROL */
<|fim_prefix|>/*
* Copyright (c) 2025 Texas Instruments Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
#if<|fim_middle|>ndef ZEPHYR_INCLUDE... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>t *startup_time_us)
{
const struct nrf_clock_control_driver_api *api = DEVICE_API_GET(nrf_clock_control, dev);
if (api->get_startup_time == NULL) {
return -ENOSYS;
}
return api->get_startup_time(dev, spec, startup_time_us);
}
/** @brief Request the HFXO from Zero Latency Interrupt context.
*
* ... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright 2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_NXP_CLOCK_CONTROL_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_NXP_CLOCK_CONTROL_H_
#include <zephyr/drivers/clock_control.h>
#if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(mc_cgm), nxp_mc... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright 2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE<|fim_suffix|> \
(DT_ENUM_IDX(DT_NODELABEL(fxosc), workmode) == 0 ? kFXOSC_ModeCrystal : kFXOSC_ModeBypass)
#define NXP_FXOSC_DELAY DT_P... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>o.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RCAR_CLOCK_CONTROL_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RCAR_CLOCK_CONTROL_H_
#include <zephyr/drivers/clock_control.h>
#include <zephyr/dt-bindings/clock/renesas_cpg_mssr.h>
struct rcar_cpg_clk {
u... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2024-2026 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Renesas RA Clock Generator Circuit (CGC) header file
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RENESAS_RA_CGC_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RENESAS_... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>k_control_subsys_t)DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, name) \
}
/**
* @brief Get access to a specific clock.
*
* The way to retrieve the clock data depends on the platform.
*/
#define RCAR_CLOCK_SUBSYS(clk) (clk).subsys
/** Wrap the pointer value into a struct to make the helpers accessing it mor... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2024 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Renesas RX Clock Generator Circuit (CGC) header file
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RENESAS_RX_CGC_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RENESAS_RX_CG... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>NESAS_RZ_CGC_H_ */
<|fim_prefix|>/*
* Copyright (c) 2025 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RENESAS_RZ_CGC_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RENESAS_RZ_CGC_H_
#include <zephyr/drivers/clock_control.h>
... | fim | zephyrproject-rtos/zephyr | c |
/*
* Copyright (c) 2025 Core Devices LLC
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_CLOCK_CONTROL_SF32LB_H_
#define _INCLUDE_ZEPHYR_DRIVERS_CLOCK_CONTROL_SF32LB_H_
#include <stdint.h>
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#include <zephyr/devicetree/clocks.h>
#inc... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2023 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_SMARTBOND_CLOCK_CONTROL_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_SMARTBOND_CLOCK_CONTROL_H_
#include <zephyr/device.h>
#include <zephyr/drivers/clock... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2016 Open-RnD Sp. z o.o.
* Copyright (c) 2016 BayLibre, SAS
* Copyright (c) 2017-2022 Linaro Limited.
* Copyright (c) 2017 RnDity Sp. z o.o.
* Copyright (c) 2023 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_STM32_CLOC... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2025 Texas Instruments
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_TISCI_CLOCK_CONTROL_H_
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_TISCI_CLOCK_CONTROL_H_
#include <stdint.h>
/**
* @struct tisci_clock_config
* @brief Clock configura... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|> clock_control_subsys_t sys,
clock_control_cb_t cb,
void *user_data)
{
const struct clock_control_driver_api *api = DEVICE_API_GET(clock_control, dev);
if (api->async_on == NULL) {
return -ENOSYS;
}
return api->async_on(dev, sys, cb, user_data);
}
/**
* @brief Get clock status.
*... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>uct device *);
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_DRIVERS_COMPARATOR_FAKE_H_ */
<|fim_prefix|>/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_COMPARATOR_FAKE_H_
#define ZEPHYR_INCLUDE_DRIVERS_COMPARATOR_FAK... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>_high_speed_mode;
};
enum comp_mcux_acmp_dm_clock {
COMP_MCUX_ACMP_DM_CLOCK_SLOW = 0,
COMP_MCUX_ACMP_DM_CLOCK_FAST,
};
enum comp_mcux_acmp_dm_sample_time {
COMP_MCUX_ACMP_DM_SAMPLE_TIME_T1 = 0,
COMP_MCUX_ACMP_DM_SAMPLE_TIME_T2,
COMP_MCUX_ACMP_DM_SAMPLE_TIME_T4,
COMP_MCUX_ACMP_DM_SAMPLE_TIME_T8,
C... | fim | zephyrproject-rtos/zephyr | c |
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_COMP_NRF_COMP_H_
#define ZEPHYR_INCLUDE_DRIVERS_COMP_NRF_COMP_H_
#include <zephyr/dt-bindings/comparator/nrf-comp.h>
#include <zephyr/drivers/comparator.h>
#ifdef __cplusplus
extern "C" {
#e... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>PCOMP_REFSEL_VDD_9_16,
/** Use (VDD * (11/16)) as reference */
COMP_NRF_LPCOMP_REFSEL_VDD_11_16,
/** Use (VDD * (13/16)) as reference */
COMP_NRF_LPCOMP_REFSEL_VDD_13_16,
/** Use (VDD * (15/16)) as reference */
COMP_NRF_LPCOMP_REFSEL_VDD_15_16,
/** Use external analog reference */
COMP_NRF_LPCOMP_... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>set_trigger(const struct device *dev,
enum comparator_trigger trigger)
{
return DEVICE_API_GET(comparator, dev)->set_trigger(dev, trigger);
}
/**
* @brief Set comparator's trigger callback
*
* @param dev Comparator device
* @param callback Trigger callback
* @param user_data User data passed ... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2017 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CONSOLE_CONSOLE_H_
#define ZEPHYR_INCLUDE_DRIVERS_CONSOLE_CONSOLE_<|fim_suffix|>ped in the console.
* Carriage return is translated to NULL making string always NULL
* terminated. A... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>*/
#define IPM_CONSOLE_STACK_SIZE CONFIG_IPM_CONSOLE_STACK_SIZE
#define IPM_CONSOLE_PRI 2
struct ipm_console_receiver_config_info {
/** Name of the low-level IPM driver to bind to */
char *bind_to;
/**
* Stack for the receiver's thread, which prints out messages as
* they come in. Should be si... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>LE_H_
#define ZEPHYR_INCLUDE_DRIVERS_CONSOLE_POSIX_ARCH_CONSOLE_H_
#include <zephyr/kernel.h>
#ifdef __cplusplus
extern "C" {
#endif
void posix_flush_stdout(void);
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_DRIVERS_CONSOLE_POSIX_ARCH_CONSOLE_H_ */
<|fim_prefix|>/*
* Copyright (c) 2023 Nord... | fim | zephyrproject-rtos/zephyr | c |
/* uart_console.h - uart console driver */
/*
* Copyright (c) 2011, 2014 Wind River Systems, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CONSOLE_UART_CONSOLE_H_
#define ZEPHYR_INCLUDE_DRIVERS_CONSOLE_UART_CONSOLE_H_
#include <zephyr/kernel.h>
#ifdef __cplusplus
extern "C" {
#e... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright Runtime.io 2018. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
/** @file
* @brief A driver for sending and receiving mcumgr packets over UART.
*
* @see include/mgmt/serial.h
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CONSOLE_UART_MCUMGR_H_
#define ZEPHYR_INCLUDE_DRIVERS_C... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>gistration succeeded
* @return false if unregistration failed
*/
static inline bool coredump_device_unregister_memory(const struct device *dev,
struct coredump_mem_region_node *region)
{
return DEVICE_API_GET(coredump, dev)->unregister_memory(dev, region);
}
/**
* @brief Register a callback to be in... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2026 Meta Platforms
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Header file for STM32 counter capture driver
* @ingroup counter_stm32_interface
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_COUNTER_STM32_H_
#define ZEPHYR_INCLUDE_DRIVERS_COUNTER_STM32_H_
/**
* @defgr... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2016 Intel Corporation
* Copyright (c) 2018 Nordic Semiconductor ASA
* Copyright (c) 2026 Meta Platforms
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup counter_interface
* @brief Main header file for counter driver API.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_CO... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>l int crc_begin(const struct device *dev, struct crc_ctx *ctx);
static inline int z_impl_crc_begin(const struct device *dev, struct crc_ctx *ctx)
{
const struct crc_driver_api *api = DEVICE_API_GET(crc, dev);
if (api->begin == NULL) {
return -ENOSYS;
}
return api->begin(dev, ctx);
}
/**
* @brie... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2025 Prevas A/S
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Header file for extended DAC API of DAC161S997
* @ingroup dac161s997_interface
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DAC_DAC161S997_H_
#define ZEPHYR_INCLUDE_DRIVERS_DAC_DAC161S997_H_
#include <stdint... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>channel, uint32_t *value);
#endif /* ZEPHYR_INCLUDE_DRIVER_DAC_DAC_EMUL_H_ */
<|fim_prefix|>/**
* @file
*
* @brief Backend API for emulated DAC
*/
/*
* Copyright (c) 2026 Vaisala Oyj
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVER_DAC_DAC_EMUL_H_
#define ZEPHYR_INCLUDE_... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2020 Libre Solar Technologies GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup dac_interface
* @brief Main header file for DAC (Digital-to-Analog Converter) driver API.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DAC_H_
#define ZEPHYR_INCLUDE_DRIVERS_DAC_H_
#inclu... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2022 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup dai_interface
* @brief Main header file for DAI (Digital Audio Interface) driver API.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DAI_H_
#define ZEPHYR_INCLUDE_DRIVERS_DAI_H_
/**
* @defgroup dai_i... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>callback;
/**
* @driver_ops_mandatory @copybrief dali_transmit
*/
dali_api_transmit_t transmit;
};
/**
* @}
*/
/**
* @brief Set a callback function that receives frames from the DALI bus.
*
* Set a callback function for the DALI driver. Whenever a DALI frame
* is fully received, or a relevant... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>_nrf_etr_flush(void);
#ifdef __cplusplus
}
#endif
#endif /* _ZEPHYR_DRIVERS_DEBUG_CORESIGHT_NRF_ETR_H_ */
<|fim_prefix|>/*
* Copyright (c) 2024 Nord<|fim_middle|>ic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _ZEPHYR_DRIVERS_DEBUG_CORESIGHT_NRF_ETR_H_
#define _ZEPHYR_DRIVERS_D... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>
}
#ifdef __cplusplus
}
#endif
/**
* @}
*/
#endif /* ZEPHYR_INCLUDE_DRIVERS_DEBUG_CORESIGHT_STMESP_H_ */
<|fim_prefix|>/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DEBUG_CORESIGHT_STMESP_H_
#define ZEPHYR_INCLUDE_DRIVE... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>ion.
*
* @param dev Pointer to the device structure representing the SD/MMC card.
* @param csd Pointer to an array where the CSD data will be stored.
*/
void stm32_sdmmc_get_card_csd(const struct device *dev, uint32_t csd[4]);
/** @} */
#endif /* ZEPHYR_INCLUDE_DRIVERS_DISK_SDMMC_STM32_H_ */
<|fim_p... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2016 Intel Corporation.
* Copyright (c) 2021 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup disk_driver_interface
* @brief Main header file for disk driver API.
*
* This file contains interface for disk access. Apart from disks, var... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>oup display_interface
* @{
*/
#include <zephyr/drivers/display.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name AC057TC1 Color Definitions
* @{
*
* The display supports 7 colors, mapped via 3-bit indices (0-6).
* The color palette in display_capabilities provides the ARGB8888 representation... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Color dithering helpers for display drivers.
* @ingroup display_color_dither
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DISPLAY_COLOR_DITHER_H_
#define ZEPHYR_INCLUDE_DRIVER... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2026 The Zephyr Project Contributors
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup display_interface
* @brief Palette definitions for ED2208-GCA (EL073TF1) Spectra 6 e-ink display
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DISPLAY_ED2208_GCA_H_
#define ZEPHYR_INCLUDE_D... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2017 Jan Van Winkel <jan.van_winkel@dxplore.eu>
* SPDX-FileCopyrightText: 2026 Abderrahmane JARMOUNI
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup display_interface
* @brief Main header file for display driver API.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DISPLAY... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2026, Realtek Semiconductor Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Realtek Bee DMA Configuration Macros
*
* This header contains helper macros to extract DMA configuration parameters
* (such as direction, data size, burst size, etc.) from t... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifi<|fim_suffix|>ERS_DMA_ESP32_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_ESP32_H_
enum gdma_trigger_peripheral {
ESP_GDMA_TRIG_PERIPH_M2M = -1,
ESP_GDMA_TRIG_PERIPH_SPI2 = 0,
ESP_GDMA_TRIG_PERIPH_SPI3 = 1,
ESP_GDMA_TR... | fim | zephyrproject-rtos/zephyr | c |
/*
* Copyright (c) 2022 TOKITA Hiroshi <tokita.hiroshi@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_GD32_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_GD32_H_
#define GD32_DMA_CONFIG_DIRECTION(config) ((config >> 6) & 0x3)
#define GD32_DMA_CONFIG_PERIPH_ADDR_INC(config) ... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>GHT_SHIFT 32
void dma_intel_lpss_isr(const struct device *dev);
int dma_intel_lpss_setup(const struct device *dev);
void dma_intel_lpss_set_base(const struct device *dev, uintptr_t base);
#endif /* ZEPHYR_INCLUDE_DRIVERS_DMA_INTEL_LPSS_H_ */
<|fim_prefix|>/*
* Copyright (c) 2023 Intel Corporation.
*
... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright 2023 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_DMA_MCUX_LPC_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_DMA_MCUX_LPC_H_
/*
* LPC DMA engine channel hardware trigger attributes.
* These attributes can be set to the "dma_slot" field
* in a dma_config... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|> DMA_MCUX_PXP_CMD_ROTATE_90 1
#define DMA_MCUX_PXP_CMD_ROTATE_180 2
#define DMA_MCUX_PXP_CMD_ROTATE_270 3
#define DMA_MCUX_PXP_FMT_RGB565 0
#define DMA_MCUX_PXP_FMT_RGB888 1
#define DMA_MCUX_PXP_FMT_ARGB8888 2
#define DMA_MCUX_PXP_FLIP_MASK 0x3
#define DMA_MCUX_PXP_FLIP_SHIFT 0x0
/*
* In order t... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright 2023 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
<|fim_suffix|>MCUX_SMARTDMA_H_
/**
* @brief install SMARTDMA firmware
*
* Install a custom firmware for the smartDMA. This function allows the user
* to install a custom firmware into the smartDMA, which implements
* different A... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>ccessively.
* - bit 12: Source address direction.
* - 0x0: Source address incremented successively. (default)
* - 0x1: Source address decremented successively.
* - bit 13: Destination address fixed.
* - 0x0: Cha... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|> * @brief Append a new block to the current channel
*
* This function allows to append a block to the current DMA transfer. It allows a user/driver
* to register the next DMA transfer while a transfer in being held without stopping or restarting
* DMA engine. It is very suitable for Zephyr Uart API wh... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2023 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_DMA_SMARTBOND_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_DMA_SMARTBOND_H_
/**
* @brief Vendror-specific DMA peripheral triggering sources.
*
* A valid triggering source... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2021 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_STM32_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_STM32_H_
#include <zephyr/devicetree.h>
#include <zephyr/devicetree/dma.h>
/* @brief linked_channel value to inform zephyr dma driver that... | fim | zephyrproject-rtos/zephyr | c |
/*
* Copyright (c) 2025 Core Devices LLC
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef INCLUDE_ZEPHYR_DRIVERS_DMA_SF32LB_H_
#define INCLUDE_ZEPHYR_DRIVERS_DMA_SF32LB_H_
#include <stdint.h>
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#include <zephyr/drivers/dma.h>
#include <zephyr/dt-bindings/dma... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup dma_interface
* @brief Main header file for DMA (Direct Memory Access) driver API.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_H_
#define ZEPHYR_INCLUDE_DRIVERS_DMA_H_
#include <zephyr/kernel.h... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>nction passed to @ref edac_notify_callback_set */
struct edac_nxp_callback_data {
/** Number of corrected errors */
uint8_t corr_err_count;
/** Syndrome ECC bits for last single bit ECC event */
uint8_t err_syndrome;
/** Address of last ECC event */
uint32_t err_addr;
/** Type of last ECC event */
... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2025 Calian Ltd
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Header file for extended EDAC API of Synopsys DDR controller
* @ingroup edac_interface_ext
*/
#ifndef ZEPHYR_DRIVERS_EDAC_EDAC_SYNOPSYS_H_
#define ZEPHYR_DRIVERS_EDAC_EDAC_SYNOPSYS_H_
/**
* @brie... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>ine int edac_parity_error_log_clear(const struct device *dev)
{
const struct edac_driver_api *api = DEVICE_API_GET(edac, dev);
if (api->parity_error_log_clear == NULL) {
return -ENOSYS;
}
return api->parity_error_log_clear(dev);
}
/**
* @brief Get number of correctable errors
*
* @param dev Po... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|> device *, off_t, const void *, size_t);
DECLARE_FAKE_VALUE_FUNC(size_t, fake_eeprom_size, const struct device *);
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_DRIVERS_EEPROM_FAKE_EEPROM_H_ */
<|fim_prefix|>/*
* Copyright (c) 2022 Vestas Wind Systems A/S
*
* SPDX-License-Identifier: Apache-2... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2019 Vestas Wind Systems A/S
*
* Heavily based on drivers/flash.h which is:
* Copyright (c) 2017 Nordic Semiconductor ASA
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup eeprom_interface
* @brief Main header file for E... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2020 Nordic Semiconductor ASA
* Copyright 2020 Google LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_EMUL_H_
#define ZEPHYR_INCLUDE_DRIVERS_EMUL_H_
/**
* @brief Emulators used to test drivers and higher-level code that uses them
* @defgroup io_emu... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>unt, uint8_t *data)
{
if (target == NULL || target->backend_api == NULL) {
return -ENOTSUP;
}
struct emul_bbram_driver_api *api = (struct emul_bbram_driver_api *)target->backend_api;
if (api->get_data == NULL) {
return -ENOTSUP;
}
return api->get_data(target, offset, count, data);
}
/**
* @... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2023 Google LLC
*
* SPDX-License-Identifier: Apa<|fim_suffix|>arget,
uint32_t uV, int uA)
{
const struct fuel_gauge_emul_driver_api *backend_api =
(const struct fuel_gauge_emul_driver_api *)target->backend_api;
if (backend_api->set_battery_charging == 0) {
return ... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/drivers/emul.h>
#include <zephyr/drivers/sensor.h>
#include <zephyr/drivers/sensor_attribute_types.h>
#include <stdint.h>
/**
* @brief Sensor emulator backend API
* @defgroup sensor_emulator_backend Sensor... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright 2023 Google LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_EMUL_STUB_DEVICE_H_
#define ZEPHYR_INCLUDE_EMUL_STUB_DEVICE_H_
#include <|fim_suffix|> \
{ \
ARG_UNUSED(dev); ... | fim | zephyrproject-rtos/zephyr | c |
/*
* Copyright (c) 2016 ARM Ltd.
* Copyright (c) 2017 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup entropy_interface
* @brief Main header file for entropy driver API.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_ENTROPY_H_
#define ZEPHYR_INCLUDE_DRIVERS_ENTROPY_H_
/**
* @brief... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2019 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup espi_interface
* @brief Main header file for eSPI (Enhanced Serial Peripheral Interface) driver API.
*/
#ifndef ZEPHYR_INCLUDE_ESPI_H_
#define ZEPHYR_INCLUDE_ESPI_H_
#include <errno.h>
... | fim | zephyrproject-rtos/zephyr | c |
/*
* Copyright 2020 Google LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup espi_emul_interface
* @brief Main header file for eSPI emulation driver API.
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_ESPI_SPI_EMUL_H_
#define ZEPHYR_INCLUDE_DRIVERS_ESPI_SPI_EMUL_H_
#include <zephyr/device.h>
#include ... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2019 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Public APIs for eSPI driver
*/
#ifndef ZEPHYR_INCLUDE_ESPI_SAF_H_
#define ZEPHYR_INCLUDE_ESPI_SAF_H_
#include <zephyr/sys/__assert.h>
#include <zephyr/types.h>
#include <zephyr/device.h>
#... | fim | zephyrproject-rtos/zephyr | c |
/*
* Copyright (c) 2023 PHOENIX CONTACT Electronics GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_ETH_ADIN2111_H__
#define ZEPHYR_INCLUDE_DRIVERS_ETH_ADIN2111_H__
#include <stdint.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#ifdef __cplusplus
extern "C" {
#endif
/**... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>_mutex *ptp_mutex; /* created in PTP driver */
void *enet; /* enet_handle poiniter used by PTP driver */
};
#ifdef CONFIG_MDIO_NXP_ENET
extern void nxp_enet_mdio_callback(const struct device *mdio_dev,
enum nxp_enet_callback_reason event,
void *data);
#else
#define nxp_enet_mdio_callback(...)
#endif... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright 2023-2026 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_ETH_NXP_ENET_QOS_H__
#define ZEPHYR_INCLUDE_DRIVERS_ETH_NXP_ENET_QOS_H__
#include <fsl_device_registers.h>
#include <zephyr/drivers/clock_control.h>
/* Different platforms named the peripheral dif... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>T 1
#endif
#if defined(FSL_FEATURE_NETC_HAS_SWITCH_TAG) && FSL_FEATURE_NETC_HAS_SWITCH_TAG
#define NETC_SWITCH_TAG_SUPPORT 1
#endif
#if defined(CONFIG_DSA_NXP_IMX_NETC) && (!defined(NETC_SWITCH_TAG_SUPPORT))
#define NETC_SWITCH_NO_TAG_DRIVER_SUPPORT 1
#endif
#if defined(CONFIG_DSA_NXP_IMX_NETC)
/*
* F... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>ram select pointer to store selector key for the file
* @param size pointer to store file size in bytes
*
* @retval 0 if successful
* @retval -ENOENT if the file does not exist
*/
int qemu_fwcfg_find_file(const struct device *dev, const char *file, uint16_t *select,
uint32_t *size);
/**
* @brie... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2026 <|fim_suffix|>i_agent_info *agent_inf);
/**
* @brief SCMI base protocol set an agent permissions to access devices.
*
* @param agent_id SCMI agent id.
* @param device_id SCMI device id.
* @param allow If set to true, allow agent access to the device.
* @return 0 on success,... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup scmi_clk
* @brief Header file for the SCMI Clock Protocol.
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_CLK_H_
#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_CLK_H_
#include <zephyr/drivers/firmware/scm... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright 2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup scmi_nxp_cpu
* @brief Header file for the NXP SCMI CPU Domain Protocol.
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_CPU_H_
#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_CPU_H_
#include <zephyr/drivers... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>0000000U
/** @} */
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_DRIVERS_FIRMWARE_SCMI_NXP_SYSTEM_H_ */
<|fim_prefix|>/*
* Copyright 2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DRIVERS_FIRMWARE_SCMI_NXP_SYSTEM_H_
#define ZEPHYR_INCLUDE_DRIVERS_FI... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup scmi_pinctrl
* @brief Header file for the SCMI Pin Control Protocol.
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_PINCTRL_H_
#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_PINCTRL_H_
#include <zephyr/dr... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup scmi_power
* @brief Header file for the SCMI Power Domain Protocol.
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_POWER_H_
#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_POWER_H_
#include <zephyr/drivers... | fim | zephyrproject-rtos/zephyr | c |
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup scmi_interface
* @brief Header file for the SCMI (System Control and Management Interface) driver API.
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_PROTOCOL_H_
#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_PROTOCOL_H... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2026 EPAM Systems
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup scmi_reset
* @brief Header file for the SCMI Reset Protocol.
*/
#ifndef DRIVERS_ARM_SCMI_RESET_H_
#define DRIVERS_ARM_SCMI_RESET_H_
#include <zep<|fim_suffix|>from the protocol attributes */
#... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup scmi_shmem
* @brief Header file for the SCMI Shared Memory.
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_SHMEM_H_
#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_SHMEM_H_
#include <zephyr/device.h>
#incl... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>* @param version Desired protocol version
*
* @return 0 on success, negative errno value on failure.
*/
int scmi_system_protocol_version_negotiate(uint32_t version);
/**
* @brief Set system power state
*
* @param cfg Pointer to power state configuration
*
* @return 0 on success, negative errno va... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>tocol if successful
* @retval NULL if failure
*/
struct scmi_channel *(*request_channel)(const struct device *transport,
uint32_t proto, bool tx);
};
/** @cond INTERNAL_HIDDEN */
/**
* See @ref scmi_transport_api::request_channel for more details.
*/
static inline struct scmi_channel *
scmi... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @ingroup scmi_util
* @brief Header file for SCMI Utility Macros.
*
* Contains various utility macros and macros used for protocol and
* transport "registration".
*/
#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_U... | fim | zephyrproject-rtos/zephyr | c |
<|fim_prefix|>/*
* Copyright (c) 2025, Texas Instruments
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Public APIs for the TISCI driver
*
*/
#ifndef INCLUDE_ZEPHYR_DRIVERS_TISCI_H_
#define INCLUDE_ZEPHYR_DRIVERS_TISCI_H_
#include <zephyr/device.h>
#define MAILBOX_MBOX_SIZE 60
/**
* @stru... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>_ */
<|fim_prefix|>/*
* Copyright 2025 The ChromiumOS Authors.
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Header file for Andes QSPI-NOR XIP flash extended operations.
* @ingroup andes_flash_xip_ex_op
*/
#ifndef __ZEPHYR_INCLUDE_DRIVERS_ANDES_FLASH_XIP_API_EX_H__
#define __Z... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>s(const struct device *dev);
/**
* @brief Set flash simulator callbacks
*
* This function allows the caller to set custom callbacks for byte write and
* unit erase operations performed by the flash simulator.
*
* @param[in] dev flash simulator device pointer.
* @param[in] cb pointer to the structu... | fim | zephyrproject-rtos/zephyr | c |
<|fim_suffix|>rs.
* @defgroup it51xxx_flash_ex_op IT51XXX
* @ingroup flash_ex_op
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/drivers/flash.h>
/**
* @enum flash_it51xxx_ex_op
* @brief Enumeration for IT51XXX flash extended operations.
*
* Defines which flash device is accessed by IT51XXX f... | fim | zephyrproject-rtos/zephyr | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.