drivers: migrate includes to <zephyr/...>

In order to bring consistency in-tree, migrate all drivers to the new
prefix <zephyr/...>. Note that the conversion has been scripted, refer
to #45388 for more details.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-05-06 10:25:46 +02:00 committed by Carles Cufí
commit fb60aab245
1118 changed files with 4745 additions and 4745 deletions

View file

@ -6,14 +6,14 @@
*/ */
#include <stdbool.h> #include <stdbool.h>
#include <device.h> #include <zephyr/device.h>
#include <devicetree.h> #include <zephyr/devicetree.h>
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#include <drivers/i2c.h> #include <zephyr/drivers/i2c.h>
#include <zephyr.h> #include <zephyr/zephyr.h>
#include <sys/byteorder.h> #include <zephyr/sys/byteorder.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#define ADC_CONTEXT_USES_KERNEL_TIMER #define ADC_CONTEXT_USES_KERNEL_TIMER
#include "adc_context.h" #include "adc_context.h"

View file

@ -8,10 +8,10 @@
#include <errno.h> #include <errno.h>
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <device.h> #include <zephyr/device.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <init.h> #include <zephyr/init.h>
#include <soc.h> #include <soc.h>
/* Driverlib includes */ /* Driverlib includes */
@ -28,7 +28,7 @@
#include "adc_context.h" #include "adc_context.h"
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_cc32xx); LOG_MODULE_REGISTER(adc_cc32xx);
#define ISR_MASK (ADC_DMA_DONE | ADC_FIFO_OVERFLOW | ADC_FIFO_UNDERFLOW \ #define ISR_MASK (ADC_DMA_DONE | ADC_FIFO_OVERFLOW | ADC_FIFO_UNDERFLOW \

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
int adc_gain_invert(enum adc_gain gain, int adc_gain_invert(enum adc_gain gain,
int32_t *value) int32_t *value)

View file

@ -8,8 +8,8 @@
#ifndef ZEPHYR_DRIVERS_ADC_ADC_CONTEXT_H_ #ifndef ZEPHYR_DRIVERS_ADC_ADC_CONTEXT_H_
#define ZEPHYR_DRIVERS_ADC_ADC_CONTEXT_H_ #define ZEPHYR_DRIVERS_ADC_ADC_CONTEXT_H_
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <sys/atomic.h> #include <zephyr/sys/atomic.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View file

@ -12,13 +12,13 @@
#define DT_DRV_COMPAT zephyr_adc_emul #define DT_DRV_COMPAT zephyr_adc_emul
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <drivers/adc/adc_emul.h> #include <zephyr/drivers/adc/adc_emul.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#include <sys/byteorder.h> #include <zephyr/sys/byteorder.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <zephyr.h> #include <zephyr/zephyr.h>
LOG_MODULE_REGISTER(adc_emul, CONFIG_ADC_LOG_LEVEL); LOG_MODULE_REGISTER(adc_emul, CONFIG_ADC_LOG_LEVEL);

View file

@ -4,9 +4,9 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <syscall_handler.h> #include <zephyr/syscall_handler.h>
#include <kernel.h> #include <zephyr/kernel.h>
static inline int z_vrfy_adc_channel_setup(const struct device *dev, static inline int z_vrfy_adc_channel_setup(const struct device *dev,
const struct adc_channel_cfg *user_channel_cfg) const struct adc_channel_cfg *user_channel_cfg)

View file

@ -7,11 +7,11 @@
#define DT_DRV_COMPAT ite_it8xxx2_adc #define DT_DRV_COMPAT ite_it8xxx2_adc
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_ite_it8xxx2); LOG_MODULE_REGISTER(adc_ite_it8xxx2);
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#include <soc.h> #include <soc.h>
#include <soc_dt.h> #include <soc_dt.h>
#include <errno.h> #include <errno.h>

View file

@ -9,17 +9,17 @@
* @brief ADC driver for the LMP90xxx AFE. * @brief ADC driver for the LMP90xxx AFE.
*/ */
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <drivers/adc/lmp90xxx.h> #include <zephyr/drivers/adc/lmp90xxx.h>
#include <drivers/gpio.h> #include <zephyr/drivers/gpio.h>
#include <drivers/spi.h> #include <zephyr/drivers/spi.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <sys/byteorder.h> #include <zephyr/sys/byteorder.h>
#include <sys/crc.h> #include <zephyr/sys/crc.h>
#include <zephyr.h> #include <zephyr/zephyr.h>
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_lmp90xxx); LOG_MODULE_REGISTER(adc_lmp90xxx);
#define ADC_CONTEXT_USES_KERNEL_TIMER #define ADC_CONTEXT_USES_KERNEL_TIMER

View file

@ -7,10 +7,10 @@
#define DT_DRV_COMPAT microchip_xec_adc #define DT_DRV_COMPAT microchip_xec_adc
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_mchp_xec); LOG_MODULE_REGISTER(adc_mchp_xec);
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <soc.h> #include <soc.h>
#include <errno.h> #include <errno.h>

View file

@ -7,12 +7,12 @@
#define DT_DRV_COMPAT microchip_xec_adc_v2 #define DT_DRV_COMPAT microchip_xec_adc_v2
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_mchp_xec); LOG_MODULE_REGISTER(adc_mchp_xec);
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <drivers/interrupt_controller/intc_mchp_xec_ecia.h> #include <zephyr/drivers/interrupt_controller/intc_mchp_xec_ecia.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#include <soc.h> #include <soc.h>
#include <errno.h> #include <errno.h>

View file

@ -9,14 +9,14 @@
* @brief ADC driver for the MCP3204/MCP3208 ADCs. * @brief ADC driver for the MCP3204/MCP3208 ADCs.
*/ */
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <drivers/gpio.h> #include <zephyr/drivers/gpio.h>
#include <drivers/spi.h> #include <zephyr/drivers/spi.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#include <sys/byteorder.h> #include <zephyr/sys/byteorder.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <zephyr.h> #include <zephyr/zephyr.h>
LOG_MODULE_REGISTER(adc_mcp320x, CONFIG_ADC_LOG_LEVEL); LOG_MODULE_REGISTER(adc_mcp320x, CONFIG_ADC_LOG_LEVEL);

View file

@ -10,12 +10,12 @@
#define DT_DRV_COMPAT nxp_mcux_12b1msps_sar #define DT_DRV_COMPAT nxp_mcux_12b1msps_sar
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <fsl_adc.h> #include <fsl_adc.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_mcux_12b1msps_sar); LOG_MODULE_REGISTER(adc_mcux_12b1msps_sar);
#define ADC_CONTEXT_USES_KERNEL_TIMER #define ADC_CONTEXT_USES_KERNEL_TIMER

