Lines Matching refs:ClocksourceFlags
82 pub struct ClocksourceFlags: u64 {
108 impl ClocksourceFlags { implementation
320 .contains(ClocksourceFlags::CLOCK_SOURCE_MUST_VERIFY) in clocksource_enqueue_watchdog()
326 .remove(ClocksourceFlags::CLOCK_SOURCE_WATCHDOG); in clocksource_enqueue_watchdog()
333 .contains(ClocksourceFlags::CLOCK_SOURCE_IS_CONTINUOUS) in clocksource_enqueue_watchdog()
338 .insert(ClocksourceFlags::CLOCK_SOURCE_VALID_FOR_HRES); in clocksource_enqueue_watchdog()
382 ClocksourceFlags::CLOCK_SOURCE_VALID_FOR_HRES | ClocksourceFlags::CLOCK_SOURCE_WATCHDOG, in set_unstable()
386 .insert(ClocksourceFlags::CLOCK_SOURCE_UNSTABLE); in set_unstable()
421 .contains(ClocksourceFlags::CLOCK_SOURCE_MUST_VERIFY) in clocksource_dequeue_watchdog()
438 .remove(ClocksourceFlags::CLOCK_SOURCE_WATCHDOG); in clocksource_dequeue_watchdog()
450 .contains(ClocksourceFlags::CLOCK_SOURCE_MUST_VERIFY) in clocksource_dequeue_watchdog()
485 .remove(ClocksourceFlags::CLOCK_SOURCE_WATCHDOG); in clocksource_dequeue_watchdog()
554 pub flags: ClocksourceFlags,
567 flags: ClocksourceFlags, in new() argument
600 pub fn set_flags(&mut self, flags: ClocksourceFlags) { in set_flags() argument
604 pub fn remove_flags(&mut self, flags: ClocksourceFlags) { in remove_flags() argument
608 pub fn insert_flags(&mut self, flags: ClocksourceFlags) { in insert_flags() argument
681 .contains(ClocksourceFlags::CLOCK_SOURCE_UNSTABLE) in clocksource_watchdog()
693 .contains(ClocksourceFlags::CLOCK_SOURCE_WATCHDOG) in clocksource_watchdog()
697 .insert(ClocksourceFlags::CLOCK_SOURCE_WATCHDOG); in clocksource_watchdog()
722 .contains(ClocksourceFlags::CLOCK_SOURCE_VALID_FOR_HRES) in clocksource_watchdog()
725 .contains(ClocksourceFlags::CLOCK_SOURCE_IS_CONTINUOUS) in clocksource_watchdog()
728 .contains(ClocksourceFlags::CLOCK_SOURCE_IS_CONTINUOUS) in clocksource_watchdog()
732 .insert(ClocksourceFlags::CLOCK_SOURCE_VALID_FOR_HRES); in clocksource_watchdog()
756 if data.flags.contains(ClocksourceFlags::CLOCK_SOURCE_UNSTABLE) { in clocksource_watchdog_kthread()
783 .remove(ClocksourceFlags::CLOCK_SOURCE_WATCHDOG); in clocksource_reset_watchdog()