Searched refs:ndev (Results 26 - 50 of 66) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dsmc91x.c2128 static inline void smc_request_datacs(struct platform_device *pdev, struct net_device *ndev) argument
2132 struct smc_local *lp = netdev_priv(ndev);
2146 static void smc_release_datacs(struct platform_device *pdev, struct net_device *ndev) argument
2149 struct smc_local *lp = netdev_priv(ndev);
2175 struct net_device *ndev; local
2194 ndev = alloc_etherdev(sizeof(struct smc_local));
2195 if (!ndev) {
2200 SET_MODULE_OWNER(ndev);
2201 SET_NETDEV_DEV(ndev, &pdev->dev);
2203 ndev
2258 struct net_device *ndev = platform_get_drvdata(pdev); local
2289 struct net_device *ndev = platform_get_drvdata(dev); local
2303 struct net_device *ndev = platform_get_drvdata(dev); local
[all...]
H A Dsmc911x.c2133 struct net_device *ndev; local
2154 ndev = alloc_etherdev(sizeof(struct smc911x_local));
2155 if (!ndev) {
2160 SET_MODULE_OWNER(ndev);
2161 SET_NETDEV_DEV(ndev, &pdev->dev);
2163 ndev->dma = (unsigned char)-1;
2164 ndev->irq = platform_get_irq(pdev, 0);
2165 lp = netdev_priv(ndev);
2166 lp->netdev = ndev;
2174 platform_set_drvdata(pdev, ndev);
2198 struct net_device *ndev = platform_get_drvdata(pdev); local
2229 struct net_device *ndev = platform_get_drvdata(dev); local
2248 struct net_device *ndev = platform_get_drvdata(dev); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/i4l/
H A Disdn_net.c1053 isdn_net_xmit(struct net_device *ndev, struct sk_buff *skb) argument
1057 isdn_net_local *lp = (isdn_net_local *) ndev->priv;
1060 if (((isdn_net_local *) (ndev->priv))->master) {
1069 return isdn_ppp_xmit(skb, ndev);
1072 nd = ((isdn_net_local *) ndev->priv)->netdev;
1075 printk(KERN_WARNING "%s: all channels busy - requeuing!\n", ndev->name);
1134 static void isdn_net_tx_timeout(struct net_device * ndev) argument
1136 isdn_net_local *lp = (isdn_net_local *) ndev->priv;
1138 printk(KERN_WARNING "isdn_tx_timeout dev %s dialstate %d\n", ndev->name, lp->dialstate);
1158 ndev
1168 isdn_net_start_xmit(struct sk_buff *skb, struct net_device *ndev) argument
1768 isdn_net_receive(struct net_device *ndev, struct sk_buff *skb) argument
2012 isdn_net_init(struct net_device *ndev) argument
[all...]
H A Disdn_x25iface.c162 struct net_device *ndev,
168 IX25DEBUG( "isdn_x25iface_proto_restart %s \n", MY_DEVNAME(ndev) );
180 cprot -> net_dev = ndev;
161 isdn_x25iface_proto_restart(struct concap_proto *cprot, struct net_device *ndev, struct concap_device_ops *dops) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/
H A Dorinoco.h55 struct net_device *ndev; member in struct:orinoco_private
143 priv->ndev);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Dnetpoll.c629 struct net_device *ndev = NULL; local
636 ndev = dev_get_by_name(np->dev_name);
637 if (!ndev) {
643 np->dev = ndev;
644 if (!ndev->npinfo) {
663 npinfo = ndev->npinfo;
667 if (!ndev->poll_controller) {
674 if (!netif_running(ndev)) {
681 err = dev_open(ndev);
686 np->name, ndev
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/parport/
H A Dparport_cs.c84 int ndev; member in struct:parport_info_t
215 info->ndev = 1;
245 if (info->ndev) {
249 info->ndev = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/wanrouter/
H A Dwanmain.c194 wandev->ndev = 0;
418 if (wandev->ndev)
443 stat.ndev = wandev->ndev;
546 ++wandev->ndev;
610 if (!wandev->ndev && wandev->shutdown)
686 --wandev->ndev;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/serial/
H A Dserial_cs.c94 int ndev; member in struct:serial_info
291 for (i = 0; i < info->ndev; i++)
305 for (i = 0; i < info->ndev; i++)
316 for (i = 0; i < info->ndev; i++)
416 info->line[info->ndev] = line;
417 sprintf(info->node[info->ndev].dev_name, "ttyS%d", line);
418 info->node[info->ndev].major = TTY_MAJOR;
419 info->node[info->ndev].minor = 0x40 + line;
420 if (info->ndev > 0)
421 info->node[info->ndev
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/net/
H A Dnetiucv.c1379 struct net_device *ndev = priv->conn->netdev; local
1414 (ndev->flags & (IFF_UP | IFF_RUNNING))) {
1424 if (!strncmp(username, cp->userid, 9) && cp->netdev != ndev) {
1450 struct net_device *ndev = priv->conn->netdev; local
1473 if ((ndev->flags & IFF_RUNNING) &&
1474 (bs1 < (ndev->mtu + NETIUCV_HDRLEN + 2))) {
1492 if (!(ndev->flags & IFF_RUNNING))
1493 ndev->mtu = bs1 - NETIUCV_HDRLEN - NETIUCV_HDRLEN;
1742 static int netiucv_register_device(struct net_device *ndev) argument
1744 struct netiucv_priv *priv = netdev_priv(ndev);
2035 struct net_device *ndev; local
2101 struct net_device *ndev; local
[all...]
H A Dclaw.h248 struct net_device *ndev; member in struct:chbk
284 struct net_device *ndev; /* backward ptr to the net dev*/ member in struct:claw_env
H A Dclaw.c464 p_env->ndev->name,
731 dev = (struct net_device *) (p_ch->ndev);
1004 dev = (struct net_device *)p_ch->ndev;
1193 struct net_device *dev=p_ch->ndev;
1240 printk(KERN_INFO "%s:%s Enter \n",p_ch->ndev->name,__FUNCTION__);
1241 printk(KERN_INFO "%s: variable p_ch =\n",p_ch->ndev->name);
1247 dev = (struct net_device *) p_ch->ndev;
1281 printk(KERN_INFO "%s:%s Entry\n",p_ch->ndev->name,__FUNCTION__);
1282 printk(KERN_INFO "%s: variable p_ch =\n",p_ch->ndev->name);
1290 p_ch->ndev
4072 struct net_device *ndev; local
[all...]
H A Dctcmain.c2466 struct net_device *ndev; local
2485 ndev = priv->channel[READ]->netdev;
2486 if (!ndev) {
2491 if ((ndev->flags & IFF_RUNNING) &&
2492 (bs1 < (ndev->mtu + LL_HEADER_LENGTH + 2)))
2497 if (!(ndev->flags & IFF_RUNNING))
2498 ndev->mtu = bs1 - LL_HEADER_LENGTH - 2;
2949 struct net_device *ndev; local
2956 ndev = NULL;
2961 ndev
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/base/
H A Disa.c113 int isa_register_driver(struct isa_driver *isa_driver, unsigned int ndev) argument
125 for (id = 0; id < ndev; id++) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/wireless/
H A Dcore.c158 void *ndev)
160 struct net_device *dev = ndev;
156 cfg80211_netdev_notifier_call(struct notifier_block * nb, unsigned long state, void *ndev) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/telephony/
H A Dixj_pcmcia.c31 int ndev; member in struct:ixj_info_t
180 info->ndev = 1;
195 info->ndev = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ata/
H A Dpata_pcmcia.c53 int ndev; member in struct:ata_pcmcia_info
310 info->ndev = 1;
318 info->ndev = 0;
340 if (info->ndev) {
344 info->ndev = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/
H A Dmacfb.c595 struct nubus_dev* ndev = NULL; local
705 while ((ndev = nubus_find_type(NUBUS_CAT_DISPLAY, NUBUS_TYPE_VIDEO, ndev))
708 if (!(mac_bi_data.videoaddr >= ndev->board->slot_addr
710 (unsigned long)nubus_slot_addr(ndev->board->slot+1))))
714 video_slot = ndev->board->slot;
716 switch(ndev->dr_hw) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ibm_emac/
H A Dibm_emac_mal.c163 /* synchronized by __LINK_STATE_RX_SCHED bit in ndev->state */
276 static int mal_poll(struct net_device *ndev, int *budget) argument
278 struct ibm_ocp_mal *mal = ndev->priv;
280 int rx_work_limit = min(ndev->quota, *budget), received = 0, done;
311 __netif_rx_complete(ndev);
323 if (netif_rx_reschedule(ndev, received))
338 ndev->quota -= received;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/legacy/
H A Dide-cs.c84 int ndev; member in struct:ide_info_t
301 info->ndev = 1;
339 if (info->ndev) {
342 info->ndev = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/prism54/
H A Dislpci_dev.h119 struct net_device *ndev; member in struct:__anon6152
H A Doid_mgt.c456 ret = islpci_mgt_transaction(priv->ndev, PIMFOR_OP_SET, oid,
498 ret = islpci_mgt_transaction(priv->ndev, PIMFOR_OP_SET, oid,
548 ret = islpci_mgt_transaction(priv->ndev, PIMFOR_OP_GET,
606 int r = islpci_mgt_transaction(priv->ndev, PIMFOR_OP_SET,
616 priv->ndev->name, oid, r);
681 ret = islpci_mgt_transaction(priv->ndev, PIMFOR_OP_GET,
686 memcpy(priv->ndev->dev_addr, res->data, 6);
693 printk(KERN_ERR "%s: mgt_update_addr: failure\n", priv->ndev->name);
720 printk(KERN_DEBUG "%s: mgt_commit: failure\n", priv->ndev->name);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Daddrconf.c314 struct inet6_dev *ndev; local
322 ndev = kzalloc(sizeof(struct inet6_dev), GFP_KERNEL);
324 if (ndev == NULL)
327 rwlock_init(&ndev->lock);
328 ndev->dev = dev;
329 memcpy(&ndev->cnf, &ipv6_devconf_dflt, sizeof(ndev->cnf));
330 ndev->cnf.mtu6 = dev->mtu;
331 ndev->cnf.sysctl = NULL;
332 ndev
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dwanrouter.h335 unsigned ndev; /* number of configured interfaces */ member in struct:wandev_stat
512 unsigned ndev; /* number of interfaces */ member in struct:wan_device
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/zd1211rw/
H A Dzd_mac.h212 struct iw_statistics *zd_mac_get_wireless_stats(struct net_device *ndev);

Completed in 401 milliseconds

123