Lines Matching refs:num_hpets_used
48 static unsigned int __read_mostly num_hpets_used; variable
406 for ( i = 0; i < num_chs && num_hpets_used < nr_cpu_ids; i++ ) in hpet_fsb_cap_lookup()
408 struct hpet_event_channel *ch = &hpet_events[num_hpets_used]; in hpet_fsb_cap_lookup()
417 if ( !num_hpets_used ) in hpet_fsb_cap_lookup()
429 num_hpets_used++; in hpet_fsb_cap_lookup()
433 num_hpets_used, num_chs); in hpet_fsb_cap_lookup()
442 if ( num_hpets_used == 0 ) in hpet_get_channel()
445 if ( num_hpets_used >= nr_cpu_ids ) in hpet_get_channel()
450 if ( (i = next + 1) == num_hpets_used ) in hpet_get_channel()
455 for ( i = next; i < next + num_hpets_used; i++ ) in hpet_get_channel()
457 ch = &hpet_events[i % num_hpets_used]; in hpet_get_channel()
563 if ( num_hpets_used > 0 ) in hpet_broadcast_init()
567 n = num_hpets_used; in hpet_broadcast_init()
618 if ( !num_hpets_used ) in hpet_broadcast_init()
634 if ( num_hpets_used > 0 ) in hpet_broadcast_resume()
638 n = num_hpets_used; in hpet_broadcast_resume()
752 || num_hpets_used > 0); in hpet_broadcast_is_available()