/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/ |
H A D | tgec_mii_acc.c | 46 uint8_t phyAddr, in TGEC_MII_WritePhyReg() argument 69 WRITE_UINT32(p_MiiAccess->mdio_command, phyAddr); in TGEC_MII_WritePhyReg() 90 uint8_t phyAddr, in TGEC_MII_ReadPhyReg() argument 113 WRITE_UINT32(p_MiiAccess->mdio_command, phyAddr); in TGEC_MII_ReadPhyReg() 122 WRITE_UINT32(p_MiiAccess->mdio_command, (uint32_t)(phyAddr | MIIMCOM_READ_CYCLE)); in TGEC_MII_ReadPhyReg() 136 ((phyAddr & 0xe0)>>5), (phyAddr & 0x1f), reg, cfgStatusReg)); in TGEC_MII_ReadPhyReg()
|
H A D | dtsec_mii_acc.c | 49 uint8_t phyAddr, in DTSEC_MII_WritePhyReg() argument 64 err = (t_Error)fman_dtsec_mii_write_reg(miiregs, phyAddr, reg, data, dtsec_freq); in DTSEC_MII_WritePhyReg() 71 uint8_t phyAddr, in DTSEC_MII_ReadPhyReg() argument 86 err = fman_dtsec_mii_read_reg(miiregs, phyAddr, reg, p_Data, dtsec_freq); in DTSEC_MII_ReadPhyReg() 91 phyAddr, reg)); in DTSEC_MII_ReadPhyReg()
|
H A D | memac_mii_acc.c | 46 uint8_t phyAddr, in MEMAC_MII_WritePhyReg() argument 56 phyAddr, in MEMAC_MII_WritePhyReg() 64 uint8_t phyAddr, in MEMAC_MII_ReadPhyReg() argument 74 phyAddr, in MEMAC_MII_ReadPhyReg()
|
H A D | memac.c | 83 static void SetupSgmiiInternalPhy(t_Memac *p_Memac, uint8_t phyAddr) in SetupSgmiiInternalPhy() argument 99 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x14, tmpReg16); in SetupSgmiiInternalPhy() 103 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x4, tmpReg16); in SetupSgmiiInternalPhy() 116 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x13, 0x0007); in SetupSgmiiInternalPhy() 117 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x12, 0xa120); in SetupSgmiiInternalPhy() 121 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x0, tmpReg16); in SetupSgmiiInternalPhy() 129 static void SetupSgmiiInternalPhyBaseX(t_Memac *p_Memac, uint8_t phyAddr) in SetupSgmiiInternalPhyBaseX() argument 142 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x14, tmpReg16); in SetupSgmiiInternalPhyBaseX() 146 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x4, tmpReg16); in SetupSgmiiInternalPhyBaseX() 159 MEMAC_MII_WritePhyReg(p_Memac, phyAddr, 0x13, 0x002f); in SetupSgmiiInternalPhyBaseX() [all …]
|
H A D | dtsec_mii_acc.h | 39 t_Error DTSEC_MII_WritePhyReg(t_Handle h_Dtsec, uint8_t phyAddr, uint8_t reg, uint16_t data); 40 t_Error DTSEC_MII_ReadPhyReg(t_Handle h_Dtsec, uint8_t phyAddr, uint8_t reg, uint16_t *p_Data);
|
H A D | memac.h | 106 t_Error MEMAC_MII_WritePhyReg(t_Handle h_Memac, uint8_t phyAddr, uint8_t reg, uint16_t data); 107 t_Error MEMAC_MII_ReadPhyReg(t_Handle h_Memac, uint8_t phyAddr, uint8_t reg, uint16_t *p_Data);
|
H A D | tgec.h | 147 t_Error TGEC_MII_WritePhyReg(t_Handle h_Tgec, uint8_t phyAddr, uint8_t reg, uint16_t data); 148 t_Error TGEC_MII_ReadPhyReg(t_Handle h_Tgec, uint8_t phyAddr, uint8_t reg, uint16_t *p_Data);
|
H A D | fm_mac.c | 605 t_Error FM_MAC_MII_WritePhyReg (t_Handle h_FmMac, uint8_t phyAddr, uint8_t reg, uint16_t data) in FM_MAC_MII_WritePhyReg() argument 612 return p_FmMacControllerDriver->f_FM_MAC_MII_WritePhyReg(h_FmMac, phyAddr, reg, data); in FM_MAC_MII_WritePhyReg() 619 t_Error FM_MAC_MII_ReadPhyReg(t_Handle h_FmMac, uint8_t phyAddr, uint8_t reg, uint16_t *p_Data) in FM_MAC_MII_ReadPhyReg() argument 626 return p_FmMacControllerDriver->f_FM_MAC_MII_ReadPhyReg(h_FmMac, phyAddr, reg, p_Data); in FM_MAC_MII_ReadPhyReg()
|
H A D | fm_mac.h | 128 …t_Error (*f_FM_MAC_MII_WritePhyReg)(t_Handle h_FmMac, uint8_t phyAddr, uint8_t reg, uint16_t data); 129 …t_Error (*f_FM_MAC_MII_ReadPhyReg)(t_Handle h_FmMac, uint8_t phyAddr, uint8_t reg, uint16_t *p_Da…
|
/freebsd/sys/contrib/ncsw/inc/Peripherals/ |
H A D | mii_acc_ext.h | 53 uint8_t phyAddr, 71 uint8_t phyAddr,
|
H A D | fm_mac_ext.h | 821 t_Error FM_MAC_MII_WritePhyReg(t_Handle h_FmMac, uint8_t phyAddr, uint8_t reg, uint16_t data); 837 t_Error FM_MAC_MII_ReadPhyReg(t_Handle h_FmMac, uint8_t phyAddr, uint8_t reg, uint16_t *p_Data);
|
/freebsd/sys/contrib/ncsw/Peripherals/QM/ |
H A D | qm.c | 173 uint64_t phyAddr; in CheckQmParameters() local 175 phyAddr = XX_VirtToPhys(UINT_TO_PTR(p_Qm->p_QmDriverParams->swPortalsBaseAddress)); in CheckQmParameters() 177 if (phyAddr & 0x00000000001fffffLL) in CheckQmParameters() 764 uint64_t phyAddr; in QM_Init() local 771 phyAddr = XX_VirtToPhys(UINT_TO_PTR(p_QmDriverParams->swPortalsBaseAddress)); in QM_Init() 772 WRITE_UINT32(p_Qm->p_QmRegs->qcsp_bare, ((uint32_t)(phyAddr >> 32) & 0x000000ff)); in QM_Init() 773 WRITE_UINT32(p_Qm->p_QmRegs->qcsp_bar, (uint32_t)phyAddr); in QM_Init() 797 phyAddr = XX_VirtToPhys(p_Qm->p_FqdBase); in QM_Init() 798 WRITE_UINT32(p_Qm->p_QmRegs->fqd_bare, ((uint32_t)(phyAddr >> 32) & 0x000000ff)); in QM_Init() 799 WRITE_UINT32(p_Qm->p_QmRegs->fqd_bar, (uint32_t)phyAddr); in QM_Init() [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/BM/ |
H A D | bm.c | 527 uint64_t phyAddr; in BM_Init() local 552 phyAddr = XX_VirtToPhys(p_Bm->p_FbprBase); in BM_Init() 553 WRITE_UINT32(p_Bm->p_BmRegs->fbpr_bare, ((uint32_t)(phyAddr >> 32) & 0xffff)); in BM_Init() 554 WRITE_UINT32(p_Bm->p_BmRegs->fbpr_bar, (uint32_t)phyAddr); in BM_Init()
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah.h | 1338 struct ath_desc *, uint32_t phyAddr,
|