Home
last modified time | relevance | path

Searched refs:out_channel (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/pwm/
H A Dofw_pwm.c41 const char *prop_name, int idx, pwm_channel_t *out_channel) in pwm_get_by_ofw_propidx() argument
65 *out_channel = malloc(sizeof(struct pwm_channel), M_DEVBUF, M_WAITOK | M_ZERO); in pwm_get_by_ofw_propidx()
66 **out_channel = channel; in pwm_get_by_ofw_propidx()
72 pwm_channel_t *out_channel) in pwm_get_by_ofw_idx() argument
75 return (pwm_get_by_ofw_propidx(consumer, node, "pwms", idx, out_channel)); in pwm_get_by_ofw_idx()
80 const char *prop_name, pwm_channel_t *out_channel) in pwm_get_by_ofw_property() argument
83 return (pwm_get_by_ofw_propidx(consumer, node, prop_name, 0, out_channel)); in pwm_get_by_ofw_property()
88 pwm_channel_t *out_channel) in pwm_get_by_ofw_name() argument
96 return (pwm_get_by_ofw_idx(consumer, node, idx, out_channel)); in pwm_get_by_ofw_name()
H A Dofw_pwm.h46 pwm_channel_t *out_channel);
48 const char *prop_name, pwm_channel_t *out_channel);
50 pwm_channel_t *out_channel);