Searched refs:netDeviceImpl (Results 1 – 3 of 3) sorted by relevance
57 static int32_t LiteNetDevInit(struct NetDeviceImpl *netDeviceImpl) in LiteNetDevInit() argument60 if (netDeviceImpl == NULL) { in LiteNetDevInit()70 netDeviceImpl->osPrivate = (void *)liteNdPri; in LiteNetDevInit()75 static int32_t LiteNetDevDeInit(struct NetDeviceImpl *netDeviceImpl) in LiteNetDevDeInit() argument77 if (netDeviceImpl == NULL) { in LiteNetDevDeInit()81 if (netDeviceImpl->osPrivate != NULL) { in LiteNetDevDeInit()82 OsalMemFree(netDeviceImpl->osPrivate); in LiteNetDevDeInit()83 netDeviceImpl->osPrivate = NULL; in LiteNetDevDeInit()177 static struct netif *CreateLwipNetIf(const struct NetDeviceImpl *netDeviceImpl, const struct NetDev… in CreateLwipNetIf() argument192 lwipNf->state = (void *)netDeviceImpl; in CreateLwipNetIf()[all …]
82 static int32_t LiteNetDevInit(struct NetDeviceImpl *netDeviceImpl) in LiteNetDevInit() argument85 if (netDeviceImpl == NULL) { in LiteNetDevInit()94 netDeviceImpl->osPrivate = (void *)liteNdPri; in LiteNetDevInit()98 static int32_t LiteNetDevDeInit(struct NetDeviceImpl *netDeviceImpl) in LiteNetDevDeInit() argument100 if (netDeviceImpl == NULL) { in LiteNetDevDeInit()104 if (netDeviceImpl->osPrivate != NULL) { in LiteNetDevDeInit()105 OsalMemFree(netDeviceImpl->osPrivate); in LiteNetDevDeInit()106 netDeviceImpl->osPrivate = NULL; in LiteNetDevDeInit()200 static struct netif *CreateLwipNetIf(const struct NetDeviceImpl *netDeviceImpl, const struct NetDev… in CreateLwipNetIf() argument214 lwipNf->state = (void *)netDeviceImpl; in CreateLwipNetIf()[all …]
37 static bool AddNetDeviceImplToTable(uint32_t index, struct NetDeviceImpl *netDeviceImpl) in AddNetDeviceImplToTable() argument43 g_netDeviceImplTable[index] = netDeviceImpl; in AddNetDeviceImplToTable()47 static void DeleteNetDeviceImplFromTable(const struct NetDeviceImpl *netDeviceImpl) in DeleteNetDeviceImplFromTable() argument52 if (g_netDeviceImplTable[i] == netDeviceImpl) { in DeleteNetDeviceImplFromTable()81 static void DeInitNetDeviceImpl(struct NetDeviceImpl *netDeviceImpl) in DeInitNetDeviceImpl() argument83 if (netDeviceImpl == NULL) { in DeInitNetDeviceImpl()89 if (netDeviceImpl->interFace != NULL && netDeviceImpl->interFace->deInit != NULL) { in DeInitNetDeviceImpl()90 netDeviceImpl->interFace->deInit(netDeviceImpl); in DeInitNetDeviceImpl()94 if (netDeviceImpl->netDevice != NULL) { in DeInitNetDeviceImpl()95 UnRegisterNetDeviceImpl(netDeviceImpl); in DeInitNetDeviceImpl()[all …]