Lines Matching refs:device
29 static const struct device *device; variable
64 pending_alarm[i].callback(device, i, current_value, in counter_isr()
72 top.callback(device, top.user_data); in counter_isr()
79 static int ctr_init(const struct device *dev) in ctr_init()
81 device = dev; in ctr_init()
96 static int ctr_start(const struct device *dev) in ctr_start()
105 static int ctr_stop(const struct device *dev) in ctr_stop()
113 static int ctr_get_value(const struct device *dev, uint32_t *ticks) in ctr_get_value()
121 static uint32_t ctr_get_pending_int(const struct device *dev) in ctr_get_pending_int()
137 static int ctr_set_top_value(const struct device *dev, in ctr_set_top_value()
174 static uint32_t ctr_get_top_value(const struct device *dev) in ctr_get_top_value()
179 static int ctr_set_alarm(const struct device *dev, uint8_t chan_id, in ctr_set_alarm()
214 static int ctr_cancel_alarm(const struct device *dev, uint8_t chan_id) in ctr_cancel_alarm()