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
{
13
u32
csr
;
14
u32
rsvd
[3];
15
};
16
17
struct
pwm_controller
{
18
struct
pwm_reg
pwm
[4];
19
};
20
21
#endif
/* __SOC_NVIDIA_TEGRA_PWM_H */
types.h
u32
uint32_t u32
Definition:
stdint.h:51
pwm_controller
Definition:
pwm.h:17
pwm_controller::pwm
struct pwm_reg pwm[4]
Definition:
pwm.h:18
pwm_reg
Definition:
pwm.h:12
pwm_reg::csr
u32 csr
Definition:
pwm.h:13
pwm_reg::rsvd
u32 rsvd[3]
Definition:
pwm.h:14
src
soc
nvidia
tegra
pwm.h
Generated by
1.9.1