Home
last modified time | relevance | path

Searched refs:BASE_1G_TX_PORTID (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/ncsw/Peripherals/FM/inc/
H A Dfm_common.h490 #define BASE_1G_TX_PORTID 0x28 macro
549 else if (((hardwarePortId) >= BASE_1G_TX_PORTID) && \
550 ((hardwarePortId) < BASE_1G_TX_PORTID+FM_MAX_NUM_OF_1G_TX_PORTS)) \
551 _relativePortId = (uint8_t)((hardwarePortId)-BASE_1G_TX_PORTID); \
574 …else if (((hardwarePortId) >= BASE_1G_TX_PORTID) && …
575 … ((hardwarePortId) < BASE_1G_TX_PORTID+FM_MAX_NUM_OF_1G_TX_PORTS)) \
576 …swPortIndex = (uint8_t)((hardwarePortId)-BASE_1G_TX_PORTID+FM_PCD_PORT_1G_TX_BASE_INDX); …
592 …hardwarePortId = (uint8_t)((swPortIndex)-FM_PCD_PORT_1G_TX_BASE_INDX+BASE_1G_TX_PORTID); …
/freebsd/sys/contrib/ncsw/Peripherals/FM/
H A Dfm_ncsw.c3236 return (uint8_t)(BASE_1G_TX_PORTID + (relativePortId)); in SwPortIdToHwPortId()
3244 return (uint8_t)(BASE_1G_TX_PORTID + (relativePortId)); in SwPortIdToHwPortId()