Home
last modified time | relevance | path

Searched refs:HiethNetdevLocal (Results 1 – 11 of 11) sorted by relevance

/device/soc/hisilicon/common/platform/hieth-sf/include/internal/
Deth_mac.h115 int32_t HiethSetMacLeadcodeCntLimit(struct HiethNetdevLocal *ld, int32_t cnt);
116 int32_t HiethSetMacTransIntervalBits(struct HiethNetdevLocal *ld, int32_t nbits);
117 int32_t HiethSetMacFcInterval(struct HiethNetdevLocal *ld, int32_t para);
119 int32_t HiethSetLinkStat(struct HiethNetdevLocal *ld, unsigned long mode);
120 int32_t HiethGetLinkStat(struct HiethNetdevLocal *ld);
122 int32_t HiethSetNegMode(struct HiethNetdevLocal *ld, int32_t mode);
123 int32_t HiethGetNegmode(struct HiethNetdevLocal *ld);
125 int32_t HiethSetMiiMode(struct HiethNetdevLocal *ld, int32_t mode);
126 void HiethSetRcvLenMax(struct HiethNetdevLocal *ld, int32_t cnt);
Dctrl.h291 void HiethHwMacCoreInit(struct HiethNetdevLocal *ld);
292 void HiethFephyTrim(struct HiethNetdevLocal *ld, const EthPhyAccess *f);
294 int32_t TestXmitQueueReady(struct HiethNetdevLocal *ld);
297 int32_t HiethIrqEnable(struct HiethNetdevLocal *ld, int32_t irqs);
300 int32_t HiethIrqDisable(struct HiethNetdevLocal *ld, int32_t irqs);
303 int32_t HiethReadIrqstatus(struct HiethNetdevLocal *ld);
306 int32_t HiethClearIrqstatus(struct HiethNetdevLocal *ld, int32_t irqs);
308 int32_t HiethSetEndianMode(struct HiethNetdevLocal *ld, int32_t mode);
311 int32_t HiethSetHwqDepth(struct HiethNetdevLocal *ld);
313 int32_t HiethHwSetMacAddress(struct HiethNetdevLocal *ld, int32_t ena, const uint8_t *mac);
[all …]
Dmdio.h69 int32_t HiethMdioRead(struct HiethNetdevLocal *ld, int32_t phyAddr, int32_t regNum);
70 int32_t HiethMdioWrite(struct HiethNetdevLocal *ld, int32_t phyAddr, int32_t regNum, int32_t val);
71 int32_t HiethMdioReset(struct HiethNetdevLocal *ld);
72 int32_t HiethMdioInit(struct HiethNetdevLocal *ld);
73 void HiethMdioExit(struct HiethNetdevLocal *ld);
Deth_phy.h105 bool HiethGetPhyStat(struct HiethNetdevLocal *pld, EthPhyAccess *phyAccess, uint32_t *state);
106 int32_t MiiphyLink(struct HiethNetdevLocal *pld, EthPhyAccess *phyAccess);
107 int32_t MiiphySpeed(struct HiethNetdevLocal *pld, EthPhyAccess *phyAccess);
108 int32_t MiiphyDuplex(struct HiethNetdevLocal *pld, EthPhyAccess *phyAccess);
/device/soc/hisilicon/common/platform/hieth-sf/src/
Deth_mac.c24 static int32_t SetLinkStat(struct HiethNetdevLocal *ld, unsigned long mode) in SetLinkStat()
33 static int32_t SetNegMode(struct HiethNetdevLocal *ld, int32_t mode) in SetNegMode()
42 static int32_t GetNegMode(struct HiethNetdevLocal *ld) in GetNegMode()
47 int32_t HiethSetLinkStat(struct HiethNetdevLocal *ld, unsigned long mode) in HiethSetLinkStat()
52 int32_t HiethGetLinkStat(struct HiethNetdevLocal *ld) in HiethGetLinkStat()
57 int32_t HiethSetMacLeadcodeCntLimit(struct HiethNetdevLocal *ld, int32_t cnt) in HiethSetMacLeadcodeCntLimit()
68 int32_t HiethSetMacTransIntervalBits(struct HiethNetdevLocal *ld, int32_t nbits) in HiethSetMacTransIntervalBits()
90 int32_t HiethSetMacFcInterval(struct HiethNetdevLocal *ld, int32_t para) in HiethSetMacFcInterval()
101 int32_t HiethSetNegMode(struct HiethNetdevLocal *ld, int32_t mode) in HiethSetNegMode()
111 int32_t HiethGetNegmode(struct HiethNetdevLocal *ld) in HiethGetNegmode()
[all …]
Dctrl.c27 static inline int32_t FephyExpandedRead(struct HiethNetdevLocal *ld, int32_t phyAddr, int32_t regNu… in FephyExpandedRead()
33 static inline int32_t FephyExpandedWrite(struct HiethNetdevLocal *ld, int32_t phyAddr, int32_t regN… in FephyExpandedWrite()
39 static void HiethFephyUseDefaultTrim(struct HiethNetdevLocal *ld, const EthPhyAccess *phyAccess) in HiethFephyUseDefaultTrim()
56 void HiethFephyTrim(struct HiethNetdevLocal *ld, const EthPhyAccess *phyAccess) in HiethFephyTrim()
103 static inline void HiethEnableRxcsumDrop(struct HiethNetdevLocal *ld, bool drop) in HiethEnableRxcsumDrop()
110 void HiethHwMacCoreInit(struct HiethNetdevLocal *ld) in HiethHwMacCoreInit()
146 static inline int32_t IrqEnable(struct HiethNetdevLocal *ld, int32_t irqs) in IrqEnable()
156 static inline int32_t IrqDisable(struct HiethNetdevLocal *ld, int32_t irqs) in IrqDisable()
165 static inline int32_t ReadIrqstatus(struct HiethNetdevLocal *ld) in ReadIrqstatus()
173 int32_t HiethHwSetMacAddress(struct HiethNetdevLocal *ld, int32_t ena, const uint8_t *mac) in HiethHwSetMacAddress()
[all …]
Dmdio.c19 static int32_t WaitMdioReady(struct HiethNetdevLocal *ld) in WaitMdioReady()
29 int32_t HiethMdioRead(struct HiethNetdevLocal *ld, int32_t phyAddr, int32_t regNum) in HiethMdioRead()
48 int32_t HiethMdioWrite(struct HiethNetdevLocal *ld, int32_t phyAddr, int32_t regNum, int32_t val) in HiethMdioWrite()
65 int32_t HiethMdioReset(struct HiethNetdevLocal *ld) in HiethMdioReset()
71 int32_t HiethMdioInit(struct HiethNetdevLocal *ld) in HiethMdioInit()
82 void HiethMdioExit(struct HiethNetdevLocal *ld) in HiethMdioExit()
Deth_phy.c24 bool HiethGetPhyStat(struct HiethNetdevLocal *ld, EthPhyAccess *phyAccess, uint32_t *state) in HiethGetPhyStat()
53 int32_t MiiphyLink(struct HiethNetdevLocal *ld, EthPhyAccess *phyAccess) in MiiphyLink()
76 static int32_t MiiphyIs1000baseX(struct HiethNetdevLocal *ld, EthPhyAccess *phyAccess) in MiiphyIs1000baseX()
92 int32_t MiiphySpeed(struct HiethNetdevLocal *ld, EthPhyAccess *phyAccess) in MiiphySpeed()
138 int32_t MiiphyDuplex(struct HiethNetdevLocal *ld, EthPhyAccess *phyAccess) in MiiphyDuplex()
Dinterface.c82 struct HiethNetdevLocal *ld = &(g_stHiethPlatformData[priv->index].stNetdevLocal); in PhyStateMachine()
98 struct HiethNetdevLocal *ld = &(g_stHiethPlatformData[priv->index].stNetdevLocal); in HiethMonitorFunc()
196 static uint32_t ScanPhyId(struct HiethNetdevLocal *ld, int32_t addr) in ScanPhyId()
212 struct HiethNetdevLocal *ld = &(g_stHiethPlatformData[priv->index].stNetdevLocal); in HiethCanSend()
250 struct HiethNetdevLocal *ld = &(g_stHiethPlatformData[priv->index].stNetdevLocal); in HiethSend()
263 struct HiethNetdevLocal *ld = &(g_stHiethPlatformData[priv->index].stNetdevLocal); in HiethDeliver()
371 struct HiethNetdevLocal *ld = &(g_stHiethPlatformData[priv->index].stNetdevLocal); in HiethLinkStatusChanged()
450 struct HiethNetdevLocal *ld = &(g_stHiethPlatformData[priv->index].stNetdevLocal); in HiethHwInit()
535 struct HiethNetdevLocal *ld = &(g_stHiethPlatformData[priv->index].stNetdevLocal); in RegisterHiethData()
617 struct HiethNetdevLocal *GetHiethNetDevLocal(struct EthDevice *ethDevice) in GetHiethNetDevLocal()
[all …]
/device/soc/hisilicon/common/platform/hieth-sf/include/
Dhieth.h65 struct HiethNetdevLocal { struct
100 struct HiethNetdevLocal stNetdevLocal; argument
105 struct HiethNetdevLocal *GetHiethNetDevLocal(struct EthDevice *ethDevice);
/device/soc/hisilicon/common/platform/hieth-sf/adapter/
Dhieth_mac.c43 struct HiethNetdevLocal *ld = GetHiethNetDevLocal(ethDevice); in HiethPortReset()
74 struct HiethNetdevLocal *ld = GetHiethNetDevLocal(ethDevice); in HiethPortInit()