drivers/bus/ts-nbus.c
269
struct pwm_device *pwm;
drivers/bus/ts-nbus.c
29
struct pwm_device *pwm;
drivers/clk/clk-pwm.c
100
struct pwm_device *pwm;
drivers/clk/clk-pwm.c
16
struct pwm_device *pwm;
drivers/gpio/gpio-mvebu.c
614
static int mvebu_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/gpio/gpio-mvebu.c
643
static void mvebu_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/gpio/gpio-mvebu.c
655
struct pwm_device *pwm,
drivers/gpio/gpio-mvebu.c
695
static int mvebu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/gpu/drm/bridge/ti-sn65dsi86.c
1516
static int ti_sn_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/gpu/drm/bridge/ti-sn65dsi86.c
1523
static void ti_sn_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/gpu/drm/bridge/ti-sn65dsi86.c
1541
static int ti_sn_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/gpu/drm/bridge/ti-sn65dsi86.c
1671
static int ti_sn_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/gpu/drm/i915/display/intel_display_types.h
419
struct pwm_device *pwm;
drivers/gpu/drm/solomon/ssd130x.h
95
struct pwm_device *pwm;
drivers/gpu/drm/tiny/sharp-memory.c
71
struct pwm_device *pwm_vcom_signal;
drivers/hwmon/aspeed-g6-pwm-tach.c
149
static int aspeed_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/hwmon/aspeed-g6-pwm-tach.c
187
static int aspeed_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/hwmon/pwm-fan.c
43
struct pwm_device *pwm;
drivers/iio/adc/ad4695.c
140
struct pwm_device *cnv_pwm;
drivers/iio/adc/ad4851.c
177
struct pwm_device *cnv;
drivers/iio/adc/ad7606.h
147
struct pwm_device *cnvst_pwm;
drivers/iio/adc/ad7625.c
68
struct pwm_device *clk_gate_pwm;
drivers/iio/adc/ad7625.c
73
struct pwm_device *cnv_pwm;
drivers/input/misc/da7280.c
231
struct pwm_device *pwm_dev;
drivers/input/misc/max77693-haptic.c
56
struct pwm_device *pwm_dev;
drivers/input/misc/max8997_haptic.c
44
struct pwm_device *pwm;
drivers/input/misc/pwm-beeper.c
20
struct pwm_device *pwm;
drivers/input/misc/pwm-vibra.c
28
struct pwm_device *pwm;
drivers/input/misc/pwm-vibra.c
29
struct pwm_device *pwm_dir;
drivers/leds/leds-pwm.c
32
struct pwm_device *pwm;
drivers/leds/rgb/leds-pwm-multicolor.c
20
struct pwm_device *pwm;
drivers/leds/rgb/leds-qcom-lpg.c
1214
static int lpg_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/leds/rgb/leds-qcom-lpg.c
1229
static int lpg_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/leds/rgb/leds-qcom-lpg.c
1258
static int lpg_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/media/rc/pwm-ir-tx.c
21
struct pwm_device *pwm;
drivers/media/rc/pwm-ir-tx.c
64
struct pwm_device *pwm = pwm_ir->pwm;
drivers/media/rc/pwm-ir-tx.c
97
struct pwm_device *pwm = pwm_ir->pwm;
drivers/platform/x86/lenovo/yogabook.c
53
struct pwm_device *kbd_bl_pwm;
drivers/platform/x86/x86-android-tablets/other.c
812
static struct pwm_device *xiaomi_mipad2_led_pwm;
drivers/pwm/core.c
1020
static struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip,
drivers/pwm/core.c
1024
struct pwm_device *pwm;
drivers/pwm/core.c
1041
struct pwm_device *
drivers/pwm/core.c
1044
struct pwm_device *pwm;
drivers/pwm/core.c
1078
struct pwm_device *
drivers/pwm/core.c
1081
struct pwm_device *pwm;
drivers/pwm/core.c
1103
struct pwm_device *pwm;
drivers/pwm/core.c
1118
static inline struct pwm_device *pwm_from_dev(struct device *pwm_dev)
drivers/pwm/core.c
1129
const struct pwm_device *pwm = pwm_from_dev(pwm_dev);
drivers/pwm/core.c
1142
struct pwm_device *pwm = export->pwm;
drivers/pwm/core.c
1164
const struct pwm_device *pwm = pwm_from_dev(pwm_dev);
drivers/pwm/core.c
1177
struct pwm_device *pwm = export->pwm;
drivers/pwm/core.c
1199
const struct pwm_device *pwm = pwm_from_dev(pwm_dev);
drivers/pwm/core.c
1212
struct pwm_device *pwm = export->pwm;
drivers/pwm/core.c
1244
const struct pwm_device *pwm = pwm_from_dev(pwm_dev);
drivers/pwm/core.c
1268
struct pwm_device *pwm = export->pwm;
drivers/pwm/core.c
1293
struct pwm_device *pwm = pwm_from_dev(pwm_dev);
drivers/pwm/core.c
1327
static int pwm_export_child(struct device *pwmchip_dev, struct pwm_device *pwm)
drivers/pwm/core.c
1371
static int pwm_unexport_child(struct device *pwmchip_dev, struct pwm_device *pwm)
drivers/pwm/core.c
1401
struct pwm_device *pwm;
drivers/pwm/core.c
1464
struct pwm_device *pwm,
drivers/pwm/core.c
1487
struct pwm_device *pwm,
drivers/pwm/core.c
1505
struct pwm_device *pwm = &chip->pwms[i];
drivers/pwm/core.c
1536
struct pwm_device *pwm = &chip->pwms[i];
drivers/pwm/core.c
1590
struct pwm_device *pwm = &chip->pwms[i];
drivers/pwm/core.c
1646
struct pwm_device *pwm = &chip->pwms[i];
drivers/pwm/core.c
167
static int __pwm_round_waveform_tohw(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/core.c
1722
struct pwm_device *pwm)
drivers/pwm/core.c
1781
static struct pwm_device *of_pwm_get(struct device *dev, struct device_node *np,
drivers/pwm/core.c
1784
struct pwm_device *pwm = NULL;
drivers/pwm/core.c
179
static int __pwm_round_waveform_fromhw(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/core.c
1861
static struct pwm_device *acpi_pwm_get(const struct fwnode_handle *fwnode)
drivers/pwm/core.c
1863
struct pwm_device *pwm;
drivers/pwm/core.c
191
static int __pwm_read_waveform(struct pwm_chip *chip, struct pwm_device *pwm, void *wfhw)
drivers/pwm/core.c
1912
struct pwm_device *pwm_get(struct device *dev, const char *con_id)
drivers/pwm/core.c
1916
struct pwm_device *pwm;
drivers/pwm/core.c
202
static int __pwm_write_waveform(struct pwm_chip *chip, struct pwm_device *pwm, const void *wfhw)
drivers/pwm/core.c
2020
static void __pwm_put(struct pwm_device *pwm)
drivers/pwm/core.c
2048
void pwm_put(struct pwm_device *pwm)
drivers/pwm/core.c
2075
struct pwm_device *devm_pwm_get(struct device *dev, const char *con_id)
drivers/pwm/core.c
2077
struct pwm_device *pwm;
drivers/pwm/core.c
2104
struct pwm_device *devm_fwnode_pwm_get(struct device *dev,
drivers/pwm/core.c
2108
struct pwm_device *pwm = ERR_PTR(-ENODEV);
drivers/pwm/core.c
2128
struct pwm_device *pwm[];
drivers/pwm/core.c
2158
struct pwm_device *pwm = cdata->pwm[i];
drivers/pwm/core.c
2180
struct pwm_device *pwm = &chip->pwms[hwpwm];
drivers/pwm/core.c
2208
struct pwm_device *pwm = cdata->pwm[hwpwm];
drivers/pwm/core.c
2221
static struct pwm_device *pwm_cdev_get_requested_pwm(struct pwm_cdev_data *cdata,
drivers/pwm/core.c
2265
struct pwm_device *pwm;
drivers/pwm/core.c
2306
struct pwm_device *pwm;
drivers/pwm/core.c
2342
struct pwm_device *pwm;
drivers/pwm/core.c
2399
struct pwm_device *pwm;
drivers/pwm/core.c
2423
struct pwm_device *pwm = &chip->pwms[offset];
drivers/pwm/core.c
244
int pwm_round_waveform_might_sleep(struct pwm_device *pwm, struct pwm_waveform *wf)
drivers/pwm/core.c
2566
struct pwm_device *pwm = &chip->pwms[i];
drivers/pwm/core.c
2639
struct pwm_device *pwm = &chip->pwms[i];
drivers/pwm/core.c
303
int pwm_get_waveform_might_sleep(struct pwm_device *pwm, struct pwm_waveform *wf)
drivers/pwm/core.c
329
static int __pwm_set_waveform(struct pwm_device *pwm,
drivers/pwm/core.c
442
int pwm_set_waveform_might_sleep(struct pwm_device *pwm,
drivers/pwm/core.c
484
static void pwm_apply_debug(struct pwm_device *pwm,
drivers/pwm/core.c
621
static int __pwm_apply(struct pwm_device *pwm, const struct pwm_state *state)
drivers/pwm/core.c
733
int pwm_apply_might_sleep(struct pwm_device *pwm, const struct pwm_state *state)
drivers/pwm/core.c
777
int pwm_apply_atomic(struct pwm_device *pwm, const struct pwm_state *state)
drivers/pwm/core.c
804
int pwm_get_state_hw(struct pwm_device *pwm, struct pwm_state *state)
drivers/pwm/core.c
853
int pwm_adjust_config(struct pwm_device *pwm)
drivers/pwm/core.c
909
static int pwm_capture(struct pwm_device *pwm, struct pwm_capture *result,
drivers/pwm/core.c
951
static int pwm_device_request(struct pwm_device *pwm, const char *label)
drivers/pwm/pwm-ab8500.c
138
static int ab8500_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-ab8500.c
35
static int ab8500_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-adp5585.c
121
struct pwm_device *pwm,
drivers/pwm/pwm-adp5585.c
48
static int pwm_adp5585_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-adp5585.c
58
static void pwm_adp5585_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-adp5585.c
68
struct pwm_device *pwm,
drivers/pwm/pwm-airoha.c
449
static int airoha_pwm_config(struct airoha_pwm *pc, struct pwm_device *pwm,
drivers/pwm/pwm-airoha.c
490
static void airoha_pwm_disable(struct airoha_pwm *pc, struct pwm_device *pwm)
drivers/pwm/pwm-airoha.c
505
static int airoha_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-airoha.c
546
static int airoha_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-apple.c
44
static int apple_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-apple.c
76
static int apple_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-argon-fan-hat.c
22
struct pwm_device *pwm,
drivers/pwm/pwm-argon-fan-hat.c
37
struct pwm_device *pwm,
drivers/pwm/pwm-argon-fan-hat.c
51
struct pwm_device *pwm,
drivers/pwm/pwm-atmel-hlcdc.c
186
struct pwm_device *pwm = &chip->pwms[0];
drivers/pwm/pwm-atmel-hlcdc.c
199
struct pwm_device *pwm = &chip->pwms[0];
drivers/pwm/pwm-atmel-hlcdc.c
41
static int atmel_hlcdc_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-atmel-tcb.c
115
static void atmel_tcb_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-atmel-tcb.c
122
static void atmel_tcb_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-atmel-tcb.c
176
static int atmel_tcb_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-atmel-tcb.c
258
static int atmel_tcb_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-atmel-tcb.c
331
static int atmel_tcb_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-atmel-tcb.c
69
struct pwm_device *pwm)
drivers/pwm/pwm-atmel.c
227
static void atmel_pwm_update_cdty(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-atmel.c
246
struct pwm_device *pwm,
drivers/pwm/pwm-atmel.c
257
static void atmel_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-atmel.c
281
static int atmel_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-atmel.c
343
static int atmel_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-axi-pwmgen.c
121
static int axi_pwmgen_round_waveform_fromhw(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-axi-pwmgen.c
140
struct pwm_device *pwm,
drivers/pwm/pwm-axi-pwmgen.c
165
struct pwm_device *pwm,
drivers/pwm/pwm-axi-pwmgen.c
72
struct pwm_device *pwm,
drivers/pwm/pwm-bcm-iproc.c
113
static int iproc_pwmc_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-bcm-iproc.c
70
static int iproc_pwmc_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-bcm-kona.c
100
static int kona_pwmc_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-bcm-kona.c
156
static int kona_pwmc_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-bcm-kona.c
188
static int kona_pwmc_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-bcm-kona.c
202
static void kona_pwmc_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-bcm-kona.c
224
static int kona_pwmc_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-bcm2835.c
37
static int bcm2835_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-berlin.c
114
struct pwm_device *pwm,
drivers/pwm/pwm-berlin.c
132
static int berlin_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-berlin.c
145
struct pwm_device *pwm)
drivers/pwm/pwm-berlin.c
155
static int berlin_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-berlin.c
75
static int berlin_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-brcmstb.c
194
static int brcmstb_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-brcmstb.c
95
static int brcmstb_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-clk.c
40
static int pwm_clk_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-clps711x.c
24
static int clps711x_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-clps711x.c
38
static int clps711x_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-crc.c
122
static int crc_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-crc.c
52
static int crc_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-cros-ec.c
122
static int cros_ec_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-cros-ec.c
149
static int cros_ec_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-dwc-core.c
120
static int dwc_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-dwc-core.c
39
struct pwm_device *pwm,
drivers/pwm/pwm-dwc-core.c
98
static int dwc_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-ep93xx.c
45
static int ep93xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-fsl-ftm.c
201
struct pwm_device *pwm)
drivers/pwm/pwm-fsl-ftm.c
213
struct pwm_device *pwm)
drivers/pwm/pwm-fsl-ftm.c
225
struct pwm_device *pwm,
drivers/pwm/pwm-fsl-ftm.c
297
static int fsl_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-fsl-ftm.c
483
struct pwm_device *pwm = &chip->pwms[i];
drivers/pwm/pwm-fsl-ftm.c
507
struct pwm_device *pwm = &chip->pwms[i];
drivers/pwm/pwm-fsl-ftm.c
87
static int fsl_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-fsl-ftm.c
99
static void fsl_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-gpio.c
101
static int pwm_gpio_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-gpio.c
154
static int pwm_gpio_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-hibvt.c
117
struct pwm_device *pwm,
drivers/pwm/pwm-hibvt.c
130
static int hibvt_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-hibvt.c
153
static int hibvt_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-hibvt.c
82
static void hibvt_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-hibvt.c
90
static void hibvt_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-hibvt.c
98
static void hibvt_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-img.c
147
static int img_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-img.c
168
static void img_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-img.c
180
static int img_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-img.c
89
static int img_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-imx-tpm.c
138
struct pwm_device *pwm,
drivers/pwm/pwm-imx-tpm.c
177
struct pwm_device *pwm)
drivers/pwm/pwm-imx-tpm.c
302
struct pwm_device *pwm,
drivers/pwm/pwm-imx-tpm.c
321
static int pwm_imx_tpm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-imx-tpm.c
332
static void pwm_imx_tpm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-imx1.c
112
static void pwm_imx1_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-imx1.c
124
static int pwm_imx1_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-imx1.c
65
struct pwm_device *pwm, u64 duty_ns, u64 period_ns)
drivers/pwm/pwm-imx1.c
95
static int pwm_imx1_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-imx27.c
105
struct pwm_device *pwm, struct pwm_state *state)
drivers/pwm/pwm-imx27.c
179
struct pwm_device *pwm)
drivers/pwm/pwm-imx27.c
200
static int pwm_imx27_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-intel-lgm.c
63
static int lgm_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-intel-lgm.c
88
static int lgm_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-iqs620a.c
112
static int iqs620_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-iqs620a.c
67
static int iqs620_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-jz4740.c
101
static void jz4740_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-jz4740.c
123
static int jz4740_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-jz4740.c
49
static int jz4740_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-jz4740.c
79
static void jz4740_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-jz4740.c
88
static int jz4740_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-keembay.c
119
static int keembay_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-keembay.c
91
static int keembay_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-loongson.c
106
static int pwm_loongson_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-loongson.c
118
static int pwm_loongson_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-loongson.c
140
static int pwm_loongson_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-loongson.c
166
static int pwm_loongson_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-loongson.c
244
struct pwm_device *pwm = &chip->pwms[0];
drivers/pwm/pwm-loongson.c
76
static int pwm_loongson_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-loongson.c
96
static void pwm_loongson_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-lp3943.c
151
static int lp3943_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-lp3943.c
170
static void lp3943_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-lp3943.c
183
static int lp3943_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-lp3943.c
55
static int lp3943_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-lp3943.c
79
static void lp3943_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-lp3943.c
87
static int lp3943_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-lpc18xx-sct.c
125
struct pwm_device *pwm,
drivers/pwm/pwm-lpc18xx-sct.c
164
struct pwm_device *pwm, u64 duty_ns)
drivers/pwm/pwm-lpc18xx-sct.c
185
static int lpc18xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-lpc18xx-sct.c
223
static int lpc18xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity)
drivers/pwm/pwm-lpc18xx-sct.c
258
static void lpc18xx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-lpc18xx-sct.c
269
static int lpc18xx_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-lpc18xx-sct.c
290
static void lpc18xx_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-lpc18xx-sct.c
298
static int lpc18xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-lpc32xx.c
30
static int lpc32xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-lpc32xx.c
63
static int lpc32xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-lpc32xx.c
80
static void lpc32xx_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-lpc32xx.c
92
static int lpc32xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-lpss.c
115
static inline int pwm_lpss_is_updating(struct pwm_device *pwm)
drivers/pwm/pwm-lpss.c
125
static void pwm_lpss_prepare(struct pwm_lpss_chip *lpwm, struct pwm_device *pwm,
drivers/pwm/pwm-lpss.c
160
static inline void pwm_lpss_cond_enable(struct pwm_device *pwm, bool cond)
drivers/pwm/pwm-lpss.c
167
struct pwm_device *pwm,
drivers/pwm/pwm-lpss.c
186
static int pwm_lpss_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-lpss.c
209
static int pwm_lpss_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-lpss.c
75
static inline u32 pwm_lpss_read(const struct pwm_device *pwm)
drivers/pwm/pwm-lpss.c
82
static inline void pwm_lpss_write(const struct pwm_device *pwm, u32 value)
drivers/pwm/pwm-lpss.c
89
static int pwm_lpss_wait_for_update(struct pwm_device *pwm)
drivers/pwm/pwm-max7360.c
109
struct pwm_device *pwm,
drivers/pwm/pwm-max7360.c
128
struct pwm_device *pwm,
drivers/pwm/pwm-max7360.c
42
static int max7360_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-max7360.c
57
struct pwm_device *pwm,
drivers/pwm/pwm-max7360.c
87
static int max7360_pwm_round_waveform_fromhw(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-mc33xs2410.c
221
static int mc33xs2410_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-mc33xs2410.c
279
struct pwm_device *pwm,
drivers/pwm/pwm-mediatek.c
145
static int pwm_mediatek_round_waveform_tohw(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-mediatek.c
224
static int pwm_mediatek_round_waveform_fromhw(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-mediatek.c
279
struct pwm_device *pwm, void *_wfhw)
drivers/pwm/pwm-mediatek.c
325
struct pwm_device *pwm, const void *_wfhw)
drivers/pwm/pwm-meson.c
134
static int meson_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-meson.c
151
static void meson_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-meson.c
159
static int meson_pwm_calc(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-meson.c
224
static void meson_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-meson.c
265
static void meson_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-meson.c
291
static int meson_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-meson.c
339
static int meson_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-microchip-core.c
148
static void mchp_core_pwm_apply_duty(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-microchip-core.c
271
static int mchp_core_pwm_apply_locked(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-microchip-core.c
357
static int mchp_core_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-microchip-core.c
367
static int mchp_core_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-microchip-core.c
68
static void mchp_core_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-mtk-disp.c
173
struct pwm_device *pwm,
drivers/pwm/pwm-mtk-disp.c
69
static int mtk_disp_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-mxs.c
49
static int mxs_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-ntxec.c
82
static int ntxec_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm_dev,
drivers/pwm/pwm-omap-dmtimer.c
147
struct pwm_device *pwm,
drivers/pwm/pwm-omap-dmtimer.c
242
struct pwm_device *pwm,
drivers/pwm/pwm-omap-dmtimer.c
271
struct pwm_device *pwm,
drivers/pwm/pwm-pca9685.c
174
static int pca9685_round_waveform_tohw(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_waveform *wf, void *_wfhw)
drivers/pwm/pwm-pca9685.c
258
static int pca9685_round_waveform_fromhw(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-pca9685.c
300
static int pca9685_read_waveform(struct pwm_chip *chip, struct pwm_device *pwm, void *_wfhw)
drivers/pwm/pwm-pca9685.c
322
static int pca9685_write_waveform(struct pwm_chip *chip, struct pwm_device *pwm, const void *_wfhw)
drivers/pwm/pwm-pca9685.c
360
static int pca9685_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-pca9685.c
376
static void pca9685_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-pxa.c
103
static int pxa_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-pxa.c
68
static int pxa_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-raspberrypi-poe.c
85
struct pwm_device *pwm,
drivers/pwm/pwm-raspberrypi-poe.c
99
static int raspberrypi_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-rcar.c
134
static int rcar_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-rcar.c
139
static void rcar_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-rcar.c
164
static int rcar_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-renesas-tpu.c
212
static int tpu_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-renesas-tpu.c
234
static void tpu_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-renesas-tpu.c
242
static int tpu_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-renesas-tpu.c
351
static int tpu_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-renesas-tpu.c
362
static int tpu_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-renesas-tpu.c
385
static void tpu_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-renesas-tpu.c
396
static int tpu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-rockchip.c
105
static void rockchip_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-rockchip.c
164
struct pwm_device *pwm,
drivers/pwm/pwm-rockchip.c
193
static int rockchip_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-rockchip.c
62
struct pwm_device *pwm,
drivers/pwm/pwm-rz-mtu3.c
165
static int rz_mtu3_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-rz-mtu3.c
195
static void rz_mtu3_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-rz-mtu3.c
212
static int rz_mtu3_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-rz-mtu3.c
244
static void rz_mtu3_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-rz-mtu3.c
269
static int rz_mtu3_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-rz-mtu3.c
318
static int rz_mtu3_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-rz-mtu3.c
405
static int rz_mtu3_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-rzg2l-gpt.c
136
static int rzg2l_gpt_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-rzg2l-gpt.c
147
static void rzg2l_gpt_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-rzg2l-gpt.c
172
struct pwm_device *pwm)
drivers/pwm/pwm-rzg2l-gpt.c
190
struct pwm_device *pwm)
drivers/pwm/pwm-rzg2l-gpt.c
223
static int rzg2l_gpt_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-rzg2l-gpt.c
259
static int rzg2l_gpt_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-rzg2l-gpt.c
346
static int rzg2l_gpt_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-samsung.c
121
struct pwm_device *pwm)
drivers/pwm/pwm-samsung.c
229
static int pwm_samsung_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-samsung.c
245
static int pwm_samsung_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-samsung.c
271
static void pwm_samsung_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-samsung.c
297
struct pwm_device *pwm)
drivers/pwm/pwm-samsung.c
308
static int __pwm_samsung_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-samsung.c
380
static int pwm_samsung_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-samsung.c
411
struct pwm_device *pwm,
drivers/pwm/pwm-samsung.c
423
static int pwm_samsung_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-samsung.c
607
struct pwm_device *pwm = &chip->pwms[i];
drivers/pwm/pwm-sifive.c
126
static int pwm_sifive_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sifive.c
153
static int pwm_sifive_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sifive.c
344
struct pwm_device *pwm;
drivers/pwm/pwm-sifive.c
77
static int pwm_sifive_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-sifive.c
88
static void pwm_sifive_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-sl28cpld.c
125
static int sl28cpld_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sl28cpld.c
94
struct pwm_device *pwm,
drivers/pwm/pwm-sophgo-sg2042.c
116
static int pwm_sg2042_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sophgo-sg2042.c
143
static void pwm_sg2044_set_outputen(struct sg2042_pwm_ddata *ddata, struct pwm_device *pwm,
drivers/pwm/pwm-sophgo-sg2042.c
158
static void pwm_sg2044_set_outputdir(struct sg2042_pwm_ddata *ddata, struct pwm_device *pwm,
drivers/pwm/pwm-sophgo-sg2042.c
173
static void pwm_sg2044_set_polarity(struct sg2042_pwm_ddata *ddata, struct pwm_device *pwm,
drivers/pwm/pwm-sophgo-sg2042.c
188
static int pwm_sg2044_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sophgo-sg2042.c
78
static void pwm_sg2042_set_dutycycle(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sophgo-sg2042.c
98
static int pwm_sg2042_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-spear.c
135
static int spear_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-spear.c
152
static void spear_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-spear.c
164
static int spear_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-spear.c
75
static int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sprd.c
123
static int sprd_pwm_config(struct sprd_pwm_chip *spc, struct pwm_device *pwm,
drivers/pwm/pwm-sprd.c
163
static int sprd_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sprd.c
71
static int sprd_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sti.c
156
static int sti_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sti.c
161
struct pwm_device *cur = pc->cur;
drivers/pwm/pwm-sti.c
242
static int sti_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-sti.c
275
static void sti_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-sti.c
288
static void sti_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-sti.c
295
static int sti_pwm_capture(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sti.c
376
static int sti_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sti.c
92
struct pwm_device *cur;
drivers/pwm/pwm-stm32-lp.c
122
static int stm32_pwm_lp_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-stm32-lp.c
295
struct pwm_device *pwm,
drivers/pwm/pwm-stm32.c
211
struct pwm_device *pwm,
drivers/pwm/pwm-stm32.c
254
struct pwm_device *pwm,
drivers/pwm/pwm-stm32.c
297
struct pwm_device *pwm,
drivers/pwm/pwm-stm32.c
471
static int stm32_pwm_raw_capture(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-stm32.c
533
static int stm32_pwm_capture(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-stm32.c
63
struct pwm_device *pwm,
drivers/pwm/pwm-stmpe.c
262
static int stmpe_24xx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-stmpe.c
38
static int stmpe_24xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-stmpe.c
64
struct pwm_device *pwm)
drivers/pwm/pwm-stmpe.c
97
static int stmpe_24xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sun4i.c
108
struct pwm_device *pwm,
drivers/pwm/pwm-sun4i.c
230
static int sun4i_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sunplus.c
127
static int sunplus_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-sunplus.c
55
static int sunplus_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-tegra.c
211
static int tegra_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-tegra.c
228
static void tegra_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-tegra.c
240
static int tegra_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-tegra.c
94
static int tegra_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-tiecap.c
111
static int ecap_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-tiecap.c
135
static int ecap_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-tiecap.c
154
static void ecap_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-tiecap.c
171
static int ecap_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-tiecap.c
298
struct pwm_device *pwm = chip->pwms;
drivers/pwm/pwm-tiecap.c
312
struct pwm_device *pwm = chip->pwms;
drivers/pwm/pwm-tiecap.c
53
static int ecap_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-tiehrpwm.c
179
static int ehrpwm_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-tiehrpwm.c
294
static int ehrpwm_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-tiehrpwm.c
329
static void ehrpwm_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-tiehrpwm.c
363
static void ehrpwm_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-tiehrpwm.c
371
static int ehrpwm_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-tiehrpwm.c
530
struct pwm_device *pwm = &chip->pwms[i];
drivers/pwm/pwm-tiehrpwm.c
548
struct pwm_device *pwm = &chip->pwms[i];
drivers/pwm/pwm-twl-led.c
103
static int twl4030_pwmled_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-twl-led.c
124
struct pwm_device *pwm)
drivers/pwm/pwm-twl-led.c
142
static int twl4030_pwmled_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-twl-led.c
180
static int twl6030_pwmled_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-twl-led.c
197
static int twl6030_pwmled_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-twl-led.c
220
struct pwm_device *pwm)
drivers/pwm/pwm-twl-led.c
240
static int twl6030_pwmled_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-twl-led.c
266
static int twl6030_pwmled_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-twl-led.c
288
static void twl6030_pwmled_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-twl-led.c
69
static int twl4030_pwmled_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-twl.c
123
static void twl4030_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-twl.c
152
static int twl4030_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-twl.c
190
static void twl4030_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-twl.c
220
static int twl6030_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-twl.c
243
static void twl6030_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-twl.c
281
static int twl4030_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-twl.c
306
static int twl6030_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-twl.c
59
static int twl_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-twl.c
93
static int twl4030_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-visconti.c
105
static int visconti_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-visconti.c
45
static int visconti_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-vt8500.c
126
static int vt8500_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-vt8500.c
146
static void vt8500_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/pwm/pwm-vt8500.c
160
struct pwm_device *pwm,
drivers/pwm/pwm-vt8500.c
179
static int vt8500_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-vt8500.c
72
static int vt8500_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/pwm/pwm-xilinx.c
168
struct pwm_device *unused,
drivers/pwm/pwm-xilinx.c
95
static int xilinx_pwm_apply(struct pwm_chip *chip, struct pwm_device *unused,
drivers/regulator/pwm-regulator.c
29
struct pwm_device *pwm;
drivers/regulator/rpi-panel-v2-regulator.c
38
static int rpi_panel_v2_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/spi/spi-offload-trigger-pwm.c
24
struct pwm_device *pwm;
drivers/staging/greybus/pwm.c
177
static int gb_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/staging/greybus/pwm.c
182
static void gb_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm)
drivers/staging/greybus/pwm.c
190
static int gb_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
drivers/video/backlight/lm3630a_bl.c
54
struct pwm_device *pwmd;
drivers/video/backlight/lp855x_bl.c
73
struct pwm_device *pwm;
drivers/video/backlight/mp3309c.c
76
struct pwm_device *pwmd;
drivers/video/backlight/pwm_bl.c
22
struct pwm_device *pwm;
drivers/video/fbdev/ssd1307fb.c
80
struct pwm_device *pwm;
include/linux/pwm.h
129
static inline void pwm_get_state(const struct pwm_device *pwm,
include/linux/pwm.h
135
static inline bool pwm_is_enabled(const struct pwm_device *pwm)
include/linux/pwm.h
144
static inline u64 pwm_get_period(const struct pwm_device *pwm)
include/linux/pwm.h
153
static inline u64 pwm_get_duty_cycle(const struct pwm_device *pwm)
include/linux/pwm.h
162
static inline enum pwm_polarity pwm_get_polarity(const struct pwm_device *pwm)
include/linux/pwm.h
171
static inline void pwm_get_args(const struct pwm_device *pwm,
include/linux/pwm.h
194
static inline void pwm_init_state(const struct pwm_device *pwm,
include/linux/pwm.h
294
int (*request)(struct pwm_chip *chip, struct pwm_device *pwm);
include/linux/pwm.h
295
void (*free)(struct pwm_chip *chip, struct pwm_device *pwm);
include/linux/pwm.h
296
int (*capture)(struct pwm_chip *chip, struct pwm_device *pwm,
include/linux/pwm.h
300
int (*round_waveform_tohw)(struct pwm_chip *chip, struct pwm_device *pwm,
include/linux/pwm.h
302
int (*round_waveform_fromhw)(struct pwm_chip *chip, struct pwm_device *pwm,
include/linux/pwm.h
304
int (*read_waveform)(struct pwm_chip *chip, struct pwm_device *pwm,
include/linux/pwm.h
306
int (*write_waveform)(struct pwm_chip *chip, struct pwm_device *pwm,
include/linux/pwm.h
309
int (*apply)(struct pwm_chip *chip, struct pwm_device *pwm,
include/linux/pwm.h
311
int (*get_state)(struct pwm_chip *chip, struct pwm_device *pwm,
include/linux/pwm.h
340
struct pwm_device * (*of_xlate)(struct pwm_chip *chip,
include/linux/pwm.h
357
struct pwm_device pwms[] __counted_by(npwm);
include/linux/pwm.h
395
int pwm_round_waveform_might_sleep(struct pwm_device *pwm, struct pwm_waveform *wf);
include/linux/pwm.h
396
int pwm_get_waveform_might_sleep(struct pwm_device *pwm, struct pwm_waveform *wf);
include/linux/pwm.h
397
int pwm_set_waveform_might_sleep(struct pwm_device *pwm, const struct pwm_waveform *wf, bool exact);
include/linux/pwm.h
398
int pwm_apply_might_sleep(struct pwm_device *pwm, const struct pwm_state *state);
include/linux/pwm.h
399
int pwm_apply_atomic(struct pwm_device *pwm, const struct pwm_state *state);
include/linux/pwm.h
400
int pwm_get_state_hw(struct pwm_device *pwm, struct pwm_state *state);
include/linux/pwm.h
401
int pwm_adjust_config(struct pwm_device *pwm);
include/linux/pwm.h
411
static inline int pwm_config(struct pwm_device *pwm, int duty_ns,
include/linux/pwm.h
437
static inline int pwm_enable(struct pwm_device *pwm)
include/linux/pwm.h
456
static inline void pwm_disable(struct pwm_device *pwm)
include/linux/pwm.h
477
static inline bool pwm_might_sleep(struct pwm_device *pwm)
include/linux/pwm.h
500
struct pwm_device *of_pwm_xlate_with_flags(struct pwm_chip *chip,
include/linux/pwm.h
502
struct pwm_device *of_pwm_single_xlate(struct pwm_chip *chip,
include/linux/pwm.h
505
struct pwm_device *pwm_get(struct device *dev, const char *con_id);
include/linux/pwm.h
506
void pwm_put(struct pwm_device *pwm);
include/linux/pwm.h
508
struct pwm_device *devm_pwm_get(struct device *dev, const char *con_id);
include/linux/pwm.h
509
struct pwm_device *devm_fwnode_pwm_get(struct device *dev,
include/linux/pwm.h
513
static inline bool pwm_might_sleep(struct pwm_device *pwm)
include/linux/pwm.h
518
static inline int pwm_apply_might_sleep(struct pwm_device *pwm,
include/linux/pwm.h
525
static inline int pwm_apply_atomic(struct pwm_device *pwm,
include/linux/pwm.h
531
static inline int pwm_get_state_hw(struct pwm_device *pwm, struct pwm_state *state)
include/linux/pwm.h
536
static inline int pwm_adjust_config(struct pwm_device *pwm)
include/linux/pwm.h
541
static inline int pwm_config(struct pwm_device *pwm, int duty_ns,
include/linux/pwm.h
548
static inline int pwm_enable(struct pwm_device *pwm)
include/linux/pwm.h
554
static inline void pwm_disable(struct pwm_device *pwm)
include/linux/pwm.h
592
static inline struct pwm_device *pwm_get(struct device *dev,
include/linux/pwm.h
599
static inline void pwm_put(struct pwm_device *pwm)
include/linux/pwm.h
604
static inline struct pwm_device *devm_pwm_get(struct device *dev,
include/linux/pwm.h
611
static inline struct pwm_device *
include/trace/events/pwm.h
12
TP_PROTO(struct pwm_device *pwm, args)
include/trace/events/pwm.h
135
TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state, int err),
include/trace/events/pwm.h
163
TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state, int err),
include/trace/events/pwm.h
170
TP_PROTO(struct pwm_device *pwm, const struct pwm_state *state, int err),