Searched refs:pwms (Results 1 - 20 of 20) sorted by relevance

/linux-master/include/linux/mfd/
H A Dlp3943.h69 * @pwms: Output channel definitions for PWM channel 0 and 1
72 struct lp3943_pwm_map *pwms[LP3943_NUM_PWMS]; member in struct:lp3943_platform_data
/linux-master/drivers/pwm/
H A Dpwm-dwc.c116 if (chip->pwms[i].state.enabled) {
118 i, chip->pwms[i].label);
H A Dpwm-lp3943.c41 pwm_map->output = pdata->pwms[hwpwm]->output;
42 pwm_map->num_outputs = pdata->pwms[hwpwm]->num_outputs;
260 pdata->pwms[i] = pwm_map;
H A Dpwm-atmel-tcb.c57 struct atmel_tcb_pwm_device pwms[NPWM]; member in struct:atmel_tcb_pwm_chip
72 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm];
126 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm];
183 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm];
267 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm];
314 atcbpwm = &tcbpwmc->pwms[1];
316 atcbpwm = &tcbpwmc->pwms[0];
H A Dsysfs.c353 ret = pwm_unexport_child(parent, &chip->pwms[hwpwm]);
419 struct pwm_device *pwm = &chip->pwms[i];
450 struct pwm_device *pwm = &chip->pwms[i];
531 struct pwm_device *pwm = &chip->pwms[i];
H A Dpwm-stm32-lp.c225 pwm_get_state(&chip->pwms[0], &state);
228 chip->pwms[0].label);
H A Dpwm-atmel-hlcdc.c186 struct pwm_device *pwm = &chip->pwms[0];
199 struct pwm_device *pwm = &chip->pwms[0];
H A Dcore.c401 pwm = &chip->pwms[index];
569 chip->pwms = kcalloc(chip->npwm, sizeof(*chip->pwms), GFP_KERNEL);
570 if (!chip->pwms)
578 kfree(chip->pwms);
585 struct pwm_device *pwm = &chip->pwms[i];
621 kfree(chip->pwms);
695 * "pwms" property of a device tree node or a negative error-code on failure.
699 * If con_id is NULL, the first PWM device listed in the "pwms" property will
724 err = of_parse_phandle_with_args(np, "pwms", "#pw
[all...]
H A Dpwm-tiecap.c294 struct pwm_device *pwm = chip->pwms;
308 struct pwm_device *pwm = chip->pwms;
H A Dpwm-fsl-ftm.c471 struct pwm_device *pwm = &chip->pwms[i];
495 struct pwm_device *pwm = &chip->pwms[i];
H A Dpwm-lpss.c281 ctrl = pwm_lpss_read(&chip->pwms[i]);
H A Dpwm-pca9685.c138 struct pwm_device *pwm = &chip->pwms[channel];
177 struct pwm_device *pwm = &chip->pwms[channel];
394 "pwm not changed: periods of enabled pwms must match!\n");
H A Dpwm-tiehrpwm.c564 struct pwm_device *pwm = &chip->pwms[i];
582 struct pwm_device *pwm = &chip->pwms[i];
H A Dpwm-sifive.c325 pwm = &chip->pwms[ch];
H A Dpwm-samsung.c609 struct pwm_device *pwm = &chip->pwms[i];
H A Dpwm-stm32.c688 i, chip->pwms[i].label);
/linux-master/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 "
211 * of a sensor is a volt or a temp sensor, for bank2 and the pwms its
213 * sysfs entries per sensor, for bank2 and pwms 6.
246 u8 pwms; /* actual number of pwms found */ member in struct:abituguru_data
611 * many pwms there are. The purpose of this is to make sure that we don't give
689 if (pwms > 0 && pwms <
[all...]
/linux-master/include/linux/
H A Dpwm.h276 * @pwms: array of PWM devices allocated by the framework
291 struct pwm_device *pwms; member in struct:pwm_chip
/linux-master/drivers/of/
H A Dproperty.c1248 DEFINE_SIMPLE_PROP(pwms, "pwms", "#pwm-cells")
/linux-master/scripts/dtc/
H A Dchecks.c1494 WARNING_PROPERTY_PHANDLE_CELLS(pwms, "pwms", "#pwm-cells");

Completed in 223 milliseconds