Home
last modified time | relevance | path

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

/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/Common/
DphyHandling.c148 static uint32_t xPhyReset( EthernetPhy_t * pxPhyObject,
208 void vPhyInitialise( EthernetPhy_t * pxPhyObject, in vPhyInitialise() argument
212 memset( ( void * ) pxPhyObject, 0, sizeof( *pxPhyObject ) ); in vPhyInitialise()
214 pxPhyObject->fnPhyRead = fnPhyRead; in vPhyInitialise()
215 pxPhyObject->fnPhyWrite = fnPhyWrite; in vPhyInitialise()
220 BaseType_t xPhyDiscover( EthernetPhy_t * pxPhyObject ) in xPhyDiscover() argument
224 pxPhyObject->xPortCount = 0; in xPhyDiscover()
230 pxPhyObject->fnPhyRead( xPhyAddress, phyREG_03_PHYSID2, &ulLowerID ); in xPhyDiscover()
238 pxPhyObject->fnPhyRead( xPhyAddress, phyREG_02_PHYSID1, &ulUpperID ); in xPhyDiscover()
241 pxPhyObject->ucPhyIndexes[ pxPhyObject->xPortCount ] = ( uint8_t ) xPhyAddress; in xPhyDiscover()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/include/
DphyHandling.h128 void vPhyInitialise( EthernetPhy_t * pxPhyObject,
133 BaseType_t xPhyDiscover( EthernetPhy_t * pxPhyObject );
136 BaseType_t xPhyConfigure( EthernetPhy_t * pxPhyObject,
140 BaseType_t xPhyStartAutoNegotiation( EthernetPhy_t * pxPhyObject,
144 BaseType_t xPhyFixedValue( EthernetPhy_t * pxPhyObject,
150 BaseType_t xPhyCheckLinkStatus( EthernetPhy_t * pxPhyObject,
154 #define xPhyGetMask( pxPhyObject ) \ argument
155 ( ( ( ( uint32_t ) 1u ) << ( pxPhyObject )->xPortCount ) - 1u )