/Linux-v5.10/drivers/hid/ |
D | hid-ntrig.c | 173 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_phys_width() local 175 return sprintf(buf, "%d\n", nd->sensor_physical_width); in show_phys_width() 185 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_phys_height() local 187 return sprintf(buf, "%d\n", nd->sensor_physical_height); in show_phys_height() 197 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_log_width() local 199 return sprintf(buf, "%d\n", nd->sensor_logical_width); in show_log_width() 209 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_log_height() local 211 return sprintf(buf, "%d\n", nd->sensor_logical_height); in show_log_height() 221 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_min_width() local 223 return sprintf(buf, "%d\n", nd->min_width * in show_min_width() [all …]
|
/Linux-v5.10/drivers/staging/most/net/ |
D | net.c | 164 struct net_dev_context *nd = netdev_priv(dev); in most_nd_set_mac_address() local 170 nd->is_mamac = in most_nd_set_mac_address() 178 dev->mtu = nd->is_mamac ? MAMAC_DATA_LEN : ETH_DATA_LEN; in most_nd_set_mac_address() 188 struct net_dev_context *nd = netdev_priv(dev); in most_nd_open() local 193 if (most_start_channel(nd->iface, nd->rx.ch_id, &comp)) { in most_nd_open() 199 if (most_start_channel(nd->iface, nd->tx.ch_id, &comp)) { in most_nd_open() 201 most_stop_channel(nd->iface, nd->rx.ch_id, &comp); in most_nd_open() 212 if (nd->iface->request_netinfo) in most_nd_open() 213 nd->iface->request_netinfo(nd->iface, nd->tx.ch_id, on_netinfo); in most_nd_open() 222 struct net_dev_context *nd = netdev_priv(dev); in most_nd_stop() local [all …]
|
/Linux-v5.10/fs/ |
D | namei.c | 548 static bool nd_alloc_stack(struct nameidata *nd) in nd_alloc_stack() argument 553 nd->flags & LOOKUP_RCU ? GFP_ATOMIC : GFP_KERNEL); in nd_alloc_stack() 556 memcpy(p, nd->internal, sizeof(nd->internal)); in nd_alloc_stack() 557 nd->stack = p; in nd_alloc_stack() 578 static void drop_links(struct nameidata *nd) in drop_links() argument 580 int i = nd->depth; in drop_links() 582 struct saved *last = nd->stack + i; in drop_links() 588 static void terminate_walk(struct nameidata *nd) in terminate_walk() argument 590 drop_links(nd); in terminate_walk() 591 if (!(nd->flags & LOOKUP_RCU)) { in terminate_walk() [all …]
|
/Linux-v5.10/net/ncsi/ |
D | ncsi-manage.c | 53 struct ncsi_dev *nd = &ndp->ndev; in ncsi_report_link() local 58 nd->state = ncsi_dev_state_functional; in ncsi_report_link() 60 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() 463 struct ncsi_dev *nd = &ndp->ndev; in ncsi_suspend_channel() local 474 switch (nd->state) { in ncsi_suspend_channel() 476 nd->state = ncsi_dev_state_suspend_select; in ncsi_suspend_channel() 498 nd->state = ncsi_dev_state_suspend_gls; in ncsi_suspend_channel() [all …]
|
/Linux-v5.10/include/net/ |
D | ncsi.h | 35 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-v5.10/tools/perf/util/ |
D | rb_resort.h | 60 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, \
|
D | metricgroup.c | 33 struct rb_node *nd; in metricgroup__lookup() local 41 nd = rblist__find(metric_events, &me); in metricgroup__lookup() 42 if (nd) in metricgroup__lookup() 43 return container_of(nd, struct metric_event, nd); in metricgroup__lookup() 46 nd = rblist__find(metric_events, &me); in metricgroup__lookup() 47 if (nd) in metricgroup__lookup() 48 return container_of(nd, struct metric_event, nd); in metricgroup__lookup() 57 nd); in metric_event_cmp() 77 return &me->nd; in metric_event_new() 83 struct metric_event *me = container_of(rb_node, struct metric_event, nd); in metric_event_delete() [all …]
|
D | build-id.c | 373 struct rb_node *nd; in perf_session__write_buildid_table() local 379 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table() 380 nd = rb_next(nd)) { in perf_session__write_buildid_table() 381 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__write_buildid_table() 406 struct rb_node *nd; in dsos__hit_all() local 413 for (nd = rb_first_cached(&session->machines.guests); nd; in dsos__hit_all() 414 nd = rb_next(nd)) { in dsos__hit_all() 415 struct machine *pos = rb_entry(nd, struct machine, rb_node); in dsos__hit_all() 449 struct str_node *nd, *nd2; in build_id_cache__list_all() local 474 strlist__for_each_entry(nd, toplist) { in build_id_cache__list_all() [all …]
|
D | symbol_fprintf.c | 66 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()
|
D | srccode.c | 27 struct list_head nd; member 79 list_del_init(&sf->nd); in free_srcfile() 100 list_del(&h->nd); in find_srcfile() 101 list_add(&h->nd, &srcfile_list); in find_srcfile() 110 h = list_entry(srcfile_list.prev, struct srcfile, nd); in find_srcfile() 141 list_add(&h->nd, &srcfile_list); in find_srcfile()
|
D | hist.c | 2140 struct rb_node *nd; in hists__filter_by_type() local 2147 for (nd = rb_first_cached(&hists->entries); nd; nd = rb_next(nd)) { in hists__filter_by_type() 2148 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hists__filter_by_type() 2164 struct rb_node *nd; in resort_filtered_entry() local 2185 nd = rb_first_cached(&he->hroot_out); in resort_filtered_entry() 2186 while (nd) { in resort_filtered_entry() 2187 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in resort_filtered_entry() 2189 nd = rb_next(nd); in resort_filtered_entry() 2200 struct rb_node *nd; in hists__filter_hierarchy() local 2208 nd = rb_first_cached(&hists->entries); in hists__filter_hierarchy() [all …]
|
/Linux-v5.10/arch/sparc/kernel/ |
D | devices.c | 34 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-v5.10/tools/perf/ui/browsers/ |
D | hists.c | 53 static struct rb_node *hists__filter_entries(struct rb_node *nd, 63 struct rb_node *nd; in hist_browser__get_folding() local 67 for (nd = rb_first_cached(&hists->entries); in hist_browser__get_folding() 68 (nd = hists__filter_entries(nd, browser->min_pcnt)) != NULL; in hist_browser__get_folding() 69 nd = rb_hierarchy_next(nd)) { in hist_browser__get_folding() 71 rb_entry(nd, struct hist_entry, rb_node); in hist_browser__get_folding() 179 struct rb_node *nd; in callchain_node__count_rows_rb_tree() local 181 for (nd = rb_first(&node->rb_root); nd; nd = rb_next(nd)) { in callchain_node__count_rows_rb_tree() 182 struct callchain_node *child = rb_entry(nd, struct callchain_node, rb_node); in callchain_node__count_rows_rb_tree() 261 struct rb_node *nd; in callchain__count_rows() local [all …]
|
D | map.c | 25 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()
|
D | annotate.c | 290 struct rb_node *nd) in annotate_browser__set_rb_top() argument 293 struct annotation_line * pos = rb_entry(nd, struct annotation_line, rb_node); in annotate_browser__set_rb_top() 299 browser->curr_hot = nd; in annotate_browser__set_rb_top() 666 struct rb_node *nd = NULL; in annotate_browser__run() local 687 nd = browser->curr_hot; in annotate_browser__run() 699 if (nd != NULL && RB_EMPTY_NODE(nd)) in annotate_browser__run() 700 nd = NULL; in annotate_browser__run() 715 if (nd != NULL) { in annotate_browser__run() 716 nd = rb_prev(nd); in annotate_browser__run() 717 if (nd == NULL) in annotate_browser__run() [all …]
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-bus-nfit | 5 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 68 What: /sys/bus/nd/devices/nmemX/nfit/formats 84 What: /sys/bus/nd/devices/nmemX/nfit/vendor [all …]
|
/Linux-v5.10/tools/perf/ui/gtk/ |
D | hists.c | 100 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-v5.10/drivers/clk/at91/ |
D | clk-audio-pll.c | 62 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() 179 fout = clk_audio_pll_fout(parent_rate, frac->nd, frac->fracr); in clk_audio_pll_frac_recalc_rate() 182 fout, frac->nd, (unsigned long)frac->fracr); in clk_audio_pll_frac_recalc_rate() 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() [all …]
|
/Linux-v5.10/drivers/block/aoe/ |
D | aoeblk.c | 63 struct net_device *nds[8], **nd, **nnd, **ne; in aoedisk_show_netif() local 69 nd = nds; in aoedisk_show_netif() 70 ne = nd + ARRAY_SIZE(nds); in aoedisk_show_netif() 76 for (; ifp < e && ifp->nd; ifp++) { in aoedisk_show_netif() 77 for (nnd = nds; nnd < nd; nnd++) in aoedisk_show_netif() 78 if (*nnd == ifp->nd) in aoedisk_show_netif() 80 if (nnd == nd && nd != ne) in aoedisk_show_netif() 81 *nd++ = ifp->nd; in aoedisk_show_netif() 85 ne = nd; in aoedisk_show_netif() 86 nd = nds; in aoedisk_show_netif() [all …]
|
/Linux-v5.10/fs/dlm/ |
D | config.c | 511 struct dlm_node *nd; in make_node() local 513 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); in make_node() 514 if (!nd) in make_node() 517 config_item_init_type_name(&nd->item, name, &node_type); in make_node() 518 nd->nodeid = -1; in make_node() 519 nd->weight = 1; /* default weight of 1 if none is set */ in make_node() 520 nd->new = 1; /* set to 0 once it's been read by dlm_nodeid_list() */ in make_node() 523 list_add(&nd->list, &sp->members); in make_node() 527 return &nd->item; in make_node() 533 struct dlm_node *nd = config_item_to_node(i); in drop_node() local [all …]
|
/Linux-v5.10/tools/perf/ |
D | builtin-annotate.c | 311 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-v5.10/Documentation/devicetree/bindings/net/dsa/ |
D | mt7530.txt | 45 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 54 In the case of a build-in MT7530 switch, port 5 shares the RGMII bus with 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. [all …]
|
/Linux-v5.10/arch/ia64/kernel/ |
D | crash.c | 158 struct ia64_mca_notify_die *nd; in kdump_init_notifier() local 191 nd = (struct ia64_mca_notify_die *)args->err; in kdump_init_notifier() 196 if (kdump_on_init && (nd->sos->rv_rc != 1)) { in kdump_init_notifier() 203 if (kdump_on_init && (nd->sos->rv_rc != 1)) in kdump_init_notifier() 208 if (kdump_on_fatal_mca && !(*(nd->data))) { in kdump_init_notifier()
|
/Linux-v5.10/arch/arm/mach-exynos/ |
D | firmware.c | 190 struct device_node *nd; in exynos_secure_firmware_available() local 193 nd = of_find_compatible_node(NULL, NULL, in exynos_secure_firmware_available() 195 if (!nd) in exynos_secure_firmware_available() 198 addr = of_get_address(nd, 0, NULL, NULL); in exynos_secure_firmware_available() 199 of_node_put(nd); in exynos_secure_firmware_available()
|
/Linux-v5.10/arch/arm64/boot/dts/mediatek/ |
D | mt8173-elm-hana.dtsi | 21 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd 36 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd
|