Lines Matching refs:FAN_CURVE_PWM_MASK
118 #define FAN_CURVE_PWM_MASK 0x04 macro
3286 return &asus->custom_fan_curves[nr & ~FAN_CURVE_PWM_MASK]; in fan_curve_attr_2_select()
3298 pwm = dev_attr->nr & FAN_CURVE_PWM_MASK; in fan_curve_show()
3348 pwm = dev_attr->nr & FAN_CURVE_PWM_MASK; in fan_curve_store()
3471 FAN_CURVE_DEV_CPU | FAN_CURVE_PWM_MASK, 0);
3473 FAN_CURVE_DEV_CPU | FAN_CURVE_PWM_MASK, 1);
3475 FAN_CURVE_DEV_CPU | FAN_CURVE_PWM_MASK, 2);
3477 FAN_CURVE_DEV_CPU | FAN_CURVE_PWM_MASK, 3);
3479 FAN_CURVE_DEV_CPU | FAN_CURVE_PWM_MASK, 4);
3481 FAN_CURVE_DEV_CPU | FAN_CURVE_PWM_MASK, 5);
3483 FAN_CURVE_DEV_CPU | FAN_CURVE_PWM_MASK, 6);
3485 FAN_CURVE_DEV_CPU | FAN_CURVE_PWM_MASK, 7);
3507 FAN_CURVE_DEV_GPU | FAN_CURVE_PWM_MASK, 0);
3509 FAN_CURVE_DEV_GPU | FAN_CURVE_PWM_MASK, 1);
3511 FAN_CURVE_DEV_GPU | FAN_CURVE_PWM_MASK, 2);
3513 FAN_CURVE_DEV_GPU | FAN_CURVE_PWM_MASK, 3);
3515 FAN_CURVE_DEV_GPU | FAN_CURVE_PWM_MASK, 4);
3517 FAN_CURVE_DEV_GPU | FAN_CURVE_PWM_MASK, 5);
3519 FAN_CURVE_DEV_GPU | FAN_CURVE_PWM_MASK, 6);
3521 FAN_CURVE_DEV_GPU | FAN_CURVE_PWM_MASK, 7);
3543 FAN_CURVE_DEV_MID | FAN_CURVE_PWM_MASK, 0);
3545 FAN_CURVE_DEV_MID | FAN_CURVE_PWM_MASK, 1);
3547 FAN_CURVE_DEV_MID | FAN_CURVE_PWM_MASK, 2);
3549 FAN_CURVE_DEV_MID | FAN_CURVE_PWM_MASK, 3);
3551 FAN_CURVE_DEV_MID | FAN_CURVE_PWM_MASK, 4);
3553 FAN_CURVE_DEV_MID | FAN_CURVE_PWM_MASK, 5);
3555 FAN_CURVE_DEV_MID | FAN_CURVE_PWM_MASK, 6);
3557 FAN_CURVE_DEV_MID | FAN_CURVE_PWM_MASK, 7);