Lines Matching refs:CC

211   if (NRF_GRTC_regs.CC[cc].CCEN) {  in nhw_GRTC_update_cc_timer()
212 uint64_t cc_value = ((uint64_t)NRF_GRTC_regs.CC[cc].CCH << 32) | NRF_GRTC_regs.CC[cc].CCL; in nhw_GRTC_update_cc_timer()
350 NRF_GRTC_regs.CC[n].CCEN = 0; /* Trigger the capture task disables the compare feature */ in nhw_GRTC_TASK_CAPTURE()
355 NRF_GRTC_regs.CC[n].CCL = nhw_GRTC_get_SYNCOUNTERL(inst); in nhw_GRTC_TASK_CAPTURE()
356 NRF_GRTC_regs.CC[n].CCH = nhw_GRTC_get_SYNCOUNTERH(inst); in nhw_GRTC_TASK_CAPTURE()
486 uint32_t offset = NRF_GRTC_regs.CC[cc].CCADD & GRTC_CC_CCADD_VALUE_Msk; in nhw_GRTC_regw_sideeffects_CC_CCADD()
488 if (NRF_GRTC_regs.CC[cc].CCADD & GRTC_CC_CCADD_REFERENCE_Msk) { //Added to CC in nhw_GRTC_regw_sideeffects_CC_CCADD()
489 value = ((uint64_t)NRF_GRTC_regs.CC[cc].CCH << 32) | NRF_GRTC_regs.CC[cc].CCL; in nhw_GRTC_regw_sideeffects_CC_CCADD()
496 NRF_GRTC_regs.CC[cc].CCL = value & UINT32_MAX; in nhw_GRTC_regw_sideeffects_CC_CCADD()
497 NRF_GRTC_regs.CC[cc].CCH = nhw_GRTC_get_counterhighword(value); in nhw_GRTC_regw_sideeffects_CC_CCADD()
499 …NRF_GRTC_regs.CC[cc].CCEN = GRTC_CC_CCEN_ACTIVE_Msk; /* Writing to CCADD enables that compare chan… in nhw_GRTC_regw_sideeffects_CC_CCADD()
515 NRF_GRTC_regs.CC[cc].CCEN = 0; /* Writing to CCL disables that compare channel */ in nhw_GRTC_regw_sideeffects_CC_CCL()
523 …NRF_GRTC_regs.CC[cc].CCEN = GRTC_CC_CCEN_ACTIVE_Msk; /* Writing to CCH enables that compare channe… in nhw_GRTC_regw_sideeffects_CC_CCH()
530 if (NRF_GRTC_regs.CC[cc].CCEN == 0) { in nhw_GRTC_compare_reached()
535 uint64_t value = ((uint64_t)NRF_GRTC_regs.CC[cc].CCH << 32) | NRF_GRTC_regs.CC[cc].CCL; in nhw_GRTC_compare_reached()
537 NRF_GRTC_regs.CC[cc].CCL = value & UINT32_MAX; in nhw_GRTC_compare_reached()
538 NRF_GRTC_regs.CC[cc].CCH = nhw_GRTC_get_counterhighword(value); in nhw_GRTC_compare_reached()
540 NRF_GRTC_regs.CC[cc].CCEN = 0; in nhw_GRTC_compare_reached()