Lines Matching refs:dev_id
69 static int enable(fwk_id_t dev_id) in enable() argument
73 ctx = mod_gtimer_ctx.table + fwk_id_get_element_idx(dev_id); in enable()
81 static int disable(fwk_id_t dev_id) in disable() argument
85 ctx = mod_gtimer_ctx.table + fwk_id_get_element_idx(dev_id); in disable()
93 static int get_counter(fwk_id_t dev_id, uint64_t *value) in get_counter() argument
97 ctx = mod_gtimer_ctx.table + fwk_id_get_element_idx(dev_id); in get_counter()
104 static int set_timer(fwk_id_t dev_id, uint64_t timestamp) in set_timer() argument
110 status = get_counter(dev_id, &counter); in set_timer()
126 ctx = mod_gtimer_ctx.table + fwk_id_get_element_idx(dev_id); in set_timer()
134 static int get_timer(fwk_id_t dev_id, uint64_t *timestamp) in get_timer() argument
140 ctx = mod_gtimer_ctx.table + fwk_id_get_element_idx(dev_id); in get_timer()
151 static int get_frequency(fwk_id_t dev_id, uint32_t *frequency) in get_frequency() argument
159 ctx = mod_gtimer_ctx.table + fwk_id_get_element_idx(dev_id); in get_frequency()