/drivers/isdn/i4l/ |
H A D | isdn_concap.c | 45 isdn_net_dev *nd = ((isdn_net_local *) netdev_priv(ndev))->netdev; local 46 isdn_net_local *lp = isdn_net_get_locked_lp(nd);
|
H A D | isdn_net.h | 79 static __inline__ isdn_net_local *isdn_net_get_locked_lp(isdn_net_dev *nd) argument 84 spin_lock_irqsave(&nd->queue_lock, flags); 85 lp = nd->queue; /* get lp on top of queue */ 86 while (isdn_net_lp_busy(nd->queue)) { 87 nd->queue = nd->queue->next; 88 if (nd->queue == lp) { /* not found -- should never happen */ 93 lp = nd->queue; 94 nd->queue = nd 107 isdn_net_add_to_bundle(isdn_net_dev *nd, isdn_net_local *nlp) argument [all...] |
H A D | isdn_net.c | 117 isdn_net_dev *nd; local 124 nd = ISDN_MASTER_PRIV(lp)->netdev; 126 nd = lp->netdev; 128 spin_lock_irqsave(&nd->queue_lock, flags); 132 spin_unlock_irqrestore(&nd->queue_lock, flags); 137 spin_unlock_irqrestore(&nd->queue_lock, flags); 490 isdn_net_dev *nd = ISDN_MASTER_PRIV(lp)->netdev; local 491 isdn_net_add_to_bundle(nd, lp); 1053 isdn_net_dev *nd; local 1070 nd [all...] |
H A D | isdn_ppp.c | 1243 isdn_net_dev *nd; local 1249 nd = mlp->netdev; /* get master lp */ 1281 lp = isdn_net_get_locked_lp(nd);
|
/drivers/staging/lustre/lustre/llite/ |
H A D | symlink.c | 121 static void *ll_follow_link(struct dentry *dentry, struct nameidata *nd) argument 147 nd_set_link(nd, symname); 154 static void ll_put_link(struct dentry *dentry, struct nameidata *nd, void *cookie) argument
|
/drivers/block/aoe/ |
H A D | aoeblk.c | 63 struct net_device *nds[8], **nd, **nnd, **ne; local 69 nd = nds; 70 ne = nd + ARRAY_SIZE(nds); 76 for (; ifp < e && ifp->nd; ifp++) { 77 for (nnd = nds; nnd < nd; nnd++) 78 if (*nnd == ifp->nd) 80 if (nnd == nd && nd != ne) 81 *nd++ = ifp->nd; [all...] |
H A D | aoe.h | 128 struct net_device *nd; member in struct:aoeif
|
H A D | aoecmd.c | 133 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); 163 if (ifp >= &t->ifs[NAOEIFS] || ifp->nd == NULL) 165 if (ifp->nd == NULL) 274 && t->ifp->nd) { 365 skb->dev = t->ifp->nd; 486 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); 488 skb->dev = t->ifp->nd; 544 getif(struct aoetgt *t, struct net_device *nd) argument 551 if (p->nd == nd) 560 struct net_device *nd; local 1555 setifbcnt(struct aoetgt *t, struct net_device *nd, int bcnt) argument [all...] |
/drivers/infiniband/hw/mlx4/ |
H A D | cm.c | 418 struct rb_node *nd; local 450 nd = rb_first(sl_id_map); 451 while (nd) { 453 rb_entry(nd, struct id_map_entry, node); 454 nd = rb_next(nd);
|
/drivers/sbus/char/ |
H A D | openprom.c | 525 phandle nd; local 529 if (copy_from_user(&nd, argp, sizeof(phandle))) 532 if (nd == 0) { 537 dp = of_find_node_by_phandle(nd); 538 nd = 0; 547 nd = dp->phandle; 548 if (copy_to_user(argp, &nd, sizeof(phandle)))
|
/drivers/hid/ |
H A D | hid-ntrig.c | 177 struct ntrig_data *nd = hid_get_drvdata(hdev); local 179 return sprintf(buf, "%d\n", nd->sensor_physical_width); 189 struct ntrig_data *nd = hid_get_drvdata(hdev); local 191 return sprintf(buf, "%d\n", nd->sensor_physical_height); 201 struct ntrig_data *nd = hid_get_drvdata(hdev); local 203 return sprintf(buf, "%d\n", nd->sensor_logical_width); 213 struct ntrig_data *nd = hid_get_drvdata(hdev); local 215 return sprintf(buf, "%d\n", nd->sensor_logical_height); 225 struct ntrig_data *nd = hid_get_drvdata(hdev); local 227 return sprintf(buf, "%d\n", nd 237 struct ntrig_data *nd = hid_get_drvdata(hdev); local 260 struct ntrig_data *nd = hid_get_drvdata(hdev); local 272 struct ntrig_data *nd = hid_get_drvdata(hdev); local 296 struct ntrig_data *nd = hid_get_drvdata(hdev); local 306 struct ntrig_data *nd = hid_get_drvdata(hdev); local 329 struct ntrig_data *nd = hid_get_drvdata(hdev); local 341 struct ntrig_data *nd = hid_get_drvdata(hdev); local 365 struct ntrig_data *nd = hid_get_drvdata(hdev); local 377 struct ntrig_data *nd = hid_get_drvdata(hdev); local 401 struct ntrig_data *nd = hid_get_drvdata(hdev); local 411 struct ntrig_data *nd = hid_get_drvdata(hdev); local 462 struct ntrig_data *nd = hid_get_drvdata(hdev); local 573 struct ntrig_data *nd = hid_get_drvdata(hid); local 898 struct ntrig_data *nd; local [all...] |
/drivers/nubus/ |
H A D | nubus.c | 165 static unsigned char *nubus_dirptr(const struct nubus_dirent *nd) argument 167 unsigned char *p = nd->base; 170 nubus_move(&p, nubus_expand32(nd->data), nd->mask); 256 int nubus_readdir(struct nubus_dir *nd, struct nubus_dirent *ent) argument 259 if (nd->done) 263 ent->base = nd->ptr; 265 /* This moves nd->ptr forward */ 266 resid = nubus_get_rom(&nd->ptr, 4, nd [all...] |
/drivers/scsi/ |
H A D | aha1740.h | 117 nd:1, /* No Disconnect */ member in struct:ecb
|
/drivers/staging/lustre/lnet/selftest/ |
H A D | conrpc.c | 92 lstcon_rpc_init(lstcon_node_t *nd, int service, unsigned feats, argument 95 crpc->crp_rpc = sfw_create_rpc(nd->nd_id, service, 102 crpc->crp_node = nd; 117 lstcon_rpc_prep(lstcon_node_t *nd, int service, unsigned feats, argument 139 rc = lstcon_rpc_init(nd, service, feats, bulk_npg, bulk_len, 0, crpc); 290 lstcon_node_t *nd; local 317 nd = crpc->crp_node; 318 if (cfs_time_after(nd->nd_stamp, crpc->crp_stamp)) 321 nd->nd_stamp = crpc->crp_stamp; 322 nd 389 lstcon_node_t *nd = crpc->crp_node; local 479 lstcon_node_t *nd; local 599 lstcon_sesrpc_prep(lstcon_node_t *nd, int transop, unsigned feats, lstcon_rpc_t **crpc) argument 638 lstcon_dbgrpc_prep(lstcon_node_t *nd, unsigned feats, lstcon_rpc_t **crpc) argument 656 lstcon_batrpc_prep(lstcon_node_t *nd, int transop, unsigned feats, lstcon_tsb_hdr_t *tsb, lstcon_rpc_t **crpc) argument 689 lstcon_statrpc_prep(lstcon_node_t *nd, unsigned feats, lstcon_rpc_t **crpc) argument 727 lstcon_node_t *nd; local 812 lstcon_testrpc_prep(lstcon_node_t *nd, int transop, unsigned feats, lstcon_test_t *test, lstcon_rpc_t **crpc) argument 919 lstcon_sesnew_stat_reply(lstcon_rpc_trans_t *trans, lstcon_node_t *nd, srpc_msg_t *reply) argument 961 lstcon_rpc_stat_reply(lstcon_rpc_trans_t *trans, srpc_msg_t *msg, lstcon_node_t *nd, lstcon_trans_stat_t *stat) argument 1088 lstcon_node_t *nd; local 1174 lstcon_node_t *nd; local [all...] |
H A D | console.c | 49 #define LST_NODE_STATE_COUNTER(nd, p) \ 51 if ((nd)->nd_state == LST_NODE_ACTIVE) \ 53 else if ((nd)->nd_state == LST_NODE_BUSY) \ 55 else if ((nd)->nd_state == LST_NODE_DOWN) \ 65 lstcon_node_get(lstcon_node_t *nd) argument 67 LASSERT (nd->nd_ref >= 1); 69 nd->nd_ref++; 118 lstcon_node_put(lstcon_node_t *nd) argument 122 LASSERT (nd->nd_ref > 0); 124 if (--nd 145 lstcon_node_t *nd; local 345 lstcon_sesrpc_condition(int transop, lstcon_node_t *nd, void *arg) argument 747 lstcon_node_t *nd; local 995 lstcon_batrpc_condition(int transop, lstcon_node_t *nd, void *arg) argument 1138 lstcon_testrpc_condition(int transop, lstcon_node_t *nd, void *arg) argument [all...] |
/drivers/clk/st/ |
H A D | clkgen-fsyn.c | 498 unsigned long nd = fs->ndiv + 16; /* ndiv value */ local 500 *rate = input * nd; 801 unsigned long nd = 8; /* ndiv stuck at 0 => val = 8 */ local 811 *rate = div64_u64(P15 * nd * input * 32, res); 820 unsigned long nd = 16; /* ndiv value; stuck at 0 (30Mhz input) */ local 831 *rate = div64_u64(P15 * nd * input * 32, res);
|
/drivers/mmc/host/ |
H A D | mmci.c | 649 struct mmci_host_next *nd = &host->next_data; local 650 return __mmci_dma_prep_data(host, data, &nd->dma_chan, &nd->dma_desc); 705 struct mmci_host_next *nd = &host->next_data; local 716 data->host_cookie = ++nd->cookie < 0 ? 1 : nd->cookie;
|
/drivers/net/ethernet/amd/ |
H A D | sunlance.c | 1411 struct device_node *nd; local 1416 nd = of_find_node_by_path("/options"); 1417 if (!nd) 1420 prop = of_get_property(nd, "tpe-link-test?", NULL);
|
/drivers/net/ethernet/chelsio/cxgb/ |
H A D | sge.c | 1416 struct net_device *nd = adap->port[i].dev; local 1418 if (test_and_clear_bit(nd->if_port, &sge->stopped_tx_queues) && 1419 netif_running(nd)) { 1421 netif_wake_queue(nd);
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | wl_cfg80211.h | 446 static inline struct brcmf_cfg80211_profile *ndev_to_prof(struct net_device *nd) argument 448 struct brcmf_if *ifp = netdev_priv(nd);
|
/drivers/net/ |
H A D | vxlan.c | 775 struct vxlan_rdst *rd, *nd; local 777 list_for_each_entry_safe(rd, nd, &f->remotes, list)
|
/drivers/staging/netlogic/ |
H A D | xlr_net.h | 1095 struct xlr_net_data *nd; member in struct:xlr_net_priv
|