Home
last modified time | relevance | path

Searched refs:set_pwm (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/hwmon/
H A Dpwm-fan.c225 static int set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm) in set_pwm() function
304 ret = set_pwm(ctx, val); in pwm_fan_write()
409 ret = set_pwm(ctx, ctx->pwm_fan_cooling_levels[state]); in pwm_fan_set_cur_state()
534 ret = set_pwm(ctx, MAX_PWM); in pwm_fan_probe()
672 return set_pwm(ctx, ctx->pwm_value); in pwm_fan_resume()
H A Ddme1737.c1259 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
1604 show_pwm, set_pwm, SYS_PWM, ix-1); \
1606 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
1608 show_pwm, set_pwm, SYS_PWM_ENABLE, ix-1); \
1610 show_pwm, set_pwm, SYS_PWM_RAMP_RATE, ix-1); \
1612 show_pwm, set_pwm, SYS_PWM_AUTO_CHANNELS_ZONE, ix-1); \
1614 show_pwm, set_pwm, SYS_PWM_AUTO_PWM_MIN, ix-1); \
1616 show_pwm, set_pwm, SYS_PWM_AUTO_POINT1_PWM, ix-1); \
1628 show_pwm, set_pwm, SYS_PWM, ix-1); \
1630 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
H A Dcorsair-cpro.c187 static int set_pwm(struct ccp_device *ccp, int channel, long val) in set_pwm() function
321 return set_pwm(ccp, channel, val); in ccp_write()
H A Dnzxt-smart2.c464 static int set_pwm(struct drvdata *drvdata, int channel, long val) in set_pwm() function
613 return set_pwm(drvdata, channel, val); in nzxt_smart2_hwmon_write()
H A Dvt1211.c621 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
1014 show_pwm, set_pwm, SHOW_SET_PWM_ENABLE, ix-1), \
1016 show_pwm, set_pwm, SHOW_SET_PWM_AUTO_CHANNELS_TEMP, ix-1)
1020 show_pwm, set_pwm, SHOW_SET_PWM_FREQ, ix-1)
H A Df75375s.c304 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
675 show_pwm, set_pwm, 0);
681 show_pwm, set_pwm, 1);
H A Df71805f.c688 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function
1079 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO, show_pwm, set_pwm, 0);
1085 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO, show_pwm, set_pwm, 1);
1091 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO, show_pwm, set_pwm, 2);
H A Dit87.c1590 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
1916 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
1946 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1);
1975 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 2);
2004 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 3);
2023 static SENSOR_DEVICE_ATTR(pwm5, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 4);
2042 static SENSOR_DEVICE_ATTR(pwm6, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 5);
/linux/drivers/pwm/
H A Dpwm-omap-dmtimer.c253 omap->pdata->set_pwm(omap->dm_timer, in pwm_omap_dmtimer_set_polarity()
291 omap->pdata->set_pwm(omap->dm_timer, in pwm_omap_dmtimer_apply()
349 !pdata->set_pwm || in pwm_omap_dmtimer_probe()
/linux/include/linux/platform_data/
H A Ddmtimer-omap.h36 int (*set_pwm)(struct omap_dm_timer *timer, int def_on, member
/linux/drivers/platform/x86/
H A Dcompal-laptop.c296 static void set_pwm(int pwm) in set_pwm() function
417 set_pwm(255); in pwm_enable_store()
421 set_pwm(data->curr_pwm); in pwm_enable_store()
455 set_pwm(val); in pwm_store()
/linux/drivers/clocksource/
H A Dtimer-ti-dm.c1238 .set_pwm = omap_dm_timer_set_pwm,