Home
last modified time | relevance | path

Searched refs:pwm_period (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/input/misc/
A Dmax8997_haptic.c45 unsigned int pwm_period; member
61 unsigned int duty = chip->pwm_period * chip->level / 100; in max8997_haptic_set_duty_cycle()
62 ret = pwm_config(chip->pwm, duty, chip->pwm_period); in max8997_haptic_set_duty_cycle()
266 chip->pwm_period = haptic_pdata->pwm_period; in max8997_haptic_probe()
/linux-6.3-rc2/drivers/hwmon/
A Daxi-fan-control.c110 u32 pwm_period = axi_ioread(ADI_REG_PWM_PERIOD, ctl); in axi_fan_control_get_pwm_duty() local
115 return DIV_ROUND_CLOSEST(pwm_width * SYSFS_PWM_MAX, pwm_period); in axi_fan_control_get_pwm_duty()
121 u32 pwm_period = axi_ioread(ADI_REG_PWM_PERIOD, ctl); in axi_fan_control_set_pwm_duty() local
125 new_width = DIV_ROUND_CLOSEST(__val * pwm_period, SYSFS_PWM_MAX); in axi_fan_control_set_pwm_duty()
/linux-6.3-rc2/include/linux/platform_data/
A Dlm3630a_bl.h61 unsigned int pwm_period; member
/linux-6.3-rc2/include/linux/mfd/
A Dmax8997.h129 unsigned int pwm_period; member
/linux-6.3-rc2/drivers/comedi/drivers/
A Dusbduxsigma.c141 unsigned int pwm_period; member
1086 devpriv->pwm_period = period; in usbduxsigma_pwm_period()
1191 data[1] = devpriv->pwm_period; in usbduxsigma_pwm_config()
A Dusbdux.c178 unsigned int pwm_period; member
1238 devpriv->pwm_period = period; in usbdux_pwm_period()
1348 data[1] = devpriv->pwm_period; in usbdux_pwm_config()
/linux-6.3-rc2/drivers/clk/tegra/
A Dclk-dfll.c1849 u32 pwm_period; in dfll_fetch_pwm_params() local
1867 ret = read_dt_param(td, "nvidia,pwm-period-nanoseconds", &pwm_period); in dfll_fetch_pwm_params()
1872 td->pwm_rate = (NSEC_PER_SEC / pwm_period) * (MAX_DFLL_VOLTAGES - 1); in dfll_fetch_pwm_params()
/linux-6.3-rc2/drivers/video/backlight/
A Dlm3630a_bl.c175 pchip->pwmd_state.period = pchip->pdata->pwm_period; in lm3630a_pwm_ctrl()

Completed in 31 milliseconds