Home
last modified time | relevance | path

Searched refs:rotor (Results 1 – 4 of 4) sorted by relevance

/arch/sparc/mm/
Dio-unit.c56 iounit->rotor[1] = IOUNIT_BMAP2_START; in iounit_iommu_init()
57 iounit->rotor[2] = IOUNIT_BMAPM_START; in iounit_iommu_init()
97 unsigned long rotor, scan, limit; in iounit_get_area() local
112 rotor = iounit->rotor[j - 1]; in iounit_get_area()
114 scan = rotor; in iounit_get_area()
117 if (limit != rotor) { in iounit_get_area()
118 limit = rotor; in iounit_get_area()
130 iounit->rotor[j - 1] = (scan < limit) ? scan : iounit->limit[j - 1]; in iounit_get_area()
/arch/sparc/kernel/
Dpci_msi.c77 u32 ret, rotor; in pick_msiq() local
81 rotor = pbm->msiq_rotor; in pick_msiq()
82 ret = pbm->msiq_first + rotor; in pick_msiq()
84 if (++rotor >= pbm->msiq_num) in pick_msiq()
85 rotor = 0; in pick_msiq()
86 pbm->msiq_rotor = rotor; in pick_msiq()
/arch/sparc/include/asm/
Dio-unit.h47 unsigned long rotor[3]; member
/arch/x86/kernel/cpu/
Dperf_event_intel_cqm.c634 struct perf_event *rotor; in __intel_cqm_pick_and_rotate() local
639 rotor = list_first_entry(&cache_groups, struct perf_event, in __intel_cqm_pick_and_rotate()
647 if (next == rotor) in __intel_cqm_pick_and_rotate()
650 rmid = intel_cqm_xchg_rmid(rotor, INVALID_RMID); in __intel_cqm_pick_and_rotate()