w 109 arch/x86/kernel/k8.c u32 w; w 113 arch/x86/kernel/k8.c 0x9c, &w); w 114 arch/x86/kernel/k8.c if (!(w & 1)) w 167 crypto/aes_generic.c w = star_x(v); \ w 168 crypto/aes_generic.c t = w ^ (x); \ w 169 crypto/aes_generic.c (y) = u ^ v ^ w; \ w 250 crypto/aes_generic.c u32 i, t, u, v, w, j; w 634 crypto/des_generic.c unsigned long a, b, c, d, w; w 660 crypto/des_generic.c w = (a ^ c) | (b ^ d) | (rs[a] ^ c) | (b ^ rs[d]); w 671 crypto/des_generic.c w |= (a ^ c) | (b ^ d) | (rs[a] ^ c) | (b ^ rs[d]); w 704 crypto/des_generic.c return w; w 140 crypto/lrw.c err = blkcipher_walk_virt(d, w); w 141 crypto/lrw.c if (!(avail = w->nbytes)) w 144 crypto/lrw.c wsrc = w->src.virt.addr; w 145 crypto/lrw.c wdst = w->dst.virt.addr; w 148 crypto/lrw.c iv = (be128 *)w->iv; w 170 crypto/lrw.c err = blkcipher_walk_done(d, w, avail); w 171 crypto/lrw.c if (!(avail = w->nbytes)) w 174 crypto/lrw.c wsrc = w->src.virt.addr; w 175 crypto/lrw.c wdst = w->dst.virt.addr; w 185 crypto/lrw.c struct blkcipher_walk w; w 187 crypto/lrw.c blkcipher_walk_init(&w, dst, src, nbytes); w 188 crypto/lrw.c return crypt(desc, &w, ctx, w 196 crypto/lrw.c struct blkcipher_walk w; w 198 crypto/lrw.c blkcipher_walk_init(&w, dst, src, nbytes); w 199 crypto/lrw.c return crypt(desc, &w, ctx, w 36 crypto/md5.c (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x) w 46 crypto/salsa20_generic.c #define XOR(v,w) ((v) ^ (w)) w 47 crypto/salsa20_generic.c #define PLUS(v,w) (((v) + (w))) w 100 crypto/twofish.c x = le32_to_cpu(src[n]) ^ ctx->w[m] w 103 crypto/twofish.c x ^= ctx->w[m]; \ w 485 crypto/twofish_common.c (a) ^= exp_to_poly[tmp + (w)]; \ w 669 crypto/twofish_common.c CALC_K256 (w, i, q0[i], q1[i], q0[i+1], q1[i+1]); w 682 crypto/twofish_common.c CALC_K192 (w, i, q0[i], q1[i], q0[i+1], q1[i+1]); w 695 crypto/twofish_common.c CALC_K (w, i, q0[i], q1[i], q0[i+1], q1[i+1]); w 107 crypto/xts.c err = blkcipher_walk_virt(d, w); w 108 crypto/xts.c if (!w->nbytes) w 111 crypto/xts.c s.t = (be128 *)w->iv; w 112 crypto/xts.c avail = w->nbytes; w 114 crypto/xts.c wsrc = w->src.virt.addr; w 115 crypto/xts.c wdst = w->dst.virt.addr; w 118 crypto/xts.c tw(crypto_cipher_tfm(ctx->tweak), w->iv, w->iv); w 133 crypto/xts.c err = blkcipher_walk_done(d, w, avail); w 134 crypto/xts.c if (!w->nbytes) w 137 crypto/xts.c avail = w->nbytes; w 139 crypto/xts.c wsrc = w->src.virt.addr; w 140 crypto/xts.c wdst = w->dst.virt.addr; w 150 crypto/xts.c struct blkcipher_walk w; w 152 crypto/xts.c blkcipher_walk_init(&w, dst, src, nbytes); w 153 crypto/xts.c return crypt(desc, &w, ctx, crypto_cipher_alg(ctx->tweak)->cia_encrypt, w 161 crypto/xts.c struct blkcipher_walk w; w 163 crypto/xts.c blkcipher_walk_init(&w, dst, src, nbytes); w 164 crypto/xts.c return crypt(desc, &w, ctx, crypto_cipher_alg(ctx->tweak)->cia_encrypt, w 164 fs/cifs/md5.c (w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x) w 178 fs/compat_ioctl.c err |= put_user(kevent.u.size.w, &up->u.size.w); w 919 fs/dlm/config.c int w = -EEXIST; w 929 fs/dlm/config.c w = nd->weight; w 935 fs/dlm/config.c return w; w 48 fs/dlm/member.c int w; w 54 fs/dlm/member.c w = dlm_node_weight(ls->ls_name, nodeid); w 55 fs/dlm/member.c if (w < 0) { w 57 fs/dlm/member.c return w; w 61 fs/dlm/member.c memb->weight = w; w 120 fs/dlm/member.c int i, w, x = 0, total = 0, all_zero = 0, *array; w 148 fs/dlm/member.c w = 1; w 150 fs/dlm/member.c w = memb->weight; w 154 fs/dlm/member.c for (i = 0; i < w; i++) w 376 fs/hostfs/hostfs_kern.c int mode = 0, r = 0, w = 0, fd; w 395 fs/hostfs/hostfs_kern.c w = 1; w 396 fs/hostfs/hostfs_kern.c if (w) w 403 fs/hostfs/hostfs_kern.c fd = open_file(name, r, w, append); w 828 fs/hostfs/hostfs_kern.c int r = 0, w = 0, x = 0, err; w 831 fs/hostfs/hostfs_kern.c if (desired & MAY_WRITE) w = 1; w 841 fs/hostfs/hostfs_kern.c err = access_file(name, r, w, x); w 104 fs/hostfs/hostfs_user.c if (w) w 117 fs/hostfs/hostfs_user.c if (r && !w) w 119 fs/hostfs/hostfs_user.c else if (!r && w) w 121 fs/hostfs/hostfs_user.c else if (r && w) w 174 fs/inotify_user.c watch = container_of(w, struct inotify_user_watch, wdata); w 278 fs/inotify_user.c watch = container_of(w, struct inotify_user_watch, wdata); w 286 fs/inotify_user.c if (mask & IN_IGNORED || w->mask & IN_ONESHOT) w 287 fs/inotify_user.c put_inotify_watch(w); /* final put */ w 2622 fs/jfs/jfs_dmap.c int budsz, bud, w, bsz, size; w 2653 fs/jfs/jfs_dmap.c for (w = leafno, bsz = budsz;; bsz <<= 1, w 2654 fs/jfs/jfs_dmap.c w = (w < bud) ? w : bud) { w 2662 fs/jfs/jfs_dmap.c bud = w ^ bsz; w 3648 fs/jfs/jfs_dmap.c int blkno, w, b, r, nw, nb, i; w 3668 fs/jfs/jfs_dmap.c w = blkno >> L2DBWORD; w 3684 fs/jfs/jfs_dmap.c dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) w 3686 fs/jfs/jfs_dmap.c dp->pmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) w 3690 fs/jfs/jfs_dmap.c w++; w 3694 fs/jfs/jfs_dmap.c memset(&dp->wmap[w], 0, nw * 4); w 3695 fs/jfs/jfs_dmap.c memset(&dp->pmap[w], 0, nw * 4); w 3699 fs/jfs/jfs_dmap.c w += nw; w 3712 fs/jfs/jfs_dmap.c w = blkno >> L2DBWORD; w 3718 fs/jfs/jfs_dmap.c dp->wmap[w] = dp->pmap[w] = cpu_to_le32(ONES >> b); w 3719 fs/jfs/jfs_dmap.c w++; w 3723 fs/jfs/jfs_dmap.c for (i = w; i < LPERDMAP; i++) w 229 fs/nfsd/nfs2acl.c int w; w 246 fs/nfsd/nfs2acl.c rqstp->rq_res.page_len = w = nfsacl_size( w 249 fs/nfsd/nfs2acl.c while (w > 0) { w 252 fs/nfsd/nfs2acl.c w -= PAGE_SIZE; w 178 fs/nfsd/nfs3acl.c int w; w 185 fs/nfsd/nfs3acl.c rqstp->rq_res.page_len = w = nfsacl_size( w 188 fs/nfsd/nfs3acl.c while (w > 0) { w 191 fs/nfsd/nfs3acl.c w -= PAGE_SIZE; w 155 fs/vfat/namei.c return (w < 0x0020) w 156 fs/vfat/namei.c || (w == '*') || (w == '?') || (w == '<') || (w == '>') w 157 fs/vfat/namei.c || (w == '|') || (w == '"') || (w == ':') || (w == '/') w 158 fs/vfat/namei.c || (w == '\\'); w 163 fs/vfat/namei.c return (w == '[') || (w == ']') || (w == ';') || (w == ',') w 164 fs/vfat/namei.c || (w == '+') || (w == '='); w 169 fs/vfat/namei.c return (w == '.') || (w == ' '); w 71 fs/xfs/xfs_bit.h __uint32_t w = (__uint32_t)v; w 74 fs/xfs/xfs_bit.h if (w) { /* lower bits */ w 75 fs/xfs/xfs_bit.h n = ffs(w); w 77 fs/xfs/xfs_bit.h w = (__uint32_t)(v >> 32); w 78 fs/xfs/xfs_bit.h if (w && (n = ffs(w))) w 326 fs/xfs/xfs_bmap.c xfs_bmap_trace_delete(__func__,d,ip,i,c,w) w 328 fs/xfs/xfs_bmap.c xfs_bmap_trace_insert(__func__,d,ip,i,c,r1,r2,w) w 330 fs/xfs/xfs_bmap.c xfs_bmap_trace_post_update(__func__,d,ip,i,w) w 332 fs/xfs/xfs_bmap.c xfs_bmap_trace_pre_update(__func__,d,ip,i,w) w 98 fs/xfs/xfs_bmap.h #define XFS_BMAPI_AFLAG(w) xfs_bmapi_aflag(w) w 101 fs/xfs/xfs_bmap.h return (w == XFS_ATTR_FORK ? XFS_BMAPI_ATTRFORK : 0); w 165 fs/xfs/xfs_bmap.h xfs_bmap_trace_exlist(__func__,ip,c,w) w 224 fs/xfs/xfs_bmap_btree.h #define XFS_BM_MAXLEVELS(mp,w) ((mp)->m_bm_maxlevels[(w)]) w 1566 fs/xfs/xfs_da_btree.c int nmap, error, w, count, c, got, i, mapi; w 1572 fs/xfs/xfs_da_btree.c w = args->whichfork; w 1577 fs/xfs/xfs_da_btree.c if (w == XFS_DATA_FORK) { w 1587 fs/xfs/xfs_da_btree.c if ((error = xfs_bmap_first_unused(tp, dp, count, &bno, w))) w 1589 fs/xfs/xfs_da_btree.c if (w == XFS_DATA_FORK) w 1597 fs/xfs/xfs_da_btree.c XFS_BMAPI_AFLAG(w)|XFS_BMAPI_WRITE|XFS_BMAPI_METADATA| w 1618 fs/xfs/xfs_da_btree.c XFS_BMAPI_AFLAG(w)|XFS_BMAPI_WRITE| w 1672 fs/xfs/xfs_da_btree.c int error, w, entno, level, dead_level; w 1682 fs/xfs/xfs_da_btree.c w = args->whichfork; w 1683 fs/xfs/xfs_da_btree.c ASSERT(w == XFS_DATA_FORK); w 1686 fs/xfs/xfs_da_btree.c error = xfs_bmap_last_before(tp, ip, &lastoff, w); w 1698 fs/xfs/xfs_da_btree.c if ((error = xfs_da_read_buf(tp, ip, last_blkno, -1, &last_buf, w))) w 1724 fs/xfs/xfs_da_btree.c if ((error = xfs_da_read_buf(tp, ip, sib_blkno, -1, &sib_buf, w))) w 1746 fs/xfs/xfs_da_btree.c if ((error = xfs_da_read_buf(tp, ip, sib_blkno, -1, &sib_buf, w))) w 1770 fs/xfs/xfs_da_btree.c if ((error = xfs_da_read_buf(tp, ip, par_blkno, -1, &par_buf, w))) w 1820 fs/xfs/xfs_da_btree.c if ((error = xfs_da_read_buf(tp, ip, par_blkno, -1, &par_buf, w))) w 1862 fs/xfs/xfs_da_btree.c int done, error, w, count; w 1867 fs/xfs/xfs_da_btree.c w = args->whichfork; w 1870 fs/xfs/xfs_da_btree.c if (w == XFS_DATA_FORK) w 1880 fs/xfs/xfs_da_btree.c XFS_BMAPI_AFLAG(w)|XFS_BMAPI_METADATA, w 1883 fs/xfs/xfs_da_btree.c if (w != XFS_DATA_FORK) w 186 fs/xfs/xfs_dinode.h ((w) == XFS_DATA_FORK ? \ w 194 fs/xfs/xfs_dinode.h ((w) == XFS_DATA_FORK ? XFS_DFORK_DPTR(dip) : XFS_DFORK_APTR(dip)) w 196 fs/xfs/xfs_dinode.h ((w) == XFS_DATA_FORK ? \ w 200 fs/xfs/xfs_dinode.h ((w) == XFS_DATA_FORK ? \ w 341 fs/xfs/xfs_inode.h ((w) == XFS_DATA_FORK ? \ w 353 fs/xfs/xfs_inode.h ((w) == XFS_DATA_FORK ? \ w 357 fs/xfs/xfs_inode.h ((w) == XFS_DATA_FORK ? \ w 361 fs/xfs/xfs_inode.h ((w) == XFS_DATA_FORK ? \ w 365 fs/xfs/xfs_inode.h ((w) == XFS_DATA_FORK ? \ w 369 fs/xfs/xfs_inode.h ((w) == XFS_DATA_FORK ? \ w 151 fs/xfs/xfs_inode_item.h #define XFS_ILOG_FDATA(w) xfs_ilog_fdata(w) w 154 fs/xfs/xfs_inode_item.h return (w == XFS_DATA_FORK ? XFS_ILOG_DDATA : XFS_ILOG_ADATA); w 159 fs/xfs/xfs_inode_item.h #define XFS_ILOG_FBROOT(w) xfs_ilog_fbroot(w) w 162 fs/xfs/xfs_inode_item.h return (w == XFS_DATA_FORK ? XFS_ILOG_DBROOT : XFS_ILOG_ABROOT); w 165 fs/xfs/xfs_inode_item.h #define XFS_ILOG_FEXT(w) xfs_ilog_fext(w) w 168 fs/xfs/xfs_inode_item.h return (w == XFS_DATA_FORK ? XFS_ILOG_DEXT : XFS_ILOG_AEXT); w 61 fs/xfs/xfs_rtalloc.h #define XFS_RTLOBIT(w) xfs_lowbit32(w) w 62 fs/xfs/xfs_rtalloc.h #define XFS_RTHIBIT(w) xfs_highbit32(w) w 26 fs/xfs/xfs_trans_space.h #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) w 30 fs/xfs/xfs_trans_space.h XFS_EXTENTADD_SPACE_RES(mp,w)) w 31 fs/xfs/xfs_trans_space.h #define XFS_DAENTER_1B(mp,w) ((w) == XFS_DATA_FORK ? (mp)->m_dirblkfsbs : 1) w 33 fs/xfs/xfs_trans_space.h (XFS_DA_NODE_MAXDEPTH + (((w) == XFS_DATA_FORK) ? 2 : 0)) w 35 fs/xfs/xfs_trans_space.h (XFS_DAENTER_1B(mp,w) * XFS_DAENTER_DBS(mp,w)) w 37 fs/xfs/xfs_trans_space.h XFS_NEXTENTADD_SPACE_RES(mp, XFS_DAENTER_1B(mp, w), w) w 39 fs/xfs/xfs_trans_space.h (XFS_DAENTER_DBS(mp,w) * XFS_DAENTER_BMAP1B(mp,w)) w 41 fs/xfs/xfs_trans_space.h (XFS_DAENTER_BLOCKS(mp,w) + XFS_DAENTER_BMAPS(mp,w)) w 42 fs/xfs/xfs_trans_space.h #define XFS_DAREMOVE_SPACE_RES(mp,w) XFS_DAENTER_BMAPS(mp,w) w 25 include/asm-cris/arch-v10/bitops.h : "=r" (res) : "0" (w)); w 35 include/asm-cris/arch-v10/bitops.h : "0" (w)); w 45 include/asm-cris/arch-v10/bitops.h return cris_swapnwbrlz(w); w 70 include/asm-cris/arch-v10/bitops.h return w ? cris_swapwbrlz (w) + 1 : 0; w 18 include/asm-cris/arch-v32/bitops.h : "=r" (res) : "0" (w)); w 30 include/asm-cris/arch-v32/bitops.h : "=r" (res) : "0" (w)); w 42 include/asm-cris/arch-v32/bitops.h return cris_swapnwbrlz(w); w 52 include/asm-cris/arch-v32/bitops.h return cris_swapnwbrlz(~w); w 61 include/asm-cris/arch-v32/bitops.h return w ? cris_swapwbrlz (w) + 1 : 0; w 183 include/asm-frv/math-emu.h fp_get_instr_data w,2,\dest,\label,\addr w 270 include/asm-frv/math-emu.h tst.w (%a0) w 119 include/asm-m32r/io.h *(volatile unsigned short __force *)addr = w; w 507 include/asm-m68k/atarihw.h u_short w[2]; w 75 include/asm-m68k/entry.h pea -1:w | orig d0 w 183 include/asm-m68k/math-emu.h fp_get_instr_data w,2,\dest,\label,\addr w 235 include/asm-m68k/math-emu.h .irp m b,w,l w 285 include/asm-m68k/math-emu.h tst.w (%a0) w 44 include/asm-m68k/raw_io.h #define out_be16(addr,w) (void)((*(__force volatile u16 *) (addr)) = (w)) w 46 include/asm-m68k/raw_io.h #define out_le16(addr,w) (void)((*(__force volatile __le16 *) (addr)) = cpu_to_le16(w)) w 77 include/asm-m68k/uaccess.h __put_user_asm(__pu_err, __pu_val, ptr, w, d, -EFAULT); \ w 145 include/asm-m68k/uaccess.h __get_user_asm(__gu_err, x, ptr, u16, w, d, -EFAULT); \ w 232 include/asm-m68k/uaccess.h __get_user_asm(res, *(u16 *)to, (u16 __user *)from, u16, w, d, 2); w 235 include/asm-m68k/uaccess.h __constant_copy_from_user_asm(res, to, from, tmp, 3, w, b,); w 244 include/asm-m68k/uaccess.h __constant_copy_from_user_asm(res, to, from, tmp, 6, l, w,); w 247 include/asm-m68k/uaccess.h __constant_copy_from_user_asm(res, to, from, tmp, 7, l, w, b); w 256 include/asm-m68k/uaccess.h __constant_copy_from_user_asm(res, to, from, tmp, 10, l, l, w); w 313 include/asm-m68k/uaccess.h __put_user_asm(res, *(u16 *)from, (u16 __user *)to, w, d, 2); w 316 include/asm-m68k/uaccess.h __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,); w 325 include/asm-m68k/uaccess.h __constant_copy_to_user_asm(res, to, from, tmp, 6, l, w,); w 328 include/asm-m68k/uaccess.h __constant_copy_to_user_asm(res, to, from, tmp, 7, l, w, b); w 337 include/asm-m68k/uaccess.h __constant_copy_to_user_asm(res, to, from, tmp, 10, l, l, w); w 37 include/asm-mn10300/div64.h u32 w[2]; \ w 48 include/asm-mn10300/div64.h : "=d"(__rem), "=r"(__quot.w[1]), "=r"(__quot.w[0]) \ w 49 include/asm-mn10300/div64.h : "r"(base), "0"(__rem), "1"(__quot.w[1]), \ w 50 include/asm-mn10300/div64.h "2"(__quot.w[0]) \ w 18 include/asm-mn10300/tlbflush.h int w; \ w 23 include/asm-mn10300/tlbflush.h : "=d"(w) \ w 295 include/asm-mn10300/uaccess.h int w; \ w 312 include/asm-mn10300/uaccess.h : "=a"(__from), "=a"(__to), "=r"(size), "=&r"(w)\ w 323 include/asm-mn10300/uaccess.h int w; \ w 348 include/asm-mn10300/uaccess.h : "=a"(__from), "=a"(__to), "=r"(size), "=&r"(w)\ w 11 include/asm-parisc/system.h unsigned int w:1; w 17 include/crypto/twofish.h u32 s[4][256], w[8], k[32]; w 116 include/drm/i810_drm.h unsigned int w; w 134 include/drm/i810_drm.h unsigned int w; w 166 include/drm/i830_drm.h unsigned int w; w 56 include/drm/i915_drm.h unsigned int w; w 45 include/linux/bitops.h return sizeof(w) == 4 ? hweight32(w) : hweight64(w); w 64 include/linux/dvb/video.h int w; w 102 include/linux/mempolicy.h } w; w 140 include/linux/mtd/map.h switch (w) { w 43 include/linux/nfsacl.h unsigned int w = 16; w 44 include/linux/nfsacl.h w += max(acl_access ? (int)acl_access->a_count : 3, 4) * 12; w 46 include/linux/nfsacl.h w += max((int)acl_default->a_count, 4) * 12; w 47 include/linux/nfsacl.h return w; w 190 include/linux/ppp-comp.h #define DEFLATE_MAKE_OPT(w) ((((w) - 8) << 4) + DEFLATE_METHOD_VAL) w 554 include/linux/videodev2.h struct v4l2_rect w; w 140 include/linux/workqueue.h work_pending(&(w)->work) w 33 include/math-emu/op-2.h #define _FP_FRAC_WORD_2(X,w) (X##_f##w) w 35 include/math-emu/op-4.h #define _FP_FRAC_WORD_4(X,w) (X##_f[w]) w 32 include/math-emu/op-8.h #define _FP_FRAC_WORD_8(X,w) (X##_f[w]) w 95 include/net/tipc/tipc_msg.h return (msg_word(m, w) >> pos) & mask; w 226 include/video/pm3fb.h #define PM3VideoOverlayWidth_WIDTH(w) (((w) & 0xfff) << 0) w 555 include/video/pm3fb.h #define PM3FBDestReadBufferWidth_Width(w) ((w) & 0x0fff) w 612 include/video/pm3fb.h #define PM3FBSourceReadBufferWidth_Width(w) ((w) & 0x0fff) w 626 include/video/pm3fb.h #define PM3FBSourceReadMode_WrapX(w) (((w) & 0xf) << 16) w 627 include/video/pm3fb.h #define PM3FBSourceReadMode_WrapY(w) (((w) & 0xf) << 20) w 645 include/video/pm3fb.h #define PM3FBWriteBufferWidth_Width(w) ((w) & 0x0fff) w 690 include/video/pm3fb.h #define PM3LBDestReadMode_Width(w) (((w) & 0xfff) << 12) w 692 include/video/pm3fb.h #define PM3LBReadFormat_DepthWidth(w) (((w) & 0x3) << 0) w 693 include/video/pm3fb.h #define PM3LBReadFormat_StencilWidth(w) (((w) & 0xf) << 2) w 695 include/video/pm3fb.h #define PM3LBReadFormat_FCPWidth(w) (((w) & 0xf) << 11) w 697 include/video/pm3fb.h #define PM3LBReadFormat_GIDWidth(w) (((w) & 0x7) << 20) w 710 include/video/pm3fb.h #define PM3LBSourceReadMode_Width(w) (((w) & 0xfff) << 11) w 715 include/video/pm3fb.h #define PM3LBWriteFormat_DepthWidth(w) (((w) & 0x3) << 0) w 716 include/video/pm3fb.h #define PM3LBWriteFormat_StencilWidth(w) (((w) & 0xf) << 2) w 718 include/video/pm3fb.h #define PM3LBWriteFormat_GIDWidth(w) (((w) & 0x7) << 20) w 730 include/video/pm3fb.h #define PM3LBWriteMode_Width(w) (((w) & 0xfff) << 12) w 898 include/video/pm3fb.h #define PM3TextureMapWidth_Width(w) (((w) & 0xfff) << 0) w 967 include/video/pm3fb.h #define PM3Render2D_Width(w) ((w) & 0x0fff) w 980 include/video/pm3fb.h #define PM3Render2DGlyph_Width(w) ((w) & 0x7f) w 1051 kernel/auditfilter.c struct audit_watch *w, *nextw; w 1057 kernel/auditfilter.c list_for_each_entry_safe(w, nextw, &parent->watches, wlist) { w 1058 kernel/auditfilter.c list_for_each_entry_safe(r, nextr, &w->rules, rlist) { w 1068 kernel/auditfilter.c audit_log_untrustedstring(ab, w->path); w 1083 kernel/auditfilter.c audit_remove_watch(w); w 1187 kernel/auditfilter.c struct audit_watch *w, *watch = krule->watch; w 1190 kernel/auditfilter.c list_for_each_entry(w, &parent->watches, wlist) { w 1191 kernel/auditfilter.c if (strcmp(watch->path, w->path)) w 1200 kernel/auditfilter.c audit_get_watch(w); w 1201 kernel/auditfilter.c krule->watch = watch = w; w 27 kernel/rtmutex-debug.h do { (w)->deadlock_lock = NULL; } while (0) w 70 kernel/rtmutex_common.h struct rt_mutex_waiter *w; w 72 kernel/rtmutex_common.h w = plist_first_entry(&lock->wait_list, struct rt_mutex_waiter, w 74 kernel/rtmutex_common.h BUG_ON(w->lock != lock); w 76 kernel/rtmutex_common.h return w; w 283 kernel/user.c struct user_struct *up = container_of(w, struct user_struct, work); w 258 lib/bitmap.c int k, w = 0, lim = bits/BITS_PER_LONG; w 261 lib/bitmap.c w += hweight_long(bitmap[k]); w 264 lib/bitmap.c w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); w 266 lib/bitmap.c return w; w 655 lib/bitmap.c int oldbit, w; w 661 lib/bitmap.c w = bitmap_weight(new, bits); w 666 lib/bitmap.c if (n < 0 || w == 0) w 669 lib/bitmap.c set_bit(bitmap_ord_to_pos(new, n % w, bits), dst); w 703 lib/bitmap.c int w = bitmap_weight(new, bits); w 705 lib/bitmap.c if (n < 0 || w == 0) w 708 lib/bitmap.c return bitmap_ord_to_pos(new, n % w, bits); w 14 lib/hweight.c unsigned int res = w - ((w >> 1) & 0x55555555); w 24 lib/hweight.c unsigned int res = w - ((w >> 1) & 0x5555); w 33 lib/hweight.c unsigned int res = w - ((w >> 1) & 0x55); w 42 lib/hweight.c return hweight32((unsigned int)(w >> 32)) + hweight32((unsigned int)w); w 45 lib/hweight.c w -= (w >> 1) & 0x5555555555555555ul; w 46 lib/hweight.c w = (w & 0x3333333333333333ul) + ((w >> 2) & 0x3333333333333333ul); w 47 lib/hweight.c w = (w + (w >> 4)) & 0x0f0f0f0f0f0f0f0ful; w 48 lib/hweight.c return (w * 0x0101010101010101ul) >> 56; w 50 lib/hweight.c __u64 res = w - ((w >> 1) & 0x5555555555555555ul); w 167 lib/inflate.c #define flush_output(w) (wp=(w),flush_window()) w 344 lib/inflate.c register int w; /* bits before this table == (l * h) */ w 443 lib/inflate.c w = -l; /* bits decoded == (l * h) */ w 459 lib/inflate.c while (k > w + l) w 463 lib/inflate.c w += l; /* previous table always l bits */ w 466 lib/inflate.c z = (z = g - w) > (unsigned)l ? l : z; /* upper limit on table size */ w 467 lib/inflate.c if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */ w 506 lib/inflate.c j = i >> (w - l); /* (get around Turbo C bug) */ w 514 lib/inflate.c r.b = (uch)(k - w); w 531 lib/inflate.c f = 1 << (k - w); w 532 lib/inflate.c for (j = i >> w; j < z; j += f) w 541 lib/inflate.c while ((i & ((1 << w) - 1)) != x[h]) w 544 lib/inflate.c w -= l; w 596 lib/inflate.c unsigned w; /* current window position */ w 606 lib/inflate.c w = wp; /* initialize window position */ w 625 lib/inflate.c slide[w++] = (uch)t->v.n; w 626 lib/inflate.c Tracevv((stderr, "%c", slide[w-1])); w 627 lib/inflate.c if (w == WSIZE) w 629 lib/inflate.c flush_output(w); w 630 lib/inflate.c w = 0; w 656 lib/inflate.c d = w - t->v.n - ((unsigned)b & mask_bits[e]); w 658 lib/inflate.c Tracevv((stderr,"\\[%d,%d]", w-d, n)); w 662 lib/inflate.c n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e); w 664 lib/inflate.c if (w - d >= e) /* (this test assumes unsigned comparison) */ w 666 lib/inflate.c memcpy(slide + w, slide + d, e); w 667 lib/inflate.c w += e; w 673 lib/inflate.c slide[w++] = slide[d++]; w 674 lib/inflate.c Tracevv((stderr, "%c", slide[w-1])); w 676 lib/inflate.c if (w == WSIZE) w 678 lib/inflate.c flush_output(w); w 679 lib/inflate.c w = 0; w 687 lib/inflate.c wp = w; /* restore global window pointer */ w 704 lib/inflate.c unsigned w; /* current window position */ w 713 lib/inflate.c w = wp; /* initialize window position */ w 735 lib/inflate.c slide[w++] = (uch)b; w 736 lib/inflate.c if (w == WSIZE) w 738 lib/inflate.c flush_output(w); w 739 lib/inflate.c w = 0; w 746 lib/inflate.c wp = w; /* restore global window pointer */ w 282 lib/zlib_deflate/defutil.h put_byte(s, (uch)((w) & 0xff)); \ w 283 lib/zlib_deflate/defutil.h put_byte(s, (uch)((ush)(w) >> 8)); \ w 234 mm/mempolicy.c policy->w.user_nodemask = *nodes; w 236 mm/mempolicy.c policy->w.cpuset_mems_allowed = w 267 mm/mempolicy.c nodes_and(tmp, pol->w.user_nodemask, *nodes); w 269 mm/mempolicy.c mpol_relative_nodemask(&tmp, &pol->w.user_nodemask, nodes); w 271 mm/mempolicy.c nodes_remap(tmp, pol->v.nodes, pol->w.cpuset_mems_allowed, w 273 mm/mempolicy.c pol->w.cpuset_mems_allowed = *nodes; w 292 mm/mempolicy.c int node = first_node(pol->w.user_nodemask); w 300 mm/mempolicy.c mpol_relative_nodemask(&tmp, &pol->w.user_nodemask, nodes); w 304 mm/mempolicy.c pol->w.cpuset_mems_allowed, w 306 mm/mempolicy.c pol->w.cpuset_mems_allowed = *nodes; w 317 mm/mempolicy.c nodes_equal(pol->w.cpuset_mems_allowed, *newmask)) w 1653 mm/mempolicy.c return nodes_equal(a->w.user_nodemask, b->w.user_nodemask); w 1708 mm/mempolicy.c struct sp_node *w = NULL; w 1712 mm/mempolicy.c w = rb_entry(prev, struct sp_node, nd); w 1713 mm/mempolicy.c if (w->end <= start) w 1853 mm/mempolicy.c new = mpol_new(mpol->mode, mpol->flags, &mpol->w.user_nodemask); w 2078 mm/mempolicy.c new->w.user_nodemask = nodes; /* save for contextualization */ w 2138 mm/mempolicy.c nodes = pol->w.user_nodemask; w 4054 mm/slab.c container_of(w, struct delayed_work, work); w 71 net/bridge/netfilter/ebtables.c par->target = w->u.watcher; w 72 net/bridge/netfilter/ebtables.c par->targinfo = w->data; w 73 net/bridge/netfilter/ebtables.c w->u.watcher->target(skb, par); w 372 net/bridge/netfilter/ebtables.c size_t left = ((char *)e + e->target_offset) - (char *)w; w 376 net/bridge/netfilter/ebtables.c left - sizeof(struct ebt_entry_watcher) < w->watcher_size) w 380 net/bridge/netfilter/ebtables.c xt_find_target(NFPROTO_BRIDGE, w->u.name, 0), w 381 net/bridge/netfilter/ebtables.c "ebt_%s", w->u.name); w 386 net/bridge/netfilter/ebtables.c w->u.watcher = watcher; w 389 net/bridge/netfilter/ebtables.c par->targinfo = w->data; w 390 net/bridge/netfilter/ebtables.c ret = xt_check_target(par, w->watcher_size, w 591 net/bridge/netfilter/ebtables.c par.target = w->u.watcher; w 592 net/bridge/netfilter/ebtables.c par.targinfo = w->data; w 1287 net/bridge/netfilter/ebtables.c char __user *hlp = ubase + ((char *)w - base); w 1288 net/bridge/netfilter/ebtables.c if (copy_to_user(hlp , w->u.watcher->name, EBT_FUNCTION_MAXNAMELEN)) w 121 net/core/utils.c int w = 0; w 135 net/core/utils.c if (w == 0) w 137 net/core/utils.c *d++ = w & 0xff; w 138 net/core/utils.c w = 0; w 147 net/core/utils.c w = (w * 10) + c; w 148 net/core/utils.c if ((w & 0xffff) > 255) { w 177 net/core/utils.c int w = 0; w 195 net/core/utils.c *d++ = (w >> 8) & 0xff; w 196 net/core/utils.c *d++ = w & 0xff; w 198 net/core/utils.c w = 0; w 240 net/core/utils.c w = (w << 4) | (0xff & c); w 242 net/core/utils.c if (!(w & 0xf000)) { w 450 net/decnet/dn_fib.c int w; w 469 net/decnet/dn_fib.c w = jiffies % fi->fib_power; w 473 net/decnet/dn_fib.c if ((w -= nh->nh_power) <= 0) { w 1179 net/ipv4/fib_semantics.c int w; w 1204 net/ipv4/fib_semantics.c w = jiffies % fi->fib_power; w 1208 net/ipv4/fib_semantics.c if ((w -= nh->nh_power) <= 0) { w 63 net/ipv4/tcp_westwood.c struct westwood *w = inet_csk_ca(sk); w 65 net/ipv4/tcp_westwood.c w->bk = 0; w 66 net/ipv4/tcp_westwood.c w->bw_ns_est = 0; w 67 net/ipv4/tcp_westwood.c w->bw_est = 0; w 68 net/ipv4/tcp_westwood.c w->accounted = 0; w 69 net/ipv4/tcp_westwood.c w->cumul_ack = 0; w 70 net/ipv4/tcp_westwood.c w->reset_rtt_min = 1; w 71 net/ipv4/tcp_westwood.c w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; w 72 net/ipv4/tcp_westwood.c w->rtt_win_sx = tcp_time_stamp; w 73 net/ipv4/tcp_westwood.c w->snd_una = tcp_sk(sk)->snd_una; w 74 net/ipv4/tcp_westwood.c w->first_ack = 1; w 89 net/ipv4/tcp_westwood.c if (w->bw_ns_est == 0 && w->bw_est == 0) { w 90 net/ipv4/tcp_westwood.c w->bw_ns_est = w->bk / delta; w 91 net/ipv4/tcp_westwood.c w->bw_est = w->bw_ns_est; w 93 net/ipv4/tcp_westwood.c w->bw_ns_est = westwood_do_filter(w->bw_ns_est, w->bk / delta); w 94 net/ipv4/tcp_westwood.c w->bw_est = westwood_do_filter(w->bw_est, w->bw_ns_est); w 105 net/ipv4/tcp_westwood.c struct westwood *w = inet_csk_ca(sk); w 108 net/ipv4/tcp_westwood.c w->rtt = usecs_to_jiffies(rtt); w 118 net/ipv4/tcp_westwood.c struct westwood *w = inet_csk_ca(sk); w 119 net/ipv4/tcp_westwood.c s32 delta = tcp_time_stamp - w->rtt_win_sx; w 125 net/ipv4/tcp_westwood.c if (w->first_ack) { w 126 net/ipv4/tcp_westwood.c w->snd_una = tcp_sk(sk)->snd_una; w 127 net/ipv4/tcp_westwood.c w->first_ack = 0; w 139 net/ipv4/tcp_westwood.c if (w->rtt && delta > max_t(u32, w->rtt, TCP_WESTWOOD_RTT_MIN)) { w 140 net/ipv4/tcp_westwood.c westwood_filter(w, delta); w 142 net/ipv4/tcp_westwood.c w->bk = 0; w 143 net/ipv4/tcp_westwood.c w->rtt_win_sx = tcp_time_stamp; w 149 net/ipv4/tcp_westwood.c if (w->reset_rtt_min) { w 150 net/ipv4/tcp_westwood.c w->rtt_min = w->rtt; w 151 net/ipv4/tcp_westwood.c w->reset_rtt_min = 0; w 153 net/ipv4/tcp_westwood.c w->rtt_min = min(w->rtt, w->rtt_min); w 166 net/ipv4/tcp_westwood.c struct westwood *w = inet_csk_ca(sk); w 170 net/ipv4/tcp_westwood.c w->bk += tp->snd_una - w->snd_una; w 171 net/ipv4/tcp_westwood.c w->snd_una = tp->snd_una; w 172 net/ipv4/tcp_westwood.c update_rtt_min(w); w 183 net/ipv4/tcp_westwood.c struct westwood *w = inet_csk_ca(sk); w 185 net/ipv4/tcp_westwood.c w->cumul_ack = tp->snd_una - w->snd_una; w 190 net/ipv4/tcp_westwood.c if (!w->cumul_ack) { w 191 net/ipv4/tcp_westwood.c w->accounted += tp->mss_cache; w 192 net/ipv4/tcp_westwood.c w->cumul_ack = tp->mss_cache; w 195 net/ipv4/tcp_westwood.c if (w->cumul_ack > tp->mss_cache) { w 197 net/ipv4/tcp_westwood.c if (w->accounted >= w->cumul_ack) { w 198 net/ipv4/tcp_westwood.c w->accounted -= w->cumul_ack; w 199 net/ipv4/tcp_westwood.c w->cumul_ack = tp->mss_cache; w 201 net/ipv4/tcp_westwood.c w->cumul_ack -= w->accounted; w 202 net/ipv4/tcp_westwood.c w->accounted = 0; w 206 net/ipv4/tcp_westwood.c w->snd_una = tp->snd_una; w 208 net/ipv4/tcp_westwood.c return w->cumul_ack; w 221 net/ipv4/tcp_westwood.c const struct westwood *w = inet_csk_ca(sk); w 222 net/ipv4/tcp_westwood.c return max_t(u32, (w->bw_est * w->rtt_min) / tp->mss_cache, 2); w 228 net/ipv4/tcp_westwood.c struct westwood *w = inet_csk_ca(sk); w 242 net/ipv4/tcp_westwood.c w->reset_rtt_min = 1; w 247 net/ipv4/tcp_westwood.c w->bk += westwood_acked_count(sk); w 248 net/ipv4/tcp_westwood.c update_rtt_min(w); w 64 net/ipv6/ip6_fib.c struct fib6_walker_t w; w 101 net/ipv6/ip6_fib.c #define FOR_WALKERS(w) for ((w)=fib6_walker_list.next; (w) != &fib6_walker_list; (w)=(w)->next) w 106 net/ipv6/ip6_fib.c w->next = fib6_walker_list.next; w 107 net/ipv6/ip6_fib.c w->prev = &fib6_walker_list; w 108 net/ipv6/ip6_fib.c w->next->prev = w; w 109 net/ipv6/ip6_fib.c w->prev->next = w; w 116 net/ipv6/ip6_fib.c w->next->prev = w->prev; w 117 net/ipv6/ip6_fib.c w->prev->next = w->next; w 118 net/ipv6/ip6_fib.c w->prev = w->next = w; w 283 net/ipv6/ip6_fib.c for (rt = w->leaf; rt; rt = rt->u.dst.rt6_next) { w 284 net/ipv6/ip6_fib.c res = rt6_dump_route(rt, w->args); w 287 net/ipv6/ip6_fib.c w->leaf = rt; w 292 net/ipv6/ip6_fib.c w->leaf = NULL; w 298 net/ipv6/ip6_fib.c struct fib6_walker_t *w = (void*)cb->args[2]; w 300 net/ipv6/ip6_fib.c if (w) { w 302 net/ipv6/ip6_fib.c kfree(w); w 317 net/ipv6/ip6_fib.c struct fib6_walker_t *w; w 320 net/ipv6/ip6_fib.c w = (void *)cb->args[2]; w 321 net/ipv6/ip6_fib.c w->root = &table->tb6_root; w 325 net/ipv6/ip6_fib.c res = fib6_walk(w); w 331 net/ipv6/ip6_fib.c res = fib6_walk_continue(w); w 335 net/ipv6/ip6_fib.c fib6_walker_unlink(w); w 338 net/ipv6/ip6_fib.c fib6_walker_unlink(w); w 351 net/ipv6/ip6_fib.c struct fib6_walker_t *w; w 360 net/ipv6/ip6_fib.c w = (void *)cb->args[2]; w 361 net/ipv6/ip6_fib.c if (w == NULL) { w 372 net/ipv6/ip6_fib.c w = kzalloc(sizeof(*w), GFP_ATOMIC); w 373 net/ipv6/ip6_fib.c if (w == NULL) w 375 net/ipv6/ip6_fib.c w->func = fib6_dump_node; w 376 net/ipv6/ip6_fib.c cb->args[2] = (long)w; w 382 net/ipv6/ip6_fib.c w->args = &arg; w 993 net/ipv6/ip6_fib.c struct fib6_walker_t *w; w 1049 net/ipv6/ip6_fib.c FOR_WALKERS(w) { w 1051 net/ipv6/ip6_fib.c if (w->root == fn) { w 1052 net/ipv6/ip6_fib.c w->root = w->node = NULL; w 1053 net/ipv6/ip6_fib.c RT6_TRACE("W %p adjusted by delroot 1\n", w); w 1054 net/ipv6/ip6_fib.c } else if (w->node == fn) { w 1055 net/ipv6/ip6_fib.c RT6_TRACE("W %p adjusted by delnode 1, s=%d/%d\n", w, w->state, nstate); w 1056 net/ipv6/ip6_fib.c w->node = pn; w 1057 net/ipv6/ip6_fib.c w->state = nstate; w 1060 net/ipv6/ip6_fib.c if (w->root == fn) { w 1061 net/ipv6/ip6_fib.c w->root = child; w 1062 net/ipv6/ip6_fib.c RT6_TRACE("W %p adjusted by delroot 2\n", w); w 1064 net/ipv6/ip6_fib.c if (w->node == fn) { w 1065 net/ipv6/ip6_fib.c w->node = child; w 1067 net/ipv6/ip6_fib.c RT6_TRACE("W %p adjusted by delnode 2, s=%d\n", w, w->state); w 1068 net/ipv6/ip6_fib.c w->state = w->state>=FWS_R ? FWS_U : FWS_INIT; w 1070 net/ipv6/ip6_fib.c RT6_TRACE("W %p adjusted by delnode 2, s=%d\n", w, w->state); w 1071 net/ipv6/ip6_fib.c w->state = w->state>=FWS_C ? FWS_U : FWS_INIT; w 1091 net/ipv6/ip6_fib.c struct fib6_walker_t *w; w 1109 net/ipv6/ip6_fib.c FOR_WALKERS(w) { w 1110 net/ipv6/ip6_fib.c if (w->state == FWS_C && w->leaf == rt) { w 1111 net/ipv6/ip6_fib.c RT6_TRACE("walker %p adjusted by delroute\n", w); w 1112 net/ipv6/ip6_fib.c w->leaf = rt->u.dst.rt6_next; w 1113 net/ipv6/ip6_fib.c if (w->leaf == NULL) w 1114 net/ipv6/ip6_fib.c w->state = FWS_U; w 1223 net/ipv6/ip6_fib.c fn = w->node; w 1227 net/ipv6/ip6_fib.c if (w->prune && fn != w->root && w 1228 net/ipv6/ip6_fib.c fn->fn_flags&RTN_RTINFO && w->state < FWS_C) { w 1229 net/ipv6/ip6_fib.c w->state = FWS_C; w 1230 net/ipv6/ip6_fib.c w->leaf = fn->leaf; w 1232 net/ipv6/ip6_fib.c switch (w->state) { w 1236 net/ipv6/ip6_fib.c w->node = FIB6_SUBTREE(fn); w 1239 net/ipv6/ip6_fib.c w->state = FWS_L; w 1243 net/ipv6/ip6_fib.c w->node = fn->left; w 1244 net/ipv6/ip6_fib.c w->state = FWS_INIT; w 1247 net/ipv6/ip6_fib.c w->state = FWS_R; w 1250 net/ipv6/ip6_fib.c w->node = fn->right; w 1251 net/ipv6/ip6_fib.c w->state = FWS_INIT; w 1254 net/ipv6/ip6_fib.c w->state = FWS_C; w 1255 net/ipv6/ip6_fib.c w->leaf = fn->leaf; w 1257 net/ipv6/ip6_fib.c if (w->leaf && fn->fn_flags&RTN_RTINFO) { w 1258 net/ipv6/ip6_fib.c int err = w->func(w); w 1263 net/ipv6/ip6_fib.c w->state = FWS_U; w 1265 net/ipv6/ip6_fib.c if (fn == w->root) w 1268 net/ipv6/ip6_fib.c w->node = pn; w 1272 net/ipv6/ip6_fib.c w->state = FWS_L; w 1277 net/ipv6/ip6_fib.c w->state = FWS_R; w 1281 net/ipv6/ip6_fib.c w->state = FWS_C; w 1282 net/ipv6/ip6_fib.c w->leaf = w->node->leaf; w 1296 net/ipv6/ip6_fib.c w->state = FWS_INIT; w 1297 net/ipv6/ip6_fib.c w->node = w->root; w 1299 net/ipv6/ip6_fib.c fib6_walker_link(w); w 1300 net/ipv6/ip6_fib.c res = fib6_walk_continue(w); w 1302 net/ipv6/ip6_fib.c fib6_walker_unlink(w); w 1310 net/ipv6/ip6_fib.c struct fib6_cleaner_t *c = container_of(w, struct fib6_cleaner_t, w); w 1315 net/ipv6/ip6_fib.c for (rt = w->leaf; rt; rt = rt->u.dst.rt6_next) { w 1318 net/ipv6/ip6_fib.c w->leaf = rt; w 1330 net/ipv6/ip6_fib.c w->leaf = rt; w 1351 net/ipv6/ip6_fib.c c.w.root = root; w 1352 net/ipv6/ip6_fib.c c.w.func = fib6_clean_node; w 1353 net/ipv6/ip6_fib.c c.w.prune = prune; w 1358 net/ipv6/ip6_fib.c fib6_walk(&c.w); w 1176 net/irda/irlap_frame.c int w, x, y, z; w 1196 net/irda/irlap_frame.c w = frame[3] & 0x01; w 1201 net/irda/irlap_frame.c if (w) { w 79 net/netfilter/xt_time.c unsigned int v, w; w 84 net/netfilter/xt_time.c w = v / 60; w 85 net/netfilter/xt_time.c r->minute = w % 60; w 86 net/netfilter/xt_time.c r->hour = w / 60; w 107 net/netfilter/xt_time.c unsigned int year, i, w = r->dse; w 117 net/netfilter/xt_time.c for (i = 0, year = DSE_FIRST; days_since_epoch[i] > w; w 121 net/netfilter/xt_time.c w -= days_since_epoch[i]; w 141 net/netfilter/xt_time.c i > 0 && days_since_leapyear[i] > w; --i) w 143 net/netfilter/xt_time.c r->monthday = w - days_since_leapyear[i] + 1; w 146 net/netfilter/xt_time.c i > 0 && days_since_year[i] > w; --i) w 148 net/netfilter/xt_time.c r->monthday = w - days_since_year[i] + 1; w 380 net/sched/cls_api.c struct tcf_walker w; w 456 net/sched/cls_api.c arg.w.fn = tcf_node_dump; w 459 net/sched/cls_api.c arg.w.stop = 0; w 460 net/sched/cls_api.c arg.w.skip = cb->args[1]-1; w 461 net/sched/cls_api.c arg.w.count = 0; w 462 net/sched/cls_api.c tp->ops->walk(tp, &arg.w); w 463 net/sched/cls_api.c cb->args[1] = arg.w.count+1; w 464 net/sched/cls_api.c if (arg.w.stop) w 901 net/sched/sch_api.c struct qdisc_walker w; w 915 net/sched/sch_api.c arg.w.stop = arg.w.skip = arg.w.count = 0; w 916 net/sched/sch_api.c arg.w.fn = check_loop_fn; w 919 net/sched/sch_api.c q->ops->cl_ops->walk(q, &arg.w); w 920 net/sched/sch_api.c return arg.w.stop ? -ELOOP : 0; w 928 net/sched/sch_api.c struct check_loop_arg *arg = (struct check_loop_arg *)w; w 1503 net/sched/sch_api.c struct qdisc_walker w; w 1531 net/sched/sch_api.c arg.w.fn = qdisc_class_dump; w 1534 net/sched/sch_api.c arg.w.stop = 0; w 1535 net/sched/sch_api.c arg.w.skip = cb->args[1]; w 1536 net/sched/sch_api.c arg.w.count = 0; w 1537 net/sched/sch_api.c q->ops->cl_ops->walk(q, &arg.w); w 1538 net/sched/sch_api.c cb->args[1] = arg.w.count; w 1539 net/sched/sch_api.c if (arg.w.stop) w 581 net/sunrpc/xprtrdma/rpc_rdma.c __be32 *w = (__be32 *) cur_wchunk; w 582 net/sunrpc/xprtrdma/rpc_rdma.c if (*w++ != xdr_zero) w 584 net/sunrpc/xprtrdma/rpc_rdma.c cur_wchunk = (struct rpcrdma_write_chunk *) w; w 83 net/tipc/bcast.h int w = n / WSIZE; w 86 net/tipc/bcast.h if ((nm_ptr->map[w] & mask) == 0) { w 88 net/tipc/bcast.h nm_ptr->map[w] |= mask; w 99 net/tipc/bcast.h int w = n / WSIZE; w 102 net/tipc/bcast.h if ((nm_ptr->map[w] & mask) != 0) { w 103 net/tipc/bcast.h nm_ptr->map[w] &= ~mask; w 128 net/tipc/bcast.h int w; w 133 net/tipc/bcast.h for (w = 0; w < stop; w++) { w 134 net/tipc/bcast.h map = nm_a->map[w] ^ (nm_a->map[w] & nm_b->map[w]); w 135 net/tipc/bcast.h nm_diff->map[w] = map; w 66 net/tipc/msg.h m->hdr[w] = htonl(val); w 74 net/tipc/msg.h m->hdr[w] &= ~htonl(mask); w 75 net/tipc/msg.h m->hdr[w] |= htonl(val); w 572 scripts/kconfig/gconf.c gint w, h; w 575 scripts/kconfig/gconf.c gtk_window_get_default_size(GTK_WINDOW(main_wnd), &w, &h); w 577 scripts/kconfig/gconf.c gdk_window_get_size(widget->window, &w, &h); w 832 scripts/kconfig/gconf.c gint w, h; w 835 scripts/kconfig/gconf.c gtk_window_get_default_size(GTK_WINDOW(main_wnd), &w, &h); w 836 scripts/kconfig/gconf.c gtk_paned_set_position(GTK_PANED(hpaned), w / 2); w 325 sound/core/oss/pcm_plugin.c unsigned int w; w 328 sound/core/oss/pcm_plugin.c w = snd_pcm_format_width(f); w 329 sound/core/oss/pcm_plugin.c if (w >= width) w 330 sound/core/oss/pcm_plugin.c badness = w - width; w 332 sound/core/oss/pcm_plugin.c badness = width - w + 32; w 57 sound/drivers/vx/vx_mixer.c } w; w 68 sound/drivers/vx/vx_mixer.c } w; w 589 sound/isa/sb/emu8000.c unsigned short w; w 605 sound/isa/sb/emu8000.c w = bass_parm[bass][2] + treble_parm[treble][8]; w 606 sound/isa/sb/emu8000.c EMU8000_INIT4_WRITE(emu, 0x15, (unsigned short)(w + 0x0262)); w 607 sound/isa/sb/emu8000.c EMU8000_INIT4_WRITE(emu, 0x1d, (unsigned short)(w + 0x8362)); w 189 sound/mips/ad1843.c int w; w 191 sound/mips/ad1843.c w = ad1843->read(ad1843->chip, field->reg); w 192 sound/mips/ad1843.c return w >> field->lo_bit & ((1 << field->nbits) - 1); w 203 sound/mips/ad1843.c int w, mask, oldval, newbits; w 205 sound/mips/ad1843.c w = ad1843->read(ad1843->chip, field->reg); w 207 sound/mips/ad1843.c oldval = (w & mask) >> field->lo_bit; w 209 sound/mips/ad1843.c w = (w & ~mask) | newbits; w 210 sound/mips/ad1843.c ad1843->write(ad1843->chip, field->reg, w); w 232 sound/mips/ad1843.c int w = 0, mask, *value, reg = -1; w 240 sound/mips/ad1843.c w = ad1843->read(ad1843->chip, reg); w 244 sound/mips/ad1843.c *value = w >> fp->lo_bit & mask; w 266 sound/mips/ad1843.c int w, m, mask, bits; w 287 sound/mips/ad1843.c w = ad1843->read(ad1843->chip, reg); w 289 sound/mips/ad1843.c w = 0; w 290 sound/mips/ad1843.c w = (w & ~mask) | bits; w 291 sound/mips/ad1843.c ad1843->write(ad1843->chip, reg, w); w 145 sound/oss/msnd.h #define HIBYTE(w) ((BYTE)(((WORD)(w) >> 8) & 0xFF)) w 146 sound/oss/msnd.h #define LOBYTE(w) ((BYTE)(w)) w 150 sound/oss/msnd.h #define PCTODSP_OFFSET(w) (USHORT)((w)/2) w 151 sound/oss/msnd.h #define PCTODSP_BASED(w) (USHORT)(((w)/2) + DSP_BASE_ADDR) w 152 sound/oss/msnd.h #define DSPTOPC_BASED(w) (((w) - DSP_BASE_ADDR) * 2) w 945 sound/oss/vwsnd.c int w = li_read_ad1843_reg(lith, field->reg); w 946 sound/oss/vwsnd.c int val = w >> field->lo_bit & ((1 << field->nbits) - 1); w 962 sound/oss/vwsnd.c int w = li_read_ad1843_reg(lith, field->reg); w 964 sound/oss/vwsnd.c int oldval = (w & mask) >> field->lo_bit; w 966 sound/oss/vwsnd.c w = (w & ~mask) | newbits; w 967 sound/oss/vwsnd.c (void) li_write_ad1843_reg(lith, field->reg, w); w 994 sound/oss/vwsnd.c int w = 0, mask, *value, reg = -1; w 1002 sound/oss/vwsnd.c w = li_read_ad1843_reg(lith, reg); w 1006 sound/oss/vwsnd.c *value = w >> fp->lo_bit & mask; w 1028 sound/oss/vwsnd.c int w, m, mask, bits; w 1048 sound/oss/vwsnd.c w = li_read_ad1843_reg(lith, reg); w 1050 sound/oss/vwsnd.c w = 0; w 1051 sound/oss/vwsnd.c w = (w & ~mask) | bits; w 1052 sound/oss/vwsnd.c (void) li_write_ad1843_reg(lith, reg, w); w 3244 sound/oss/vwsnd.c int w; w 3258 sound/oss/vwsnd.c w = li_readl(&lith, LI_HOST_CONTROLLER); w 3259 sound/oss/vwsnd.c } while (w == LI_HC_LINK_ENABLE && time_before(jiffies, later)); w 3263 sound/oss/vwsnd.c DBGPV("HC = 0x%04x\n", w); w 3265 sound/oss/vwsnd.c if ((w == LI_HC_LINK_ENABLE) || (w & LI_HC_LINK_CODEC)) { w 3275 sound/oss/vwsnd.c if (w & LI_HC_LINK_FAILURE) { w 2035 sound/pci/es1968.c unsigned short w; w 2049 sound/pci/es1968.c pci_read_config_word(chip->pci, 0x58, &w); /* something magical with gpio and bus arb. */ w 2051 sound/pci/es1968.c if (w & 1) w 2083 sound/pci/es1968.c for (w = 0;; w++) { w 2098 sound/pci/es1968.c if (w > 10000) { w 2105 sound/pci/es1968.c for (w = 0; w < 10000; w++) { w 2152 sound/pci/es1968.c u16 w; w 2167 sound/pci/es1968.c pci_read_config_word(pci, ESM_CONFIG_A, &w); w 2169 sound/pci/es1968.c w &= ~DMA_CLEAR; /* Clear DMA bits */ w 2170 sound/pci/es1968.c w &= ~(PIC_SNOOP1 | PIC_SNOOP2); /* Clear Pic Snoop Mode Bits */ w 2171 sound/pci/es1968.c w &= ~SAFEGUARD; /* Safeguard off */ w 2172 sound/pci/es1968.c w |= POST_WRITE; /* Posted write */ w 2173 sound/pci/es1968.c w |= PCI_TIMING; /* PCI timing on */ w 2175 sound/pci/es1968.c w &= ~SWAP_LR; /* swap left/right w 2178 sound/pci/es1968.c w &= ~SUBTR_DECODE; /* Subtractive decode off */ w 2180 sound/pci/es1968.c pci_write_config_word(pci, ESM_CONFIG_A, w); w 2184 sound/pci/es1968.c pci_read_config_word(pci, ESM_CONFIG_B, &w); w 2186 sound/pci/es1968.c w &= ~(1 << 15); /* Turn off internal clock multiplier */ w 2188 sound/pci/es1968.c w &= ~(1 << 14); /* External clock */ w 2190 sound/pci/es1968.c w &= ~SPDIF_CONFB; /* disable S/PDIF output */ w 2191 sound/pci/es1968.c w |= HWV_CONFB; /* HWV on */ w 2192 sound/pci/es1968.c w |= DEBOUNCE; /* Debounce off: easier to push the HW buttons */ w 2193 sound/pci/es1968.c w &= ~GPIO_CONFB; /* GPIO 4:5 */ w 2194 sound/pci/es1968.c w |= CHI_CONFB; /* Disconnect from the CHI. Enabling this made a dell 7500 work. */ w 2195 sound/pci/es1968.c w &= ~IDMA_CONFB; /* IDMA off (undocumented) */ w 2196 sound/pci/es1968.c w &= ~MIDI_FIX; /* MIDI fix off (undoc) */ w 2197 sound/pci/es1968.c w &= ~(1 << 1); /* reserved, always write 0 */ w 2198 sound/pci/es1968.c w &= ~IRQ_TO_ISA; /* IRQ to ISA off (undoc) */ w 2200 sound/pci/es1968.c pci_write_config_word(pci, ESM_CONFIG_B, w); w 2204 sound/pci/es1968.c pci_read_config_word(pci, ESM_DDMA, &w); w 2205 sound/pci/es1968.c w &= ~(1 << 0); w 2206 sound/pci/es1968.c pci_write_config_word(pci, ESM_DDMA, w); w 2212 sound/pci/es1968.c pci_read_config_word(pci, ESM_LEGACY_AUDIO_CONTROL, &w); w 2214 sound/pci/es1968.c w |= ESS_DISABLE_AUDIO; /* Disable Legacy Audio */ w 2215 sound/pci/es1968.c w &= ~ESS_ENABLE_SERIAL_IRQ; /* Disable SIRQ */ w 2216 sound/pci/es1968.c w &= ~(0x1f); /* disable mpu irq/io, game port, fm, SB */ w 2218 sound/pci/es1968.c pci_write_config_word(pci, ESM_LEGACY_AUDIO_CONTROL, w); w 2221 sound/pci/es1968.c pci_read_config_word(pci, 0x58, &w); w 2222 sound/pci/es1968.c w|=1<<2; /* Enable 978. */ w 2223 sound/pci/es1968.c w|=1<<3; /* Turn on 978 hardware volume control. */ w 2224 sound/pci/es1968.c w&=~(1<<11); /* Turn on 978 mixer volume control. */ w 2225 sound/pci/es1968.c pci_write_config_word(pci, 0x58, w); w 2312 sound/pci/es1968.c w = inw(iobase + WC_CONTROL); w 2314 sound/pci/es1968.c w &= ~0xFA00; /* Seems to be reserved? I don't know */ w 2315 sound/pci/es1968.c w |= 0xA000; /* reserved... I don't know */ w 2316 sound/pci/es1968.c w &= ~0x0200; /* Channels 56,57,58,59 as Extra Play,Rec Channel enable w 2318 sound/pci/es1968.c w |= 0x0100; /* Wave Cache Operation Enabled */ w 2319 sound/pci/es1968.c w |= 0x0080; /* Channels 60/61 as Placback/Record enabled */ w 2320 sound/pci/es1968.c w &= ~0x0060; /* Clear Wavtable Size */ w 2321 sound/pci/es1968.c w |= 0x0020; /* Wavetable Size : 1MB */ w 2323 sound/pci/es1968.c w &= ~0x000C; /* DMA Stuff? I don't understand what the datasheet means */ w 2325 sound/pci/es1968.c w &= ~0x0001; /* Test Mode off */ w 2327 sound/pci/es1968.c outw(w, iobase + WC_CONTROL); w 2331 sound/pci/es1968.c for (w = 0; w < NR_APU_REGS; w++) w 2332 sound/pci/es1968.c apu_set_register(chip, i, w, 0); w 2340 sound/pci/es1968.c unsigned short w; w 2341 sound/pci/es1968.c w = ESM_HIRQ_DSIE | ESM_HIRQ_HW_VOLUME; w 2343 sound/pci/es1968.c w |= ESM_HIRQ_MPU401; w 2344 sound/pci/es1968.c outw(w, chip->io_port + ESM_PORT_HOST_IRQ); w 3037 sound/pci/intel8x0.c const struct snd_pci_quirk *w; w 3039 sound/pci/intel8x0.c w = snd_pci_quirk_lookup(pci, spdif_aclink_defaults); w 3040 sound/pci/intel8x0.c if (w) { w 3041 sound/pci/intel8x0.c if (w->value) w 3043 sound/pci/intel8x0.c "AC-Link for %s\n", w->name); w 3046 sound/pci/intel8x0.c "SPDIF DMA for %s\n", w->name); w 3047 sound/pci/intel8x0.c return w->value; w 2305 sound/pci/maestro3.c u16 w; w 2308 sound/pci/maestro3.c pci_read_config_word(pcidev, PCI_LEGACY_AUDIO_CTRL, &w); w 2309 sound/pci/maestro3.c w &= ~(SOUND_BLASTER_ENABLE|FM_SYNTHESIS_ENABLE| w 2312 sound/pci/maestro3.c pci_write_config_word(pcidev, PCI_LEGACY_AUDIO_CTRL, w); w 1041 sound/pci/riptide/riptide.c unsigned char w, ch, sig, order; w 1047 sound/pci/riptide/riptide.c w = snd_pcm_format_width(format) == 8; w 1051 sound/pci/riptide/riptide.c if (SEND_SETF(cif, mixer, w, ch, order, sig, id) && w 1052 sound/pci/riptide/riptide.c SEND_SETF(cif, mixer, w, ch, order, sig, id)) { w 2404 sound/pci/via82xx.c const struct snd_pci_quirk *w; w 2406 sound/pci/via82xx.c w = snd_pci_quirk_lookup(pci, dxs_whitelist); w 2407 sound/pci/via82xx.c if (w) { w 2409 sound/pci/via82xx.c w->name); w 2410 sound/pci/via82xx.c return w->value; w 294 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec = w->codec; w 378 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = w->codec; w 386 sound/soc/codecs/wm8903.c switch (w->reg) { w 397 sound/soc/codecs/wm8903.c switch (w->shift) { w 444 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(w->codec, WM8990_POWER_MANAGEMENT_2); w 445 sound/soc/codecs/wm8990.c fakepower = wm8990_read_reg_cache(w->codec, WM8990_INTDRIVBITS); w 460 sound/soc/codecs/wm8990.c wm8990_write(w->codec, WM8990_POWER_MANAGEMENT_2, reg); w 474 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(w->codec, WM8990_OUTPUT_MIXER1); w 482 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(w->codec, WM8990_OUTPUT_MIXER2); w 490 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(w->codec, WM8990_SPEAKER_MIXER); w 498 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(w->codec, WM8990_SPEAKER_MIXER); w 181 sound/soc/codecs/wm9712.c l = ac97_read(w->codec, HPL_MIXER); w 182 sound/soc/codecs/wm9712.c r = ac97_read(w->codec, HPR_MIXER); w 183 sound/soc/codecs/wm9712.c beep = ac97_read(w->codec, AC97_PC_BEEP); w 184 sound/soc/codecs/wm9712.c mic = ac97_read(w->codec, AC97_VIDEO); w 185 sound/soc/codecs/wm9712.c phone = ac97_read(w->codec, AC97_PHONE); w 186 sound/soc/codecs/wm9712.c line = ac97_read(w->codec, AC97_LINE); w 187 sound/soc/codecs/wm9712.c pcm = ac97_read(w->codec, AC97_PCM); w 188 sound/soc/codecs/wm9712.c aux = ac97_read(w->codec, AC97_CD); w 191 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_VIDEO, mic & 0x7fff); w 193 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_VIDEO, mic | 0x8000); w 196 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_PCM, pcm & 0x7fff); w 198 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_PCM, pcm | 0x8000); w 201 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_LINE, line & 0x7fff); w 203 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_LINE, line | 0x8000); w 206 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_PHONE, phone & 0x7fff); w 208 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_PHONE, phone | 0x8000); w 211 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_CD, aux & 0x7fff); w 213 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_CD, aux | 0x8000); w 216 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_PC_BEEP, beep & 0x7fff); w 218 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_PC_BEEP, beep | 0x8000); w 219 sound/soc/codecs/wm9713.c l = ac97_read(w->codec, HPL_MIXER); w 220 sound/soc/codecs/wm9713.c r = ac97_read(w->codec, HPR_MIXER); w 221 sound/soc/codecs/wm9713.c beep = ac97_read(w->codec, AC97_PC_BEEP); w 222 sound/soc/codecs/wm9713.c tone = ac97_read(w->codec, AC97_MASTER_TONE); w 223 sound/soc/codecs/wm9713.c phone = ac97_read(w->codec, AC97_PHONE); w 224 sound/soc/codecs/wm9713.c rec = ac97_read(w->codec, AC97_REC_SEL); w 225 sound/soc/codecs/wm9713.c pcm = ac97_read(w->codec, AC97_PCM); w 226 sound/soc/codecs/wm9713.c aux = ac97_read(w->codec, AC97_AUX); w 231 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_PC_BEEP, beep & 0x7fff); w 233 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_PC_BEEP, beep | 0x8000); w 236 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_MASTER_TONE, tone & 0x7fff); w 238 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_MASTER_TONE, tone | 0x8000); w 241 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_PHONE, phone & 0x7fff); w 243 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_PHONE, phone | 0x8000); w 246 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_REC_SEL, rec & 0x7fff); w 248 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_REC_SEL, rec | 0x8000); w 251 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_PCM, pcm & 0x7fff); w 253 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_PCM, pcm | 0x8000); w 256 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_AUX, aux & 0x7fff); w 258 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_AUX, aux | 0x8000); w 113 sound/soc/davinci/davinci-i2s.c u32 w; w 116 sound/soc/davinci/davinci-i2s.c w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_SPCR_REG); w 117 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_SPCR_GRST, 1); w 119 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_SPCR_XRST, 1); w 121 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_SPCR_RRST, 1); w 122 sound/soc/davinci/davinci-i2s.c davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_SPCR_REG, w); w 125 sound/soc/davinci/davinci-i2s.c w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_SPCR_REG); w 126 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_SPCR_FRST, 1); w 127 sound/soc/davinci/davinci-i2s.c davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_SPCR_REG, w); w 134 sound/soc/davinci/davinci-i2s.c u32 w; w 137 sound/soc/davinci/davinci-i2s.c w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_SPCR_REG); w 138 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_SPCR_GRST | w 141 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_SPCR_XRST, 0); w 143 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_SPCR_RRST, 0); w 144 sound/soc/davinci/davinci-i2s.c davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_SPCR_REG, w); w 162 sound/soc/davinci/davinci-i2s.c u32 w; w 183 sound/soc/davinci/davinci-i2s.c w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_PCR_REG); w 184 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_PCR_CLKXP | w 186 sound/soc/davinci/davinci-i2s.c davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_PCR_REG, w); w 189 sound/soc/davinci/davinci-i2s.c w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_PCR_REG); w 190 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_PCR_FSXP | w 192 sound/soc/davinci/davinci-i2s.c davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_PCR_REG, w); w 195 sound/soc/davinci/davinci-i2s.c w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_PCR_REG); w 196 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_PCR_CLKXP | w 200 sound/soc/davinci/davinci-i2s.c davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_PCR_REG, w); w 219 sound/soc/davinci/davinci-i2s.c u32 w; w 235 sound/soc/davinci/davinci-i2s.c w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_SRGR_REG); w 236 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_SRGR_FWID(snd_interval_value(i) - 1), 1); w 237 sound/soc/davinci/davinci-i2s.c davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_SRGR_REG, w); w 240 sound/soc/davinci/davinci-i2s.c w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_SRGR_REG); w 241 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_SRGR_FPER(snd_interval_value(i) - 1), 1); w 242 sound/soc/davinci/davinci-i2s.c davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_SRGR_REG, w); w 263 sound/soc/davinci/davinci-i2s.c w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_RCR_REG); w 264 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_RCR_RWDLEN1(mcbsp_word_length) | w 266 sound/soc/davinci/davinci-i2s.c davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_RCR_REG, w); w 268 sound/soc/davinci/davinci-i2s.c w = davinci_mcbsp_read_reg(dev, DAVINCI_MCBSP_XCR_REG); w 269 sound/soc/davinci/davinci-i2s.c MOD_REG_BIT(w, DAVINCI_MCBSP_XCR_XWDLEN1(mcbsp_word_length) | w 271 sound/soc/davinci/davinci-i2s.c davinci_mcbsp_write_reg(dev, DAVINCI_MCBSP_XCR_REG, w); w 105 sound/soc/soc-dapm.c switch (w->id) { w 110 sound/soc/soc-dapm.c w->kcontrols[i].private_value; w 117 sound/soc/soc-dapm.c val = snd_soc_read(w->codec, reg); w 127 sound/soc/soc-dapm.c struct soc_enum *e = (struct soc_enum *)w->kcontrols[i].private_value; w 132 sound/soc/soc-dapm.c val = snd_soc_read(w->codec, e->reg); w 300 sound/soc/soc-dapm.c for (i = 0; i < w->num_kcontrols; i++) { w 303 sound/soc/soc-dapm.c list_for_each_entry(path, &w->sources, list_sink) { w 306 sound/soc/soc-dapm.c if (path->name != (char*)w->kcontrols[i].name) w 310 sound/soc/soc-dapm.c snprintf(name, 32, "%s %s", w->name, w->kcontrols[i].name); w 315 sound/soc/soc-dapm.c path->kcontrol = snd_soc_cnew(&w->kcontrols[i], w, w 338 sound/soc/soc-dapm.c if (!w->num_kcontrols) { w 339 sound/soc/soc-dapm.c printk(KERN_ERR "asoc: mux %s has no controls\n", w->name); w 343 sound/soc/soc-dapm.c kcontrol = snd_soc_cnew(&w->kcontrols[0], w, w->name); w 348 sound/soc/soc-dapm.c list_for_each_entry(path, &w->sources, list_sink) w 354 sound/soc/soc-dapm.c printk(KERN_ERR "asoc: failed to add kcontrol %s\n", w->name); w 365 sound/soc/soc-dapm.c if (!w->num_kcontrols) w 368 sound/soc/soc-dapm.c kcontrol = snd_soc_cnew(&w->kcontrols[0], w, w->name); w 371 sound/soc/soc-dapm.c printk(KERN_ERR "asoc: failed to add kcontrol %s\n", w->name); w 472 sound/soc/soc-dapm.c val = w->on_val; w 474 sound/soc/soc-dapm.c val = w->off_val; w 476 sound/soc/soc-dapm.c snd_soc_update_bits(w->codec, -(w->reg + 1), w 477 sound/soc/soc-dapm.c w->mask << w->shift, val << w->shift); w 494 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 507 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) { w 510 sound/soc/soc-dapm.c if (seq && seq[i] && w->id != seq[i]) w 514 sound/soc/soc-dapm.c if (w->id == snd_soc_dapm_vmid) w 518 sound/soc/soc-dapm.c if (w->id == snd_soc_dapm_adc && w->active) { w 519 sound/soc/soc-dapm.c in = is_connected_input_ep(w); w 520 sound/soc/soc-dapm.c dapm_clear_walk(w->codec); w 521 sound/soc/soc-dapm.c w->power = (in != 0) ? 1 : 0; w 522 sound/soc/soc-dapm.c dapm_update_bits(w); w 527 sound/soc/soc-dapm.c if (w->id == snd_soc_dapm_dac && w->active) { w 528 sound/soc/soc-dapm.c out = is_connected_output_ep(w); w 529 sound/soc/soc-dapm.c dapm_clear_walk(w->codec); w 530 sound/soc/soc-dapm.c w->power = (out != 0) ? 1 : 0; w 531 sound/soc/soc-dapm.c dapm_update_bits(w); w 536 sound/soc/soc-dapm.c if (w->id == snd_soc_dapm_pre) { w 537 sound/soc/soc-dapm.c if (!w->event) w 541 sound/soc/soc-dapm.c ret = w->event(w, w 546 sound/soc/soc-dapm.c ret = w->event(w, w 553 sound/soc/soc-dapm.c if (w->id == snd_soc_dapm_post) { w 554 sound/soc/soc-dapm.c if (!w->event) w 558 sound/soc/soc-dapm.c ret = w->event(w, w 563 sound/soc/soc-dapm.c ret = w->event(w, w 572 sound/soc/soc-dapm.c in = is_connected_input_ep(w); w 573 sound/soc/soc-dapm.c dapm_clear_walk(w->codec); w 574 sound/soc/soc-dapm.c out = is_connected_output_ep(w); w 575 sound/soc/soc-dapm.c dapm_clear_walk(w->codec); w 577 sound/soc/soc-dapm.c power_change = (w->power == power) ? 0: 1; w 578 sound/soc/soc-dapm.c w->power = power; w 584 sound/soc/soc-dapm.c if (w->event) w 586 sound/soc/soc-dapm.c w->power ? "on" : "off", w 587 sound/soc/soc-dapm.c w->name, w->event_flags); w 590 sound/soc/soc-dapm.c if (power && w->event && w 591 sound/soc/soc-dapm.c (w->event_flags & SND_SOC_DAPM_PRE_PMU)) { w 592 sound/soc/soc-dapm.c ret = w->event(w, NULL, SND_SOC_DAPM_PRE_PMU); w 598 sound/soc/soc-dapm.c if (!power && w->event && w 599 sound/soc/soc-dapm.c (w->event_flags & SND_SOC_DAPM_PRE_PMD)) { w 600 sound/soc/soc-dapm.c ret = w->event(w, NULL, SND_SOC_DAPM_PRE_PMD); w 606 sound/soc/soc-dapm.c if (w->id == snd_soc_dapm_pga && !power) w 607 sound/soc/soc-dapm.c dapm_set_pga(w, power); w 609 sound/soc/soc-dapm.c dapm_update_bits(w); w 612 sound/soc/soc-dapm.c if (w->id == snd_soc_dapm_pga && power) w 613 sound/soc/soc-dapm.c dapm_set_pga(w, power); w 616 sound/soc/soc-dapm.c if (power && w->event && w 617 sound/soc/soc-dapm.c (w->event_flags & SND_SOC_DAPM_POST_PMU)) { w 618 sound/soc/soc-dapm.c ret = w->event(w, w 625 sound/soc/soc-dapm.c if (!power && w->event && w 626 sound/soc/soc-dapm.c (w->event_flags & SND_SOC_DAPM_POST_PMD)) { w 627 sound/soc/soc-dapm.c ret = w->event(w, NULL, SND_SOC_DAPM_POST_PMD); w 640 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 646 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) { w 649 sound/soc/soc-dapm.c switch (w->id) { w 667 sound/soc/soc-dapm.c if (w->name) { w 668 sound/soc/soc-dapm.c in = is_connected_input_ep(w); w 669 sound/soc/soc-dapm.c dapm_clear_walk(w->codec); w 670 sound/soc/soc-dapm.c out = is_connected_output_ep(w); w 671 sound/soc/soc-dapm.c dapm_clear_walk(w->codec); w 672 sound/soc/soc-dapm.c printk("%s: %s in %d out %d\n", w->name, w 673 sound/soc/soc-dapm.c w->power ? "On":"Off",in, out); w 675 sound/soc/soc-dapm.c list_for_each_entry(p, &w->sources, list_sink) { w 680 sound/soc/soc-dapm.c list_for_each_entry(p, &w->sinks, list_source) { w 775 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 779 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) { w 782 sound/soc/soc-dapm.c switch (w->id) { w 792 sound/soc/soc-dapm.c if (w->name) w 794 sound/soc/soc-dapm.c w->name, w->power ? "On":"Off"); w 856 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w, *next_w; w 859 sound/soc/soc-dapm.c list_for_each_entry_safe(w, next_w, &codec->dapm_widgets, list) { w 860 sound/soc/soc-dapm.c list_del(&w->list); w 861 sound/soc/soc-dapm.c kfree(w); w 874 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 876 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) { w 877 sound/soc/soc-dapm.c if (!strcmp(w->name, pin)) { w 879 sound/soc/soc-dapm.c w->connected = status; w 909 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *wsource = NULL, *wsink = NULL, *w; w 913 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) { w 915 sound/soc/soc-dapm.c if (!wsink && !(strcmp(w->name, sink))) { w 916 sound/soc/soc-dapm.c wsink = w; w 919 sound/soc/soc-dapm.c if (!wsource && !(strcmp(w->name, source))) { w 920 sound/soc/soc-dapm.c wsource = w; w 1075 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 1077 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) w 1079 sound/soc/soc-dapm.c if (w->new) w 1082 sound/soc/soc-dapm.c switch(w->id) { w 1085 sound/soc/soc-dapm.c dapm_new_mixer(codec, w); w 1088 sound/soc/soc-dapm.c dapm_new_mux(codec, w); w 1093 sound/soc/soc-dapm.c dapm_new_pga(codec, w); w 1107 sound/soc/soc-dapm.c w->new = 1; w 1326 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 1328 sound/soc/soc-dapm.c if ((w = dapm_cnew_widget(widget)) == NULL) w 1331 sound/soc/soc-dapm.c w->codec = codec; w 1332 sound/soc/soc-dapm.c INIT_LIST_HEAD(&w->sources); w 1333 sound/soc/soc-dapm.c INIT_LIST_HEAD(&w->sinks); w 1334 sound/soc/soc-dapm.c INIT_LIST_HEAD(&w->list); w 1335 sound/soc/soc-dapm.c list_add(&w->list, &codec->dapm_widgets); w 1338 sound/soc/soc-dapm.c w->connected = 1; w 1384 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 1390 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) w 1392 sound/soc/soc-dapm.c if (!w->sname) w 1395 sound/soc/soc-dapm.c w->name, w->sname, stream, event); w 1396 sound/soc/soc-dapm.c if (strstr(w->sname, stream)) { w 1399 sound/soc/soc-dapm.c w->active = 1; w 1402 sound/soc/soc-dapm.c w->active = 0; w 1405 sound/soc/soc-dapm.c if (w->active) w 1406 sound/soc/soc-dapm.c w->suspend = 1; w 1407 sound/soc/soc-dapm.c w->active = 0; w 1410 sound/soc/soc-dapm.c if (w->suspend) { w 1411 sound/soc/soc-dapm.c w->active = 1; w 1412 sound/soc/soc-dapm.c w->suspend = 0; w 1516 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 1518 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) { w 1519 sound/soc/soc-dapm.c if (!strcmp(w->name, pin)) w 1520 sound/soc/soc-dapm.c return w->connected;