Lines Matching refs:enable_event
170 u8 enable_event; member
571 if (data->enable_event) in fxls8962af_write_event()
603 return !!(FXLS8962AF_SDCD_CONFIG1_X_OT_EN & data->enable_event); in fxls8962af_read_event_config()
605 return !!(FXLS8962AF_SDCD_CONFIG1_Y_OT_EN & data->enable_event); in fxls8962af_read_event_config()
607 return !!(FXLS8962AF_SDCD_CONFIG1_Z_OT_EN & data->enable_event); in fxls8962af_read_event_config()
620 u8 enable_event, enable_bits; in fxls8962af_write_event_config() local
641 enable_event = data->enable_event | enable_bits; in fxls8962af_write_event_config()
643 enable_event = data->enable_event & ~enable_bits; in fxls8962af_write_event_config()
645 if (data->enable_event == enable_event) in fxls8962af_write_event_config()
653 value = enable_event | FXLS8962AF_SDCD_CONFIG1_OT_ELE; in fxls8962af_write_event_config()
664 value = enable_event ? in fxls8962af_write_event_config()
675 data->enable_event = enable_event; in fxls8962af_write_event_config()
677 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()
1252 if (device_may_wakeup(dev) && data->enable_event) { in fxls8962af_suspend()
1273 if (device_may_wakeup(dev) && data->enable_event) { in fxls8962af_resume()