Home
last modified time | relevance | path

Searched refs:fan_ctrl (Results 1 – 21 of 21) sorted by relevance

/dports/sysutils/opencorsairlink/OpenCorsairLink-4234f4f/logic/settings/
H A Dhydro_asetek.c75 rr = dev->driver->fan.count( dev, handle, &readings.fan_ctrl ); in hydro_asetek_settings()
76 for ( ii = 0; ii < readings.fan_ctrl.fan_count; ii++ ) in hydro_asetek_settings()
78 readings.fan_ctrl.channel = ii; in hydro_asetek_settings()
81 readings.fan_ctrl.mode, readings.fan_ctrl.data, readings.fan_ctrl.mode_string, in hydro_asetek_settings()
82 sizeof( readings.fan_ctrl.mode_string ) ); in hydro_asetek_settings()
83 rr = dev->driver->fan.speed( dev, handle, &readings.fan_ctrl ); in hydro_asetek_settings()
84 msg_info( "Fan %d:\t%s\n", ii, readings.fan_ctrl.mode_string ); in hydro_asetek_settings()
87 readings.fan_ctrl.max_speed ); in hydro_asetek_settings()
89 "fan:%d:%d:%i:%i\n", ii, readings.fan_ctrl.mode, readings.fan_ctrl.speed, in hydro_asetek_settings()
90 readings.fan_ctrl.max_speed ); in hydro_asetek_settings()
[all …]
H A Dcommanderpro.c89 rr = dev->driver->fan.count( dev, handle, &readings.fan_ctrl ); in commanderpro_settings()
91 for ( ii = 0; ii < readings.fan_ctrl.fan_count; ii++ ) in commanderpro_settings()
93 readings.fan_ctrl.channel = (uint8_t) ii; in commanderpro_settings()
98 readings.fan_ctrl.mode, readings.fan_ctrl.data, readings.fan_ctrl.mode_string, in commanderpro_settings()
99 sizeof( readings.fan_ctrl.mode_string ) ); in commanderpro_settings()
100 msg_info( "Fan %d:\t%s\n", ii, readings.fan_ctrl.mode_string ); in commanderpro_settings()
102 "\tPWM: %i%%\n\tRPM: %i\n", readings.fan_ctrl.speed_pwm, in commanderpro_settings()
103 readings.fan_ctrl.speed_rpm ); in commanderpro_settings()
160 switch ( settings.fan_ctrl.mode ) in commanderpro_settings()
165 dev->driver->fan.profile.write_pwm( dev, handle, &settings.fan_ctrl ); in commanderpro_settings()
[all …]
H A Dhydro_asetekpro.c77 rr = dev->driver->fan.count( dev, handle, &readings.fan_ctrl ); in hydro_asetekpro_settings()
79 for ( ii = 0; ii < readings.fan_ctrl.fan_count; ii++ ) in hydro_asetekpro_settings()
81 readings.fan_ctrl.channel = ii; in hydro_asetekpro_settings()
84 readings.fan_ctrl.mode, readings.fan_ctrl.data, readings.fan_ctrl.mode_string, in hydro_asetekpro_settings()
85 sizeof( readings.fan_ctrl.mode_string ) ); in hydro_asetekpro_settings()
86 rr = dev->driver->fan.speed( dev, handle, &readings.fan_ctrl ); in hydro_asetekpro_settings()
87 msg_info( "Fan %d:\t%s\n", ii, readings.fan_ctrl.mode_string ); in hydro_asetekpro_settings()
89 "\tCurrent/Max Speed %i/%i RPM\n", readings.fan_ctrl.speed_rpm, in hydro_asetekpro_settings()
90 settings.fan_ctrl.max_speed ); in hydro_asetekpro_settings()
134 msg_info( "Setting fan to mode: %u\n", settings.fan_ctrl.mode ); in hydro_asetekpro_settings()
[all …]
H A Dhydro_coolit.c74 rr = dev->driver->fan.count( dev, handle, &readings.fan_ctrl ); in hydro_coolit_settings()
76 for ( ii = 0; ii < readings.fan_ctrl.fan_count; ii++ ) in hydro_coolit_settings()
78 readings.fan_ctrl.channel = ii; in hydro_coolit_settings()
81 readings.fan_ctrl.mode, readings.fan_ctrl.data, readings.fan_ctrl.mode_string, in hydro_coolit_settings()
82 sizeof( readings.fan_ctrl.mode_string ) ); in hydro_coolit_settings()
83 rr = dev->driver->fan.speed( dev, handle, &readings.fan_ctrl ); in hydro_coolit_settings()
84 msg_info( "Fan %d:\t%s\n", ii, readings.fan_ctrl.mode_string ); in hydro_coolit_settings()
86 "\tCurrent/Max Speed %i/%i RPM\n", readings.fan_ctrl.speed_rpm, in hydro_coolit_settings()
87 readings.fan_ctrl.max_speed ); in hydro_coolit_settings()
150 switch ( settings.fan_ctrl.mode ) in hydro_coolit_settings()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/hwmon/
H A Dsch5636.c66 u8 fan_ctrl[SCH5636_NO_FANS]; member
118 if (data->fan_ctrl[i] & SCH5636_FAN_DEACTIVATED) in sch5636_update_device()
135 data->fan_ctrl[i] = val; in sch5636_update_device()
260 val = (data->fan_ctrl[attr->index] & SCH5636_FAN_NOT_PRESENT) ? 1 : 0; in fan_fault_show()
274 val = (data->fan_ctrl[attr->index] & SCH5636_FAN_ALARM) ? 1 : 0; in fan_alarm_show()
460 data->fan_ctrl[i] = val; in sch5636_probe()
481 if (data->fan_ctrl[i/3] & SCH5636_FAN_DEACTIVATED) in sch5636_probe()
H A Daspeed-pwm-tacho.c480 u8 index, u8 fan_ctrl) in aspeed_set_pwm_port_fan_ctrl() argument
486 dc_time_on = (fan_ctrl * period) / PWM_MAX; in aspeed_set_pwm_port_fan_ctrl()
577 long fan_ctrl; in pwm_store() local
579 ret = kstrtol(buf, 10, &fan_ctrl); in pwm_store()
583 if (fan_ctrl < 0 || fan_ctrl > PWM_MAX) in pwm_store()
586 if (priv->pwm_port_fan_ctrl[index] == fan_ctrl) in pwm_store()
589 priv->pwm_port_fan_ctrl[index] = fan_ctrl; in pwm_store()
590 aspeed_set_pwm_port_fan_ctrl(priv, index, fan_ctrl); in pwm_store()
H A Df71805f.c180 u8 fan_ctrl[3]; member
393 data->fan_ctrl[nr] = f71805f_read8(data, in f71805f_update_device()
654 switch (data->fan_ctrl[nr] & FAN_CTRL_MODE_MASK) { in show_pwm_enable()
685 return sprintf(buf, "%d\n", pwm_mode_from_reg(data->fan_ctrl[nr])); in show_pwm_mode()
751 data->fan_ctrl[nr] = reg; in set_pwm_enable()
1355 data->fan_ctrl[i] = f71805f_read8(data, in f71805f_init_device()
1361 if (data->fan_ctrl[i] & FAN_CTRL_LATCH_FULL) { in f71805f_init_device()
1362 data->fan_ctrl[i] &= ~FAN_CTRL_LATCH_FULL; in f71805f_init_device()
1364 data->fan_ctrl[i]); in f71805f_init_device()
1447 if (!(data->fan_ctrl[i] & FAN_CTRL_DC_MODE)) { in f71805f_probe()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/hwmon/
H A Dsch5636.c66 u8 fan_ctrl[SCH5636_NO_FANS]; member
118 if (data->fan_ctrl[i] & SCH5636_FAN_DEACTIVATED) in sch5636_update_device()
135 data->fan_ctrl[i] = val; in sch5636_update_device()
260 val = (data->fan_ctrl[attr->index] & SCH5636_FAN_NOT_PRESENT) ? 1 : 0; in fan_fault_show()
274 val = (data->fan_ctrl[attr->index] & SCH5636_FAN_ALARM) ? 1 : 0; in fan_alarm_show()
460 data->fan_ctrl[i] = val; in sch5636_probe()
481 if (data->fan_ctrl[i/3] & SCH5636_FAN_DEACTIVATED) in sch5636_probe()
H A Daspeed-pwm-tacho.c480 u8 index, u8 fan_ctrl) in aspeed_set_pwm_port_fan_ctrl() argument
486 dc_time_on = (fan_ctrl * period) / PWM_MAX; in aspeed_set_pwm_port_fan_ctrl()
577 long fan_ctrl; in pwm_store() local
579 ret = kstrtol(buf, 10, &fan_ctrl); in pwm_store()
583 if (fan_ctrl < 0 || fan_ctrl > PWM_MAX) in pwm_store()
586 if (priv->pwm_port_fan_ctrl[index] == fan_ctrl) in pwm_store()
589 priv->pwm_port_fan_ctrl[index] = fan_ctrl; in pwm_store()
590 aspeed_set_pwm_port_fan_ctrl(priv, index, fan_ctrl); in pwm_store()
H A Df71805f.c180 u8 fan_ctrl[3]; member
393 data->fan_ctrl[nr] = f71805f_read8(data, in f71805f_update_device()
654 switch (data->fan_ctrl[nr] & FAN_CTRL_MODE_MASK) { in show_pwm_enable()
685 return sprintf(buf, "%d\n", pwm_mode_from_reg(data->fan_ctrl[nr])); in show_pwm_mode()
751 data->fan_ctrl[nr] = reg; in set_pwm_enable()
1355 data->fan_ctrl[i] = f71805f_read8(data, in f71805f_init_device()
1361 if (data->fan_ctrl[i] & FAN_CTRL_LATCH_FULL) { in f71805f_init_device()
1362 data->fan_ctrl[i] &= ~FAN_CTRL_LATCH_FULL; in f71805f_init_device()
1364 data->fan_ctrl[i]); in f71805f_init_device()
1447 if (!(data->fan_ctrl[i] & FAN_CTRL_DC_MODE)) { in f71805f_probe()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/hwmon/
H A Dsch5636.c66 u8 fan_ctrl[SCH5636_NO_FANS]; member
118 if (data->fan_ctrl[i] & SCH5636_FAN_DEACTIVATED) in sch5636_update_device()
135 data->fan_ctrl[i] = val; in sch5636_update_device()
260 val = (data->fan_ctrl[attr->index] & SCH5636_FAN_NOT_PRESENT) ? 1 : 0; in fan_fault_show()
274 val = (data->fan_ctrl[attr->index] & SCH5636_FAN_ALARM) ? 1 : 0; in fan_alarm_show()
460 data->fan_ctrl[i] = val; in sch5636_probe()
481 if (data->fan_ctrl[i/3] & SCH5636_FAN_DEACTIVATED) in sch5636_probe()
H A Daspeed-pwm-tacho.c480 u8 index, u8 fan_ctrl) in aspeed_set_pwm_port_fan_ctrl() argument
486 dc_time_on = (fan_ctrl * period) / PWM_MAX; in aspeed_set_pwm_port_fan_ctrl()
577 long fan_ctrl; in pwm_store() local
579 ret = kstrtol(buf, 10, &fan_ctrl); in pwm_store()
583 if (fan_ctrl < 0 || fan_ctrl > PWM_MAX) in pwm_store()
586 if (priv->pwm_port_fan_ctrl[index] == fan_ctrl) in pwm_store()
589 priv->pwm_port_fan_ctrl[index] = fan_ctrl; in pwm_store()
590 aspeed_set_pwm_port_fan_ctrl(priv, index, fan_ctrl); in pwm_store()
H A Df71805f.c180 u8 fan_ctrl[3]; member
393 data->fan_ctrl[nr] = f71805f_read8(data, in f71805f_update_device()
654 switch (data->fan_ctrl[nr] & FAN_CTRL_MODE_MASK) { in show_pwm_enable()
685 return sprintf(buf, "%d\n", pwm_mode_from_reg(data->fan_ctrl[nr])); in show_pwm_mode()
751 data->fan_ctrl[nr] = reg; in set_pwm_enable()
1355 data->fan_ctrl[i] = f71805f_read8(data, in f71805f_init_device()
1361 if (data->fan_ctrl[i] & FAN_CTRL_LATCH_FULL) { in f71805f_init_device()
1362 data->fan_ctrl[i] &= ~FAN_CTRL_LATCH_FULL; in f71805f_init_device()
1364 data->fan_ctrl[i]); in f71805f_init_device()
1447 if (!(data->fan_ctrl[i] & FAN_CTRL_DC_MODE)) { in f71805f_probe()
[all …]
/dports/sysutils/opencorsairlink/OpenCorsairLink-4234f4f/logic/
H A Doptions.c73 fan_suboptions_parse( optarg, &settings->fan_ctrl ); in options_parse()
/dports/sysutils/opencorsairlink/OpenCorsairLink-4234f4f/include/logic/
H A Doptions.h116 struct fan_control fan_ctrl; member
/dports/multimedia/libv4l/linux-5.13-rc2/arch/alpha/include/asm/
H A Dcore_titan.h361 u64 fan_ctrl; /* 0x40 */ member
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/alpha/include/asm/
H A Dcore_titan.h361 u64 fan_ctrl; /* 0x40 */ member
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/alpha/include/asm/
H A Dcore_titan.h361 u64 fan_ctrl; /* 0x40 */ member
/dports/multimedia/libv4l/linux-5.13-rc2/arch/alpha/kernel/
H A Derr_titan.c623 emchk->fan_ctrl, in privateer_process_680_frame()
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/alpha/kernel/
H A Derr_titan.c623 emchk->fan_ctrl, in privateer_process_680_frame()
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/alpha/kernel/
H A Derr_titan.c623 emchk->fan_ctrl, in privateer_process_680_frame()