Home
last modified time | relevance | path

Searched +full:2 +full:nd (Results 1 – 25 of 817) sorted by relevance

12345678910>>...33

/linux/drivers/pinctrl/
H A Dpinctrl-lpc18xx.c7 * License version 2. This program is licensed "as is" without any
41 #define LPC18XX_SCU_USB1_EPD BIT(2)
45 #define LPC18XX_SCU_I2C0_EHD BIT(2)
239 LPC_P(0,0, GPIO, SSP1, ENET, SGPIO, R, R, I2S0_TX_WS,I2S1, 0, ND);
240 LPC_P(0,1, GPIO, SSP1,ENET_ALT,SGPIO, R, R, ENET, I2S1, 0, ND);
241 LPC_P(1,0, GPIO, CTIN, EMC, R, R, SSP0, SGPIO, R, 0, ND);
242 LPC_P(1,1, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
243 LPC_P(1,2, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
244 LPC_P(1,3, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
245 LPC_P(1,4, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-nfit5 What: /sys/bus/nd/devices/nmemX/nfit/serial
7 KernelVersion: v4.2
14 What: /sys/bus/nd/devices/nmemX/nfit/handle
16 KernelVersion: v4.2
23 What: /sys/bus/nd/devices/nmemX/nfit/device
31 What: /sys/bus/nd/devices/nmemX/nfit/rev_id
33 KernelVersion: v4.2
39 What: /sys/bus/nd/devices/nmemX/nfit/phys_id
41 KernelVersion: v4.2
49 What: /sys/bus/nd/devices/nmemX/nfit/flags
[all …]
/linux/drivers/hid/
H A Dhid-ntrig.c96 __u8 b = (raw[0] & 0x3c) >> 2; in ntrig_version_string()
98 __u8 d = ((raw[3] & 0x07) << 3) | ((raw[2] & 0xe0) >> 5); in ntrig_version_string()
99 __u8 e = raw[2] & 0x07; in ntrig_version_string()
161 ret = ntrig_version_string(&data[2], buf); in ntrig_report_version()
164 buf, data[2], data[3], data[4], data[5]); in ntrig_report_version()
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
[all …]
/linux/drivers/clk/at91/
H A Dclk-audio-pll.c15 * enable - clk_enable writes nd, fracr parameters and enables PLL
17 * clk->rate = parent->rate * ((nd + 1) + (fracr / 2^22))
62 u8 nd; member
95 * reset and enable have to be done in 2 separated writes in clk_audio_pll_frac_enable()
102 AT91_PMC_AUDIO_PLL_ND(frac->nd)); in clk_audio_pll_frac_enable()
138 /* do it in 2 separated writes */ in clk_audio_pll_frac_disable()
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()
181 pr_debug("A PLL: %s, fout = %lu (nd = %u, fracr = %lu)\n", __func__, in clk_audio_pll_frac_recalc_rate()
[all …]
/linux/drivers/staging/media/av7110/
H A Ddvb_filter.h132 u8 plen[2];
186 /* bit 0 - 2: bwd f code
199 u32 pts[2]; /* [0] 1st field, [1] 2nd field */
208 /* [0-2] 1st field, [3] 2nd field */
210 /* [0-2] 1st field, [3] 2nd field */
211 s16 temporal_reference[2];
212 /* [0] 1st field, [1] 2nd field */
214 s8 picture_coding_type[2];
215 /* [0] 1st field, [1] 2nd field */
216 s8 picture_structure[2];
[all …]
/linux/tools/perf/ui/browsers/
H A Dhists.c55 static struct rb_node *hists__filter_entries(struct rb_node *nd,
65 struct rb_node *nd; in hist_browser__get_folding()
69 for (nd = rb_first_cached(&hists->entries); in hist_browser__get_folding()
70 (nd = hists__filter_entries(nd, browser->min_pcnt)) != NULL; in hist_browser__get_folding()
71 nd = rb_hierarchy_next(nd)) { in hist_browser__get_folding()
73 rb_entry(nd, struct hist_entry, rb_node); in hist_browser__get_folding()
181 struct rb_node *nd; in callchain_node__count_rows_rb_tree()
183 for (nd in callchain_node__count_rows_rb_tree()
64 struct rb_node *nd; hist_browser__get_folding() local
180 struct rb_node *nd; callchain_node__count_rows_rb_tree() local
262 struct rb_node *nd; callchain__count_rows() local
331 struct rb_node *nd = rb_first(&node->rb_root); callchain_node__init_have_children_rb_tree() local
370 struct rb_node *nd = rb_first(root); callchain__init_have_children() local
514 struct rb_node *nd; callchain_node__set_folding_rb_tree() local
554 struct rb_node *nd; callchain__set_folding() local
569 struct rb_node *nd; hierarchy_set_folding() local
605 struct rb_node *nd; __hist_browser__set_folding() local
1859 struct rb_node *nd; hist_browser__refresh() local
1908 hists__filter_entries(struct rb_node * nd,float min_pcnt) hists__filter_entries() argument
1931 hists__filter_prev_entries(struct rb_node * nd,float min_pcnt) hists__filter_prev_entries() argument
1951 struct rb_node *nd; ui_browser__hists_seek() local
2194 struct rb_node *nd = hists__filter_entries(rb_first(browser->b.entries), hist_browser__fprintf() local
2941 struct rb_node *nd = rb_first_cached(&hb->hists->entries); hist_browser__update_nr_entries() local
2961 struct rb_node *nd = rb_first_cached(&hb->hists->entries); hist_browser__update_percent_limit() local
[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()
37 width = browser->width - ((mb->addrlen * 2) + 4); in map_browser__write()
118 struct rb_node *nd; in map__browse() local
122 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { in map__browse()
123 struct symbol *pos = rb_entry(nd, struct symbol, rb_node); in map__browse()
/linux/fs/
H A Dnamei.c727 #define EMBEDDED_LEVELS 2
754 #define ND_ROOT_GRABBED 2
794 static bool nd_alloc_stack(struct nameidata *nd) in nd_alloc_stack() argument
799 nd->flags & LOOKUP_RCU ? GFP_ATOMIC : GFP_KERNEL); in nd_alloc_stack()
802 memcpy(p, nd->internal, sizeof(nd->internal)); in nd_alloc_stack()
803 nd->stack = p; in nd_alloc_stack()
826 static void drop_links(struct nameidata *nd) in drop_links() argument
828 int i = nd->depth; in drop_links()
830 struct saved *last = nd->stack + i; in drop_links()
836 static void leave_rcu(struct nameidata *nd) in leave_rcu() argument
[all …]
/linux/net/ncsi/
H A Dncsi-manage.c30 return !!(channel->modes[NCSI_MODE_LINK].data[2] & 0x1); in ncsi_channel_has_link()
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()
150 ncm->data[2] &= ~0x1; in ncsi_channel_monitor()
469 struct ncsi_dev *nd = &ndp->ndev; in ncsi_suspend_channel() local
480 switch (nd->state) { in ncsi_suspend_channel()
[all …]
/linux/Documentation/devicetree/bindings/iio/pressure/
H A Dhoneywell,hsc030pa.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
51 0 - A, 10% to 90% of 2^14
52 1 - B, 5% to 95% of 2^14
53 2 - C, 5% to 85% of 2^14
54 3 - F, 4% to 94% of 2^14
55 enum: [0, 1, 2, 3]
73 150PA, 0.5ND, 001ND, 002ND, 004ND, 005ND, 010ND, 020ND, 030ND,
/linux/tools/perf/ui/gtk/
H A Dhists.c53 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
67 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
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()
[all …]
/linux/tools/testing/selftests/net/
H A Darp_ndisc_evict_nocarrier.sh7 # an entry in the ARP/ND table. Depending on the test set sysctl option to
9 # carrier state. Depending on the test check the ARP/ND table:
11 # {arp,ndisc}_evict_nocarrier=1 should contain no ARP/ND after no carrier
12 # {arp,ndisc}_evict_nocarrer=0 should still contain the single ARP/ND entry
20 readonly V6_ADDR1=2001:db8:91::2
28 sysctl -w net.ipv6.conf.veth1.ndisc_evict_nocarrier=1 >/dev/null 2>&1
29 sysctl -w net.ipv6.conf.all.ndisc_evict_nocarrier=1 >/dev/null 2>&1
43 ip netns exec ${me} sysctl -w $1 >/dev/null 2>&1
45 # Establish an ND cache entry
46 ip netns exec ${me} ping -6 -c1 -Iveth1 $V6_ADDR1 >/dev/null 2>
[all...]
/linux/tools/perf/util/
H A Dbuild-id.c178 int ret = asnprintf(&bf, size, "%s/.build-id/%.2s/%s", buildid_dir, in build_id_cache__linkname()
179 sbuild_id, sbuild_id + 2); in build_id_cache__linkname()
371 struct rb_node *nd; in perf_session__write_buildid_table()
377 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table()
378 nd = rb_next(nd)) { in perf_session__write_buildid_table()
379 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__write_buildid_table()
395 return (strlen(d->d_name) == 2) &&
412 struct str_node *nd, *nd in build_id_cache__list_all()
368 struct rb_node *nd; perf_session__write_buildid_table() local
409 struct str_node *nd, *nd2; build_id_cache__list_all() local
486 struct str_node *nd, *cand = NULL; build_id_cache__complement() local
920 struct rb_node *nd; machines__for_each_dso() local
955 struct rb_node *nd; perf_session__read_build_ids() local
[all...]
H A Dprint-events.c155 * /proc/sys/kernel/perf_event_paranoid is set to 2 in is_event_supported()
186 /** nd - RB-tree element. */
187 struct rb_node nd; member
201 struct mep *a = container_of(rb_node, struct mep, nd); in mep_cmp()
220 return &me->nd; in mep_new()
224 struct rb_node *nd) in mep_delete() argument
226 struct mep *me = container_of(nd, struct mep, nd); in mep_delete()
235 struct rb_node *nd; in mep_lookup() local
240 nd in mep_lookup()
[all...]
H A Dhist.c96 * +2 accounts for 0x prefix on raw addresses in hists__calc_col_len()
102 symlen += BITS_PER_LONG / 4 + 2 + 3; in hists__calc_col_len()
105 symlen = unresolved_col_width + 4 + 2; in hists__calc_col_len()
129 symlen += BITS_PER_LONG / 4 + 2 + 3; in hists__calc_col_len()
135 symlen = unresolved_col_width + 4 + 2; in hists__calc_col_len()
144 symlen += BITS_PER_LONG / 4 + 2 + 3; in hists__calc_col_len()
150 symlen = unresolved_col_width + 4 + 2; in hists__calc_col_len()
167 + unresolved_col_width + 2; in hists__calc_col_len()
173 symlen = unresolved_col_width + 4 + 2; in hists__calc_col_len()
182 + unresolved_col_width + 2; in hists__calc_col_len()
2333 struct rb_node *nd; hists__filter_by_type() local
2357 struct rb_node *nd; resort_filtered_entry() local
2393 struct rb_node *nd; hists__filter_hierarchy() local
2681 struct rb_node *nd; hists__match_hierarchy() local
2701 struct rb_node *nd; hists__match() local
2729 struct rb_node *nd; hists__link_hierarchy() local
2776 struct rb_node *nd; hists__link() local
2808 struct rb_node *nd; hists__unlink() local
[all...]
H A Dintel-tpebs.c38 static int control_fd[2], ack_fd[2];
43 struct list_head nd; member
82 list_for_each_entry(t, &tpebs_results, nd) in evsel__tpebs_start_perf_record()
85 record_argv = malloc((10 + 2 * tpebs_event_size) * sizeof(*record_argv)); in evsel__tpebs_start_perf_record()
109 list_for_each_entry(t, &tpebs_results, nd) { in evsel__tpebs_start_perf_record()
114 assert(i == 10 + 2 * tpebs_event_size || i == 8 + 2 * tpebs_event_size); in evsel__tpebs_start_perf_record()
123 list_for_each_entry(t, &tpebs_results, nd) in evsel__tpebs_start_perf_record()
443 list_for_each_entry(t, &tpebs_results, nd) { in tpebs_retire_lat__find()
[all...]
/linux/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
[all...]
/linux/io_uring/
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
47 unsigned nr_pages = (len >> PAGE_SHIFT) + 2; in io_notif_account_mem()
54 nd->account_pages += nr_pages; in io_notif_account_mem()
/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-dai-i2s.c174 /* 2: 0.6667 */ in get_iir_coef()
189 0, 1, 2, 99, 3, 4, 5, 99, 6, 7, 8, 9, 10, 11, 12, 99 in get_iir_coef()
203 {/*2*/ in get_iir_coef()
204 2, 0, IIR_NO_NEED, IIR_NO_NEED, IIR_NO_NEED, IIR_NO_NEED, in get_iir_coef()
214 5, 3, IIR_INV_COEF, 2, IIR_NO_NEED, IIR_NO_NEED, in get_iir_coef()
219 6, 4, 3, 2, 0, IIR_NO_NEED, IIR_NO_NEED, IIR_NO_NEED, in get_iir_coef()
234 7, IIR_INV_COEF, IIR_INV_COEF, 6, 4, 3, 2, 0, IIR_NO_NEED, in get_iir_coef()
698 dev_err(afe->dev, "invalid audio format for 2nd i2s!\n"); in mt8365_afe_2nd_i2s_set_fmt()
706 dev_err(afe->dev, "invalid audio format for 2n in mt8365_afe_2nd_i2s_set_fmt()
[all...]
/linux/arch/powerpc/platforms/8xx/
H A DKconfig76 Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2
77 (often 2-nd UART) will not work if this is enabled.
83 Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1
84 (often 1-nd UART) will not work if this is enabled.
/linux/drivers/block/aoe/
H A Daoecmd.c132 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); in aoehdr_atainit()
162 if (ifp >= &t->ifs[NAOEIFS] || ifp->nd == NULL) in ifrotate()
164 if (ifp->nd == NULL) in ifrotate()
212 if (t->falloc >= NSKBPOOLMAX*2) in newtframe()
273 && t->ifp->nd) { in newframe()
364 dev_hold(t->ifp->nd); in ata_rw_frameinit()
365 skb->dev = t->ifp->nd; in ata_rw_frameinit()
406 dev_put(f->t->ifp->nd); in aoecmd_ata_rw()
487 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); in resend()
489 dev_hold(t->ifp->nd); in resend()
[all …]
/linux/net/openvswitch/
H A Dflow.c293 dest_options_header_count >= 2) { in get_ipv6_ext_hdrs()
305 dest_options_header_count >= 2) { in get_ipv6_ext_hdrs()
338 dest_options_header_count >= 2) { in get_ipv6_ext_hdrs()
350 dest_options_header_count >= 2) { in get_ipv6_ext_hdrs()
539 (llc->oui[0] | llc->oui[1] | llc->oui[2]) != 0) in parse_ethertype()
565 struct nd_msg *nd; in parse_icmpv6() local
568 memset(&key->ipv6.nd, 0, sizeof(key->ipv6.nd)); in parse_icmpv6()
573 if (unlikely(icmp_len < sizeof(*nd))) in parse_icmpv6()
579 nd = (struct nd_msg *)skb_transport_header(skb); in parse_icmpv6()
580 key->ipv6.nd.target = nd->target; in parse_icmpv6()
[all …]
/linux/drivers/media/rc/keymaps/
H A Drc-leadtek-y04g0051.c31 { 0x0316, KEY_OK }, /* 2nd ok */
32 { 0x031e, KEY_VIDEO }, /* 2nd video */
41 { 0x0346, KEY_STOP }, /* 2nd stop */
/linux/tools/perf/
H A Dbuiltin-annotate.c401 struct rb_node *nd = rb_first_cached(&hists->entries), *next; in print_annotate_item_stat()
409 while (nd) { in hists__find_annotations()
410 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
435 nd = rb_prev(nd); in hists__find_annotations()
437 nd = rb_next(nd); in hists__find_annotations()
475 next = rb_next(nd); in hists__find_annotations()
479 next = rb_prev(nd); in hists__find_annotations()
486 nd in hists__find_annotations()
413 struct rb_node *nd = rb_first_cached(&hists->entries), *next; hists__find_annotations() local
[all...]
/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-errata.c10 * it under the terms of the GNU General Public License, Version 2, as
43 * Due to errata G-720, the 2nd order CDR circuit on CN52XX pass
44 * 1 doesn't work properly. The following code disables 2nd order
47 * @qlm: QLM to disable 2nd order CDR for.

12345678910>>...33