Lines Matching refs:data
30 static int get_time(void *data, uint64_t *time)
32 assert(data != NULL);
35 pwm_ltimer_t *pwm_ltimer = data;
40 static int get_resolution(void *data, uint64_t *resolution)
45 static int set_timeout(void *data, uint64_t ns, timeout_type_t type)
47 assert(data != NULL);
48 pwm_ltimer_t *pwm_ltimer = data;
67 static int reset(void *data)
69 assert(data != NULL);
70 pwm_ltimer_t *pwm_ltimer = data;
75 static void destroy(void *data)
77 assert(data);
78 pwm_ltimer_t *pwm_ltimer = data;
96 int error = ps_calloc(&ops.malloc_ops, 1, sizeof(pwm_ltimer_t), <imer->data);
98 ZF_LOGE("Unable to allocate ltimer data");
101 assert(ltimer->data != NULL);
116 pwm_ltimer_t *pwm_ltimer = ltimer->data;