linux/drivers/pwm/pwm-dwc.h

// SPDX-License-Identifier: GPL-2.0
/*
 * DesignWare PWM Controller driver
 *
 * Copyright (C) 2018-2020 Intel Corporation
 *
 * Author: Felipe Balbi (Intel)
 * Author: Jarkko Nikula <[email protected]>
 * Author: Raymond Tan <[email protected]>
 */

MODULE_IMPORT_NS();

#define DWC_TIM_LD_CNT(n)
#define DWC_TIM_LD_CNT2(n)
#define DWC_TIM_CUR_VAL(n)
#define DWC_TIM_CTRL(n)
#define DWC_TIM_EOI(n)
#define DWC_TIM_INT_STS(n)

#define DWC_TIMERS_INT_STS
#define DWC_TIMERS_EOI
#define DWC_TIMERS_RAW_INT_STS
#define DWC_TIMERS_COMP_VERSION

#define DWC_TIMERS_TOTAL

/* Timer Control Register */
#define DWC_TIM_CTRL_EN
#define DWC_TIM_CTRL_MODE
#define DWC_TIM_CTRL_MODE_FREE
#define DWC_TIM_CTRL_MODE_USER
#define DWC_TIM_CTRL_INT_MASK
#define DWC_TIM_CTRL_PWM

struct dwc_pwm_info {};

struct dwc_pwm_drvdata {};

struct dwc_pwm_ctx {};

struct dwc_pwm {};

static inline struct dwc_pwm *to_dwc_pwm(struct pwm_chip *chip)
{}

static inline u32 dwc_pwm_readl(struct dwc_pwm *dwc, u32 offset)
{}

static inline void dwc_pwm_writel(struct dwc_pwm *dwc, u32 value, u32 offset)
{}

extern struct pwm_chip *dwc_pwm_alloc(struct device *dev);