• Home
  • Raw
  • Download

Lines Matching refs:high

361 #define ESCR_READ(escr, high, ev, i) do {rdmsr(ev->bindings[(i)].escr_address, (escr), (high));} wh…  argument
362 #define ESCR_WRITE(escr, high, ev, i) do {wrmsr(ev->bindings[(i)].escr_address, (escr), (high));} w… argument
372 #define CCCR_READ(low, high, i) do {rdmsr(p4_counters[(i)].cccr_address, (low), (high));} while (0) argument
373 #define CCCR_WRITE(low, high, i) do {wrmsr(p4_counters[(i)].cccr_address, (low), (high));} while (0) argument
488 unsigned int high = 0; in pmc_setup_one_p4_counter() local
512 ESCR_READ(escr, high, ev, i); in pmc_setup_one_p4_counter()
523 ESCR_WRITE(escr, high, ev, i); in pmc_setup_one_p4_counter()
526 CCCR_READ(cccr, high, VIRT_CTR(stag, ctr)); in pmc_setup_one_p4_counter()
535 CCCR_WRITE(cccr, high, VIRT_CTR(stag, ctr)); in pmc_setup_one_p4_counter()
549 unsigned int low, high; in p4_setup_ctrs() local
555 rdmsr(MSR_IA32_MISC_ENABLE, low, high); in p4_setup_ctrs()
563 rdmsr(p4_counters[VIRT_CTR(stag, i)].cccr_address, low, high); in p4_setup_ctrs()
566 wrmsr(p4_counters[VIRT_CTR(stag, i)].cccr_address, low, high); in p4_setup_ctrs()
571 rdmsr(p4_unused_cccr[i], low, high); in p4_setup_ctrs()
574 wrmsr(p4_unused_cccr[i], low, high); in p4_setup_ctrs()
627 unsigned long ctr, low, high, stag, real; in p4_check_ctrs() local
656 CCCR_READ(low, high, real); in p4_check_ctrs()
657 CTR_READ(ctr, high, real); in p4_check_ctrs()
662 CCCR_WRITE(low, high, real); in p4_check_ctrs()
674 unsigned int low, high, stag; in p4_start() local
682 CCCR_READ(low, high, VIRT_CTR(stag, i)); in p4_start()
684 CCCR_WRITE(low, high, VIRT_CTR(stag, i)); in p4_start()
691 unsigned int low, high, stag; in p4_stop() local
700 CCCR_READ(low, high, VIRT_CTR(stag, i)); in p4_stop()
702 CCCR_WRITE(low, high, VIRT_CTR(stag, i)); in p4_stop()