Home
last modified time | relevance | path

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

1234567891011

/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/io_uring/
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()
123 nd->zc_report = false; in io_alloc_notif()
125 nd->next = NULL; in io_alloc_notif()
[all …]
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/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.c683 nd->seq = nd->next_seq = 0; in leave_rcu()
755 return legitimize_path(nd, &nd->root, nd->root_seq); in legitimize_root()
788 if (unlikely(!legitimize_path(nd, &nd->path, nd->seq))) in try_to_unlazy()
981 nd->path = nd->root; in nd_jump_root()
984 nd->seq = nd->root_seq; in nd_jump_root()
989 nd->path = nd->root; in nd_jump_root()
1912 nd->seq = nd->next_seq; in step_into()
1962 nd->next_seq = nd->seq; in follow_dotdot_rcu()
2467 nd->path = nd->root; in path_init()
2540 nd->root = nd->path; 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()
589 nd->state); in ncsi_suspend_channel()
1664 if (!nd) { in ncsi_vlan_rx_add_vid()
1714 if (!nd) { in ncsi_vlan_rx_kill_vid()
1753 if (nd) in ncsi_register_dev()
1754 return nd; in ncsi_register_dev()
1763 nd->dev = dev; in ncsi_register_dev()
[all …]
/linux/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/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.c50 if (nd) in metricgroup__lookup()
51 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
55 if (nd) in metricgroup__lookup()
56 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
65 nd); in metric_event_cmp()
86 return &me->nd; in metric_event_new()
426 struct mep *me = container_of(nd, struct mep, nd); in mep_delete()
441 if (nd) { in mep_lookup()
443 return container_of(nd, struct mep, nd); in mep_lookup()
447 if (nd) in mep_lookup()
[all …]
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 …]
A Dhist.c2202 for (nd = rb_first_cached(&hists->entries); nd; nd = rb_next(nd)) { in hists__filter_by_type()
2241 while (nd) { in resort_filtered_entry()
2244 nd = rb_next(nd); in resort_filtered_entry()
2264 while (nd) { in hists__filter_hierarchy()
2308 while (nd) { in hists__filter_hierarchy()
2311 nd = rb_next(nd); in hists__filter_hierarchy()
2548 for (nd = rb_first_cached(leader_root); nd; nd = rb_next(nd)) { in hists__match_hierarchy()
2579 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__match()
2596 for (nd = rb_first_cached(other_root); nd; nd = rb_next(nd)) { in hists__link_hierarchy()
2655 for (nd = rb_first_cached(root); nd; nd = rb_next(nd)) { in hists__link()
[all …]
/linux/tools/perf/ui/browsers/
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()
1828 for (nd = browser->top; nd; nd = rb_hierarchy_next(nd)) { in hist_browser__refresh()
1882 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.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/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.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/fs/dlm/
A Dconfig.c558 struct dlm_node *nd; in make_node() local
561 if (!nd) in make_node()
565 nd->nodeid = -1; in make_node()
574 return &nd->item; in make_node()
583 list_del(&nd->list); in drop_node()
593 kfree(nd); in release_node()
788 nd->comm_seq = seq; in node_nodeid_store()
876 struct dlm_node *nd; in dlm_config_nodes() local
901 node->nodeid = nd->nodeid; in dlm_config_nodes()
903 node->new = nd->new; in dlm_config_nodes()
[all …]
/linux/arch/arm64/boot/dts/mediatek/
A Dmt8173-elm-hana.dtsi20 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd
31 /* Lenovo Ideapad C330 uses G2Touch touchscreen as a 2nd source touchscreen */
43 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd
/linux/tools/perf/tests/
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/tools/perf/
A Dbuiltin-annotate.c419 while (nd) { in hists__find_annotations()
445 nd = rb_prev(nd); in hists__find_annotations()
447 nd = rb_next(nd); in hists__find_annotations()
485 next = rb_next(nd); in hists__find_annotations()
489 next = rb_prev(nd); in hists__find_annotations()
496 nd = next; in hists__find_annotations()
519 nd = rb_next(nd); in hists__find_annotations()
530 next = rb_next(nd); in hists__find_annotations()
534 next = rb_prev(nd); in hists__find_annotations()
541 nd = next; in hists__find_annotations()
[all …]
/linux/arch/arm/mach-exynos/
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/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 …]

Completed in 765 milliseconds

1234567891011