Lines Matching +full:enable +full:- +full:frequency +full:- +full:shift

2  * Copyright (C) 2007-2013 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2012-2013 Xilinx, Inc.
4 * Copyright (C) 2007-2009 PetaLogix
88 * !ENALL - don't enable 'em all in xilinx_timer0_start_periodic()
89 * !PWMA - disable pwm in xilinx_timer0_start_periodic()
90 * TINT - clear interrupt status in xilinx_timer0_start_periodic()
91 * ENT- enable timer itself in xilinx_timer0_start_periodic()
92 * ENIT - enable interrupt in xilinx_timer0_start_periodic()
93 * !LOAD - clear the bit to let go in xilinx_timer0_start_periodic()
94 * ARHT - auto reload in xilinx_timer0_start_periodic()
95 * !CAPT - no external trigger in xilinx_timer0_start_periodic()
96 * !GENT - no external signal in xilinx_timer0_start_periodic()
97 * UDT - set the timer as down counter in xilinx_timer0_start_periodic()
98 * !MDT0 - generate mode in xilinx_timer0_start_periodic()
144 .shift = 8,
160 evt->event_handler(evt); in timer_interrupt()
168 clockevent_xilinx_timer.shift); in xilinx_clockevent_init()
204 .shift = 8,
210 xilinx_cc.shift); in init_xilinx_timecounter()
239 /* start timer1 - up counting without interrupt */ in xilinx_clocksource_init()
242 /* register timecounter - for ftrace support */ in xilinx_clocksource_init()
255 if (of_property_read_bool(timer, "#pwm-cells")) in xilinx_timer_init()
259 return -EINVAL; in xilinx_timer_init()
266 return -ENXIO; in xilinx_timer_init()
281 return -EINVAL; in xilinx_timer_init()
284 of_property_read_u32(timer, "xlnx,one-timer-only", &timer_num); in xilinx_timer_init()
286 pr_err("Please enable two timers in HW\n"); in xilinx_timer_init()
287 return -EINVAL; in xilinx_timer_init()
295 /* If there is clock-frequency property than use it */ in xilinx_timer_init()
296 of_property_read_u32(timer, "clock-frequency", in xilinx_timer_init()
303 pr_err("ERROR: Using CPU clock frequency\n"); in xilinx_timer_init()
329 TIMER_OF_DECLARE(xilinx_timer, "xlnx,xps-timer-1.00.a",