Searched refs:pargs (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.10/drivers/clk/ |
| D | clk-pwm.c | 73 struct pwm_args pargs; in clk_pwm_probe() local 85 pwm_get_args(pwm, &pargs); in clk_pwm_probe() 86 if (!pargs.period) { in clk_pwm_probe() 92 clk_pwm->fixed_rate = div64_u64(NSEC_PER_SEC, pargs.period); in clk_pwm_probe() 99 if (pargs.period != NSEC_PER_SEC / clk_pwm->fixed_rate && in clk_pwm_probe() 100 pargs.period != DIV_ROUND_UP(NSEC_PER_SEC, clk_pwm->fixed_rate)) { in clk_pwm_probe() 111 ret = pwm_config(pwm, (pargs.period + 1) >> 1, pargs.period); in clk_pwm_probe()
|
| /Linux-v5.10/drivers/input/misc/ |
| D | max77693-haptic.c | 69 struct pwm_args pargs; in max77693_haptic_set_duty_cycle() local 73 pwm_get_args(haptic->pwm_dev, &pargs); in max77693_haptic_set_duty_cycle() 74 delta = (pargs.period + haptic->pwm_duty) / 2; in max77693_haptic_set_duty_cycle() 75 error = pwm_config(haptic->pwm_dev, delta, pargs.period); in max77693_haptic_set_duty_cycle() 236 struct pwm_args pargs; in max77693_haptic_play_effect() local 248 pwm_get_args(haptic->pwm_dev, &pargs); in max77693_haptic_play_effect() 249 period_mag_multi = (u64)pargs.period * haptic->magnitude; in max77693_haptic_play_effect()
|
| /Linux-v5.10/drivers/bus/ |
| D | ts-nbus.c | 279 struct pwm_args pargs; in ts_nbus_probe() local 302 pwm_get_args(pwm, &pargs); in ts_nbus_probe() 303 if (!pargs.period) { in ts_nbus_probe() 313 ret = pwm_config(pwm, pargs.period, pargs.period); in ts_nbus_probe()
|
| /Linux-v5.10/arch/arm/mach-omap2/ |
| D | omap-secure.h | 70 extern u32 omap_smc2(u32 id, u32 falg, u32 pargs); 71 extern u32 omap_smc3(u32 id, u32 process, u32 flag, u32 pargs);
|
| /Linux-v5.10/drivers/pwm/ |
| D | core.c | 697 struct pwm_args pargs; in pwm_adjust_config() local 699 pwm_get_args(pwm, &pargs); in pwm_adjust_config() 712 state.period = pargs.period; in pwm_adjust_config() 713 state.polarity = pargs.polarity; in pwm_adjust_config() 722 if (pargs.period != state.period) { in pwm_adjust_config() 723 u64 dutycycle = (u64)state.duty_cycle * pargs.period; in pwm_adjust_config() 727 state.period = pargs.period; in pwm_adjust_config() 733 if (pargs.polarity != state.polarity) { in pwm_adjust_config() 734 state.polarity = pargs.polarity; in pwm_adjust_config()
|
| /Linux-v5.10/drivers/hwmon/ |
| D | pwm-fan.c | 430 struct pwm_args pargs; in pwm_fan_resume() local 445 pwm_get_args(ctx->pwm, &pargs); in pwm_fan_resume() 446 duty = DIV_ROUND_UP_ULL(ctx->pwm_value * (pargs.period - 1), MAX_PWM); in pwm_fan_resume() 447 ret = pwm_config(ctx->pwm, duty, pargs.period); in pwm_fan_resume()
|
| /Linux-v5.10/Documentation/devicetree/bindings/iommu/ |
| D | ti,omap-iommu.txt | 13 and needs no additional data in the pargs specifier. Please
|