other versions
PWM_REQUEST_FROM_CHI(9) | Pulse-Width Modulation (PWM) | PWM_REQUEST_FROM_CHI(9) |
NAME¶
pwm_request_from_chip - request a PWM device relative to a PWM chip
SYNOPSIS¶
struct pwm_device * pwm_request_from_chip(struct pwm_chip * chip, unsigned int index, const char * label);
ARGUMENTS¶
chip
PWM chip
index
per-chip index of the PWM to request
label
a literal description string of this PWM
RETURN¶
A pointer to the PWM device at the given index of the given PWM chip. A negative error code is returned if the index is not valid for the specified PWM chip or if the PWM device cannot be requested.
COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |