Home
last modified time | relevance | path

Searched refs:nd (Results 1 – 25 of 234) sorted by relevance

12345678910

/linux/drivers/hid/
A Dhid-ntrig.c243 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 …]
/linux/drivers/staging/most/net/
A Dnet.c201 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 …]
/linux/fs/
A Dnamei.c743 return legitimize_path(nd, &nd->root, nd->root_seq); in legitimize_root()
777 if (unlikely(!legitimize_path(nd, &nd->path, nd->seq))) in try_to_unlazy()
967 nd->path = nd->root; in nd_jump_root()
970 nd->seq = nd->root_seq; in nd_jump_root()
975 nd->path = nd->root; in nd_jump_root()
1927 nd->path.dentry, nd->inode, nd->seq); in handle_dots()
2344 nd->path = nd->root; in path_init()
2348 nd->root_seq = nd->seq; in path_init()
2409 nd->root = nd->path; in path_init()
2411 nd->root_seq = nd->seq; in path_init()
[all …]
/linux/net/ncsi/
A Dncsi-manage.c60 nd->link_up = 0; in ncsi_report_link()
64 nd->link_up = 0; in ncsi_report_link()
77 nd->link_up = 1; in ncsi_report_link()
86 nd->handler(nd); in ncsi_report_link()
587 nd->state); in ncsi_suspend_channel()
1676 if (!nd) { in ncsi_vlan_rx_add_vid()
1726 if (!nd) { in ncsi_vlan_rx_kill_vid()
1765 if (nd) in ncsi_register_dev()
1766 return nd; in ncsi_register_dev()
1775 nd->dev = dev; in ncsi_register_dev()
[all …]
/linux/tools/perf/util/
A Drb_resort.h60 static void __name##_sorted__init_entry(struct rb_node *nd, \
73 struct __name##_sorted_entry nd[0]; \
94 struct rb_node *nd; \
96 for (nd = rb_first(entries); nd; nd = rb_next(nd)) { \
97 struct __name##_sorted_entry *snd = &sorted->nd[i++]; \
98 __name##_sorted__init_entry(nd, snd); \
107 sorted = malloc(sizeof(*sorted) + sizeof(sorted->nd[0]) * nr_entries); \
120 static void __name##_sorted__init_entry(struct rb_node *nd, \
A Dmetricgroup.c44 if (nd) in metricgroup__lookup()
45 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
49 if (nd) in metricgroup__lookup()
50 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
59 nd); in metric_event_cmp()
79 return &me->nd; in metric_event_new()
395 if (nd) in mep_lookup()
396 return container_of(nd, struct mep, nd); in mep_lookup()
399 if (nd) in mep_lookup()
400 return container_of(nd, struct mep, nd); in mep_lookup()
[all …]
A Dbuild-id.c381 struct rb_node *nd; in perf_session__write_buildid_table() local
387 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table()
388 nd = rb_next(nd)) { in perf_session__write_buildid_table()
414 struct rb_node *nd; in dsos__hit_all() local
421 for (nd = rb_first_cached(&session->machines.guests); nd; in dsos__hit_all()
422 nd = rb_next(nd)) { in dsos__hit_all()
554 cand = nd; in build_id_cache__complement()
899 for (nd = rb_first_cached(&machines->guests); nd; in machines__for_each_dso()
900 nd = rb_next(nd)) { in machines__for_each_dso()
935 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__read_build_ids()
[all …]
A Dsymbol_fprintf.c66 struct rb_node *nd; in dso__fprintf_symbols_by_name() local
69 for (nd = rb_first_cached(&dso->symbol_names); nd; nd = rb_next(nd)) { in dso__fprintf_symbols_by_name()
70 pos = rb_entry(nd, struct symbol_name_rb_node, rb_node); in dso__fprintf_symbols_by_name()
A Dhist.c2153 for (nd = rb_first_cached(&hists->entries); nd; nd = rb_next(nd)) { in hists__filter_by_type()
2192 while (nd) { in resort_filtered_entry()
2195 nd = rb_next(nd); in resort_filtered_entry()
2215 while (nd) { in hists__filter_hierarchy()
2259 while (nd) { in hists__filter_hierarchy()
2262 nd = rb_next(nd); in hists__filter_hierarchy()
2489 for (nd = rb_first_cached(leader_root); nd; nd = rb_next(nd)) { in hists__match_hierarchy()
2520 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__match()
2537 for (nd = rb_first_cached(other_root); nd; nd = rb_next(nd)) { in hists__link_hierarchy()
2596 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__link()
[all …]
/linux/include/net/
A Dncsi.h35 void (*notifier)(struct ncsi_dev *nd));
36 int ncsi_start_dev(struct ncsi_dev *nd);
37 void ncsi_stop_dev(struct ncsi_dev *nd);
38 void ncsi_unregister_dev(struct ncsi_dev *nd);
51 void (*notifier)(struct ncsi_dev *nd)) in ncsi_register_dev() argument
56 static inline int ncsi_start_dev(struct ncsi_dev *nd) in ncsi_start_dev() argument
61 static void ncsi_stop_dev(struct ncsi_dev *nd) in ncsi_stop_dev() argument
65 static inline void ncsi_unregister_dev(struct ncsi_dev *nd) in ncsi_unregister_dev() argument
/linux/tools/perf/ui/browsers/
A Dhists.c69 nd = rb_hierarchy_next(nd)) { in hist_browser__get_folding()
181 for (nd = rb_first(&node->rb_root); nd; nd = rb_next(nd)) { in callchain_node__count_rows_rb_tree()
264 for (nd = rb_first(chain); nd; nd = rb_next(nd)) { in callchain__count_rows()
332 for (nd = rb_first(&node->rb_root); nd; nd = rb_next(nd)) { in callchain_node__init_have_children_rb_tree()
372 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in callchain__init_have_children()
520 for (nd = rb_first(&node->rb_root); nd; nd = rb_next(nd)) { in callchain_node__set_folding_rb_tree()
561 for (nd = rb_first(chain); nd; nd = rb_next(nd)) { in callchain__set_folding()
577 for (nd = rb_first_cached(&he->hroot_out); nd; nd = rb_next(nd)) { in hierarchy_set_folding()
1837 for (nd = browser->top; nd; nd = rb_hierarchy_next(nd)) { in hist_browser__refresh()
1891 nd = rb_next(nd); in hists__filter_entries()
[all …]
A Dmap.c25 static void map_browser__write(struct ui_browser *browser, void *nd, int row) in map_browser__write() argument
27 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in map_browser__write()
116 struct rb_node *nd; in map__browse() local
120 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { in map__browse()
121 struct symbol *pos = rb_entry(nd, struct symbol, rb_node); in map__browse()
A Dannotate.c300 struct rb_node *nd) in annotate_browser__set_rb_top() argument
309 browser->curr_hot = nd; in annotate_browser__set_rb_top()
752 if (nd != NULL && RB_EMPTY_NODE(nd)) in annotate_browser__run()
753 nd = NULL; in annotate_browser__run()
768 if (nd != NULL) { in annotate_browser__run()
769 nd = rb_prev(nd); in annotate_browser__run()
770 if (nd == NULL) in annotate_browser__run()
776 if (nd != NULL) { in annotate_browser__run()
777 nd = rb_next(nd); in annotate_browser__run()
778 if (nd == NULL) in annotate_browser__run()
[all …]
/linux/arch/sparc/kernel/
A Ddevices.c34 static int check_cpu_node(phandle nd, int *cur_inst, in check_cpu_node() argument
38 if (!compare(nd, *cur_inst, compare_arg)) { in check_cpu_node()
40 *prom_node = nd; in check_cpu_node()
42 *mid = prom_getintdefault(nd, cpu_mid_prop(), 0); in check_cpu_node()
74 static int cpu_instance_compare(phandle nd, int instance, void *_arg) in cpu_instance_compare() argument
89 static int cpu_mid_compare(phandle nd, int instance, void *_arg) in cpu_mid_compare() argument
94 this_mid = prom_getintdefault(nd, cpu_mid_prop(), 0); in cpu_mid_compare()
/linux/Documentation/ABI/testing/
A Dsysfs-bus-nfit5 What: /sys/bus/nd/devices/nmemX/nfit/serial
14 What: /sys/bus/nd/devices/nmemX/nfit/handle
23 What: /sys/bus/nd/devices/nmemX/nfit/device
31 What: /sys/bus/nd/devices/nmemX/nfit/rev_id
39 What: /sys/bus/nd/devices/nmemX/nfit/phys_id
49 What: /sys/bus/nd/devices/nmemX/nfit/flags
66 What: /sys/bus/nd/devices/nmemX/nfit/format
67 What: /sys/bus/nd/devices/nmemX/nfit/format1
84 What: /sys/bus/nd/devices/nmemX/nfit/vendor
102 What: /sys/bus/nd/devices/nmemX/nfit/family
[all …]
/linux/tools/perf/ui/gtk/
A Dhists.c100 struct rb_node *nd; in perf_gtk__add_callchain_flat() local
103 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in perf_gtk__add_callchain_flat()
109 node = rb_entry(nd, struct callchain_node, rb_node); in perf_gtk__add_callchain_flat()
163 struct rb_node *nd; in perf_gtk__add_callchain_folded() local
165 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in perf_gtk__add_callchain_folded()
173 node = rb_entry(nd, struct callchain_node, rb_node); in perf_gtk__add_callchain_folded()
223 struct rb_node *nd; in perf_gtk__add_callchain_graph() local
226 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in perf_gtk__add_callchain_graph()
233 node = rb_entry(nd, struct callchain_node, rb_node); in perf_gtk__add_callchain_graph()
300 struct rb_node *nd; in perf_gtk__show_hists() local
[all …]
/linux/drivers/clk/at91/
A Dclk-audio-pll.c62 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 …]
/linux/drivers/block/aoe/
A Daoeblk.c68 nd = nds; in aoedisk_show_netif()
69 ne = nd + ARRAY_SIZE(nds); in aoedisk_show_netif()
75 for (; ifp < e && ifp->nd; ifp++) { in aoedisk_show_netif()
76 for (nnd = nds; nnd < nd; nnd++) in aoedisk_show_netif()
77 if (*nnd == ifp->nd) in aoedisk_show_netif()
79 if (nnd == nd && nd != ne) in aoedisk_show_netif()
80 *nd++ = ifp->nd; in aoedisk_show_netif()
84 ne = nd; in aoedisk_show_netif()
85 nd = nds; in aoedisk_show_netif()
86 if (*nd == NULL) in aoedisk_show_netif()
[all …]
/linux/fs/dlm/
A Dconfig.c560 struct dlm_node *nd; in make_node() local
563 if (!nd) in make_node()
567 nd->nodeid = -1; in make_node()
576 return &nd->item; in make_node()
585 list_del(&nd->list); in drop_node()
595 kfree(nd); in release_node()
790 nd->comm_seq = seq; in node_nodeid_store()
878 struct dlm_node *nd; in dlm_config_nodes() local
903 node->nodeid = nd->nodeid; in dlm_config_nodes()
905 node->new = nd->new; in dlm_config_nodes()
[all …]
/linux/tools/perf/
A Dbuiltin-annotate.c311 struct rb_node *nd = rb_first_cached(&hists->entries), *next; in hists__find_annotations() local
314 while (nd) { in hists__find_annotations()
315 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
329 nd = rb_prev(nd); in hists__find_annotations()
331 nd = rb_next(nd); in hists__find_annotations()
353 nd = rb_next(nd); in hists__find_annotations()
363 next = rb_next(nd); in hists__find_annotations()
366 next = rb_prev(nd); in hists__find_annotations()
373 nd = next; in hists__find_annotations()
376 nd = rb_next(nd); in hists__find_annotations()
/linux/Documentation/devicetree/bindings/net/dsa/
A Dmt7530.txt45 2. PHY of port 0 or port 4: PHY interfaces with an external MAC like 2nd GMAC
47 Note: On a MT7621 SOC with integrated switch: 2nd GMAC can only connected to
52 1. Port 5 is disabled and isolated: An external phy can interface to the 2nd
56 2. Port 5 is muxed to PHY of port 0/4: Port 0/4 interfaces with 2nd GMAC.
63 4. Port 5 is muxed to GMAC5 and interfaces with the 2nd GAMC as 2nd CPU port.
64 Currently a 2nd CPU port is not supported by DSA code.
67 1. normal: The PHY can only connect to 2nd GMAC but not to the switch
69 a ethernet port. But can't interface to the 2nd GMAC.
73 Driver tries to lookup the phy-handle of the 2nd GMAC of the master device.
151 Example 2: MT7621: Port 4 is WAN port: 2nd GMAC -> Port 5 -> PHY port 4.
[all …]
/linux/net/openvswitch/
A Dflow.c420 memset(&key->ipv6.nd, 0, sizeof(key->ipv6.nd)); in parse_icmpv6()
426 struct nd_msg *nd; in parse_icmpv6() local
432 if (unlikely(icmp_len < sizeof(*nd))) in parse_icmpv6()
439 key->ipv6.nd.target = nd->target; in parse_icmpv6()
441 icmp_len -= sizeof(*nd); in parse_icmpv6()
459 ether_addr_copy(key->ipv6.nd.sll, in parse_icmpv6()
460 &nd->opt[offset+sizeof(*nd_opt)]); in parse_icmpv6()
465 ether_addr_copy(key->ipv6.nd.tll, in parse_icmpv6()
477 memset(&key->ipv6.nd.target, 0, sizeof(key->ipv6.nd.target)); in parse_icmpv6()
478 memset(key->ipv6.nd.sll, 0, sizeof(key->ipv6.nd.sll)); in parse_icmpv6()
[all …]
/linux/tools/perf/ui/
A Dbrowser.c141 struct rb_node *nd; in ui_browser__rb_tree_seek() local
145 nd = rb_first(root); in ui_browser__rb_tree_seek()
148 nd = browser->top; in ui_browser__rb_tree_seek()
151 nd = rb_last(root); in ui_browser__rb_tree_seek()
159 nd = rb_next(nd); in ui_browser__rb_tree_seek()
162 nd = rb_prev(nd); in ui_browser__rb_tree_seek()
165 browser->top = nd; in ui_browser__rb_tree_seek()
170 struct rb_node *nd; in ui_browser__rb_tree_refresh() local
176 nd = browser->top; in ui_browser__rb_tree_refresh()
178 while (nd != NULL) { in ui_browser__rb_tree_refresh()
[all …]
/linux/arch/ia64/kernel/
A Dcrash.c159 struct ia64_mca_notify_die *nd; in kdump_init_notifier() local
192 nd = (struct ia64_mca_notify_die *)args->err; in kdump_init_notifier()
197 if (kdump_on_init && (nd->sos->rv_rc != 1)) { in kdump_init_notifier()
204 if (kdump_on_init && (nd->sos->rv_rc != 1)) in kdump_init_notifier()
209 if (kdump_on_fatal_mca && !(*(nd->data))) { in kdump_init_notifier()
/linux/drivers/fpga/
A Dof-fpga-region.c285 struct of_overlay_notify_data *nd) in of_fpga_region_notify_pre_apply() argument
291 info = of_fpga_region_parse_ov(region, nd->overlay); in of_fpga_region_notify_pre_apply()
325 struct of_overlay_notify_data *nd) in of_fpga_region_notify_post_remove() argument
347 struct of_overlay_notify_data *nd = arg; in of_fpga_region_notify() local
368 region = of_fpga_region_find(nd->target); in of_fpga_region_notify()
375 ret = of_fpga_region_notify_pre_apply(region, nd); in of_fpga_region_notify()
379 of_fpga_region_notify_post_remove(region, nd); in of_fpga_region_notify()

Completed in 81 milliseconds

12345678910