Home
last modified time | relevance | path

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

12345678910>>...15

/openbmc/linux/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 …]
/openbmc/linux/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 …]
/openbmc/linux/io_uring/
H 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 …]
H A Dnotif.h33 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_flush() local
36 if (refcount_dec_and_test(&nd->uarg.refcnt)) in io_notif_flush()
43 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_account_mem() local
51 nd->account_pages += nr_pages; in io_notif_account_mem()
/openbmc/qemu/hw/nubus/
H A Dnubus-device.c20 void nubus_set_irq(NubusDevice *nd, int level) in nubus_set_irq() argument
24 qemu_set_irq(nubus->irqs[nd->slot], level); in nubus_set_irq()
30 NubusDevice *nd = NUBUS_DEVICE(dev); in nubus_device_realize() local
37 slot_offset = nd->slot * NUBUS_SUPER_SLOT_SIZE; in nubus_device_realize()
43 &nd->super_slot_mem); in nubus_device_realize()
47 slot_offset = nd->slot * NUBUS_SLOT_SIZE; in nubus_device_realize()
52 &nd->slot_mem); in nubus_device_realize()
56 if (nd->romfile != NULL) { in nubus_device_realize()
59 path = g_strdup(nd->romfile); in nubus_device_realize()
73 nd->romfile); in nubus_device_realize()
[all …]
H A Dnubus-bus.c124 NubusDevice *nd = NUBUS_DEVICE(dev); in nubus_get_dev_path() local
129 char *ret = g_strdup_printf("%s/%s/%02x", p, bus->name, nd->slot); in nubus_get_dev_path()
133 return g_strdup_printf("%s/%02x", bus->name, nd->slot); in nubus_get_dev_path()
139 NubusDevice *nd = NUBUS_DEVICE(dev); in nubus_check_address() local
142 if (nd->slot == -1) { in nubus_check_address()
146 nd->slot = s; in nubus_check_address()
154 if (!(nubus->slot_available_mask & BIT(nd->slot))) { in nubus_check_address()
156 "unavailable or already occupied", nd->slot); in nubus_check_address()
161 nubus->slot_available_mask &= ~BIT(nd->slot); in nubus_check_address()
/openbmc/linux/fs/
H A Dnamei.c677 nd->seq = nd->next_seq = 0; in leave_rcu()
749 return legitimize_path(nd, &nd->root, nd->root_seq); in legitimize_root()
782 if (unlikely(!legitimize_path(nd, &nd->path, nd->seq))) in try_to_unlazy()
975 nd->path = nd->root; in nd_jump_root()
978 nd->seq = nd->root_seq; in nd_jump_root()
983 nd->path = nd->root; in nd_jump_root()
1861 nd->seq = nd->next_seq; in step_into()
1911 nd->next_seq = nd->seq; in follow_dotdot_rcu()
2378 nd->path = nd->root; in path_init()
2443 nd->root = nd->path; in path_init()
[all …]
/openbmc/linux/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()
1659 if (!nd) { in ncsi_vlan_rx_add_vid()
1709 if (!nd) { in ncsi_vlan_rx_kill_vid()
1748 if (nd) in ncsi_register_dev()
1749 return nd; in ncsi_register_dev()
1758 nd->dev = dev; in ncsi_register_dev()
[all …]
/openbmc/linux/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
/openbmc/linux/tools/perf/util/
H 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, \
H A Dbuild-id.c377 struct rb_node *nd; in perf_session__write_buildid_table() local
383 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table()
384 nd = rb_next(nd)) { in perf_session__write_buildid_table()
410 struct rb_node *nd; in dsos__hit_all() local
417 for (nd = rb_first_cached(&session->machines.guests); nd; in dsos__hit_all()
418 nd = rb_next(nd)) { in dsos__hit_all()
550 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 …]
H A Dmetricgroup.c48 if (nd) in metricgroup__lookup()
49 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
53 if (nd) in metricgroup__lookup()
54 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
63 nd); in metric_event_cmp()
84 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 …]
/openbmc/linux/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()
/openbmc/linux/tools/perf/ui/browsers/
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 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()
515 for (nd = rb_first(&node->rb_root); nd; nd = rb_next(nd)) { in callchain_node__set_folding_rb_tree()
556 for (nd = rb_first(chain); nd; nd = rb_next(nd)) { in callchain__set_folding()
572 for (nd = rb_first_cached(&he->hroot_out); nd; nd = rb_next(nd)) { in hierarchy_set_folding()
1827 for (nd = browser->top; nd; nd = rb_hierarchy_next(nd)) { in hist_browser__refresh()
1881 nd = rb_next(nd); in hists__filter_entries()
[all …]
H 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()
748 if (nd != NULL && RB_EMPTY_NODE(nd)) in annotate_browser__run()
749 nd = NULL; in annotate_browser__run()
764 if (nd != NULL) { in annotate_browser__run()
765 nd = rb_prev(nd); in annotate_browser__run()
766 if (nd == NULL) in annotate_browser__run()
772 if (nd != NULL) { in annotate_browser__run()
773 nd = rb_next(nd); in annotate_browser__run()
774 if (nd == NULL) in annotate_browser__run()
[all …]
/openbmc/linux/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 …]
/openbmc/linux/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 …]
/openbmc/linux/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 …]
/openbmc/linux/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 …]
/openbmc/qemu/net/
H A Dnet.c69 Netdev *nd; member
1011 if (!nd->model) in qemu_find_nic_model()
1027 NICInfo *nd; in net_init_nic() local
1041 memset(nd, 0, sizeof(*nd)); in net_init_nic()
1084 nd->used = 1; in net_init_nic()
1575 if (nd->used && !nd->instantiated) { in net_check_clients()
1578 nd->name ? nd->name : "anonymous", in net_check_clients()
1579 nd->model ? nd->model : "unspecified"); in net_check_clients()
1680 net_client_init1(nd->nd, true, &error_fatal); in netdev_init_modern()
1682 qapi_free_Netdev(nd->nd); in netdev_init_modern()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-coroutine.c106 NestData *nd = opaque; in nest() local
108 nd->n_enter++; in nest()
110 if (nd->n_enter < nd->max) { in nest()
113 child = qemu_coroutine_create(nest, nd); in nest()
117 nd->n_return++; in nest()
123 NestData nd = { in test_nesting() local
129 root = qemu_coroutine_create(nest, &nd); in test_nesting()
133 g_assert_cmpint(nd.n_enter, ==, nd.max); in test_nesting()
134 g_assert_cmpint(nd.n_return, ==, nd.max); in test_nesting()
543 NestData nd = { in perf_nesting() local
[all …]
/openbmc/linux/tools/perf/tests/
H 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()
/openbmc/linux/fs/dlm/
H A Dconfig.c550 struct dlm_node *nd; in make_node() local
553 if (!nd) in make_node()
557 nd->nodeid = -1; in make_node()
566 return &nd->item; in make_node()
575 list_del(&nd->list); in drop_node()
585 kfree(nd); in release_node()
780 nd->comm_seq = seq; in node_nodeid_store()
868 struct dlm_node *nd; in dlm_config_nodes() local
893 node->nodeid = nd->nodeid; in dlm_config_nodes()
895 node->new = nd->new; in dlm_config_nodes()
[all …]
/openbmc/qemu/include/hw/net/
H A Dne2000-isa.h21 NICInfo *nd) in isa_ne2000_init() argument
25 qemu_check_nic_model(nd, "ne2k_isa"); in isa_ne2000_init()
33 qdev_set_nic_properties(dev, nd); in isa_ne2000_init()

12345678910>>...15