Searched refs:threshold_us (Results 1 – 2 of 2) sorted by relevance
1195 u32 threshold_us; in psi_trigger_create() local1201 if (sscanf(buf, "some %u %u", &threshold_us, &window_us) == 2) in psi_trigger_create()1203 else if (sscanf(buf, "full %u %u", &threshold_us, &window_us) == 2) in psi_trigger_create()1221 if (threshold_us == 0 || threshold_us > window_us) in psi_trigger_create()1230 t->threshold = threshold_us * NSEC_PER_USEC; in psi_trigger_create()
362 static void encode_l12_threshold(u32 threshold_us, u32 *scale, u32 *value) in encode_l12_threshold() argument364 u64 threshold_ns = (u64) threshold_us * 1000; in encode_l12_threshold()