Searched refs:pwm_freq (Results 1 – 14 of 14) sorted by relevance
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| H A D | fanpwm.c | 67 if (fan->base.bios.pwm_freq) { in nvkm_fanpwm_set() 71 divs /= fan->base.bios.pwm_freq; in nvkm_fanpwm_set()
|
| H A D | fan.c | 186 therm->fan->bios.pwm_freq = 0; in nvkm_therm_fan_set_defaults()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| H A D | therm.c | 187 if (!fan->pwm_freq) in nvbios_therm_fan_parse() 188 fan->pwm_freq = value; in nvbios_therm_fan_parse()
|
| H A D | fan.c | 90 fan->pwm_freq = nvbios_rd32(bios, data + 0x0b) & 0xffffff; in nvbios_fan_parse()
|
| H A D | volt.c | 110 info->pwm_freq = nvbios_rd32(bios, volt + 0x5) / 1000; in nvbios_volt_parse()
|
| /linux/drivers/hwmon/ |
| H A D | lm85.c | 310 u8 pwm_freq[3]; /* Register encoding */ member 510 data->pwm_freq[i] = val % data->freq_map_size; in lm85_update_device() 788 data->pwm_freq[nr]); in pwm_freq_show() 817 data->pwm_freq[nr] = FREQ_TO_REG(data->freq_map, in pwm_freq_store() 821 | data->pwm_freq[nr]); in pwm_freq_store() 833 static SENSOR_DEVICE_ATTR_RW(pwm1_freq, pwm_freq, 0); 836 static SENSOR_DEVICE_ATTR_RW(pwm2_freq, pwm_freq, 1); 839 static SENSOR_DEVICE_ATTR_RW(pwm3_freq, pwm_freq, 2); 1203 | data->pwm_freq[nr]); in temp_auto_temp_min_store() 1241 | data->pwm_freq[nr]); in temp_auto_temp_max_store()
|
| H A D | asc7621.c | 971 PWRITE(pwm1_freq, 0, PRI_LOW, 0x5f, 0, 0x0f, 0, pwm_freq), 972 PWRITE(pwm2_freq, 1, PRI_LOW, 0x60, 0, 0x0f, 0, pwm_freq), 973 PWRITE(pwm3_freq, 2, PRI_LOW, 0x61, 0, 0x0f, 0, pwm_freq),
|
| H A D | lm93.c | 551 enum pwm_freq { LM93_PWM_MAP_HI_FREQ, LM93_PWM_MAP_LO_FREQ }; enum 576 static int LM93_PWM_FROM_REG(u8 reg, enum pwm_freq freq) in LM93_PWM_FROM_REG() 582 static u8 LM93_PWM_TO_REG(int pwm, enum pwm_freq freq) in LM93_PWM_TO_REG() 1915 static SENSOR_DEVICE_ATTR_RW(pwm1_freq, pwm_freq, 0); 1916 static SENSOR_DEVICE_ATTR_RW(pwm2_freq, pwm_freq, 1);
|
| H A D | it87.c | 730 static const unsigned int pwm_freq[8] = { variable 1384 freq = pwm_freq[index] / (has_newer_autopwm(data) ? 256 : 128); in show_pwm_freq() 1654 if (val > (pwm_freq[i] + pwm_freq[i + 1]) / 2) in set_pwm_freq()
|
| /linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
| H A D | volt.h | 22 u32 pwm_freq; member
|
| H A D | therm.h | 47 u32 pwm_freq; member
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
| H A D | gk104.c | 59 div = 27648000 / bios->pwm_freq; in gk104_volt_set()
|
| /linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
| H A D | dcn31_panel_cntl.c | 73 uint32_t freq_to_set = panel_cntl->ctx->dc->debug.pwm_freq; in dcn31_panel_cntl_hw_init()
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc.h | 1178 uint32_t pwm_freq; member
|