:: RootR ::  Hosting Order Map Login   Secure Inter-Network Operations  
 
pwm_get(9) - phpMan

Command: man perldoc info search(apropos)  


PWM_GET(9)                         Pulse-Width Modulation (PWM)                        PWM_GET(9)



NAME
       pwm_get - look up and request a PWM device

SYNOPSIS
       struct pwm_device * pwm_get(struct device * dev, const char * con_id);

ARGUMENTS
       dev
           device for PWM consumer

       con_id
           consumer name

DESCRIPTION
       Lookup is first attempted using DT. If the device was not instantiated from a device tree,
       a PWM chip and a relative index is looked up via a table supplied by board setup code (see
       pwm_add_table).

       Once a PWM chip has been found the specified PWM device will be requested and is ready to
       be used.

RETURN
       A pointer to the requested PWM device or an ERR_PTR-encoded error code on failure.

COPYRIGHT
Kernel Hackers Manual 4.8.                 January 2017                                PWM_GET(9)


/man
rootr.net - man pages