Home
last modified time | relevance | path

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

12345678910>>...20

/openbmc/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>;
/openbmc/u-boot/doc/device-tree-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>;
/openbmc/linux/arch/riscv/boot/dts/sifive/
H A Dhifive-unleashed-a00.dts52 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>;
H A Dhifive-unmatched-a00.dts54 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>;
/openbmc/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 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>;
/openbmc/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>;
H A Dat91-kizbox3_common.dtsi76 pwms = <&pwm0 0 10000000 0>;
84 pwms = <&pwm0 1 10000000 0>;
92 pwms = <&pwm0 2 10000000 0>;
99 pwms = <&pwm0 3 10000000 0>;
H A Dat91-kizbox2-common.dtsi64 pwms = <&pwm0 2 10000000 0>;
71 pwms = <&pwm0 1 10000000 0>;
78 pwms = <&pwm0 0 10000000 0>;
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm958625-meraki-mx6x-common.dtsi20 pwms = <&pwm 1 50000>;
27 pwms = <&pwm 2 50000>;
34 pwms = <&pwm 3 50000>;
H A Dbcm53016-meraki-mr32.dts65 pwms = <&pwm 0 50000 0>;
73 pwms = <&pwm 1 50000 0>;
81 pwms = <&pwm 2 50000 0>;
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dnokia,n900-ir5 - pwms: specifies PWM used for IR signal transmission.
19 pwms = <&pwm9 0 26316 0>; /* 38000 Hz */
/openbmc/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>;
/openbmc/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>;
/openbmc/linux/drivers/pwm/
H A Dpwm-atmel-tcb.c58 struct atmel_tcb_pwm_device pwms[NPWM]; member
73 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_request()
127 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_disable()
181 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_enable()
263 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_config()
310 atcbpwm = &tcbpwmc->pwms[1]; in atmel_tcb_pwm_config()
312 atcbpwm = &tcbpwmc->pwms[0]; in atmel_tcb_pwm_config()
H A Dcore.c58 kfree(chip->pwms); in free_pwms()
59 chip->pwms = NULL; in free_pwms()
275 chip->pwms = kcalloc(chip->npwm, sizeof(*pwm), GFP_KERNEL); in pwmchip_add()
276 if (!chip->pwms) in pwmchip_add()
284 kfree(chip->pwms); in pwmchip_add()
291 pwm = &chip->pwms[i]; in pwmchip_add()
374 pwm = &chip->pwms[index]; in pwm_request_from_chip()
1061 struct pwm_device *pwm = &chip->pwms[i]; in pwm_dbg_show()
H A Dpwm-atmel-hlcdc.c190 if (!pwm_is_enabled(&atmel->chip.pwms[0])) in atmel_hlcdc_pwm_suspend()
202 pwm_get_state(&atmel->chip.pwms[0], &state); in atmel_hlcdc_pwm_resume()
211 return atmel_hlcdc_pwm_apply(&atmel->chip, &atmel->chip.pwms[0], in atmel_hlcdc_pwm_resume()
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos54xx-odroidxu-leds.dtsi22 pwms = <&pwm 1 2000000 0>;
35 pwms = <&pwm 2 2000000 0>;
/openbmc/linux/arch/arm/boot/dts/synaptics/
H A Dberlin2cd-google-chromecast.dts44 pwms = <&pwm 0 600000 0>;
51 pwms = <&pwm 1 600000 0>;
/openbmc/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()
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3568-radxa-e25.dts23 pwms = <&pwm1 0 1000000 0>;
28 pwms = <&pwm2 0 1000000 0>;
33 pwms = <&pwm12 0 1000000 0>;
/openbmc/phosphor-pid-control/experiments/
H A Ddrive.cpp191 std::vector<std::string> pwms = {"/sys/class/hwmon/hwmon0/pwm0", in driveMain() local
196 auto fan0 = Create(fans[0], pwms[0]); in driveMain()
197 auto fan1 = Create(fans[1], pwms[1]); in driveMain()

12345678910>>...20