Lines Matching defs:chan
160 u_int chan;
174 for (chan = 0; chan < sc->nchannels; ++chan) {
177 "for channel %u\n", chan);
181 ivars->pi_channel = chan;
196 pwmbus_channel_config(device_t dev, u_int chan, u_int period, u_int duty)
198 return (PWMBUS_CHANNEL_CONFIG(device_get_parent(dev), chan, period, duty));
202 pwmbus_channel_get_config(device_t dev, u_int chan, u_int *period, u_int *duty)
204 return (PWMBUS_CHANNEL_GET_CONFIG(device_get_parent(dev), chan, period, duty));
208 pwmbus_channel_get_flags(device_t dev, u_int chan, uint32_t *flags)
210 return (PWMBUS_CHANNEL_GET_FLAGS(device_get_parent(dev), chan, flags));
214 pwmbus_channel_enable(device_t dev, u_int chan, bool enable)
216 return (PWMBUS_CHANNEL_ENABLE(device_get_parent(dev), chan, enable));
220 pwmbus_channel_set_flags(device_t dev, u_int chan, uint32_t flags)
222 return (PWMBUS_CHANNEL_SET_FLAGS(device_get_parent(dev), chan, flags));
226 pwmbus_channel_is_enabled(device_t dev, u_int chan, bool *enable)
228 return (PWMBUS_CHANNEL_IS_ENABLED(device_get_parent(dev), chan, enable));