Home
last modified time | relevance | path

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

1234567891011

/linux-6.15/drivers/hid/
H 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.15/io_uring/
H A Dnotif.c23 if (unlikely(nd->zc_report) && (nd->zc_copied || !nd->zc_used)) in io_notif_tw_complete()
28 nd->account_pages = 0; in io_notif_tw_complete()
31 nd = nd->next; in io_notif_tw_complete()
33 } while (nd); in io_notif_tw_complete()
43 if (nd->zc_report) { in io_tx_ubuf_complete()
53 if (nd->head != nd) { in io_tx_ubuf_complete()
81 if (unlikely(nd->head != nd || nd->next)) in io_link_skb()
97 prev_nd->next = nd; in io_link_skb()
124 nd->zc_report = false; in io_alloc_notif()
126 nd->next = NULL; in io_alloc_notif()
[all …]
H A Dnotif.h38 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_flush() local
40 io_tx_ubuf_complete(NULL, &nd->uarg, true); in io_notif_flush()
46 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_account_mem() local
54 nd->account_pages += nr_pages; in io_notif_account_mem()
/linux-6.15/drivers/staging/most/net/
H 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.15/fs/
H A Dnamei.c743 nd->seq = nd->next_seq = 0; in leave_rcu()
815 return legitimize_path(nd, &nd->root, nd->root_seq); in legitimize_root()
848 if (unlikely(!legitimize_path(nd, &nd->path, nd->seq))) in try_to_unlazy()
1042 nd->path = nd->root; in nd_jump_root()
1045 nd->seq = nd->root_seq; in nd_jump_root()
1050 nd->path = nd->root; in nd_jump_root()
1997 nd->seq = nd->next_seq; in step_into()
2047 nd->next_seq = nd->seq; in follow_dotdot_rcu()
2552 nd->path = nd->root; in path_init()
2620 nd->root = nd->path; in path_init()
[all …]
/linux-6.15/net/ncsi/
H 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()
589 nd->state); in ncsi_suspend_channel()
1677 if (!nd) { in ncsi_vlan_rx_add_vid()
1727 if (!nd) { in ncsi_vlan_rx_kill_vid()
1766 if (nd) in ncsi_register_dev()
1767 return nd; in ncsi_register_dev()
1776 nd->dev = dev; in ncsi_register_dev()
[all …]
/linux-6.15/include/net/
H 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.15/tools/perf/ui/browsers/
H A Dhists.c70 nd = rb_hierarchy_next(nd)) { in hist_browser__get_folding()
182 for (nd = rb_first(&node->rb_root); nd; nd = rb_next(nd)) { in callchain_node__count_rows_rb_tree()
265 for (nd = rb_first(chain); nd; nd = rb_next(nd)) { in callchain__count_rows()
333 for (nd = rb_first(&node->rb_root); nd; nd = rb_next(nd)) { in callchain_node__init_have_children_rb_tree()
373 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in callchain__init_have_children()
516 for (nd = rb_first(&node->rb_root); nd; nd = rb_next(nd)) { in callchain_node__set_folding_rb_tree()
557 for (nd = rb_first(chain); nd; nd = rb_next(nd)) { in callchain__set_folding()
573 for (nd = rb_first_cached(&he->hroot_out); nd; nd = rb_next(nd)) { in hierarchy_set_folding()
1835 for (nd = browser->top; nd; nd = rb_hierarchy_next(nd)) { in hist_browser__refresh()
1889 nd = rb_next(nd); in hists__filter_entries()
[all …]
H 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()
H A Dannotate.c293 struct rb_node *nd) in annotate_browser__set_rb_top() argument
301 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.15/arch/sparc/kernel/
H 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.15/tools/perf/util/
H A Dmetricgroup.c51 if (nd) in metricgroup__lookup()
52 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
56 if (nd) in metricgroup__lookup()
57 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
66 nd); in metric_event_cmp()
87 return &me->nd; in metric_event_new()
427 struct mep *me = container_of(nd, struct mep, nd); in mep_delete()
442 if (nd) { in mep_lookup()
444 return container_of(nd, struct mep, nd); in mep_lookup()
448 if (nd) in mep_lookup()
[all …]
H A Dbuild-id.c353 struct rb_node *nd; in perf_session__write_buildid_table() local
359 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table()
360 nd = rb_next(nd)) { in perf_session__write_buildid_table()
394 struct str_node *nd, *nd2; in build_id_cache__list_all() local
490 cand = nd; in build_id_cache__complement()
905 struct rb_node *nd; in machines__for_each_dso() local
907 for (nd = rb_first_cached(&machines->guests); nd; in machines__for_each_dso()
908 nd = rb_next(nd)) { in machines__for_each_dso()
940 struct rb_node *nd; in perf_session__read_build_ids() local
943 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__read_build_ids()
[all …]
/linux-6.15/Documentation/ABI/testing/
H 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.15/tools/perf/ui/gtk/
H 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.15/drivers/clk/at91/
H 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.15/drivers/block/aoe/
H 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.15/fs/dlm/
H A Dconfig.c556 struct dlm_node *nd; in make_node() local
565 if (!nd) in make_node()
569 nd->nodeid = nodeid; in make_node()
573 nd->comm_seq = seq; in make_node()
580 return &nd->item; in make_node()
589 list_del(&nd->list); in drop_node()
599 kfree(nd); in release_node()
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.15/tools/perf/tests/
H A Dsymbols.c112 struct rb_node *nd; in test_dso() local
119 for (nd = rb_first_cached(dso__symbols(dso)); nd; nd = rb_next(nd)) { in test_dso()
120 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in test_dso()
/linux-6.15/tools/perf/
H A Dbuiltin-annotate.c420 while (nd) { in hists__find_annotations()
446 nd = rb_prev(nd); in hists__find_annotations()
448 nd = rb_next(nd); in hists__find_annotations()
486 next = rb_next(nd); in hists__find_annotations()
490 next = rb_prev(nd); in hists__find_annotations()
497 nd = next; in hists__find_annotations()
520 nd = rb_next(nd); in hists__find_annotations()
531 next = rb_next(nd); in hists__find_annotations()
535 next = rb_prev(nd); in hists__find_annotations()
542 nd = next; in hists__find_annotations()
[all …]
/linux-6.15/arch/arm64/boot/dts/mediatek/
H A Dmt8173-elm-hana.dtsi21 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd
33 /* Lenovo Ideapad C330 uses G2Touch touchscreen as a 2nd source touchscreen */
46 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd
/linux-6.15/arch/arm/mach-exynos/
H A Dfirmware.c198 struct device_node *nd; in exynos_secure_firmware_available() local
201 nd = of_find_compatible_node(NULL, NULL, in exynos_secure_firmware_available()
203 if (!nd) in exynos_secure_firmware_available()
206 addr = of_get_address(nd, 0, NULL, NULL); in exynos_secure_firmware_available()
207 of_node_put(nd); in exynos_secure_firmware_available()
/linux-6.15/tools/perf/ui/
H 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-6.15/drivers/fpga/
H A Dof-fpga-region.c287 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()
/linux-6.15/net/openvswitch/
H A Dflow.c569 struct nd_msg *nd; in parse_icmpv6() local
572 memset(&key->ipv6.nd, 0, sizeof(key->ipv6.nd)); in parse_icmpv6()
577 if (unlikely(icmp_len < sizeof(*nd))) in parse_icmpv6()
584 key->ipv6.nd.target = nd->target; in parse_icmpv6()
586 icmp_len -= sizeof(*nd); in parse_icmpv6()
604 ether_addr_copy(key->ipv6.nd.sll, in parse_icmpv6()
605 &nd->opt[offset+sizeof(*nd_opt)]); in parse_icmpv6()
610 ether_addr_copy(key->ipv6.nd.tll, in parse_icmpv6()
622 memset(&key->ipv6.nd.target, 0, sizeof(key->ipv6.nd.target)); in parse_icmpv6()
623 memset(key->ipv6.nd.sll, 0, sizeof(key->ipv6.nd.sll)); in parse_icmpv6()
[all …]

1234567891011