示例#1
0
static int test_threshold_crit_intr_falling(struct hwtest_ctx *ctx) {
	threshold_reset(ctx);
	nva_mask(ctx->cnum, 0x20010, 0x80000000, 0x80000000);
	return threshold_check_intr_falling(ctx, &nv50_therm_thresholds[therm_threshold_crit]);
}
示例#2
0
static int test_threshold_high_intr_falling(struct hwtest_ctx *ctx) {
    threshold_reset(ctx);
    return threshold_check_intr_falling(ctx, &nv50_therm_thresholds[therm_threshold_high]);
}