Lines Matching full:pwms
437 pwm = &chip->pwms[index]; in pwm_request_from_chip()
828 ret = pwm_unexport_child(pwmchip_dev, &chip->pwms[hwpwm]); in unexport_store()
894 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_resume_npwm()
925 struct pwm_device *pwm = &chip->pwms[i]; in pwm_class_suspend()
979 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_sysfs_unexport()
990 return (void *)chip + ALIGN(struct_size(chip, pwms, chip->npwm), PWMCHIP_ALIGN); in pwmchip_priv()
1014 alloc_size = size_add(ALIGN(struct_size(chip, pwms, npwm), PWMCHIP_ALIGN), in pwmchip_alloc()
1033 struct pwm_device *pwm = &chip->pwms[i]; in pwmchip_alloc()
1243 * "pwms" property of a device tree node or a negative error-code on failure.
1247 * If con_id is NULL, the first PWM device listed in the "pwms" property will
1272 err = of_parse_phandle_with_args(np, "pwms", "#pwm-cells", index, in of_pwm_get()
1275 pr_err("%s(): can't parse \"pwms\" property\n", __func__); in of_pwm_get()
1321 * acpi_pwm_get() - request a PWM via parsing "pwms" property in ACPI
1322 * @fwnode: firmware node to get the "pwms" property from
1325 * "pwms" property or a negative error-code on failure.
1331 * Package () {"pwms", Package ()
1346 ret = __acpi_node_get_property_reference(fwnode, "pwms", 0, 3, &args); in acpi_pwm_get()
1629 struct pwm_device *pwm = &chip->pwms[i]; in pwm_dbg_show()