Lines Matching +full:0 +full:x01e00000

56 #define DBG(args...)	do { } while(0)
82 #define FAILURE_FAN 0x01
83 #define FAILURE_SENSOR 0x02
84 #define FAILURE_OVERTEMP 0x04
152 if (hdr == 0) { in wf_smu_create_cpu_fans()
159 /* Get the FVT params for operating point 0 (the only supported one in wf_smu_create_cpu_fans()
167 tmax = 0x5e0000; /* 94 degree default */ in wf_smu_create_cpu_fans()
223 if (--st->ticks != 0) { in wf_smu_cpu_fans_tick()
250 if (temp > 0x4a0000) in wf_smu_cpu_fans_tick()
264 if (fan_cpu_main && wf_smu_failure_state == 0) { in wf_smu_cpu_fans_tick()
272 if (fan_cpu_second && wf_smu_failure_state == 0) { in wf_smu_cpu_fans_tick()
280 if (fan_cpu_third && wf_smu_failure_state == 0) { in wf_smu_cpu_fans_tick()
295 .gd = 0x01e00000, in wf_smu_create_drive_fans()
296 .gp = 0x00500000, in wf_smu_create_drive_fans()
297 .gr = 0x00000000, in wf_smu_create_drive_fans()
298 .itarget = 0x00200000, in wf_smu_create_drive_fans()
332 if (--st->ticks != 0) { in wf_smu_drive_fans_tick()
350 if (temp > (st->pid.param.itarget + 0x50000)) in wf_smu_drive_fans_tick()
361 if (fan_hd && wf_smu_failure_state == 0) { in wf_smu_drive_fans_tick()
376 .gd = 0x00000000, in wf_smu_create_slots_fans()
377 .gp = 0x00000000, in wf_smu_create_slots_fans()
378 .gr = 0x00020000, in wf_smu_create_slots_fans()
379 .itarget = 0x00000000 in wf_smu_create_slots_fans()
413 if (--st->ticks != 0) { in wf_smu_slots_fans_tick()
431 #if 0 /* Check what makes a good overtemp condition */ in wf_smu_slots_fans_tick()
432 if (power > (st->pid.param.itarget + 0x50000)) in wf_smu_slots_fans_tick()
444 if (fan_slots && wf_smu_failure_state == 0) { in wf_smu_slots_fans_tick()
477 wf_smu_failure_state = 0; in wf_smu_tick()
485 wf_smu_readjust = 0; in wf_smu_tick()
542 if (fan_cpu_main == NULL && !strcmp(ct->name, "cpu-rear-fan-0")) { in wf_smu_new_control()
543 if (wf_get_control(ct) == 0) in wf_smu_new_control()
548 if (wf_get_control(ct) == 0) in wf_smu_new_control()
552 if (fan_cpu_third == NULL && !strcmp(ct->name, "cpu-front-fan-0")) { in wf_smu_new_control()
553 if (wf_get_control(ct) == 0) in wf_smu_new_control()
558 if (wf_get_control(ct) == 0) in wf_smu_new_control()
563 if (wf_get_control(ct) == 0) in wf_smu_new_control()
568 if (wf_get_control(ct) == 0) in wf_smu_new_control()
583 if (wf_get_sensor(sr) == 0) in wf_smu_new_sensor()
588 if (wf_get_sensor(sr) == 0) in wf_smu_new_sensor()
593 if (wf_get_sensor(sr) == 0) in wf_smu_new_sensor()
598 if (wf_get_sensor(sr) == 0) in wf_smu_new_sensor()
628 return 0; in wf_smu_notify()
639 return 0; in wf_init_pm()
646 return 0; in wf_smu_probe()
694 return 0; in wf_smu_remove()
713 if (rc == 0) { in wf_smu_init()