• Home
  • Raw
  • Download

Lines Matching refs:td

166 static void tick_setup_device(struct tick_device *td,  in tick_setup_device()  argument
176 if (!td->evtdev) { in tick_setup_device()
193 td->mode = TICKDEV_MODE_PERIODIC; in tick_setup_device()
195 handler = td->evtdev->event_handler; in tick_setup_device()
196 next_event = td->evtdev->next_event; in tick_setup_device()
197 td->evtdev->event_handler = clockevents_handle_noop; in tick_setup_device()
200 td->evtdev = newdev; in tick_setup_device()
219 if (td->mode == TICKDEV_MODE_PERIODIC) in tick_setup_device()
227 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_install_replacement() local
230 clockevents_exchange_device(td->evtdev, newdev); in tick_install_replacement()
231 tick_setup_device(td, newdev, cpu, cpumask_of(cpu)); in tick_install_replacement()
292 struct tick_device *td; in tick_check_new_device() local
299 td = &per_cpu(tick_cpu_device, cpu); in tick_check_new_device()
300 curdev = td->evtdev; in tick_check_new_device()
323 tick_setup_device(td, newdev, cpu, cpumask_of(cpu)); in tick_check_new_device()
359 struct tick_device *td = &per_cpu(tick_cpu_device, *cpup); in tick_shutdown() local
360 struct clock_event_device *dev = td->evtdev; in tick_shutdown()
362 td->mode = TICKDEV_MODE_PERIODIC; in tick_shutdown()
371 td->evtdev = NULL; in tick_shutdown()
377 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_suspend() local
379 clockevents_shutdown(td->evtdev); in tick_suspend()
384 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_resume() local
387 clockevents_set_mode(td->evtdev, CLOCK_EVT_MODE_RESUME); in tick_resume()
390 if (td->mode == TICKDEV_MODE_PERIODIC) in tick_resume()
391 tick_setup_periodic(td->evtdev, 0); in tick_resume()