/drivers/hwmon/ |
D | adm1026.c | 278 struct pwm_data pwm1; /* Pwm control values */ member 351 data->pwm1.pwm = adm1026_read_value(client, in adm1026_update_device() 438 data->pwm1.enable = 2; in adm1026_update_device() 439 data->pwm1.auto_pwm_min = in adm1026_update_device() 440 PWM_MIN_FROM_REG(data->pwm1.pwm); in adm1026_update_device() 1267 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm1.pwm)); in pwm1_show() 1276 if (data->pwm1.enable == 1) { in pwm1_store() 1285 data->pwm1.pwm = PWM_TO_REG(val); in pwm1_store() 1286 adm1026_write_value(client, ADM1026_REG_PWM, data->pwm1.pwm); in pwm1_store() 1297 return sprintf(buf, "%d\n", data->pwm1.auto_pwm_min); in temp1_auto_point1_pwm_show() [all …]
|
D | lm63.c | 158 u8 pwm1[13]; /* 0: current output member 211 data->pwm1[1 + i] = i2c_smbus_read_byte_data(client, in lm63_update_lut() 251 data->pwm1[0] = i2c_smbus_read_byte_data(client, in lm63_update_device() 314 if (data->pwm1[1 + i - 1] > data->pwm1[1 + i] in lm63_lut_looks_bad() 370 pwm = data->pwm1[nr]; in show_pwm1() 372 pwm = data->pwm1[nr] >= 2 * data->pwm1_freq ? in show_pwm1() 373 255 : (data->pwm1[nr] * 255 + data->pwm1_freq) / in show_pwm1() 401 data->pwm1[nr] = data->pwm_highres ? val : in set_pwm1() 403 i2c_smbus_write_byte_data(client, reg, data->pwm1[nr]); in set_pwm1() 744 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm1, set_pwm1, 0);
|
D | amc6821.c | 153 u8 pwm1; member 186 data->pwm1 = i2c_smbus_read_byte_data(client, in amc6821_update_device() 349 return sprintf(buf, "%d\n", data->pwm1); in pwm1_show() 364 data->pwm1 = clamp_val(val , 0, 255); in pwm1_store() 365 i2c_smbus_write_byte_data(client, AMC6821_REG_DCY, data->pwm1); in pwm1_store() 712 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm1, 0);
|
D | smsc47m1.c | 426 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0); 714 int fan1, fan2, fan3, pwm1, pwm2, pwm3; in smsc47m1_probe() local 741 pwm1 = (smsc47m1_read_value(data, SMSC47M1_REG_PPIN(0)) & 0x05) in smsc47m1_probe() 762 if (!(fan1 || fan2 || fan3 || pwm1 || pwm2 || pwm3)) { in smsc47m1_probe() 802 if (pwm1) { in smsc47m1_probe()
|
D | g760a.c | 156 static DEVICE_ATTR_RW(pwm1);
|
D | tc654.c | 426 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0);
|
D | thmc50.c | 267 static SENSOR_DEVICE_ATTR_RW(pwm1, analog_out, 0);
|
D | gpio-fan.c | 291 static DEVICE_ATTR_RW(pwm1);
|
D | max6639.c | 344 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0);
|
D | g762.c | 990 static DEVICE_ATTR_RW(pwm1);
|
D | w83l786ng.c | 555 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
|
D | aspeed-pwm-tacho.c | 648 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0);
|
D | f75375s.c | 699 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR,
|
/drivers/pinctrl/qcom/ |
D | pinctrl-ipq8074.c | 885 FUNCTION(pwm1), 947 PINGROUP(19, led1, pwm1, NA, qdss_tracedata_b, NA, NA, NA, NA, NA), 951 PINGROUP(22, pwm1, blsp4_uart1, blsp4_i2c1, blsp4_spi1, wci2d, mac1_sa1, 959 PINGROUP(26, audio_txbclk, pwm1, NA, qdss_tracedata_b, NA, NA, NA, NA, 967 PINGROUP(30, audio_rxbclk, pwm1, atest_char1, NA, qdss_tracedata_b, 1018 PINGROUP(64, pta1_1, pwm1, NA, rx1, NA, NA, NA, NA, NA),
|
/drivers/clk/davinci/ |
D | psc-dm644x.c | 53 LPSC(24, 0, pwm1, pll1_auxclk, NULL, 0),
|
D | psc-dm646x.c | 55 LPSC(30, 0, pwm1, pll1_sysclk3, NULL, LPSC_ALWAYS_ENABLED),
|
D | psc-dm355.c | 59 LPSC(24, 0, pwm1, pll1_auxclk, NULL, 0),
|
D | psc-dm365.c | 60 LPSC(24, 0, pwm1, pll1_auxclk, NULL, 0),
|
/drivers/pinctrl/bcm/ |
D | pinctrl-cygnus-mux.c | 528 CYGNUS_PIN_GROUP(pwm1, 0xc, 4, 0), 665 CYGNUS_PIN_FUNCTION(pwm1),
|
D | pinctrl-nsp-mux.c | 250 NSP_PIN_GROUP(pwm1, NSP_MUX_BASE1, 1, 0x01, 0x01),
|
/drivers/pinctrl/renesas/ |
D | pfc-emev2.c | 884 EMEV_MUX_PIN(pwm1, 121, PWM1); 1159 SH_PFC_PIN_GROUP(pwm1), 1414 SH_PFC_FUNCTION(pwm1),
|
/drivers/pinctrl/ |
D | pinctrl-bm1880.c | 375 BM1880_PINCTRL_GRP(pwm1), 663 BM1880_PINMUX_FUNCTION(pwm1, 2),
|
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/pinctrl/nuvoton/ |
D | pinctrl-npcm7xx.c | 573 NPCM7XX_GRP(pwm1), \ 716 NPCM7XX_SFUNC(pwm1); 834 NPCM7XX_MKFUNC(pwm1), 1007 NPCM7XX_PINCFG(81, pwm1, MFSEL2, 17, none, NONE, 0, none, NONE, 0, DSTR(4, 8)),
|
/drivers/platform/x86/ |
D | compal-laptop.c | 689 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, pwm_show, pwm_store);
|