Home
last modified time | relevance | path

Searched refs:pwm1 (Results 1 – 25 of 50) sorted by relevance

12

/drivers/hwmon/
Dadm1026.c289 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 …]
Dlm63.c170 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);
Damc6821.c166 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);
Dsmsc47m1.c711 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()
Dg760a.c160 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm);
Dpwm-fan.c111 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
Dthmc50.c280 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_analog_out,
Dgpio-fan.c316 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm);
Dmax6650.c540 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm);
Dmax6639.c363 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0);
Ddell-smm-hwmon.c736 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, i8k_hwmon_show_pwm,
Dw83l786ng.c568 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
Dg762.c1007 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm);
Df75375s.c714 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR,
Dasb100.c607 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm1, set_pwm1);
Dnct7802.c835 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm,
Dadm1031.c520 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
Dasc7621.c955 PWRITE(pwm1, 0, PRI_HIGH, 0x30, 0, 0, 0, u8),
/drivers/pinctrl/bcm/
Dpinctrl-cygnus-mux.c524 CYGNUS_PIN_GROUP(pwm1, 0xc, 4, 0),
661 CYGNUS_PIN_FUNCTION(pwm1),
Dpinctrl-nsp-mux.c250 NSP_PIN_GROUP(pwm1, NSP_MUX_BASE1, 1, 0x01, 0x01),
/drivers/pinctrl/sh-pfc/
Dpfc-emev2.c887 EMEV_MUX_PIN(pwm1, 121, PWM1);
1164 SH_PFC_PIN_GROUP(pwm1),
1400 SH_PFC_FUNCTION(pwm1),
/drivers/pinctrl/
Dpinctrl-palmas.c443 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/
Dcompal-laptop.c708 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, pwm_show, pwm_store);
Deeepc-laptop.c1088 EEEPC_CREATE_SENSOR_ATTR_RW(pwm1, eeepc_get_fan_pwm,
/drivers/gpu/drm/nouveau/
Dnouveau_hwmon.c434 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR,

12