Searched refs:POWERPC_MAX_PMC_VALUE (Results 1 – 2 of 2) sorted by relevance
378 p = MIN(powerpc_pmcn_read(ri), POWERPC_MAX_PMC_VALUE); in powerpc_read_pmc()393 if (r > POWERPC_MAX_PMC_VALUE || p + r <= POWERPC_MAX_PMC_VALUE) in powerpc_read_pmc()398 tmp = p + (POWERPC_MAX_PMC_VALUE + 1) * PPC_OVERFLOWCNT(pm); in powerpc_read_pmc()418 PPC_OVERFLOWCNT(pm) = v / (POWERPC_MAX_PMC_VALUE + 1); in powerpc_write_pmc()419 vlo = v % (POWERPC_MAX_PMC_VALUE + 1); in powerpc_write_pmc()420 } else if (v > POWERPC_MAX_PMC_VALUE) { in powerpc_write_pmc()
47 #define POWERPC_MAX_PMC_VALUE 0x7fffffffUL macro