coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pwm.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef __SOC_NVIDIA_TEGRA_PWM_H
4 #define __SOC_NVIDIA_TEGRA_PWM_H
5 
6 #include <types.h>
7 
8 /* Register definitions for the Tegra pwm controller */
9 #define NV_PWM_CSR_ENABLE_SHIFT 31
10 #define NV_PWM_CSR_PULSE_WIDTH_SHIFT 16
11 
12 struct pwm_reg {
14  u32 rsvd[3];
15 };
16 
18  struct pwm_reg pwm[4];
19 };
20 
21 #endif /* __SOC_NVIDIA_TEGRA_PWM_H */
uint32_t u32
Definition: stdint.h:51
struct pwm_reg pwm[4]
Definition: pwm.h:18
Definition: pwm.h:12
u32 csr
Definition: pwm.h:13
u32 rsvd[3]
Definition: pwm.h:14