Lines Matching refs:enable_event
173 u8 enable_event; member
574 if (data->enable_event) in fxls8962af_write_event()
606 return !!(FXLS8962AF_SDCD_CONFIG1_X_OT_EN & data->enable_event); in fxls8962af_read_event_config()
608 return !!(FXLS8962AF_SDCD_CONFIG1_Y_OT_EN & data->enable_event); in fxls8962af_read_event_config()
610 return !!(FXLS8962AF_SDCD_CONFIG1_Z_OT_EN & data->enable_event); in fxls8962af_read_event_config()
623 u8 enable_event, enable_bits; in fxls8962af_write_event_config() local
644 enable_event = data->enable_event | enable_bits; in fxls8962af_write_event_config()
646 enable_event = data->enable_event & ~enable_bits; in fxls8962af_write_event_config()
648 if (data->enable_event == enable_event) in fxls8962af_write_event_config()
656 value = enable_event | FXLS8962AF_SDCD_CONFIG1_OT_ELE; in fxls8962af_write_event_config()
667 value = enable_event ? in fxls8962af_write_event_config()
678 data->enable_event = enable_event; in fxls8962af_write_event_config()
680 if (data->enable_event) { in fxls8962af_write_event_config()
860 if (data->enable_event) in fxls8962af_buffer_predisable()
870 if (!data->enable_event) in fxls8962af_buffer_postdisable()
1251 if (device_may_wakeup(dev) && data->enable_event) { in fxls8962af_suspend()
1272 if (device_may_wakeup(dev) && data->enable_event) { in fxls8962af_resume()