Searched refs:threshold_us (Results 1 – 2 of 2) sorted by relevance
1284 u32 threshold_us; in psi_trigger_create() local1297 if (sscanf(buf, "some %u %u", &threshold_us, &window_us) == 2) in psi_trigger_create()1299 else if (sscanf(buf, "full %u %u", &threshold_us, &window_us) == 2) in psi_trigger_create()1323 if (threshold_us == 0 || threshold_us > window_us) in psi_trigger_create()1332 t->threshold = threshold_us * NSEC_PER_USEC; in psi_trigger_create()
326 static void encode_l12_threshold(u32 threshold_us, u32 *scale, u32 *value) in encode_l12_threshold() argument328 u64 threshold_ns = (u64) threshold_us * 1000; in encode_l12_threshold()