Lines Matching refs:handler
115 sensor_trigger_handler_t handler) in bmi160_trigger_drdy_set() argument
122 data->handler_drdy_acc = handler; in bmi160_trigger_drdy_set()
133 data->handler_drdy_gyr = handler; in bmi160_trigger_drdy_set()
153 sensor_trigger_handler_t handler) in bmi160_trigger_anym_set() argument
158 data->handler_anymotion = handler; in bmi160_trigger_anym_set()
161 if (handler) { in bmi160_trigger_anym_set()
177 sensor_trigger_handler_t handler) in bmi160_trigger_set_acc() argument
180 return bmi160_trigger_drdy_set(dev, trig->chan, trig, handler); in bmi160_trigger_set_acc()
182 return bmi160_trigger_anym_set(dev, trig, handler); in bmi160_trigger_set_acc()
236 sensor_trigger_handler_t handler) in bmi160_trigger_set_gyr() argument
239 return bmi160_trigger_drdy_set(dev, trig->chan, trig, handler); in bmi160_trigger_set_gyr()
248 sensor_trigger_handler_t handler) in bmi160_trigger_set() argument
252 return bmi160_trigger_set_acc(dev, trig, handler); in bmi160_trigger_set()
257 return bmi160_trigger_set_gyr(dev, trig, handler); in bmi160_trigger_set()
286 data->work.handler = bmi160_work_handler; in bmi160_trigger_mode_init()