Lines Matching refs:handler
94 sensor_trigger_handler_t handler) in iis2dlpc_trigger_set() argument
100 int state = (handler != NULL) ? PROPERTY_ENABLE : PROPERTY_DISABLE; in iis2dlpc_trigger_set()
104 iis2dlpc->drdy_handler = handler; in iis2dlpc_trigger_set()
113 iis2dlpc->tap_handler = handler; in iis2dlpc_trigger_set()
117 iis2dlpc->double_tap_handler = handler; in iis2dlpc_trigger_set()
123 iis2dlpc->activity_handler = handler; in iis2dlpc_trigger_set()
148 sensor_trigger_handler_t handler = data->activity_handler; in iis2dlpc_handle_activity_int() local
150 if (handler) { in iis2dlpc_handle_activity_int()
151 handler(dev, data->activity_trig); in iis2dlpc_handle_activity_int()
162 sensor_trigger_handler_t handler = data->tap_handler; in iis2dlpc_handle_single_tap_int() local
164 if (handler) { in iis2dlpc_handle_single_tap_int()
165 handler(dev, data->tap_trig); in iis2dlpc_handle_single_tap_int()
174 sensor_trigger_handler_t handler = data->double_tap_handler; in iis2dlpc_handle_double_tap_int() local
176 if (handler) { in iis2dlpc_handle_double_tap_int()
177 handler(dev, data->double_tap_trig); in iis2dlpc_handle_double_tap_int()
282 iis2dlpc->work.handler = iis2dlpc_work_cb; in iis2dlpc_init_interrupt()