Lines Matching refs:pwm_device
76 /// Wrapper for a PWM device [`struct pwm_device`](srctree/include/linux/pwm.h).
78 pub struct Device(Opaque<bindings::pwm_device>);
87 pub(crate) unsafe fn from_raw<'a>(ptr: *mut bindings::pwm_device) -> &'a Self {
93 /// Returns a raw pointer to the underlying `pwm_device`.
94 fn as_raw(&self) -> *mut bindings::pwm_device {
129 // SAFETY: `self.as_raw()` provides a valid `*mut pwm_device` pointer.
140 // SAFETY: `self.as_raw()` provides a valid `*mut pwm_device` pointer.
319 pwm_ptr: *mut bindings::pwm_device,
337 pwm_ptr: *mut bindings::pwm_device,
364 pwm_ptr: *mut bindings::pwm_device,
394 pwm_ptr: *mut bindings::pwm_device,
423 pwm_ptr: *mut bindings::pwm_device,
447 pwm_ptr: *mut bindings::pwm_device,