Home
last modified time | relevance | path

Searched refs:pwms (Results 1 – 25 of 237) sorted by relevance

12345678910

/Linux-v4.19/Documentation/devicetree/bindings/pwm/
Dpwm.txt16 PWM properties should be named "pwms". The exact meaning of each pwms
19 each of the PWM devices listed in the "pwms" property. If no "pwm-names"
24 pwm_get() call to an index into the list given by the "pwms" property.
36 pwms = <&pwm 0 5000000>;
53 pwms = <&pwm 0 5000000 PWM_POLARITY_INVERTED>;
Datmel-pwm.txt25 pwms = <&pwm0 3 5000 0>
31 pwms = <&pwm0 1 5000 1>
Dpwm-lp3943.txt44 pwms = <&pwm3943 0 10000>;
55 pwms = <&pwm3943 1 10000>;
/Linux-v4.19/Documentation/devicetree/bindings/leds/
Dleds-pwm.txt10 - pwms : PWM property to point to the PWM device (phandle)/port (id) and to
13 For the pwms and pwm-names property please refer to:
41 pwms = <&twl_pwm 0 7812500>;
47 pwms = <&twl_pwmled 0 7812500>;
/Linux-v4.19/Documentation/devicetree/bindings/leds/backlight/
Dpwm-backlight.txt5 - pwms: OF device-tree PWM specification (see PWM binding[0])
10 "pwms" property (see PWM binding[0])
38 pwms = <&pwm 0 5000000>;
53 pwms = <&pwm 0 5000000>;
/Linux-v4.19/arch/arm/boot/dts/
Dat91-kizbox.dts145 pwms = <&tcb_pwm 2 10000000 PWM_POLARITY_INVERTED>;
152 pwms = <&tcb_pwm 4 10000000 PWM_POLARITY_INVERTED>;
159 pwms = <&tcb_pwm 0 10000000 PWM_POLARITY_INVERTED>;
166 pwms = <&tcb_pwm 1 10000000 PWM_POLARITY_INVERTED>;
Dtegra30-colibri-eval-v3.dts125 pwms = <&pwm 0 5000000>;
169 pwms = <&pwm 1 19600>;
174 pwms = <&pwm 2 19600>;
179 pwms = <&pwm 3 19600>;
Dexynos54xx-odroidxu-leds.dtsi19 pwms = <&pwm 1 2000000 0>;
31 pwms = <&pwm 2 2000000 0>;
Dtegra30-apalis-eval.dts189 pwms = <&pwm 0 5000000>;
223 pwms = <&pwm 3 19600>;
229 pwms = <&pwm 2 19600>;
235 pwms = <&pwm 1 19600>;
Dberlin2cd-google-chromecast.dts44 pwms = <&pwm 0 600000 0>;
51 pwms = <&pwm 1 600000 0>;
Dat91-kizbox2.dts226 pwms = <&pwm0 2 10000000 0>;
233 pwms = <&pwm0 1 10000000 0>;
240 pwms = <&pwm0 0 10000000 0>;
/Linux-v4.19/Documentation/devicetree/bindings/media/
Dnokia,n900-ir5 - pwms: specifies PWM used for IR signal transmission.
19 pwms = <&pwm9 0 26316 0>; /* 38000 Hz */
/Linux-v4.19/Documentation/devicetree/bindings/leds/irled/
Dpwm-ir-tx.txt6 - pwms : PWM property to point to the PWM device (phandle)/port (id)
12 pwms = <&pwm0 0 10000000>;
/Linux-v4.19/Documentation/devicetree/bindings/input/
Dpwm-beeper.txt7 - pwms: phandle to the physical PWM device
22 pwms = <&pwm0>;
Dpwm-vibrator.txt14 - pwms: Should contain a PWM handle for each entry in pwm-names
61 pwms = <&pwm8 0 1000000000 0>,
/Linux-v4.19/Documentation/devicetree/bindings/hwmon/
Dpwm-fan.txt5 - pwms : the PWM that is used to control the PWM fan
15 pwms = <&pwm 0 10000 0>;
/Linux-v4.19/drivers/pwm/
Dpwm-lpc32xx.c134 val = readl(lpc32xx->base + (lpc32xx->chip.pwms[0].hwpwm << 2)); in lpc32xx_pwm_probe()
136 writel(val, lpc32xx->base + (lpc32xx->chip.pwms[0].hwpwm << 2)); in lpc32xx_pwm_probe()
149 pwm_disable(&lpc32xx->chip.pwms[i]); in lpc32xx_pwm_remove()
Dcore.c77 struct pwm_device *pwm = &chip->pwms[i]; in free_pwms()
84 kfree(chip->pwms); in free_pwms()
85 chip->pwms = NULL; in free_pwms()
282 chip->pwms = kcalloc(chip->npwm, sizeof(*pwm), GFP_KERNEL); in pwmchip_add_with_polarity()
283 if (!chip->pwms) { in pwmchip_add_with_polarity()
291 pwm = &chip->pwms[i]; in pwmchip_add_with_polarity()
356 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_remove()
437 pwm = &chip->pwms[index]; in pwm_request_from_chip()
985 struct pwm_device *pwm = &chip->pwms[i]; in pwm_dbg_show()
Dpwm-atmel-tcb.c52 struct atmel_tcb_pwm_device *pwms[NPWM]; member
125 tcbpwmc->pwms[pwm->hwpwm] = tcbpwm; in atmel_tcb_pwm_request()
137 tcbpwmc->pwms[pwm->hwpwm] = NULL; in atmel_tcb_pwm_free()
334 atcbpwm = tcbpwmc->pwms[pwm->hwpwm + 1]; in atmel_tcb_pwm_config()
336 atcbpwm = tcbpwmc->pwms[pwm->hwpwm - 1]; in atmel_tcb_pwm_config()
Dpwm-atmel-hlcdc.c200 if (pwm_is_enabled(&chip->chip.pwms[0])) in atmel_hlcdc_pwm_suspend()
212 pwm_get_state(&chip->chip.pwms[0], &state); in atmel_hlcdc_pwm_resume()
221 return atmel_hlcdc_pwm_apply(&chip->chip, &chip->chip.pwms[0], &state); in atmel_hlcdc_pwm_resume()
Dpwm-lp3943.c48 pwm_map->output = pdata->pwms[hwpwm]->output; in lp3943_pwm_request_map()
49 pwm_map->num_outputs = pdata->pwms[hwpwm]->num_outputs; in lp3943_pwm_request_map()
244 pdata->pwms[i] = pwm_map; in lp3943_pwm_parse_dt()
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Dpwm-clock.txt11 - pwms : from common PWM binding; this determines the clock frequency
25 pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */
/Linux-v4.19/Documentation/devicetree/bindings/regulator/
Dpwm-regulator.txt30 - pwms: PWM specification (See: ../pwm/pwm.txt)
63 pwms = <&pwm1 0 8448 0>;
80 pwms = <&pwm1 0 8448 0>;
/Linux-v4.19/Documentation/devicetree/bindings/bus/
Dts-nbus.txt10 - pwms : The PWM bound to the FPGA
30 pwms = <&pwm 2 83>;
/Linux-v4.19/drivers/hwmon/
Dabituguru.c190 static int pwms; variable
191 module_param(pwms, int, 0);
192 MODULE_PARM_DESC(pwms, "Number of PWMs on the uGuru "
259 u8 pwms; /* actual number of pwms found */ member
702 if (pwms > 0 && pwms <= ABIT_UGURU_MAX_PWMS) { in abituguru_detect_no_pwms()
703 data->pwms = pwms; in abituguru_detect_no_pwms()
705 "\"pwms\" module param\n", (int)data->pwms); in abituguru_detect_no_pwms()
789 data->pwms = i; in abituguru_detect_no_pwms()
790 ABIT_UGURU_DEBUG(2, " found: %d PWM outputs\n", (int)data->pwms); in abituguru_detect_no_pwms()
1392 for (i = 0; i < data->pwms; i++) { in abituguru_probe()

12345678910