Lines Matching refs:enable_event
171 u8 enable_event; member
564 if (data->enable_event) in fxls8962af_write_event()
596 return !!(FXLS8962AF_SDCD_CONFIG1_X_OT_EN & data->enable_event); in fxls8962af_read_event_config()
598 return !!(FXLS8962AF_SDCD_CONFIG1_Y_OT_EN & data->enable_event); in fxls8962af_read_event_config()
600 return !!(FXLS8962AF_SDCD_CONFIG1_Z_OT_EN & data->enable_event); in fxls8962af_read_event_config()
613 u8 enable_event, enable_bits; in fxls8962af_write_event_config() local
634 enable_event = data->enable_event | enable_bits; in fxls8962af_write_event_config()
636 enable_event = data->enable_event & ~enable_bits; in fxls8962af_write_event_config()
638 if (data->enable_event == enable_event) in fxls8962af_write_event_config()
646 value = enable_event | FXLS8962AF_SDCD_CONFIG1_OT_ELE; in fxls8962af_write_event_config()
657 value = enable_event ? in fxls8962af_write_event_config()
668 data->enable_event = enable_event; in fxls8962af_write_event_config()
670 if (data->enable_event) { in fxls8962af_write_event_config()
853 if (data->enable_event) in fxls8962af_buffer_predisable()
863 if (!data->enable_event) in fxls8962af_buffer_postdisable()
1263 if (device_may_wakeup(dev) && data->enable_event) { in fxls8962af_suspend()
1284 if (device_may_wakeup(dev) && data->enable_event) { in fxls8962af_resume()