Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hwmon/
Dpwm-fan.c223 static int set_pwm(struct pwm_fan_ctx *ctx, unsigned long pwm) in set_pwm() function
302 ret = set_pwm(ctx, val); in pwm_fan_write()
407 ret = set_pwm(ctx, ctx->pwm_fan_cooling_levels[state]); in pwm_fan_set_cur_state()
526 ret = set_pwm(ctx, MAX_PWM); in pwm_fan_probe()
656 return set_pwm(ctx, ctx->pwm_value); in pwm_fan_resume()
Dcorsair-cpro.c167 static int set_pwm(struct ccp_device *ccp, int channel, long val) in set_pwm() function
301 return set_pwm(ccp, channel, val); in ccp_write()
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); \
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()
Dvt1211.c627 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
1020 show_pwm, set_pwm, SHOW_SET_PWM_ENABLE, ix-1), \
1022 show_pwm, set_pwm, SHOW_SET_PWM_AUTO_CHANNELS_TEMP, ix-1)
1026 show_pwm, set_pwm, SHOW_SET_PWM_FREQ, ix-1)
Df75375s.c329 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
700 show_pwm, set_pwm, 0);
706 show_pwm, set_pwm, 1);
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);
Dit87.c1367 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
1656 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
1686 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1);
1715 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 2);
1744 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 3);
1763 static SENSOR_DEVICE_ATTR(pwm5, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 4);
1782 static SENSOR_DEVICE_ATTR(pwm6, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 5);
/linux-6.1.9/drivers/pwm/
Dpwm-omap-dmtimer.c258 omap->pdata->set_pwm(omap->dm_timer, in pwm_omap_dmtimer_set_polarity()
298 omap->pdata->set_pwm(omap->dm_timer, in pwm_omap_dmtimer_apply()
359 !pdata->set_pwm || in pwm_omap_dmtimer_probe()
/linux-6.1.9/include/linux/platform_data/
Ddmtimer-omap.h36 int (*set_pwm)(struct omap_dm_timer *timer, int def_on, member
/linux-6.1.9/drivers/platform/x86/
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-6.1.9/drivers/clocksource/
Dtimer-ti-dm.c1202 .set_pwm = omap_dm_timer_set_pwm,