/hal_nxp-3.5.0/mcux/mcux-sdk/components/silicon_id/ |
D | fsl_silicon_id.c | 75 status_t SILICONID_ConvertToMacAddr(uint8_t (*macAddr)[6]) in SILICONID_ConvertToMacAddr() 92 macAddr[0][0] = 0x54; in SILICONID_ConvertToMacAddr() 93 macAddr[0][1] = 0x27; in SILICONID_ConvertToMacAddr() 94 macAddr[0][2] = 0x8d; in SILICONID_ConvertToMacAddr() 97 macAddr[0][3] = siliconId[0]; in SILICONID_ConvertToMacAddr() 98 macAddr[0][4] = siliconId[1]; in SILICONID_ConvertToMacAddr() 99 macAddr[0][5] = siliconId[2]; in SILICONID_ConvertToMacAddr()
|
D | fsl_silicon_id.h | 36 status_t SILICONID_ConvertToMacAddr(uint8_t (*macAddr)[6]);
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpc_enet/ |
D | fsl_enet.h | 620 void ENET_Init(ENET_Type *base, const enet_config_t *config, uint8_t *macAddr, uint32_t refclkSrc_H… 812 static inline void ENET_SetMacAddr(ENET_Type *base, uint8_t *macAddr) in ENET_SetMacAddr() argument 814 assert(macAddr); in ENET_SetMacAddr() 816 …uint32_t lowAddress = ((uint32_t)macAddr[3] << 24) | ((uint32_t)macAddr[2] << 16) | ((uint32_t)mac… in ENET_SetMacAddr() 817 ((uint32_t)macAddr[0]); in ENET_SetMacAddr() 818 uint32_t highAddress = ((uint32_t)macAddr[5] << 8) | ((uint32_t)macAddr[4]); in ENET_SetMacAddr() 833 void ENET_GetMacAddr(ENET_Type *base, uint8_t *macAddr);
|
D | fsl_enet.c | 85 static void ENET_SetMacControl(ENET_Type *base, const enet_config_t *config, uint8_t *macAddr); 271 static void ENET_SetMacControl(ENET_Type *base, const enet_config_t *config, uint8_t *macAddr) in ENET_SetMacControl() argument 280 if (macAddr != NULL) in ENET_SetMacControl() 282 ENET_SetMacAddr(base, macAddr); in ENET_SetMacControl() 575 void ENET_Init(ENET_Type *base, const enet_config_t *config, uint8_t *macAddr, uint32_t refclkSrc_H… in ENET_Init() argument 594 ENET_SetMacControl(base, config, macAddr); in ENET_Init() 948 void ENET_GetMacAddr(ENET_Type *base, uint8_t *macAddr) in ENET_GetMacAddr() argument 950 assert(macAddr); in ENET_GetMacAddr() 955 macAddr[2] = (uint8_t)(0xFFU & (address >> 24U)); in ENET_GetMacAddr() 956 macAddr[3] = (uint8_t)(0xFFU & (address >> 16U)); in ENET_GetMacAddr() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/enet_qos/ |
D | fsl_enet_qos.h | 796 …ENET_QOS_Type *base, const enet_qos_config_t *config, uint8_t *macAddr, uint8_t macCount, uint32_t… 814 …ENET_QOS_Type *base, const enet_qos_config_t *config, uint8_t *macAddr, uint8_t macCount, uint32_t… 1073 static inline void ENET_QOS_SetMacAddr(ENET_QOS_Type *base, uint8_t *macAddr, uint8_t index) in ENET_QOS_SetMacAddr() argument 1078 assert(macAddr != NULL); in ENET_QOS_SetMacAddr() 1080 …lowAddress = ((uint32_t)macAddr[3] << 24U) | ((uint32_t)macAddr[2] << 16U) | ((uint32_t)macAddr[1]… in ENET_QOS_SetMacAddr() 1081 ((uint32_t)macAddr[0]); in ENET_QOS_SetMacAddr() 1082 highAddress = ((uint32_t)macAddr[5] << 8U) | ((uint32_t)macAddr[4]); in ENET_QOS_SetMacAddr() 1098 void ENET_QOS_GetMacAddr(ENET_QOS_Type *base, uint8_t *macAddr, uint8_t index);
|
D | fsl_enet_qos.c | 97 uint8_t *macAddr, 396 uint8_t *macAddr, in ENET_QOS_SetMacControl() argument 406 if (macAddr != NULL) in ENET_QOS_SetMacControl() 410 ENET_QOS_SetMacAddr(base, macAddr, i); in ENET_QOS_SetMacControl() 876 …ENET_QOS_Type *base, const enet_qos_config_t *config, uint8_t *macAddr, uint8_t macCount, uint32_t… in ENET_QOS_Up() argument 888 ENET_QOS_SetMacControl(base, config, macAddr, macCount); in ENET_QOS_Up() 908 …ENET_QOS_Type *base, const enet_qos_config_t *config, uint8_t *macAddr, uint8_t macCount, uint32_t… in ENET_QOS_Init() argument 923 (void)ENET_QOS_Up(base, config, macAddr, macCount, refclkSrc_Hz); in ENET_QOS_Init() 1558 void ENET_QOS_GetMacAddr(ENET_QOS_Type *base, uint8_t *macAddr, uint8_t index) in ENET_QOS_GetMacAddr() argument 1560 assert(macAddr != NULL); in ENET_QOS_GetMacAddr() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/enet/ |
D | fsl_enet.c | 98 uint8_t *macAddr, 250 uint8_t *macAddr, in ENET_Up() argument 257 assert(macAddr != NULL); in ENET_Up() 278 ENET_SetMacController(base, config, bufferConfig, macAddr, srcClock_Hz); in ENET_Up() 315 uint8_t *macAddr, in ENET_Init() argument 332 return ENET_Up(base, handle, config, bufferConfig, macAddr, srcClock_Hz); in ENET_Init() 501 uint8_t *macAddr, in ENET_SetMacController() argument 710 ENET_SetMacAddr(base, macAddr); in ENET_SetMacController() 1124 void ENET_SetMacAddr(ENET_Type *base, uint8_t *macAddr) in ENET_SetMacAddr() argument 1129 …address = (uint32_t)(((uint32_t)macAddr[0] << 24U) | ((uint32_t)macAddr[1] << 16U) | ((uint32_t)ma… in ENET_SetMacAddr() [all …]
|
D | fsl_enet.h | 853 uint8_t *macAddr, 888 uint8_t *macAddr, 1174 void ENET_SetMacAddr(ENET_Type *base, uint8_t *macAddr); 1183 void ENET_GetMacAddr(ENET_Type *base, uint8_t *macAddr);
|
/hal_nxp-3.5.0/s32/drivers/s32ze/EthSwt_NETC/include/ |
D | Netc_EthSwt_Ip.h | 344 Std_ReturnType Netc_EthSwt_Ip_SetMacAddr(uint8 SwitchIdx, uint8 portIndex, const uint8 *macAddr); 357 void Netc_EthSwt_Ip_GetMacAddr(uint8 SwitchIdx, uint8 portIndex, uint8 *macAddr);
|
D | Netc_EthSwt_Ip_Types.h | 1627 uint8 macAddr[6U]; /*!< Array containing the MAC addresses of the port */ member
|
/hal_nxp-3.5.0/mcux/mcux-sdk/cmsis_drivers/enet/ |
D | fsl_enet_cmsis.c | 327 uint8_t macAddr[6] = {0}; in ENET_CommonPowerControl() local 371 … (void)ENET_Init(enet->resource->base, enet->handle, &config, enet->buffers, &macAddr[0], freq); in ENET_CommonPowerControl()
|
/hal_nxp-3.5.0/s32/drivers/s32ze/EthSwt_NETC/src/ |
D | Netc_EthSwt_Ip.c | 753 Std_ReturnType Netc_EthSwt_Ip_SetMacAddr(uint8 SwitchIdx, uint8 portIndex, const uint8 *macAddr) in Netc_EthSwt_Ip_SetMacAddr() argument 760 DevAssert(macAddr != NULL_PTR); in Netc_EthSwt_Ip_SetMacAddr() 763 …ortIndex]->PMAR0 = (uint32)(macAddr[0U]) | ((uint32)(macAddr[1U]) << 8U) | ((uint32)(macAddr[2U]) … in Netc_EthSwt_Ip_SetMacAddr() 764 …Netc_EthSwt_Ip_SW0_PortxBaseAddr[portIndex]->PMAR1 = (uint32)(macAddr[4U]) | ((uint32)(macAddr[5U]… in Netc_EthSwt_Ip_SetMacAddr() 775 void Netc_EthSwt_Ip_GetMacAddr(uint8 SwitchIdx, uint8 portIndex, uint8 *macAddr) in Netc_EthSwt_Ip_GetMacAddr() argument 784 DevAssert(macAddr != NULL_PTR); in Netc_EthSwt_Ip_GetMacAddr() 794 macAddr[macAddrIdx] = (uint8)(msbMacAddr & NETC_ETHSWT_IP_0XFF_MASK); in Netc_EthSwt_Ip_GetMacAddr() 798 macAddr[4U] = (uint8)(lsbMacAddr & NETC_ETHSWT_IP_0XFF_MASK); in Netc_EthSwt_Ip_GetMacAddr() 800 macAddr[5U] = (uint8)(lsbMacAddr & NETC_ETHSWT_IP_0XFF_MASK); in Netc_EthSwt_Ip_GetMacAddr() 4661 …bTableEntry.MacAddr[MacAddrByteIdx] = (*(Config->FdbEntries))[FdbEntryIdx].macAddr[MacAddrByteIdx]; in Netc_EthSwt_Ip_Init()
|