• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/

Lines Matching refs:pNetDev

913 int RtmpOSIRQRequest(struct net_device *pNetDev)
916 struct net_device *net_dev = pNetDev;
920 GET_PAD_FROM_NET_DEV(pAd, pNetDev);
940 int RtmpOSIRQRelease(struct net_device *pNetDev)
942 struct net_device *net_dev = pNetDev;
1172 int RtmpOSNetDevAddrSet(struct net_device *pNetDev, u8 *pMacAddr)
1177 net_dev = pNetDev;
1238 void RtmpOSNetDevClose(struct net_device *pNetDev)
1240 dev_close(pNetDev);
1243 void RtmpOSNetDevFree(struct net_device *pNetDev)
1245 ASSERT(pNetDev);
1247 free_netdev(pNetDev);
1265 struct net_device *RtmpOSNetDevGetByName(struct net_device *pNetDev, char *pDevName)
1269 pTargetNetDev = dev_get_by_name(dev_net(pNetDev), pDevName);
1274 void RtmpOSNetDeviceRefPut(struct net_device *pNetDev)
1281 if (pNetDev)
1282 dev_put(pNetDev);
1285 int RtmpOSNetDevDestory(struct rt_rtmp_adapter *pAd, struct net_device *pNetDev)
1293 void RtmpOSNetDevDetach(struct net_device *pNetDev)
1295 unregister_netdev(pNetDev);
1298 int RtmpOSNetDevAttach(struct net_device *pNetDev,
1308 GET_PAD_FROM_NET_DEV(pAd, pNetDev);
1310 pNetDev->netdev_ops = pDevOpHook->netdev_ops;
1313 pNetDev->priv_flags = pDevOpHook->priv_flags;
1316 pNetDev->wireless_handlers = &rt28xx_iw_handler_def;
1320 NdisMoveMemory(pNetDev->dev_addr, &pDevOpHook->devAddr[0],
1327 ret = register_netdevice(pNetDev);
1329 ret = register_netdev(pNetDev);
1343 struct net_device *pNetDev = NULL;
1347 status = RtmpOSNetDevAlloc(&pNetDev, 0 /*privMemSize */);
1357 status = RtmpOSNetDevRequestName(pAd, pNetDev, pNamePrefix, devNum);
1363 RtmpOSNetDevFree(pNetDev);
1369 pNamePrefix, pNetDev->name));
1372 return pNetDev;