View file

@ -9,12 +9,12 @@
#define DT_DRV_COMPAT nxp_kinetis_adc12 #define DT_DRV_COMPAT nxp_kinetis_adc12
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <fsl_adc12.h> #include <fsl_adc12.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_mcux_adc12); LOG_MODULE_REGISTER(adc_mcux_adc12);
#define ADC_CONTEXT_USES_KERNEL_TIMER #define ADC_CONTEXT_USES_KERNEL_TIMER

View file

@ -7,16 +7,16 @@
#define DT_DRV_COMPAT nxp_kinetis_adc16 #define DT_DRV_COMPAT nxp_kinetis_adc16
#include <errno.h> #include <errno.h>
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#ifdef CONFIG_ADC_MCUX_ADC16_ENABLE_EDMA #ifdef CONFIG_ADC_MCUX_ADC16_ENABLE_EDMA
#include <drivers/dma.h> #include <zephyr/drivers/dma.h>
#endif #endif
#include <fsl_adc16.h> #include <fsl_adc16.h>
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_mcux_adc16); LOG_MODULE_REGISTER(adc_mcux_adc16);
#define ADC_CONTEXT_USES_KERNEL_TIMER #define ADC_CONTEXT_USES_KERNEL_TIMER

View file

@ -11,11 +11,11 @@
#define DT_DRV_COMPAT nxp_lpc_lpadc #define DT_DRV_COMPAT nxp_lpc_lpadc
#include <errno.h> #include <errno.h>
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <fsl_lpadc.h> #include <fsl_lpadc.h>
#if CONFIG_PINCTRL #if CONFIG_PINCTRL
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#endif #endif
#if !defined(CONFIG_SOC_SERIES_IMX_RT11XX) #if !defined(CONFIG_SOC_SERIES_IMX_RT11XX)
@ -23,7 +23,7 @@
#endif #endif
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(nxp_mcux_lpadc); LOG_MODULE_REGISTER(nxp_mcux_lpadc);
#define ADC_CONTEXT_USES_KERNEL_TIMER #define ADC_CONTEXT_USES_KERNEL_TIMER

View file

@ -7,16 +7,16 @@
#define DT_DRV_COMPAT nuvoton_npcx_adc #define DT_DRV_COMPAT nuvoton_npcx_adc
#include <assert.h> #include <assert.h>
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <drivers/adc/adc_npcx_threshold.h> #include <zephyr/drivers/adc/adc_npcx_threshold.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <soc.h> #include <soc.h>
#define ADC_CONTEXT_USES_KERNEL_TIMER #define ADC_CONTEXT_USES_KERNEL_TIMER
#include "adc_context.h" #include "adc_context.h"
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_npcx, CONFIG_ADC_LOG_LEVEL); LOG_MODULE_REGISTER(adc_npcx, CONFIG_ADC_LOG_LEVEL);
/* ADC speed/delay values during initialization */ /* ADC speed/delay values during initialization */

View file

@ -9,7 +9,7 @@
#include <nrfx_adc.h> #include <nrfx_adc.h>
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_nrfx_adc); LOG_MODULE_REGISTER(adc_nrfx_adc);
#define DT_DRV_COMPAT nordic_nrf_adc #define DT_DRV_COMPAT nordic_nrf_adc

View file

@ -9,7 +9,7 @@
#include <hal/nrf_saadc.h> #include <hal/nrf_saadc.h>
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_nrfx_saadc); LOG_MODULE_REGISTER(adc_nrfx_saadc);
#define DT_DRV_COMPAT nordic_nrf_saadc #define DT_DRV_COMPAT nordic_nrf_saadc

View file

@ -7,10 +7,10 @@
#define DT_DRV_COMPAT atmel_sam0_adc #define DT_DRV_COMPAT atmel_sam0_adc
#include <soc.h> #include <soc.h>
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_sam0, CONFIG_ADC_LOG_LEVEL); LOG_MODULE_REGISTER(adc_sam0, CONFIG_ADC_LOG_LEVEL);
#define ADC_CONTEXT_USES_KERNEL_TIMER #define ADC_CONTEXT_USES_KERNEL_TIMER

View file

@ -15,19 +15,19 @@
*/ */
#include <errno.h> #include <errno.h>
#include <sys/__assert.h> #include <zephyr/sys/__assert.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <device.h> #include <zephyr/device.h>
#include <init.h> #include <zephyr/init.h>
#include <soc.h> #include <soc.h>
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#define ADC_CONTEXT_USES_KERNEL_TIMER #define ADC_CONTEXT_USES_KERNEL_TIMER
#include "adc_context.h" #include "adc_context.h"
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_sam_afec); LOG_MODULE_REGISTER(adc_sam_afec);
#define NUM_CHANNELS 12 #define NUM_CHANNELS 12

View file

@ -4,12 +4,12 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <shell/shell.h> #include <zephyr/shell/shell.h>
#include <stdlib.h> #include <stdlib.h>
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <ctype.h> #include <ctype.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <devicetree.h> #include <zephyr/devicetree.h>
#if DT_HAS_COMPAT_STATUS_OKAY(atmel_sam_afec) #if DT_HAS_COMPAT_STATUS_OKAY(atmel_sam_afec)
#define DT_DRV_COMPAT atmel_sam_afec #define DT_DRV_COMPAT atmel_sam_afec
@ -44,7 +44,7 @@
#endif #endif
#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL #define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_shell); LOG_MODULE_REGISTER(adc_shell);
#define CMD_HELP_ACQ_TIME \ #define CMD_HELP_ACQ_TIME \

View file

@ -12,11 +12,11 @@
#include <errno.h> #include <errno.h>
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#include <device.h> #include <zephyr/device.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <init.h> #include <zephyr/init.h>
#include <soc.h> #include <soc.h>
#include <stm32_ll_adc.h> #include <stm32_ll_adc.h>
#if defined(CONFIG_SOC_SERIES_STM32U5X) #if defined(CONFIG_SOC_SERIES_STM32U5X)
@ -27,10 +27,10 @@
#include "adc_context.h" #include "adc_context.h"
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(adc_stm32); LOG_MODULE_REGISTER(adc_stm32);
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#if defined(CONFIG_SOC_SERIES_STM32F3X) #if defined(CONFIG_SOC_SERIES_STM32F3X)
#if defined(ADC1_V2_5) #if defined(ADC1_V2_5)

View file

