/drivers/hwmon/ |
D | adm1026.c | 289 struct pwm_data pwm1; /* Pwm control values */ member 362 data->pwm1.pwm = adm1026_read_value(client, in adm1026_update_device() 449 data->pwm1.enable = 2; in adm1026_update_device() 450 data->pwm1.auto_pwm_min = in adm1026_update_device() 451 PWM_MIN_FROM_REG(data->pwm1.pwm); in adm1026_update_device() 1255 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm1.pwm)); in show_pwm_reg() 1264 if (data->pwm1.enable == 1) { in set_pwm_reg() 1273 data->pwm1.pwm = PWM_TO_REG(val); in set_pwm_reg() 1274 adm1026_write_value(client, ADM1026_REG_PWM, data->pwm1.pwm); in set_pwm_reg() 1284 return sprintf(buf, "%d\n", data->pwm1.auto_pwm_min); in show_auto_pwm_min() [all …]
|
D | lm63.c | 170 u8 pwm1[13]; /* 0: current output member 223 data->pwm1[1 + i] = i2c_smbus_read_byte_data(client, in lm63_update_lut() 263 data->pwm1[0] = i2c_smbus_read_byte_data(client, in lm63_update_device() 326 if (data->pwm1[1 + i - 1] > data->pwm1[1 + i] in lm63_lut_looks_bad() 382 pwm = data->pwm1[nr]; in show_pwm1() 384 pwm = data->pwm1[nr] >= 2 * data->pwm1_freq ? in show_pwm1() 385 255 : (data->pwm1[nr] * 255 + data->pwm1_freq) / in show_pwm1() 413 data->pwm1[nr] = data->pwm_highres ? val : in set_pwm1() 415 i2c_smbus_write_byte_data(client, reg, data->pwm1[nr]); in set_pwm1() 755 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm1, set_pwm1, 0);
|
D | amc6821.c | 166 u8 pwm1; member 199 data->pwm1 = i2c_smbus_read_byte_data(client, in amc6821_update_device() 373 return sprintf(buf, "%d\n", data->pwm1); in get_pwm1() 390 data->pwm1 = clamp_val(val , 0, 255); in set_pwm1() 391 i2c_smbus_write_byte_data(client, AMC6821_REG_DCY, data->pwm1); in set_pwm1() 776 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm1, set_pwm1, 0);
|
D | smsc47m1.c | 711 int fan1, fan2, fan3, pwm1, pwm2, pwm3; in smsc47m1_probe() local 738 pwm1 = (smsc47m1_read_value(data, SMSC47M1_REG_PPIN(0)) & 0x05) in smsc47m1_probe() 759 if (!(fan1 || fan2 || fan3 || pwm1 || pwm2 || pwm3)) { in smsc47m1_probe() 799 if (pwm1) { in smsc47m1_probe()
|
D | g760a.c | 160 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm);
|
D | pwm-fan.c | 111 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
|
D | thmc50.c | 280 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_analog_out,
|
D | gpio-fan.c | 316 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm);
|
D | max6650.c | 540 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm);
|
D | max6639.c | 363 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0);
|
D | dell-smm-hwmon.c | 736 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, i8k_hwmon_show_pwm,
|
D | w83l786ng.c | 568 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
|
D | g762.c | 1007 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm);
|
D | f75375s.c | 714 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR,
|
D | asb100.c | 607 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm1, set_pwm1);
|
D | nct7802.c | 835 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm,
|
D | adm1031.c | 520 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
|
D | asc7621.c | 955 PWRITE(pwm1, 0, PRI_HIGH, 0x30, 0, 0, 0, u8),
|
/drivers/pinctrl/bcm/ |
D | pinctrl-cygnus-mux.c | 524 CYGNUS_PIN_GROUP(pwm1, 0xc, 4, 0), 661 CYGNUS_PIN_FUNCTION(pwm1),
|
D | pinctrl-nsp-mux.c | 250 NSP_PIN_GROUP(pwm1, NSP_MUX_BASE1, 1, 0x01, 0x01),
|
/drivers/pinctrl/sh-pfc/ |
D | pfc-emev2.c | 887 EMEV_MUX_PIN(pwm1, 121, PWM1); 1164 SH_PFC_PIN_GROUP(pwm1), 1400 SH_PFC_FUNCTION(pwm1),
|
/drivers/pinctrl/ |
D | pinctrl-palmas.c | 443 OD_INFO(pwm1, PU_PD_OD, PALMAS_OD_OUTPUT_CTRL, 0x20, 0x20, 0x0); 477 PIN_INFO(pwm1, PWM, NULL, &od_pwm1_info);
|
/drivers/platform/x86/ |
D | compal-laptop.c | 708 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, pwm_show, pwm_store);
|
D | eeepc-laptop.c | 1088 EEEPC_CREATE_SENSOR_ATTR_RW(pwm1, eeepc_get_fan_pwm,
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_hwmon.c | 434 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR,
|