/drivers/hid/ |
D | hid-ntrig.c | 177 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_phys_width() local 179 return sprintf(buf, "%d\n", nd->sensor_physical_width); in show_phys_width() 189 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_phys_height() local 191 return sprintf(buf, "%d\n", nd->sensor_physical_height); in show_phys_height() 201 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_log_width() local 203 return sprintf(buf, "%d\n", nd->sensor_logical_width); in show_log_width() 213 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_log_height() local 215 return sprintf(buf, "%d\n", nd->sensor_logical_height); in show_log_height() 225 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_min_width() local 227 return sprintf(buf, "%d\n", nd->min_width * in show_min_width() [all …]
|
/drivers/isdn/i4l/ |
D | isdn_net.h | 79 static __inline__ isdn_net_local *isdn_net_get_locked_lp(isdn_net_dev *nd) in isdn_net_get_locked_lp() argument 84 spin_lock_irqsave(&nd->queue_lock, flags); in isdn_net_get_locked_lp() 85 lp = nd->queue; /* get lp on top of queue */ in isdn_net_get_locked_lp() 86 while (isdn_net_lp_busy(nd->queue)) { in isdn_net_get_locked_lp() 87 nd->queue = nd->queue->next; in isdn_net_get_locked_lp() 88 if (nd->queue == lp) { /* not found -- should never happen */ in isdn_net_get_locked_lp() 93 lp = nd->queue; in isdn_net_get_locked_lp() 94 nd->queue = nd->queue->next; in isdn_net_get_locked_lp() 95 spin_unlock_irqrestore(&nd->queue_lock, flags); in isdn_net_get_locked_lp() 100 spin_unlock_irqrestore(&nd->queue_lock, flags); in isdn_net_get_locked_lp() [all …]
|
D | isdn_concap.c | 45 isdn_net_dev *nd = ((isdn_net_local *) netdev_priv(ndev))->netdev; in isdn_concap_dl_data_req() local 46 isdn_net_local *lp = isdn_net_get_locked_lp(nd); in isdn_concap_dl_data_req()
|
D | isdn_net.c | 117 isdn_net_dev *nd; in isdn_net_device_busy() local 124 nd = ISDN_MASTER_PRIV(lp)->netdev; in isdn_net_device_busy() 126 nd = lp->netdev; in isdn_net_device_busy() 128 spin_lock_irqsave(&nd->queue_lock, flags); in isdn_net_device_busy() 132 spin_unlock_irqrestore(&nd->queue_lock, flags); in isdn_net_device_busy() 137 spin_unlock_irqrestore(&nd->queue_lock, flags); in isdn_net_device_busy() 490 isdn_net_dev *nd = ISDN_MASTER_PRIV(lp)->netdev; in isdn_net_stat_callback() local 491 isdn_net_add_to_bundle(nd, lp); in isdn_net_stat_callback() 1053 isdn_net_dev *nd; in isdn_net_xmit() local 1070 nd = ((isdn_net_local *) netdev_priv(ndev))->netdev; in isdn_net_xmit() [all …]
|
D | isdn_ppp.c | 1218 isdn_net_dev *nd; in isdn_ppp_xmit() local 1224 nd = mlp->netdev; /* get master lp */ in isdn_ppp_xmit() 1256 lp = isdn_net_get_locked_lp(nd); in isdn_ppp_xmit()
|
/drivers/base/ |
D | devtmpfs.c | 230 struct nameidata nd; in dev_rmdir() local 234 err = kern_path_parent(name, &nd); in dev_rmdir() 238 mutex_lock_nested(&nd.path.dentry->d_inode->i_mutex, I_MUTEX_PARENT); in dev_rmdir() 239 dentry = lookup_one_len(nd.last.name, nd.path.dentry, nd.last.len); in dev_rmdir() 243 err = vfs_rmdir(nd.path.dentry->d_inode, in dev_rmdir() 255 mutex_unlock(&nd.path.dentry->d_inode->i_mutex); in dev_rmdir() 256 path_put(&nd.path); in dev_rmdir() 308 struct nameidata nd; in handle_remove() local 314 err = kern_path_parent(nodename, &nd); in handle_remove() 318 mutex_lock_nested(&nd.path.dentry->d_inode->i_mutex, I_MUTEX_PARENT); in handle_remove() [all …]
|
/drivers/block/aoe/ |
D | aoeblk.c | 53 struct net_device *nds[8], **nd, **nnd, **ne; in aoedisk_show_netif() local 59 nd = nds; in aoedisk_show_netif() 60 ne = nd + ARRAY_SIZE(nds); in aoedisk_show_netif() 66 for (; ifp < e && ifp->nd; ifp++) { in aoedisk_show_netif() 67 for (nnd = nds; nnd < nd; nnd++) in aoedisk_show_netif() 68 if (*nnd == ifp->nd) in aoedisk_show_netif() 70 if (nnd == nd && nd != ne) in aoedisk_show_netif() 71 *nd++ = ifp->nd; in aoedisk_show_netif() 75 ne = nd; in aoedisk_show_netif() 76 nd = nds; in aoedisk_show_netif() [all …]
|
D | aoecmd.c | 76 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); in aoehdr_atainit() 103 if (t->ifp >= &t->ifs[NAOEIFS] || t->ifp->nd == NULL) in ifrotate() 105 if (t->ifp->nd == NULL) { in ifrotate() 152 && (*t)->ifp->nd) { in freeframe() 284 skb->dev = t->ifp->nd; in aoecmd_ata_rw() 357 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); in resend() 379 skb->dev = t->ifp->nd; in resend() 399 getif(struct aoetgt *t, struct net_device *nd) in getif() argument 406 if (p->nd == nd) in getif() 412 addif(struct aoetgt *t, struct net_device *nd) in addif() argument [all …]
|
D | aoe.h | 125 struct net_device *nd; member
|
/drivers/nubus/ |
D | nubus.c | 166 static unsigned char *nubus_dirptr(const struct nubus_dirent *nd) in nubus_dirptr() argument 168 unsigned char *p = nd->base; in nubus_dirptr() 171 nubus_move(&p, nubus_expand32(nd->data), nd->mask); in nubus_dirptr() 257 int nubus_readdir(struct nubus_dir *nd, struct nubus_dirent *ent) in nubus_readdir() argument 260 if (nd->done) in nubus_readdir() 264 ent->base = nd->ptr; in nubus_readdir() 267 resid = nubus_get_rom(&nd->ptr, 4, nd->mask); in nubus_readdir() 273 nd->done = 1; in nubus_readdir() 281 ent->mask = nd->mask; in nubus_readdir()
|
/drivers/sbus/char/ |
D | openprom.c | 525 phandle nd; in opiocgetnext() local 529 if (copy_from_user(&nd, argp, sizeof(phandle))) in opiocgetnext() 532 if (nd == 0) { in opiocgetnext() 537 dp = of_find_node_by_phandle(nd); in opiocgetnext() 538 nd = 0; in opiocgetnext() 547 nd = dp->phandle; in opiocgetnext() 548 if (copy_to_user(argp, &nd, sizeof(phandle))) in opiocgetnext()
|
/drivers/sfi/ |
D | Kconfig | 12 based on the 2nd generation Intel Atom processor platform,
|
/drivers/scsi/ |
D | aha1740.h | 117 nd:1, /* No Disconnect */ member
|
/drivers/mmc/host/ |
D | mmci.c | 525 struct mmci_host_next *nd = &host->next_data; in mmci_pre_request() local 538 if (mmci_dma_prep_data(host, data, nd)) in mmci_pre_request() 541 data->host_cookie = ++nd->cookie < 0 ? 1 : nd->cookie; in mmci_pre_request()
|
/drivers/net/ethernet/amd/ |
D | sunlance.c | 1417 struct device_node *nd; in sparc_lance_probe_one() local 1422 nd = of_find_node_by_path("/options"); in sparc_lance_probe_one() 1423 if (!nd) in sparc_lance_probe_one() 1426 prop = of_get_property(nd, "tpe-link-test?", NULL); in sparc_lance_probe_one()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1431 struct net_device *nd = adap->port[i].dev; in restart_tx_queues() local 1433 if (test_and_clear_bit(nd->if_port, &sge->stopped_tx_queues) && in restart_tx_queues() 1434 netif_running(nd)) { in restart_tx_queues() 1436 netif_wake_queue(nd); in restart_tx_queues()
|
/drivers/macintosh/ |
D | Kconfig | 178 This provides generic support for emulating the 2nd and 3rd mouse
|
/drivers/input/keyboard/ |
D | Kconfig | 115 Left 102nd key (the key to the right of Left Shift)
|