cttimer.c (fc8e1ead9314cf0e0f1922e661428b93d3a50d88) | cttimer.c (a67ff6a54095e27093ea501fb143fefe51a536c2) |
---|---|
1/* 2 * PCM timer handling on ctxfi 3 * 4 * This source file is released under GPL v2 license (no other versions). 5 * See the COPYING file included in the main directory of this source 6 * distribution for the license terms and conditions. 7 */ 8 9#include <linux/slab.h> 10#include <linux/math64.h> 11#include <linux/moduleparam.h> 12#include <sound/core.h> 13#include <sound/pcm.h> 14#include "ctatc.h" 15#include "cthardware.h" 16#include "cttimer.h" 17 | 1/* 2 * PCM timer handling on ctxfi 3 * 4 * This source file is released under GPL v2 license (no other versions). 5 * See the COPYING file included in the main directory of this source 6 * distribution for the license terms and conditions. 7 */ 8 9#include <linux/slab.h> 10#include <linux/math64.h> 11#include <linux/moduleparam.h> 12#include <sound/core.h> 13#include <sound/pcm.h> 14#include "ctatc.h" 15#include "cthardware.h" 16#include "cttimer.h" 17 |
18static int use_system_timer; 19MODULE_PARM_DESC(use_system_timer, "Foce to use system-timer"); | 18static bool use_system_timer; 19MODULE_PARM_DESC(use_system_timer, "Force to use system-timer"); |
20module_param(use_system_timer, bool, S_IRUGO); 21 22struct ct_timer_ops { 23 void (*init)(struct ct_timer_instance *); 24 void (*prepare)(struct ct_timer_instance *); 25 void (*start)(struct ct_timer_instance *); 26 void (*stop)(struct ct_timer_instance *); 27 void (*free_instance)(struct ct_timer_instance *); --- 416 unchanged lines hidden --- | 20module_param(use_system_timer, bool, S_IRUGO); 21 22struct ct_timer_ops { 23 void (*init)(struct ct_timer_instance *); 24 void (*prepare)(struct ct_timer_instance *); 25 void (*start)(struct ct_timer_instance *); 26 void (*stop)(struct ct_timer_instance *); 27 void (*free_instance)(struct ct_timer_instance *); --- 416 unchanged lines hidden --- |