Lines Matching refs:enable_event
172 u8 enable_event; member
573 if (data->enable_event) in fxls8962af_write_event()
605 return !!(FXLS8962AF_SDCD_CONFIG1_X_OT_EN & data->enable_event); in fxls8962af_read_event_config()
607 return !!(FXLS8962AF_SDCD_CONFIG1_Y_OT_EN & data->enable_event); in fxls8962af_read_event_config()
609 return !!(FXLS8962AF_SDCD_CONFIG1_Z_OT_EN & data->enable_event); in fxls8962af_read_event_config()
622 u8 enable_event, enable_bits; in fxls8962af_write_event_config() local
643 enable_event = data->enable_event | enable_bits; in fxls8962af_write_event_config()
645 enable_event = data->enable_event & ~enable_bits; in fxls8962af_write_event_config()
647 if (data->enable_event == enable_event) in fxls8962af_write_event_config()
655 value = enable_event | FXLS8962AF_SDCD_CONFIG1_OT_ELE; in fxls8962af_write_event_config()
666 value = enable_event ? in fxls8962af_write_event_config()
677 data->enable_event = enable_event; in fxls8962af_write_event_config()
679 if (data->enable_event) { in fxls8962af_write_event_config()
859 if (data->enable_event) in fxls8962af_buffer_predisable()
869 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()