• Home
  • Raw
  • Download

Lines Matching refs:irq_cfg

271 	unsigned char irq_cfg;  in lis3lv02d_selftest()  local
275 irq_cfg = lis3->irq_cfg; in lis3lv02d_selftest()
282 lis3->irq_cfg = LIS3_IRQ1_DATA_READY | LIS3_IRQ2_DATA_READY; in lis3lv02d_selftest()
327 lis3->irq_cfg = irq_cfg; in lis3lv02d_selftest()
329 if ((irq_cfg & LIS3_IRQ1_MASK) && in lis3lv02d_selftest()
335 if ((irq_cfg & LIS3_IRQ2_MASK) && in lis3lv02d_selftest()
546 u8 irq_cfg = lis3->irq_cfg & LIS3_IRQ1_MASK; in lis302dl_interrupt_thread1_8b() local
548 if (irq_cfg == LIS3_IRQ1_CLICK) in lis302dl_interrupt_thread1_8b()
550 else if (unlikely(irq_cfg == LIS3_IRQ1_DATA_READY)) in lis302dl_interrupt_thread1_8b()
561 u8 irq_cfg = lis3->irq_cfg & LIS3_IRQ2_MASK; in lis302dl_interrupt_thread2_8b() local
563 if (irq_cfg == LIS3_IRQ2_CLICK) in lis302dl_interrupt_thread2_8b()
565 else if (unlikely(irq_cfg == LIS3_IRQ2_DATA_READY)) in lis302dl_interrupt_thread2_8b()
999 pdata->irq_cfg |= LIS3_IRQ1_DISABLE; in lis3lv02d_init_dt()
1001 pdata->irq_cfg |= LIS3_IRQ1_FF_WU_1; in lis3lv02d_init_dt()
1003 pdata->irq_cfg |= LIS3_IRQ1_FF_WU_2; in lis3lv02d_init_dt()
1005 pdata->irq_cfg |= LIS3_IRQ1_DATA_READY; in lis3lv02d_init_dt()
1007 pdata->irq_cfg |= LIS3_IRQ1_CLICK; in lis3lv02d_init_dt()
1010 pdata->irq_cfg |= LIS3_IRQ2_DISABLE; in lis3lv02d_init_dt()
1012 pdata->irq_cfg |= LIS3_IRQ2_FF_WU_1; in lis3lv02d_init_dt()
1014 pdata->irq_cfg |= LIS3_IRQ2_FF_WU_2; in lis3lv02d_init_dt()
1016 pdata->irq_cfg |= LIS3_IRQ2_DATA_READY; in lis3lv02d_init_dt()
1018 pdata->irq_cfg |= LIS3_IRQ2_CLICK; in lis3lv02d_init_dt()
1021 pdata->irq_cfg |= LIS3_IRQ_OPEN_DRAIN; in lis3lv02d_init_dt()
1023 pdata->irq_cfg |= LIS3_IRQ_ACTIVE_LOW; in lis3lv02d_init_dt()
1215 lis3->irq_cfg = p->irq_cfg; in lis3lv02d_init_device()
1216 if (p->irq_cfg) in lis3lv02d_init_device()
1217 lis3->write(lis3, CTRL_REG3, p->irq_cfg); in lis3lv02d_init_device()