Lines Matching refs:tap_threshold
153 if ((cfg->tap_threshold[0] == 0) && in lis2dw12_trigger_set()
154 (cfg->tap_threshold[1] == 0) && in lis2dw12_trigger_set()
155 (cfg->tap_threshold[2] == 0)) { in lis2dw12_trigger_set()
383 LOG_DBG("TAP: ths_x is %02x", cfg->tap_threshold[0]); in lis2dw12_tap_init()
384 if (lis2dw12_tap_threshold_x_set(ctx, cfg->tap_threshold[0]) < 0) { in lis2dw12_tap_init()
389 LOG_DBG("TAP: ths_y is %02x", cfg->tap_threshold[1]); in lis2dw12_tap_init()
390 if (lis2dw12_tap_threshold_y_set(ctx, cfg->tap_threshold[1]) < 0) { in lis2dw12_tap_init()
395 LOG_DBG("TAP: ths_z is %02x", cfg->tap_threshold[2]); in lis2dw12_tap_init()
396 if (lis2dw12_tap_threshold_z_set(ctx, cfg->tap_threshold[2]) < 0) { in lis2dw12_tap_init()
401 if (cfg->tap_threshold[0] > 0) { in lis2dw12_tap_init()
409 if (cfg->tap_threshold[1] > 0) { in lis2dw12_tap_init()
417 if (cfg->tap_threshold[2] > 0) { in lis2dw12_tap_init()