• Home
  • Raw
  • Download

Lines Matching refs:td

201 static void tick_setup_device(struct tick_device *td,  in tick_setup_device()  argument
211 if (!td->evtdev) { in tick_setup_device()
242 td->mode = TICKDEV_MODE_PERIODIC; in tick_setup_device()
244 handler = td->evtdev->event_handler; in tick_setup_device()
245 next_event = td->evtdev->next_event; in tick_setup_device()
246 td->evtdev->event_handler = clockevents_handle_noop; in tick_setup_device()
249 td->evtdev = newdev; in tick_setup_device()
268 if (td->mode == TICKDEV_MODE_PERIODIC) in tick_setup_device()
276 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_install_replacement() local
279 clockevents_exchange_device(td->evtdev, newdev); in tick_install_replacement()
280 tick_setup_device(td, newdev, cpu, cpumask_of(cpu)); in tick_install_replacement()
341 struct tick_device *td; in tick_check_new_device() local
345 td = &per_cpu(tick_cpu_device, cpu); in tick_check_new_device()
346 curdev = td->evtdev; in tick_check_new_device()
369 tick_setup_device(td, newdev, cpu, cpumask_of(cpu)); in tick_check_new_device()
394 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_broadcast_oneshot_control() local
396 if (!(td->evtdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_broadcast_oneshot_control()
429 struct tick_device *td = &per_cpu(tick_cpu_device, cpu); in tick_shutdown() local
430 struct clock_event_device *dev = td->evtdev; in tick_shutdown()
432 td->mode = TICKDEV_MODE_PERIODIC; in tick_shutdown()
441 td->evtdev = NULL; in tick_shutdown()
455 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_suspend_local() local
457 clockevents_shutdown(td->evtdev); in tick_suspend_local()
469 struct tick_device *td = this_cpu_ptr(&tick_cpu_device); in tick_resume_local() local
472 clockevents_tick_resume(td->evtdev); in tick_resume_local()
474 if (td->mode == TICKDEV_MODE_PERIODIC) in tick_resume_local()
475 tick_setup_periodic(td->evtdev, 0); in tick_resume_local()