Lines Matching refs:ndp

49 		netdev_dbg(nr->ndp->ndev.dev,
54 netdev_dbg(nr->ndp->ndev.dev,
62 netdev_dbg(nr->ndp->ndev.dev,
80 netdev_dbg(nr->ndp->ndev.dev,
92 struct ncsi_dev_priv *ndp = nr->ndp;
98 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, &np, &nc);
100 if (ndp->flags & NCSI_DEV_PROBED)
113 struct ncsi_dev_priv *ndp = nr->ndp;
121 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
124 if (ndp->flags & NCSI_DEV_PROBED)
128 np = ncsi_add_package(ndp, id);
139 struct ncsi_dev_priv *ndp = nr->ndp;
146 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
164 struct ncsi_dev_priv *ndp = nr->ndp;
170 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
186 struct ncsi_dev_priv *ndp = nr->ndp;
197 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
213 struct ncsi_dev_priv *ndp = nr->ndp;
219 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
235 struct ncsi_dev_priv *ndp = nr->ndp;
241 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
257 struct ncsi_dev_priv *ndp = nr->ndp;
263 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
280 struct ncsi_dev_priv *ndp = nr->ndp;
286 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
309 struct ncsi_dev_priv *ndp = nr->ndp;
315 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
331 struct ncsi_dev_priv *ndp = nr->ndp;
338 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
363 struct ncsi_dev_priv *ndp = nr->ndp;
371 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
400 struct ncsi_dev_priv *ndp = nr->ndp;
406 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
427 struct ncsi_dev_priv *ndp = nr->ndp;
433 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
452 struct ncsi_dev_priv *ndp = nr->ndp;
463 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
498 struct ncsi_dev_priv *ndp = nr->ndp;
504 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, NULL, &nc);
524 struct ncsi_dev_priv *ndp = nr->ndp;
529 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
550 struct ncsi_dev_priv *ndp = nr->ndp;
556 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
577 struct ncsi_dev_priv *ndp = nr->ndp;
582 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
603 struct ncsi_dev_priv *ndp = nr->ndp;
609 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
630 struct ncsi_dev_priv *ndp = nr->ndp;
631 struct net_device *ndev = ndp->ndev.dev;
656 ndp->gma_flag = 1;
747 netdev_err(nr->ndp->ndev.dev, "Received unrecognized OEM packet with MFR-ID (0x%x)\n",
759 struct ncsi_dev_priv *ndp = nr->ndp;
766 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
796 struct ncsi_dev_priv *ndp = nr->ndp;
803 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
839 np->ndp->channel_count = rsp->channel_cnt;
848 struct ncsi_dev_priv *ndp = nr->ndp;
859 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
923 struct ncsi_dev_priv *ndp = nr->ndp;
929 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
984 struct ncsi_dev_priv *ndp = nr->ndp;
990 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
1011 struct ncsi_dev_priv *ndp = nr->ndp;
1017 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
1040 struct ncsi_dev_priv *ndp = nr->ndp;
1045 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
1056 struct ncsi_dev_priv *ndp = nr->ndp;
1061 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
1078 struct ncsi_dev_priv *ndp = nr->ndp;
1086 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel,
1098 struct ncsi_dev_priv *ndp = nr->ndp;
1099 struct net_device *ndev = ndp->ndev.dev;
1130 ndp->gma_flag = ret == 0;
1179 struct ncsi_dev_priv *ndp;
1187 ndp = nd ? TO_NCSI_DEV_PRIV(nd) : NULL;
1188 if (!ndp)
1194 return ncsi_aen_handler(ndp, skb);
1215 spin_lock_irqsave(&ndp->lock, flags);
1216 nr = &ndp->requests[hdr->id];
1218 spin_unlock_irqrestore(&ndp->lock, flags);
1224 spin_unlock_irqrestore(&ndp->lock, flags);
1230 spin_unlock_irqrestore(&ndp->lock, flags);
1236 netdev_warn(ndp->ndev.dev,
1244 ncsi_send_netlink_err(ndp->ndev.dev,
1256 netdev_err(ndp->ndev.dev,
1264 netdev_err(ndp->ndev.dev,