/linux-4.1.27/drivers/input/joystick/ |
D | walkera0701.c | 66 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 …]
|
/linux-4.1.27/include/asm-generic/bitops/ |
D | const_hweight.h | 7 #define __const_hweight8(w) \ argument 9 ((!!((w) & (1ULL << 0))) + \ 10 (!!((w) & (1ULL << 1))) + \ 11 (!!((w) & (1ULL << 2))) + \ 12 (!!((w) & (1ULL << 3))) + \ 13 (!!((w) & (1ULL << 4))) + \ 14 (!!((w) & (1ULL << 5))) + \ 15 (!!((w) & (1ULL << 6))) + \ 16 (!!((w) & (1ULL << 7))))) 18 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument [all …]
|
D | arch_hweight.h | 6 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32() argument 8 return __sw_hweight32(w); in __arch_hweight32() 11 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16() argument 13 return __sw_hweight16(w); in __arch_hweight16() 16 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8() argument 18 return __sw_hweight8(w); in __arch_hweight8() 21 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64() argument 23 return __sw_hweight64(w); in __arch_hweight64()
|
/linux-4.1.27/net/ipv4/ |
D | tcp_westwood.c | 62 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_time_stamp; in tcp_westwood_init() 72 w->snd_una = tcp_sk(sk)->snd_una; in tcp_westwood_init() [all …]
|
/linux-4.1.27/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() 29 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument 31 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16() 38 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument 40 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8() [all …]
|
D | inflate.c | 170 #define flush_output(w) (wp=(w),flush_window()) argument 347 register int w; /* bits before this table == (l * h) */ in huft_build() local 446 w = -l; /* bits decoded == (l * h) */ in huft_build() 462 while (k > w + l) in huft_build() 466 w += l; /* previous table always l bits */ in huft_build() 469 z = (z = g - w) > (unsigned)l ? l : z; /* upper limit on table size */ in huft_build() 470 if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */ in huft_build() 509 j = i >> (w - l); /* (get around Turbo C bug) */ in huft_build() 517 r.b = (uch)(k - w); in huft_build() 534 f = 1 << (k - w); in huft_build() [all …]
|
/linux-4.1.27/sound/soc/ |
D | soc-dapm.c | 146 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget() argument 148 return !list_empty(&w->dirty); in dapm_dirty_widget() 151 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty() argument 153 dapm_assert_locked(w->dapm); in dapm_mark_dirty() 155 if (!dapm_dirty_widget(w)) { in dapm_mark_dirty() 156 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", in dapm_mark_dirty() 157 w->name, reason); in dapm_mark_dirty() 158 list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty); in dapm_mark_dirty() 174 static void dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_input_paths() argument 180 dapm_assert_locked(w->dapm); in dapm_widget_invalidate_input_paths() [all …]
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | mcf8390.h | 29 #define BSWAP(w) (((w) << 8) | ((w) >> 8)) argument 30 #define RSWAP(w) (w) argument 80 #define BSWAP(w) (w) argument 83 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument 94 #define BSWAP(w) (w) argument 97 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument 106 #define BSWAP(w) (w) argument 109 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument
|
D | uaccess_mm.h | 93 __put_user_asm(__pu_err, __pu_val, ptr, w, r, -EFAULT); \ 161 __get_user_asm(__gu_err, x, ptr, u16, w, r, -EFAULT); \ 248 __get_user_asm(res, *(u16 *)to, (u16 __user *)from, u16, w, r, 2); in __constant_copy_from_user() 251 __constant_copy_from_user_asm(res, to, from, tmp, 3, w, b,); in __constant_copy_from_user() 260 __constant_copy_from_user_asm(res, to, from, tmp, 6, l, w,); in __constant_copy_from_user() 263 __constant_copy_from_user_asm(res, to, from, tmp, 7, l, w, b); in __constant_copy_from_user() 272 __constant_copy_from_user_asm(res, to, from, tmp, 10, l, l, w); in __constant_copy_from_user() 329 __put_user_asm(res, *(u16 *)from, (u16 __user *)to, w, r, 2); in __constant_copy_to_user() 332 __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,); in __constant_copy_to_user() 341 __constant_copy_to_user_asm(res, to, from, tmp, 6, l, w,); in __constant_copy_to_user() [all …]
|
D | raw_io.h | 44 #define out_be16(addr,w) (void)((*(__force volatile u16 *) (addr)) = (w)) argument 46 #define out_le16(addr,w) (void)((*(__force volatile __le16 *) (addr)) = cpu_to_le16(w)) argument 98 #define rom_out_be16(addr, w) \ argument 99 ({u16 __w, __v = (w); u32 _addr = ((u32) (addr)); \ 102 #define rom_out_le16(addr, w) \ argument 103 ({u16 __w, __v = (w); u32 _addr = ((u32) (addr)); \
|
/linux-4.1.27/drivers/media/platform/s5p-g2d/ |
D | g2d-hw.c | 18 #define w(x, a) writel((x), d->regs + (a)) macro 24 w(1, SOFT_RESET_REG); in g2d_reset() 31 w(0, SRC_SELECT_REG); in g2d_set_src_size() 32 w(f->stride & 0xFFFF, SRC_STRIDE_REG); in g2d_set_src_size() 37 w(n, SRC_LEFT_TOP_REG); in g2d_set_src_size() 42 w(n, SRC_RIGHT_BOTTOM_REG); in g2d_set_src_size() 44 w(f->fmt->hw, SRC_COLOR_MODE_REG); in g2d_set_src_size() 49 w(a, SRC_BASE_ADDR_REG); in g2d_set_src_addr() 56 w(0, DST_SELECT_REG); in g2d_set_dst_size() 57 w(f->stride & 0xFFFF, DST_STRIDE_REG); in g2d_set_dst_size() [all …]
|
/linux-4.1.27/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 …]
|
D | ilsp.S | 110 link.w %a6,&-16 115 mov.w %cc,DIV64_CC(%a6) 125 link.w %a6,&-16 130 mov.w %cc,DIV64_CC(%a6) 136 beq.w ldiv64eq0 # divisor is = 0!!! 159 mov.w &0x0, %cc # clear 'X' cc bit 171 beq.w lddone # yes, so (dividend == 0) 177 bra.w ldivfinish # can't divide, we're done. 301 mov.w %d6, %d5 # rb + u3 303 divu.w %d7, %d5 [all …]
|
D | ftest.S | 243 mov.w &0x0000,ICCR(%a6) 252 mov.w &0x0000,%cc 256 mov.w %cc,SCCR(%a6) 283 mov.w &0x0000,ICCR(%a6) 292 mov.w &0x0000,%cc 296 mov.w %cc,SCCR(%a6) 324 mov.w &0x0000,ICCR(%a6) 329 mov.w &0x0000,%cc 333 mov.w %cc,SCCR(%a6) 364 mov.w &0x0000,ICCR(%a6) [all …]
|
D | fpsp.S | 944 andi.w &0x007f,%d1 # extract extension 955 mov.l (tbl_unsupp.l,%pc,%d1.w*4),%d1 # fetch routine addr 967 # funfl_{unfl,inex}_on() because w/ both exceptions disabled, this 1245 bne.w fu_out # yes 1250 beq.w fu_in_pack 1367 bra.w fu_in_exc_ovfl # go insert overflow frame 1391 bne.w fu_in_exc_unfl # yes 1393 bne.w fu_in_exc_ovfl # yes 1403 mov.w (tbl_except.b,%pc,%d0.w*2),2+FP_SRC(%a6) # create exc status 1420 mov.w &0x4,%d0 [all …]
|
D | pfpsp.S | 943 andi.w &0x007f,%d1 # extract extension 954 mov.l (tbl_unsupp.l,%pc,%d1.w*4),%d1 # fetch routine addr 966 # funfl_{unfl,inex}_on() because w/ both exceptions disabled, this 1244 bne.w fu_out # yes 1249 beq.w fu_in_pack 1366 bra.w fu_in_exc_ovfl # go insert overflow frame 1390 bne.w fu_in_exc_unfl # yes 1392 bne.w fu_in_exc_ovfl # yes 1402 mov.w (tbl_except.b,%pc,%d0.w*2),2+FP_SRC(%a6) # create exc status 1419 mov.w &0x4,%d0 [all …]
|
D | isp.S | 483 beq.w uieh_done 485 beq.w uieh_done # no 487 bne.w uieh_trace_a7 # yes 488 bra.w uieh_a7 # no 501 bne.w uieh_divbyzero # yes 502 bra.w uieh_done # no 513 bne.w uieh_divbyzero_a7 # yes 515 bmi.w uieh_trace_a7 # yes 516 bra.w uieh_a7 # no 519 # now, w/ group2, make movep's decode the fastest since it will [all …]
|
/linux-4.1.27/drivers/media/platform/omap/ |
D | omap_voutlib.c | 69 try_win = new_win->w; in omap_vout_try_window() 97 new_win->w = try_win; in omap_vout_try_window() 122 win->w = new_win->w; in omap_vout_new_window() 129 if ((crop->height/win->w.height) >= 2) in omap_vout_new_window() 130 crop->height = win->w.height * 2; in omap_vout_new_window() 132 if ((crop->width/win->w.width) >= 2) in omap_vout_new_window() 133 crop->width = win->w.width * 2; in omap_vout_new_window() 140 if (crop->height != win->w.height) in omap_vout_new_window() 145 if ((crop->height/win->w.height) >= 4) in omap_vout_new_window() 146 crop->height = win->w.height * 4; in omap_vout_new_window() [all …]
|
/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_trans_space.h | 26 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument 27 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument 30 XFS_EXTENTADD_SPACE_RES(mp,w)) 31 #define XFS_DAENTER_1B(mp,w) \ argument 32 ((w) == XFS_DATA_FORK ? (mp)->m_dir_geo->fsbcount : 1) 33 #define XFS_DAENTER_DBS(mp,w) \ argument 34 (XFS_DA_NODE_MAXDEPTH + (((w) == XFS_DATA_FORK) ? 2 : 0)) 35 #define XFS_DAENTER_BLOCKS(mp,w) \ argument 36 (XFS_DAENTER_1B(mp,w) * XFS_DAENTER_DBS(mp,w)) 37 #define XFS_DAENTER_BMAP1B(mp,w) \ argument [all …]
|
D | xfs_inode_fork.h | 92 #define XFS_IFORK_PTR(ip,w) \ argument 93 ((w) == XFS_DATA_FORK ? \ 105 #define XFS_IFORK_SIZE(ip,w) \ argument 106 ((w) == XFS_DATA_FORK ? \ 109 #define XFS_IFORK_FORMAT(ip,w) \ argument 110 ((w) == XFS_DATA_FORK ? \ 113 #define XFS_IFORK_FMT_SET(ip,w,n) \ argument 114 ((w) == XFS_DATA_FORK ? \ 117 #define XFS_IFORK_NEXTENTS(ip,w) \ argument 118 ((w) == XFS_DATA_FORK ? \ [all …]
|
D | xfs_bit.h | 62 __uint32_t w = (__uint32_t)v; in xfs_lowbit64() local 65 if (w) { /* lower bits */ in xfs_lowbit64() 66 n = ffs(w); in xfs_lowbit64() 68 w = (__uint32_t)(v >> 32); in xfs_lowbit64() 69 if (w) { in xfs_lowbit64() 70 n = ffs(w); in xfs_lowbit64()
|
/linux-4.1.27/arch/arm/mach-omap1/ |
D | lcd_dma.c | 138 u16 w; in set_b1_regs() local 257 w = omap_readw(OMAP1610_DMA_LCD_CSDP); in set_b1_regs() 258 w &= ~0x03; in set_b1_regs() 259 w |= lcd_dma.data_type; in set_b1_regs() 260 omap_writew(w, OMAP1610_DMA_LCD_CSDP); in set_b1_regs() 262 w = omap_readw(OMAP1610_DMA_LCD_CTRL); in set_b1_regs() 264 w &= ~(0x03 << 6); in set_b1_regs() 266 w |= 1 << 1; /* Block interrupt enable */ in set_b1_regs() 268 w &= ~(1 << 1); in set_b1_regs() 269 omap_writew(w, OMAP1610_DMA_LCD_CTRL); in set_b1_regs() [all …]
|
D | usb.c | 111 u16 w; in omap_otg_init() local 114 w = omap_readw(ULPD_SOFT_REQ); in omap_otg_init() 115 w &= ~SOFT_USB_CLK_REQ; in omap_otg_init() 116 omap_writew(w, ULPD_SOFT_REQ); in omap_otg_init() 118 w = omap_readw(ULPD_CLOCK_CTRL); in omap_otg_init() 119 w &= ~USB_MCLK_EN; in omap_otg_init() 120 w |= DIS_USB_PVCI_CLK; in omap_otg_init() 121 omap_writew(w, ULPD_CLOCK_CTRL); in omap_otg_init() 564 u16 w; in omap_1510_usb_init() local 588 w = omap_readw(ULPD_APLL_CTRL); in omap_1510_usb_init() [all …]
|
/linux-4.1.27/net/ipv6/ |
D | ip6_fib.c | 50 struct fib6_walker w; member 68 static int fib6_walk(struct fib6_walker *w); 69 static int fib6_walk_continue(struct fib6_walker *w); 81 #define FOR_WALKERS(w) list_for_each_entry(w, &fib6_walkers, lh) argument 83 static void fib6_walker_link(struct fib6_walker *w) in fib6_walker_link() argument 86 list_add(&w->lh, &fib6_walkers); in fib6_walker_link() 90 static void fib6_walker_unlink(struct fib6_walker *w) in fib6_walker_unlink() argument 93 list_del(&w->lh); in fib6_walker_unlink() 268 static int fib6_dump_node(struct fib6_walker *w) in fib6_dump_node() argument 273 for (rt = w->leaf; rt; rt = rt->dst.rt6_next) { in fib6_dump_node() [all …]
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
D | bitops.h | 12 cris_swapnwbrlz(unsigned long w) in cris_swapnwbrlz() argument 18 : "=r" (res) : "0" (w)); in cris_swapnwbrlz() 24 cris_swapwbrlz(unsigned long w) in cris_swapwbrlz() argument 30 : "=r" (res) : "0" (w)); in cris_swapwbrlz() 40 ffz(unsigned long w) in ffz() argument 42 return cris_swapnwbrlz(w); in ffz() 50 __ffs(unsigned long w) in __ffs() argument 52 return cris_swapnwbrlz(~w); in __ffs() 59 kernel_ffs(unsigned long w) in kernel_ffs() argument 61 return w ? cris_swapwbrlz (w) + 1 : 0; in kernel_ffs()
|
/linux-4.1.27/arch/xtensa/mm/ |
D | tlb.c | 26 int w, i; in __flush_itlb_all() local 28 for (w = 0; w < ITLB_ARF_WAYS; w++) { in __flush_itlb_all() 30 int e = w + (i << PAGE_SHIFT); in __flush_itlb_all() 39 int w, i; in __flush_dtlb_all() local 41 for (w = 0; w < DTLB_ARF_WAYS; w++) { in __flush_dtlb_all() 43 int e = w + (i << PAGE_SHIFT); in __flush_dtlb_all() 216 static int check_tlb_entry(unsigned w, unsigned e, bool dtlb) in check_tlb_entry() argument 218 unsigned tlbidx = w | (e << PAGE_SHIFT); in check_tlb_entry() 230 dtlb ? 'D' : 'I', w, e, vpn, in check_tlb_entry() 240 dtlb ? 'D' : 'I', w, e, r0, r1, pte); in check_tlb_entry() [all …]
|
/linux-4.1.27/arch/arm/mach-omap1/include/mach/ |
D | usb.h | 39 # define USB2_TRX_MODE(w) (((w)>>24)&0x07) argument 40 # define USB1_TRX_MODE(w) (((w)>>20)&0x07) argument 41 # define USB0_TRX_MODE(w) (((w)>>16)&0x07) argument 53 # define SRP_GPUVBUS(w) (((w)>>24)&0x07) argument 54 # define A_WAIT_VRISE(w) (((w)>>20)&0x07) argument 55 # define B_ASE_BRST(w) (((w)>>16)&0x07) argument 64 # define OTG_HMC(w) (((w)>>0)&0x3f) argument
|
/linux-4.1.27/arch/mips/kernel/ |
D | cpu-bugs64.c | 45 static inline void mult_sh_align_mod(long *v1, long *v2, long *w, in mult_sh_align_mod() argument 117 *w = lw; in mult_sh_align_mod() 122 long v1[8], v2[8], w[8]; in check_mult_sh() local 136 mult_sh_align_mod(&v1[0], &v2[0], &w[0], 32, 0); in check_mult_sh() 137 mult_sh_align_mod(&v1[1], &v2[1], &w[1], 32, 1); in check_mult_sh() 138 mult_sh_align_mod(&v1[2], &v2[2], &w[2], 32, 2); in check_mult_sh() 139 mult_sh_align_mod(&v1[3], &v2[3], &w[3], 32, 3); in check_mult_sh() 140 mult_sh_align_mod(&v1[4], &v2[4], &w[4], 32, 4); in check_mult_sh() 141 mult_sh_align_mod(&v1[5], &v2[5], &w[5], 32, 5); in check_mult_sh() 142 mult_sh_align_mod(&v1[6], &v2[6], &w[6], 32, 6); in check_mult_sh() [all …]
|
/linux-4.1.27/arch/tile/include/asm/ |
D | bitops.h | 43 static inline int fls64(__u64 w) in fls64() argument 45 return (sizeof(__u64) * 8) - __builtin_clzll(w); in fls64() 64 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32() argument 66 return __builtin_popcount(w); in __arch_hweight32() 69 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16() argument 71 return __builtin_popcount(w & 0xffff); in __arch_hweight16() 74 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8() argument 76 return __builtin_popcount(w & 0xff); in __arch_hweight8() 79 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64() argument 81 return __builtin_popcountll(w); in __arch_hweight64()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | arch_hweight.h | 24 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32() argument 30 : REG_IN (w)); in __arch_hweight32() 35 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16() argument 37 return __arch_hweight32(w & 0xffff); in __arch_hweight16() 40 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8() argument 42 return __arch_hweight32(w & 0xff); in __arch_hweight8() 45 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64() argument 50 return __arch_hweight32((u32)w) + in __arch_hweight64() 51 __arch_hweight32((u32)(w >> 32)); in __arch_hweight64() 55 : REG_IN (w)); in __arch_hweight64()
|
/linux-4.1.27/arch/cris/include/arch-v10/arch/ |
D | bitops.h | 13 static inline unsigned long cris_swapnwbrlz(unsigned long w) in cris_swapnwbrlz() argument 25 : "=r" (res) : "0" (w)); in cris_swapnwbrlz() 29 static inline unsigned long cris_swapwbrlz(unsigned long w) in cris_swapwbrlz() argument 35 : "0" (w)); in cris_swapwbrlz() 43 static inline unsigned long ffz(unsigned long w) in ffz() argument 45 return cris_swapnwbrlz(w); in ffz() 68 static inline unsigned long kernel_ffs(unsigned long w) in kernel_ffs() argument 70 return w ? cris_swapwbrlz (w) + 1 : 0; in kernel_ffs()
|
/linux-4.1.27/drivers/input/gameport/ |
D | fm801-gp.c | 46 unsigned short w; in fm801_gp_cooked_read() local 48 w = inw(gameport->io + 2); in fm801_gp_cooked_read() 49 *buttons = (~w >> 14) & 0x03; in fm801_gp_cooked_read() 50 axes[0] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); in fm801_gp_cooked_read() 51 w = inw(gameport->io + 4); in fm801_gp_cooked_read() 52 axes[1] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); in fm801_gp_cooked_read() 53 w = inw(gameport->io + 6); in fm801_gp_cooked_read() 54 *buttons |= ((~w >> 14) & 0x03) << 2; in fm801_gp_cooked_read() 55 axes[2] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); in fm801_gp_cooked_read() 56 w = inw(gameport->io + 8); in fm801_gp_cooked_read() [all …]
|
/linux-4.1.27/include/linux/ceph/ |
D | mdsmap.h | 37 ceph_mdsmap_get_addr(struct ceph_mdsmap *m, int w) in ceph_mdsmap_get_addr() argument 39 if (w >= m->m_max_mds) in ceph_mdsmap_get_addr() 41 return &m->m_info[w].addr; in ceph_mdsmap_get_addr() 44 static inline int ceph_mdsmap_get_state(struct ceph_mdsmap *m, int w) in ceph_mdsmap_get_state() argument 46 BUG_ON(w < 0); in ceph_mdsmap_get_state() 47 if (w >= m->m_max_mds) in ceph_mdsmap_get_state() 49 return m->m_info[w].state; in ceph_mdsmap_get_state() 52 static inline bool ceph_mdsmap_is_laggy(struct ceph_mdsmap *m, int w) in ceph_mdsmap_is_laggy() argument 54 if (w >= 0 && w < m->m_max_mds) in ceph_mdsmap_is_laggy() 55 return m->m_info[w].laggy; in ceph_mdsmap_is_laggy()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | c2p_iplan2.c | 92 u32 dst_idx, first, last, w; in c2p_iplan2() local 105 w = width; in c2p_iplan2() 117 w = width; in c2p_iplan2() 120 w = 16 - dst_idx; in c2p_iplan2() 122 memcpy(d.pixels+dst_idx, c, w); in c2p_iplan2() 123 c += w; in c2p_iplan2() 127 w = width-w; in c2p_iplan2() 130 while (w >= 16) { in c2p_iplan2() 136 w -= 16; in c2p_iplan2() 139 w %= 16; in c2p_iplan2() [all …]
|
D | c2p_planar.c | 94 u32 dst_idx, first, last, w; in c2p_planar() local 105 w = width; in c2p_planar() 118 w = width; in c2p_planar() 121 w = 32 - dst_idx; in c2p_planar() 123 memcpy(d.pixels+dst_idx, c, w); in c2p_planar() 124 c += w; in c2p_planar() 129 w = width-w; in c2p_planar() 132 while (w >= 32) { in c2p_planar() 138 w -= 32; in c2p_planar() 141 w %= 32; in c2p_planar() [all …]
|
D | atafb_iplan2p2.c | 42 int w, l , i, j; in atafb_iplan2p2_copyarea() local 59 w = width >> 4; in atafb_iplan2p2_copyarea() 60 if (w) { in atafb_iplan2p2_copyarea() 63 w *= BPL / 2; in atafb_iplan2p2_copyarea() 64 l = next_line - w * 4; in atafb_iplan2p2_copyarea() 66 for (i = w; i > 0; i--) in atafb_iplan2p2_copyarea() 85 w = width >> 4; in atafb_iplan2p2_copyarea() 86 if (w) { in atafb_iplan2p2_copyarea() 89 w *= BPL / 2; in atafb_iplan2p2_copyarea() 90 l = next_line - w * 4; in atafb_iplan2p2_copyarea() [all …]
|
D | atafb_iplan2p4.c | 42 int w, l , i, j; in atafb_iplan2p4_copyarea() local 59 w = width >> 4; in atafb_iplan2p4_copyarea() 60 if (w) { in atafb_iplan2p4_copyarea() 63 w *= BPL / 2; in atafb_iplan2p4_copyarea() 64 l = next_line - w * 4; in atafb_iplan2p4_copyarea() 66 for (i = w; i > 0; i--) in atafb_iplan2p4_copyarea() 85 w = width >> 4; in atafb_iplan2p4_copyarea() 86 if (w) { in atafb_iplan2p4_copyarea() 89 w *= BPL / 2; in atafb_iplan2p4_copyarea() 90 l = next_line - w * 4; in atafb_iplan2p4_copyarea() [all …]
|
D | atafb_iplan2p8.c | 49 int w, l , i, j; in atafb_iplan2p8_copyarea() local 66 w = width >> 4; in atafb_iplan2p8_copyarea() 67 if (w) { in atafb_iplan2p8_copyarea() 70 w *= BPL / 2; in atafb_iplan2p8_copyarea() 71 l = next_line - w * 4; in atafb_iplan2p8_copyarea() 73 for (i = w; i > 0; i--) in atafb_iplan2p8_copyarea() 92 w = width >> 4; in atafb_iplan2p8_copyarea() 93 if (w) { in atafb_iplan2p8_copyarea() 96 w *= BPL / 2; in atafb_iplan2p8_copyarea() 97 l = next_line - w * 4; in atafb_iplan2p8_copyarea() [all …]
|
D | au1200fb.c | 198 } w[4]; member 714 xsz = win->w[plane].xres; in au1200_setlocation() 715 ysz = win->w[plane].yres; in au1200_setlocation() 716 if ((xpos + win->w[plane].xres) > panel->Xres) { in au1200_setlocation() 722 if ((ypos + win->w[plane].yres) > panel->Yres) { in au1200_setlocation() 730 xsz = win->w[plane].xres + xpos; in au1200_setlocation() 738 ysz = win->w[plane].yres + ypos; in au1200_setlocation() 745 win->w[plane].xpos = xpos; in au1200_setlocation() 746 win->w[plane].ypos = ypos; in au1200_setlocation() 850 au1200_setlocation(fbdev, 0, win->w[0].xpos, win->w[0].ypos); in au1200_setpanel() [all …]
|
/linux-4.1.27/arch/mips/include/asm/ |
D | arch_hweight.h | 14 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32() argument 16 return __builtin_popcount(w); in __arch_hweight32() 19 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16() argument 21 return __builtin_popcount(w & 0xffff); in __arch_hweight16() 24 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8() argument 26 return __builtin_popcount(w & 0xff); in __arch_hweight8() 29 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64() argument 31 return __builtin_popcountll(w); in __arch_hweight64()
|
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
D | regs-mfc-v8.h | 100 #define S5P_FIMV_TMV_BUFFER_SIZE_V8(w, h) (((w) + 1) * ((h) + 1) * 8) argument 102 #define S5P_FIMV_SCRATCH_BUF_SIZE_H264_DEC_V8(w, h) (((w) * 704) + 2176) argument 103 #define S5P_FIMV_SCRATCH_BUF_SIZE_VP8_DEC_V8(w, h) \ argument 104 (((w) * 576 + (h) * 128) + 4128) 106 #define S5P_FIMV_SCRATCH_BUF_SIZE_H264_ENC_V8(w, h) \ argument 107 (((w) * 592) + 2336) 108 #define S5P_FIMV_SCRATCH_BUF_SIZE_VP8_ENC_V8(w, h) \ argument 109 (((w) * 576) + 10512 + \ 110 ((((((w) * 16) * ((h) * 16)) * 3) / 2) * 4))
|
D | regs-mfc-v6.h | 380 #define S5P_FIMV_TMV_BUFFER_SIZE_V6(w, h) (((w) + 1) * ((h) + 3) * 8) argument 384 #define S5P_FIMV_SCRATCH_BUF_SIZE_H264_DEC_V6(w, h) (((w) * 192) + 64) argument 385 #define S5P_FIMV_SCRATCH_BUF_SIZE_MPEG4_DEC_V6(w, h) \ argument 386 ((w) * 144 + 8192 * (h) + 49216 + 1048576) 387 #define S5P_FIMV_SCRATCH_BUF_SIZE_VC1_DEC_V6(w, h) \ argument 388 (2096 * ((w) + (h) + 1)) 389 #define S5P_FIMV_SCRATCH_BUF_SIZE_H263_DEC_V6(w, h) ((w) * 400) argument 390 #define S5P_FIMV_SCRATCH_BUF_SIZE_VP8_DEC_V6(w, h) \ argument 391 ((w) * 32 + (h) * 128 + (((w) + 1) / 2) * 64 + 2112) 392 #define S5P_FIMV_SCRATCH_BUF_SIZE_H264_ENC_V6(w, h) \ argument [all …]
|
D | regs-mfc-v7.h | 53 #define S5P_FIMV_SCRATCH_BUF_SIZE_MPEG4_DEC_V7(w, h) \ argument 54 (SZ_1M + ((w) * 144) + (8192 * (h)) + 49216) 56 #define S5P_FIMV_SCRATCH_BUF_SIZE_VP8_ENC_V7(w, h) \ argument 57 (((w) * 48) + 8192 + ((((w) + 1) / 2) * 128) + 144 + \ 58 ((((((w) * 16) * ((h) * 16)) * 3) / 2) * 4))
|
/linux-4.1.27/drivers/staging/skein/ |
D | skein_block.c | 360 u64 w[WCNT]; /* local copy of input block */ in skein_256_process_block() local 389 skein_get64_lsb_first(w, blk_ptr, WCNT); in skein_256_process_block() 393 X0 = w[0] + ks[0]; in skein_256_process_block() 394 X1 = w[1] + ks[1] + ts[0]; in skein_256_process_block() 395 X2 = w[2] + ks[2] + ts[1]; in skein_256_process_block() 396 X3 = w[3] + ks[3]; in skein_256_process_block() 449 ctx->x[0] = X0 ^ w[0]; in skein_256_process_block() 450 ctx->x[1] = X1 ^ w[1]; in skein_256_process_block() 451 ctx->x[2] = X2 ^ w[2]; in skein_256_process_block() 452 ctx->x[3] = X3 ^ w[3]; in skein_256_process_block() [all …]
|
D | skein_base.c | 27 u64 w[SKEIN_256_STATE_WORDS]; in skein_256_init() member 56 cfg.w[0] = skein_swap64(SKEIN_SCHEMA_VER); in skein_256_init() 58 cfg.w[1] = skein_swap64(hash_bit_len); in skein_256_init() 59 cfg.w[2] = skein_swap64(SKEIN_CFG_TREE_INFO_SEQUENTIAL); in skein_256_init() 61 memset(&cfg.w[3], 0, sizeof(cfg) - 3*sizeof(cfg.w[0])); in skein_256_init() 85 u64 w[SKEIN_256_STATE_WORDS]; in skein_256_init_ext() member 120 memset(&cfg.w, 0, sizeof(cfg.w)); in skein_256_init_ext() 121 cfg.w[0] = skein_swap64(SKEIN_SCHEMA_VER); in skein_256_init_ext() 123 cfg.w[1] = skein_swap64(hash_bit_len); in skein_256_init_ext() 125 cfg.w[2] = skein_swap64(tree_info); in skein_256_init_ext() [all …]
|
/linux-4.1.27/net/core/ |
D | utils.c | 129 int w = 0; in in4_pton() local 143 if (w == 0) in in4_pton() 145 *d++ = w & 0xff; in in4_pton() 146 w = 0; in in4_pton() 155 w = (w * 10) + c; in in4_pton() 156 if ((w & 0xffff) > 255) { in in4_pton() 196 int w = 0; in in6_pton() local 214 *d++ = (w >> 8) & 0xff; in in6_pton() 215 *d++ = w & 0xff; in in6_pton() 217 w = 0; in in6_pton() [all …]
|
/linux-4.1.27/drivers/md/bcache/ |
D | movinggc.c | 16 struct keybuf_key *w; member 54 trace_bcache_gc_copy_collision(&io->w->key); in write_moving_finish() 56 bch_keybuf_del(&io->op.c->moving_gc_keys, io->w); in write_moving_finish() 87 bio->bi_iter.bi_size = KEY_SIZE(&io->w->key) << 9; in moving_init() 88 bio->bi_max_vecs = DIV_ROUND_UP(KEY_SIZE(&io->w->key), in moving_init() 103 io->bio.bio.bi_iter.bi_sector = KEY_START(&io->w->key); in write_moving() 107 op->writeback = KEY_DIRTY(&io->w->key); in write_moving() 108 op->csum = KEY_CSUM(&io->w->key); in write_moving() 110 bkey_copy(&op->replace_key, &io->w->key); in write_moving() 124 bch_submit_bbio(bio, io->op.c, &io->w->key, 0); in read_moving_submit() [all …]
|
D | writeback.c | 105 static void dirty_init(struct keybuf_key *w) in dirty_init() argument 107 struct dirty_io *io = w->private; in dirty_init() 114 bio->bi_iter.bi_size = KEY_SIZE(&w->key) << 9; in dirty_init() 115 bio->bi_max_vecs = DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS); in dirty_init() 116 bio->bi_private = w; in dirty_init() 130 struct keybuf_key *w = io->bio.bi_private; in write_dirty_finish() local 139 if (KEY_DIRTY(&w->key)) { in write_dirty_finish() 146 bkey_copy(keys.top, &w->key); in write_dirty_finish() 150 for (i = 0; i < KEY_PTRS(&w->key); i++) in write_dirty_finish() 151 atomic_inc(&PTR_BUCKET(dc->disk.c, &w->key, i)->pin); in write_dirty_finish() [all …]
|
D | journal.c | 40 struct jset *j, *data = ca->set->journal.w[0].data; in journal_read_bucket() 530 j->cur = (j->cur == j->w) in bch_journal_next() 531 ? &j->w[1] in bch_journal_next() 532 : &j->w[0]; in bch_journal_next() 552 struct journal_write *w = bio->bi_private; in journal_write_endio() local 554 cache_set_err_on(error, w->c, "journal io error"); in journal_write_endio() 555 closure_put(&w->c->journal.io); in journal_write_endio() 563 struct journal_write *w = (j->cur == j->w) in journal_write_done() local 564 ? &j->w[1] in journal_write_done() 565 : &j->w[0]; in journal_write_done() [all …]
|
D | btree.c | 325 static void btree_complete_write(struct btree *b, struct btree_write *w) in btree_complete_write() argument 327 if (w->prio_blocked && in btree_complete_write() 328 !atomic_sub_return(w->prio_blocked, &b->c->prio_blocked)) in btree_complete_write() 331 if (w->journal) { in btree_complete_write() 332 atomic_dec_bug(w->journal); in btree_complete_write() 336 w->prio_blocked = 0; in btree_complete_write() 337 w->journal = NULL; in btree_complete_write() 350 struct btree_write *w = btree_prev_write(b); in __btree_node_write_done() local 354 btree_complete_write(b, w); in __btree_node_write_done() 508 static void btree_node_write_work(struct work_struct *w) in btree_node_write_work() argument [all …]
|
D | btree.h | 225 static inline void rw_lock(bool w, struct btree *b, int level) in rw_lock() argument 227 w ? down_write_nested(&b->lock, level + 1) in rw_lock() 229 if (w) in rw_lock() 233 static inline void rw_unlock(bool w, struct btree *b) in rw_unlock() argument 235 if (w) in rw_unlock() 237 (w ? up_write : up_read)(&b->lock); in rw_unlock()
|
/linux-4.1.27/drivers/spi/ |
D | spi-omap-uwire.c | 120 u16 w, val = 0; in omap_uwire_configure_mode() local 135 w = uwire_read_reg(reg); in omap_uwire_configure_mode() 136 w &= ~(0x3f << shift); in omap_uwire_configure_mode() 137 w |= val << shift; in omap_uwire_configure_mode() 138 uwire_write_reg(reg, w); in omap_uwire_configure_mode() 143 u16 w; in wait_uwire_csr_flag() local 148 w = uwire_read_reg(UWIRE_CSR); in wait_uwire_csr_flag() 149 if ((w & mask) == val) in wait_uwire_csr_flag() 154 __func__, w, mask, val); in wait_uwire_csr_flag() 166 u16 w; in uwire_set_clk1_div() local [all …]
|
/linux-4.1.27/sound/soc/davinci/ |
D | davinci-vcif.c | 61 u32 w; in davinci_vcif_start() local 64 w = readl(davinci_vc->base + DAVINCI_VC_CTRL); in davinci_vcif_start() 67 MOD_REG_BIT(w, DAVINCI_VC_CTRL_RSTDAC, 0); in davinci_vcif_start() 69 MOD_REG_BIT(w, DAVINCI_VC_CTRL_RSTADC, 0); in davinci_vcif_start() 71 writel(w, davinci_vc->base + DAVINCI_VC_CTRL); in davinci_vcif_start() 80 u32 w; in davinci_vcif_stop() local 83 w = readl(davinci_vc->base + DAVINCI_VC_CTRL); in davinci_vcif_stop() 85 MOD_REG_BIT(w, DAVINCI_VC_CTRL_RSTDAC, 1); in davinci_vcif_stop() 87 MOD_REG_BIT(w, DAVINCI_VC_CTRL_RSTADC, 1); in davinci_vcif_stop() 89 writel(w, davinci_vc->base + DAVINCI_VC_CTRL); in davinci_vcif_stop() [all …]
|
/linux-4.1.27/arch/avr32/lib/ |
D | findbit.S | 16 cp.w r11, 0 19 1: ld.w r8, r12[0] 43 ld.w r8, r12[0] 55 1: ld.w r8, r12[0] 80 cp.w r11, 0 83 1: ld.w r8, r12[0] 84 cp.w r8, 0 107 ld.w r8, r12[0] 118 1: ld.w r8, r12[0] 119 cp.w r8, 0 [all …]
|
D | csum_partial_copy_generic.S | 43 2: ld_src w, r5, r12++ 44 st_dst w, r11++, r5 78 cp.w r8, 0 80 st.w r8[0], r9 93 cp.w r8, 0 95 st.w r8[0], r9
|
D | io-writesl.S | 12 cp.w r10, 0 15 1: ld.w r8, r11++ 17 st.w r12[0], r8
|
D | io-readsl.S | 12 cp.w r10, 0 19 1: ld.w r8, r12[0] 21 st.w r11++, r8
|
/linux-4.1.27/drivers/memory/ |
D | mvebu-devbus.c | 123 struct devbus_write_params *w) in devbus_get_timing_params() argument 180 &w->sync_enable); in devbus_get_timing_params() 190 &w->ale_wr); in devbus_get_timing_params() 195 &w->wr_low); in devbus_get_timing_params() 200 &w->wr_high); in devbus_get_timing_params() 210 struct devbus_write_params *w) in devbus_orion_set_timing_params() argument 224 (w->ale_wr & ORION_ALE_WR_MASK) << ORION_ALE_WR_SHIFT | in devbus_orion_set_timing_params() 225 (w->wr_low & ORION_WR_LOW_MASK) << ORION_WR_LOW_SHIFT | in devbus_orion_set_timing_params() 226 (w->wr_high & ORION_WR_HIGH_MASK) << ORION_WR_HIGH_SHIFT | in devbus_orion_set_timing_params() 231 ((w->ale_wr & ORION_ALE_WR_EXT_MASK) ? ORION_ALE_WR_EXT_BIT : 0) | in devbus_orion_set_timing_params() [all …]
|
/linux-4.1.27/include/video/ |
D | pm3fb.h | 226 #define PM3VideoOverlayWidth_WIDTH(w) (((w) & 0xfff) << 0) argument 555 #define PM3FBDestReadBufferWidth_Width(w) ((w) & 0x0fff) argument 612 #define PM3FBSourceReadBufferWidth_Width(w) ((w) & 0x0fff) argument 626 #define PM3FBSourceReadMode_WrapX(w) (((w) & 0xf) << 16) argument 627 #define PM3FBSourceReadMode_WrapY(w) (((w) & 0xf) << 20) argument 645 #define PM3FBWriteBufferWidth_Width(w) ((w) & 0x0fff) argument 690 #define PM3LBDestReadMode_Width(w) (((w) & 0xfff) << 12) argument 692 #define PM3LBReadFormat_DepthWidth(w) (((w) & 0x3) << 0) argument 693 #define PM3LBReadFormat_StencilWidth(w) (((w) & 0xf) << 2) argument 695 #define PM3LBReadFormat_FCPWidth(w) (((w) & 0xf) << 11) argument [all …]
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | hibernate_asm.S | 50 102: ldm.w (r8 - r15), [r6]+ 51 stm.w (r8 - r15), [r7]+ 77 lfm.w (f0 - f7 ), [ip]+ 78 lfm.w (f8 - f15), [ip]+ 79 lfm.w (f16 - f23), [ip]+ 80 lfm.w (f24 - f31), [ip]+ 87 ldm.w (r4 - r15), [ip]+ 102 stm.w (r4 - r15), [ip]+ 103 stm.w (r16 - r27, sp, lr), [ip]+ 108 sfm.w (f0 - f7 ), [ip]+ [all …]
|
D | sleep.S | 31 stm.w (r3 - r6), [sp-] 38 stw.w lr, [sp+], #-4 42 ldw.w pc, [sp]+, #4 53 stm.w (r16 - r27, lr), [sp-] @ save registers on stack 54 stm.w (r4 - r15), [sp-] @ save registers on stack 57 sfm.w (f0 - f7 ), [sp-] 58 sfm.w (f8 - f15), [sp-] 59 sfm.w (f16 - f23), [sp-] 60 sfm.w (f24 - f31), [sp-] 62 stm.w (r4), [sp-] [all …]
|
D | head.S | 81 101: stw.w r1, [r0]+, #4 82 stw.w r1, [r0]+, #4 83 stw.w r1, [r0]+, #4 84 stw.w r1, [r0]+, #4 109 stw.w r1, [r0+], #(KERNEL_START & 0x00c00000) >> 20 116 stw.w r1, [r0]+, #4 214 ldm.w (r6, r7, r8), [r3]+ 220 stw.w fp, [r6]+,#4
|
/linux-4.1.27/sound/soc/intel/atom/ |
D | sst-atom-controls.c | 196 if (e->w && e->w->power) in sst_check_and_send_slot_map() 366 if (bc->w && bc->w->power) in sst_algo_control_set() 499 if (mc->w && mc->w->power) in sst_gain_put() 510 static int sst_send_pipe_module_params(struct snd_soc_dapm_widget *w, in sst_send_pipe_module_params() argument 513 struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); in sst_send_pipe_module_params() 515 struct sst_ids *ids = w->priv; in sst_send_pipe_module_params() 518 sst_find_and_send_pipe_algo(drv, w->name, ids); in sst_send_pipe_module_params() 525 static int sst_generic_modules_event(struct snd_soc_dapm_widget *w, in sst_generic_modules_event() argument 529 return sst_send_pipe_module_params(w, k); in sst_generic_modules_event() 611 static int sst_swm_mixer_event(struct snd_soc_dapm_widget *w, in sst_swm_mixer_event() argument [all …]
|
/linux-4.1.27/include/linux/mtd/ |
D | cfi_endian.h | 50 #define _cpu_to_cfi(w, s, x) (cfi_host(s)?(x):_swap_to_cfi(w, s, x)) argument 51 #define _cfi_to_cpu(w, s, x) (cfi_host(s)?(x):_swap_to_cpu(w, s, x)) argument 52 #define _swap_to_cfi(w, s, x) (cfi_be(s)?cpu_to_be##w(x):cpu_to_le##w(x)) argument 53 #define _swap_to_cpu(w, s, x) (cfi_be(s)?be##w##_to_cpu(x):le##w##_to_cpu(x)) argument
|
/linux-4.1.27/arch/m32r/platforms/mappi/ |
D | io.c | 70 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument 72 *(volatile unsigned short *)portp = cpu_to_le16(w); in _ne_outw() 102 unsigned short w; in _inw() local 103 pcc_ioread(0, port, &w, sizeof(w), 1, 0); in _inw() 104 return w; in _inw() 106 unsigned short w; in _inw() local 107 pcc_ioread(1, port, &w, sizeof(w), 1, 0); in _inw() 108 return w; in _inw() 166 void _outw(unsigned short w, unsigned long port) in _outw() argument 169 _ne_outw(w, PORT2ADDR_NE(port)); in _outw() [all …]
|
/linux-4.1.27/arch/tile/lib/ |
D | checksum.c | 44 unsigned int w = *(const unsigned int *)buff; in do_csum() local 45 result = __insn_v2sadau(result, w, 0); in do_csum() 60 unsigned long w = *(const unsigned long *)buff; in do_csum() local 62 buff += sizeof(w); in do_csum() 64 result = __insn_v2sadau(result, w, 0); in do_csum() 66 result = __insn_sadah_u(result, w, 0); in do_csum() 71 unsigned int w = *(const unsigned int *)buff; in do_csum() local 72 result = __insn_v2sadau(result, w, 0); in do_csum()
|
/linux-4.1.27/arch/m68k/math-emu/ |
D | fp_move.S | 48 move.w %d0,%d1 | store data size twice in %d1 50 move.w %d0,%d1 54 move.b (%a0,%d1.w),%d0 75 move.w %d0,%d1 86 jmp ([0f:w,%pc,%d1.w*4]) 100 move.w %d2,%d0 103 move.w %d2,%d1 112 move.w %d2,%d0 114 move.w %d1,%d0 123 move.w %d2,%d1 [all …]
|
D | fp_decode.h | 74 jmp ([0f:w,%pc,%d0*4]) 86 jmp ([0f:w,%pc,%d0*4]) 116 jmp ([0f:w,%pc,%d0*4]) 136 ext.w %d0 157 move.w %d2,%d1 | scale factor 158 rol.w #7,%d1 159 and.w #3,%d1 170 jmp ([0f:w,%pc,%d0*4]) 180 jmp ([0f:w,%pc,%d0*4]) 231 move.w #6,%d1 [all …]
|
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 …]
|
D | fp_cond.S | 52 tst.w %d2 56 lea (-2,%a0,%d2.w),%a0 80 add.w %d0,%a1 84 tst.w %d1 88 subq.w #1,%d0 102 move.w %d0,%d1 116 move.w %d0,%d1 | save register nr 147 jmp ([0f:w,%pc,%d0*4]) 184 1: and.w #0xf,%d0 185 jmp ([0f:w,%pc,%d0.w*4])
|
D | fp_movem.S | 61 1: addq.w #1,%d1 | count the # of registers in 114 jmp ([0f:w,%pc,%d0*4]) 147 lsr.w #1,%d2 164 lsl.w #1,%d2 210 1: addq.w #1,%d1 234 move.w %d0,%d1 236 sub.w #19,%d0 237 lea (FPD_FPCR,FPDATA,%d0.w*4),%a1 240 move.w %d1,%d0 282 jmp ([0f:w,%pc,%d0*4]) [all …]
|
D | fp_scan.S | 108 cmp.w #7,%d0 110 move.w %d0,%d1 | store data size twice in %d1 112 move.w %d0,%d1 116 move.b (%a0,%d1.w),%d0 146 jmp ([0f:w,%pc,%d1.w*4]) 202 jmp ([0f:w,%pc,%d0*4]) 225 move.w (fp_datasize,%d1.w*2),%d0 226 addq.w #1,%d0 227 and.w #-2,%d0 238 lea (%a0,%d0.w),%a1 [all …]
|
D | fp_entry.S | 91 add.w #12,%sp 102 add.w #12,%sp 115 jmp ([0f:w,%pc,%d0.w*4]) 165 jmp ([0f:w,%pc,%d1.w*4]) 218 jmp ([0f:w,%pc,%d0.w*4]) 268 jmp ([0f:w,%pc,%d0.w*4])
|
/linux-4.1.27/tools/include/linux/ |
D | bitops.h | 22 extern unsigned int __sw_hweight8(unsigned int w); 23 extern unsigned int __sw_hweight16(unsigned int w); 24 extern unsigned int __sw_hweight32(unsigned int w); 25 extern unsigned long __sw_hweight64(__u64 w); 46 static inline unsigned long hweight_long(unsigned long w) in hweight_long() argument 48 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | bitops.h | 114 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32() argument 120 : "=d" (res) : "d" (w)); in __arch_hweight32() 124 static inline unsigned int __arch_hweight64(__u64 w) in __arch_hweight64() argument 126 return __arch_hweight32((unsigned int)(w >> 32)) + in __arch_hweight64() 127 __arch_hweight32((unsigned int)w); in __arch_hweight64() 130 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16() argument 132 return __arch_hweight32(w & 0xffff); in __arch_hweight16() 135 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8() argument 137 return __arch_hweight32(w & 0xff); in __arch_hweight8()
|
D | context.S | 47 [--sp] = a0.w; 49 [--sp] = a1.w; 119 [--sp] = a0.w; 121 [--sp] = a1.w; 178 [--sp] = a0.w; 180 [--sp] = a1.w; 247 a1.w = [sp++]; 249 a0.w = [sp++]; 317 a1.w = [sp++]; 319 a0.w = [sp++]; [all …]
|
/linux-4.1.27/include/linux/ |
D | mpi.h | 71 int mpi_set(MPI w, MPI u); 72 int mpi_set_ui(MPI w, ulong u); 90 int mpi_add_ui(MPI w, MPI u, ulong v); 91 int mpi_add(MPI w, MPI u, MPI v); 92 int mpi_addm(MPI w, MPI u, MPI v, MPI m); 93 int mpi_sub_ui(MPI w, MPI u, ulong v); 94 int mpi_sub(MPI w, MPI u, MPI v); 95 int mpi_subm(MPI w, MPI u, MPI v, MPI m); 98 int mpi_mul_ui(MPI w, MPI u, ulong v); 99 int mpi_mul_2exp(MPI w, MPI u, ulong cnt); [all …]
|
D | bitops.h | 27 extern unsigned int __sw_hweight8(unsigned int w); 28 extern unsigned int __sw_hweight16(unsigned int w); 29 extern unsigned int __sw_hweight32(unsigned int w); 30 extern unsigned long __sw_hweight64(__u64 w); 78 static inline unsigned long hweight_long(unsigned long w) in hweight_long() argument 80 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
|
D | nfsacl.h | 27 unsigned int w = 16; in nfsacl_size() local 28 w += max(acl_access ? (int)acl_access->a_count : 3, 4) * 12; in nfsacl_size() 30 w += max((int)acl_default->a_count, 4) * 12; in nfsacl_size() 31 return w; in nfsacl_size()
|
/linux-4.1.27/arch/avr32/kernel/ |
D | syscall-stubs.S | 33 st.w --sp, ARG6 42 st.w --sp, ARG6 51 st.w --sp, ARG6 60 st.w --sp, ARG6 69 st.w --sp, ARG6 78 st.w --sp, ARG6 87 st.w --sp, ARG6 96 st.w --sp, ARG6 105 st.w --sp, ARG6 114 st.w --sp, ARG6 [all …]
|
D | entry-avr32b.S | 108 ld.w r3, r1[r2 << 2] 110 cp.w r3, 0 114 ld.w r2, r3[r1 << 2] 121 st.w r3[r1 << 2], r2 173 ld.w r3, r1[r2 << 2] 174 cp.w r3, 0 177 st.w r1[r2 << 2], r3 208 ld.w r1, r0[TI_flags] 213 cp.w r8, NR_syscalls 217 ld.w lr, lr[r8 << 2] [all …]
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | asm.h | 22 st.w --sp, r7 25 ld.w r7, sp++ 48 st.w --sp, \tmp 52 ld.w \tmp, sp++ 62 st.w --sp, \tmp 66 ld.w \tmp, sp++ 74 st.w --sp, lr 77 st.w --sp, \tmp 81 ld.w \tmp, sp++ 83 ld.w lr, sp++ [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
D | iwl-notif-wait.c | 84 struct iwl_notification_wait *w; in iwl_notification_wait_notify() local 87 list_for_each_entry(w, ¬if_wait->notif_waits, list) { in iwl_notification_wait_notify() 97 if (w->triggered || w->aborted) in iwl_notification_wait_notify() 100 for (i = 0; i < w->n_cmds; i++) { in iwl_notification_wait_notify() 101 if (w->cmds[i] == pkt->hdr.cmd) { in iwl_notification_wait_notify() 109 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { in iwl_notification_wait_notify() 110 w->triggered = true; in iwl_notification_wait_notify()
|
/linux-4.1.27/drivers/xen/events/ |
D | events_fifo.c | 74 #define BM(w) (unsigned long *)((unsigned long)w & ~0x7UL) argument 75 #define EVTCHN_FIFO_BIT(b, w) \ argument 76 (((unsigned long)w & 0x4UL) ? (EVTCHN_FIFO_ ##b + 32) : EVTCHN_FIFO_ ##b) 80 #define BM(w) ((unsigned long *)(w)) argument 81 #define EVTCHN_FIFO_BIT(b, w) EVTCHN_FIFO_ ##b argument 234 event_word_t new, old, w; in clear_masked() local 236 w = *word; in clear_masked() 239 old = w & ~(1 << EVTCHN_FIFO_BUSY); in clear_masked() 241 w = sync_cmpxchg(word, old, new); in clear_masked() 242 } while (w != old); in clear_masked() [all …]
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | ide.h | 49 u32 w; in __ide_insw() local 51 w = __raw_readw(port) << 16; in __ide_insw() 52 w |= __raw_readw(port); in __ide_insw() 53 *pi++ = w; in __ide_insw() 79 u32 w; in __ide_outsw() local 81 w = *pi++; in __ide_outsw() 82 __raw_writew((w >> 16), port); in __ide_outsw() 83 __raw_writew(w, port); in __ide_outsw()
|
D | bitops_64.h | 44 unsigned long __arch_hweight64(__u64 w); 45 unsigned int __arch_hweight32(unsigned int w); 46 unsigned int __arch_hweight16(unsigned int w); 47 unsigned int __arch_hweight8(unsigned int w);
|
/linux-4.1.27/arch/avr32/mach-at32ap/ |
D | pm-at32ap700x.S | 42 ld.w r9, r8[TI_flags] 46 st.w r8[TI_flags], r9 59 ld.w r9, r8[TI_flags] 61 st.w r8[TI_flags], r9 125 ld.w r10, r12[SDRAMC_LPR] 130 st.w r12[SDRAMC_LPR], r10 /* put SDRAM in self-refresh mode */ 131 ld.w r11, r12[SDRAMC_LPR] 148 ld.w r10, r12[SDRAMC_LPR] 152 st.w r12[SDRAMC_LPR], r10 /* put SDRAM in self-refresh mode */ 153 ld.w r11, r12[SDRAMC_LPR]
|
/linux-4.1.27/crypto/ |
D | xts.c | 94 struct blkcipher_walk *w, struct priv *ctx, in crypt() argument 108 err = blkcipher_walk_virt(d, w); in crypt() 109 if (!w->nbytes) in crypt() 112 s.t = (be128 *)w->iv; in crypt() 113 avail = w->nbytes; in crypt() 115 wsrc = w->src.virt.addr; in crypt() 116 wdst = w->dst.virt.addr; in crypt() 119 tw(crypto_cipher_tfm(ctx->tweak), w->iv, w->iv); in crypt() 134 err = blkcipher_walk_done(d, w, avail); in crypt() 135 if (!w->nbytes) in crypt() [all …]
|
D | lrw.c | 139 struct blkcipher_walk *w, struct priv *ctx, in crypt() argument 153 err = blkcipher_walk_virt(d, w); in crypt() 154 if (!(avail = w->nbytes)) in crypt() 157 wsrc = w->src.virt.addr; in crypt() 158 wdst = w->dst.virt.addr; in crypt() 161 iv = (be128 *)w->iv; in crypt() 184 err = blkcipher_walk_done(d, w, avail); in crypt() 185 if (!(avail = w->nbytes)) in crypt() 188 wsrc = w->src.virt.addr; in crypt() 189 wdst = w->dst.virt.addr; in crypt() [all …]
|
/linux-4.1.27/drivers/clk/samsung/ |
D | clk.h | 134 #define __MUX(_id, dname, cname, pnames, o, s, w, f, mf, a) \ argument 144 .width = w, \ 149 #define MUX(_id, cname, pnames, o, s, w) \ argument 150 __MUX(_id, NULL, cname, pnames, o, s, w, 0, 0, NULL) 152 #define MUX_A(_id, cname, pnames, o, s, w, a) \ argument 153 __MUX(_id, NULL, cname, pnames, o, s, w, 0, 0, a) 155 #define MUX_F(_id, cname, pnames, o, s, w, f, mf) \ argument 156 __MUX(_id, NULL, cname, pnames, o, s, w, f, mf, NULL) 158 #define MUX_FA(_id, cname, pnames, o, s, w, f, mf, a) \ argument 159 __MUX(_id, NULL, cname, pnames, o, s, w, f, mf, a) [all …]
|
/linux-4.1.27/kernel/locking/ |
D | rtmutex.h | 16 #define debug_rt_mutex_init_waiter(w) do { } while (0) argument 17 #define debug_rt_mutex_free_waiter(w) do { } while (0) argument 24 #define debug_rt_mutex_print_deadlock(w) do { } while (0) argument 25 #define debug_rt_mutex_reset_waiter(w) do { } while (0) argument 27 static inline void rt_mutex_print_deadlock(struct rt_mutex_waiter *w) in rt_mutex_print_deadlock() argument 32 static inline bool debug_rt_mutex_detect_deadlock(struct rt_mutex_waiter *w, in debug_rt_mutex_detect_deadlock() argument
|
D | rtmutex-debug.h | 27 # define debug_rt_mutex_reset_waiter(w) \ argument 28 do { (w)->deadlock_lock = NULL; } while (0) 36 static inline void rt_mutex_print_deadlock(struct rt_mutex_waiter *w) in rt_mutex_print_deadlock() argument 38 debug_rt_mutex_print_deadlock(w); in rt_mutex_print_deadlock()
|
D | rtmutex_common.h | 71 struct rt_mutex_waiter *w; in rt_mutex_top_waiter() local 73 w = rb_entry(lock->waiters_leftmost, struct rt_mutex_waiter, in rt_mutex_top_waiter() 75 BUG_ON(w->lock != lock); in rt_mutex_top_waiter() 77 return w; in rt_mutex_top_waiter()
|
/linux-4.1.27/arch/microblaze/lib/ |
D | ashldi3.c | 7 DWunion uu, w; in __ashldi3() local 17 w.s.low = 0; in __ashldi3() 18 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3() 22 w.s.low = (unsigned int) uu.s.low << b; in __ashldi3() 23 w.s.high = ((unsigned int) uu.s.high << b) | carries; in __ashldi3() 26 return w.ll; in __ashldi3()
|
D | lshrdi3.c | 7 DWunion uu, w; in __lshrdi3() local 17 w.s.high = 0; in __lshrdi3() 18 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3() 22 w.s.high = (unsigned int) uu.s.high >> b; in __lshrdi3() 23 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __lshrdi3() 26 return w.ll; in __lshrdi3()
|
D | ashrdi3.c | 7 DWunion uu, w; in __ashrdi3() local 18 w.s.high = in __ashrdi3() 20 w.s.low = uu.s.high >> -bm; in __ashrdi3() 24 w.s.high = uu.s.high >> b; in __ashrdi3() 25 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __ashrdi3() 28 return w.ll; in __ashrdi3()
|
/linux-4.1.27/arch/mips/lib/ |
D | ashldi3.c | 7 DWunion uu, w; in __ashldi3() local 17 w.s.low = 0; in __ashldi3() 18 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3() 22 w.s.low = (unsigned int) uu.s.low << b; in __ashldi3() 23 w.s.high = ((unsigned int) uu.s.high << b) | carries; in __ashldi3() 26 return w.ll; in __ashldi3()
|
D | lshrdi3.c | 7 DWunion uu, w; in __lshrdi3() local 17 w.s.high = 0; in __lshrdi3() 18 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3() 22 w.s.high = (unsigned int) uu.s.high >> b; in __lshrdi3() 23 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __lshrdi3() 26 return w.ll; in __lshrdi3()
|
D | ashrdi3.c | 7 DWunion uu, w; in __ashrdi3() local 18 w.s.high = in __ashrdi3() 20 w.s.low = uu.s.high >> -bm; in __ashrdi3() 24 w.s.high = uu.s.high >> b; in __ashrdi3() 25 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __ashrdi3() 28 return w.ll; in __ashrdi3()
|
/linux-4.1.27/arch/sh/lib/ |
D | ashldi3.c | 7 DWunion uu, w; in __ashldi3() local 17 w.s.low = 0; in __ashldi3() 18 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3() 22 w.s.low = (unsigned int) uu.s.low << b; in __ashldi3() 23 w.s.high = ((unsigned int) uu.s.high << b) | carries; in __ashldi3() 26 return w.ll; in __ashldi3()
|
D | lshrdi3.c | 7 DWunion uu, w; in __lshrdi3() local 17 w.s.high = 0; in __lshrdi3() 18 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3() 22 w.s.high = (unsigned int) uu.s.high >> b; in __lshrdi3() 23 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __lshrdi3() 26 return w.ll; in __lshrdi3()
|
D | ashrdi3.c | 7 DWunion uu, w; in __ashrdi3() local 18 w.s.high = in __ashrdi3() 20 w.s.low = uu.s.high >> -bm; in __ashrdi3() 24 w.s.high = uu.s.high >> b; in __ashrdi3() 25 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __ashrdi3() 28 return w.ll; in __ashrdi3()
|
D | udivsi3_i4i-Os.S | 50 extu.w r5,r0 52 swap.w r4,r0 68 swap.w r4,r4 74 swap.w r0,r0 119 extu.w r5,r0 124 swap.w r4,r0 128 extu.w r5,r0 136 swap.w r4,r0
|
D | udiv_qrnnd.S | 52 extu.w r0,r1 56 mulu.w r1,r5 58 swap.w r0,r0 72 swap.w r4,r1
|
/linux-4.1.27/arch/score/lib/ |
D | ashldi3.c | 25 DWunion uu, w; in __ashldi3() local 35 w.s.low = 0; in __ashldi3() 36 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3() 40 w.s.low = (unsigned int) uu.s.low << b; in __ashldi3() 41 w.s.high = ((unsigned int) uu.s.high << b) | carries; in __ashldi3() 44 return w.ll; in __ashldi3()
|
D | lshrdi3.c | 26 DWunion uu, w; in __lshrdi3() local 36 w.s.high = 0; in __lshrdi3() 37 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3() 41 w.s.high = (unsigned int) uu.s.high >> b; in __lshrdi3() 42 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __lshrdi3() 45 return w.ll; in __lshrdi3()
|
D | ashrdi3.c | 25 DWunion uu, w; in __ashrdi3() local 36 w.s.high = in __ashrdi3() 38 w.s.low = uu.s.high >> -bm; in __ashrdi3() 42 w.s.high = uu.s.high >> b; in __ashrdi3() 43 w.s.low = ((unsigned int) uu.s.low >> b) | carries; in __ashrdi3() 46 return w.ll; in __ashrdi3()
|
/linux-4.1.27/net/netfilter/ |
D | xt_time.c | 79 unsigned int v, w; in localtime_1() local 84 w = v / 60; in localtime_1() 85 r->minute = w % 60; in localtime_1() 86 r->hour = w / 60; in localtime_1() 107 unsigned int year, i, w = r->dse; in localtime_3() local 117 for (i = 0, year = DSE_FIRST; days_since_epoch[i] > w; in localtime_3() 121 w -= days_since_epoch[i]; in localtime_3() 141 i > 0 && days_since_leapyear[i] > w; --i) in localtime_3() 143 r->monthday = w - days_since_leapyear[i] + 1; in localtime_3() 146 i > 0 && days_since_year[i] > w; --i) in localtime_3() [all …]
|
/linux-4.1.27/arch/unicore32/lib/ |
D | copy_from_user.S | 41 100: ldm.w (\reg1, \reg2, \reg3, \reg4), [\ptr]+ 49 100: ldm.w (\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8), [\ptr]+ 61 stw.w \reg, [\ptr]+, #4 65 stm.w (\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8), [\ptr]+ 73 201: stb.w \reg, [\ptr]+, #1 79 stm.w (r0, r2, r3), [sp-] 84 ldm.w (r0), [sp]+ 99 ldm.w (r1, r2), [sp]+ 105 ldw.w r0, [sp]+, #4
|
D | copy_to_user.S | 37 ldw.w \reg, [\ptr]+, #4 41 ldm.w (\reg1, \reg2, \reg3, \reg4), [\ptr]+ 45 ldm.w (\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8), [\ptr]+ 50 ldb.w \reg, [\ptr]+, #1 58 100: stm.w (\reg1, \reg2, \reg3, \reg4, \reg5, \reg6, \reg7, \reg8), [\ptr]+ 71 stm.w (r0, r2, r3), [sp-] 76 ldm.w (r0), [sp]+ 91 ldm.w (r1, r2, r3), [sp]+
|
D | clear_user.S | 24 stm.w (lr), [sp-] 25 stm.w (r1), [sp-] 48 ldm.w (r1), [sp]+ 49 ldm.w (pc), [sp]+ 54 9001: ldm.w (r0), [sp]+ 55 ldm.w (pc), [sp]+
|
D | copy_page.S | 27 stm.w (r17 - r19, lr), [sp-] 33 ldm.w (r0 - r15), [r18]+ 34 stm.w (r0 - r15), [r17]+ 38 ldm.w (r17 - r19, pc), [sp]+
|
D | backtrace.S | 33 stm.w (v4 - v8, lr), [sp-] @ Save an extra register 38 1: stm.w (pc), [sp-] @ calculate offset of PC stored 39 ldw.w r0, [sp]+, #4 @ by stmfd for this CPU 103 no_frame: ldm.w (v4 - v8, pc), [sp]+ 119 .Ldumpstm: stm.w (instr, reg, stack, v7, lr), [sp-] 136 ldw.w r3, [stack]+, #-4 154 201: ldm.w (instr, reg, stack, v7, pc), [sp]+ 160 .Ldsi: .word 0x92eec000 >> 14 @ stm.w sp, (... fp, ip, lr, pc) 161 .word 0x92e10000 >> 14 @ stm.w sp, ()
|
/linux-4.1.27/arch/x86/crypto/ |
D | sha512-avx2-asm.S | 169 # Extract w[t-7] 171 # Calculate w[t-16] + w[t-7] 173 # Extract w[t-15] 178 # Calculate w[t-15] ror 1 182 # Calculate w[t-15] shr 7 188 add frame_XFER(%rsp),h # h = k + w + h # -- 200 add h, d # d = k + w + h + d # -- 213 add y1, h # h = k + w + h + S0 # -- 215 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 217 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- [all …]
|
D | salsa20-i586-asm_32.S | 200 # w = x15 213 # x15 = w 221 # v += w 265 # w += v 267 # w <<<= 9 269 # w ^= x7 281 # x7 = w 297 # v += w 329 # w += v 331 # w <<<= 18 [all …]
|
D | sha256-avx2-asm.S | 165 addl \disp(%rsp, SRND), h # h = k + w + h # -- 179 add h, d # d = k + w + h + d # -- 195 add y1, h # h = k + w + h + S0 # -- 197 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 201 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 213 addl offset(%rsp, SRND), h # h = k + w + h # -- 228 add h, d # d = k + w + h + d # -- 247 add y1, h # h = k + w + h + S0 # -- 250 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 251 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- [all …]
|
D | sha256-avx-asm.S | 179 add _XFER(%rsp), y2 # y2 = k + w + S1 + CH 181 add y2, h # h = h + S1 + CH + k + w 185 add h, d # d = d + h + S1 + CH + k + w 189 add y1, h # h = h + S1 + CH + k + w + S0 192 add y0, h # h = h + S1 + CH + k + w + S0 + MAJ 214 add (1*4 + _XFER)(%rsp), y2 # y2 = k + w + S1 + CH 218 add y2, h # h = h + S1 + CH + k + w 222 add h, d # d = d + h + S1 + CH + k + w 227 add y1, h # h = h + S1 + CH + k + w + S0 230 add y0, h # h = h + S1 + CH + k + w + S0 + MAJ [all …]
|
D | sha256-ssse3-asm.S | 174 add _XFER(%rsp) , y2 # y2 = k + w + S1 + CH 177 add y2, h # h = h + S1 + CH + k + w 181 add h, d # d = d + h + S1 + CH + k + w 185 add y1, h # h = h + S1 + CH + k + w + S0 188 add y0, h # h = h + S1 + CH + k + w + S0 + MAJ 213 add (1*4 + _XFER)(%rsp), y2 # y2 = k + w + S1 + CH 217 add y2, h # h = h + S1 + CH + k + w 221 add h, d # d = d + h + S1 + CH + k + w 226 add y1, h # h = h + S1 + CH + k + w + S0 229 add y0, h # h = h + S1 + CH + k + w + S0 + MAJ [all …]
|
/linux-4.1.27/arch/blackfin/lib/ |
D | ashldi3.c | 15 DIunion w; in __ashldi3() local 26 w.s.low = 0; in __ashldi3() 27 w.s.high = (USItype) uu.s.low << -bm; in __ashldi3() 30 w.s.low = (USItype) uu.s.low << b; in __ashldi3() 31 w.s.high = ((USItype) uu.s.high << b) | carries; in __ashldi3() 34 return w.ll; in __ashldi3()
|
D | lshrdi3.c | 15 DIunion w; in __lshrdi3() local 26 w.s.high = 0; in __lshrdi3() 27 w.s.low = (USItype) uu.s.high >> -bm; in __lshrdi3() 30 w.s.high = (USItype) uu.s.high >> b; in __lshrdi3() 31 w.s.low = ((USItype) uu.s.low >> b) | carries; in __lshrdi3() 34 return w.ll; in __lshrdi3()
|
D | ashrdi3.c | 15 DIunion w; in __ashrdi3() local 27 w.s.high = uu.s.high >> (sizeof(SItype) * BITS_PER_UNIT - 1); in __ashrdi3() 28 w.s.low = uu.s.high >> -bm; in __ashrdi3() 31 w.s.high = uu.s.high >> b; in __ashrdi3() 32 w.s.low = ((USItype) uu.s.low >> b) | carries; in __ashrdi3() 35 return w.ll; in __ashrdi3()
|
D | muldi3.S | 54 R4 = A0.w; 59 R3 = A1.w; 63 R0 = A1.w; 66 R1 = A0.w;
|
/linux-4.1.27/sound/mips/ |
D | ad1843.c | 189 int w; in ad1843_read_bits() local 191 w = ad1843->read(ad1843->chip, field->reg); in ad1843_read_bits() 192 return w >> field->lo_bit & ((1 << field->nbits) - 1); in ad1843_read_bits() 203 int w, mask, oldval, newbits; in ad1843_write_bits() local 205 w = ad1843->read(ad1843->chip, field->reg); in ad1843_write_bits() 207 oldval = (w & mask) >> field->lo_bit; in ad1843_write_bits() 209 w = (w & ~mask) | newbits; in ad1843_write_bits() 210 ad1843->write(ad1843->chip, field->reg, w); in ad1843_write_bits() 232 int w = 0, mask, *value, reg = -1; in ad1843_read_multi() local 240 w = ad1843->read(ad1843->chip, reg); in ad1843_read_multi() [all …]
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 54 #define INIT_TP_WR(w, tid) do { \ argument 55 (w)->wr.wr_hi = htonl(FW_WR_OP_V(FW_TP_WR) | \ 56 FW_WR_IMMDLEN_V(sizeof(*w) - sizeof(w->wr))); \ 57 (w)->wr.wr_mid = htonl(FW_WR_LEN16_V(DIV_ROUND_UP(sizeof(*w), 16)) | \ 59 (w)->wr.wr_lo = cpu_to_be64(0); \ 62 #define INIT_TP_WR_CPL(w, cpl, tid) do { \ argument 63 INIT_TP_WR(w, tid); \ 64 OPCODE_TID(w) = htonl(MK_OPCODE_TID(cpl, tid)); \ 67 #define INIT_ULPTX_WR(w, wrlen, atomic, tid) do { \ argument 68 (w)->wr.wr_hi = htonl(FW_WR_OP_V(FW_ULPTX_WR) | \ [all …]
|
/linux-4.1.27/drivers/md/persistent-data/ |
D | dm-block-manager.c | 127 static void __wait(struct waiter *w) in __wait() argument 132 if (!w->task) in __wait() 141 static void __wake_waiter(struct waiter *w) in __wake_waiter() argument 145 list_del(&w->list); in __wake_waiter() 146 task = w->task; in __wake_waiter() 148 w->task = NULL; in __wake_waiter() 157 struct waiter *w, *tmp; in __wake_many() local 160 list_for_each_entry_safe(w, tmp, &lock->waiters, list) { in __wake_many() 164 if (w->wants_write) { in __wake_many() 169 __add_holder(lock, w->task); in __wake_many() [all …]
|
/linux-4.1.27/arch/m32r/platforms/mappi3/ |
D | io.c | 122 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument 124 *(volatile unsigned short *)portp = cpu_to_le16(w); in _ne_outw() 164 unsigned short w; in _inw() local 165 pcc_ioread_word(0, port, &w, sizeof(w), 1, 0); in _inw() 166 return w; in _inw() 224 void _outw(unsigned short w, unsigned long port) in _outw() argument 227 _ne_outw(w, PORT2ADDR_NE(port)); in _outw() 232 *(volatile unsigned short *)__port2addr_ata(port) = w; in _outw() 237 *(volatile unsigned short *)PORT2ADDR_USB(port) = w; in _outw() 242 pcc_iowrite_word(0, port, &w, sizeof(w), 1, 0); in _outw() [all …]
|
/linux-4.1.27/arch/m32r/platforms/mappi2/ |
D | io.c | 107 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument 109 *(volatile unsigned short *)portp = cpu_to_le16(w); in _ne_outw() 148 unsigned short w; in _inw() local 149 pcc_ioread_word(0, port, &w, sizeof(w), 1, 0); in _inw() 150 return w; in _inw() 207 void _outw(unsigned short w, unsigned long port) in _outw() argument 210 _ne_outw(w, PORT2ADDR_NE(port)); in _outw() 214 *(volatile unsigned short *)__port2addr_ata(port) = w; in _outw() 219 *(volatile unsigned short *)PORT2ADDR_USB(port) = w; in _outw() 224 pcc_iowrite_word(0, port, &w, sizeof(w), 1, 0); in _outw() [all …]
|
/linux-4.1.27/arch/m32r/platforms/m32700ut/ |
D | io.c | 111 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument 113 *(volatile unsigned short *)portp = cpu_to_le16(w); in _ne_outw() 152 unsigned short w; in _inw() local 153 pcc_ioread_word(0, port, &w, sizeof(w), 1, 0); in _inw() 154 return w; in _inw() 211 void _outw(unsigned short w, unsigned long port) in _outw() argument 214 _ne_outw(w, PORT2ADDR_NE(port)); in _outw() 218 *(volatile unsigned short *)__port2addr_ata(port) = w; in _outw() 223 *(volatile unsigned short *)PORT2ADDR_USB(port) = w; in _outw() 228 pcc_iowrite_word(0, port, &w, sizeof(w), 1, 0); in _outw() [all …]
|
/linux-4.1.27/arch/m32r/platforms/opsput/ |
D | io.c | 111 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument 113 *(volatile unsigned short *)portp = cpu_to_le16(w); in _ne_outw() 152 unsigned short w; in _inw() local 153 pcc_ioread_word(0, port, &w, sizeof(w), 1, 0); in _inw() 154 return w; in _inw() 211 void _outw(unsigned short w, unsigned long port) in _outw() argument 214 _ne_outw(w, PORT2ADDR_NE(port)); in _outw() 218 *(volatile unsigned short *)__port2addr_ata(port) = w; in _outw() 223 *(volatile unsigned short *)PORT2ADDR_USB(port) = w; in _outw() 228 pcc_iowrite_word(0, port, &w, sizeof(w), 1, 0); in _outw() [all …]
|
/linux-4.1.27/arch/mn10300/lib/ |
D | negdi2.c | 48 union DWunion w; in __negdi2() local 53 w.s.low = -uu.s.low; in __negdi2() 54 w.s.high = -uu.s.high - ((u32) w.s.low > 0); in __negdi2() 56 return w.ll; in __negdi2()
|
D | lshrdi3.c | 40 union DIunion w; in __lshrdi3() local 51 w.s.high = 0; in __lshrdi3() 52 w.s.low = (USItype) uu.s.high >> -bm; in __lshrdi3() 55 w.s.high = (USItype) uu.s.high >> b; in __lshrdi3() 56 w.s.low = ((USItype) uu.s.low >> b) | carries; in __lshrdi3() 59 return w.ll; in __lshrdi3()
|
D | ashrdi3.c | 40 union DIunion w; in __ashrdi3() local 52 w.s.high = uu.s.high >> (sizeof(SItype) * BITS_PER_UNIT - 1); in __ashrdi3() 53 w.s.low = uu.s.high >> -bm; in __ashrdi3() 56 w.s.high = uu.s.high >> b; in __ashrdi3() 57 w.s.low = ((USItype)uu.s.low >> b) | carries; in __ashrdi3() 60 return w.ll; in __ashrdi3()
|
D | usercopy.c | 35 int w; \ 63 :"=&r"(res), "=r"(count), "=&r"(w) \ 91 int w; \ 110 : "+r"(size), "=&r"(w) \ 137 unsigned long res, w; in strnlen_user() local 162 :"=d"(res), "=&r"(w) in strnlen_user()
|
/linux-4.1.27/arch/m68k/lib/ |
D | ashldi3.c | 34 DIunion w; in __ashldi3() local 46 w.s.low = 0; in __ashldi3() 47 w.s.high = (USItype)uu.s.low << -bm; in __ashldi3() 52 w.s.low = (USItype)uu.s.low << b; in __ashldi3() 53 w.s.high = ((USItype)uu.s.high << b) | carries; in __ashldi3() 56 return w.ll; in __ashldi3()
|
D | lshrdi3.c | 34 DIunion w; in __lshrdi3() local 46 w.s.high = 0; in __lshrdi3() 47 w.s.low = (USItype)uu.s.high >> -bm; in __lshrdi3() 52 w.s.high = (USItype)uu.s.high >> b; in __lshrdi3() 53 w.s.low = ((USItype)uu.s.low >> b) | carries; in __lshrdi3() 56 return w.ll; in __lshrdi3()
|
D | ashrdi3.c | 34 DIunion w; in __ashrdi3() local 47 w.s.high = uu.s.high >> (sizeof (SItype) * BITS_PER_UNIT - 1); in __ashrdi3() 48 w.s.low = uu.s.high >> -bm; in __ashrdi3() 53 w.s.high = uu.s.high >> b; in __ashrdi3() 54 w.s.low = ((USItype)uu.s.low >> b) | carries; in __ashrdi3() 57 return w.ll; in __ashrdi3()
|
/linux-4.1.27/drivers/watchdog/ |
D | rt2880_wdt.c | 66 static int rt288x_wdt_ping(struct watchdog_device *w) in rt288x_wdt_ping() argument 68 rt_wdt_w32(TIMER_REG_TMR1LOAD, w->timeout * rt288x_wdt_freq); in rt288x_wdt_ping() 73 static int rt288x_wdt_start(struct watchdog_device *w) in rt288x_wdt_start() argument 84 rt288x_wdt_ping(w); in rt288x_wdt_start() 93 static int rt288x_wdt_stop(struct watchdog_device *w) in rt288x_wdt_stop() argument 97 rt288x_wdt_ping(w); in rt288x_wdt_stop() 106 static int rt288x_wdt_set_timeout(struct watchdog_device *w, unsigned int t) in rt288x_wdt_set_timeout() argument 108 w->timeout = t; in rt288x_wdt_set_timeout() 109 rt288x_wdt_ping(w); in rt288x_wdt_set_timeout()
|
D | softdog.c | 106 static int softdog_ping(struct watchdog_device *w) in softdog_ping() argument 108 mod_timer(&watchdog_ticktock, jiffies+(w->timeout*HZ)); in softdog_ping() 112 static int softdog_stop(struct watchdog_device *w) in softdog_stop() argument 118 static int softdog_set_timeout(struct watchdog_device *w, unsigned int t) in softdog_set_timeout() argument 120 w->timeout = t; in softdog_set_timeout()
|
/linux-4.1.27/arch/m32r/platforms/usrv/ |
D | io.c | 70 unsigned short w; in _inw() local 71 pcc_ioread_word(0, port, &w, sizeof(w), 1, 0); in _inw() 72 return w; in _inw() 116 void _outw(unsigned short w, unsigned long port) in _outw() argument 119 pcc_iowrite_word(0, port, &w, sizeof(w), 1, 0); in _outw() 121 *(volatile unsigned short *)PORT2ADDR(port) = w; in _outw() 138 void _outw_p(unsigned short w, unsigned long port) in _outw_p() argument 140 _outw(w, port); in _outw_p()
|
/linux-4.1.27/sound/soc/omap/ |
D | mcbsp.c | 258 unsigned int w; in omap_st_on() local 264 w = MCBSP_READ(mcbsp, SSELCR); in omap_st_on() 265 MCBSP_WRITE(mcbsp, SSELCR, w | SIDETONEEN); in omap_st_on() 268 w = MCBSP_ST_READ(mcbsp, SSELCR); in omap_st_on() 269 MCBSP_ST_WRITE(mcbsp, SSELCR, w | ST_SIDETONEEN); in omap_st_on() 274 unsigned int w; in omap_st_off() local 276 w = MCBSP_ST_READ(mcbsp, SSELCR); in omap_st_off() 277 MCBSP_ST_WRITE(mcbsp, SSELCR, w & ~(ST_SIDETONEEN)); in omap_st_off() 279 w = MCBSP_READ(mcbsp, SSELCR); in omap_st_off() 280 MCBSP_WRITE(mcbsp, SSELCR, w & ~(SIDETONEEN)); in omap_st_off() [all …]
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
D | tcm-sita.c | 34 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u8 align, 43 static s32 scan_areas_and_find_fit(struct tcm *tcm, u16 w, u16 h, u16 align, 46 static s32 scan_l2r_t2b(struct tcm *tcm, u16 w, u16 h, u16 align, 49 static s32 scan_r2l_t2b(struct tcm *tcm, u16 w, u16 h, u16 align, 58 static s32 is_area_free(struct tcm_area ***map, u16 x0, u16 y0, u16 w, u16 h); 60 static s32 update_candidate(struct tcm *tcm, u16 x0, u16 y0, u16 w, u16 h, 208 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u8 align, in sita_reserve_2d() argument 222 ret = scan_areas_and_find_fit(tcm, w, h, align, area); in sita_reserve_2d() 274 static s32 scan_r2l_t2b(struct tcm *tcm, u16 w, u16 h, u16 align, in scan_r2l_t2b() argument 293 if (w > LEN(start_x, end_x) || h > LEN(end_y, start_y)) in scan_r2l_t2b() [all …]
|
/linux-4.1.27/arch/sparc/lib/ |
D | PeeCeeI.c | 99 u32 w; in insb() local 101 w = (__raw_readb(addr) << 24); in insb() 102 w |= (__raw_readb(addr) << 16); in insb() 103 w |= (__raw_readb(addr) << 8); in insb() 104 w |= (__raw_readb(addr) << 0); in insb() 105 *pi++ = w; in insb() 129 u32 w; in insw() local 131 w = __raw_readw(addr) << 16; in insw() 132 w |= __raw_readw(addr) << 0; in insw() 133 *pi++ = w; in insw()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | div64.h | 50 u32 w[2]; \ 61 : "=d"(__rem), "=r"(__quot.w[1]), "=r"(__quot.w[0]) \ 62 : "r"(base), "0"(__rem), "1"(__quot.w[1]), \ 63 "2"(__quot.w[0]) \
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-davinci.c | 164 u16 w; in davinci_i2c_reset_ctrl() local 166 w = davinci_i2c_read_reg(i2c_dev, DAVINCI_I2C_MDR_REG); in davinci_i2c_reset_ctrl() 168 w &= ~DAVINCI_I2C_MDR_IRS; in davinci_i2c_reset_ctrl() 170 w |= DAVINCI_I2C_MDR_IRS; in davinci_i2c_reset_ctrl() 172 davinci_i2c_write_reg(i2c_dev, DAVINCI_I2C_MDR_REG, w); in davinci_i2c_reset_ctrl() 390 u16 w; in i2c_davinci_xfer_msg() local 421 w = davinci_i2c_read_reg(dev, DAVINCI_I2C_IMR_REG); in i2c_davinci_xfer_msg() 423 w |= DAVINCI_I2C_IMR_RRDY; in i2c_davinci_xfer_msg() 425 w |= DAVINCI_I2C_IMR_XRDY; in i2c_davinci_xfer_msg() 426 davinci_i2c_write_reg(dev, DAVINCI_I2C_IMR_REG, w); in i2c_davinci_xfer_msg() [all …]
|
D | i2c-omap.c | 626 u16 w; in omap_i2c_xfer_msg() local 649 w = omap_i2c_read_reg(dev, OMAP_I2C_BUF_REG); in omap_i2c_xfer_msg() 650 w |= OMAP_I2C_BUF_RXFIF_CLR | OMAP_I2C_BUF_TXFIF_CLR; in omap_i2c_xfer_msg() 651 omap_i2c_write_reg(dev, OMAP_I2C_BUF_REG, w); in omap_i2c_xfer_msg() 656 w = OMAP_I2C_CON_EN | OMAP_I2C_CON_MST | OMAP_I2C_CON_STT; in omap_i2c_xfer_msg() 660 w |= OMAP_I2C_CON_OPMODE_HS; in omap_i2c_xfer_msg() 665 w |= OMAP_I2C_CON_XA; in omap_i2c_xfer_msg() 667 w |= OMAP_I2C_CON_TRX; in omap_i2c_xfer_msg() 670 w |= OMAP_I2C_CON_STP; in omap_i2c_xfer_msg() 676 omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, w); in omap_i2c_xfer_msg() [all …]
|
/linux-4.1.27/drivers/crypto/amcc/ |
D | crypto4xx_sa.c | 43 cts.w = ((struct dynamic_sa_ctl *) ctx->sa_in)->sa_contents; in get_dynamic_sa_offset_state_ptr_field() 45 cts.w = ((struct dynamic_sa_ctl *) ctx->sa_out)->sa_contents; in get_dynamic_sa_offset_state_ptr_field() 69 cts.w = ((struct dynamic_sa_ctl *) ctx->sa_in)->sa_contents; in get_dynamic_sa_iv_size() 71 cts.w = ((struct dynamic_sa_ctl *) ctx->sa_out)->sa_contents; in get_dynamic_sa_iv_size() 80 cts.w = ((struct dynamic_sa_ctl *) ctx->sa_in)->sa_contents; in get_dynamic_sa_offset_key_field() 82 cts.w = ((struct dynamic_sa_ctl *) ctx->sa_out)->sa_contents; in get_dynamic_sa_offset_key_field()
|
D | crypto4xx_reg_def.h | 166 u32 w; member 178 u32 w; member 190 u32 w; member 201 u32 w; member 212 u32 w; member 261 u32 w; member 272 u32 w; member
|
/linux-4.1.27/Documentation/video4linux/bttv/ |
D | Tuners | 57 MF: BG LL w/ Secam (Multi France) 63 MK3 series introduced in 2002 w/ PHILIPS_MK3_API 80 FR5: w/ FM radio 85 TPI8NSR11 : NTSC J/M (TPI8NSR01 w/FM) (P,210/497) 86 TPI8PSB11 : PAL B/G (TPI8PSB01 w/FM) (P,170/450) 87 TAPC-I701 : PAL I (TAPC-I001 w/FM) (P,170/450) 88 TPI8PSB12 : PAL D/K+B/G (TPI8PSB02 w/FM) (P,170/450) 89 TAPC-H701P: NTSC_JP (TAPC-H001P w/FM) (L,170/450) 90 TAPC-G701P: PAL B/G (TAPC-G001P w/FM) (L,170/450) 91 TAPC-W701P: PAL I (TAPC-W001P w/FM) (L,170/450) [all …]
|
D | Cards | 109 CPH06x: BT878 (w/o FM) 129 144F:3002 = CPH05x w/ FM 130 144F:3005 = CPH06x_LC (w/o remote control) 155 LR50 Rev.Q = Flyvideo 98 (w/eeprom and PCI subsystem ID) 159 Flyvideo 2000S (Bt878) w/Stereo TV (Package incl. LR91 daughterboard) 166 or Flyvideo 3000 (SAA7134) w/Stereo TV 167 These exist in variations w/FM and w/Remote sometimes denoted 185 FlyVideo A2 (Elta 8680)= LR90 Rev.F (w/Remote, w/o FM, stereo TV by tda9821) {Germany} 186 Lifeview 3000 (Elta 8681) as sold by Plus(April 2002), Germany = LR138 w/ saa7134 224 Mentor TV card ("55-878TV-U1") = Pixelview 878TV(Rev.3F) (w/FM w/Remote) [all …]
|
/linux-4.1.27/drivers/parport/ |
D | parport_gsc.c | 142 unsigned char r, w; in parport_SPP_supported() local 153 w = 0xc; in parport_SPP_supported() 154 parport_writeb (w, CONTROL (pb)); in parport_SPP_supported() 162 if ((r & 0xf) == w) { in parport_SPP_supported() 163 w = 0xe; in parport_SPP_supported() 164 parport_writeb (w, CONTROL (pb)); in parport_SPP_supported() 167 if ((r & 0xf) == w) in parport_SPP_supported() 173 w = 0xaa; in parport_SPP_supported() 174 parport_gsc_write_data (pb, w); in parport_SPP_supported() 176 if (r == w) { in parport_SPP_supported() [all …]
|
/linux-4.1.27/sound/oss/ |
D | msnd.h | 145 #define HIBYTE(w) ((BYTE)(((WORD)(w) >> 8) & 0xFF)) argument 146 #define LOBYTE(w) ((BYTE)(w)) argument 150 #define PCTODSP_OFFSET(w) (USHORT)((w)/2) argument 151 #define PCTODSP_BASED(w) (USHORT)(((w)/2) + DSP_BASE_ADDR) argument 152 #define DSPTOPC_BASED(w) (((w) - DSP_BASE_ADDR) * 2) argument
|
/linux-4.1.27/sound/isa/msnd/ |
D | msnd.h | 184 #define HIBYTE(w) ((u8)(((u16)(w) >> 8) & 0xFF)) argument 185 #define LOBYTE(w) ((u8)(w)) argument 189 #define PCTODSP_OFFSET(w) (u16)((w)/2) argument 190 #define PCTODSP_BASED(w) (u16)(((w)/2) + DSP_BASE_ADDR) argument 191 #define DSPTOPC_BASED(w) (((w) - DSP_BASE_ADDR) * 2) argument
|
/linux-4.1.27/arch/sh/lib64/ |
D | udivdi3.S | 11 mmulfx.w r1,r1,r4 12 mshflo.w r1,r63,r1 14 mmulfx.w r5,r4,r4 17 msub.w r1,r4,r1 18 madd.w r1,r1,r1 19 mmulfx.w r1,r1,r4 22 mmulfx.w r5,r4,r4 25 msub.w r1,r4,r1 69 mmulfx.w r5,r4,r4 72 msub.w r1,r4,r1
|
D | udivsi3.S | 17 mmulfx.w r21,r21,r19 18 mshflo.w r21,r63,r21 20 mmulfx.w r25,r19,r19 23 msub.w r21,r19,r19 32 mmulfx.w r19,r19,r19
|
/linux-4.1.27/drivers/ipack/devices/ |
D | ipoctal.c | 66 iowrite8(CR_DISABLE_RX | CR_DISABLE_TX, &channel->regs->w.cr); in ipoctal_reset_channel() 68 iowrite8(CR_CMD_RESET_RX, &channel->regs->w.cr); in ipoctal_reset_channel() 69 iowrite8(CR_CMD_RESET_TX, &channel->regs->w.cr); in ipoctal_reset_channel() 70 iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); in ipoctal_reset_channel() 71 iowrite8(CR_CMD_RESET_MR, &channel->regs->w.cr); in ipoctal_reset_channel() 84 iowrite8(CR_ENABLE_RX, &channel->regs->w.cr); in ipoctal_port_activate() 162 iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); in ipoctal_irq_rx() 205 iowrite8(value, &channel->regs->w.thr); in ipoctal_irq_tx() 223 iowrite8(CR_CMD_RESET_BREAK_CHANGE, &channel->regs->w.cr); in ipoctal_irq_channel() 226 iowrite8(CR_DISABLE_TX, &channel->regs->w.cr); in ipoctal_irq_channel() [all …]
|
/linux-4.1.27/arch/m32r/platforms/oaks32r/ |
D | io.c | 63 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument 65 *(volatile unsigned short *)portp = (w >> 8); in _ne_outw() 66 *(volatile unsigned short *)(portp+2) = (w & 0xff); in _ne_outw() 119 void _outw(unsigned short w, unsigned long port) in _outw() argument 122 _ne_outw(w, PORT2ADDR_NE(port)); in _outw() 124 *(volatile unsigned short *)PORT2ADDR(port) = w; in _outw() 138 void _outw_p(unsigned short w, unsigned long port) in _outw_p() argument 140 _outw(w, port); in _outw_p()
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | fpsimdmacros.h | 38 str w\tmpnr, [\state, #16 * 2] 40 str w\tmpnr, [\state, #16 * 2 + 4] 73 ldr w\tmpnr, [\state, #16 * 2] 75 ldr w\tmpnr, [\state, #16 * 2 + 4] 81 str w\numnr, [\state, #8] 83 stp w\tmpnr1, w\tmpnr2, [\state] 108 ldp w\tmpnr1, w\tmpnr2, [\state] 112 ldr w\tmpnr2, [\state, #8]
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_worker.c | 105 list_del(&peer_req->w.list); in drbd_endio_read_sec_final() 112 drbd_queue_work(&peer_device->connection->sender_work, &peer_req->w); in drbd_endio_read_sec_final() 139 list_move_tail(&peer_req->w.list, &device->done_ee); in drbd_endio_write_sec_final() 342 static int w_e_send_csum(struct drbd_work *w, int cancel) in w_e_send_csum() argument 344 struct drbd_peer_request *peer_req = container_of(w, struct drbd_peer_request, w); in w_e_send_csum() 406 peer_req->w.cb = w_e_send_csum; in read_for_csum() 408 list_add_tail(&peer_req->w.list, &device->read_ee); in read_for_csum() 420 list_del(&peer_req->w.list); in read_for_csum() 429 int w_resync_timer(struct drbd_work *w, int cancel) in w_resync_timer() argument 432 container_of(w, struct drbd_device, resync_work); in w_resync_timer() [all …]
|
/linux-4.1.27/drivers/staging/vt6655/ |
D | tmacro.h | 35 #define LOBYTE(w) ((unsigned char)(w)) argument 38 #define HIBYTE(w) ((unsigned char)(((unsigned short)(w) >> 8) & 0xFF)) argument
|
/linux-4.1.27/drivers/tty/serial/ |
D | sunsab.c | 138 writeb(SAB82532_CMDR_RFRD, &up->regs->w.cmdr); in receive_chars() 152 writeb(SAB82532_CMDR_RMC, &up->regs->w.cmdr); in receive_chars() 242 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars() 259 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars() 264 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars() 271 &up->regs->w.xfifo[i]); in transmit_chars() 280 writeb(SAB82532_CMDR_XF, &up->regs->w.cmdr); in transmit_chars() 414 writeb(up->interrupt_mask1, &up->regs->w.imr1); in sunsab_stop_tx() 426 writeb(up->cached_dafo, &up->regs->w.dafo); in sunsab_tx_idle() 428 writeb(up->cached_ebrg & 0xff, &up->regs->w.bgr); in sunsab_tx_idle() [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | bitmap.c | 12 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local 15 w += hweight_long(bitmap[k]); in __bitmap_weight() 18 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight() 20 return w; in __bitmap_weight()
|
/linux-4.1.27/drivers/edac/ |
D | i5100_edac.c | 693 u16 w; in i5100_init_mtr() local 695 pci_read_config_word(pdev, addr, &w); in i5100_init_mtr() 697 priv->mtr[i][j].present = i5100_mtr_present(w); in i5100_init_mtr() 698 priv->mtr[i][j].ethrottle = i5100_mtr_ethrottle(w); in i5100_init_mtr() 699 priv->mtr[i][j].width = 4 + 4 * i5100_mtr_width(w); in i5100_init_mtr() 700 priv->mtr[i][j].numbank = 2 + i5100_mtr_numbank(w); in i5100_init_mtr() 701 priv->mtr[i][j].numrow = 13 + i5100_mtr_numrow(w); in i5100_init_mtr() 702 priv->mtr[i][j].numcol = 10 + i5100_mtr_numcol(w); in i5100_init_mtr() 715 u16 w; in i5100_read_spd_byte() local 718 pci_read_config_word(priv->mc, I5100_SPDDATA, &w); in i5100_read_spd_byte() [all …]
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | core_t2.h | 371 unsigned long w; in t2_outb() local 373 w = __kernel_insbl(b, addr & 3); in t2_outb() 374 *(vuip) ((addr << 5) + T2_IO + 0x00) = w; in t2_outb() 386 unsigned long w; in t2_outw() local 388 w = __kernel_inswl(b, addr & 3); in t2_outw() 389 *(vuip) ((addr << 5) + T2_IO + 0x08) = w; in t2_outw() 505 unsigned long w; in t2_writeb() local 509 w = __kernel_insbl(b, addr & 3); in t2_writeb() 510 *(vuip) ((addr << 5) + T2_SPARSE_MEM + 0x00) = w; in t2_writeb() 516 unsigned long w; in t2_writew() local [all …]
|
D | bitops.h | 405 static inline unsigned long __arch_hweight64(unsigned long w) in __arch_hweight64() argument 407 return __kernel_ctpop(w); in __arch_hweight64() 410 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32() argument 412 return __arch_hweight64(w); in __arch_hweight32() 415 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16() argument 417 return __arch_hweight64(w & 0xffff); in __arch_hweight16() 420 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8() argument 422 return __arch_hweight64(w & 0xff); in __arch_hweight8()
|
/linux-4.1.27/drivers/media/usb/gspca/ |
D | touptek.c | 248 unsigned int w = gspca_dev->pixfmt.width; in setexposure() local 250 if (w == 800) in setexposure() 252 else if (w == 1600) in setexposure() 254 else if (w == 3264) in setexposure() 257 PERR("Invalid width %u\n", w); in setexposure() 337 unsigned int w = gspca_dev->pixfmt.width; in configure_wh() local 341 if (w == 800) { in configure_wh() 352 } else if (w == 1600) { in configure_wh() 363 } else if (w == 3264) { in configure_wh() 375 PERR("bad width %u\n", w); in configure_wh() [all …]
|
/linux-4.1.27/arch/arm/plat-samsung/include/plat/ |
D | sdhci.h | 55 extern void s3c2416_setup_sdhci0_cfg_gpio(struct platform_device *, int w); 56 extern void s3c2416_setup_sdhci1_cfg_gpio(struct platform_device *, int w); 57 extern void s3c64xx_setup_sdhci0_cfg_gpio(struct platform_device *, int w); 58 extern void s3c64xx_setup_sdhci1_cfg_gpio(struct platform_device *, int w); 59 extern void s3c64xx_setup_sdhci2_cfg_gpio(struct platform_device *, int w);
|
/linux-4.1.27/scripts/ |
D | recordmcount.h | 117 # define _w w 218 mcsec.sh_name = w((sizeof(Elf_Rela) == rel_entsize) + strlen(".rel") in append_func() 220 mcsec.sh_type = w(SHT_PROGBITS); in append_func() 231 mcsec.sh_name = w(old_shstr_sh_size); in append_func() 233 ? w(SHT_RELA) in append_func() 234 : w(SHT_REL); in append_func() 239 mcsec.sh_link = w(symsec_sh_link); in append_func() 240 mcsec.sh_info = w(old_shnum); in append_func() 262 char const *symname = &str0[w(symp->st_name)]; in get_mcountsym() 284 unsigned const symsec_sh_link = w(relhdr->sh_link); in get_sym_str_and_relp() [all …]
|
D | recordmcount.c | 95 off_t const w = lseek(fd, offset, whence); in ulseek() local 96 if (w == (off_t)-1) { in ulseek() 100 return w; in ulseek() 261 static uint32_t (*w)(uint32_t); variable 305 return w(((union mips_r_info){ .r_info = rp->r_info }).r_mips.r_sym); in MIPS64_r_sym() 311 .r_mips = { .r_sym = w(sym), .r_type = type } in MIPS64_r_info() 322 w = w4nat; in do_file() 335 w = w4rev; in do_file() 343 w = w4rev; in do_file()
|
/linux-4.1.27/net/ceph/crush/ |
D | mapper.c | 142 __u64 w = crush_hash32_4(bucket->h.hash,x, bucket->h.items[i], in bucket_list_choose() local 144 w &= 0xffff; in bucket_list_choose() 148 bucket->sum_weights[i], w); in bucket_list_choose() 149 w *= bucket->sum_weights[i]; in bucket_list_choose() 150 w = w >> 16; in bucket_list_choose() 152 if (w < bucket->item_weights[i]) in bucket_list_choose() 193 __u32 w; in bucket_tree_choose() local 202 w = bucket->node_weights[n]; in bucket_tree_choose() 204 bucket->h.id) * (__u64)w; in bucket_tree_choose() 295 unsigned w; in bucket_straw2_choose() local [all …]
|
/linux-4.1.27/arch/sh/include/uapi/asm/ |
D | swab.h | 51 } v, w; in __arch_swab64() local 53 w.s.b = __arch_swab32(v.s.a); in __arch_swab64() 54 w.s.a = __arch_swab32(v.s.b); in __arch_swab64() 55 return w.u; in __arch_swab64()
|
/linux-4.1.27/arch/arc/include/asm/ |
D | io.h | 58 u32 w; in __raw_readl() local 62 : "=r" (w) in __raw_readl() 66 return w; in __raw_readl() 91 static inline void __raw_writel(u32 w, volatile void __iomem *addr) in __raw_writel() argument 96 : "r" (w), "m" (*(volatile u32 __force *)addr) in __raw_writel()
|
/linux-4.1.27/include/trace/events/ |
D | asoc.h | 88 TP_PROTO(struct snd_soc_dapm_widget *w, int val), 90 TP_ARGS(w, val), 93 __string( name, w->name ) 98 __assign_str(name, w->name); 108 TP_PROTO(struct snd_soc_dapm_widget *w, int val), 110 TP_ARGS(w, val) 116 TP_PROTO(struct snd_soc_dapm_widget *w, int val), 118 TP_ARGS(w, val) 124 TP_PROTO(struct snd_soc_dapm_widget *w, int val), 126 TP_ARGS(w, val)
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | amd7930_fn.h | 23 #define HIBYTE(w) ((unsigned char)((w & 0xff00) / 256)) argument 24 #define LOBYTE(w) ((unsigned char)(w & 0x00ff)) argument
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
D | io_interface_mux.c | 579 struct watcher *w = watchers; in notify_watchers() local 583 while (NULL != w) { in notify_watchers() 584 w->notify((const unsigned int)gpio_in_pins, in notify_watchers() 588 w = w->next; in notify_watchers() 1103 struct watcher *w; in cris_io_interface_register_watcher() local 1110 w = kmalloc(sizeof(*w), GFP_KERNEL); in cris_io_interface_register_watcher() 1111 if (!w) { in cris_io_interface_register_watcher() 1114 w->notify = notify; in cris_io_interface_register_watcher() 1115 w->next = watchers; in cris_io_interface_register_watcher() 1116 watchers = w; in cris_io_interface_register_watcher() [all …]
|
/linux-4.1.27/drivers/xen/xen-pciback/ |
D | conf_space_capability.c | 27 .u.w.read = xen_pcibk_read_config_word, 28 .u.w.write = NULL, 81 .u.w.read = xen_pcibk_read_config_word, 82 .u.w.write = vpd_address_write, 170 .u.w.read = pm_caps_read, 176 .u.w.read = xen_pcibk_read_config_word, 177 .u.w.write = pm_ctrl_write,
|
/linux-4.1.27/arch/alpha/kernel/ |
D | io.c | 224 unsigned int w; in ioread8_rep() local 226 w = ioread8(port); in ioread8_rep() 227 w |= ioread8(port) << 8; in ioread8_rep() 228 w |= ioread8(port) << 16; in ioread8_rep() 229 w |= ioread8(port) << 24; in ioread8_rep() 230 *(unsigned int *)dst = w; in ioread8_rep() 268 unsigned int w; in ioread16_rep() local 270 w = ioread16(port); in ioread16_rep() 271 w |= ioread16(port) << 16; in ioread16_rep() 272 *(unsigned int *)dst = w; in ioread16_rep() [all …]
|
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/ |
D | fpu.c | 101 int exp, w; in denormal_mulf() local 113 w = -1; in denormal_mulf() 114 while (n) { n >>= 1; w++; } in denormal_mulf() 117 exp += w - 126 - 46; in denormal_mulf() 119 ix = ((int) (m >> (w - 23)) & 0x007fffff) | (exp << 23); in denormal_mulf() 121 ix = (int) (m >> (w - 22 - exp)) & 0x007fffff; in denormal_mulf() 168 int exp, w; in denormal_muld() local 181 w = -1; in denormal_muld() 183 while (nh) { nh >>= 1; w++;} in denormal_muld() 184 w += 64; in denormal_muld() [all …]
|
/linux-4.1.27/sound/pci/ |
D | es1968.c | 2067 unsigned short w; in snd_es1968_ac97_reset() local 2081 pci_read_config_word(chip->pci, 0x58, &w); /* something magical with gpio and bus arb. */ in snd_es1968_ac97_reset() 2083 if (w & 1) in snd_es1968_ac97_reset() 2115 for (w = 0;; w++) { in snd_es1968_ac97_reset() 2130 if (w > 10000) { in snd_es1968_ac97_reset() 2137 for (w = 0; w < 10000; w++) { in snd_es1968_ac97_reset() 2184 u16 w; in snd_es1968_chip_init() local 2199 pci_read_config_word(pci, ESM_CONFIG_A, &w); in snd_es1968_chip_init() 2201 w &= ~DMA_CLEAR; /* Clear DMA bits */ in snd_es1968_chip_init() 2202 w &= ~(PIC_SNOOP1 | PIC_SNOOP2); /* Clear Pic Snoop Mode Bits */ in snd_es1968_chip_init() [all …]
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_cursor.c | 125 int w = radeon_crtc->cursor_width; in radeon_cursor_move_locked() local 164 cursor_end = x - xorigin + w; in radeon_cursor_move_locked() 167 w = w - (cursor_end - frame_end); in radeon_cursor_move_locked() 169 w--; in radeon_cursor_move_locked() 172 w--; in radeon_cursor_move_locked() 174 if (w <= 0) { in radeon_cursor_move_locked() 175 w = 1; in radeon_cursor_move_locked() 176 cursor_end = x - xorigin + w; in radeon_cursor_move_locked() 189 ((w - 1) << 16) | (radeon_crtc->cursor_height - 1)); in radeon_cursor_move_locked() 194 ((w - 1) << 16) | (radeon_crtc->cursor_height - 1)); in radeon_cursor_move_locked()
|
/linux-4.1.27/drivers/net/ethernet/micrel/ |
D | ks8851_mll.c | 693 u16 w; in ks_enable_qmu() local 695 w = ks_rdreg16(ks, KS_TXCR); in ks_enable_qmu() 697 ks_wrreg16(ks, KS_TXCR, w | TXCR_TXE); in ks_enable_qmu() 704 w = ks_rdreg16(ks, KS_RXQCR); in ks_enable_qmu() 705 ks_wrreg16(ks, KS_RXQCR, w | RXQCR_RXFCTE); in ks_enable_qmu() 708 w = ks_rdreg16(ks, KS_RXCR1); in ks_enable_qmu() 709 ks_wrreg16(ks, KS_RXCR1, w | RXCR1_RXE); in ks_enable_qmu() 715 u16 w; in ks_disable_qmu() local 717 w = ks_rdreg16(ks, KS_TXCR); in ks_disable_qmu() 720 w &= ~TXCR_TXE; in ks_disable_qmu() [all …]
|
/linux-4.1.27/arch/ia64/include/asm/sn/ |
D | addrs.h | 192 #define NODE_SWIN_BASE(n, w) ((w == 0) ? NODE_BWIN_BASE((n), SWIN0_BIGWIN) \ argument 193 : RAW_NODE_SWIN_BASE(n, w)) 194 #define TIO_SWIN_BASE(n, w) (TIO_IO_BASE(n) + \ argument 195 ((u64) (w) << TIO_SWIN_SIZE_BITS)) 200 #define NODE_BWIN_BASE(n, w) (NODE_BWIN_BASE0(n) + ((u64) (w) << BWIN_SIZE_BITS)) argument 201 #define RAW_NODE_SWIN_BASE(n, w) (NODE_IO_BASE(n) + ((u64) (w) << SWIN_SIZE_BITS)) argument
|
/linux-4.1.27/arch/x86/xen/ |
D | spinlock.c | 112 struct xen_lock_waiting *w = this_cpu_ptr(&lock_waiting); in xen_lock_spinning() local 141 w->lock = NULL; in xen_lock_spinning() 143 w->want = want; in xen_lock_spinning() 145 w->lock = lock; in xen_lock_spinning() 194 w->lock = NULL; in xen_lock_spinning() 209 const struct xen_lock_waiting *w = &per_cpu(lock_waiting, cpu); in xen_unlock_kick() local 212 if (READ_ONCE(w->lock) == lock && in xen_unlock_kick() 213 READ_ONCE(w->want) == next) { in xen_unlock_kick()
|
/linux-4.1.27/drivers/usb/host/ |
D | xhci-mvebu.c | 18 #define USB3_WIN_CTRL(w) (0x0 + ((w) * 8)) argument 19 #define USB3_WIN_BASE(w) (0x4 + ((w) * 8)) argument
|
/linux-4.1.27/tools/thermal/tmon/ |
D | tui.c | 289 WINDOW *w = dialogue_window; in show_dialogue() local 291 if (tui_disabled || !w) in show_dialogue() 294 getmaxyx(w, rows, cols); in show_dialogue() 299 werase(w); in show_dialogue() 300 box(w, 0, 0); in show_dialogue() 301 mvwprintw(w, 0, maxx/4, DIAG_TITLE); in show_dialogue() 309 mvwprintw(w, y+1, x+1, "%C-%.12s", 'A'+j, "Set Temp"); in show_dialogue() 311 mvwprintw(w, y+1, x+1, "%C-%.10s-%2d", 'A'+j, in show_dialogue() 314 wattron(w, A_BOLD); in show_dialogue() 315 mvwprintw(w, diag_dev_rows()+1, 1, "Enter Choice [A-Z]?"); in show_dialogue() [all …]
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | ppc-opcode.h | 268 #define __PPC_WC(w) (((w) & 0x3) << 21) argument 269 #define __PPC_WS(w) (((w) & 0x1f) << 11) argument 333 #define PPC_WAIT(w) stringify_in_c(.long PPC_INST_WAIT | \ argument 334 __PPC_WC(w)) 342 #define PPC_ERATWE(s, a, w) stringify_in_c(.long PPC_INST_ERATWE | \ argument 343 __PPC_RS(s) | __PPC_RA(a) | __PPC_WS(w)) 344 #define PPC_ERATRE(s, a, w) stringify_in_c(.long PPC_INST_ERATRE | \ argument 345 __PPC_RS(s) | __PPC_RA(a) | __PPC_WS(w)) 351 #define PPC_ERATSX(t, a, w) stringify_in_c(.long PPC_INST_ERATSX | \ argument 353 #define PPC_ERATSX_DOT(t, a, w) stringify_in_c(.long PPC_INST_ERATSX_DOT | \ argument
|
/linux-4.1.27/arch/mips/mm/ |
D | cerr-sb1.c | 439 uint32_t w; in dc_ecc() local 448 w = (uint32_t)(t >> 32); in dc_ecc() 449 p ^= (parity[w>>24] ^ parity[(w>>16) & 0xFF] in dc_ecc() 450 ^ parity[(w>>8) & 0xFF] ^ parity[w & 0xFF]); in dc_ecc() 451 w = (uint32_t)(t & 0xFFFFFFFF); in dc_ecc() 452 p ^= (parity[w>>24] ^ parity[(w>>16) & 0xFF] in dc_ecc() 453 ^ parity[(w>>8) & 0xFF] ^ parity[w & 0xFF]); in dc_ecc()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfa_cs.h | 333 } w; in wwn2str() local 335 w.wwn = wwn; in wwn2str() 336 sprintf(wwn_str, "%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x", w.byte[0], in wwn2str() 337 w.byte[1], w.byte[2], w.byte[3], w.byte[4], w.byte[5], in wwn2str() 338 w.byte[6], w.byte[7]); in wwn2str()
|
/linux-4.1.27/drivers/pcmcia/ |
D | pcmcia_resource.c | 231 unsigned int w; in pcmcia_map_mem_page() local 234 w = ((res->flags & IORESOURCE_BITS & WIN_FLAGS_REQ) >> 2) - 1; in pcmcia_map_mem_page() 235 if (w >= MAX_WIN) in pcmcia_map_mem_page() 239 s->win[w].card_start = offset; in pcmcia_map_mem_page() 240 ret = s->ops->set_mem_map(s, &s->win[w]); in pcmcia_map_mem_page() 436 unsigned int w; in pcmcia_release_window() local 440 w = ((res->flags & IORESOURCE_BITS & WIN_FLAGS_REQ) >> 2) - 1; in pcmcia_release_window() 441 if (w >= MAX_WIN) in pcmcia_release_window() 445 win = &s->win[w]; in pcmcia_release_window() 447 if (!(p_dev->_win & CLIENT_WIN_REQ(w))) { in pcmcia_release_window() [all …]
|
/linux-4.1.27/drivers/dma/ |
D | mv_xor.h | 72 #define WINDOW_BASE(w) (0x50 + ((w) << 2)) argument 73 #define WINDOW_SIZE(w) (0x70 + ((w) << 2)) argument 74 #define WINDOW_REMAP_HIGH(w) (0x90 + ((w) << 2)) argument
|
/linux-4.1.27/arch/m68k/68360/ |
D | head-rom.S | 115 ori.w #MCU_DISABLE_INTRPTS, %sr /* disable interrupts: */ 149 move.w #MCU_SIM_PLLCR, PLLCR 151 move.w #MCU_SIM_CDVCR, CDVCR 154 move.w #16384, %d0 156 subi.w #1, %d0 161 move.w #MCU_SIM_PICR, PICR 162 move.w #MCU_SIM_PITR, PITR 163 move.w #MCU_SIM_SYPCR, SYPCR 199 move.w #MCU_SIM_PEPAR, PEPAR
|
D | head-ram.S | 104 ori.w #MCU_DISABLE_INTRPTS, %sr /* disable interrupts: */ 134 move.w #MCU_SIM_PLLCR, PLLCR 136 move.w #MCU_SIM_CDVCR, CDVCR 139 move.w #16384, %d0 141 subi.w #1, %d0 146 move.w #MCU_SIM_PICR, PICR 147 move.w #MCU_SIM_PITR, PITR 148 move.w #MCU_SIM_SYPCR, SYPCR 189 move.w #MCU_SIM_PEPAR, PEPAR
|
/linux-4.1.27/arch/um/include/shared/ |
D | os.h | 58 unsigned int w : 1; member 67 #define OPENFLAGS() ((struct openflags) { .r = 0, .w = 0, .s = 0, .c = 0, \ 78 flags.w = 1; in of_write() 87 static inline struct openflags of_set_rw(struct openflags flags, int r, int w) in of_set_rw() argument 90 flags.w = w; in of_set_rw() 154 extern int os_shutdown_socket(int fd, int r, int w); 196 unsigned long len, int r, int w, int x); 198 int r, int w, int x);
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
D | mdp_ppp.c | 94 regs->dst0 += (req->dst_rect.w - in rotate_dst_addr_x() 95 min((uint32_t)16, req->dst_rect.w)) * regs->dst_bpp; in rotate_dst_addr_x() 96 regs->dst1 += (req->dst_rect.w - in rotate_dst_addr_x() 97 min((uint32_t)16, req->dst_rect.w)) * regs->dst_bpp; in rotate_dst_addr_x() 354 dst_h = req->dst_rect.w; in get_edge_cond() 356 dst_w = req->dst_rect.w; in get_edge_cond() 364 get_edge_info(req->src_rect.w, req->src_rect.x, dst_w, in get_edge_cond() 369 luma_interp[IMG_RIGHT] = req->src_rect.x + req->src_rect.w - 1; in get_edge_cond() 384 chroma_bound[IMG_RIGHT] = req->src_rect.x + req->src_rect.w - 1; in get_edge_cond() 445 dst_h = req->dst_rect.w; in blit_scale() [all …]
|
/linux-4.1.27/kernel/ |
D | audit_watch.c | 238 static void audit_watch_log_rule_change(struct audit_krule *r, struct audit_watch *w, char *op) in audit_watch_log_rule_change() argument 250 audit_log_untrustedstring(ab, w->path); in audit_watch_log_rule_change() 337 struct audit_watch *w, *nextw; in audit_remove_parent_watches() local 342 list_for_each_entry_safe(w, nextw, &parent->watches, wlist) { in audit_remove_parent_watches() 343 list_for_each_entry_safe(r, nextr, &w->rules, rlist) { in audit_remove_parent_watches() 345 audit_watch_log_rule_change(r, w, "remove_rule"); in audit_remove_parent_watches() 351 audit_remove_watch(w); in audit_remove_parent_watches() 379 struct audit_watch *w, *watch = krule->watch; in audit_add_to_parent() local 384 list_for_each_entry(w, &parent->watches, wlist) { in audit_add_to_parent() 385 if (strcmp(watch->path, w->path)) in audit_add_to_parent() [all …]
|
/linux-4.1.27/arch/m32r/platforms/m32104ut/ |
D | io.c | 103 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument 105 *(volatile unsigned short *)portp = cpu_to_le16(w); in _ne_outw() 158 void _outw(unsigned short w, unsigned long port) in _outw() argument 161 _ne_outw(w, PORT2ADDR_NE(port)); in _outw() 163 *(volatile unsigned short *)PORT2ADDR(port) = w; in _outw() 177 void _outw_p(unsigned short w, unsigned long port) in _outw_p() argument 179 _outw(w, port); in _outw_p()
|
/linux-4.1.27/arch/parisc/math-emu/ |
D | driver.c | 69 #define FPSW_FLAGS(w) ((w) >> 27) argument 70 #define FPSW_ENABLE(w) ((w) & 0x1f) argument
|
/linux-4.1.27/drivers/hid/ |
D | hid-picolcd_cir.c | 47 int i, w, sz; in picolcd_raw_cir() local 71 w = (raw_data[i] << 8) | (raw_data[i+1]); in picolcd_raw_cir() 72 rawir.pulse = !!(w & 0x8000); in picolcd_raw_cir() 73 rawir.duration = US_TO_NS(rawir.pulse ? (65536 - w) : w); in picolcd_raw_cir()
|
/linux-4.1.27/Documentation/devicetree/bindings/w1/ |
D | omap-hdq.txt | 4 - compatible : should be "ti,omap3-1w" 12 hdqw1w: 1w@480b2000 { 13 compatible = "ti,omap3-1w";
|
/linux-4.1.27/fs/fat/ |
D | namei_vfat.c | 189 static inline wchar_t vfat_bad_char(wchar_t w) in vfat_bad_char() argument 191 return (w < 0x0020) in vfat_bad_char() 192 || (w == '*') || (w == '?') || (w == '<') || (w == '>') in vfat_bad_char() 193 || (w == '|') || (w == '"') || (w == ':') || (w == '/') in vfat_bad_char() 194 || (w == '\\'); in vfat_bad_char() 197 static inline wchar_t vfat_replace_char(wchar_t w) in vfat_replace_char() argument 199 return (w == '[') || (w == ']') || (w == ';') || (w == ',') in vfat_replace_char() 200 || (w == '+') || (w == '='); in vfat_replace_char() 203 static wchar_t vfat_skip_char(wchar_t w) in vfat_skip_char() argument 205 return (w == '.') || (w == ' '); in vfat_skip_char()
|
/linux-4.1.27/drivers/input/ |
D | input-mt.c | 329 static void find_reduced_matrix(int *w, int nr, int nc, int nrc, int mu) in find_reduced_matrix() argument 335 adjust_dual(w + i, nr, w + i + nrc, nr <= nc, mu); in find_reduced_matrix() 338 sum += adjust_dual(w + i, 1, w + i + nr, nc <= nr, mu); in find_reduced_matrix() 350 int *w = mt->red; in input_mt_set_matrix() local 360 *w++ = dx * dx + dy * dy - mu; in input_mt_set_matrix() 364 return w - mt->red; in input_mt_set_matrix() 371 int *w = mt->red, j; in input_mt_set_slots() local 381 if (w[j] < 0) { in input_mt_set_slots() 387 w += num_pos; in input_mt_set_slots()
|