/Linux-v6.1/Documentation/devicetree/bindings/pwm/ |
D | pwm.txt | 16 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>;
|
D | pwm-lp3943.txt | 44 pwms = <&pwm3943 0 10000>; 55 pwms = <&pwm3943 1 10000>;
|
/Linux-v6.1/Documentation/devicetree/bindings/hwmon/ |
D | pwm-fan.txt | 5 - pwms : the PWM that is used to control the PWM fan 26 pwms = <&pwm 0 10000 0>; 53 pwms = <&pwm 0 40000 0>; 63 pwms = <&pwm1 0 25000 0>;
|
/Linux-v6.1/drivers/pwm/ |
D | pwm-atmel-tcb.c | 60 struct atmel_tcb_pwm_device *pwms[NPWM]; member 76 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_set_polarity() 134 tcbpwmc->pwms[pwm->hwpwm] = tcbpwm; in atmel_tcb_pwm_request() 142 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_free() 145 tcbpwmc->pwms[pwm->hwpwm] = NULL; in atmel_tcb_pwm_free() 152 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_disable() 209 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_enable() 294 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_config() 341 atcbpwm = tcbpwmc->pwms[1]; in atmel_tcb_pwm_config() 343 atcbpwm = tcbpwmc->pwms[0]; in atmel_tcb_pwm_config()
|
D | core.c | 58 struct pwm_device *pwm = &chip->pwms[i]; in free_pwms() 65 kfree(chip->pwms); in free_pwms() 66 chip->pwms = NULL; in free_pwms() 278 chip->pwms = kcalloc(chip->npwm, sizeof(*pwm), GFP_KERNEL); in pwmchip_add() 279 if (!chip->pwms) { in pwmchip_add() 285 pwm = &chip->pwms[i]; in pwmchip_add() 417 pwm = &chip->pwms[index]; in pwm_request_from_chip() 1112 struct pwm_device *pwm = &chip->pwms[i]; in pwm_dbg_show()
|
D | pwm-atmel-hlcdc.c | 189 if (pwm_is_enabled(&chip->chip.pwms[0])) in atmel_hlcdc_pwm_suspend() 201 pwm_get_state(&chip->chip.pwms[0], &state); in atmel_hlcdc_pwm_resume() 210 return atmel_hlcdc_pwm_apply(&chip->chip, &chip->chip.pwms[0], &state); in atmel_hlcdc_pwm_resume()
|
/Linux-v6.1/arch/riscv/boot/dts/sifive/ |
D | hifive-unleashed-a00.dts | 52 pwms = <&pwm0 0 7812500 PWM_POLARITY_INVERTED>; 60 pwms = <&pwm0 1 7812500 PWM_POLARITY_INVERTED>; 68 pwms = <&pwm0 2 7812500 PWM_POLARITY_INVERTED>; 76 pwms = <&pwm0 3 7812500 PWM_POLARITY_INVERTED>;
|
D | hifive-unmatched-a00.dts | 54 pwms = <&pwm0 0 7812500 PWM_POLARITY_INVERTED>; 71 pwms = <&pwm0 2 7812500 PWM_POLARITY_INVERTED>; 77 pwms = <&pwm0 1 7812500 PWM_POLARITY_INVERTED>; 83 pwms = <&pwm0 3 7812500 PWM_POLARITY_INVERTED>;
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | at91-kizbox.dts | 54 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>;
|
D | bcm958625-meraki-mx6x-common.dtsi | 20 pwms = <&pwm 1 50000>; 27 pwms = <&pwm 2 50000>; 34 pwms = <&pwm 3 50000>;
|
D | imx6ull-jozacp.dts | 29 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>;
|
D | at91-kizboxmini-common.dtsi | 60 pwms = <&pwm0 2 10000000 0>; 68 pwms = <&pwm0 0 10000000 0>; 75 pwms = <&pwm0 1 10000000 0>;
|
D | exynos54xx-odroidxu-leds.dtsi | 22 pwms = <&pwm 1 2000000 0>; 35 pwms = <&pwm 2 2000000 0>;
|
D | bcm53016-meraki-mr32.dts | 65 pwms = <&pwm 0 50000 0>; 73 pwms = <&pwm 1 50000 0>; 81 pwms = <&pwm 2 50000 0>;
|
D | stm32mp157c-lxa-mc1.dts | 29 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>;
|
D | berlin2cd-google-chromecast.dts | 44 pwms = <&pwm 0 600000 0>; 51 pwms = <&pwm 1 600000 0>;
|
D | at91-kizbox3_common.dtsi | 76 pwms = <&pwm0 0 10000000 0>; 84 pwms = <&pwm0 1 10000000 0>; 92 pwms = <&pwm0 2 10000000 0>; 99 pwms = <&pwm0 3 10000000 0>;
|
D | at91-kizbox2-common.dtsi | 64 pwms = <&pwm0 2 10000000 0>; 71 pwms = <&pwm0 1 10000000 0>; 78 pwms = <&pwm0 0 10000000 0>;
|
/Linux-v6.1/Documentation/devicetree/bindings/leds/irled/ |
D | pwm-ir-tx.txt | 6 - pwms : PWM property to point to the PWM device (phandle)/port (id) 12 pwms = <&pwm0 0 10000000>;
|
/Linux-v6.1/Documentation/devicetree/bindings/media/ |
D | nokia,n900-ir | 5 - pwms: specifies PWM used for IR signal transmission. 19 pwms = <&pwm9 0 26316 0>; /* 38000 Hz */
|
/Linux-v6.1/Documentation/devicetree/bindings/input/ |
D | pwm-beeper.txt | 7 - pwms: phandle to the physical PWM device 22 pwms = <&pwm0>;
|
/Linux-v6.1/arch/arm64/boot/dts/amlogic/ |
D | meson-g12b-odroid-n2-plus.dts | 22 pwms = <&pwm_ab 0 1500 0>; 29 pwms = <&pwm_AO_cd 1 1500 0>;
|
D | meson-g12b-khadas-vim3.dtsi | 23 pwms = <&pwm_ab 0 1250 0>; 42 pwms = <&pwm_AO_cd 1 1250 0>;
|
/Linux-v6.1/Documentation/devicetree/bindings/clock/ |
D | pwm-clock.txt | 11 - pwms : from common PWM binding; this determines the clock frequency 25 pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */
|
/Linux-v6.1/drivers/hwmon/ |
D | abituguru.c | 177 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()
|