Home
last modified time | relevance | path

Searched refs:pargs (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/clk/
Dclk-pwm.c73 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-6.1.9/drivers/input/misc/
Dmax77693-haptic.c69 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-6.1.9/drivers/bus/
Dts-nbus.c276 struct pwm_args pargs; in ts_nbus_probe() local
299 pwm_get_args(pwm, &pargs); in ts_nbus_probe()
300 if (!pargs.period) { in ts_nbus_probe()
310 ret = pwm_config(pwm, pargs.period, pargs.period); in ts_nbus_probe()
/linux-6.1.9/arch/arm/mach-omap2/
Domap-secure.h71 extern u32 omap_smc2(u32 id, u32 falg, u32 pargs);
72 extern u32 omap_smc3(u32 id, u32 process, u32 flag, u32 pargs);
/linux-6.1.9/drivers/pwm/
Dcore.c629 struct pwm_args pargs; in pwm_adjust_config() local
631 pwm_get_args(pwm, &pargs); in pwm_adjust_config()
644 state.period = pargs.period; in pwm_adjust_config()
645 state.polarity = pargs.polarity; in pwm_adjust_config()
654 if (pargs.period != state.period) { in pwm_adjust_config()
655 u64 dutycycle = (u64)state.duty_cycle * pargs.period; in pwm_adjust_config()
659 state.period = pargs.period; in pwm_adjust_config()
665 if (pargs.polarity != state.polarity) { in pwm_adjust_config()
666 state.polarity = pargs.polarity; in pwm_adjust_config()
/linux-6.1.9/Documentation/devicetree/bindings/iommu/
Dti,omap-iommu.txt13 and needs no additional data in the pargs specifier. Please