Home
last modified time | relevance | path

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

12345678910>>...23

/linux/drivers/net/can/dev/
H A Dbittiming.c163 u32 pwms_ns = can_tqmin_to_ns(pwm->pwms, priv->clock.freq); in can_validate_pwm_bittiming()
180 if (pwm->pwms >= pwm->pwml) { in can_validate_pwm_bittiming()
183 pwm->pwms, pwm->pwml); in can_validate_pwm_bittiming()
194 if (xl_bit_time_tqmin % (pwm->pwms + pwm->pwml) != 0) { in can_validate_pwm_bittiming()
197 pwm->pwms + pwm->pwml, xl_bit_time_tqmin); in can_validate_pwm_bittiming()
201 if (pwm->pwmo >= pwm->pwms + pwm->pwml) { in can_validate_pwm_bittiming()
204 pwm->pwmo, pwm->pwms + pwm->pwml); in can_validate_pwm_bittiming()
208 if (nom_bit_time_tqmin % (pwm->pwms + pwm->pwml) != pwm->pwmo) { in can_validate_pwm_bittiming()
/linux/Documentation/devicetree/bindings/pwm/
H A 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>;
H A Dpwm-lp3943.txt44 pwms = <&pwm3943 0 10000>;
55 pwms = <&pwm3943 1 10000>;
/linux/arch/arm/boot/dts/rockchip/
H A Drv1109-relfor-saib.dts36 pwms = <&pwm11 0 10000000 1>;
50 pwms = <&pwm9 0 50000 0>;
56 pwms = <&pwm6 0 50000 0>;
62 pwms = <&pwm10 0 50000 0>;
71 pwms = <&pwm2 0 50000 0>;
77 pwms = <&pwm8 0 50000 0>;
83 pwms = <&pwm5 0 50000 0>;
173 pwms = <&pwm0 0 5000 1>;
186 pwms = <&pwm1 0 5000 1>;
/linux/arch/riscv/boot/dts/sifive/
H A Dhifive-unleashed-a00.dts52 pwms = <&pwm0 0 7812500 0>;
59 pwms = <&pwm0 1 7812500 0>;
66 pwms = <&pwm0 2 7812500 0>;
73 pwms = <&pwm0 3 7812500 0>;
H A Dhifive-unmatched-a00.dts52 pwms = <&pwm1 2 7812500 0>;
57 pwms = <&pwm1 3 7812500 0>;
64 pwms = <&pwm0 0 7812500 0>;
80 pwms = <&pwm0 2 7812500 0>;
85 pwms = <&pwm0 1 7812500 0>;
90 pwms = <&pwm0 3 7812500 0>;
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-catalina.dts459 pwms = <&fanctl2 0 40000>;
463 pwms = <&fanctl2 0 40000>;
467 pwms = <&fanctl2 4 40000>;
471 pwms = <&fanctl2 4 40000>;
475 pwms = <&fanctl2 6 40000>;
479 pwms = <&fanctl2 6 40000>;
483 pwms = <&fanctl2 10 40000>;
487 pwms = <&fanctl2 10 40000>;
497 pwms = <&fanctl3 0 40000>;
501 pwms = <&fanctl3 0 40000>;
[all …]
/linux/arch/arm/boot/dts/microchip/
H A Dat91-kizbox.dts54 pwms = <&tcb1_pwm1 0 10000000 PWM_POLARITY_INVERTED>;
61 pwms = <&tcb1_pwm2 0 10000000 PWM_POLARITY_INVERTED>;
68 pwms = <&tcb1_pwm0 0 10000000 PWM_POLARITY_INVERTED>;
75 pwms = <&tcb1_pwm0 1 10000000 PWM_POLARITY_INVERTED>;
H A Dat91-kizboxmini-common.dtsi60 pwms = <&pwm0 2 10000000 0>;
68 pwms = <&pwm0 0 10000000 0>;
75 pwms = <&pwm0 1 10000000 0>;
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-jozacp.dts29 pwms = <&pwm1 0 10000000 0>;
37 pwms = <&pwm3 0 10000000 0>;
45 pwms = <&pwm5 0 10000000 0>;
59 pwms = <&pwm2 0 10000000 0>;
67 pwms = <&pwm4 0 10000000 0>;
75 pwms = <&pwm6 0 10000000 0>;
H A Dimx6qdl-tx6-mb7.dtsi8 pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>;
13 pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>;
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm958625-meraki-mx6x-common.dtsi20 pwms = <&pwm 1 50000 0>;
27 pwms = <&pwm 2 50000 0>;
34 pwms = <&pwm 3 50000 0>;
H A Dbcm53016-meraki-mr32.dts65 pwms = <&pwm 0 50000 0>;
73 pwms = <&pwm 1 50000 0>;
81 pwms = <&pwm 2 50000 0>;
/linux/arch/arm/boot/dts/st/
H A Dstm32mp157c-lxa-tac-gen2.dts23 pwms = <&led_pwm 3 1000000 0>;
46 pwms = <&led_pwm 0 1000000 0>;
52 pwms = <&led_pwm 2 1000000 0>;
58 pwms = <&led_pwm 1 1000000 0>;
H A Dstm32mp153c-lxa-tac-gen3.dts23 pwms = <&led_pwm 3 1000000 0>;
46 pwms = <&led_pwm 0 1000000 0>;
52 pwms = <&led_pwm 2 1000000 0>;
58 pwms = <&led_pwm 1 1000000 0>;
H A Dstm32mp157c-lxa-mc1.dts29 pwms = <&backlight_pwm 1 100000 PWM_POLARITY_INVERTED>;
55 pwms = <&leds_pwm 1 1000000 0>;
62 pwms = <&leds_pwm 2 1000000 0>;
69 pwms = <&leds_pwm 3 1000000 0>;
H A Dstm32mp133c-prihmb.dts69 pwms = <&pwm2 2 1000000 1>;
75 pwms = <&pwm1 1 1000000 1>;
81 pwms = <&pwm1 2 1000000 1>;
97 pwms = <&pwm1 0 1000000 1>;
103 pwms = <&pwm2 0 1000000 1>;
109 pwms = <&pwm2 1 1000000 1>;
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12b-odroid-n2-plus.dts22 pwms = <&pwm_ab 0 1500 0>;
29 pwms = <&pwm_AO_cd 1 1500 0>;
H A Dmeson-g12b-khadas-vim3.dtsi23 pwms = <&pwm_ab 0 1250 0>;
42 pwms = <&pwm_AO_cd 1 1250 0>;
/linux/drivers/pwm/
H A Dpwm-atmel-tcb.c57 struct atmel_tcb_pwm_device pwms[NPWM]; member
72 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_request()
126 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_disable()
180 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_enable()
262 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_config()
264 struct atmel_tcb_pwm_device *atcbpwm = &tcbpwmc->pwms[pwm->hwpwm ^ 1]; in atmel_tcb_pwm_config()
/linux/arch/arm/boot/dts/samsung/
H A Dexynos54xx-odroidxu-leds.dtsi22 pwms = <&pwm 1 2000000 0>;
35 pwms = <&pwm 2 2000000 0>;
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3588-orangepi-5-ultra.dts59 pwms = <&pwm4 0 25000 PWM_POLARITY_INVERTED>;
63 pwms = <&pwm5 0 25000 PWM_POLARITY_INVERTED>;
H A Drk3588s-orangepi-cm5-base.dts61 pwms = <&pwm2 0 25000 0>;
68 pwms = <&pwm4 0 25000 PWM_POLARITY_INVERTED>;
76 pwms = <&pwm5 0 25000 PWM_POLARITY_INVERTED>;
84 pwms = <&pwm6 0 25000 0>;
H A Drk3588-orangepi-5-max.dts97 pwms = <&pwm4 0 25000 0>;
101 pwms = <&pwm5 0 25000 0>;
/linux/drivers/hwmon/
H A Dabituguru.c177 static int pwms; variable
178 module_param(pwms, int, 0);
179 MODULE_PARM_DESC(pwms, "Number of PWMs on the uGuru "
246 u8 pwms; /* actual number of pwms found */ member
689 if (pwms > 0 && pwms <= ABIT_UGURU_MAX_PWMS) { in abituguru_detect_no_pwms()
690 data->pwms = pwms; in abituguru_detect_no_pwms()
692 "\"pwms\" module param\n", (int)data->pwms); in abituguru_detect_no_pwms()
776 data->pwms = i; in abituguru_detect_no_pwms()
777 ABIT_UGURU_DEBUG(2, " found: %d PWM outputs\n", (int)data->pwms); in abituguru_detect_no_pwms()
1379 for (i = 0; i < data->pwms; i++) { in abituguru_probe()

12345678910>>...23