Lines Matching defs:hrtimer
80 /// A timer backed by a C `struct hrtimer`.
89 timer: Opaque<bindings::hrtimer>,
110 timer <- Opaque::ffi_init(move |place: *mut bindings::hrtimer| {
127 /// Get a pointer to the contained `bindings::hrtimer`.
135 unsafe fn raw_get(this: *const Self) -> *mut bindings::hrtimer {
374 /// Only to be called by C code in the `hrtimer` subsystem. `this` must point
375 /// to the `bindings::hrtimer` structure that was used to start the timer.
376 unsafe extern "C" fn run(this: *mut bindings::hrtimer) -> bindings::hrtimer_restart;
459 /// Get pointer to the contained `bindings::hrtimer` struct.
467 unsafe fn c_timer_ptr(this: *const Self) -> *const bindings::hrtimer {
557 /// The C representation of hrtimer mode.
702 /// [`bindings::hrtimer`].
708 // `bindings::hrtimer`
738 /// [`module`]: crate::time::hrtimer
753 unsafe impl$(<$($generics)*>)? $crate::time::hrtimer::HasHrTimer<$timer_type> for $self {
759 ) -> *const $crate::time::hrtimer::HrTimer<$timer_type> {
766 ptr: *mut $crate::time::hrtimer::HrTimer<$timer_type>,