Home
last modified time | relevance | path

Searched refs:UP_PORT (Results 1 - 4 of 4) sorted by relevance

/device/soc/hisilicon/common/platform/hieth-sf/include/internal/
H A Dhieth_pri.h186 #define UD_REG_NAME(name) ((ld->port == UP_PORT) ? U_##name : D_##name)
187 #define UD_BIT_NAME(name) ((ld->port == UP_PORT) ? name##_U : name##_D)
188 #define UD_PHY_NAME(name) ((ld->port == UP_PORT) ? name##_U : name##_D)
190 #define UD_BIT(port, name) (((port) == UP_PORT) ? name##_U : name##_D)
192 #define GLB_MAC_H16(port, reg) ((((port) == UP_PORT) ? GLB_MAC_H16_BASE : GLB_MAC_H16_BASE_D) + (reg * 0x8))
193 #define GLB_MAC_L32(port, reg) ((((port) == UP_PORT) ? GLB_MAC_L32_BASE : GLB_MAC_L32_BASE_D) + (reg * 0x8))
/device/soc/hisilicon/common/platform/hieth-sf/src/
H A Dctrl.c182 if (ld->port == UP_PORT) { in HiethHwSetMacAddress()
189 if (ld->port == UP_PORT) { in HiethHwSetMacAddress()
201 if (ld->port == UP_PORT) { in HiethHwGetMacAddress()
209 if (ld->port == UP_PORT) { in HiethHwGetMacAddress()
/device/soc/hisilicon/common/platform/hieth-sf/include/
H A Dhieth.h41 #define UP_PORT 0 macro
/device/soc/hisilicon/common/platform/hieth-sf/adapter/
H A Dhieth_mac.c50 if (ld->port == UP_PORT) { in HiethPortReset()

Completed in 2 milliseconds