Home
last modified time | relevance | path

Searched refs:txDesc (Results 1 – 10 of 10) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/drivers/lpc_enet/
Dfsl_enet.c1973 void ENET_SetupTxDescriptor(enet_tx_bd_struct_t *txDesc, in ENET_SetupTxDescriptor() argument
2008 txDesc->tdes0 = (uint32_t)(uint32_t *)buffer1; in ENET_SetupTxDescriptor()
2009 txDesc->tdes1 = (uint32_t)(uint32_t *)buffer2; in ENET_SetupTxDescriptor()
2010 txDesc->tdes2 = control; in ENET_SetupTxDescriptor()
2015 txDesc->tdes3 = control; in ENET_SetupTxDescriptor()
2032 static void ENET_ConfigTxDescriptor(enet_tx_bd_struct_t *txDesc, enet_tx_bd_config_struct_t *config) in ENET_ConfigTxDescriptor() argument
2060 txDesc->tdes0 = (uint32_t)(uint32_t *)config->buffer1; in ENET_ConfigTxDescriptor()
2061 txDesc->tdes1 = (uint32_t)(uint32_t *)config->buffer2; in ENET_ConfigTxDescriptor()
2062 txDesc->tdes2 = control; in ENET_ConfigTxDescriptor()
2067 txDesc->tdes3 = control; in ENET_ConfigTxDescriptor()
[all …]
Dfsl_enet.h999 static inline bool ENET_IsTxDescriptorDmaOwn(enet_tx_bd_struct_t *txDesc) in ENET_IsTxDescriptorDmaOwn() argument
1001 return ((txDesc->tdes3 & ENET_TXDESCRIP_RD_OWN_MASK) != 0U) ? true : false; in ENET_IsTxDescriptorDmaOwn()
1026 void ENET_SetupTxDescriptor(enet_tx_bd_struct_t *txDesc,
/hal_nxp-latest/mcux/mcux-sdk/drivers/mcx_enet/
Dfsl_enet.c2095 void ENET_SetupTxDescriptor(enet_tx_bd_struct_t *txDesc, in ENET_SetupTxDescriptor() argument
2130 txDesc->tdes0 = (uint32_t)(uint32_t *)buffer1; in ENET_SetupTxDescriptor()
2131 txDesc->tdes1 = (uint32_t)(uint32_t *)buffer2; in ENET_SetupTxDescriptor()
2132 txDesc->tdes2 = control; in ENET_SetupTxDescriptor()
2137 txDesc->tdes3 = control; in ENET_SetupTxDescriptor()
2154 static void ENET_ConfigTxDescriptor(enet_tx_bd_struct_t *txDesc, enet_tx_bd_config_struct_t *config) in ENET_ConfigTxDescriptor() argument
2182 txDesc->tdes0 = (uint32_t)(uint32_t *)config->buffer1; in ENET_ConfigTxDescriptor()
2183 txDesc->tdes1 = (uint32_t)(uint32_t *)config->buffer2; in ENET_ConfigTxDescriptor()
2184 txDesc->tdes2 = control; in ENET_ConfigTxDescriptor()
2189 txDesc->tdes3 = control; in ENET_ConfigTxDescriptor()
[all …]
Dfsl_enet.h1084 static inline bool ENET_IsTxDescriptorDmaOwn(enet_tx_bd_struct_t *txDesc) in ENET_IsTxDescriptorDmaOwn() argument
1086 return ((txDesc->tdes3 & ENET_TXDESCRIP_RD_OWN_MASK) != 0U) ? true : false; in ENET_IsTxDescriptorDmaOwn()
1111 void ENET_SetupTxDescriptor(enet_tx_bd_struct_t *txDesc,
/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/
Dfsl_netc_endpoint.c747 netc_tx_bd_t *txDesc, in EP_SendFrameCommon() argument
756 bool isExtEnable = (bool)txDesc[0].standard.isExtended; in EP_SendFrameCommon()
821 if (0U != (txDesc[0].standard.flags & NETC_SI_TXDESCRIP_RD_TSR_MASK)) in EP_SendFrameCommon()
830 if (isExtEnable && (0U != (txDesc[1].ext.eFlags & (uint32_t)kNETC_TxExtTwoStepTs))) in EP_SendFrameCommon()
839 txDesTemp->standard.flags = txDesc[0].standard.flags; in EP_SendFrameCommon()
851 txDesTemp->ext = txDesc[1].ext; in EP_SendFrameCommon()
885 netc_tx_bd_t txDesc[2] = {0}; in EP_SendFrame() local
904txDesc[0].standard.flags = NETC_SI_TXDESCRIP_RD_FLQ(0x2U) | NETC_SI_TXDESCRIP_RD_TSE_MASK | in EP_SendFrame()
909 txDesc[0].standard.isExtended = 1U; in EP_SendFrame()
910 txDesc[1].ext.pcp = opt->vlan.pcp; in EP_SendFrame()
[all …]
Dfsl_netc_switch.c703 netc_tx_bd_t txDesc[2] = {0}; in SWT_SendFrame() local
718 txDesc[0].standard.flags = NETC_SI_TXDESCRIP_RD_FLQ(2) | NETC_SI_TXDESCRIP_RD_PORT(swtPort); in SWT_SendFrame()
728 txDesc[0].standard.flags = NETC_SI_TXDESCRIP_RD_FLQ(2) | NETC_SI_TXDESCRIP_RD_SMSO_MASK | in SWT_SendFrame()
738 txDesc[0].standard.isExtended = 1U; in SWT_SendFrame()
739 txDesc[1].ext.pcp = opt->vlan.pcp; in SWT_SendFrame()
740 txDesc[1].ext.dei = opt->vlan.dei; in SWT_SendFrame()
741 txDesc[1].ext.vid = opt->vlan.vid; in SWT_SendFrame()
742 txDesc[1].ext.tpid = (uint16_t)opt->vlan.tpid; in SWT_SendFrame()
743 txDesc[1].ext.eFlags = (uint8_t)kNETC_TxExtVlanInsert; in SWT_SendFrame()
747 txDesc[0].standard.isExtended = 1U; in SWT_SendFrame()
[all …]
Dfsl_netc_endpoint.h1356 netc_tx_bd_t *txDesc,
/hal_nxp-latest/mcux/mcux-sdk/drivers/enet_qos/
Dfsl_enet_qos.c2559 void ENET_QOS_SetupTxDescriptor(enet_qos_tx_bd_struct_t *txDesc, in ENET_QOS_SetupTxDescriptor() argument
2596 txDesc->buff1Addr = (uint32_t)(uintptr_t)(uint8_t *)buffer1; in ENET_QOS_SetupTxDescriptor()
2597 txDesc->buff2Addr = (uint32_t)(uintptr_t)(uint8_t *)buffer2; in ENET_QOS_SetupTxDescriptor()
2598 txDesc->buffLen = control; in ENET_QOS_SetupTxDescriptor()
2605 txDesc->controlStat = control; in ENET_QOS_SetupTxDescriptor()
2625 static void ENET_QOS_ConfigTxDescriptor(enet_qos_tx_bd_struct_t *txDesc, enet_qos_tx_bd_config_stru… in ENET_QOS_ConfigTxDescriptor() argument
2649txDesc->buff1Addr = MEMORY_ConvertMemoryMapAddress((uintptr_t)(uint8_t *)config->buffer1, kMEMORY_… in ENET_QOS_ConfigTxDescriptor()
2650txDesc->buff2Addr = MEMORY_ConvertMemoryMapAddress((uintptr_t)(uint8_t *)config->buffer2, kMEMORY_… in ENET_QOS_ConfigTxDescriptor()
2652 txDesc->buff1Addr = (uint32_t)(uintptr_t)(uint8_t *)config->buffer1; in ENET_QOS_ConfigTxDescriptor()
2653 txDesc->buff2Addr = (uint32_t)(uintptr_t)(uint8_t *)config->buffer2; in ENET_QOS_ConfigTxDescriptor()
[all …]
Dfsl_enet_qos.h1297 static inline bool ENET_QOS_IsTxDescriptorDmaOwn(enet_qos_tx_bd_struct_t *txDesc) in ENET_QOS_IsTxDescriptorDmaOwn() argument
1299 return ((txDesc->controlStat & ENET_QOS_TXDESCRIP_RD_OWN_MASK) != 0U) ? true : false; in ENET_QOS_IsTxDescriptorDmaOwn()
1324 void ENET_QOS_SetupTxDescriptor(enet_qos_tx_bd_struct_t *txDesc,
/hal_nxp-latest/mcux/mcux-sdk/drivers/enet/
Dfsl_enet.c2441 static inline void ENET_PrepareTxDesc(volatile enet_tx_bd_struct_t *txDesc, enet_tx_config_struct_t… in ENET_PrepareTxDesc() argument
2466 txDesc->txLaunchTimeLow |= txConfig->tltLow; in ENET_PrepareTxDesc()
2467 txDesc->txLaunchTimeHigh |= txConfig->tltHigh; in ENET_PrepareTxDesc()
2472 txDesc->controlExtend1 = controlExtend1; in ENET_PrepareTxDesc()