| /f-stack/freebsd/contrib/ncsw/Peripherals/FM/MAC/ |
| H A D | tgec_mii_acc.c | 60 cfgStatusReg = GET_UINT32(p_MiiAccess->mdio_cfg_status); in TGEC_MII_WritePhyReg() 66 while ((GET_UINT32(p_MiiAccess->mdio_cfg_status)) & MIIMIND_BUSY) in TGEC_MII_WritePhyReg() 75 while ((GET_UINT32(p_MiiAccess->mdio_cfg_status)) & MIIMIND_BUSY) in TGEC_MII_WritePhyReg() 82 while ((GET_UINT32(p_MiiAccess->mdio_data)) & MIIDATA_BUSY) in TGEC_MII_WritePhyReg() 104 cfgStatusReg = GET_UINT32(p_MiiAccess->mdio_cfg_status); in TGEC_MII_ReadPhyReg() 110 while ((GET_UINT32(p_MiiAccess->mdio_cfg_status)) & MIIMIND_BUSY) in TGEC_MII_ReadPhyReg() 119 while ((GET_UINT32(p_MiiAccess->mdio_cfg_status)) & MIIMIND_BUSY) in TGEC_MII_ReadPhyReg() 126 while ((GET_UINT32(p_MiiAccess->mdio_data)) & MIIDATA_BUSY) in TGEC_MII_ReadPhyReg() 129 *p_Data = (uint16_t)GET_UINT32(p_MiiAccess->mdio_data); in TGEC_MII_ReadPhyReg() 131 cfgStatusReg = GET_UINT32(p_MiiAccess->mdio_cfg_status); in TGEC_MII_ReadPhyReg()
|
| H A D | dtsec.c | 252 tpkt1 = GET_UINT32(p_DtsecMemMap->tpkt); in DtsecIsr() 255 tmpReg1 = GET_UINT32(*(uint32_t*)((uint8_t*)p_DtsecMemMap + 0x32c)); in DtsecIsr() 267 tpkt2 = GET_UINT32(p_DtsecMemMap->tpkt); in DtsecIsr() 268 tmpReg2 = GET_UINT32(*(uint32_t*)((uint8_t*)p_DtsecMemMap + 0x32c)); in DtsecIsr() 281 WRITE_UINT32(p_DtsecMemMap->rctrl, GET_UINT32(p_DtsecMemMap->rctrl) | RCTRL_GRS); in DtsecIsr() 286 if (GET_UINT32(p_DtsecMemMap->ievent) & DTSEC_IMASK_GRSCEN) in DtsecIsr() 290 if (GET_UINT32(p_DtsecMemMap->ievent) & DTSEC_IMASK_GRSCEN) in DtsecIsr() 329 event = GET_UINT32(p_DtsecMemMap->ievent); in DtsecMdioIsr() 334 event &= GET_UINT32(p_DtsecMemMap->imask); in DtsecMdioIsr()
|
| H A D | memac.c | 912 tmpReg = GET_UINT32(p_Memac->p_MemMap->command_config); in MemacInit()
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/FM/Pcd/ |
| H A D | fm_pcd.c | 1703 return GET_UINT32(p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs->fmpr_pds); in FM_PCD_GetCounter() 1705 return GET_UINT32(p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs->fmpr_l2rrs); in FM_PCD_GetCounter() 1707 return GET_UINT32(p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs->fmpr_l3rrs); in FM_PCD_GetCounter() 1709 return GET_UINT32(p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs->fmpr_l4rrs); in FM_PCD_GetCounter() 1711 return GET_UINT32(p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs->fmpr_srrs); in FM_PCD_GetCounter() 1719 return GET_UINT32(p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs->fmpr_srres); in FM_PCD_GetCounter() 1721 return GET_UINT32(p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs->fmpr_spcs); in FM_PCD_GetCounter() 1723 return GET_UINT32(p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs->fmpr_spscs); in FM_PCD_GetCounter() 1727 return GET_UINT32(p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs->fmpr_mrcs); in FM_PCD_GetCounter() 1731 return GET_UINT32(p_FmPcd->p_FmPcdPrs->p_FmPcdPrsRegs->fmpr_mwcs); in FM_PCD_GetCounter() [all …]
|
| H A D | fm_plcr.c | 331 while (GET_UINT32(p_FmPcdPlcrRegs->fmpl_par) & FM_PCD_PLCR_PAR_GO) ; in WritePar() 617 event = GET_UINT32(p_FmPcd->p_FmPcdPlcr->p_FmPcdPlcrRegs->fmpl_evr); in EventsCB() 618 mask = GET_UINT32(p_FmPcd->p_FmPcdPlcr->p_FmPcdPlcrRegs->fmpl_ier); in EventsCB() 623 force = GET_UINT32(p_FmPcd->p_FmPcdPlcr->p_FmPcdPlcrRegs->fmpl_ifr); in EventsCB() 644 event = GET_UINT32(p_FmPcd->p_FmPcdPlcr->p_FmPcdPlcrRegs->fmpl_eevr); in ErrorExceptionsCB() 645 mask = GET_UINT32(p_FmPcd->p_FmPcdPlcr->p_FmPcdPlcrRegs->fmpl_eier); in ErrorExceptionsCB() 650 force = GET_UINT32(p_FmPcd->p_FmPcdPlcr->p_FmPcdPlcrRegs->fmpl_eifr); in ErrorExceptionsCB() 1016 if (GET_UINT32(p_Regs->fmpl_pmr[hardwarePortId-1]) & FM_PCD_PLCR_PMR_V) in PlcrSetPortProfiles() 1526 tmpReg32 = GET_UINT32(p_FmPcd->p_FmPcdPlcr->p_FmPcdPlcrRegs->fmpl_gcr); in FM_PCD_SetPlcrStatistics() 1776 counterVal = GET_UINT32(p_FmPcdPlcrRegs->profileRegs.fmpl_peypc); in FM_PCD_PlcrProfileGetCounter() [all …]
|
| H A D | fm_manip.c | 1075 WRITE_UINT32(*p_Last, GET_UINT32(*p_Last) | HMCD_LAST); in BuildHmct() 1496 (GET_UINT32(p_Ad->matchTblPtr) | tmpReg32)); in UpdateInitMvIntFrameHeaderFromFrameToBufferPrefix() 1503 tmpReg32 = GET_UINT32(p_Ad->matchTblPtr); in UpdateInitMvIntFrameHeaderFromFrameToBufferPrefix() 1538 tmpReg32 = GET_UINT32(p_Ad->pcAndOffsets); in UpdateModifyCapwapFragmenation() 1625 tmpReg32 = GET_UINT32(p_Ad->pcAndOffsets); in UpdateInitCapwapFragmentation() 1794 tmpReg32 = GET_UINT32(p_ReassmTbl->mode); in UpdateInitCapwapReasm() 1805 tmpReg32 = GET_UINT32(p_ReassmTbl->mode); in UpdateInitCapwapReasm() 1809 tmpReg32 = GET_UINT32(p_ReassmTbl->intStatsTblPtr); in UpdateInitCapwapReasm() 2962 tmpReg32 = GET_UINT32(p_Ad->ccAdBase); in UpdateIndxStats() 3879 p_Stats->totalFrames = GET_UINT32(p_Ad->gmask); in IpFragmentationStats() [all …]
|
| H A D | fm_prs.c | 165 WRITE_UINT32(p_LoadTarget[i], GET_UINT32(p_TmpCode[i])); in PrsInit() 393 WRITE_UINT32(p_LoadTarget[i], GET_UINT32(p_TmpCode[i])); in FM_PCD_PrsLoadSw()
|
| H A D | fm_replic.c | 251 tmp = GET_UINT32(p_CurrReplicAd->plcrProfile); in FillReplicAdOfTypeResult() 260 tmp = GET_UINT32(p_CurrReplicAd->nia); in FillReplicAdOfTypeResult()
|
| H A D | fm_kg.c | 2866 … tmpReg32 = GET_UINT32(p_FmPcd->p_FmPcdKg->p_IndirectAccessRegs->schemeRegs.kgse_mode); in FmPcdKgCcGetSetParams() 2900 … tmpReg32 = GET_UINT32(p_FmPcd->p_FmPcdKg->p_IndirectAccessRegs->schemeRegs.kgse_mode); in FmPcdKgCcGetSetParams() 2926 tmpReg32 = GET_UINT32(p_FmPcd->p_FmPcdKg->p_IndirectAccessRegs->schemeRegs.kgse_mode); in FmPcdKgCcGetSetParams() 3151 …if (!(GET_UINT32(p_FmPcd->p_FmPcdKg->p_IndirectAccessRegs->schemeRegs.kgse_mode) & KG_SCH_MODE_EN)) in FM_PCD_KgSchemeGetCounter() 3153 spc = GET_UINT32(p_FmPcd->p_FmPcdKg->p_IndirectAccessRegs->schemeRegs.kgse_spc); in FM_PCD_KgSchemeGetCounter() 3184 …if (!(GET_UINT32(p_FmPcd->p_FmPcdKg->p_IndirectAccessRegs->schemeRegs.kgse_mode) & KG_SCH_MODE_EN)) in FM_PCD_KgSchemeSetCounter()
|
| H A D | fm_cc.c | 556 tmpReg32 = GET_UINT32(p_AdTmp->nia); in SetRequiredAction1() 2331 tmp = GET_UINT32(p_AdResult->plcrProfile); in FillAdOfTypeResult() 4306 p_KeyStatistics->byteCount = GET_UINT32(*p_StatsCounters); in MatchTableGetKeyStatistics() 4313 p_KeyStatistics->frameCount += GET_UINT32(*p_StatsCounters); in MatchTableGetKeyStatistics() 4317 GET_UINT32(*p_StatsCounters); in MatchTableGetKeyStatistics() 6978 frameCount = GET_UINT32(*(uint32_t *)(PTR_MOVE(p_StatsCounters, in FM_PCD_MatchTableGetKeyCounter()
|
| /f-stack/freebsd/contrib/ncsw/etc/ |
| H A D | memcpy.c | 176 WRITE_UINT32(*p_Dst32, GET_UINT32(*p_Src32)); in IO2IOCpy32() 188 lastWord = GET_UINT32(*p_Src32); in IO2IOCpy32() 192 currWord = GET_UINT32(*p_Src32); in IO2IOCpy32() 333 *p_Dst32 = GET_UINT32(*p_Src32); in IO2MemCpy32() 345 lastWord = GET_UINT32(*p_Src32); in IO2MemCpy32() 349 currWord = GET_UINT32(*p_Src32); in IO2MemCpy32()
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/FM/MACSEC/ |
| H A D | fm_macsec_master.c | 77 events = GET_UINT32(p_FmMacsec->p_FmMacsecRegs->evr); in MacsecEventIsr() 78 events |= GET_UINT32(p_FmMacsec->p_FmMacsecRegs->ever); in MacsecEventIsr() 96 errors = GET_UINT32(p_FmMacsec->p_FmMacsecRegs->err); in MacsecErrorIsr() 97 errors |= GET_UINT32(p_FmMacsec->p_FmMacsecRegs->erer); in MacsecErrorIsr() 112 tmpReg = GET_UINT32(p_FmMacsec->p_FmMacsecRegs->meec); in MacsecErrorIsr() 371 tmpReg = GET_UINT32(p_FmMacsec->p_FmMacsecRegs->cfg); in MacsecEnable() 386 tmpReg = GET_UINT32(p_FmMacsec->p_FmMacsecRegs->cfg); in MacsecDisable() 572 tmpReg = GET_UINT32(p_FmMacsec->p_FmMacsecRegs->cfg); in FmMacsecSetPTP() 598 tmpReg = GET_UINT32(p_FmMacsec->p_FmMacsecRegs->rxsccfg); in FmMacsecCreateRxSc() 656 tmpReg = GET_UINT32(p_FmMacsec->p_FmMacsecRegs->txsccfg); in FmMacsecCreateTxSc() [all …]
|
| /f-stack/freebsd/contrib/ncsw/inc/ |
| H A D | debug_ext.h | 194 physAddr, GET_UINT32(*(uint32_t*)addr), "", dumpSubStr); \ 219 … physAddr, GET_UINT32((st)->phrase[dumpArrIdx]), "", dumpSubStr, dumpArrIdx); \
|
| H A D | types_freebsd.h | 54 #define GET_UINT32(arg) in32(&(arg)) macro
|
| H A D | ncsw_ext.h | 75 SwapUint32(GET_UINT32(arg))
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/FM/Port/ |
| H A D | fm_port.c | 905 if (!(GET_UINT32(*p_Reg) & BMI_COUNTERS_EN)) in BmiPortCheckAndGetCounterType() 1773 if ((GET_UINT32(*p_BmiNia) & ~BMI_RFNE_FDCS_MASK) in AttachPCD() 2172 tmpInt = (int)GET_UINT32(*p_BmiPrsStartOffset) in FmPortGetSetCcParams() 3992 GET_UINT32(*p_ErrDiscard) | errs); in FM_PORT_SetErrorsRoute() 4479 tmpReg = GET_UINT32(*p_BmiVspe); in FM_PORT_VSPAlloc() 4511 tmpReg = GET_UINT32(*p_BmiVspe); in FM_PORT_VSPAlloc() 4746 if ((GET_UINT32(*p_BmiNia) & ~BMI_RFNE_FDCS_MASK) in FM_PORT_PcdCcModifyTree() 5962 tmp32 = GET_UINT32(*fmclk); in fm_soc_suspend() 5964 tmp32 = GET_UINT32(*fmclk); in fm_soc_suspend() 5973 tmp32 = GET_UINT32(*fmclk); in fm_clk_down() [all …]
|
| H A D | fm_port.h | 750 #define BD_STATUS_AND_LENGTH(bd) GET_UINT32(*(volatile uint32_t*)(bd)) 971 physAddr |= GET_UINT32(p_Bd->buff.low); in BdBufferGet()
|
| H A D | fm_port_im.c | 126 uint32_t tmpReg = GET_UINT32(p_FmPort->im.p_FmPortImPram->mode); in FmPortImEnable() 133 uint32_t tmpReg = GET_UINT32(p_FmPort->im.p_FmPortImPram->mode); in FmPortImDisable()
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/BM/ |
| H A D | bm.c | 334 return GET_UINT32(p_Bm->p_BmRegs->content[bpid]); in BmGetCounter() 336 return GET_UINT32(p_Bm->p_BmRegs->sdcnt[bpid]); in BmGetCounter() 338 return GET_UINT32(p_Bm->p_BmRegs->hdcnt[bpid]); in BmGetCounter() 340 return GET_UINT32(p_Bm->p_BmRegs->fbpr_fpc); in BmGetCounter() 403 tmpReg = GET_UINT32(p_Bm->p_BmRegs->ip_rev_1); in BmGetRevision() 693 tmpReg = GET_UINT32(p_Bm->p_BmRegs->err_isr); in BM_ErrorIsr() 694 tmpReg &= GET_UINT32(p_Bm->p_BmRegs->err_ier); in BM_ErrorIsr() 739 tmpReg = GET_UINT32(p_Bm->p_BmRegs->err_ier); in BM_SetException()
|
| H A D | bman_low.c | 94 return GET_UINT32(*tmp); in __bm_in() 119 return GET_UINT32(*tmp); in __bm_cl_in()
|
| /f-stack/freebsd/contrib/ncsw/inc/flib/common/ |
| H A D | general.h | 46 #define ioread32be(addr) GET_UINT32(*addr)
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/QM/ |
| H A D | qm.c | 204 rslt = MCR_get_rslt(GET_UINT32(p_Qm->p_QmRegs->mcr)); in QmInitPfdr() 222 rslt = MCR_get_rslt(GET_UINT32(p_Qm->p_QmRegs->mcr)); in QmInitPfdr() 329 return GET_UINT32(p_Qm->p_QmRegs->sfdr_in_use); in QmGetCounter() 333 … return (GET_UINT32(p_Qm->p_QmRegs->pfdr_fpc) - GET_UINT32(p_Qm->p_QmRegs->pfdr_cfg)); in QmGetCounter() 391 tmpReg = GET_UINT32(p_Qm->p_QmRegs->ip_rev_1); in QmGetRevision() 722 while ((tmpReg = GET_UINT32(*tmp)) != WORKAROUND_TMP_VAL) ; in QM_Config() 830 p_Qm->numOfPfdr = GET_UINT32(p_Qm->p_QmRegs->pfdr_fpc); in QM_Init() 1053 tmpReg = GET_UINT32(p_Qm->p_QmRegs->err_isr); in QM_ErrorIsr() 1054 tmpReg &= GET_UINT32(p_Qm->p_QmRegs->err_ier); in QM_ErrorIsr() 1146 ecsr = GET_UINT32(p_Qm->p_QmRegs->ecsr); in QM_GetErrorInformation() [all …]
|
| H A D | qman_low.h | 106 return GET_UINT32(*tmp); in __qm_in() 131 return GET_UINT32(*tmp); in __qm_cl_in()
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/FM/ |
| H A D | fm_ncsw.c | 415 while (GET_UINT32(p_Iram->idata) != 0xffffffff) ; in ClearIRam() 454 tmp = GET_UINT32(p_Iram->idata); in LoadFmanCtrlCode() 484 while (GET_UINT32(p_Iram->iadd) != 0) ; in FwNotResetErratumBugzilla6173WA() 488 while (GET_UINT32(p_Iram->iadd) != 0) ; in FwNotResetErratumBugzilla6173WA() 4729 while (GET_UINT32(p_Iram->iadd) != 0x4) ; in FM_GetFmanCtrlCodeRevision() 4730 revInfo = GET_UINT32(p_Iram->idata); in FM_GetFmanCtrlCodeRevision() 5100 ((uint64_t)GET_UINT32(p_MonRegs->tpcch) << 32 | GET_UINT32(p_MonRegs->tpccl)); in FM_CtrlMonGetCounters() 5103 ((uint64_t)GET_UINT32(p_MonRegs->tpc1h) << 32 | GET_UINT32(p_MonRegs->tpc1l)); in FM_CtrlMonGetCounters() 5106 ((uint64_t)GET_UINT32(p_MonRegs->tpc2h) << 32 | GET_UINT32(p_MonRegs->tpc2l)); in FM_CtrlMonGetCounters() 5199 rcr = GET_UINT32(p_Fm->p_FmFpmRegs->fm_rcr); in FM_ChangeClock() [all …]
|