Searched refs:pargs (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/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-v6.6/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-v6.6/drivers/bus/ |
D | ts-nbus.c | 276 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-v6.6/arch/arm/mach-omap2/ |
D | omap-secure.h | 71 extern u32 omap_smc2(u32 id, u32 falg, u32 pargs); 72 extern u32 omap_smc3(u32 id, u32 process, u32 flag, u32 pargs);
|
/Linux-v6.6/drivers/pwm/ |
D | core.c | 578 struct pwm_args pargs; in pwm_adjust_config() local 580 pwm_get_args(pwm, &pargs); in pwm_adjust_config() 593 state.period = pargs.period; in pwm_adjust_config() 594 state.polarity = pargs.polarity; in pwm_adjust_config() 603 if (pargs.period != state.period) { in pwm_adjust_config() 604 u64 dutycycle = (u64)state.duty_cycle * pargs.period; in pwm_adjust_config() 608 state.period = pargs.period; in pwm_adjust_config() 614 if (pargs.polarity != state.polarity) { in pwm_adjust_config() 615 state.polarity = pargs.polarity; in pwm_adjust_config()
|
/Linux-v6.6/include/linux/ |
D | cpufreq.h | 1133 struct of_phandle_args *pargs) in of_perf_domain_get_sharing_cpumask() argument 1138 ret = parse_perf_domain(pcpu, list_name, cell_name, pargs); in of_perf_domain_get_sharing_cpumask() 1152 if (pargs->np == args.np && pargs->args_count == args.args_count && in of_perf_domain_get_sharing_cpumask() 1153 !memcmp(pargs->args, args.args, sizeof(args.args[0]) * args.args_count)) in of_perf_domain_get_sharing_cpumask() 1190 struct of_phandle_args *pargs) in of_perf_domain_get_sharing_cpumask() argument
|
/Linux-v6.6/Documentation/devicetree/bindings/iommu/ |
D | ti,omap-iommu.txt | 13 and needs no additional data in the pargs specifier. Please
|