OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
include
/
clocksource
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:15 AM
rwxr-xr-x
📄
arm_arch_timer.h
2.95 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
metag_generic.h
800 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
pxa.h
443 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
samsung_pwm.h
1.3 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
timer-sp804.h
848 bytes
01/28/2018 09:20:33 PM
rw-r--r--
Editing: samsung_pwm.h
Close
/* * Copyright (C) 2013 Samsung Electronics Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef __CLOCKSOURCE_SAMSUNG_PWM_H #define __CLOCKSOURCE_SAMSUNG_PWM_H #include <linux/spinlock.h> #define SAMSUNG_PWM_NUM 5 /* * Following declaration must be in an ifdef due to this symbol being static * in pwm-samsung driver if the clocksource driver is not compiled in and the * spinlock is not shared between both drivers. */ #ifdef CONFIG_CLKSRC_SAMSUNG_PWM extern spinlock_t samsung_pwm_lock; #endif struct samsung_pwm_variant { u8 bits; u8 div_base; u8 tclk_mask; u8 output_mask; bool has_tint_cstat; }; void samsung_pwm_clocksource_init(void __iomem *base, unsigned int *irqs, struct samsung_pwm_variant *variant); #endif /* __CLOCKSOURCE_SAMSUNG_PWM_H */