Home
last modified time | relevance | path

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

12345678910>>...43

/kernel/linux/linux-6.6/drivers/pinctrl/
Dpinctrl-lpc18xx.c7 * License version 2. This program is licensed "as is" without any
42 #define LPC18XX_SCU_USB1_EPD BIT(2)
46 #define LPC18XX_SCU_I2C0_EHD BIT(2)
240 LPC_P(0,0, GPIO, SSP1, ENET, SGPIO, R, R, I2S0_TX_WS,I2S1, 0, ND);
241 LPC_P(0,1, GPIO, SSP1,ENET_ALT,SGPIO, R, R, ENET, I2S1, 0, ND);
242 LPC_P(1,0, GPIO, CTIN, EMC, R, R, SSP0, SGPIO, R, 0, ND);
243 LPC_P(1,1, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
244 LPC_P(1,2, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
245 LPC_P(1,3, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
246 LPC_P(1,4, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-lpc18xx.c7 * License version 2. This program is licensed "as is" without any
40 #define LPC18XX_SCU_USB1_EPD BIT(2)
44 #define LPC18XX_SCU_I2C0_EHD BIT(2)
238 LPC_P(0,0, GPIO, SSP1, ENET, SGPIO, R, R, I2S0_TX_WS,I2S1, 0, ND);
239 LPC_P(0,1, GPIO, SSP1,ENET_ALT,SGPIO, R, R, ENET, I2S1, 0, ND);
240 LPC_P(1,0, GPIO, CTIN, EMC, R, R, SSP0, SGPIO, R, 0, ND);
241 LPC_P(1,1, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
242 LPC_P(1,2, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
243 LPC_P(1,3, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
244 LPC_P(1,4, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
[all …]
/kernel/linux/linux-6.6/drivers/staging/most/net/
Dnet.c103 *buff++ = HB(mdp_len - 2); in skb_to_mamac()
104 *buff++ = LB(mdp_len - 2); in skb_to_mamac()
147 *buff++ = HB(mep_len - 2); in skb_to_mep()
148 *buff++ = LB(mep_len - 2); in skb_to_mep()
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()
172 dev->dev_addr[2] == 0 && dev->dev_addr[3] == 0); 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()
[all …]
/kernel/linux/linux-5.10/drivers/staging/most/net/
Dnet.c103 *buff++ = HB(mdp_len - 2); in skb_to_mamac()
104 *buff++ = LB(mdp_len - 2); in skb_to_mamac()
147 *buff++ = HB(mep_len - 2); in skb_to_mep()
148 *buff++ = LB(mep_len - 2); in skb_to_mep()
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()
172 dev->dev_addr[2] == 0 && dev->dev_addr[3] == 0); 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()
[all …]
/kernel/linux/linux-6.6/drivers/hid/
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()
158 ret = ntrig_version_string(&data[2], buf); in ntrig_report_version()
161 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 …]
/kernel/linux/linux-5.10/drivers/hid/
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()
158 ret = ntrig_version_string(&data[2], buf); in ntrig_report_version()
161 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 …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
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 …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
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 …]
/kernel/linux/linux-6.6/lib/
Dwin_minmax.c12 * The algorithm keeps track of the best, 2nd best & 3rd best min
22 * every new min and overwrites 2nd & 3rd choices. The same property
23 * holds for 2nd & 3rd best.
28 /* As time advances, update the 1st, 2nd, and 3rd choices. */
36 * Passed entire window without a new val so make 2nd in minmax_subwin_update()
37 * choice the new val & 3rd choice the new 2nd choice. in minmax_subwin_update()
38 * we may have to iterate this since our 2nd choice in minmax_subwin_update()
43 m->s[1] = m->s[2]; in minmax_subwin_update()
44 m->s[2] = *val; in minmax_subwin_update()
47 m->s[1] = m->s[2]; in minmax_subwin_update()
[all …]
/kernel/linux/linux-5.10/lib/
Dwin_minmax.c12 * The algorithm keeps track of the best, 2nd best & 3rd best min
22 * every new min and overwrites 2nd & 3rd choices. The same property
23 * holds for 2nd & 3rd best.
28 /* As time advances, update the 1st, 2nd, and 3rd choices. */
36 * Passed entire window without a new val so make 2nd in minmax_subwin_update()
37 * choice the new val & 3rd choice the new 2nd choice. in minmax_subwin_update()
38 * we may have to iterate this since our 2nd choice in minmax_subwin_update()
43 m->s[1] = m->s[2]; in minmax_subwin_update()
44 m->s[2] = *val; in minmax_subwin_update()
47 m->s[1] = m->s[2]; in minmax_subwin_update()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/
Dmt7530.txt45 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
68 2. swapped: RGMII TX, RX are swapped; external phy interface with the switch as
69 a ethernet port. But can't interface to the 2nd GMAC.
[all …]
/kernel/linux/linux-5.10/fs/
Dnamei.c501 #define EMBEDDED_LEVELS 2
527 #define ND_ROOT_GRABBED 2
555 static bool nd_alloc_stack(struct nameidata *nd) in nd_alloc_stack() argument
560 nd->flags & LOOKUP_RCU ? GFP_ATOMIC : GFP_KERNEL); in nd_alloc_stack()
563 memcpy(p, nd->internal, sizeof(nd->internal)); in nd_alloc_stack()
564 nd->stack = p; in nd_alloc_stack()
585 static void drop_links(struct nameidata *nd) in drop_links() argument
587 int i = nd->depth; in drop_links()
589 struct saved *last = nd->stack + i; in drop_links()
595 static void terminate_walk(struct nameidata *nd) in terminate_walk() argument
[all …]
/kernel/linux/linux-6.6/fs/
Dnamei.c567 #define EMBEDDED_LEVELS 2
593 #define ND_ROOT_GRABBED 2
632 static bool nd_alloc_stack(struct nameidata *nd) in nd_alloc_stack() argument
637 nd->flags & LOOKUP_RCU ? GFP_ATOMIC : GFP_KERNEL); in nd_alloc_stack()
640 memcpy(p, nd->internal, sizeof(nd->internal)); in nd_alloc_stack()
641 nd->stack = p; in nd_alloc_stack()
664 static void drop_links(struct nameidata *nd) in drop_links() argument
666 int i = nd->depth; in drop_links()
668 struct saved *last = nd->stack + i; in drop_links()
674 static void leave_rcu(struct nameidata *nd) in leave_rcu() argument
[all …]
/kernel/linux/linux-5.10/drivers/clk/at91/
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 …]
/kernel/linux/linux-6.6/drivers/clk/at91/
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 …]
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
Ddvb_filter.h136 u8 plen[2];
190 /* bit 0 - 2: bwd f code
202 u32 pts[2]; /* [0] 1st field, [1] 2nd field */
211 /* [0-2] 1st field, [3] 2nd field */
213 /* [0-2] 1st field, [3] 2nd field */
214 s16 temporal_reference[2];
215 /* [0] 1st field, [1] 2nd field */
217 s8 picture_coding_type[2];
218 /* [0] 1st field, [1] 2nd field */
219 s8 picture_structure[2];
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/av7110/
Ddvb_filter.h136 u8 plen[2];
190 /* bit 0 - 2: bwd f code
202 u32 pts[2]; /* [0] 1st field, [1] 2nd field */
211 /* [0-2] 1st field, [3] 2nd field */
213 /* [0-2] 1st field, [3] 2nd field */
214 s16 temporal_reference[2];
215 /* [0] 1st field, [1] 2nd field */
217 s8 picture_coding_type[2];
218 /* [0] 1st field, [1] 2nd field */
219 s8 picture_structure[2];
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dbuild-id.c110 bid += 2; in build_id__sprintf()
189 int ret = asnprintf(&bf, size, "%s/.build-id/%.2s/%s", buildid_dir, in build_id_cache__linkname()
190 sbuild_id, sbuild_id + 2); in build_id_cache__linkname()
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()
[all …]
/kernel/linux/linux-6.6/tools/perf/ui/browsers/
Dhists.c53 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 …]
/kernel/linux/linux-5.10/tools/perf/ui/browsers/
Dhists.c53 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 …]
/kernel/linux/linux-6.6/net/ncsi/
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 …]
/kernel/linux/linux-5.10/net/ncsi/
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 …]
/kernel/linux/linux-5.10/drivers/mtd/nand/spi/
Dtoshiba.c47 region->offset = mtd->oobsize / 2; in tx58cxgxsxraix_ooblayout_ecc()
48 region->length = mtd->oobsize / 2; in tx58cxgxsxraix_ooblayout_ecc()
59 /* 2 bytes reserved for BBM */ in tx58cxgxsxraix_ooblayout_free()
60 region->offset = 2; in tx58cxgxsxraix_ooblayout_free()
61 region->length = (mtd->oobsize / 2) - 2; in tx58cxgxsxraix_ooblayout_free()
121 /* 3.3V 2Gb (1st generation) */
154 /* 1.8V 2Gb (1st generation) */
178 * 2nd generation serial nand has HOLD_D which is equivalent to
181 /* 3.3V 1Gb (2nd generation) */
192 /* 3.3V 2Gb (2nd generation) */
[all …]
/kernel/linux/linux-5.10/tools/perf/ui/gtk/
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 …]
/kernel/linux/linux-6.6/tools/perf/ui/gtk/
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 …]

12345678910>>...43