Home
last modified time | relevance | path

Searched refs:pmap (Results 1 – 2 of 2) sorted by relevance

/arch/sparc/kernel/
Dperf_event.c130 static unsigned long perf_event_encode(const struct perf_event_map *pmap) in perf_event_encode() argument
132 return ((unsigned long) pmap->encoding << 16) | pmap->pic_mask; in perf_event_encode()
1197 const struct perf_event_map *pmap; in sparc_map_cache_event() local
1214 pmap = &((*sparc_pmu->cache_map)[cache_type][cache_op][cache_result]); in sparc_map_cache_event()
1216 if (pmap->encoding == CACHE_OP_UNSUPPORTED) in sparc_map_cache_event()
1219 if (pmap->encoding == CACHE_OP_NONSENSE) in sparc_map_cache_event()
1222 return pmap; in sparc_map_cache_event()
1420 const struct perf_event_map *pmap; in sparc_pmu_event_init() local
1434 pmap = sparc_pmu->event_map(attr->config); in sparc_pmu_event_init()
1438 pmap = sparc_map_cache_event(attr->config); in sparc_pmu_event_init()
[all …]
/arch/x86/platform/efi/
Defi.c197 phys_addr_t pmap; in efi_memblock_x86_reserve_range() local
208 pmap = e->efi_memmap; in efi_memblock_x86_reserve_range()
210 pmap = (e->efi_memmap | ((__u64)e->efi_memmap_hi << 32)); in efi_memblock_x86_reserve_range()
212 memmap.phys_map = pmap; in efi_memblock_x86_reserve_range()
218 memblock_reserve(pmap, memmap.nr_map * memmap.desc_size); in efi_memblock_x86_reserve_range()