Home
last modified time | relevance | path

Searched full:w (Results 1 – 25 of 5658) sorted by relevance

12345678910>>...227

/kernel/linux/linux-4.19/arch/sh/drivers/pci/
Dpcie-sh7786.h47 #define BITS_BADOPC (5) /* 5 BADOPC 0 R/W */
49 #define BITS_BADDEST (4) /*4 BADDEST 0 R/W */
51 #define BITS_UNSOLRESP (3) /* 3 UNSOLRESP 0 R/W */
59 #define SH4A_PCIEENBLR (0x000008) /* R/W - 0x0000 0001 32 */
62 #define SH4A_PCIEECR (0x00000C) /* R/W - 0x0000 0000 32 */
63 #define BITS_ENBL (0) /* 0 ENBL 0 R/W */
67 #define SH4A_PCIEPAR (0x000010) /* R/W - 0x0000 0000 32 */
80 #define SH4A_PCIEPCTLR (0x000018) /* R/W - 0x0000 0000 32 */
89 #define SH4A_PCIEPDR (0x000020) /* R/W - 0x0000 0000 32 */
94 #define SH4A_PCIEMSGALR (0x000030) /* R/W - 0x0000 0000 32 */
[all …]
/kernel/linux/linux-5.10/arch/sh/drivers/pci/
Dpcie-sh7786.h44 #define BITS_BADOPC (5) /* 5 BADOPC 0 R/W */
46 #define BITS_BADDEST (4) /*4 BADDEST 0 R/W */
48 #define BITS_UNSOLRESP (3) /* 3 UNSOLRESP 0 R/W */
56 #define SH4A_PCIEENBLR (0x000008) /* R/W - 0x0000 0001 32 */
59 #define SH4A_PCIEECR (0x00000C) /* R/W - 0x0000 0000 32 */
60 #define BITS_ENBL (0) /* 0 ENBL 0 R/W */
64 #define SH4A_PCIEPAR (0x000010) /* R/W - 0x0000 0000 32 */
77 #define SH4A_PCIEPCTLR (0x000018) /* R/W - 0x0000 0000 32 */
86 #define SH4A_PCIEPDR (0x000020) /* R/W - 0x0000 0000 32 */
91 #define SH4A_PCIEMSGALR (0x000030) /* R/W - 0x0000 0000 32 */
[all …]
/kernel/linux/linux-4.19/drivers/input/joystick/
Dwalkera0701.c66 static inline void walkera0701_parse_frame(struct walkera_dev *w) in walkera0701_parse_frame() argument
74 crc1 += w->buf[i] & 7; in walkera0701_parse_frame()
75 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame()
77 if ((w->buf[10] & 7) != (crc1 & 7)) in walkera0701_parse_frame()
79 if (((w->buf[10] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame()
82 crc1 += w->buf[i] & 7; in walkera0701_parse_frame()
83 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame()
85 if ((w->buf[23] & 7) != (crc1 & 7)) in walkera0701_parse_frame()
87 if (((w->buf[23] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame()
89 val1 = ((w->buf[0] & 7) * 256 + w->buf[1] * 16 + w->buf[2]) >> 2; in walkera0701_parse_frame()
[all …]
/kernel/linux/linux-5.10/drivers/input/joystick/
Dwalkera0701.c62 static inline void walkera0701_parse_frame(struct walkera_dev *w) in walkera0701_parse_frame() argument
70 crc1 += w->buf[i] & 7; in walkera0701_parse_frame()
71 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame()
73 if ((w->buf[10] & 7) != (crc1 & 7)) in walkera0701_parse_frame()
75 if (((w->buf[10] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame()
78 crc1 += w->buf[i] & 7; in walkera0701_parse_frame()
79 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame()
81 if ((w->buf[23] & 7) != (crc1 & 7)) in walkera0701_parse_frame()
83 if (((w->buf[23] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame()
85 val1 = ((w->buf[0] & 7) * 256 + w->buf[1] * 16 + w->buf[2]) >> 2; in walkera0701_parse_frame()
[all …]
/kernel/linux/linux-5.10/include/asm-generic/bitops/
Dconst_hweight.h8 #define __const_hweight8(w) \ argument
10 ((!!((w) & (1ULL << 0))) + \
11 (!!((w) & (1ULL << 1))) + \
12 (!!((w) & (1ULL << 2))) + \
13 (!!((w) & (1ULL << 3))) + \
14 (!!((w) & (1ULL << 4))) + \
15 (!!((w) & (1ULL << 5))) + \
16 (!!((w) & (1ULL << 6))) + \
17 (!!((w) & (1ULL << 7)))))
19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument
[all …]
/kernel/linux/linux-4.19/include/asm-generic/bitops/
Dconst_hweight.h8 #define __const_hweight8(w) \ argument
10 ((!!((w) & (1ULL << 0))) + \
11 (!!((w) & (1ULL << 1))) + \
12 (!!((w) & (1ULL << 2))) + \
13 (!!((w) & (1ULL << 3))) + \
14 (!!((w) & (1ULL << 4))) + \
15 (!!((w) & (1ULL << 5))) + \
16 (!!((w) & (1ULL << 6))) + \
17 (!!((w) & (1ULL << 7)))))
19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument
[all …]
/kernel/linux/linux-5.10/tools/include/asm-generic/bitops/
Dconst_hweight.h8 #define __const_hweight8(w) \ argument
10 ((!!((w) & (1ULL << 0))) + \
11 (!!((w) & (1ULL << 1))) + \
12 (!!((w) & (1ULL << 2))) + \
13 (!!((w) & (1ULL << 3))) + \
14 (!!((w) & (1ULL << 4))) + \
15 (!!((w) & (1ULL << 5))) + \
16 (!!((w) & (1ULL << 6))) + \
17 (!!((w) & (1ULL << 7)))))
19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument
[all …]
/kernel/linux/linux-4.19/tools/include/asm-generic/bitops/
Dconst_hweight.h8 #define __const_hweight8(w) \ argument
10 ((!!((w) & (1ULL << 0))) + \
11 (!!((w) & (1ULL << 1))) + \
12 (!!((w) & (1ULL << 2))) + \
13 (!!((w) & (1ULL << 3))) + \
14 (!!((w) & (1ULL << 4))) + \
15 (!!((w) & (1ULL << 5))) + \
16 (!!((w) & (1ULL << 6))) + \
17 (!!((w) & (1ULL << 7)))))
19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument
[all …]
/kernel/linux/linux-5.10/include/linux/
Dww_mutex.h78 * ww_mutex_init - initialize the w/w mutex
80 * @ww_class: the w/w class the mutex should belong to
82 * Initialize the w/w mutex to unlocked state and associate it with the given
98 * ww_acquire_init - initialize a w/w acquire context
99 * @ctx: w/w acquire context to initialize
100 * @ww_class: w/w class of the context
102 * Initializes an context to acquire multiple mutexes of the given w/w class.
104 * Context-based w/w mutex acquiring can be done in any order whatsoever within
108 * Mixing of context-based w/w mutex acquiring and single w/w mutex locking can
110 * for the same w/w class when acquiring mutexes can also result in undetected
[all …]
/kernel/linux/linux-4.19/include/linux/
Dww_mutex.h86 * ww_mutex_init - initialize the w/w mutex
88 * @ww_class: the w/w class the mutex should belong to
90 * Initialize the w/w mutex to unlocked state and associate it with the given
106 * ww_acquire_init - initialize a w/w acquire context
107 * @ctx: w/w acquire context to initialize
108 * @ww_class: w/w class of the context
110 * Initializes an context to acquire multiple mutexes of the given w/w class.
112 * Context-based w/w mutex acquiring can be done in any order whatsoever within
116 * Mixing of context-based w/w mutex acquiring and single w/w mutex locking can
118 * for the same w/w class when acquiring mutexes can also result in undetected
[all …]
/kernel/linux/linux-4.19/net/ipv4/
Dtcp_westwood.c62 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_init() local
64 w->bk = 0; in tcp_westwood_init()
65 w->bw_ns_est = 0; in tcp_westwood_init()
66 w->bw_est = 0; in tcp_westwood_init()
67 w->accounted = 0; in tcp_westwood_init()
68 w->cumul_ack = 0; in tcp_westwood_init()
69 w->reset_rtt_min = 1; in tcp_westwood_init()
70 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; in tcp_westwood_init()
71 w->rtt_win_sx = tcp_jiffies32; in tcp_westwood_init()
72 w->snd_una = tcp_sk(sk)->snd_una; in tcp_westwood_init()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_westwood.c63 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_init() local
65 w->bk = 0; in tcp_westwood_init()
66 w->bw_ns_est = 0; in tcp_westwood_init()
67 w->bw_est = 0; in tcp_westwood_init()
68 w->accounted = 0; in tcp_westwood_init()
69 w->cumul_ack = 0; in tcp_westwood_init()
70 w->reset_rtt_min = 1; in tcp_westwood_init()
71 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; in tcp_westwood_init()
72 w->rtt_win_sx = tcp_jiffies32; in tcp_westwood_init()
73 w->snd_una = tcp_sk(sk)->snd_una; in tcp_westwood_init()
[all …]
/kernel/linux/linux-5.10/tools/lib/
Dhweight.c12 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument
15 w -= (w >> 1) & 0x55555555; in __sw_hweight32()
16 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32()
17 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32()
18 return (w * 0x01010101) >> 24; in __sw_hweight32()
20 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32()
28 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument
30 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16()
36 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument
38 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8()
[all …]
/kernel/linux/linux-4.19/tools/lib/
Dhweight.c12 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument
15 w -= (w >> 1) & 0x55555555; in __sw_hweight32()
16 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32()
17 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32()
18 return (w * 0x01010101) >> 24; in __sw_hweight32()
20 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32()
28 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument
30 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16()
36 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument
38 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8()
[all …]
/kernel/linux/linux-4.19/arch/mips/include/asm/
Dnile4.h24 #define NILE4_SDRAM0 0x0000 /* SDRAM Bank 0 [R/W] */
25 #define NILE4_SDRAM1 0x0008 /* SDRAM Bank 1 [R/W] */
26 #define NILE4_DCS2 0x0010 /* Device Chip-Select 2 [R/W] */
27 #define NILE4_DCS3 0x0018 /* Device Chip-Select 3 [R/W] */
28 #define NILE4_DCS4 0x0020 /* Device Chip-Select 4 [R/W] */
29 #define NILE4_DCS5 0x0028 /* Device Chip-Select 5 [R/W] */
30 #define NILE4_DCS6 0x0030 /* Device Chip-Select 6 [R/W] */
31 #define NILE4_DCS7 0x0038 /* Device Chip-Select 7 [R/W] */
32 #define NILE4_DCS8 0x0040 /* Device Chip-Select 8 [R/W] */
33 #define NILE4_PCIW0 0x0060 /* PCI Address Window 0 [R/W] */
[all …]
/kernel/linux/linux-4.19/arch/m68k/ifpsp060/src/
Ditest.S173 mov.w &0x0004,ICCR(%a6)
174 mov.w &0x0000,%cc
179 mov.w %cc,SCCR(%a6)
197 mov.w &0x0004,ICCR(%a6)
198 mov.w &0x0000,%cc
203 mov.w %cc,SCCR(%a6)
220 mov.w &0x0000,ICCR(%a6)
221 mov.w &0x0000,%cc
226 mov.w %cc,SCCR(%a6)
243 mov.w &0x0000,ICCR(%a6)
[all …]
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/src/
Ditest.S173 mov.w &0x0004,ICCR(%a6)
174 mov.w &0x0000,%cc
179 mov.w %cc,SCCR(%a6)
197 mov.w &0x0004,ICCR(%a6)
198 mov.w &0x0000,%cc
203 mov.w %cc,SCCR(%a6)
220 mov.w &0x0000,ICCR(%a6)
221 mov.w &0x0000,%cc
226 mov.w %cc,SCCR(%a6)
243 mov.w &0x0000,ICCR(%a6)
[all …]
/kernel/linux/linux-5.10/lib/
Dhweight.c13 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument
16 w -= (w >> 1) & 0x55555555; in __sw_hweight32()
17 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32()
18 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32()
19 return (w * 0x01010101) >> 24; in __sw_hweight32()
21 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32()
30 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument
32 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16()
39 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument
41 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8()
[all …]
/kernel/linux/linux-4.19/lib/
Dhweight.c14 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument
17 w -= (w >> 1) & 0x55555555; in __sw_hweight32()
18 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32()
19 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32()
20 return (w * 0x01010101) >> 24; in __sw_hweight32()
22 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32()
32 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument
34 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16()
41 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument
43 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_common.h27 #define HFA384X_RID_CNFWDSADDRESS1 0xFC11 /* AP f/w only */
28 #define HFA384X_RID_CNFWDSADDRESS2 0xFC12 /* AP f/w only */
29 #define HFA384X_RID_CNFWDSADDRESS3 0xFC13 /* AP f/w only */
30 #define HFA384X_RID_CNFWDSADDRESS4 0xFC14 /* AP f/w only */
31 #define HFA384X_RID_CNFWDSADDRESS5 0xFC15 /* AP f/w only */
32 #define HFA384X_RID_CNFWDSADDRESS6 0xFC16 /* AP f/w only */
33 #define HFA384X_RID_CNFMULTICASTPMBUFFERING 0xFC17 /* AP f/w only */
44 #define HFA384X_RID_CNFMAXASSOCSTA 0xFC2B /* AP f/w only */
47 #define HFA384X_RID_CNFHOSTAUTHENTICATION 0xFC2E /* AP f/w only */
52 #define HFA384X_RID_CNFAPPCFINFO 0xFC34 /* AP f/w only */
[all …]
/kernel/linux/linux-4.19/drivers/net/wireless/intersil/hostap/
Dhostap_common.h27 #define HFA384X_RID_CNFWDSADDRESS1 0xFC11 /* AP f/w only */
28 #define HFA384X_RID_CNFWDSADDRESS2 0xFC12 /* AP f/w only */
29 #define HFA384X_RID_CNFWDSADDRESS3 0xFC13 /* AP f/w only */
30 #define HFA384X_RID_CNFWDSADDRESS4 0xFC14 /* AP f/w only */
31 #define HFA384X_RID_CNFWDSADDRESS5 0xFC15 /* AP f/w only */
32 #define HFA384X_RID_CNFWDSADDRESS6 0xFC16 /* AP f/w only */
33 #define HFA384X_RID_CNFMULTICASTPMBUFFERING 0xFC17 /* AP f/w only */
44 #define HFA384X_RID_CNFMAXASSOCSTA 0xFC2B /* AP f/w only */
47 #define HFA384X_RID_CNFHOSTAUTHENTICATION 0xFC2E /* AP f/w only */
52 #define HFA384X_RID_CNFAPPCFINFO 0xFC34 /* AP f/w only */
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-dapm.c181 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget() argument
183 return !list_empty(&w->dirty); in dapm_dirty_widget()
186 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty() argument
188 dapm_assert_locked(w->dapm); in dapm_mark_dirty()
190 if (!dapm_dirty_widget(w)) { in dapm_mark_dirty()
191 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", in dapm_mark_dirty()
192 w->name, reason); in dapm_mark_dirty()
193 list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty); in dapm_mark_dirty()
205 struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir) in dapm_widget_invalidate_paths() argument
212 dapm_assert_locked(w->dapm); in dapm_widget_invalidate_paths()
[all …]
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
Dipac.h125 #define IPAC_MODEB 0x22 /* R/W */
131 #define IPAC_RAL1 0x28 /* R/W */
135 #define IPAC_CCR2 0x2C /* R/W */
140 #define IPAC_CCR1 0x2F /* R/W */
159 #define IPAC_CONF 0xC0 /* R/W */
163 #define IPAC_ACFG 0xC3 /* R/W */
164 #define IPAC_AOE 0xC4 /* R/W */
167 #define IPAC_PITA1 0xC6 /* R/W */
168 #define IPAC_PITA2 0xC7 /* R/W */
169 #define IPAC_POTA1 0xC8 /* R/W */
[all …]
/kernel/linux/linux-5.10/drivers/watchdog/
Dbd70528_wdt.c131 static int bd70528_wdt_set_locked(struct wdtbd70528 *w, int enable) in bd70528_wdt_set_locked() argument
133 return bd70528_wdt_set(w->mfd, enable, NULL); in bd70528_wdt_set_locked()
136 static int bd70528_wdt_change(struct wdtbd70528 *w, int enable) in bd70528_wdt_change() argument
140 bd70528_wdt_lock(w->mfd); in bd70528_wdt_change()
141 ret = bd70528_wdt_set_locked(w, enable); in bd70528_wdt_change()
142 bd70528_wdt_unlock(w->mfd); in bd70528_wdt_change()
149 struct wdtbd70528 *w = watchdog_get_drvdata(wdt); in bd70528_wdt_start() local
151 dev_dbg(w->dev, "WDT ping...\n"); in bd70528_wdt_start()
152 return bd70528_wdt_change(w, 1); in bd70528_wdt_start()
157 struct wdtbd70528 *w = watchdog_get_drvdata(wdt); in bd70528_wdt_stop() local
[all …]
/kernel/linux/linux-4.19/sound/soc/
Dsoc-dapm.c181 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget() argument
183 return !list_empty(&w->dirty); in dapm_dirty_widget()
186 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty() argument
188 dapm_assert_locked(w->dapm); in dapm_mark_dirty()
190 if (!dapm_dirty_widget(w)) { in dapm_mark_dirty()
191 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", in dapm_mark_dirty()
192 w->name, reason); in dapm_mark_dirty()
193 list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty); in dapm_mark_dirty()
205 struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir) in dapm_widget_invalidate_paths() argument
212 dapm_assert_locked(w->dapm); in dapm_widget_invalidate_paths()
[all …]

12345678910>>...227