Home
last modified time | relevance | path

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

123

/drivers/hwmon/
Dadm1026.c278 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 …]
Dlm63.c158 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);
Damc6821.c153 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);
Dsmsc47m1.c426 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()
Dg760a.c156 static DEVICE_ATTR_RW(pwm1);
Dtc654.c426 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0);
Dthmc50.c267 static SENSOR_DEVICE_ATTR_RW(pwm1, analog_out, 0);
Dgpio-fan.c291 static DEVICE_ATTR_RW(pwm1);
Dmax6639.c344 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0);
Dg762.c990 static DEVICE_ATTR_RW(pwm1);
Dw83l786ng.c555 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
Daspeed-pwm-tacho.c648 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0);
Df75375s.c699 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR,
/drivers/pinctrl/qcom/
Dpinctrl-ipq8074.c885 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/
Dpsc-dm644x.c53 LPSC(24, 0, pwm1, pll1_auxclk, NULL, 0),
Dpsc-dm646x.c55 LPSC(30, 0, pwm1, pll1_sysclk3, NULL, LPSC_ALWAYS_ENABLED),
Dpsc-dm355.c59 LPSC(24, 0, pwm1, pll1_auxclk, NULL, 0),
Dpsc-dm365.c60 LPSC(24, 0, pwm1, pll1_auxclk, NULL, 0),
/drivers/pinctrl/bcm/
Dpinctrl-cygnus-mux.c528 CYGNUS_PIN_GROUP(pwm1, 0xc, 4, 0),
665 CYGNUS_PIN_FUNCTION(pwm1),
Dpinctrl-nsp-mux.c250 NSP_PIN_GROUP(pwm1, NSP_MUX_BASE1, 1, 0x01, 0x01),
/drivers/pinctrl/renesas/
Dpfc-emev2.c884 EMEV_MUX_PIN(pwm1, 121, PWM1);
1159 SH_PFC_PIN_GROUP(pwm1),
1414 SH_PFC_FUNCTION(pwm1),
/drivers/pinctrl/
Dpinctrl-bm1880.c375 BM1880_PINCTRL_GRP(pwm1),
663 BM1880_PINMUX_FUNCTION(pwm1, 2),
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/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c573 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/
Dcompal-laptop.c689 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, pwm_show, pwm_store);

123