/Linux-v5.10/arch/sh/drivers/pci/ |
D | pcie-sh7786.h | 44 #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 …]
|
/Linux-v5.10/drivers/input/joystick/ |
D | walkera0701.c | 62 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 …]
|
/Linux-v5.10/include/asm-generic/bitops/ |
D | const_hweight.h | 8 #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 …]
|
/Linux-v5.10/tools/include/asm-generic/bitops/ |
D | const_hweight.h | 8 #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 …]
|
/Linux-v5.10/include/linux/ |
D | ww_mutex.h | 78 * 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 …]
|
/Linux-v5.10/net/ipv4/ |
D | tcp_westwood.c | 63 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 …]
|
/Linux-v5.10/tools/lib/ |
D | hweight.c | 12 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 …]
|
/Linux-v5.10/arch/m68k/ifpsp060/src/ |
D | itest.S | 173 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 …]
|
/Linux-v5.10/lib/ |
D | hweight.c | 13 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 …]
|
/Linux-v5.10/drivers/net/wireless/intersil/hostap/ |
D | hostap_common.h | 27 #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 …]
|
/Linux-v5.10/sound/soc/ |
D | soc-dapm.c | 181 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 …]
|
/Linux-v5.10/drivers/isdn/hardware/mISDN/ |
D | ipac.h | 125 #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 …]
|
D | w6692.h | 14 #define W_D_XFIFO 0x04 /* W */ 15 #define W_D_CMDR 0x08 /* W */ 16 #define W_D_MODE 0x0c /* R/W */ 17 #define W_D_TIMR 0x10 /* R/W */ 19 #define W_IMASK 0x18 /* R/W */ 21 #define W_D_EXIM 0x20 /* R/W */ 24 #define W_D_SAM 0x2c /* R/W */ 25 #define W_D_SAP1 0x30 /* R/W */ 26 #define W_D_SAP2 0x34 /* R/W */ 27 #define W_D_TAM 0x38 /* R/W */ [all …]
|
/Linux-v5.10/drivers/watchdog/ |
D | bd70528_wdt.c | 131 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 …]
|
/Linux-v5.10/drivers/usb/gadget/udc/ |
D | s3c2410_udc_regs.h | 75 #define S3C2410_UDC_PWR_ISOUP (1 << 7) /* R/W */ 77 #define S3C2410_UDC_PWR_RESUME (1 << 2) /* R/W */ 79 #define S3C2410_UDC_PWR_ENSUSPEND (1 << 0) /* R/W */ 83 #define S3C2410_UDC_INT_EP4 (1 << 4) /* R/W (clear only) */ 84 #define S3C2410_UDC_INT_EP3 (1 << 3) /* R/W (clear only) */ 85 #define S3C2410_UDC_INT_EP2 (1 << 2) /* R/W (clear only) */ 86 #define S3C2410_UDC_INT_EP1 (1 << 1) /* R/W (clear only) */ 87 #define S3C2410_UDC_INT_EP0 (1 << 0) /* R/W (clear only) */ 89 #define S3C2410_UDC_USBINT_RESET (1 << 2) /* R/W (clear only) */ 90 #define S3C2410_UDC_USBINT_RESUME (1 << 1) /* R/W (clear only) */ [all …]
|
/Linux-v5.10/arch/x86/crypto/ |
D | sha1_ssse3_asm.S | 61 /* we keep window of 64 w[i]+K pre-calculated values in a circular buffer */ 249 * RR does two rounds of SHA-1 back to back with W[] pre-calc 250 * t1 = F(b, c, d); e += w(i) 251 * e += t1; b <<= 30; d += w(i+1); 311 .set W, W0 define 319 .set W_minus_32, W 330 .set W_minus_04, W 331 .set W, W_minus_32 define 352 movdqa W_TMP1, W 363 * - calculating last 32 w[i] values in 8 XMM registers [all …]
|
D | sha512-avx2-asm.S | 169 # Extract w[t-7] 170 MY_VPALIGNR YTMP0, Y_3, Y_2, 8 # YTMP0 = W[-7] 171 # Calculate w[t-16] + w[t-7] 172 vpaddq Y_0, YTMP0, YTMP0 # YTMP0 = W[-7] + W[-16] 173 # Extract w[t-15] 174 MY_VPALIGNR YTMP1, Y_1, Y_0, 8 # YTMP1 = W[-15] 178 # Calculate w[t-15] ror 1 181 vpor YTMP2, YTMP3, YTMP3 # YTMP3 = W[-15] ror 1 182 # Calculate w[t-15] shr 7 183 vpsrlq $7, YTMP1, YTMP4 # YTMP4 = W[-15] >> 7 [all …]
|
/Linux-v5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_client_blt.c | 117 struct clear_pages_work *w = container_of(fence, typeof(*w), dma); in clear_pages_work_release() local 119 destroy_sleeve(w->sleeve); in clear_pages_work_release() 121 i915_sw_fence_fini(&w->wait); in clear_pages_work_release() 123 BUILD_BUG_ON(offsetof(typeof(*w), dma)); in clear_pages_work_release() 124 dma_fence_free(&w->dma); in clear_pages_work_release() 135 struct clear_pages_work *w = container_of(work, typeof(*w), irq_work); in clear_pages_signal_irq_worker() local 137 dma_fence_signal(&w->dma); in clear_pages_signal_irq_worker() 138 dma_fence_put(&w->dma); in clear_pages_signal_irq_worker() 144 struct clear_pages_work *w = container_of(cb, typeof(*w), cb); in clear_pages_dma_fence_cb() local 147 dma_fence_set_error(&w->dma, fence->error); in clear_pages_dma_fence_cb() [all …]
|
/Linux-v5.10/arch/m68k/math-emu/ |
D | fp_util.S | 106 move.w #0x3fff+31,%d1 134 lsr.w #8,%d1 136 cmp.w #0xff,%d1 | NaN / Inf? 139 add.w #0x3fff-0x7f,%d1 | re-bias the exponent. 152 move.w #0x4000-0x7f,%d1 157 move.w #0x7fff,%d1 172 lsr.w #5,%d1 174 cmp.w #0x7ff,%d1 | NaN / Inf? 177 add.w #0x3fff-0x3ff,%d1 | re-bias the exponent. 197 move.w #0x4000-0x3ff,%d1 [all …]
|
/Linux-v5.10/drivers/media/platform/s5p-g2d/ |
D | g2d-hw.c | 14 #define w(x, a) writel((x), d->regs + (a)) macro 20 w(1, SOFT_RESET_REG); in g2d_reset() 27 w(0, SRC_SELECT_REG); in g2d_set_src_size() 28 w(f->stride & 0xFFFF, SRC_STRIDE_REG); in g2d_set_src_size() 33 w(n, SRC_LEFT_TOP_REG); in g2d_set_src_size() 38 w(n, SRC_RIGHT_BOTTOM_REG); in g2d_set_src_size() 40 w(f->fmt->hw, SRC_COLOR_MODE_REG); in g2d_set_src_size() 45 w(a, SRC_BASE_ADDR_REG); in g2d_set_src_addr() 52 w(0, DST_SELECT_REG); in g2d_set_dst_size() 53 w(f->stride & 0xFFFF, DST_STRIDE_REG); in g2d_set_dst_size() [all …]
|
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/ |
D | util.h | 64 mt76_worker_setup(struct ieee80211_hw *hw, struct mt76_worker *w, in mt76_worker_setup() argument 72 w->fn = fn; in mt76_worker_setup() 73 w->task = kthread_create(__mt76_worker_fn, w, "mt76-%s %s", in mt76_worker_setup() 76 ret = PTR_ERR_OR_ZERO(w->task); in mt76_worker_setup() 78 w->task = NULL; in mt76_worker_setup() 82 wake_up_process(w->task); in mt76_worker_setup() 87 static inline void mt76_worker_schedule(struct mt76_worker *w) in mt76_worker_schedule() argument 89 if (!w->task) in mt76_worker_schedule() 92 if (!test_and_set_bit(MT76_WORKER_SCHEDULED, &w->state) && in mt76_worker_schedule() 93 !test_bit(MT76_WORKER_RUNNING, &w->state)) in mt76_worker_schedule() [all …]
|
/Linux-v5.10/drivers/scsi/ |
D | nsp32.h | 81 #define IRQ_CONTROL 0x00 /* BASE+00, W, W */ 82 #define IRQ_STATUS 0x00 /* BASE+00, W, R */ 112 #define TRANSFER_CONTROL 0x02 /* BASE+02, W, W */ 113 #define TRANSFER_STATUS 0x02 /* BASE+02, W, R */ 130 #define INDEX_REG 0x04 /* BASE+04, Byte(R/W), Word(R) */ 132 #define TIMER_SET 0x06 /* BASE+06, W, R/W */ 136 #define DATA_REG_LOW 0x08 /* BASE+08, LowW, R/W */ 137 #define DATA_REG_HI 0x0a /* BASE+0a, Hi-W, R/W */ 139 #define FIFO_REST_CNT 0x0c /* BASE+0c, W, R/W */ 144 #define SREQ_SMPL_RATE 0x0f /* BASE+0f, B, R/W */ [all …]
|
/Linux-v5.10/tools/bpf/bpftool/bash-completion/ |
D | bpftool | 12 local w idx found 13 for w in $*; do 16 if [[ $w == ${words[idx]} ]]; then 22 COMPREPLY+=( $( compgen -W "$w" -- "$cur" ) ) 30 local w idx 31 for w in $*; do 33 [[ $w == ${words[idx]} ]] && return 0 44 COMPREPLY+=( $( compgen -W "$*" -- "$cur" ) ) 49 COMPREPLY+=( $( compgen -W "$( bpftool -jp map 2>&1 | \ 57 COMPREPLY+=( $( compgen -W "$( bpftool -jp map 2>&1 | \ [all …]
|
/Linux-v5.10/lib/mpi/ |
D | mpi-add.c | 18 * result in W. U and V may be the same. 20 void mpi_add_ui(MPI w, MPI u, unsigned long v) in mpi_add_ui() argument 30 /* If not space for W (and possible carry), increase space. */ in mpi_add_ui() 32 if (w->alloced < wsize) in mpi_add_ui() 33 mpi_resize(w, wsize); in mpi_add_ui() 35 /* These must be after realloc (U may be the same as W). */ in mpi_add_ui() 37 wp = w->d; in mpi_add_ui() 62 w->nlimbs = wsize; in mpi_add_ui() 63 w->sign = wsign; in mpi_add_ui() 67 void mpi_add(MPI w, MPI u, MPI v) in mpi_add() argument [all …]
|
/Linux-v5.10/arch/h8300/lib/ |
D | udivsi3.S | 7 mov.w A1E,A1E ; denominator top word 0? 11 mov.w A0E,A2 13 divxu.w A1,A2P 14 mov.w A2E,A0E 15 divxu.w A1,A0P 16 mov.w A0E,A3 17 mov.w A2,A0E 32 mov.w e2,e2 36 mov.w e2,e2 42 mov.w e2,e2 [all …]
|