Home
last modified time | relevance | path

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

1234567891011

/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/io_uring/
A Dnotif.c17 if (nd->zc_report && (nd->zc_copied || !nd->zc_used)) in io_notif_complete_tw_ext()
22 nd->account_pages = 0; in io_notif_complete_tw_ext()
42 if (nd->zc_report) { in io_tx_ubuf_callback_ext()
44 WRITE_ONCE(nd->zc_used, true); in io_tx_ubuf_callback_ext()
46 WRITE_ONCE(nd->zc_copied, true); in io_tx_ubuf_callback_ext()
56 nd->account_pages = 0; in io_notif_set_extended()
57 nd->zc_report = false; in io_notif_set_extended()
58 nd->zc_used = false; in io_notif_set_extended()
59 nd->zc_copied = false; in io_notif_set_extended()
69 struct io_notif_data *nd; in io_alloc_notif() local
[all …]
A Dnotif.h32 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_flush() local
35 if (refcount_dec_and_test(&nd->uarg.refcnt)) in io_notif_flush()
42 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_account_mem() local
50 nd->account_pages += nr_pages; in io_notif_account_mem()
/linux-6.3-rc2/fs/
A Dnamei.c672 nd->seq = nd->next_seq = 0; in leave_rcu()
744 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()
970 nd->path = nd->root; in nd_jump_root()
973 nd->seq = nd->root_seq; in nd_jump_root()
978 nd->path = nd->root; in nd_jump_root()
1853 nd->seq = nd->next_seq; in step_into()
1903 nd->next_seq = nd->seq; in follow_dotdot_rcu()
2370 nd->path = nd->root; in path_init()
2435 nd->root = nd->path; in path_init()
[all …]
/linux-6.3-rc2/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-6.3-rc2/include/net/
A Dncsi.h37 void (*notifier)(struct ncsi_dev *nd));
38 int ncsi_start_dev(struct ncsi_dev *nd);
39 void ncsi_stop_dev(struct ncsi_dev *nd);
40 void ncsi_unregister_dev(struct ncsi_dev *nd);
53 void (*notifier)(struct ncsi_dev *nd)) in ncsi_register_dev() argument
58 static inline int ncsi_start_dev(struct ncsi_dev *nd) in ncsi_start_dev() argument
63 static void ncsi_stop_dev(struct ncsi_dev *nd) in ncsi_stop_dev() argument
67 static inline void ncsi_unregister_dev(struct ncsi_dev *nd) in ncsi_unregister_dev() argument
/linux-6.3-rc2/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.c47 if (nd) in metricgroup__lookup()
48 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
52 if (nd) in metricgroup__lookup()
53 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
62 nd); in metric_event_cmp()
82 return &me->nd; in metric_event_new()
397 struct mep *me = container_of(nd, struct mep, nd); in mep_delete()
412 if (nd) { in mep_lookup()
414 return container_of(nd, struct mep, nd); in mep_lookup()
418 if (nd) in mep_lookup()
[all …]
A Dbuild-id.c375 struct rb_node *nd; in perf_session__write_buildid_table() local
381 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table()
382 nd = rb_next(nd)) { in perf_session__write_buildid_table()
408 struct rb_node *nd; in dsos__hit_all() local
415 for (nd = rb_first_cached(&session->machines.guests); nd; in dsos__hit_all()
416 nd = rb_next(nd)) { in dsos__hit_all()
548 cand = nd; in build_id_cache__complement()
967 for (nd = rb_first_cached(&machines->guests); nd; in machines__for_each_dso()
968 nd = rb_next(nd)) { in machines__for_each_dso()
1003 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.c2158 for (nd = rb_first_cached(&hists->entries); nd; nd = rb_next(nd)) { in hists__filter_by_type()
2197 while (nd) { in resort_filtered_entry()
2200 nd = rb_next(nd); in resort_filtered_entry()
2220 while (nd) { in hists__filter_hierarchy()
2264 while (nd) { in hists__filter_hierarchy()
2267 nd = rb_next(nd); in hists__filter_hierarchy()
2499 for (nd = rb_first_cached(leader_root); nd; nd = rb_next(nd)) { in hists__match_hierarchy()
2530 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__match()
2547 for (nd = rb_first_cached(other_root); nd; nd = rb_next(nd)) { in hists__link_hierarchy()
2606 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__link()
[all …]
/linux-6.3-rc2/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.c295 struct rb_node *nd) in annotate_browser__set_rb_top() argument
304 browser->curr_hot = nd; in annotate_browser__set_rb_top()
747 if (nd != NULL && RB_EMPTY_NODE(nd)) in annotate_browser__run()
748 nd = NULL; in annotate_browser__run()
763 if (nd != NULL) { in annotate_browser__run()
764 nd = rb_prev(nd); in annotate_browser__run()
765 if (nd == NULL) in annotate_browser__run()
771 if (nd != NULL) { in annotate_browser__run()
772 nd = rb_next(nd); in annotate_browser__run()
773 if (nd == NULL) in annotate_browser__run()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/block/aoe/
A Daoeblk.c67 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 …]
/linux-6.3-rc2/tools/perf/tests/
A Dsymbols.c68 struct rb_node *nd; in test_dso() local
75 for (nd = rb_first_cached(&dso->symbols); nd; nd = rb_next(nd)) { in test_dso()
76 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in test_dso()
/linux-6.3-rc2/fs/dlm/
A Dconfig.c565 struct dlm_node *nd; in make_node() local
568 if (!nd) in make_node()
572 nd->nodeid = -1; in make_node()
581 return &nd->item; in make_node()
590 list_del(&nd->list); in drop_node()
600 kfree(nd); in release_node()
795 nd->comm_seq = seq; in node_nodeid_store()
883 struct dlm_node *nd; in dlm_config_nodes() local
908 node->nodeid = nd->nodeid; in dlm_config_nodes()
910 node->new = nd->new; in dlm_config_nodes()
[all …]
/linux-6.3-rc2/tools/perf/
A Dbuiltin-annotate.c316 struct rb_node *nd = rb_first_cached(&hists->entries), *next; in hists__find_annotations() local
319 while (nd) { in hists__find_annotations()
320 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
345 nd = rb_prev(nd); in hists__find_annotations()
347 nd = rb_next(nd); in hists__find_annotations()
369 nd = rb_next(nd); in hists__find_annotations()
379 next = rb_next(nd); in hists__find_annotations()
382 next = rb_prev(nd); in hists__find_annotations()
389 nd = next; in hists__find_annotations()
392 nd = rb_next(nd); in hists__find_annotations()
/linux-6.3-rc2/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-6.3-rc2/arch/arm/mach-exynos/
A Dfirmware.c192 struct device_node *nd; in exynos_secure_firmware_available() local
195 nd = of_find_compatible_node(NULL, NULL, in exynos_secure_firmware_available()
197 if (!nd) in exynos_secure_firmware_available()
200 addr = of_get_address(nd, 0, NULL, NULL); in exynos_secure_firmware_available()
201 of_node_put(nd); in exynos_secure_firmware_available()

Completed in 185 milliseconds

1234567891011