Lines Matching refs:cccr
357 #define CCCR_CLEAR(cccr) ((cccr) &= CCCR_RESERVED_BITS) argument
358 #define CCCR_SET_REQUIRED_BITS(cccr) ((cccr) |= 0x00030000) argument
359 #define CCCR_SET_ESCR_SELECT(cccr, sel) ((cccr) |= (((sel) & 0x07) << 13)) argument
360 #define CCCR_SET_PMI_OVF_0(cccr) ((cccr) |= (1<<26)) argument
361 #define CCCR_SET_PMI_OVF_1(cccr) ((cccr) |= (1<<27)) argument
362 #define CCCR_SET_ENABLE(cccr) ((cccr) |= (1<<12)) argument
363 #define CCCR_SET_DISABLE(cccr) ((cccr) &= ~(1<<12)) argument
364 #define CCCR_OVF_P(cccr) ((cccr) & (1U<<31)) argument
365 #define CCCR_CLEAR_OVF(cccr) ((cccr) &= (~(1U<<31))) argument
508 unsigned int cccr = 0; in pmc_setup_one_p4_counter() local
549 cccr, high); in pmc_setup_one_p4_counter()
550 CCCR_CLEAR(cccr); in pmc_setup_one_p4_counter()
551 CCCR_SET_REQUIRED_BITS(cccr); in pmc_setup_one_p4_counter()
552 CCCR_SET_ESCR_SELECT(cccr, ev->escr_select); in pmc_setup_one_p4_counter()
554 CCCR_SET_PMI_OVF_0(cccr); in pmc_setup_one_p4_counter()
556 CCCR_SET_PMI_OVF_1(cccr); in pmc_setup_one_p4_counter()
558 cccr, high); in pmc_setup_one_p4_counter()