Lines Matching refs:hw
158 if (cfg->hw.anym_on_int1) { in lis2dh_trigger_anym_tap_set()
165 cfg->hw.anym_on_int1 ? in lis2dh_trigger_anym_tap_set()
176 cfg->hw.anym_on_int1 ? in lis2dh_trigger_anym_tap_set()
235 reg = cfg->hw.anym_on_int1 ? LIS2DH_REG_INT1_CFG : LIS2DH_REG_INT2_CFG; in lis2dh_start_trigger_int2()
236 val = (cfg->hw.anym_mode << LIS2DH_INT_CFG_MODE_SHIFT) | LIS2DH_ANYM_CFG; in lis2dh_start_trigger_int2()
244 reg = cfg->hw.anym_on_int1 ? LIS2DH_REG_CTRL3 : LIS2DH_REG_CTRL6; in lis2dh_start_trigger_int2()
245 mask = cfg->hw.anym_on_int1 ? LIS2DH_EN_IA_INT1 : LIS2DH_EN_IA_INT2; in lis2dh_start_trigger_int2()
264 reg = cfg->hw.anym_on_int1 ? LIS2DH_REG_CTRL3 : LIS2DH_REG_CTRL6; in lis2dh_start_trigger_int2()
265 mask = cfg->hw.anym_on_int1 ? LIS2DH_EN_CLICK_INT1 : LIS2DH_EN_CLICK_INT2; in lis2dh_start_trigger_int2()
328 cfg->hw.anym_on_int1 ? in lis2dh_acc_slope_config()
350 cfg->hw.anym_on_int1 ? in lis2dh_acc_slope_config()
472 cfg->hw.anym_on_int1 ? in lis2dh_thread_cb()
640 cfg->hw.anym_on_int1 ? in lis2dh_init_interrupt()
658 cfg->hw.anym_on_int1 ? in lis2dh_init_interrupt()
667 if (cfg->hw.anym_latch) { in lis2dh_init_interrupt()
671 cfg->hw.anym_on_int1 ? in lis2dh_init_interrupt()