@ -12,9 +12,9 @@
#define DT_DRV_COMPAT vnd_adc #define DT_DRV_COMPAT vnd_adc
#include <drivers/adc.h> #include <zephyr/drivers/adc.h>
#include <device.h> #include <zephyr/device.h>
#include <kernel.h> #include <zephyr/kernel.h>
static int vnd_adc_channel_setup(const struct device *dev, static int vnd_adc_channel_setup(const struct device *dev,
const struct adc_channel_cfg *channel_cfg) const struct adc_channel_cfg *channel_cfg)

View file

@ -8,7 +8,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <zephyr.h> #include <zephyr/zephyr.h>
#include "pdm_decim_fir.h" #include "pdm_decim_fir.h"

View file

@ -8,7 +8,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <zephyr.h> #include <zephyr/zephyr.h>
#include "pdm_decim_fir.h" #include "pdm_decim_fir.h"

View file

@ -8,7 +8,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <zephyr.h> #include <zephyr/zephyr.h>
#include "pdm_decim_fir.h" #include "pdm_decim_fir.h"

View file

@ -8,7 +8,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <zephyr.h> #include <zephyr/zephyr.h>
#include "pdm_decim_fir.h" #include "pdm_decim_fir.h"

View file

@ -8,7 +8,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <zephyr.h> #include <zephyr/zephyr.h>
#include "pdm_decim_fir.h" #include "pdm_decim_fir.h"

View file

@ -8,7 +8,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <zephyr.h> #include <zephyr/zephyr.h>
#include "pdm_decim_fir.h" #include "pdm_decim_fir.h"

View file

@ -8,7 +8,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <zephyr.h> #include <zephyr/zephyr.h>
#include "pdm_decim_fir.h" #include "pdm_decim_fir.h"

View file

@ -8,7 +8,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <zephyr.h> #include <zephyr/zephyr.h>
#include "pdm_decim_fir.h" #include "pdm_decim_fir.h"

View file

@ -10,7 +10,7 @@
/* PDM decimation FIR filters */ /* PDM decimation FIR filters */
#include <zephyr.h> #include <zephyr/zephyr.h>
#include "pdm_decim_fir.h" #include "pdm_decim_fir.h"

View file

@ -4,13 +4,13 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <audio/dmic.h> #include <zephyr/audio/dmic.h>
#include <drivers/clock_control/nrf_clock_control.h> #include <zephyr/drivers/clock_control/nrf_clock_control.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#include <soc.h> #include <soc.h>
#include <nrfx_pdm.h> #include <nrfx_pdm.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(dmic_nrfx_pdm, CONFIG_AUDIO_DMIC_LOG_LEVEL); LOG_MODULE_REGISTER(dmic_nrfx_pdm, CONFIG_AUDIO_DMIC_LOG_LEVEL);
struct dmic_nrfx_pdm_drv_data { struct dmic_nrfx_pdm_drv_data {

View file

@ -13,12 +13,12 @@
#define DT_DRV_COMPAT intel_dmic #define DT_DRV_COMPAT intel_dmic
#include <errno.h> #include <errno.h>
#include <zephyr.h> #include <zephyr/zephyr.h>
#include <device.h> #include <zephyr/device.h>
#include <soc.h> #include <soc.h>
#include <drivers/dma.h> #include <zephyr/drivers/dma.h>
#include <audio/dmic.h> #include <zephyr/audio/dmic.h>
#include "intel_dmic.h" #include "intel_dmic.h"
#include "decimation/pdm_decim_fir.h" #include "decimation/pdm_decim_fir.h"
@ -26,7 +26,7 @@
#define DMA_CHANNEL_DMIC_RXB DT_INST_DMAS_CELL_BY_NAME(0, rx_b, channel) #define DMA_CHANNEL_DMIC_RXB DT_INST_DMAS_CELL_BY_NAME(0, rx_b, channel)
#define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL #define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(audio_dmic); LOG_MODULE_REGISTER(audio_dmic);
/* /*

View file

@ -13,7 +13,7 @@
#ifndef __INTEL_DMIC_H__ #ifndef __INTEL_DMIC_H__
#define __INTEL_DMIC_H__ #define __INTEL_DMIC_H__
#include <device.h> #include <zephyr/device.h>
#define DMIC_HW_IOCLK 38400000 #define DMIC_HW_IOCLK 38400000

View file

@ -7,10 +7,10 @@
#define DT_DRV_COMPAT st_mpxxdtyy #define DT_DRV_COMPAT st_mpxxdtyy
#include "mpxxdtyy.h" #include "mpxxdtyy.h"
#include <drivers/i2s.h> #include <zephyr/drivers/i2s.h>
#define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL #define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(mpxxdtyy); LOG_MODULE_DECLARE(mpxxdtyy);
#if DT_ANY_INST_ON_BUS_STATUS_OKAY(i2s) #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i2s)

View file

@ -6,12 +6,12 @@
#define DT_DRV_COMPAT st_mpxxdtyy #define DT_DRV_COMPAT st_mpxxdtyy
#include <devicetree.h> #include <zephyr/devicetree.h>
#include "mpxxdtyy.h" #include "mpxxdtyy.h"
#define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL #define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(mpxxdtyy); LOG_MODULE_REGISTER(mpxxdtyy);
#define CHANNEL_MASK 0x55 #define CHANNEL_MASK 0x55

View file

@ -7,9 +7,9 @@
#ifndef MPXXDTYY_H #ifndef MPXXDTYY_H
#define MPXXDTYY_H #define MPXXDTYY_H
#include <audio/dmic.h> #include <zephyr/audio/dmic.h>
#include <zephyr.h> #include <zephyr/zephyr.h>
#include <device.h> #include <zephyr/device.h>
#include "OpenPDMFilter.h" #include "OpenPDMFilter.h"
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -8,17 +8,17 @@
#include <errno.h> #include <errno.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <device.h> #include <zephyr/device.h>
#include <drivers/i2c.h> #include <zephyr/drivers/i2c.h>
#include <drivers/gpio.h> #include <zephyr/drivers/gpio.h>
#include <audio/codec.h> #include <zephyr/audio/codec.h>
#include "tlv320dac310x.h" #include "tlv320dac310x.h"
#define LOG_LEVEL CONFIG_AUDIO_CODEC_LOG_LEVEL #define LOG_LEVEL CONFIG_AUDIO_CODEC_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(tlv320dac310x); LOG_MODULE_REGISTER(tlv320dac310x);
#define CODEC_OUTPUT_VOLUME_MAX 0 #define CODEC_OUTPUT_VOLUME_MAX 0

View file

@ -5,10 +5,10 @@
#define DT_DRV_COMPAT zephyr_bbram_emul #define DT_DRV_COMPAT zephyr_bbram_emul
#include <drivers/bbram.h> #include <zephyr/drivers/bbram.h>
#include <string.h> #include <string.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL); LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL);
/** Device config */ /** Device config */

View file

@ -6,11 +6,11 @@
#define DT_DRV_COMPAT ite_it8xxx2_bbram #define DT_DRV_COMPAT ite_it8xxx2_bbram
#include <drivers/bbram.h> #include <zephyr/drivers/bbram.h>
#include <errno.h> #include <errno.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL); LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL);
#define BRAM_VALID_MAGIC 0x4252414D /* "BRAM" */ #define BRAM_VALID_MAGIC 0x4252414D /* "BRAM" */

View file

@ -6,11 +6,11 @@
#define DT_DRV_COMPAT nuvoton_npcx_bbram #define DT_DRV_COMPAT nuvoton_npcx_bbram
#include <drivers/bbram.h> #include <zephyr/drivers/bbram.h>
#include <errno.h> #include <errno.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL); LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL);
/** Device config */ /** Device config */

View file

@ -6,12 +6,12 @@
#define DT_DRV_COMPAT microchip_xec_bbram #define DT_DRV_COMPAT microchip_xec_bbram
#include <drivers/bbram.h> #include <zephyr/drivers/bbram.h>
#include <errno.h> #include <errno.h>
#include <soc.h> #include <soc.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL); LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL);
/** Device config */ /** Device config */

View file

@ -9,18 +9,18 @@
#include <errno.h> #include <errno.h>
#include <stddef.h> #include <stddef.h>
#include <zephyr.h> #include <zephyr/zephyr.h>
#include <arch/cpu.h> #include <zephyr/arch/cpu.h>
#include <init.h> #include <zephyr/init.h>
#include <drivers/uart.h> #include <zephyr/drivers/uart.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <sys/byteorder.h> #include <zephyr/sys/byteorder.h>
#include <string.h> #include <string.h>
#include <bluetooth/bluetooth.h> #include <zephyr/bluetooth/bluetooth.h>
#include <bluetooth/hci.h> #include <zephyr/bluetooth/hci.h>
#include <drivers/bluetooth/hci_driver.h> #include <zephyr/drivers/bluetooth/hci_driver.h>
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER) #define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
#define LOG_MODULE_NAME bt_driver #define LOG_MODULE_NAME bt_driver

View file

@ -9,19 +9,19 @@
#include <errno.h> #include <errno.h>
#include <stddef.h> #include <stddef.h>
#include <zephyr.h> #include <zephyr/zephyr.h>
#include <init.h> #include <zephyr/init.h>
#include <drivers/uart.h> #include <zephyr/drivers/uart.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <sys/byteorder.h> #include <zephyr/sys/byteorder.h>
#include <debug/stack.h> #include <zephyr/debug/stack.h>
#include <sys/printk.h> #include <zephyr/sys/printk.h>
#include <string.h> #include <string.h>
#include <bluetooth/bluetooth.h> #include <zephyr/bluetooth/bluetooth.h>
#include <bluetooth/hci.h> #include <zephyr/bluetooth/hci.h>
#include <drivers/bluetooth/hci_driver.h> #include <zephyr/drivers/bluetooth/hci_driver.h>
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER) #define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
#define LOG_MODULE_NAME bt_driver #define LOG_MODULE_NAME bt_driver

