Lines Matching refs:driver
34 struct mod_timer_driver_api *driver; member
89 status = ctx->driver->get_frequency(ctx->driver_dev_id, &frequency); in _time_to_timestamp()
115 status = ctx->driver->get_counter(ctx->driver_dev_id, &counter); in _timestamp_from_now()
136 status = ctx->driver->get_counter(ctx->driver_dev_id, &counter); in _remaining()
163 ctx->driver->set_timer(ctx->driver_dev_id, alarm_head->timestamp); in _configure_timer_with_next_alarm()
168 status = ctx->driver->enable(ctx->driver_dev_id); in _configure_timer_with_next_alarm()
220 return ctx->driver->get_frequency(ctx->driver_dev_id, frequency); in get_frequency()
249 return ctx->driver->get_counter(ctx->driver_dev_id, counter); in get_counter()
266 status = ctx->driver->get_counter(ctx->driver_dev_id, &counter); in delay()
296 status = ctx->driver->get_counter(ctx->driver_dev_id, &counter); in wait()
351 status = ctx->driver->disable(ctx->driver_dev_id); in get_next_alarm_remaining()
368 status = ctx->driver->enable(ctx->driver_dev_id); in get_next_alarm_remaining()
426 status = ctx->driver->disable(ctx->driver_dev_id); in alarm_stop()
432 status = ctx->driver->enable(ctx->driver_dev_id); in alarm_stop()
519 status = ctx->driver->disable(ctx->driver_dev_id); in alarm_start()
546 status = ctx->driver->disable(ctx->driver_dev_id); in timer_isr()
622 struct mod_timer_driver_api *driver = NULL; in timer_bind() local
641 &driver); in timer_bind()
647 if (driver->enable == NULL || driver->disable == NULL || in timer_bind()
648 driver->get_counter == NULL || driver->get_frequency == NULL) { in timer_bind()
652 ctx->driver = driver; in timer_bind()