| /drivers/hid/ |
| A D | hid-ntrig.c | 243 nd->min_width = val * nd->sensor_logical_width / in set_min_width() 278 nd->min_height = val * nd->sensor_logical_height / in set_min_height() 646 nd->mt_footer[nd->mt_foot_count++] = value; in ntrig_event() 676 if (nd->w < nd->min_width || in ntrig_event() 677 nd->h < nd->min_height) in ntrig_event() 686 if (nd->w >= nd->activation_width && in ntrig_event() 687 nd->h >= nd->activation_height) { in ntrig_event() 722 nd->first_contact_touch = nd->confidence; in ntrig_event() 735 if (nd->w > nd->h) { in ntrig_event() 787 nd->act_state = (nd->act_state > value) in ntrig_event() [all …]
|
| /drivers/staging/most/net/ |
| A D | net.c | 201 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_open() 213 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, on_netinfo); in most_nd_open() 226 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, NULL); in most_nd_stop() 227 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_stop() 228 most_stop_channel(nd->iface, nd->tx.ch_id, &comp); in most_nd_stop() 240 mbo = most_get_mbo(nd->iface, nd->tx.ch_id, &comp); in most_nd_start_xmit() 297 if (nd && nd->rx.linked && nd->tx.linked) in get_net_dev_hold() 386 if (nd->rx.linked && nd->tx.linked) { in comp_disconnect_channel() 415 if (!nd) in comp_resume_tx_channel() 440 if (!nd) in comp_rx_data() [all …]
|
| /drivers/block/aoe/ |
| A D | aoeblk.c | 67 nd = nds; in aoedisk_show_netif() 68 ne = nd + ARRAY_SIZE(nds); in aoedisk_show_netif() 74 for (; ifp < e && ifp->nd; ifp++) { in aoedisk_show_netif() 75 for (nnd = nds; nnd < nd; nnd++) in aoedisk_show_netif() 76 if (*nnd == ifp->nd) in aoedisk_show_netif() 78 if (nnd == nd && nd != ne) in aoedisk_show_netif() 79 *nd++ = ifp->nd; in aoedisk_show_netif() 83 ne = nd; in aoedisk_show_netif() 84 nd = nds; in aoedisk_show_netif() 85 if (*nd == NULL) in aoedisk_show_netif() [all …]
|
| A D | aoecmd.c | 164 if (ifp->nd == NULL) in ifrotate() 273 && t->ifp->nd) { in newframe() 538 if (p->nd == nd) in getif() 550 nd = ifp->nd; in ejectif() 554 e->nd = NULL; in ejectif() 555 dev_put(nd); in ejectif() 1510 if (p->nd == nd) { in setifbcnt() 1512 nd = NULL; in setifbcnt() 1516 if (nd) { in setifbcnt() 1521 dev_hold(nd); in setifbcnt() [all …]
|
| A D | aoedev.c | 517 if (!ifp->nd) in freetgt() 519 dev_put(ifp->nd); in freetgt()
|
| A D | aoe.h | 134 struct net_device *nd; member
|
| /drivers/clk/at91/ |
| A D | clk-audio-pll.c | 62 u8 nd; member 102 AT91_PMC_AUDIO_PLL_ND(frac->nd)); in clk_audio_pll_frac_enable() 160 unsigned long nd, unsigned long fracr) in clk_audio_pll_fout() argument 170 return parent_rate * (nd + 1) + fr; in clk_audio_pll_fout() 218 unsigned long *nd, in clk_audio_pll_frac_compute_frac() argument 231 *nd = tmp - 1; in clk_audio_pll_frac_compute_frac() 247 unsigned long fracr, nd; in clk_audio_pll_frac_determine_rate() local 259 &nd, &fracr); in clk_audio_pll_frac_determine_rate() 268 __func__, req->rate, nd, fracr); in clk_audio_pll_frac_determine_rate() 368 unsigned long fracr, nd; in clk_audio_pll_frac_set_rate() local [all …]
|
| /drivers/fpga/ |
| A D | of-fpga-region.c | 287 struct of_overlay_notify_data *nd) in of_fpga_region_notify_pre_apply() argument 293 info = of_fpga_region_parse_ov(region, nd->overlay); in of_fpga_region_notify_pre_apply() 327 struct of_overlay_notify_data *nd) in of_fpga_region_notify_post_remove() argument 349 struct of_overlay_notify_data *nd = arg; in of_fpga_region_notify() local 370 region = of_fpga_region_find(nd->target); in of_fpga_region_notify() 377 ret = of_fpga_region_notify_pre_apply(region, nd); in of_fpga_region_notify() 381 of_fpga_region_notify_post_remove(region, nd); in of_fpga_region_notify()
|
| /drivers/hwtracing/coresight/ |
| A D | coresight-core.c | 423 struct coresight_node *nd) in coresight_disable_path_from() argument 428 if (!nd) in coresight_disable_path_from() 432 csdev = nd->csdev; in coresight_disable_path_from() 503 struct coresight_node *nd; in coresight_enable_path() local 509 csdev = nd->csdev; in coresight_enable_path() 562 coresight_disable_path_from(path, nd); in coresight_enable_path() 737 struct coresight_node *nd; in coresight_path_assign_trace_id() local 862 struct coresight_node *nd, *next; in coresight_release_path() local 865 csdev = nd->csdev; in coresight_release_path() 868 list_del(&nd->link); in coresight_release_path() [all …]
|
| /drivers/nubus/ |
| A D | nubus.c | 156 unsigned char *nubus_dirptr(const struct nubus_dirent *nd) in nubus_dirptr() argument 158 unsigned char *p = nd->base; in nubus_dirptr() 162 nubus_move(&p, nubus_expand32(nd->data), nd->mask); in nubus_dirptr() 275 int nubus_readdir(struct nubus_dir *nd, struct nubus_dirent *ent) in nubus_readdir() argument 279 if (nd->done) in nubus_readdir() 283 ent->base = nd->ptr; in nubus_readdir() 286 resid = nubus_get_rom(&nd->ptr, 4, nd->mask); in nubus_readdir() 291 nd->done = 1; in nubus_readdir() 299 ent->mask = nd->mask; in nubus_readdir()
|
| /drivers/s390/cio/ |
| A D | chsc.c | 404 static void format_node_data(char *params, char *id, struct node_descriptor *nd) in format_node_data() argument 409 if (nd->validity != ND_VALIDITY_VALID) { in format_node_data() 416 snprintf(params, PARAMS_LEN, "%02x,%06x", nd->byte0, nd->params); in format_node_data() 418 id = store_ebcdic(id, nd->type, sizeof(nd->type), '/'); in format_node_data() 419 id = store_ebcdic(id, nd->model, sizeof(nd->model), ','); in format_node_data() 420 id = store_ebcdic(id, nd->manufacturer, sizeof(nd->manufacturer), '.'); in format_node_data() 421 id = store_ebcdic(id, nd->plant, sizeof(nd->plant), 0); in format_node_data() 422 id = store_ebcdic(id, nd->seq, sizeof(nd->seq), ','); in format_node_data() 423 sprintf(id, "%04X", nd->tag); in format_node_data()
|
| /drivers/sbus/char/ |
| A D | openprom.c | 498 phandle nd; in opiocgetnext() local 502 if (copy_from_user(&nd, argp, sizeof(phandle))) in opiocgetnext() 505 if (nd == 0) { in opiocgetnext() 510 dp = of_find_node_by_phandle(nd); in opiocgetnext() 511 nd = 0; in opiocgetnext() 520 nd = dp->phandle; in opiocgetnext() 521 if (copy_to_user(argp, &nd, sizeof(phandle))) in opiocgetnext()
|
| /drivers/infiniband/hw/mlx4/ |
| A D | cm.c | 528 struct rb_node *nd; in mlx4_ib_cm_paravirt_clean() local 560 nd = rb_first(sl_id_map); in mlx4_ib_cm_paravirt_clean() 561 while (nd) { in mlx4_ib_cm_paravirt_clean() 563 rb_entry(nd, struct id_map_entry, node); in mlx4_ib_cm_paravirt_clean() 564 nd = rb_next(nd); in mlx4_ib_cm_paravirt_clean()
|
| /drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| A D | cfg80211.h | 323 struct cfg80211_wowlan_nd_match *nd; member 444 static inline struct brcmf_cfg80211_profile *ndev_to_prof(struct net_device *nd) in ndev_to_prof() argument 446 struct brcmf_if *ifp = netdev_priv(nd); in ndev_to_prof()
|
| /drivers/phy/rockchip/ |
| A D | phy-rockchip-inno-hdmi.c | 722 u8 nd, no_a, no_b, no_d; in inno_hdmi_phy_rk3228_clk_recalc_rate() local 726 nd = inno_read(inno, 0xe2) & RK3228_PRE_PLL_PRE_DIV_MASK; in inno_hdmi_phy_rk3228_clk_recalc_rate() 732 do_div(vco, nd * 5); in inno_hdmi_phy_rk3228_clk_recalc_rate() 742 do_div(vco, (nd * (no_a == 1 ? no_b : no_a) * no_d * 2)); in inno_hdmi_phy_rk3228_clk_recalc_rate() 873 u8 nd, no_a, no_b, no_d; in inno_hdmi_phy_rk3328_clk_recalc_rate() local 877 nd = inno_read(inno, 0xa1) & RK3328_PRE_PLL_PRE_DIV_MASK; in inno_hdmi_phy_rk3328_clk_recalc_rate() 890 do_div(vco, nd * 5); in inno_hdmi_phy_rk3328_clk_recalc_rate() 898 do_div(vco, (nd * (no_a == 1 ? no_b : no_a) * no_d * 2)); in inno_hdmi_phy_rk3328_clk_recalc_rate()
|
| /drivers/of/ |
| A D | overlay.c | 164 struct of_overlay_notify_data nd; in overlay_notify() local 172 nd.target = fragment->target; in overlay_notify() 173 nd.overlay = fragment->overlay; in overlay_notify() 176 action, &nd); in overlay_notify() 180 of_overlay_action_name(action), ret, nd.target); in overlay_notify()
|
| A D | unittest.c | 3263 struct of_overlay_notify_data *nd = arg; in of_notify() local 3280 of_node_get(nd->overlay); in of_notify() 3285 found = of_find_node_by_name(nd->overlay, "test-unittest16"); in of_notify() 3293 found = of_find_node_by_name(nd->overlay, "test-unittest17"); in of_notify() 3301 found = of_find_node_by_name(nd->overlay, "test-unittest18"); in of_notify() 3309 found = of_find_node_by_name(nd->overlay, "test-unittest19"); in of_notify() 3317 of_node_put(nd->overlay); in of_notify()
|
| /drivers/crypto/allwinner/sun8i-ce/ |
| A D | sun8i-ce-cipher.c | 153 int nd = sg_nents_for_len(areq->dst, areq->cryptlen); in sun8i_ce_cipher_prepare() local 241 nr_sgd = dma_map_sg(ce->dev, areq->dst, nd, DMA_FROM_DEVICE); in sun8i_ce_cipher_prepare() 281 rctx->nr_sgd = nd; in sun8i_ce_cipher_prepare() 292 dma_unmap_sg(ce->dev, areq->dst, nd, DMA_FROM_DEVICE); in sun8i_ce_cipher_prepare()
|
| /drivers/nfc/fdp/ |
| A D | fdp.c | 123 u32 nd, num, delta; in fdp_nci_set_clock() local 126 nd = (24 * fc) / clock_freq; in fdp_nci_set_clock() 127 delta = 24 * fc - nd * clock_freq; in fdp_nci_set_clock() 138 data[7] = nd; in fdp_nci_set_clock()
|
| /drivers/clk/baikal-t1/ |
| A D | ccu-div.c | 80 unsigned long nd; in ccu_div_var_update_clkdiv() local 85 nd = ccu_div_lock_delay_ns(parent_rate, divider); in ccu_div_var_update_clkdiv() 101 ndelay(nd); in ccu_div_var_update_clkdiv()
|
| /drivers/scsi/ |
| A D | aha1740.h | 118 nd:1, /* No Disconnect */ member
|
| /drivers/net/ethernet/amd/ |
| A D | sunlance.c | 1400 struct device_node *nd; in sparc_lance_probe_one() local 1405 nd = of_find_node_by_path("/options"); in sparc_lance_probe_one() 1406 if (!nd) in sparc_lance_probe_one() 1409 prop = of_get_property(nd, "tpe-link-test?", NULL); in sparc_lance_probe_one() 1421 of_node_put(nd); in sparc_lance_probe_one()
|
| /drivers/net/ethernet/intel/i40e/ |
| A D | i40e_debugfs.c | 115 struct net_device *nd = vsi->netdev; in i40e_dbg_dump_vsi_seid() local 118 nd->name, nd->state, nd->flags); in i40e_dbg_dump_vsi_seid() 120 (unsigned long int)nd->features); in i40e_dbg_dump_vsi_seid() 122 (unsigned long int)nd->hw_features); in i40e_dbg_dump_vsi_seid() 124 (unsigned long int)nd->vlan_features); in i40e_dbg_dump_vsi_seid()
|
| /drivers/net/ethernet/faraday/ |
| A D | ftgmac100.c | 1777 static void ftgmac100_ncsi_handler(struct ncsi_dev *nd) in ftgmac100_ncsi_handler() argument 1779 if (unlikely(nd->state != ncsi_dev_state_functional)) in ftgmac100_ncsi_handler() 1782 netdev_dbg(nd->dev, "NCSI interface %s\n", in ftgmac100_ncsi_handler() 1783 nd->link_up ? "up" : "down"); in ftgmac100_ncsi_handler()
|
| /drivers/clk/st/ |
| A D | clkgen-fsyn.c | 325 unsigned long nd = fs->ndiv + 16; /* ndiv value */ in clk_fs660c32_vco_get_rate() local 327 *rate = input * nd; in clk_fs660c32_vco_get_rate()
|