View file

@ -8,10 +8,10 @@
#define LOG_MODULE_NAME bt_hci_driver_esp32 #define LOG_MODULE_NAME bt_hci_driver_esp32
#include "common/log.h" #include "common/log.h"
#include <init.h> #include <zephyr/init.h>
#include <sys/byteorder.h> #include <zephyr/sys/byteorder.h>
#include <drivers/bluetooth/hci_driver.h> #include <zephyr/drivers/bluetooth/hci_driver.h>
#include <esp_bt.h> #include <esp_bt.h>

View file

@ -7,12 +7,12 @@
*/ */
#include <init.h> #include <zephyr/init.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <bluetooth/hci.h> #include <zephyr/bluetooth/hci.h>
#include <drivers/bluetooth/hci_driver.h> #include <zephyr/drivers/bluetooth/hci_driver.h>
#include "bluetooth/addr.h" #include "bluetooth/addr.h"
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include "app_conf.h" #include "app_conf.h"
#include "stm32_wpan_common.h" #include "stm32_wpan_common.h"

View file

@ -4,15 +4,15 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <init.h> #include <zephyr/init.h>
#include <sys/byteorder.h> #include <zephyr/sys/byteorder.h>
#include <bluetooth/bluetooth.h> #include <zephyr/bluetooth/bluetooth.h>
#include <bluetooth/hci.h> #include <zephyr/bluetooth/hci.h>
#include <drivers/bluetooth/hci_driver.h> #include <zephyr/drivers/bluetooth/hci_driver.h>
#include <device.h> #include <zephyr/device.h>
#include <ipc/ipc_service.h> #include <zephyr/ipc/ipc_service.h>
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER) #define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
#define LOG_MODULE_NAME bt_hci_driver #define LOG_MODULE_NAME bt_hci_driver

View file

@ -8,14 +8,14 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <drivers/gpio.h> #include <zephyr/drivers/gpio.h>
#include <init.h> #include <zephyr/init.h>
#include <drivers/spi.h> #include <zephyr/drivers/spi.h>
#include <sys/byteorder.h> #include <zephyr/sys/byteorder.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <bluetooth/hci.h> #include <zephyr/bluetooth/hci.h>
#include <drivers/bluetooth/hci_driver.h> #include <zephyr/drivers/bluetooth/hci_driver.h>
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER) #define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
#define LOG_MODULE_NAME bt_driver #define LOG_MODULE_NAME bt_driver
@ -72,7 +72,7 @@ static K_KERNEL_STACK_DEFINE(spi_rx_stack, 512);
static struct k_thread spi_rx_thread_data; static struct k_thread spi_rx_thread_data;
#if defined(CONFIG_BT_DEBUG_HCI_DRIVER) #if defined(CONFIG_BT_DEBUG_HCI_DRIVER)
#include <sys/printk.h> #include <zephyr/sys/printk.h>
static inline void spi_dump_message(const uint8_t *pre, uint8_t *buf, static inline void spi_dump_message(const uint8_t *pre, uint8_t *buf,
uint8_t size) uint8_t size)
{ {

View file

@ -6,11 +6,11 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <zephyr.h> #include <zephyr/zephyr.h>
#include <device.h> #include <zephyr/device.h>
#include <init.h> #include <zephyr/init.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <sys/byteorder.h> #include <zephyr/sys/byteorder.h>
#include <errno.h> #include <errno.h>
#include <stddef.h> #include <stddef.h>
@ -24,9 +24,9 @@
#include "soc.h" #include "soc.h"
#include "cmdline.h" /* native_posix command line options header */ #include "cmdline.h" /* native_posix command line options header */
#include <bluetooth/bluetooth.h> #include <zephyr/bluetooth/bluetooth.h>
#include <bluetooth/hci.h> #include <zephyr/bluetooth/hci.h>
#include <drivers/bluetooth/hci_driver.h> #include <zephyr/drivers/bluetooth/hci_driver.h>
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER) #define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
#define LOG_MODULE_NAME bt_driver #define LOG_MODULE_NAME bt_driver

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(can_common, CONFIG_CAN_LOG_LEVEL); LOG_MODULE_REGISTER(can_common, CONFIG_CAN_LOG_LEVEL);

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <syscall_handler.h> #include <zephyr/syscall_handler.h>
#include <drivers/can.h> #include <zephyr/drivers/can.h>
static int z_vrfy_can_calc_timing(const struct device *dev, struct can_timing *res, static int z_vrfy_can_calc_timing(const struct device *dev, struct can_timing *res,
uint32_t bitrate, uint16_t sample_pnt) uint32_t bitrate, uint16_t sample_pnt)

View file

@ -10,9 +10,9 @@
#include <stdbool.h> #include <stdbool.h>
#include <string.h> #include <string.h>
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(can_loopback, CONFIG_CAN_LOG_LEVEL); LOG_MODULE_REGISTER(can_loopback, CONFIG_CAN_LOG_LEVEL);

View file

@ -5,12 +5,12 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <string.h> #include <string.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <drivers/can/transceiver.h> #include <zephyr/drivers/can/transceiver.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#include "can_mcan.h" #include "can_mcan.h"
#include "can_mcan_priv.h" #include "can_mcan_priv.h"
@ -27,7 +27,7 @@ LOG_MODULE_REGISTER(can_mcan, CONFIG_CAN_LOG_LEVEL);
#endif #endif
#if CONFIG_HAS_CMSIS_CORE_M #if CONFIG_HAS_CMSIS_CORE_M
#include <arch/arm/aarch32/cortex_m/cmsis.h> #include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#if __DCACHE_PRESENT == 1 #if __DCACHE_PRESENT == 1
#define CACHE_INVALIDATE(addr, size) SCB_InvalidateDCache_by_Addr((addr), (size)) #define CACHE_INVALIDATE(addr, size) SCB_InvalidateDCache_by_Addr((addr), (size))

View file

@ -8,11 +8,11 @@
#ifndef ZEPHYR_DRIVERS_CAN_MCAN_H_ #ifndef ZEPHYR_DRIVERS_CAN_MCAN_H_
#define ZEPHYR_DRIVERS_CAN_MCAN_H_ #define ZEPHYR_DRIVERS_CAN_MCAN_H_
#include <kernel.h> #include <zephyr/kernel.h>
#include <devicetree.h> #include <zephyr/devicetree.h>
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <toolchain.h> #include <zephyr/toolchain.h>
#include <stdint.h> #include <stdint.h>
#ifdef CONFIG_CAN_MCUX_MCAN #ifdef CONFIG_CAN_MCUX_MCAN

View file

@ -8,7 +8,7 @@
#ifndef ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_ #ifndef ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_
#define ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_ #define ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_
#include <drivers/can.h> #include <zephyr/drivers/can.h>
/* /*
* Register Masks are taken from the stm32cube library and extended for * Register Masks are taken from the stm32cube library and extended for

View file

@ -6,12 +6,12 @@
#define DT_DRV_COMPAT microchip_mcp2515 #define DT_DRV_COMPAT microchip_mcp2515
#include <kernel.h> #include <zephyr/kernel.h>
#include <device.h> #include <zephyr/device.h>
#include <drivers/can/transceiver.h> #include <zephyr/drivers/can/transceiver.h>
#include <drivers/spi.h> #include <zephyr/drivers/spi.h>
#include <drivers/gpio.h> #include <zephyr/drivers/gpio.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(can_mcp2515, CONFIG_CAN_LOG_LEVEL); LOG_MODULE_REGISTER(can_mcp2515, CONFIG_CAN_LOG_LEVEL);

View file

@ -8,8 +8,8 @@
#ifndef _MCP2515_H_ #ifndef _MCP2515_H_
#define _MCP2515_H_ #define _MCP2515_H_
#include <drivers/gpio.h> #include <zephyr/drivers/gpio.h>
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#define MCP2515_RX_CNT 2 #define MCP2515_RX_CNT 2
/* Reduce the number of Tx buffers to 1 in order to avoid priority inversion. */ /* Reduce the number of Tx buffers to 1 in order to avoid priority inversion. */

View file

@ -6,18 +6,18 @@
#define DT_DRV_COMPAT nxp_kinetis_flexcan #define DT_DRV_COMPAT nxp_kinetis_flexcan
#include <zephyr.h> #include <zephyr/zephyr.h>
#include <sys/atomic.h> #include <zephyr/sys/atomic.h>
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <drivers/can/transceiver.h> #include <zephyr/drivers/can/transceiver.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <device.h> #include <zephyr/device.h>
#include <sys/byteorder.h> #include <zephyr/sys/byteorder.h>
#include <fsl_flexcan.h> #include <fsl_flexcan.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#ifdef CONFIG_PINCTRL #ifdef CONFIG_PINCTRL
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#endif #endif
LOG_MODULE_REGISTER(can_mcux_flexcan, CONFIG_CAN_LOG_LEVEL); LOG_MODULE_REGISTER(can_mcux_flexcan, CONFIG_CAN_LOG_LEVEL);

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <device.h> #include <zephyr/device.h>
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#include "can_mcan.h" #include "can_mcan.h"

View file

@ -6,14 +6,14 @@
#define DT_DRV_COMPAT renesas_rcar_can #define DT_DRV_COMPAT renesas_rcar_can
#include <kernel.h> #include <zephyr/kernel.h>
#include <errno.h> #include <errno.h>
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <drivers/can/transceiver.h> #include <zephyr/drivers/can/transceiver.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <drivers/clock_control/rcar_clock_control.h> #include <zephyr/drivers/clock_control/rcar_clock_control.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(can_rcar, CONFIG_CAN_LOG_LEVEL); LOG_MODULE_REGISTER(can_rcar, CONFIG_CAN_LOG_LEVEL);

View file

@ -5,11 +5,11 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#include <soc.h> #include <soc.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#include "can_mcan.h" #include "can_mcan.h"

View file

@ -4,9 +4,9 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <sys/printk.h> #include <zephyr/sys/printk.h>
#include <shell/shell.h> #include <zephyr/shell/shell.h>
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <zephyr/types.h> #include <zephyr/types.h>
#include <stdlib.h> #include <stdlib.h>

View file

@ -6,13 +6,13 @@
* *
*/ */
#include <net/net_pkt.h> #include <zephyr/net/net_pkt.h>
#include <net/socket_can.h> #include <zephyr/net/socket_can.h>
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <devicetree.h> #include <zephyr/devicetree.h>
#include <device.h> #include <zephyr/device.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(can_socketcan, CONFIG_CAN_LOG_LEVEL); LOG_MODULE_REGISTER(can_socketcan, CONFIG_CAN_LOG_LEVEL);
#define SEND_TIMEOUT K_MSEC(100) #define SEND_TIMEOUT K_MSEC(100)

View file

@ -4,18 +4,18 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <drivers/can/transceiver.h> #include <zephyr/drivers/can/transceiver.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <string.h> #include <string.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <soc.h> #include <soc.h>
#include <errno.h> #include <errno.h>
#include <stdbool.h> #include <stdbool.h>
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#include "can_stm32.h" #include "can_stm32.h"

View file

@ -8,7 +8,7 @@
#ifndef ZEPHYR_DRIVERS_CAN_STM32_CAN_H_ #ifndef ZEPHYR_DRIVERS_CAN_STM32_CAN_H_
#define ZEPHYR_DRIVERS_CAN_STM32_CAN_H_ #define ZEPHYR_DRIVERS_CAN_STM32_CAN_H_
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#define BIT_SEG_LENGTH(cfg) ((cfg)->prop_ts1 + (cfg)->ts2 + 1) #define BIT_SEG_LENGTH(cfg) ((cfg)->prop_ts1 + (cfg)->ts2 + 1)

View file

@ -5,13 +5,13 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <soc.h> #include <soc.h>
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <stm32_ll_bus.h> #include <stm32_ll_bus.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#include "can_mcan.h" #include "can_mcan.h"

View file

@ -5,13 +5,13 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <drivers/can.h> #include <zephyr/drivers/can.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#include <kernel.h> #include <zephyr/kernel.h>
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#include "can_mcan.h" #include "can_mcan.h"

View file

@ -6,10 +6,10 @@
#define DT_DRV_COMPAT can_transceiver_gpio #define DT_DRV_COMPAT can_transceiver_gpio
#include <device.h> #include <zephyr/device.h>
#include <drivers/can/transceiver.h> #include <zephyr/drivers/can/transceiver.h>
#include <drivers/gpio.h> #include <zephyr/drivers/gpio.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(can_transceiver_gpio, CONFIG_CAN_LOG_LEVEL); LOG_MODULE_REGISTER(can_transceiver_gpio, CONFIG_CAN_LOG_LEVEL);

View file

@ -15,9 +15,9 @@
*/ */
#include <soc.h> #include <soc.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <drivers/clock_control/arm_clock_control.h> #include <zephyr/drivers/clock_control/arm_clock_control.h>
#define MAINCLK_BASE_FREQ 24000000 #define MAINCLK_BASE_FREQ 24000000

View file

@ -5,10 +5,10 @@
* *
*/ */
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <drivers/clock_control/clock_agilex_ll.h> #include <zephyr/drivers/clock_control/clock_agilex_ll.h>
#include <dt-bindings/clock/intel_socfpga_clock.h> #include <zephyr/dt-bindings/clock/intel_socfpga_clock.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#include <soc.h> #include <soc.h>
LOG_MODULE_REGISTER(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL); LOG_MODULE_REGISTER(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL);

View file

@ -4,9 +4,9 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <arch/cpu.h> #include <zephyr/arch/cpu.h>
#include <arch/common/sys_bitops.h> #include <zephyr/arch/common/sys_bitops.h>
#include <drivers/clock_control/clock_agilex_ll.h> #include <zephyr/drivers/clock_control/clock_agilex_ll.h>
#include <socfpga_system_manager.h> #include <socfpga_system_manager.h>
/* /*

View file

@ -13,16 +13,16 @@
#define DT_CPU_COMPAT cdns_tensilica_xtensa_lx6 #define DT_CPU_COMPAT cdns_tensilica_xtensa_lx6
#undef CPU_RESET_REASON #undef CPU_RESET_REASON
#define CPU_RESET_REASON SW_CPU_RESET #define CPU_RESET_REASON SW_CPU_RESET
#include <dt-bindings/clock/esp32_clock.h> #include <zephyr/dt-bindings/clock/esp32_clock.h>
#include "esp32/rom/rtc.h" #include "esp32/rom/rtc.h"
#include "soc/dport_reg.h" #include "soc/dport_reg.h"
#elif defined(CONFIG_SOC_ESP32S2) #elif defined(CONFIG_SOC_ESP32S2)
#define DT_CPU_COMPAT cdns_tensilica_xtensa_lx7 #define DT_CPU_COMPAT cdns_tensilica_xtensa_lx7
#include <dt-bindings/clock/esp32s2_clock.h> #include <zephyr/dt-bindings/clock/esp32s2_clock.h>
#include "esp32s2/rom/rtc.h" #include "esp32s2/rom/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32C3 #elif CONFIG_IDF_TARGET_ESP32C3
#define DT_CPU_COMPAT espressif_riscv #define DT_CPU_COMPAT espressif_riscv
#include <dt-bindings/clock/esp32c3_clock.h> #include <zephyr/dt-bindings/clock/esp32c3_clock.h>
#include "esp32c3/rom/rtc.h" #include "esp32c3/rom/rtc.h"
#include <soc/soc_caps.h> #include <soc/soc_caps.h>
#include <soc/soc.h> #include <soc/soc.h>
@ -34,7 +34,7 @@
#include <soc/timer_group_reg.h> #include <soc/timer_group_reg.h>
#include <hal/clk_gate_ll.h> #include <hal/clk_gate_ll.h>
#include <soc.h> #include <soc.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <driver/periph_ctrl.h> #include <driver/periph_ctrl.h>
#include <hal/cpu_hal.h> #include <hal/cpu_hal.h>

View file

@ -6,7 +6,7 @@
#define DT_DRV_COMPAT espressif_esp32_rtc #define DT_DRV_COMPAT espressif_esp32_rtc
#include <dt-bindings/clock/esp32c3_clock.h> #include <zephyr/dt-bindings/clock/esp32c3_clock.h>
#include <hal/clk_gate_ll.h> #include <hal/clk_gate_ll.h>
#include <soc/soc_caps.h> #include <soc/soc_caps.h>
#include <soc/soc.h> #include <soc/soc.h>
@ -14,7 +14,7 @@
#include <rtc_clk_common.h> #include <rtc_clk_common.h>
#include <soc.h> #include <soc.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <driver/periph_ctrl.h> #include <driver/periph_ctrl.h>
static int clock_control_esp32_on(const struct device *dev, static int clock_control_esp32_on(const struct device *dev,

View file

@ -5,18 +5,18 @@
*/ */
#include <zephyr/types.h> #include <zephyr/types.h>
#include <device.h> #include <zephyr/device.h>
#include <devicetree.h> #include <zephyr/devicetree.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <drivers/clock_control/clock_control_litex.h> #include <zephyr/drivers/clock_control/clock_control_litex.h>
#include "clock_control_litex.h" #include "clock_control_litex.h"
#include <logging/log.h> #include <zephyr/logging/log.h>
#include <logging/log_ctrl.h> #include <zephyr/logging/log_ctrl.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <kernel.h> #include <zephyr/kernel.h>
LOG_MODULE_REGISTER(CLK_CTRL_LITEX, CONFIG_CLOCK_CONTROL_LOG_LEVEL); LOG_MODULE_REGISTER(CLK_CTRL_LITEX, CONFIG_CLOCK_CONTROL_LOG_LEVEL);

View file

@ -6,11 +6,11 @@
#define DT_DRV_COMPAT nxp_lpc11u6x_syscon #define DT_DRV_COMPAT nxp_lpc11u6x_syscon
#include <devicetree.h> #include <zephyr/devicetree.h>
#include <device.h> #include <zephyr/device.h>
#include <drivers/clock_control/lpc11u6x_clock_control.h> #include <zephyr/drivers/clock_control/lpc11u6x_clock_control.h>
#include <drivers/pinmux.h> #include <zephyr/drivers/pinmux.h>
#include "clock_control_lpc11u6x.h" #include "clock_control_lpc11u6x.h"

View file

@ -7,13 +7,13 @@
#define DT_DRV_COMPAT microchip_xec_pcr #define DT_DRV_COMPAT microchip_xec_pcr
#include <soc.h> #include <soc.h>
#include <arch/cpu.h> #include <zephyr/arch/cpu.h>
#include <arch/arm/aarch32/cortex_m/cmsis.h> #include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <drivers/clock_control/mchp_xec_clock_control.h> #include <zephyr/drivers/clock_control/mchp_xec_clock_control.h>
#include <dt-bindings/clock/mchp_xec_pcr.h> #include <zephyr/dt-bindings/clock/mchp_xec_pcr.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(clock_control_xec, LOG_LEVEL_ERR); LOG_MODULE_REGISTER(clock_control_xec, LOG_LEVEL_ERR);
#define CLK32K_SIL_OSC_DELAY 256 #define CLK32K_SIL_OSC_DELAY 256

View file

@ -7,13 +7,13 @@
#define DT_DRV_COMPAT nxp_imx_ccm #define DT_DRV_COMPAT nxp_imx_ccm
#include <errno.h> #include <errno.h>
#include <soc.h> #include <soc.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <dt-bindings/clock/imx_ccm.h> #include <zephyr/dt-bindings/clock/imx_ccm.h>
#include <fsl_clock.h> #include <fsl_clock.h>
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL #define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(clock_control); LOG_MODULE_REGISTER(clock_control);
#ifdef CONFIG_SPI_MCUX_LPSPI #ifdef CONFIG_SPI_MCUX_LPSPI

View file

@ -7,12 +7,12 @@
#define DT_DRV_COMPAT nxp_imx_ccm_rev2 #define DT_DRV_COMPAT nxp_imx_ccm_rev2
#include <errno.h> #include <errno.h>
#include <soc.h> #include <soc.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <dt-bindings/clock/imx_ccm_rev2.h> #include <zephyr/dt-bindings/clock/imx_ccm_rev2.h>
#include <fsl_clock.h> #include <fsl_clock.h>
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL #define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(clock_control); LOG_MODULE_REGISTER(clock_control);
static int mcux_ccm_on(const struct device *dev, static int mcux_ccm_on(const struct device *dev,

View file

@ -9,13 +9,13 @@
#define DT_DRV_COMPAT nxp_kinetis_mcg #define DT_DRV_COMPAT nxp_kinetis_mcg
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <dt-bindings/clock/kinetis_mcg.h> #include <zephyr/dt-bindings/clock/kinetis_mcg.h>
#include <soc.h> #include <soc.h>
#include <fsl_clock.h> #include <fsl_clock.h>
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL #define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(clock_control_mcg); LOG_MODULE_REGISTER(clock_control_mcg);
static int mcux_mcg_on(const struct device *dev, static int mcux_mcg_on(const struct device *dev,

View file

@ -11,11 +11,11 @@
#include <errno.h> #include <errno.h>
#include <soc.h> #include <soc.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <fsl_clock.h> #include <fsl_clock.h>
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL #define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(clock_control_mcux_pcc); LOG_MODULE_REGISTER(clock_control_mcux_pcc);
struct mcux_pcc_config { struct mcux_pcc_config {

View file

@ -9,13 +9,13 @@
#define DT_DRV_COMPAT nxp_kinetis_scg #define DT_DRV_COMPAT nxp_kinetis_scg
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <dt-bindings/clock/kinetis_scg.h> #include <zephyr/dt-bindings/clock/kinetis_scg.h>
#include <soc.h> #include <soc.h>
#include <fsl_clock.h> #include <fsl_clock.h>
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL #define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(clock_control_scg); LOG_MODULE_REGISTER(clock_control_scg);
#define MCUX_SCG_CLOCK_NODE(name) DT_CHILD(DT_DRV_INST(0), name) #define MCUX_SCG_CLOCK_NODE(name) DT_CHILD(DT_DRV_INST(0), name)

View file

@ -7,12 +7,12 @@
#define DT_DRV_COMPAT nxp_kinetis_sim #define DT_DRV_COMPAT nxp_kinetis_sim
#include <errno.h> #include <errno.h>
#include <soc.h> #include <soc.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <dt-bindings/clock/kinetis_sim.h> #include <zephyr/dt-bindings/clock/kinetis_sim.h>
#include <fsl_clock.h> #include <fsl_clock.h>
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL #define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(clock_control); LOG_MODULE_REGISTER(clock_control);
static int mcux_sim_on(const struct device *dev, static int mcux_sim_on(const struct device *dev,

View file

@ -7,12 +7,12 @@
#define DT_DRV_COMPAT nxp_lpc_syscon #define DT_DRV_COMPAT nxp_lpc_syscon
#include <errno.h> #include <errno.h>
#include <soc.h> #include <soc.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <dt-bindings/clock/mcux_lpc_syscon_clock.h> #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h>
#include <fsl_clock.h> #include <fsl_clock.h>
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL #define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(clock_control); LOG_MODULE_REGISTER(clock_control);
static int mcux_lpc_syscon_clock_control_on(const struct device *dev, static int mcux_lpc_syscon_clock_control_on(const struct device *dev,

View file

@ -7,10 +7,10 @@
#define DT_DRV_COMPAT nuvoton_npcx_pcc #define DT_DRV_COMPAT nuvoton_npcx_pcc
#include <soc.h> #include <soc.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <dt-bindings/clock/npcx_clock.h> #include <zephyr/dt-bindings/clock/npcx_clock.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(clock_control_npcx, LOG_LEVEL_ERR); LOG_MODULE_REGISTER(clock_control_npcx, LOG_LEVEL_ERR);
/* Driver config */ /* Driver config */

View file

@ -6,13 +6,13 @@
*/ */
#include <soc.h> #include <soc.h>
#include <sys/onoff.h> #include <zephyr/sys/onoff.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <drivers/clock_control/nrf_clock_control.h> #include <zephyr/drivers/clock_control/nrf_clock_control.h>
#include "nrf_clock_calibration.h" #include "nrf_clock_calibration.h"
#include <nrfx_clock.h> #include <nrfx_clock.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#include <shell/shell.h> #include <zephyr/shell/shell.h>
LOG_MODULE_REGISTER(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL); LOG_MODULE_REGISTER(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL);

View file

@ -7,9 +7,9 @@
#define DT_DRV_COMPAT renesas_rcar_cpg_mssr #define DT_DRV_COMPAT renesas_rcar_cpg_mssr
#include <errno.h> #include <errno.h>
#include <soc.h> #include <soc.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <drivers/clock_control/rcar_clock_control.h> #include <zephyr/drivers/clock_control/rcar_clock_control.h>
#include <dt-bindings/clock/renesas_rcar_cpg.h> #include <zephyr/dt-bindings/clock/renesas_rcar_cpg.h>
struct rcar_mssr_config { struct rcar_mssr_config {
uint32_t base_address; uint32_t base_address;

View file

@ -7,11 +7,11 @@
#define DT_DRV_COMPAT openisa_rv32m1_pcc #define DT_DRV_COMPAT openisa_rv32m1_pcc
#include <errno.h> #include <errno.h>
#include <soc.h> #include <soc.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <fsl_clock.h> #include <fsl_clock.h>
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL #define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
#include <logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(clock_control); LOG_MODULE_REGISTER(clock_control);
struct rv32m1_pcc_config { struct rv32m1_pcc_config {

View file

@ -11,10 +11,10 @@
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <stm32_ll_system.h> #include <stm32_ll_system.h>
#include <stm32_ll_utils.h> #include <stm32_ll_utils.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <sys/__assert.h> #include <zephyr/sys/__assert.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h" #include "clock_stm32_ll_common.h"
/* Macros to fill up prescaler values */ /* Macros to fill up prescaler values */

View file

@ -12,9 +12,9 @@
#include <stm32_ll_pwr.h> #include <stm32_ll_pwr.h>
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <stm32_ll_utils.h> #include <stm32_ll_utils.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include "stm32_hsem.h" #include "stm32_hsem.h"
/* Macros to fill up prescaler values */ /* Macros to fill up prescaler values */

View file

@ -7,9 +7,9 @@
#include <soc.h> #include <soc.h>
#include <stm32_ll_bus.h> #include <stm32_ll_bus.h>
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
/** /**
* @brief fill in AHB/APB buses configuration structure * @brief fill in AHB/APB buses configuration structure

View file

@ -12,10 +12,10 @@
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <stm32_ll_utils.h> #include <stm32_ll_utils.h>
#include <stm32_ll_system.h> #include <stm32_ll_system.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <stm32_ll_utils.h> #include <stm32_ll_utils.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
/* Macros to fill up prescaler values */ /* Macros to fill up prescaler values */
#define z_ahb_prescaler(v) LL_RCC_SYSCLK_DIV_ ## v #define z_ahb_prescaler(v) LL_RCC_SYSCLK_DIV_ ## v

View file

@ -10,9 +10,9 @@
#include <stm32_ll_bus.h> #include <stm32_ll_bus.h>
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <stm32_ll_utils.h> #include <stm32_ll_utils.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h" #include "clock_stm32_ll_common.h"

View file

@ -10,9 +10,9 @@
#include <stm32_ll_bus.h> #include <stm32_ll_bus.h>
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <stm32_ll_utils.h> #include <stm32_ll_utils.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h" #include "clock_stm32_ll_common.h"

View file

@ -10,9 +10,9 @@
#include <stm32_ll_bus.h> #include <stm32_ll_bus.h>
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <stm32_ll_utils.h> #include <stm32_ll_utils.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h" #include "clock_stm32_ll_common.h"

View file

@ -11,9 +11,9 @@
#include <stm32_ll_bus.h> #include <stm32_ll_bus.h>
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <stm32_ll_utils.h> #include <stm32_ll_utils.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h" #include "clock_stm32_ll_common.h"

View file

@ -10,9 +10,9 @@
#include <stm32_ll_pwr.h> #include <stm32_ll_pwr.h>
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <stm32_ll_utils.h> #include <stm32_ll_utils.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h" #include "clock_stm32_ll_common.h"

View file

@ -10,9 +10,9 @@
#include <stm32_ll_bus.h> #include <stm32_ll_bus.h>
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <stm32_ll_utils.h> #include <stm32_ll_utils.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h" #include "clock_stm32_ll_common.h"

View file

@ -11,9 +11,9 @@
#include <stm32_ll_pwr.h> #include <stm32_ll_pwr.h>
#include <stm32_ll_rcc.h> #include <stm32_ll_rcc.h>
#include <stm32_ll_utils.h> #include <stm32_ll_utils.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include <sys/util.h> #include <zephyr/sys/util.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h" #include "clock_stm32_ll_common.h"
#include "stm32_hsem.h" #include "stm32_hsem.h"

View file

@ -3,12 +3,12 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <drivers/sensor.h> #include <zephyr/drivers/sensor.h>
#include <drivers/clock_control.h> #include <zephyr/drivers/clock_control.h>
#include "nrf_clock_calibration.h" #include "nrf_clock_calibration.h"
#include <drivers/clock_control/nrf_clock_control.h> #include <zephyr/drivers/clock_control/nrf_clock_control.h>
#include <nrfx_clock.h> #include <nrfx_clock.h>
#include <logging/log.h> #include <zephyr/logging/log.h>
#include <stdlib.h> #include <stdlib.h>
LOG_MODULE_DECLARE(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL); LOG_MODULE_DECLARE(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL);

Some files were not shown because too many files have changed in this diff Show more