w 406 arch/alpha/include/asm/bitops.h static inline unsigned long __arch_hweight64(unsigned long w) w 408 arch/alpha/include/asm/bitops.h return __kernel_ctpop(w); w 411 arch/alpha/include/asm/bitops.h static inline unsigned int __arch_hweight32(unsigned int w) w 413 arch/alpha/include/asm/bitops.h return __arch_hweight64(w); w 416 arch/alpha/include/asm/bitops.h static inline unsigned int __arch_hweight16(unsigned int w) w 418 arch/alpha/include/asm/bitops.h return __arch_hweight64(w & 0xffff); w 421 arch/alpha/include/asm/bitops.h static inline unsigned int __arch_hweight8(unsigned int w) w 423 arch/alpha/include/asm/bitops.h return __arch_hweight64(w & 0xff); w 408 arch/alpha/include/asm/core_apecs.h unsigned long w, base_and_type; w 419 arch/alpha/include/asm/core_apecs.h w = __kernel_insbl(b, addr & 3); w 420 arch/alpha/include/asm/core_apecs.h *(vuip) ((addr << 5) + base_and_type) = w; w 444 arch/alpha/include/asm/core_apecs.h unsigned long w, base_and_type; w 455 arch/alpha/include/asm/core_apecs.h w = __kernel_inswl(b, addr & 3); w 456 arch/alpha/include/asm/core_apecs.h *(vuip) ((addr << 5) + base_and_type) = w; w 365 arch/alpha/include/asm/core_cia.h unsigned long w, base_and_type; w 373 arch/alpha/include/asm/core_cia.h w = __kernel_insbl(b, addr & 3); w 374 arch/alpha/include/asm/core_cia.h *(vuip) ((addr << 5) + base_and_type) = w; w 395 arch/alpha/include/asm/core_cia.h unsigned long w, base_and_type; w 403 arch/alpha/include/asm/core_cia.h w = __kernel_inswl(b, addr & 3); w 404 arch/alpha/include/asm/core_cia.h *(vuip) ((addr << 5) + base_and_type) = w; w 254 arch/alpha/include/asm/core_lca.h unsigned long w, base_and_type; w 265 arch/alpha/include/asm/core_lca.h w = __kernel_insbl(b, addr & 3); w 266 arch/alpha/include/asm/core_lca.h *(vuip) ((addr << 5) + base_and_type) = w; w 290 arch/alpha/include/asm/core_lca.h unsigned long w, base_and_type; w 301 arch/alpha/include/asm/core_lca.h w = __kernel_inswl(b, addr & 3); w 302 arch/alpha/include/asm/core_lca.h *(vuip) ((addr << 5) + base_and_type) = w; w 286 arch/alpha/include/asm/core_mcpcia.h unsigned long w; w 290 arch/alpha/include/asm/core_mcpcia.h w = __kernel_insbl(b, addr & 3); w 291 arch/alpha/include/asm/core_mcpcia.h *(vuip) ((addr << 5) + hose + 0x00) = w; w 310 arch/alpha/include/asm/core_mcpcia.h unsigned long w; w 314 arch/alpha/include/asm/core_mcpcia.h w = __kernel_inswl(b, addr & 3); w 315 arch/alpha/include/asm/core_mcpcia.h *(vuip) ((addr << 5) + hose + 0x08) = w; w 372 arch/alpha/include/asm/core_t2.h unsigned long w; w 374 arch/alpha/include/asm/core_t2.h w = __kernel_insbl(b, addr & 3); w 375 arch/alpha/include/asm/core_t2.h *(vuip) ((addr << 5) + T2_IO + 0x00) = w; w 387 arch/alpha/include/asm/core_t2.h unsigned long w; w 389 arch/alpha/include/asm/core_t2.h w = __kernel_inswl(b, addr & 3); w 390 arch/alpha/include/asm/core_t2.h *(vuip) ((addr << 5) + T2_IO + 0x08) = w; w 506 arch/alpha/include/asm/core_t2.h unsigned long w; w 510 arch/alpha/include/asm/core_t2.h w = __kernel_insbl(b, addr & 3); w 511 arch/alpha/include/asm/core_t2.h *(vuip) ((addr << 5) + T2_SPARSE_MEM + 0x00) = w; w 517 arch/alpha/include/asm/core_t2.h unsigned long w; w 521 arch/alpha/include/asm/core_t2.h w = __kernel_inswl(b, addr & 3); w 522 arch/alpha/include/asm/core_t2.h *(vuip) ((addr << 5) + T2_SPARSE_MEM + 0x08) = w; w 591 arch/alpha/include/asm/core_t2.h IOPORT(w, 16) w 324 arch/alpha/include/asm/jensen.h IOPORT(w, 16) w 200 arch/alpha/kernel/core_mcpcia.c unsigned long addr, w; w 207 arch/alpha/kernel/core_mcpcia.c w = conf_read(addr, type1, hose); w 210 arch/alpha/kernel/core_mcpcia.c *value = __kernel_extbl(w, where & 3); w 213 arch/alpha/kernel/core_mcpcia.c *value = __kernel_extwl(w, where & 3); w 216 arch/alpha/kernel/core_mcpcia.c *value = w; w 225 arch/alpha/kernel/io.c unsigned int w; w 227 arch/alpha/kernel/io.c w = ioread8(port); w 228 arch/alpha/kernel/io.c w |= ioread8(port) << 8; w 229 arch/alpha/kernel/io.c w |= ioread8(port) << 16; w 230 arch/alpha/kernel/io.c w |= ioread8(port) << 24; w 231 arch/alpha/kernel/io.c *(unsigned int *)dst = w; w 269 arch/alpha/kernel/io.c unsigned int w; w 271 arch/alpha/kernel/io.c w = ioread16(port); w 272 arch/alpha/kernel/io.c w |= ioread16(port) << 16; w 273 arch/alpha/kernel/io.c *(unsigned int *)dst = w; w 363 arch/alpha/kernel/io.c unsigned int w; w 365 arch/alpha/kernel/io.c w = *(unsigned int *)src; w 367 arch/alpha/kernel/io.c iowrite16(w >> 0, port); w 368 arch/alpha/kernel/io.c iowrite16(w >> 16, port); w 764 arch/alpha/kernel/osf_sys.c unsigned long w; w 772 arch/alpha/kernel/osf_sys.c w = current_thread_info()->ieee_state & IEEE_SW_MASK; w 773 arch/alpha/kernel/osf_sys.c w = swcr_update_status(w, rdfpcr()); w 774 arch/alpha/kernel/osf_sys.c if (put_user(w, (unsigned long __user *) buffer)) w 789 arch/alpha/kernel/osf_sys.c w = current_thread_info()->status & UAC_BITMASK; w 790 arch/alpha/kernel/osf_sys.c if (put_user(w, (unsigned int __user *)buffer)) w 799 arch/alpha/kernel/osf_sys.c w = cpu->type; w 800 arch/alpha/kernel/osf_sys.c if (put_user(w, (unsigned long __user*)buffer)) w 900 arch/alpha/kernel/osf_sys.c unsigned v, w, status; w 902 arch/alpha/kernel/osf_sys.c if (get_user(v, p) || get_user(w, p + 1)) w 906 arch/alpha/kernel/osf_sys.c w &= UAC_BITMASK; w 908 arch/alpha/kernel/osf_sys.c status = (status & ~UAC_BITMASK) | w; w 112 arch/alpha/lib/checksum.c unsigned long w = *(unsigned long *) buff; w 116 arch/alpha/lib/checksum.c result += w; w 117 arch/alpha/lib/checksum.c carry = (w > result); w 145 arch/arc/include/asm/entry-arcv2.h ; - K mode: add the offset from current SP where H/w starts auto push w 84 arch/arc/include/asm/io.h u32 w; w 88 arch/arc/include/asm/io.h : "=r" (w) w 92 arch/arc/include/asm/io.h return w; w 127 arch/arc/include/asm/io.h __raw_readsx(16, w) w 153 arch/arc/include/asm/io.h static inline void __raw_writel(u32 w, volatile void __iomem *addr) w 158 arch/arc/include/asm/io.h : "r" (w), "m" (*(volatile u32 __force *)addr) w 188 arch/arc/include/asm/io.h __raw_writesx(16, w) w 376 arch/arm/include/asm/assembler.h \instr\()b\t\cond\().w \reg, [\ptr, #\off] w 378 arch/arm/include/asm/assembler.h \instr\t\cond\().w \reg, [\ptr, #\off] w 463 arch/arm/include/asm/assembler.h .macro ret.w, reg w 58 arch/arm/include/asm/cp15.h #define __read_sysreg(r, w, c, t) ({ \ w 65 arch/arm/include/asm/cp15.h #define __write_sysreg(v, r, w, c, t) asm volatile(w " " c : : "r" ((t)(v))) w 101 arch/arm/include/asm/ecard.h unsigned char w:2; /* Width */ w 14 arch/arm/include/asm/tls.h mrc p15, 0, \tmp2, c13, c0, 2 @ get the user r/w register w 16 arch/arm/include/asm/tls.h mcr p15, 0, \tpuser, c13, c0, 2 @ and the user r/w register w 26 arch/arm/include/asm/tls.h mrcne p15, 0, \tmp2, c13, c0, 2 @ get the user r/w register w 28 arch/arm/include/asm/tls.h mcrne p15, 0, \tpuser, c13, c0, 2 @ set user r/w register w 13 arch/arm/include/asm/uaccess-asm.h .inst.w 0xf3af8014 w 37 arch/arm/include/asm/unified.h #define W(instr) instr.w w 227 arch/arm/mach-omap1/dma.c u16 w; w 236 arch/arm/mach-omap1/dma.c w = dma_read(GSCR, 0); w 237 arch/arm/mach-omap1/dma.c w |= 1 << 3; w 238 arch/arm/mach-omap1/dma.c dma_write(w, GSCR, 0); w 38 arch/arm/mach-omap1/include/mach/usb.h # define USB2_TRX_MODE(w) (((w)>>24)&0x07) w 39 arch/arm/mach-omap1/include/mach/usb.h # define USB1_TRX_MODE(w) (((w)>>20)&0x07) w 40 arch/arm/mach-omap1/include/mach/usb.h # define USB0_TRX_MODE(w) (((w)>>16)&0x07) w 52 arch/arm/mach-omap1/include/mach/usb.h # define SRP_GPUVBUS(w) (((w)>>24)&0x07) w 53 arch/arm/mach-omap1/include/mach/usb.h # define A_WAIT_VRISE(w) (((w)>>20)&0x07) w 54 arch/arm/mach-omap1/include/mach/usb.h # define B_ASE_BRST(w) (((w)>>16)&0x07) w 63 arch/arm/mach-omap1/include/mach/usb.h # define OTG_HMC(w) (((w)>>0)&0x3f) w 134 arch/arm/mach-omap1/lcd_dma.c u16 w; w 253 arch/arm/mach-omap1/lcd_dma.c w = omap_readw(OMAP1610_DMA_LCD_CSDP); w 254 arch/arm/mach-omap1/lcd_dma.c w &= ~0x03; w 255 arch/arm/mach-omap1/lcd_dma.c w |= lcd_dma.data_type; w 256 arch/arm/mach-omap1/lcd_dma.c omap_writew(w, OMAP1610_DMA_LCD_CSDP); w 258 arch/arm/mach-omap1/lcd_dma.c w = omap_readw(OMAP1610_DMA_LCD_CTRL); w 260 arch/arm/mach-omap1/lcd_dma.c w &= ~(0x03 << 6); w 262 arch/arm/mach-omap1/lcd_dma.c w |= 1 << 1; /* Block interrupt enable */ w 264 arch/arm/mach-omap1/lcd_dma.c w &= ~(1 << 1); w 265 arch/arm/mach-omap1/lcd_dma.c omap_writew(w, OMAP1610_DMA_LCD_CTRL); w 271 arch/arm/mach-omap1/lcd_dma.c w = omap_readw(OMAP1610_DMA_LCD_CCR); w 273 arch/arm/mach-omap1/lcd_dma.c w |= (0x03 << 12); w 274 arch/arm/mach-omap1/lcd_dma.c omap_writew(w, OMAP1610_DMA_LCD_CCR); w 283 arch/arm/mach-omap1/lcd_dma.c u16 w; w 285 arch/arm/mach-omap1/lcd_dma.c w = omap_readw(OMAP1610_DMA_LCD_CTRL); w 286 arch/arm/mach-omap1/lcd_dma.c if (unlikely(!(w & (1 << 3)))) { w 291 arch/arm/mach-omap1/lcd_dma.c w |= (1 << 3); w 292 arch/arm/mach-omap1/lcd_dma.c omap_writew(w, OMAP1610_DMA_LCD_CTRL); w 295 arch/arm/mach-omap1/lcd_dma.c lcd_dma.callback(w, lcd_dma.cb_data); w 347 arch/arm/mach-omap1/lcd_dma.c u16 w; w 357 arch/arm/mach-omap1/lcd_dma.c w = omap_readw(OMAP1610_DMA_LCD_CTRL); w 358 arch/arm/mach-omap1/lcd_dma.c w |= 1 << 8; w 359 arch/arm/mach-omap1/lcd_dma.c omap_writew(w, OMAP1610_DMA_LCD_CTRL); w 363 arch/arm/mach-omap1/lcd_dma.c w = omap_readw(OMAP1610_DMA_LCD_CCR); w 364 arch/arm/mach-omap1/lcd_dma.c w |= 1 << 7; w 365 arch/arm/mach-omap1/lcd_dma.c omap_writew(w, OMAP1610_DMA_LCD_CCR); w 380 arch/arm/mach-omap1/lcd_dma.c u16 w; w 382 arch/arm/mach-omap1/lcd_dma.c w = omap_readw(OMAP1610_DMA_LCD_CCR); w 388 arch/arm/mach-omap1/lcd_dma.c w |= 1 << 11; /* End_prog */ w 390 arch/arm/mach-omap1/lcd_dma.c w |= (3 << 8); /* Auto_init, repeat */ w 391 arch/arm/mach-omap1/lcd_dma.c omap_writew(w, OMAP1610_DMA_LCD_CCR); w 398 arch/arm/mach-omap1/lcd_dma.c u16 w; w 404 arch/arm/mach-omap1/lcd_dma.c w = omap_readw(OMAP1610_DMA_LCD_CCR); w 405 arch/arm/mach-omap1/lcd_dma.c w &= ~(1 << 7); w 406 arch/arm/mach-omap1/lcd_dma.c omap_writew(w, OMAP1610_DMA_LCD_CCR); w 408 arch/arm/mach-omap1/lcd_dma.c w = omap_readw(OMAP1610_DMA_LCD_CTRL); w 409 arch/arm/mach-omap1/lcd_dma.c w &= ~(1 << 8); w 410 arch/arm/mach-omap1/lcd_dma.c omap_writew(w, OMAP1610_DMA_LCD_CTRL); w 422 arch/arm/mach-omap1/lcd_dma.c u16 w; w 425 arch/arm/mach-omap1/lcd_dma.c w = omap_readw(OMAP1610_DMA_LCD_CTRL); w 426 arch/arm/mach-omap1/lcd_dma.c w &= ~(1 << 8); w 427 arch/arm/mach-omap1/lcd_dma.c omap_writew(w, OMAP1610_DMA_LCD_CTRL); w 53 arch/arm/mach-omap1/usb.c u16 w; w 98 arch/arm/mach-omap1/usb.c w = omap_readw(ULPD_SOFT_REQ); w 99 arch/arm/mach-omap1/usb.c w &= ~SOFT_USB_CLK_REQ; w 100 arch/arm/mach-omap1/usb.c omap_writew(w, ULPD_SOFT_REQ); w 102 arch/arm/mach-omap1/usb.c w = omap_readw(ULPD_CLOCK_CTRL); w 103 arch/arm/mach-omap1/usb.c w &= ~USB_MCLK_EN; w 104 arch/arm/mach-omap1/usb.c w |= DIS_USB_PVCI_CLK; w 105 arch/arm/mach-omap1/usb.c omap_writew(w, ULPD_CLOCK_CTRL); w 548 arch/arm/mach-omap1/usb.c u16 w; w 572 arch/arm/mach-omap1/usb.c w = omap_readw(ULPD_APLL_CTRL); w 573 arch/arm/mach-omap1/usb.c w &= ~APLL_NDPLL_SWITCH; w 574 arch/arm/mach-omap1/usb.c omap_writew(w, ULPD_APLL_CTRL); w 576 arch/arm/mach-omap1/usb.c w = omap_readw(ULPD_DPLL_CTRL); w 577 arch/arm/mach-omap1/usb.c w |= DPLL_IOB | DPLL_PLL_ENABLE; w 578 arch/arm/mach-omap1/usb.c omap_writew(w, ULPD_DPLL_CTRL); w 580 arch/arm/mach-omap1/usb.c w = omap_readw(ULPD_SOFT_REQ); w 581 arch/arm/mach-omap1/usb.c w |= SOFT_UDC_REQ | SOFT_DPLL_REQ; w 582 arch/arm/mach-omap1/usb.c omap_writew(w, ULPD_SOFT_REQ); w 917 arch/arm/mach-rpc/ecard.c ec->cid.w = cid.r_w; w 76 arch/arm/mach-s3c24xx/include/mach/io.h DECLARE_IO(short,w,"h") w 600 arch/arm/mach-s3c24xx/mach-h1940.c #define DECLARE_BUTTON(p, k, n, w) \ w 605 arch/arm/mach-s3c24xx/mach-h1940.c .wakeup = w, \ w 315 arch/arm/plat-omap/dma.c u16 w; w 317 arch/arm/plat-omap/dma.c w = p->dma_read(CSDP, lch); w 318 arch/arm/plat-omap/dma.c w &= ~(0x1f << 2); w 319 arch/arm/plat-omap/dma.c w |= src_port << 2; w 320 arch/arm/plat-omap/dma.c p->dma_write(w, CSDP, lch); w 51 arch/arm/plat-samsung/include/plat/sdhci.h extern void s3c2416_setup_sdhci0_cfg_gpio(struct platform_device *, int w); w 52 arch/arm/plat-samsung/include/plat/sdhci.h extern void s3c2416_setup_sdhci1_cfg_gpio(struct platform_device *, int w); w 53 arch/arm/plat-samsung/include/plat/sdhci.h extern void s3c64xx_setup_sdhci0_cfg_gpio(struct platform_device *, int w); w 54 arch/arm/plat-samsung/include/plat/sdhci.h extern void s3c64xx_setup_sdhci1_cfg_gpio(struct platform_device *, int w); w 55 arch/arm/plat-samsung/include/plat/sdhci.h extern void s3c64xx_setup_sdhci2_cfg_gpio(struct platform_device *, int w); w 259 arch/arm64/include/asm/atomic_ll_sc.h #define __CMPXCHG_CASE(w, sfx, name, sz, mb, acq, rel, cl, constraint) \ w 279 arch/arm64/include/asm/atomic_ll_sc.h "1: ld" #acq "xr" #sfx "\t%" #w "[oldval], %[v]\n" \ w 280 arch/arm64/include/asm/atomic_ll_sc.h " eor %" #w "[tmp], %" #w "[oldval], %" #w "[old]\n" \ w 281 arch/arm64/include/asm/atomic_ll_sc.h " cbnz %" #w "[tmp], 2f\n" \ w 282 arch/arm64/include/asm/atomic_ll_sc.h " st" #rel "xr" #sfx "\t%w[tmp], %" #w "[new], %[v]\n" \ w 299 arch/arm64/include/asm/atomic_ll_sc.h __CMPXCHG_CASE(w, b, , 8, , , , , K) w 300 arch/arm64/include/asm/atomic_ll_sc.h __CMPXCHG_CASE(w, h, , 16, , , , , K) w 301 arch/arm64/include/asm/atomic_ll_sc.h __CMPXCHG_CASE(w, , , 32, , , , , K) w 303 arch/arm64/include/asm/atomic_ll_sc.h __CMPXCHG_CASE(w, b, acq_, 8, , a, , "memory", K) w 304 arch/arm64/include/asm/atomic_ll_sc.h __CMPXCHG_CASE(w, h, acq_, 16, , a, , "memory", K) w 305 arch/arm64/include/asm/atomic_ll_sc.h __CMPXCHG_CASE(w, , acq_, 32, , a, , "memory", K) w 307 arch/arm64/include/asm/atomic_ll_sc.h __CMPXCHG_CASE(w, b, rel_, 8, , , l, "memory", K) w 308 arch/arm64/include/asm/atomic_ll_sc.h __CMPXCHG_CASE(w, h, rel_, 16, , , l, "memory", K) w 309 arch/arm64/include/asm/atomic_ll_sc.h __CMPXCHG_CASE(w, , rel_, 32, , , l, "memory", K) w 311 arch/arm64/include/asm/atomic_ll_sc.h __CMPXCHG_CASE(w, b, mb_, 8, dmb ish, , l, "memory", K) w 312 arch/arm64/include/asm/atomic_ll_sc.h __CMPXCHG_CASE(w, h, mb_, 16, dmb ish, , l, "memory", K) w 313 arch/arm64/include/asm/atomic_ll_sc.h __CMPXCHG_CASE(w, , mb_, 32, dmb ish, , l, "memory", K) w 340 arch/arm64/include/asm/atomic_lse.h #define __CMPXCHG_CASE(w, sfx, name, sz, mb, cl...) \ w 353 arch/arm64/include/asm/atomic_lse.h " mov %" #w "[tmp], %" #w "[old]\n" \ w 354 arch/arm64/include/asm/atomic_lse.h " cas" #mb #sfx "\t%" #w "[tmp], %" #w "[new], %[v]\n" \ w 355 arch/arm64/include/asm/atomic_lse.h " mov %" #w "[ret], %" #w "[tmp]" \ w 364 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, b, , 8, ) w 365 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, h, , 16, ) w 366 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, , , 32, ) w 368 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, b, acq_, 8, a, "memory") w 369 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, h, acq_, 16, a, "memory") w 370 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, , acq_, 32, a, "memory") w 372 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, b, rel_, 8, l, "memory") w 373 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, h, rel_, 16, l, "memory") w 374 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, , rel_, 32, l, "memory") w 376 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, b, mb_, 8, al, "memory") w 377 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, h, mb_, 16, al, "memory") w 378 arch/arm64/include/asm/atomic_lse.h __CMPXCHG_CASE(w, , mb_, 32, al, "memory") w 21 arch/arm64/include/asm/cmpxchg.h #define __XCHG_CASE(w, sfx, name, sz, mb, nop_lse, acq, acq_lse, rel, cl) \ w 30 arch/arm64/include/asm/cmpxchg.h "1: ld" #acq "xr" #sfx "\t%" #w "0, %2\n" \ w 31 arch/arm64/include/asm/cmpxchg.h " st" #rel "xr" #sfx "\t%w1, %" #w "3, %2\n" \ w 35 arch/arm64/include/asm/cmpxchg.h " swp" #acq_lse #rel #sfx "\t%" #w "3, %" #w "0, %2\n" \ w 45 arch/arm64/include/asm/cmpxchg.h __XCHG_CASE(w, b, , 8, , , , , , ) w 46 arch/arm64/include/asm/cmpxchg.h __XCHG_CASE(w, h, , 16, , , , , , ) w 47 arch/arm64/include/asm/cmpxchg.h __XCHG_CASE(w, , , 32, , , , , , ) w 49 arch/arm64/include/asm/cmpxchg.h __XCHG_CASE(w, b, acq_, 8, , , a, a, , "memory") w 50 arch/arm64/include/asm/cmpxchg.h __XCHG_CASE(w, h, acq_, 16, , , a, a, , "memory") w 51 arch/arm64/include/asm/cmpxchg.h __XCHG_CASE(w, , acq_, 32, , , a, a, , "memory") w 53 arch/arm64/include/asm/cmpxchg.h __XCHG_CASE(w, b, rel_, 8, , , , , l, "memory") w 54 arch/arm64/include/asm/cmpxchg.h __XCHG_CASE(w, h, rel_, 16, , , , , l, "memory") w 55 arch/arm64/include/asm/cmpxchg.h __XCHG_CASE(w, , rel_, 32, , , , , l, "memory") w 57 arch/arm64/include/asm/cmpxchg.h __XCHG_CASE(w, b, mb_, 8, dmb ish, nop, , a, l, "memory") w 58 arch/arm64/include/asm/cmpxchg.h __XCHG_CASE(w, h, mb_, 16, dmb ish, nop, , a, l, "memory") w 59 arch/arm64/include/asm/cmpxchg.h __XCHG_CASE(w, , mb_, 32, dmb ish, nop, , a, l, "memory") w 232 arch/arm64/include/asm/cmpxchg.h #define __CMPWAIT_CASE(w, sfx, sz) \ w 241 arch/arm64/include/asm/cmpxchg.h " ldxr" #sfx "\t%" #w "[tmp], %[v]\n" \ w 242 arch/arm64/include/asm/cmpxchg.h " eor %" #w "[tmp], %" #w "[tmp], %" #w "[val]\n" \ w 243 arch/arm64/include/asm/cmpxchg.h " cbnz %" #w "[tmp], 1f\n" \ w 250 arch/arm64/include/asm/cmpxchg.h __CMPWAIT_CASE(w, b, 8); w 251 arch/arm64/include/asm/cmpxchg.h __CMPWAIT_CASE(w, h, 16); w 252 arch/arm64/include/asm/cmpxchg.h __CMPWAIT_CASE(w, , 32); w 27 arch/arm64/include/asm/fpsimdmacros.h str w\tmpnr, [\state, #16 * 2] w 29 arch/arm64/include/asm/fpsimdmacros.h str w\tmpnr, [\state, #16 * 2 + 4] w 62 arch/arm64/include/asm/fpsimdmacros.h ldr w\tmpnr, [\state, #16 * 2] w 64 arch/arm64/include/asm/fpsimdmacros.h ldr w\tmpnr, [\state, #16 * 2 + 4] w 194 arch/arm64/include/asm/fpsimdmacros.h str w\nxtmp, [\xpfpsr] w 196 arch/arm64/include/asm/fpsimdmacros.h str w\nxtmp, [\xpfpsr, #4] w 212 arch/arm64/include/asm/fpsimdmacros.h ldr w\nxtmp, [\xpfpsr] w 214 arch/arm64/include/asm/fpsimdmacros.h ldr w\nxtmp, [\xpfpsr, #4] w 51 arch/arm64/include/asm/percpu.h #define __PERCPU_OP_CASE(w, sfx, name, sz, op_llsc, op_lse) \ w 60 arch/arm64/include/asm/percpu.h "1: ldxr" #sfx "\t%" #w "[tmp], %[ptr]\n" \ w 61 arch/arm64/include/asm/percpu.h #op_llsc "\t%" #w "[tmp], %" #w "[tmp], %" #w "[val]\n" \ w 62 arch/arm64/include/asm/percpu.h " stxr" #sfx "\t%w[loop], %" #w "[tmp], %[ptr]\n" \ w 65 arch/arm64/include/asm/percpu.h #op_lse "\t%" #w "[val], %[ptr]\n" \ w 72 arch/arm64/include/asm/percpu.h #define __PERCPU_RET_OP_CASE(w, sfx, name, sz, op_llsc, op_lse) \ w 81 arch/arm64/include/asm/percpu.h "1: ldxr" #sfx "\t%" #w "[ret], %[ptr]\n" \ w 82 arch/arm64/include/asm/percpu.h #op_llsc "\t%" #w "[ret], %" #w "[ret], %" #w "[val]\n" \ w 83 arch/arm64/include/asm/percpu.h " stxr" #sfx "\t%w[loop], %" #w "[ret], %[ptr]\n" \ w 86 arch/arm64/include/asm/percpu.h #op_lse "\t%" #w "[val], %" #w "[ret], %[ptr]\n" \ w 87 arch/arm64/include/asm/percpu.h #op_llsc "\t%" #w "[ret], %" #w "[ret], %" #w "[val]\n" \ w 97 arch/arm64/include/asm/percpu.h __PERCPU_OP_CASE(w, b, name, 8, op_llsc, op_lse) \ w 98 arch/arm64/include/asm/percpu.h __PERCPU_OP_CASE(w, h, name, 16, op_llsc, op_lse) \ w 99 arch/arm64/include/asm/percpu.h __PERCPU_OP_CASE(w, , name, 32, op_llsc, op_lse) \ w 103 arch/arm64/include/asm/percpu.h __PERCPU_RET_OP_CASE(w, b, name, 8, op_llsc, op_lse) \ w 104 arch/arm64/include/asm/percpu.h __PERCPU_RET_OP_CASE(w, h, name, 16, op_llsc, op_lse) \ w 105 arch/arm64/include/asm/percpu.h __PERCPU_RET_OP_CASE(w, , name, 32, op_llsc, op_lse) \ w 174 arch/h8300/kernel/setup.c w *= (readw((base) + 2) & (3 << baddr)) + 1; \ w 181 arch/h8300/kernel/setup.c w *= (readl((base) + 2) & (7 << baddr)) + 1; \ w 191 arch/h8300/kernel/setup.c int w; w 195 arch/h8300/kernel/setup.c w = (readb(base + 0) & bit)?2:1; w 197 arch/h8300/kernel/setup.c w *= get_wait(base, addr); w 199 arch/h8300/kernel/setup.c w *= 2; w 200 arch/h8300/kernel/setup.c return w * 3 / 2; w 9 arch/h8300/lib/ashldi3.c DWunion w; w 15 arch/h8300/lib/ashldi3.c w.s.low = 0; w 16 arch/h8300/lib/ashldi3.c w.s.high = (UWtype) uu.s.low << -bm; w 20 arch/h8300/lib/ashldi3.c w.s.low = (UWtype) uu.s.low << b; w 21 arch/h8300/lib/ashldi3.c w.s.high = ((UWtype) uu.s.high << b) | carries; w 24 arch/h8300/lib/ashldi3.c return w.ll; w 8 arch/h8300/lib/ashrdi3.c DWunion w; w 15 arch/h8300/lib/ashrdi3.c w.s.high = uu.s.high >> (sizeof (Wtype) * BITS_PER_UNIT - 1); w 16 arch/h8300/lib/ashrdi3.c w.s.low = uu.s.high >> -bm; w 20 arch/h8300/lib/ashrdi3.c w.s.high = uu.s.high >> b; w 21 arch/h8300/lib/ashrdi3.c w.s.low = ((UWtype) uu.s.low >> b) | carries; w 24 arch/h8300/lib/ashrdi3.c return w.ll; w 8 arch/h8300/lib/lshrdi3.c DWunion w; w 14 arch/h8300/lib/lshrdi3.c w.s.high = 0; w 15 arch/h8300/lib/lshrdi3.c w.s.low = (UWtype) uu.s.high >> -bm; w 19 arch/h8300/lib/lshrdi3.c w.s.high = (UWtype) uu.s.high >> b; w 20 arch/h8300/lib/lshrdi3.c w.s.low = ((UWtype) uu.s.low >> b) | carries; w 23 arch/h8300/lib/lshrdi3.c return w.ll; w 39 arch/h8300/lib/muldi3.c DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)}; w 41 arch/h8300/lib/muldi3.c w.s.high += ((UWtype) uu.s.low * (UWtype) vv.s.high w 44 arch/h8300/lib/muldi3.c return w.ll; w 130 arch/ia64/include/asm/processor.h __u64 w : 1; w 637 arch/ia64/include/asm/processor.h ia64_rotr (__u64 w, __u64 n) w 639 arch/ia64/include/asm/processor.h return (w >> n) | (w << (64 - n)); w 642 arch/ia64/include/asm/processor.h #define ia64_rotl(w,n) ia64_rotr((w), (64) - (n)) w 68 arch/ia64/lib/csum_partial_copy.c unsigned long w = *(unsigned long *) buff; w 72 arch/ia64/lib/csum_partial_copy.c result += w; w 73 arch/ia64/lib/csum_partial_copy.c carry = (w > result); w 3857 arch/m68k/ifpsp060/src/fpsp.S # if the F-Line instruction is an "fmovecr" w/ a non-zero <ea>. if w 981 arch/m68k/include/asm/MC68328.h volatile unsigned short int w; w 988 arch/m68k/include/asm/MC68328.h volatile unsigned short int w; w 803 arch/m68k/include/asm/MC68EZ328.h volatile unsigned short int w; w 810 arch/m68k/include/asm/MC68EZ328.h volatile unsigned short int w; w 896 arch/m68k/include/asm/MC68VZ328.h volatile unsigned short int w; w 903 arch/m68k/include/asm/MC68VZ328.h volatile unsigned short int w; w 507 arch/m68k/include/asm/atarihw.h u_short w[2]; w 138 arch/m68k/include/asm/entry.h pea -1:w /* orig d0 */ w 188 arch/m68k/include/asm/entry.h pea -1:w /* orig d0 */ w 161 arch/m68k/include/asm/math-emu.h lea (FPD_FPREG,FPDATA,%d0.w*4),%a0 w 162 arch/m68k/include/asm/math-emu.h lea (%a0,%d0.w*8),%a0 w 184 arch/m68k/include/asm/math-emu.h fp_get_instr_data w,2,\dest,\label,\addr w 236 arch/m68k/include/asm/math-emu.h .irp m b,w,l w 286 arch/m68k/include/asm/math-emu.h tst.w (%a0) w 297 arch/m68k/include/asm/math-emu.h move.w (2,%a0),%d0 w 30 arch/m68k/include/asm/mcf8390.h #define BSWAP(w) (((w) << 8) | ((w) >> 8)) w 31 arch/m68k/include/asm/mcf8390.h #define RSWAP(w) (w) w 81 arch/m68k/include/asm/mcf8390.h #define BSWAP(w) (w) w 84 arch/m68k/include/asm/mcf8390.h #define RSWAP(w) (((w) << 8) | ((w) >> 8)) w 95 arch/m68k/include/asm/mcf8390.h #define BSWAP(w) (w) w 98 arch/m68k/include/asm/mcf8390.h #define RSWAP(w) (((w) << 8) | ((w) >> 8)) w 107 arch/m68k/include/asm/mcf8390.h #define BSWAP(w) (w) w 110 arch/m68k/include/asm/mcf8390.h #define RSWAP(w) (((w) << 8) | ((w) >> 8)) w 31 arch/m68k/include/asm/raw_io.h #define out_be16(addr,w) (void)((*(__force volatile u16 *) (addr)) = (w)) w 33 arch/m68k/include/asm/raw_io.h #define out_le16(addr,w) (void)((*(__force volatile __le16 *) (addr)) = cpu_to_le16(w)) w 85 arch/m68k/include/asm/raw_io.h #define rom_out_be16(addr, w) \ w 86 arch/m68k/include/asm/raw_io.h ({u16 __w, __v = (w); u32 _addr = ((u32) (addr)); \ w 89 arch/m68k/include/asm/raw_io.h #define rom_out_le16(addr, w) \ w 90 arch/m68k/include/asm/raw_io.h ({u16 __w, __v = (w); u32 _addr = ((u32) (addr)); \ w 71 arch/m68k/include/asm/uaccess_mm.h __put_user_asm(__pu_err, __pu_val, ptr, w, r, -EFAULT); \ w 139 arch/m68k/include/asm/uaccess_mm.h __get_user_asm(__gu_err, x, ptr, u16, w, r, -EFAULT); \ w 187 arch/m68k/include/asm/uaccess_mm.h #define __suffix2 w w 325 arch/m68k/include/asm/uaccess_mm.h __put_user_asm(res, *(u16 *)from, (u16 __user *)to, w, r, 2); w 328 arch/m68k/include/asm/uaccess_mm.h __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,); w 337 arch/m68k/include/asm/uaccess_mm.h __constant_copy_to_user_asm(res, to, from, tmp, 6, l, w,); w 340 arch/m68k/include/asm/uaccess_mm.h __constant_copy_to_user_asm(res, to, from, tmp, 7, l, w, b); w 349 arch/m68k/include/asm/uaccess_mm.h __constant_copy_to_user_asm(res, to, from, tmp, 10, l, l, w); w 40 arch/m68k/include/asm/uaccess_no.h __put_user_asm(__pu_err, __pu_val, ptr, w); \ w 80 arch/m68k/include/asm/uaccess_no.h __get_user_asm(__gu_err, __gu_val, ptr, w, "=r"); \ w 37 arch/m68k/lib/ashldi3.c DIunion w; w 49 arch/m68k/lib/ashldi3.c w.s.low = 0; w 50 arch/m68k/lib/ashldi3.c w.s.high = (USItype)uu.s.low << -bm; w 55 arch/m68k/lib/ashldi3.c w.s.low = (USItype)uu.s.low << b; w 56 arch/m68k/lib/ashldi3.c w.s.high = ((USItype)uu.s.high << b) | carries; w 59 arch/m68k/lib/ashldi3.c return w.ll; w 37 arch/m68k/lib/ashrdi3.c DIunion w; w 50 arch/m68k/lib/ashrdi3.c w.s.high = uu.s.high >> (sizeof (SItype) * BITS_PER_UNIT - 1); w 51 arch/m68k/lib/ashrdi3.c w.s.low = uu.s.high >> -bm; w 56 arch/m68k/lib/ashrdi3.c w.s.high = uu.s.high >> b; w 57 arch/m68k/lib/ashrdi3.c w.s.low = ((USItype)uu.s.low >> b) | carries; w 60 arch/m68k/lib/ashrdi3.c return w.ll; w 37 arch/m68k/lib/lshrdi3.c DIunion w; w 49 arch/m68k/lib/lshrdi3.c w.s.high = 0; w 50 arch/m68k/lib/lshrdi3.c w.s.low = (USItype)uu.s.high >> -bm; w 55 arch/m68k/lib/lshrdi3.c w.s.high = (USItype)uu.s.high >> b; w 56 arch/m68k/lib/lshrdi3.c w.s.low = ((USItype)uu.s.low >> b) | carries; w 59 arch/m68k/lib/lshrdi3.c return w.ll; w 84 arch/m68k/lib/muldi3.c DIunion w; w 90 arch/m68k/lib/muldi3.c w.ll = __umulsidi3 (uu.s.low, vv.s.low); w 91 arch/m68k/lib/muldi3.c w.s.high += ((USItype) uu.s.low * (USItype) vv.s.high w 94 arch/m68k/lib/muldi3.c return w.ll; w 74 arch/m68k/math-emu/fp_decode.h jmp ([0f:w,%pc,%d0*4]) w 86 arch/m68k/math-emu/fp_decode.h jmp ([0f:w,%pc,%d0*4]) w 116 arch/m68k/math-emu/fp_decode.h jmp ([0f:w,%pc,%d0*4]) w 136 arch/m68k/math-emu/fp_decode.h ext.w %d0 w 157 arch/m68k/math-emu/fp_decode.h move.w %d2,%d1 | scale factor w 158 arch/m68k/math-emu/fp_decode.h rol.w #7,%d1 w 159 arch/m68k/math-emu/fp_decode.h and.w #3,%d1 w 170 arch/m68k/math-emu/fp_decode.h jmp ([0f:w,%pc,%d0*4]) w 180 arch/m68k/math-emu/fp_decode.h jmp ([0f:w,%pc,%d0*4]) w 231 arch/m68k/math-emu/fp_decode.h move.w #6,%d1 w 233 arch/m68k/math-emu/fp_decode.h cmp.w #7,%d0 w 236 arch/m68k/math-emu/fp_decode.h cmp.w #6,%d1 w 239 arch/m68k/math-emu/fp_decode.h move.w #4,%d1 w 252 arch/m68k/math-emu/fp_decode.h lea (%a0,%d1.w*4),%a0 w 254 arch/m68k/math-emu/fp_decode.h lea (%a0,%d1.w*8),%a0 w 257 arch/m68k/math-emu/fp_decode.h add.w (fp_datasize,%d1.w*2),%a0 w 272 arch/m68k/math-emu/fp_decode.h neg.w %d1 w 273 arch/m68k/math-emu/fp_decode.h lea (%a0,%d1.w*4),%a0 w 274 arch/m68k/math-emu/fp_decode.h add.w %d1,%d1 w 275 arch/m68k/math-emu/fp_decode.h lea (%a0,%d1.w*4),%a0 w 279 arch/m68k/math-emu/fp_decode.h neg.w %d1 w 280 arch/m68k/math-emu/fp_decode.h lea (%a0,%d1.w*4),%a0 w 284 arch/m68k/math-emu/fp_decode.h sub.w (fp_datasize,%d1.w*2),%a0 w 309 arch/m68k/math-emu/fp_decode.h and.w %d2,%d0 w 350 arch/m68k/math-emu/fp_decode.h add.w %d0,%a1 w 33 arch/microblaze/include/asm/mmu.h unsigned long w:1; /* Write-thru cache mode */ w 8 arch/microblaze/lib/ashldi3.c DWunion uu, w; w 18 arch/microblaze/lib/ashldi3.c w.s.low = 0; w 19 arch/microblaze/lib/ashldi3.c w.s.high = (unsigned int) uu.s.low << -bm; w 23 arch/microblaze/lib/ashldi3.c w.s.low = (unsigned int) uu.s.low << b; w 24 arch/microblaze/lib/ashldi3.c w.s.high = ((unsigned int) uu.s.high << b) | carries; w 27 arch/microblaze/lib/ashldi3.c return w.ll; w 8 arch/microblaze/lib/ashrdi3.c DWunion uu, w; w 19 arch/microblaze/lib/ashrdi3.c w.s.high = w 21 arch/microblaze/lib/ashrdi3.c w.s.low = uu.s.high >> -bm; w 25 arch/microblaze/lib/ashrdi3.c w.s.high = uu.s.high >> b; w 26 arch/microblaze/lib/ashrdi3.c w.s.low = ((unsigned int) uu.s.low >> b) | carries; w 29 arch/microblaze/lib/ashrdi3.c return w.ll; w 8 arch/microblaze/lib/lshrdi3.c DWunion uu, w; w 18 arch/microblaze/lib/lshrdi3.c w.s.high = 0; w 19 arch/microblaze/lib/lshrdi3.c w.s.low = (unsigned int) uu.s.high >> -bm; w 23 arch/microblaze/lib/lshrdi3.c w.s.high = (unsigned int) uu.s.high >> b; w 24 arch/microblaze/lib/lshrdi3.c w.s.low = ((unsigned int) uu.s.low >> b) | carries; w 27 arch/microblaze/lib/lshrdi3.c return w.ll; w 51 arch/microblaze/lib/muldi3.c DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)}; w 53 arch/microblaze/lib/muldi3.c w.s.high += ((unsigned long) uu.s.low * (unsigned long) vv.s.high w 56 arch/microblaze/lib/muldi3.c return w.ll; w 89 arch/mips/crypto/crc32-mips.c CRC32(crc, value, w); w 129 arch/mips/crypto/crc32-mips.c CRC32C(crc, value, w); w 14 arch/mips/include/asm/arch_hweight.h static inline unsigned int __arch_hweight32(unsigned int w) w 16 arch/mips/include/asm/arch_hweight.h return __builtin_popcount(w); w 19 arch/mips/include/asm/arch_hweight.h static inline unsigned int __arch_hweight16(unsigned int w) w 21 arch/mips/include/asm/arch_hweight.h return __builtin_popcount(w & 0xffff); w 24 arch/mips/include/asm/arch_hweight.h static inline unsigned int __arch_hweight8(unsigned int w) w 26 arch/mips/include/asm/arch_hweight.h return __builtin_popcount(w & 0xff); w 29 arch/mips/include/asm/arch_hweight.h static inline unsigned long __arch_hweight64(__u64 w) w 31 arch/mips/include/asm/arch_hweight.h return __builtin_popcountll(w); w 265 arch/mips/include/asm/asmmacro.h ld.b $w\wd, \off(\base) w 274 arch/mips/include/asm/asmmacro.h ld.h $w\wd, \off(\base) w 283 arch/mips/include/asm/asmmacro.h ld.w $w\wd, \off(\base) w 292 arch/mips/include/asm/asmmacro.h ld.d $w\wd, \off(\base) w 301 arch/mips/include/asm/asmmacro.h st.b $w\wd, \off(\base) w 310 arch/mips/include/asm/asmmacro.h st.h $w\wd, \off(\base) w 319 arch/mips/include/asm/asmmacro.h st.w $w\wd, \off(\base) w 328 arch/mips/include/asm/asmmacro.h st.d $w\wd, \off(\base) w 337 arch/mips/include/asm/asmmacro.h copy_s.w $1, $w\ws[\n] w 346 arch/mips/include/asm/asmmacro.h copy_s.d $1, $w\ws[\n] w 355 arch/mips/include/asm/asmmacro.h insert.w $w\wd[\n], $1 w 364 arch/mips/include/asm/asmmacro.h insert.d $w\wd[\n], $1 w 450 arch/mips/include/asm/io.h BUILDIO_MEM(w, u16) w 468 arch/mips/include/asm/io.h BUILDIO_IOPORT(w, u16) w 574 arch/mips/include/asm/io.h BUILDSTRING(w, u16) w 75 arch/mips/include/asm/ip32/mace.h volatile unsigned short w[2]; w 340 arch/mips/include/asm/mach-loongson64/loongson.h #define LOONGSON_ADDRWIN_CFG(s, d, w, src, dst, size) do {\ w 341 arch/mips/include/asm/mach-loongson64/loongson.h s##_WIN##w##_BASE = (src); \ w 342 arch/mips/include/asm/mach-loongson64/loongson.h s##_WIN##w##_MMAP = (dst) | ADDRWIN_MAP_DST_##d; \ w 343 arch/mips/include/asm/mach-loongson64/loongson.h s##_WIN##w##_MASK = ~(size-1); \ w 147 arch/mips/include/asm/sibyte/bcm1480_int.h #define _BCM1480_INT_MASK(w, n) _SB_MAKEMASK(w, ((n) & 0x3F)) w 316 arch/mips/include/asm/sibyte/bcm1480_regs.h #define A_BCM1480_SCD_WDOG_BASE(w) (A_BCM1480_SCD_WDOG_0+((w)&2)*0x1000 + ((w)&1)*0x100) w 317 arch/mips/include/asm/sibyte/bcm1480_regs.h #define A_BCM1480_SCD_WDOG_REGISTER(w, r) (A_BCM1480_SCD_WDOG_BASE(w) + (r)) w 600 arch/mips/include/asm/sibyte/sb1250_regs.h #define A_SCD_WDOG_BASE(w) (A_SCD_WDOG_0+SCD_WDOG_SPACING*(w)) w 601 arch/mips/include/asm/sibyte/sb1250_regs.h #define A_SCD_WDOG_REGISTER(w, r) (A_SCD_WDOG_BASE(w) + (r)) w 624 arch/mips/include/asm/sibyte/sb1250_regs.h #define A_SCD_TIMER_BASE(w) (A_SCD_TIMER_0+0x08*((w)&1)+0x100*(((w)&2)>>1)) w 625 arch/mips/include/asm/sibyte/sb1250_regs.h #define A_SCD_TIMER_REGISTER(w, r) (A_SCD_TIMER_BASE(w) + (r)) w 90 arch/mips/include/asm/sn/sn0/hubio.h #define IIO_WSTAT_TXRETRY_CNT(w) (((w) >> IIO_WSTAT_TXRETRY_SHFT) & \ w 43 arch/mips/kernel/cpu-bugs64.c void mult_sh_align_mod(long *v1, long *v2, long *w, w 115 arch/mips/kernel/cpu-bugs64.c *w = lw; w 120 arch/mips/kernel/cpu-bugs64.c long v1[8], v2[8], w[8]; w 134 arch/mips/kernel/cpu-bugs64.c mult_sh_align_mod(&v1[0], &v2[0], &w[0], 32, 0); w 135 arch/mips/kernel/cpu-bugs64.c mult_sh_align_mod(&v1[1], &v2[1], &w[1], 32, 1); w 136 arch/mips/kernel/cpu-bugs64.c mult_sh_align_mod(&v1[2], &v2[2], &w[2], 32, 2); w 137 arch/mips/kernel/cpu-bugs64.c mult_sh_align_mod(&v1[3], &v2[3], &w[3], 32, 3); w 138 arch/mips/kernel/cpu-bugs64.c mult_sh_align_mod(&v1[4], &v2[4], &w[4], 32, 4); w 139 arch/mips/kernel/cpu-bugs64.c mult_sh_align_mod(&v1[5], &v2[5], &w[5], 32, 5); w 140 arch/mips/kernel/cpu-bugs64.c mult_sh_align_mod(&v1[6], &v2[6], &w[6], 32, 6); w 141 arch/mips/kernel/cpu-bugs64.c mult_sh_align_mod(&v1[7], &v2[7], &w[7], 32, 7); w 145 arch/mips/kernel/cpu-bugs64.c if (v1[i] != w[i]) w 157 arch/mips/kernel/cpu-bugs64.c if (v2[i] != w[i]) w 249 arch/mips/kernel/cpu-bugs64.c long v, w, tmp; w 283 arch/mips/kernel/cpu-bugs64.c : "=&r" (v), "=&r" (w), "=&r" (tmp) w 286 arch/mips/kernel/cpu-bugs64.c daddiu_bug = v != w; w 301 arch/mips/kernel/cpu-bugs64.c : "=&r" (v), "=&r" (w), "=&r" (tmp) w 304 arch/mips/kernel/cpu-bugs64.c if (v == w) { w 1669 arch/mips/math-emu/cp1emu.c int w; w 1767 arch/mips/math-emu/cp1emu.c if (rv.w & 0x1) w 1768 arch/mips/math-emu/cp1emu.c rv.w = 0; w 1779 arch/mips/math-emu/cp1emu.c if (rv.w & 0x1) w 1782 arch/mips/math-emu/cp1emu.c rv.w = 0; w 1833 arch/mips/math-emu/cp1emu.c rv.w = ieee754sp_2008class(fs); w 1954 arch/mips/math-emu/cp1emu.c rv.w = ieee754sp_tint(fs); w 1977 arch/mips/math-emu/cp1emu.c rv.w = ieee754sp_tint(fs); w 2036 arch/mips/math-emu/cp1emu.c rv.w = ieee754sp_cmp(fs, ft, w 2305 arch/mips/math-emu/cp1emu.c rv.w = ieee754dp_tint(fs); /* wrong */ w 2328 arch/mips/math-emu/cp1emu.c rv.w = ieee754dp_tint(fs); w 2387 arch/mips/math-emu/cp1emu.c rv.w = ieee754dp_cmp(fs, ft, w 2527 arch/mips/math-emu/cp1emu.c rv.w = 0; w 2537 arch/mips/math-emu/cp1emu.c rv.w = -1; /* true, all 1s */ w 2552 arch/mips/math-emu/cp1emu.c rv.w = -1; /* true, all 1s */ w 2756 arch/mips/math-emu/cp1emu.c if (rv.w) w 2769 arch/mips/math-emu/cp1emu.c SITOREG(rv.w, MIPSInst_FD(ir)); w 426 arch/mips/mm/cerr-sb1.c uint32_t w; w 435 arch/mips/mm/cerr-sb1.c w = (uint32_t)(t >> 32); w 436 arch/mips/mm/cerr-sb1.c p ^= (parity[w>>24] ^ parity[(w>>16) & 0xFF] w 437 arch/mips/mm/cerr-sb1.c ^ parity[(w>>8) & 0xFF] ^ parity[w & 0xFF]); w 438 arch/mips/mm/cerr-sb1.c w = (uint32_t)(t & 0xFFFFFFFF); w 439 arch/mips/mm/cerr-sb1.c p ^= (parity[w>>24] ^ parity[(w>>16) & 0xFF] w 440 arch/mips/mm/cerr-sb1.c ^ parity[(w>>8) & 0xFF] ^ parity[w & 0xFF]); w 230 arch/mips/mm/tlb-r3k.c unsigned long w; w 241 arch/mips/mm/tlb-r3k.c w = read_c0_wired(); w 242 arch/mips/mm/tlb-r3k.c write_c0_wired(w + 1); w 243 arch/mips/mm/tlb-r3k.c write_c0_index(w << 8); w 195 arch/mips/net/ebpf_jit.c enum which_ebpf_reg w) w 197 arch/mips/net/ebpf_jit.c int ebpf_reg = (w == src_reg || w == src_reg_no_fp) ? w 226 arch/mips/net/ebpf_jit.c if (w == dst_reg || w == src_reg_no_fp) w 53 arch/mips/pci/ops-mace.c *val = mace->pci.config_data.w[((reg >> 1) & 1) ^ 1]; w 85 arch/mips/pci/ops-mace.c mace->pci.config_data.w[((reg >> 1) & 1) ^ 1] = val; w 30 arch/mips/pci/pci-virtio-guest.c u32 w; w 46 arch/mips/pci/pci-virtio-guest.c union pci_config_address pca = { .w = 0 }; w 53 arch/mips/pci/pci-virtio-guest.c outl(pca.w, PCI_CONFIG_ADDRESS); w 36 arch/nios2/include/asm/pgtable.h #define MKP(x, w, r) __pgprot(_PAGE_PRESENT | _PAGE_CACHED | \ w 39 arch/nios2/include/asm/pgtable.h ((w) ? _PAGE_WRITE : 0)) w 438 arch/parisc/include/asm/assembly.h mfctl,w %cr11, %r1 w 201 arch/parisc/include/asm/io.h static inline void writew(unsigned short w, volatile void __iomem *addr) w 203 arch/parisc/include/asm/io.h __raw_writew((__u16 __force) cpu_to_le16(w), addr); w 228 arch/parisc/include/asm/io.h #define writew_relaxed(w, addr) writew(w, addr) w 70 arch/parisc/include/asm/psw.h unsigned int w:1; w 79 arch/parisc/kernel/pci.c PCI_PORT_IN(w, 16) w 94 arch/parisc/kernel/pci.c PCI_PORT_OUT(w, 16) w 74 arch/parisc/lib/checksum.c unsigned int w = *(unsigned int *) buff; w 77 arch/parisc/lib/checksum.c addc(result, w); w 142 arch/parisc/lib/io.c unsigned int w; w 144 arch/parisc/lib/io.c w = inb(port) << 24; w 145 arch/parisc/lib/io.c w |= inb(port) << 16; w 146 arch/parisc/lib/io.c w |= inb(port) << 8; w 147 arch/parisc/lib/io.c w |= inb(port); w 148 arch/parisc/lib/io.c *(unsigned int *) p = w; w 57 arch/parisc/math-emu/driver.c #define FPSW_FLAGS(w) ((w) >> 27) w 58 arch/parisc/math-emu/driver.c #define FPSW_ENABLE(w) ((w) & 0x1f) w 231 arch/powerpc/include/asm/bitops.h unsigned int __arch_hweight8(unsigned int w); w 232 arch/powerpc/include/asm/bitops.h unsigned int __arch_hweight16(unsigned int w); w 233 arch/powerpc/include/asm/bitops.h unsigned int __arch_hweight32(unsigned int w); w 234 arch/powerpc/include/asm/bitops.h unsigned long __arch_hweight64(__u64 w); w 83 arch/powerpc/include/asm/book3s/32/mmu-hash.h unsigned long w:1; /* Write-thru cache mode */ w 399 arch/powerpc/include/asm/ppc-opcode.h #define __PPC_WC(w) (((w) & 0x3) << 21) w 400 arch/powerpc/include/asm/ppc-opcode.h #define __PPC_WS(w) (((w) & 0x1f) << 11) w 488 arch/powerpc/include/asm/ppc-opcode.h #define PPC_WAIT(w) stringify_in_c(.long PPC_INST_WAIT | \ w 489 arch/powerpc/include/asm/ppc-opcode.h __PPC_WC(w)) w 507 arch/powerpc/include/asm/ppc-opcode.h #define PPC_ERATWE(s, a, w) stringify_in_c(.long PPC_INST_ERATWE | \ w 508 arch/powerpc/include/asm/ppc-opcode.h __PPC_RS(s) | __PPC_RA(a) | __PPC_WS(w)) w 509 arch/powerpc/include/asm/ppc-opcode.h #define PPC_ERATRE(s, a, w) stringify_in_c(.long PPC_INST_ERATRE | \ w 510 arch/powerpc/include/asm/ppc-opcode.h __PPC_RS(s) | __PPC_RA(a) | __PPC_WS(w)) w 516 arch/powerpc/include/asm/ppc-opcode.h #define PPC_ERATSX(t, a, w) stringify_in_c(.long PPC_INST_ERATSX | \ w 518 arch/powerpc/include/asm/ppc-opcode.h #define PPC_ERATSX_DOT(t, a, w) stringify_in_c(.long PPC_INST_ERATSX_DOT | \ w 94 arch/powerpc/include/asm/sstep.h #define GETSIZE(w) ((w) >> 12) w 118 arch/powerpc/include/asm/sstep.h u32 w[4]; w 112 arch/powerpc/kernel/align.c u32 w[2]; w 148 arch/powerpc/kernel/align.c data.w[0] = *evr; w 149 arch/powerpc/kernel/align.c data.w[1] = regs->gpr[reg]; w 160 arch/powerpc/kernel/align.c data.w[1] = *evr; w 163 arch/powerpc/kernel/align.c data.w[1] = regs->gpr[reg]; w 216 arch/powerpc/kernel/align.c data.w[0] = temp.w[1]; w 217 arch/powerpc/kernel/align.c data.w[1] = temp.w[1]; w 236 arch/powerpc/kernel/align.c data.w[0] = swab32(data.w[0]); w 237 arch/powerpc/kernel/align.c data.w[1] = swab32(data.w[1]); w 250 arch/powerpc/kernel/align.c data.w[0] = (s16)data.h[1]; w 251 arch/powerpc/kernel/align.c data.w[1] = (s16)data.h[3]; w 276 arch/powerpc/kernel/align.c *evr = data.w[0]; w 277 arch/powerpc/kernel/align.c regs->gpr[reg] = data.w[1]; w 438 arch/powerpc/kernel/rtasd.c static void rtas_event_scan(struct work_struct *w); w 448 arch/powerpc/kernel/rtasd.c static void rtas_event_scan(struct work_struct *w) w 1155 arch/powerpc/kernel/time.c unsigned long w, x, y, z; w 1163 arch/powerpc/kernel/time.c w = a / divisor; w 1164 arch/powerpc/kernel/time.c ra = ((u64)(a - (w * divisor)) << 32) + b; w 1175 arch/powerpc/kernel/time.c dr->result_high = ((u64)w << 32) + x; w 263 arch/powerpc/kvm/book3s_paired_singles.c int rs, ulong addr, bool w, int i) w 271 arch/powerpc/kvm/book3s_paired_singles.c if (w) { w 281 arch/powerpc/kvm/book3s_paired_singles.c } else if ((r == EMULATE_DO_MMIO) && w) { w 299 arch/powerpc/kvm/book3s_paired_singles.c tmp[1], addr, w ? 4 : 8); w 306 arch/powerpc/kvm/book3s_paired_singles.c int rs, ulong addr, bool w, int i) w 311 arch/powerpc/kvm/book3s_paired_singles.c int len = w ? sizeof(u32) : sizeof(u64); w 320 arch/powerpc/kvm/book3s_paired_singles.c } else if ((r == EMULATE_DO_MMIO) && w) { w 679 arch/powerpc/kvm/book3s_paired_singles.c bool w = inst_get_field(inst, 16, 16) ? true : false; w 683 arch/powerpc/kvm/book3s_paired_singles.c emulated = kvmppc_emulate_psq_load(run, vcpu, ax_rd, addr, w, i); w 689 arch/powerpc/kvm/book3s_paired_singles.c bool w = inst_get_field(inst, 16, 16) ? true : false; w 693 arch/powerpc/kvm/book3s_paired_singles.c emulated = kvmppc_emulate_psq_load(run, vcpu, ax_rd, addr, w, i); w 702 arch/powerpc/kvm/book3s_paired_singles.c bool w = inst_get_field(inst, 16, 16) ? true : false; w 706 arch/powerpc/kvm/book3s_paired_singles.c emulated = kvmppc_emulate_psq_store(run, vcpu, ax_rd, addr, w, i); w 712 arch/powerpc/kvm/book3s_paired_singles.c bool w = inst_get_field(inst, 16, 16) ? true : false; w 716 arch/powerpc/kvm/book3s_paired_singles.c emulated = kvmppc_emulate_psq_store(run, vcpu, ax_rd, addr, w, i); w 732 arch/powerpc/kvm/book3s_paired_singles.c bool w = inst_get_field(inst, 21, 21) ? true : false; w 736 arch/powerpc/kvm/book3s_paired_singles.c emulated = kvmppc_emulate_psq_load(run, vcpu, ax_rd, addr, w, i); w 746 arch/powerpc/kvm/book3s_paired_singles.c bool w = inst_get_field(inst, 21, 21) ? true : false; w 750 arch/powerpc/kvm/book3s_paired_singles.c emulated = kvmppc_emulate_psq_load(run, vcpu, ax_rd, addr, w, i); w 823 arch/powerpc/kvm/book3s_paired_singles.c bool w = inst_get_field(inst, 21, 21) ? true : false; w 827 arch/powerpc/kvm/book3s_paired_singles.c emulated = kvmppc_emulate_psq_store(run, vcpu, ax_rd, addr, w, i); w 833 arch/powerpc/kvm/book3s_paired_singles.c bool w = inst_get_field(inst, 21, 21) ? true : false; w 837 arch/powerpc/kvm/book3s_paired_singles.c emulated = kvmppc_emulate_psq_store(run, vcpu, ax_rd, addr, w, i); w 2018 arch/powerpc/kvm/booke.c int n, b = 0, w = 0; w 2081 arch/powerpc/kvm/booke.c type, w++)) w 709 arch/powerpc/lib/sstep.c reg->w[i] = !rev ? *wp++ : byterev_4(*wp++); w 712 arch/powerpc/lib/sstep.c u32 val = reg->w[IS_LE ? 3 : 0]; w 715 arch/powerpc/lib/sstep.c reg->w[i] = val; w 792 arch/powerpc/lib/sstep.c *wp++ = !rev ? reg->w[i] : byterev_4(reg->w[i]); w 3259 arch/powerpc/platforms/powernv/pci-ioda.c struct resource *r, *w; w 3274 arch/powerpc/platforms/powernv/pci-ioda.c w = NULL; w 3276 arch/powerpc/platforms/powernv/pci-ioda.c w = &hose->io_resource; w 3280 arch/powerpc/platforms/powernv/pci-ioda.c w = &hose->mem_resources[1]; w 3282 arch/powerpc/platforms/powernv/pci-ioda.c w = &hose->mem_resources[0]; w 3286 arch/powerpc/platforms/powernv/pci-ioda.c r->start = w->start; w 3287 arch/powerpc/platforms/powernv/pci-ioda.c r->end = w->end; w 25 arch/riscv/include/asm/asm.h #define REG_SC __REG_SEL(sc.d, sc.w) w 69 arch/riscv/include/asm/atomic.h ATOMIC_OP (op, asm_op, I, w, int, ) w 72 arch/riscv/include/asm/atomic.h ATOMIC_OP (op, asm_op, I, w, int, ) \ w 130 arch/riscv/include/asm/atomic.h ATOMIC_FETCH_OP( op, asm_op, I, w, int, ) \ w 131 arch/riscv/include/asm/atomic.h ATOMIC_OP_RETURN(op, asm_op, c_op, I, w, int, ) w 134 arch/riscv/include/asm/atomic.h ATOMIC_FETCH_OP( op, asm_op, I, w, int, ) \ w 135 arch/riscv/include/asm/atomic.h ATOMIC_OP_RETURN(op, asm_op, c_op, I, w, int, ) \ w 169 arch/riscv/include/asm/atomic.h ATOMIC_FETCH_OP(op, asm_op, I, w, int, ) w 172 arch/riscv/include/asm/atomic.h ATOMIC_FETCH_OP(op, asm_op, I, w, int, ) \ w 28 arch/riscv/include/asm/barrier.h #define __smp_wmb() RISCV_FENCE(w,w) w 33 arch/riscv/include/asm/barrier.h RISCV_FENCE(rw,w); \ w 246 arch/riscv/include/asm/io.h __io_reads_ins(reads, u16, w, __io_br(), __io_ar(addr)) w 253 arch/riscv/include/asm/io.h __io_reads_ins(ins, u16, w, __io_pbr(), __io_par(addr)) w 260 arch/riscv/include/asm/io.h __io_writes_outs(writes, u16, w, __io_bw(), __io_aw()) w 267 arch/riscv/include/asm/io.h __io_writes_outs(outs, u16, w, __io_pbw(), __io_paw()) w 44 arch/s390/include/asm/fcx.h u32 w:1; w 297 arch/s390/include/asm/fcx.h void tcw_init(struct tcw *tcw, int r, int w); w 46 arch/s390/include/asm/nmi.h u64 w : 1; /* 08 warning pending */ w 447 arch/s390/kernel/nmi.c if (mci.w) { w 2798 arch/s390/kvm/interrupt.c if (mci.w) w 86 arch/sh/include/asm/io.h __BUILD_UNCACHED_IO(w, u16) w 116 arch/sh/include/asm/io.h __BUILD_MEMORY_STRING(__raw_, w, u16) w 190 arch/sh/include/asm/io.h BUILDIO_IOPORT(w, u16) w 219 arch/sh/include/asm/io.h __BUILD_IOPORT_STRING(w, u16) w 26 arch/sh/include/asm/romimage-macros.h mov.w r0, @r1 w 52 arch/sh/include/uapi/asm/swab.h } v, w; w 54 arch/sh/include/uapi/asm/swab.h w.s.b = __arch_swab32(v.s.a); w 55 arch/sh/include/uapi/asm/swab.h w.s.a = __arch_swab32(v.s.b); w 56 arch/sh/include/uapi/asm/swab.h return w.u; w 98 arch/sh/kernel/cpu/sh2a/fpu.c int exp, w; w 110 arch/sh/kernel/cpu/sh2a/fpu.c w = -1; w 111 arch/sh/kernel/cpu/sh2a/fpu.c while (n) { n >>= 1; w++; } w 114 arch/sh/kernel/cpu/sh2a/fpu.c exp += w - 126 - 46; w 116 arch/sh/kernel/cpu/sh2a/fpu.c ix = ((int) (m >> (w - 23)) & 0x007fffff) | (exp << 23); w 118 arch/sh/kernel/cpu/sh2a/fpu.c ix = (int) (m >> (w - 22 - exp)) & 0x007fffff; w 165 arch/sh/kernel/cpu/sh2a/fpu.c int exp, w; w 178 arch/sh/kernel/cpu/sh2a/fpu.c w = -1; w 180 arch/sh/kernel/cpu/sh2a/fpu.c while (nh) { nh >>= 1; w++;} w 181 arch/sh/kernel/cpu/sh2a/fpu.c w += 64; w 183 arch/sh/kernel/cpu/sh2a/fpu.c while (nl) { nl >>= 1; w++;} w 186 arch/sh/kernel/cpu/sh2a/fpu.c exp += w - 1022 - 52 * 2; w 188 arch/sh/kernel/cpu/sh2a/fpu.c ix = (rshift64(mh, ml, w - 52) & 0x000fffffffffffffLL) w 191 arch/sh/kernel/cpu/sh2a/fpu.c ix = rshift64(mh, ml, w - 51 - exp) & 0x000fffffffffffffLL; w 8 arch/sh/lib/ashldi3.c DWunion uu, w; w 18 arch/sh/lib/ashldi3.c w.s.low = 0; w 19 arch/sh/lib/ashldi3.c w.s.high = (unsigned int) uu.s.low << -bm; w 23 arch/sh/lib/ashldi3.c w.s.low = (unsigned int) uu.s.low << b; w 24 arch/sh/lib/ashldi3.c w.s.high = ((unsigned int) uu.s.high << b) | carries; w 27 arch/sh/lib/ashldi3.c return w.ll; w 8 arch/sh/lib/ashrdi3.c DWunion uu, w; w 19 arch/sh/lib/ashrdi3.c w.s.high = w 21 arch/sh/lib/ashrdi3.c w.s.low = uu.s.high >> -bm; w 25 arch/sh/lib/ashrdi3.c w.s.high = uu.s.high >> b; w 26 arch/sh/lib/ashrdi3.c w.s.low = ((unsigned int) uu.s.low >> b) | carries; w 29 arch/sh/lib/ashrdi3.c return w.ll; w 8 arch/sh/lib/lshrdi3.c DWunion uu, w; w 18 arch/sh/lib/lshrdi3.c w.s.high = 0; w 19 arch/sh/lib/lshrdi3.c w.s.low = (unsigned int) uu.s.high >> -bm; w 23 arch/sh/lib/lshrdi3.c w.s.high = (unsigned int) uu.s.high >> b; w 24 arch/sh/lib/lshrdi3.c w.s.low = ((unsigned int) uu.s.low >> b) | carries; w 27 arch/sh/lib/lshrdi3.c return w.ll; w 46 arch/sparc/include/asm/bitops_64.h unsigned long __arch_hweight64(__u64 w); w 47 arch/sparc/include/asm/bitops_64.h unsigned int __arch_hweight32(unsigned int w); w 48 arch/sparc/include/asm/bitops_64.h unsigned int __arch_hweight16(unsigned int w); w 49 arch/sparc/include/asm/bitops_64.h unsigned int __arch_hweight8(unsigned int w); w 50 arch/sparc/include/asm/ide.h u32 w; w 52 arch/sparc/include/asm/ide.h w = __raw_readw(port) << 16; w 53 arch/sparc/include/asm/ide.h w |= __raw_readw(port); w 54 arch/sparc/include/asm/ide.h *pi++ = w; w 80 arch/sparc/include/asm/ide.h u32 w; w 82 arch/sparc/include/asm/ide.h w = *pi++; w 83 arch/sparc/include/asm/ide.h __raw_writew((w >> 16), port); w 84 arch/sparc/include/asm/ide.h __raw_writew(w, port); w 78 arch/sparc/include/asm/io_32.h static inline void sbus_writew(u16 w, volatile void __iomem *addr) w 80 arch/sparc/include/asm/io_32.h *(__force volatile u16 *)addr = w; w 77 arch/sparc/include/asm/io_64.h static inline void __raw_writew(u16 w, const volatile void __iomem *addr) w 81 arch/sparc/include/asm/io_64.h : "Jr" (w), "r" (addr), "i" (ASI_PHYS_BYPASS_EC_E)); w 167 arch/sparc/include/asm/io_64.h static inline void writew(u16 w, volatile void __iomem *addr) w 171 arch/sparc/include/asm/io_64.h : "Jr" (w), "r" (addr), "i" (ASI_PHYS_BYPASS_EC_E_L) w 220 arch/sparc/include/asm/io_64.h static inline void outw(u16 w, unsigned long addr) w 222 arch/sparc/include/asm/io_64.h writew(w, (volatile void __iomem *)addr); w 315 arch/sparc/include/asm/io_64.h static inline void sbus_writew(u16 w, volatile void __iomem *addr) w 317 arch/sparc/include/asm/io_64.h __raw_writew(w, addr); w 109 arch/sparc/include/asm/uaccess_64.h case 4: __put_user_asm(data, w, addr, __pu_ret); break; \ w 79 arch/sparc/include/asm/upa.h static inline void _upa_writew(unsigned short w, unsigned long addr) w 83 arch/sparc/include/asm/upa.h : "r" (w), "r" (addr), "i" (ASI_PHYS_BYPASS_EC_E)); w 80 arch/sparc/kernel/of_device_32.c u32 w = addr[0]; w 84 arch/sparc/kernel/of_device_32.c switch((w >> 24) & 0x03) { w 94 arch/sparc/kernel/of_device_32.c if (w & 0x40000000) w 143 arch/sparc/kernel/of_device_64.c u32 w = addr[0]; w 147 arch/sparc/kernel/of_device_64.c switch((w >> 24) & 0x03) { w 157 arch/sparc/kernel/of_device_64.c if (w & 0x40000000) w 100 arch/sparc/lib/PeeCeeI.c u32 w; w 102 arch/sparc/lib/PeeCeeI.c w = (__raw_readb(addr) << 24); w 103 arch/sparc/lib/PeeCeeI.c w |= (__raw_readb(addr) << 16); w 104 arch/sparc/lib/PeeCeeI.c w |= (__raw_readb(addr) << 8); w 105 arch/sparc/lib/PeeCeeI.c w |= (__raw_readb(addr) << 0); w 106 arch/sparc/lib/PeeCeeI.c *pi++ = w; w 130 arch/sparc/lib/PeeCeeI.c u32 w; w 132 arch/sparc/lib/PeeCeeI.c w = __raw_readw(addr) << 16; w 133 arch/sparc/lib/PeeCeeI.c w |= __raw_readw(addr) << 0; w 134 arch/sparc/lib/PeeCeeI.c *pi++ = w; w 180 arch/um/drivers/hostaudio_kern.c int r = 0, w = 0; w 196 arch/um/drivers/hostaudio_kern.c w = 1; w 200 arch/um/drivers/hostaudio_kern.c ret = os_open_file(dsp, of_set_rw(OPENFLAGS(), r, w), 0); w 243 arch/um/drivers/hostaudio_kern.c int r = 0, w = 0; w 257 arch/um/drivers/hostaudio_kern.c w = 1; w 261 arch/um/drivers/hostaudio_kern.c ret = os_open_file(mixer, of_set_rw(OPENFLAGS(), r, w), 0); w 125 arch/um/drivers/ubd_kern.c #define OPEN_FLAGS ((struct openflags) { .r = 1, .w = 1, .s = 1, .c = 0, \ w 128 arch/um/drivers/ubd_kern.c #define OPEN_FLAGS ((struct openflags) { .r = 1, .w = 1, .s = 0, .c = 0, \ w 331 arch/um/drivers/ubd_kern.c flags.w = 0; w 684 arch/um/drivers/ubd_kern.c if (!openflags->w || w 687 arch/um/drivers/ubd_kern.c openflags->w = 0; w 696 arch/um/drivers/ubd_kern.c err = os_lock_file(fd, openflags->w); w 839 arch/um/drivers/ubd_kern.c flags.w = 0; w 1229 arch/um/drivers/ubd_kern.c set_disk_ro(disk, !ubd_dev->openflags.w); w 60 arch/um/include/shared/mem_user.h unsigned long len, int r, int w, int x); w 62 arch/um/include/shared/os.h unsigned int w : 1; w 71 arch/um/include/shared/os.h #define OPENFLAGS() ((struct openflags) { .r = 0, .w = 0, .s = 0, .c = 0, \ w 82 arch/um/include/shared/os.h flags.w = 1; w 91 arch/um/include/shared/os.h static inline struct openflags of_set_rw(struct openflags flags, int r, int w) w 94 arch/um/include/shared/os.h flags.w = w; w 160 arch/um/include/shared/os.h extern int os_shutdown_socket(int fd, int r, int w); w 207 arch/um/include/shared/os.h unsigned long len, int r, int w, int x); w 209 arch/um/include/shared/os.h int r, int w, int x); w 42 arch/um/kernel/physmem.c int r, int w, int x) w 48 arch/um/kernel/physmem.c err = os_map_memory((void *) virt, fd, offset, len, r, w, x); w 55 arch/um/kernel/physmem.c "err = %d\n", virt, fd, offset, len, r, w, x, err); w 226 arch/um/kernel/tlb.c int r, w, x, prot, ret = 0; w 234 arch/um/kernel/tlb.c w = pte_write(*pte); w 238 arch/um/kernel/tlb.c w = 0; w 240 arch/um/kernel/tlb.c w = 0; w 242 arch/um/kernel/tlb.c prot = ((r ? UM_PROT_READ : 0) | (w ? UM_PROT_WRITE : 0) | w 432 arch/um/kernel/tlb.c int r, w, x, prot, err = 0; w 451 arch/um/kernel/tlb.c w = pte_write(*pte); w 455 arch/um/kernel/tlb.c w = 0; w 457 arch/um/kernel/tlb.c w = 0; w 461 arch/um/kernel/tlb.c prot = ((r ? UM_PROT_READ : 0) | (w ? UM_PROT_WRITE : 0) | w 180 arch/um/os-Linux/file.c if (flags.r && flags.w) w 184 arch/um/os-Linux/file.c else if (flags.w) w 483 arch/um/os-Linux/file.c int os_shutdown_socket(int fd, int r, int w) w 487 arch/um/os-Linux/file.c if (r && w) w 491 arch/um/os-Linux/file.c else if (w) w 139 arch/um/os-Linux/process.c int r, int w, int x) w 144 arch/um/os-Linux/process.c prot = (r ? PROT_READ : 0) | (w ? PROT_WRITE : 0) | w 154 arch/um/os-Linux/process.c int os_protect_memory(void *addr, unsigned long len, int r, int w, int x) w 156 arch/um/os-Linux/process.c int prot = ((r ? PROT_READ : 0) | (w ? PROT_WRITE : 0) | w 104 arch/unicore32/include/asm/assembler.h \instr\()w.u \reg, [\ptr], #\inc w 289 arch/x86/boot/compressed/eboot.c u32 w, h, depth, refresh; w 303 arch/x86/boot/compressed/eboot.c &w, &h, &depth, &refresh); w 305 arch/x86/boot/compressed/eboot.c width = w; w 2922 arch/x86/events/intel/core.c int is_excl, i, w; w 2978 arch/x86/events/intel/core.c w = c->weight; w 2987 arch/x86/events/intel/core.c w--; w 2997 arch/x86/events/intel/core.c w--; w 3007 arch/x86/events/intel/core.c if (!w) w 3010 arch/x86/events/intel/core.c c->weight = w; w 280 arch/x86/events/perf_event.h #define __EVENT_CONSTRAINT_RANGE(c, e, n, m, w, o, f) { \ w 285 arch/x86/events/perf_event.h .weight = (w), \ w 290 arch/x86/events/perf_event.h #define __EVENT_CONSTRAINT(c, n, m, w, o, f) \ w 291 arch/x86/events/perf_event.h __EVENT_CONSTRAINT_RANGE(c, c, n, m, w, o, f) w 15 arch/x86/include/asm/arch_hweight.h static __always_inline unsigned int __arch_hweight32(unsigned int w) w 21 arch/x86/include/asm/arch_hweight.h : REG_IN (w)); w 26 arch/x86/include/asm/arch_hweight.h static inline unsigned int __arch_hweight16(unsigned int w) w 28 arch/x86/include/asm/arch_hweight.h return __arch_hweight32(w & 0xffff); w 31 arch/x86/include/asm/arch_hweight.h static inline unsigned int __arch_hweight8(unsigned int w) w 33 arch/x86/include/asm/arch_hweight.h return __arch_hweight32(w & 0xff); w 37 arch/x86/include/asm/arch_hweight.h static inline unsigned long __arch_hweight64(__u64 w) w 39 arch/x86/include/asm/arch_hweight.h return __arch_hweight32((u32)w) + w 40 arch/x86/include/asm/arch_hweight.h __arch_hweight32((u32)(w >> 32)); w 43 arch/x86/include/asm/arch_hweight.h static __always_inline unsigned long __arch_hweight64(__u64 w) w 49 arch/x86/include/asm/arch_hweight.h : REG_IN (w)); w 340 arch/x86/include/asm/io.h BUILDIO(w, w, short) w 473 arch/x86/kernel/amd_nb.c u32 w; w 477 arch/x86/kernel/amd_nb.c 0x9c, &w); w 478 arch/x86/kernel/amd_nb.c if (!(w & 1)) w 359 arch/x86/kvm/emulate.c FOP1E(op##w, ax) \ w 390 arch/x86/kvm/emulate.c FOP2E(op##w, ax, dx) \ w 399 arch/x86/kvm/emulate.c FOP2E(op##w, ax, dx) \ w 408 arch/x86/kvm/emulate.c FOP2E(op##w, ax, cl) \ w 417 arch/x86/kvm/emulate.c FOP2E(op##w, dx, ax) \ w 431 arch/x86/kvm/emulate.c FOP3E(op##w, ax, dx, cl) \ w 4759 arch/x86/kvm/mmu.c const u8 w = BYTE_MASK(ACC_WRITE_MASK); w 4775 arch/x86/kvm/mmu.c u8 wf = (pfec & PFERR_WRITE_MASK) ? (u8)~w : 0; w 26 arch/xtensa/mm/tlb.c int w, i; w 28 arch/xtensa/mm/tlb.c for (w = 0; w < ITLB_ARF_WAYS; w++) { w 30 arch/xtensa/mm/tlb.c int e = w + (i << PAGE_SHIFT); w 39 arch/xtensa/mm/tlb.c int w, i; w 41 arch/xtensa/mm/tlb.c for (w = 0; w < DTLB_ARF_WAYS; w++) { w 43 arch/xtensa/mm/tlb.c int e = w + (i << PAGE_SHIFT); w 214 arch/xtensa/mm/tlb.c static int check_tlb_entry(unsigned w, unsigned e, bool dtlb) w 216 arch/xtensa/mm/tlb.c unsigned tlbidx = w | (e << PAGE_SHIFT); w 230 arch/xtensa/mm/tlb.c dtlb ? 'D' : 'I', w, e, vpn, w 238 arch/xtensa/mm/tlb.c dtlb ? 'D' : 'I', w, e, r0, r1, pte); w 259 arch/xtensa/mm/tlb.c unsigned w, e; w 263 arch/xtensa/mm/tlb.c for (w = 0; w < DTLB_ARF_WAYS; ++w) w 265 arch/xtensa/mm/tlb.c bug |= check_tlb_entry(w, e, true); w 266 arch/xtensa/mm/tlb.c for (w = 0; w < ITLB_ARF_WAYS; ++w) w 268 arch/xtensa/mm/tlb.c bug |= check_tlb_entry(w, e, false); w 52 crypto/aegis128-neon-inner.c uint8x16_t aegis_aes_round(uint8x16_t w) w 69 crypto/aegis128-neon-inner.c w = vqtbl1q_u8(w, vld1q_u8(shift_rows)); w 73 crypto/aegis128-neon-inner.c v = vqtbl4q_u8(vld1q_u8_x4(crypto_aes_sbox), w); w 74 crypto/aegis128-neon-inner.c v = vqtbx4q_u8(v, vld1q_u8_x4(crypto_aes_sbox + 0x40), w - 0x40); w 75 crypto/aegis128-neon-inner.c v = vqtbx4q_u8(v, vld1q_u8_x4(crypto_aes_sbox + 0x80), w - 0x80); w 76 crypto/aegis128-neon-inner.c v = vqtbx4q_u8(v, vld1q_u8_x4(crypto_aes_sbox + 0xc0), w - 0xc0); w 78 crypto/aegis128-neon-inner.c asm("tbl %0.16b, {v16.16b-v19.16b}, %1.16b" : "=w"(v) : "w"(w)); w 79 crypto/aegis128-neon-inner.c w -= 0x40; w 80 crypto/aegis128-neon-inner.c asm("tbx %0.16b, {v20.16b-v23.16b}, %1.16b" : "+w"(v) : "w"(w)); w 81 crypto/aegis128-neon-inner.c w -= 0x40; w 82 crypto/aegis128-neon-inner.c asm("tbx %0.16b, {v24.16b-v27.16b}, %1.16b" : "+w"(v) : "w"(w)); w 83 crypto/aegis128-neon-inner.c w -= 0x40; w 84 crypto/aegis128-neon-inner.c asm("tbx %0.16b, {v28.16b-v31.16b}, %1.16b" : "+w"(v) : "w"(w)); w 88 crypto/aegis128-neon-inner.c w = (v << 1) ^ (uint8x16_t)(((int8x16_t)v >> 7) & 0x1b); w 89 crypto/aegis128-neon-inner.c w ^= (uint8x16_t)vrev32q_u16((uint16x8_t)v); w 90 crypto/aegis128-neon-inner.c w ^= vqtbl1q_u8(v ^ w, vld1q_u8(ror32by8)); w 92 crypto/aegis128-neon-inner.c return w; w 102 crypto/aegis128-neon-inner.c asm(AES_ROUND : "+w"(w) : "w"(z)); w 103 crypto/aegis128-neon-inner.c return w; w 1426 crypto/ecc.c u64 yy[ECC_MAX_DIGITS], xxx[ECC_MAX_DIGITS], w[ECC_MAX_DIGITS]; w 1445 crypto/ecc.c vli_mod_mult_fast(w, curve->a, pk->x, curve->p, pk->ndigits); /* a·x */ w 1446 crypto/ecc.c vli_mod_add(w, w, curve->b, curve->p, pk->ndigits); /* a·x + b */ w 1447 crypto/ecc.c vli_mod_add(w, w, xxx, curve->p, pk->ndigits); /* x^3 + a·x + b */ w 1448 crypto/ecc.c if (vli_cmp(yy, w, pk->ndigits) != 0) /* Equation */ w 149 crypto/lrw.c struct skcipher_walk w; w 160 crypto/lrw.c err = skcipher_walk_virt(&w, req, false); w 164 crypto/lrw.c iv = (__be32 *)w.iv; w 170 crypto/lrw.c while (w.nbytes) { w 171 crypto/lrw.c unsigned int avail = w.nbytes; w 175 crypto/lrw.c wsrc = w.src.virt.addr; w 176 crypto/lrw.c wdst = w.dst.virt.addr; w 186 crypto/lrw.c if (second_pass && w.nbytes == w.total) { w 193 crypto/lrw.c err = skcipher_walk_done(&w, avail); w 40 crypto/md5.c #define MD5STEP(f, w, x, y, z, in, s) \ w 41 crypto/md5.c (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x) w 54 crypto/sm3_generic.c static void sm3_expand(u32 *t, u32 *w, u32 *wt) w 61 crypto/sm3_generic.c w[i] = get_unaligned_be32((__u32 *)t + i); w 64 crypto/sm3_generic.c tmp = w[i - 16] ^ w[i - 9] ^ rol32(w[i - 3], 15); w 65 crypto/sm3_generic.c w[i] = p1(tmp) ^ (rol32(w[i - 13], 7)) ^ w[i - 6]; w 69 crypto/sm3_generic.c wt[i] = w[i] ^ w[i + 4]; w 72 crypto/sm3_generic.c static void sm3_compress(u32 *w, u32 *wt, u32 *m) w 99 crypto/sm3_generic.c tt2 = gg(i, e, f, g) + h + ss1 + *w; w 100 crypto/sm3_generic.c w++; w 126 crypto/sm3_generic.c unsigned int w[68]; w 129 crypto/sm3_generic.c sm3_expand((u32 *)src, w, wt); w 130 crypto/sm3_generic.c sm3_compress(w, wt, sst->state); w 132 crypto/sm3_generic.c memzero_explicit(w, sizeof(w)); w 468 crypto/twofish_common.c #define CALC_S(a, b, c, d, i, w, x, y, z) \ w 471 crypto/twofish_common.c (a) ^= exp_to_poly[tmp + (w)]; \ w 652 crypto/twofish_common.c CALC_K256 (w, i, q0[i], q1[i], q0[i+1], q1[i+1]); w 665 crypto/twofish_common.c CALC_K192 (w, i, q0[i], q1[i], q0[i+1], q1[i+1]); w 678 crypto/twofish_common.c CALC_K (w, i, q0[i], q1[i], q0[i+1], q1[i+1]); w 86 crypto/twofish_generic.c x = le32_to_cpu(src[n]) ^ ctx->w[m] w 89 crypto/twofish_generic.c x ^= ctx->w[m]; \ w 93 crypto/xts.c struct skcipher_walk w; w 102 crypto/xts.c err = skcipher_walk_virt(&w, req, false); w 104 crypto/xts.c while (w.nbytes) { w 105 crypto/xts.c unsigned int avail = w.nbytes; w 109 crypto/xts.c wsrc = w.src.virt.addr; w 110 crypto/xts.c wdst = w.dst.virt.addr; w 114 crypto/xts.c w.total - w.nbytes + avail < 2 * XTS_BLOCK_SIZE) { w 123 crypto/xts.c skcipher_walk_done(&w, avail - bs); w 131 crypto/xts.c err = skcipher_walk_done(&w, avail); w 884 drivers/android/binder.c struct binder_work *w; w 886 drivers/android/binder.c w = list_first_entry_or_null(list, struct binder_work, entry); w 887 drivers/android/binder.c if (w) w 888 drivers/android/binder.c list_del_init(&w->entry); w 889 drivers/android/binder.c return w; w 905 drivers/android/binder.c struct binder_work *w; w 908 drivers/android/binder.c w = binder_dequeue_work_head_ilocked(list); w 910 drivers/android/binder.c return w; w 2848 drivers/android/binder.c struct binder_work *w; w 2996 drivers/android/binder.c w = list_first_entry_or_null(&thread->todo, w 2998 drivers/android/binder.c if (!(tr->flags & TF_ONE_WAY) && w && w 2999 drivers/android/binder.c w->type == BINDER_WORK_TRANSACTION) { w 3575 drivers/android/binder.c struct binder_work *w; w 3581 drivers/android/binder.c w = binder_dequeue_work_head_ilocked( w 3583 drivers/android/binder.c if (!w) { w 3587 drivers/android/binder.c w, &proc->todo); w 3977 drivers/android/binder.c struct binder_work *w; w 3986 drivers/android/binder.c list_for_each_entry(w, &proc->delivered_death, w 3989 drivers/android/binder.c container_of(w, w 4230 drivers/android/binder.c struct binder_work *w = NULL; w 4255 drivers/android/binder.c w = binder_dequeue_work_head_ilocked(list); w 4259 drivers/android/binder.c switch (w->type) { w 4262 drivers/android/binder.c t = container_of(w, struct binder_transaction, work); w 4266 drivers/android/binder.c w, struct binder_error, work); w 4281 drivers/android/binder.c kfree(w); w 4293 drivers/android/binder.c struct binder_node *node = container_of(w, struct binder_node, work); w 4386 drivers/android/binder.c death = container_of(w, struct binder_ref_death, work); w 4387 drivers/android/binder.c if (w->type == BINDER_WORK_CLEAR_DEATH_NOTIFICATION) w 4400 drivers/android/binder.c if (w->type == BINDER_WORK_CLEAR_DEATH_NOTIFICATION) { w 4406 drivers/android/binder.c w, &proc->delivered_death); w 4423 drivers/android/binder.c proc->pid, thread->pid, w->type); w 4580 drivers/android/binder.c struct binder_work *w; w 4583 drivers/android/binder.c w = binder_dequeue_work_head(proc, list); w 4584 drivers/android/binder.c if (!w) w 4587 drivers/android/binder.c switch (w->type) { w 4591 drivers/android/binder.c t = container_of(w, struct binder_transaction, work); w 4598 drivers/android/binder.c w, struct binder_error, work); w 4607 drivers/android/binder.c kfree(w); w 4614 drivers/android/binder.c death = container_of(w, struct binder_ref_death, work); w 4623 drivers/android/binder.c w->type); w 5585 drivers/android/binder.c struct binder_work *w) w 5590 drivers/android/binder.c switch (w->type) { w 5592 drivers/android/binder.c t = container_of(w, struct binder_transaction, work); w 5598 drivers/android/binder.c w, struct binder_error, work); w 5607 drivers/android/binder.c node = container_of(w, struct binder_node, work); w 5622 drivers/android/binder.c seq_printf(m, "%sunknown work: type %d\n", prefix, w->type); w 5632 drivers/android/binder.c struct binder_work *w; w 5657 drivers/android/binder.c list_for_each_entry(w, &thread->todo, entry) { w 5659 drivers/android/binder.c " pending transaction", w); w 5669 drivers/android/binder.c struct binder_work *w; w 5688 drivers/android/binder.c list_for_each_entry(w, &node->async_todo, entry) w 5690 drivers/android/binder.c " pending async transaction", w); w 5709 drivers/android/binder.c struct binder_work *w; w 5762 drivers/android/binder.c list_for_each_entry(w, &proc->todo, entry) w 5764 drivers/android/binder.c " pending transaction", w); w 5765 drivers/android/binder.c list_for_each_entry(w, &proc->delivered_death, entry) { w 5872 drivers/android/binder.c struct binder_work *w; w 5923 drivers/android/binder.c list_for_each_entry(w, &proc->todo, entry) { w 5924 drivers/android/binder.c if (w->type == BINDER_WORK_TRANSACTION) w 1251 drivers/ata/sata_mv.c int b, w; w 1254 drivers/ata/sata_mv.c for (w = 0; b < bytes && w < 4; w++) { w 1266 drivers/ata/sata_mv.c int b, w; w 1270 drivers/ata/sata_mv.c for (w = 0; b < bytes && w < 4; w++) { w 287 drivers/bcma/driver_pci.c u32 w; w 289 drivers/bcma/driver_pci.c w = bcma_pcie_read(pc, BCMA_CORE_PCI_DLLP_PMTHRESHREG); w 291 drivers/bcma/driver_pci.c w |= BCMA_CORE_PCI_ASPMTIMER_EXTEND; w 293 drivers/bcma/driver_pci.c w &= ~BCMA_CORE_PCI_ASPMTIMER_EXTEND; w 294 drivers/bcma/driver_pci.c bcma_pcie_write(pc, BCMA_CORE_PCI_DLLP_PMTHRESHREG, w); w 252 drivers/block/drbd/drbd_debugfs.c list_for_each_entry(peer_req, lh, w.list) { w 263 drivers/block/drbd/drbd_int.h struct drbd_work w; w 275 drivers/block/drbd/drbd_int.h struct drbd_work w; w 395 drivers/block/drbd/drbd_int.h struct drbd_work w; w 612 drivers/block/drbd/drbd_int.h struct drbd_work w; w 1921 drivers/block/drbd/drbd_int.h drbd_queue_work(struct drbd_work_queue *q, struct drbd_work *w) w 1925 drivers/block/drbd/drbd_int.h list_add_tail(&w->list, &q->q); w 1931 drivers/block/drbd/drbd_int.h drbd_queue_work_if_unqueued(struct drbd_work_queue *q, struct drbd_work *w) w 1935 drivers/block/drbd/drbd_int.h if (list_empty_careful(&w->list)) w 1936 drivers/block/drbd/drbd_int.h list_add_tail(&w->list, &q->q); w 2319 drivers/block/drbd/drbd_int.h &device->bm_io_work.w); w 56 drivers/block/drbd/drbd_main.c static int w_bitmap_io(struct drbd_work *w, int unused); w 2005 drivers/block/drbd/drbd_main.c INIT_LIST_HEAD(&device->bm_io_work.w.list); w 2013 drivers/block/drbd/drbd_main.c device->bm_io_work.w.cb = w_bitmap_io; w 2481 drivers/block/drbd/drbd_main.c struct drbd_work w; w 2485 drivers/block/drbd/drbd_main.c static int w_complete(struct drbd_work *w, int cancel) w 2488 drivers/block/drbd/drbd_main.c container_of(w, struct completion_work, w); w 2498 drivers/block/drbd/drbd_main.c completion_work.w.cb = w_complete; w 2500 drivers/block/drbd/drbd_main.c drbd_queue_work(work_queue, &completion_work.w); w 3566 drivers/block/drbd/drbd_main.c static int w_bitmap_io(struct drbd_work *w, int unused) w 3569 drivers/block/drbd/drbd_main.c container_of(w, struct drbd_device, bm_io_work.w); w 3624 drivers/block/drbd/drbd_main.c D_ASSERT(device, list_empty(&device->bm_io_work.w.list)); w 3641 drivers/block/drbd/drbd_main.c &device->bm_io_work.w); w 201 drivers/block/drbd/drbd_receiver.c list_for_each_entry_safe(peer_req, tmp, &device->net_ee, w.list) { w 204 drivers/block/drbd/drbd_receiver.c list_move(&peer_req->w.list, to_be_freed); w 216 drivers/block/drbd/drbd_receiver.c list_for_each_entry_safe(peer_req, t, &reclaimed, w.list) w 384 drivers/block/drbd/drbd_receiver.c INIT_LIST_HEAD(&peer_req->w.list); w 431 drivers/block/drbd/drbd_receiver.c list_for_each_entry_safe(peer_req, t, &work_list, w.list) { w 453 drivers/block/drbd/drbd_receiver.c list_for_each_entry_safe(peer_req, t, &reclaimed, w.list) w 460 drivers/block/drbd/drbd_receiver.c list_for_each_entry_safe(peer_req, t, &work_list, w.list) { w 464 drivers/block/drbd/drbd_receiver.c err2 = peer_req->w.cb(&peer_req->w, !!err); w 1667 drivers/block/drbd/drbd_receiver.c if (list_empty(&peer_req->w.list)) { w 1669 drivers/block/drbd/drbd_receiver.c list_add_tail(&peer_req->w.list, &device->active_ee); w 2060 drivers/block/drbd/drbd_receiver.c static int e_end_resync_block(struct drbd_work *w, int unused) w 2063 drivers/block/drbd/drbd_receiver.c container_of(w, struct drbd_peer_request, w); w 2101 drivers/block/drbd/drbd_receiver.c peer_req->w.cb = e_end_resync_block; w 2105 drivers/block/drbd/drbd_receiver.c list_add_tail(&peer_req->w.list, &device->sync_ee); w 2116 drivers/block/drbd/drbd_receiver.c list_del(&peer_req->w.list); w 2234 drivers/block/drbd/drbd_receiver.c static int e_end_block(struct drbd_work *w, int cancel) w 2237 drivers/block/drbd/drbd_receiver.c container_of(w, struct drbd_peer_request, w); w 2277 drivers/block/drbd/drbd_receiver.c static int e_send_ack(struct drbd_work *w, enum drbd_packet ack) w 2280 drivers/block/drbd/drbd_receiver.c container_of(w, struct drbd_peer_request, w); w 2290 drivers/block/drbd/drbd_receiver.c static int e_send_superseded(struct drbd_work *w, int unused) w 2292 drivers/block/drbd/drbd_receiver.c return e_send_ack(w, P_SUPERSEDED); w 2295 drivers/block/drbd/drbd_receiver.c static int e_send_retry_write(struct drbd_work *w, int unused) w 2298 drivers/block/drbd/drbd_receiver.c container_of(w, struct drbd_peer_request, w); w 2301 drivers/block/drbd/drbd_receiver.c return e_send_ack(w, connection->agreed_pro_version >= 100 ? w 2348 drivers/block/drbd/drbd_receiver.c list_for_each_entry(rs_req, &device->sync_ee, w.list) { w 2531 drivers/block/drbd/drbd_receiver.c peer_req->w.cb = superseded ? e_send_superseded : w 2533 drivers/block/drbd/drbd_receiver.c list_add_tail(&peer_req->w.list, &device->done_ee); w 2628 drivers/block/drbd/drbd_receiver.c peer_req->w.cb = e_end_block; w 2718 drivers/block/drbd/drbd_receiver.c list_add_tail(&peer_req->w.list, &device->active_ee); w 2740 drivers/block/drbd/drbd_receiver.c list_del(&peer_req->w.list); w 2907 drivers/block/drbd/drbd_receiver.c peer_req->w.cb = w_e_end_data_req; w 2921 drivers/block/drbd/drbd_receiver.c peer_req->w.cb = w_e_end_rsdata_req; w 2945 drivers/block/drbd/drbd_receiver.c peer_req->w.cb = w_e_end_csum_rs_req; w 2953 drivers/block/drbd/drbd_receiver.c peer_req->w.cb = w_e_end_ov_reply; w 2977 drivers/block/drbd/drbd_receiver.c peer_req->w.cb = w_e_end_ov_req; w 3013 drivers/block/drbd/drbd_receiver.c list_add_tail(&peer_req->w.list, &device->read_ee); w 3039 drivers/block/drbd/drbd_receiver.c list_del(&peer_req->w.list); w 5021 drivers/block/drbd/drbd_receiver.c peer_req->w.cb = e_end_resync_block; w 5026 drivers/block/drbd/drbd_receiver.c list_add_tail(&peer_req->w.list, &device->sync_ee); w 5034 drivers/block/drbd/drbd_receiver.c list_del(&peer_req->w.list); w 5940 drivers/block/drbd/drbd_receiver.c dw->w.cb = w_ov_finished; w 5942 drivers/block/drbd/drbd_receiver.c drbd_queue_work(&peer_device->connection->sender_work, &dw->w); w 67 drivers/block/drbd/drbd_req.c INIT_LIST_HEAD(&req->w.list); w 664 drivers/block/drbd/drbd_req.c req->w.cb = w_send_read_req; w 666 drivers/block/drbd/drbd_req.c &req->w); w 700 drivers/block/drbd/drbd_req.c req->w.cb = w_send_dblock; w 702 drivers/block/drbd/drbd_req.c &req->w); w 716 drivers/block/drbd/drbd_req.c req->w.cb = w_send_out_of_sync; w 718 drivers/block/drbd/drbd_req.c &req->w); w 827 drivers/block/drbd/drbd_req.c req->w.cb = w_restart_disk_io; w 829 drivers/block/drbd/drbd_req.c &req->w); w 834 drivers/block/drbd/drbd_req.c if (!(req->rq_state & RQ_WRITE) && !req->w.cb) { w 849 drivers/block/drbd/drbd_req.c if (req->w.cb) { w 852 drivers/block/drbd/drbd_req.c &req->w); w 23 drivers/block/drbd/drbd_state.c struct drbd_work w; w 279 drivers/block/drbd/drbd_state.c static int w_after_state_ch(struct drbd_work *w, int unused); w 1474 drivers/block/drbd/drbd_state.c ascw->w.cb = w_after_state_ch; w 1479 drivers/block/drbd/drbd_state.c &ascw->w); w 1487 drivers/block/drbd/drbd_state.c static int w_after_state_ch(struct drbd_work *w, int unused) w 1490 drivers/block/drbd/drbd_state.c container_of(w, struct after_state_chg_work, w); w 2028 drivers/block/drbd/drbd_state.c struct drbd_work w; w 2037 drivers/block/drbd/drbd_state.c static int w_after_conn_state_ch(struct drbd_work *w, int unused) w 2040 drivers/block/drbd/drbd_state.c container_of(w, struct after_conn_state_chg_work, w); w 2351 drivers/block/drbd/drbd_state.c acscw->w.cb = w_after_conn_state_ch; w 2355 drivers/block/drbd/drbd_state.c drbd_queue_work(&connection->sender_work, &acscw->w); w 88 drivers/block/drbd/drbd_worker.c list_del(&peer_req->w.list); w 95 drivers/block/drbd/drbd_worker.c drbd_queue_work(&peer_device->connection->sender_work, &peer_req->w); w 131 drivers/block/drbd/drbd_worker.c list_move_tail(&peer_req->w.list, &device->done_ee); w 342 drivers/block/drbd/drbd_worker.c static int w_e_send_csum(struct drbd_work *w, int cancel) w 344 drivers/block/drbd/drbd_worker.c struct drbd_peer_request *peer_req = container_of(w, struct drbd_peer_request, w); w 406 drivers/block/drbd/drbd_worker.c peer_req->w.cb = w_e_send_csum; w 408 drivers/block/drbd/drbd_worker.c list_add_tail(&peer_req->w.list, &device->read_ee); w 421 drivers/block/drbd/drbd_worker.c list_del(&peer_req->w.list); w 430 drivers/block/drbd/drbd_worker.c int w_resync_timer(struct drbd_work *w, int cancel) w 433 drivers/block/drbd/drbd_worker.c container_of(w, struct drbd_device, resync_work); w 819 drivers/block/drbd/drbd_worker.c int w_ov_finished(struct drbd_work *w, int cancel) w 822 drivers/block/drbd/drbd_worker.c container_of(w, struct drbd_device_work, w); w 831 drivers/block/drbd/drbd_worker.c static int w_resync_finished(struct drbd_work *w, int cancel) w 834 drivers/block/drbd/drbd_worker.c container_of(w, struct drbd_device_work, w); w 875 drivers/block/drbd/drbd_worker.c dw->w.cb = w_resync_finished; w 877 drivers/block/drbd/drbd_worker.c drbd_queue_work(&connection->sender_work, &dw->w); w 1041 drivers/block/drbd/drbd_worker.c list_add_tail(&peer_req->w.list, &device->net_ee); w 1053 drivers/block/drbd/drbd_worker.c int w_e_end_data_req(struct drbd_work *w, int cancel) w 1055 drivers/block/drbd/drbd_worker.c struct drbd_peer_request *peer_req = container_of(w, struct drbd_peer_request, w); w 1114 drivers/block/drbd/drbd_worker.c int w_e_end_rsdata_req(struct drbd_work *w, int cancel) w 1116 drivers/block/drbd/drbd_worker.c struct drbd_peer_request *peer_req = container_of(w, struct drbd_peer_request, w); w 1167 drivers/block/drbd/drbd_worker.c int w_e_end_csum_rs_req(struct drbd_work *w, int cancel) w 1169 drivers/block/drbd/drbd_worker.c struct drbd_peer_request *peer_req = container_of(w, struct drbd_peer_request, w); w 1231 drivers/block/drbd/drbd_worker.c int w_e_end_ov_req(struct drbd_work *w, int cancel) w 1233 drivers/block/drbd/drbd_worker.c struct drbd_peer_request *peer_req = container_of(w, struct drbd_peer_request, w); w 1288 drivers/block/drbd/drbd_worker.c int w_e_end_ov_reply(struct drbd_work *w, int cancel) w 1290 drivers/block/drbd/drbd_worker.c struct drbd_peer_request *peer_req = container_of(w, struct drbd_peer_request, w); w 1391 drivers/block/drbd/drbd_worker.c int w_send_write_hint(struct drbd_work *w, int cancel) w 1394 drivers/block/drbd/drbd_worker.c container_of(w, struct drbd_device, unplug_work); w 1423 drivers/block/drbd/drbd_worker.c int w_send_out_of_sync(struct drbd_work *w, int cancel) w 1425 drivers/block/drbd/drbd_worker.c struct drbd_request *req = container_of(w, struct drbd_request, w); w 1454 drivers/block/drbd/drbd_worker.c int w_send_dblock(struct drbd_work *w, int cancel) w 1456 drivers/block/drbd/drbd_worker.c struct drbd_request *req = container_of(w, struct drbd_request, w); w 1487 drivers/block/drbd/drbd_worker.c int w_send_read_req(struct drbd_work *w, int cancel) w 1489 drivers/block/drbd/drbd_worker.c struct drbd_request *req = container_of(w, struct drbd_request, w); w 1517 drivers/block/drbd/drbd_worker.c int w_restart_disk_io(struct drbd_work *w, int cancel) w 1519 drivers/block/drbd/drbd_worker.c struct drbd_request *req = container_of(w, struct drbd_request, w); w 2165 drivers/block/drbd/drbd_worker.c struct drbd_work *w = NULL; w 2196 drivers/block/drbd/drbd_worker.c w = list_first_entry(&work_list, struct drbd_work, list); w 2197 drivers/block/drbd/drbd_worker.c list_del_init(&w->list); w 2198 drivers/block/drbd/drbd_worker.c update_worker_timing_details(connection, w->cb); w 2199 drivers/block/drbd/drbd_worker.c if (w->cb(w, connection->cstate < C_WF_REPORT_PARAMS) == 0) w 2212 drivers/block/drbd/drbd_worker.c w = list_first_entry(&work_list, struct drbd_work, list); w 2213 drivers/block/drbd/drbd_worker.c list_del_init(&w->list); w 2214 drivers/block/drbd/drbd_worker.c update_worker_timing_details(connection, w->cb); w 2215 drivers/block/drbd/drbd_worker.c w->cb(w, 1); w 182 drivers/block/mtip32xx/mtip32xx.h struct mtip_work *w = (struct mtip_work *) work; \ w 183 drivers/block/mtip32xx/mtip32xx.h mtip_workq_sdbfx(w->port, group, w->completed); \ w 36 drivers/block/paride/kbic.c #define j53(w) (((w>>3)&0x1f)|((w>>4)&0xe0)) w 307 drivers/block/paride/pd.c static int pd_wait_for(struct pd_unit *disk, int w, char *msg) w 315 drivers/block/paride/pd.c if (((r & w) == w) && !(r & STAT_BUSY)) w 651 drivers/bus/mvebu-mbus.c struct mbus_dram_window *w; w 654 drivers/bus/mvebu-mbus.c w = &mvebu_mbus_dram_info.cs[i]; w 655 drivers/bus/mvebu-mbus.c base = w->base; w 656 drivers/bus/mvebu-mbus.c size = w->size; w 682 drivers/bus/mvebu-mbus.c w = &mvebu_mbus_dram_info_nooverlap.cs[cs_nooverlap++]; w 683 drivers/bus/mvebu-mbus.c w->cs_index = i; w 684 drivers/bus/mvebu-mbus.c w->mbus_attr = 0xf & ~(1 << i); w 686 drivers/bus/mvebu-mbus.c w->mbus_attr |= ATTR_HW_COHERENCY; w 687 drivers/bus/mvebu-mbus.c w->base = base; w 688 drivers/bus/mvebu-mbus.c w->size = size; w 715 drivers/bus/mvebu-mbus.c struct mbus_dram_window *w; w 717 drivers/bus/mvebu-mbus.c w = &mvebu_mbus_dram_info.cs[cs++]; w 718 drivers/bus/mvebu-mbus.c w->cs_index = i; w 719 drivers/bus/mvebu-mbus.c w->mbus_attr = 0xf & ~(1 << i); w 721 drivers/bus/mvebu-mbus.c w->mbus_attr |= ATTR_HW_COHERENCY; w 722 drivers/bus/mvebu-mbus.c w->base = base & DDR_BASE_CS_LOW_MASK; w 723 drivers/bus/mvebu-mbus.c w->size = (u64)(size | ~DDR_SIZE_MASK) + 1; w 766 drivers/bus/mvebu-mbus.c struct mbus_dram_window *w; w 768 drivers/bus/mvebu-mbus.c w = &mvebu_mbus_dram_info.cs[cs++]; w 769 drivers/bus/mvebu-mbus.c w->cs_index = i; w 770 drivers/bus/mvebu-mbus.c w->mbus_attr = 0; /* CS address decoding done inside */ w 773 drivers/bus/mvebu-mbus.c w->base = map & 0xff800000; w 774 drivers/bus/mvebu-mbus.c w->size = 0x100000 << (((map & 0x000f0000) >> 16) - 4); w 212 drivers/char/dsp56k.c put_user(dsp56k_host_interface.data.w[1], data+n++)); w 274 drivers/char/dsp56k.c get_user(dsp56k_host_interface.data.w[1], data+n++)); w 79 drivers/char/hw_random/omap3-rom-rng.c static int omap3_rom_rng_read(struct hwrng *rng, void *data, size_t max, bool w) w 793 drivers/char/ipmi/ipmi_msghandler.c struct ipmi_smi_watcher *w; w 796 drivers/char/ipmi/ipmi_msghandler.c list_for_each_entry(w, &smi_watchers, link) { w 797 drivers/char/ipmi/ipmi_msghandler.c if (try_module_get(w->owner)) { w 798 drivers/char/ipmi/ipmi_msghandler.c w->new_smi(i, dev); w 799 drivers/char/ipmi/ipmi_msghandler.c module_put(w->owner); w 3585 drivers/char/ipmi/ipmi_msghandler.c struct ipmi_smi_watcher *w; w 3602 drivers/char/ipmi/ipmi_msghandler.c list_for_each_entry(w, &smi_watchers, link) w 3603 drivers/char/ipmi/ipmi_msghandler.c w->smi_gone(intf_num); w 595 drivers/char/random.c __u32 w; w 608 drivers/char/random.c w = rol32(*bytes++, input_rotate); w 612 drivers/char/random.c w ^= r->pool[i]; w 613 drivers/char/random.c w ^= r->pool[(i + tap1) & wordmask]; w 614 drivers/char/random.c w ^= r->pool[(i + tap2) & wordmask]; w 615 drivers/char/random.c w ^= r->pool[(i + tap3) & wordmask]; w 616 drivers/char/random.c w ^= r->pool[(i + tap4) & wordmask]; w 617 drivers/char/random.c w ^= r->pool[(i + tap5) & wordmask]; w 620 drivers/char/random.c r->pool[i] = (w >> 3) ^ twist_table[w & 7]; w 1503 drivers/char/random.c __u32 w[5]; w 1513 drivers/char/random.c sha_init(hash.w); w 1524 drivers/char/random.c sha_transform(hash.w, (__u8 *)(r->pool + i), workspace); w 1535 drivers/char/random.c __mix_pool_bytes(r, hash.w, sizeof(hash.w)); w 1545 drivers/char/random.c hash.w[0] ^= hash.w[3]; w 1546 drivers/char/random.c hash.w[1] ^= hash.w[4]; w 1547 drivers/char/random.c hash.w[2] ^= rol32(hash.w[2], 16); w 26 drivers/clk/bcm/clk-cygnus.c #define REG_VAL(o, s, w) { .offset = o, .shift = s, .width = w, } w 24 drivers/clk/bcm/clk-ns2.c #define REG_VAL(o, s, w) { .offset = o, .shift = s, .width = w, } w 24 drivers/clk/bcm/clk-nsp.c #define REG_VAL(o, s, w) { .offset = o, .shift = s, .width = w, } w 14 drivers/clk/bcm/clk-sr.c #define REG_VAL(o, s, w) { .offset = o, .shift = s, .width = w, } w 70 drivers/clk/davinci/pll.h #define SYSCLK(i, n, p, w, f) \ w 75 drivers/clk/davinci/pll.h .ratio_width = (w), \ w 128 drivers/clk/qcom/clk-alpha-pll.c #define ALPHA_SHIFT(w) min(w, ALPHA_BITWIDTH) w 631 drivers/clk/rockchip/clk.h #define MUX(_id, cname, pnames, f, o, s, w, mf) \ w 641 drivers/clk/rockchip/clk.h .mux_width = w, \ w 646 drivers/clk/rockchip/clk.h #define MUXGRF(_id, cname, pnames, f, o, s, w, mf) \ w 656 drivers/clk/rockchip/clk.h .mux_width = w, \ w 661 drivers/clk/rockchip/clk.h #define DIV(_id, cname, pname, f, o, s, w, df) \ w 671 drivers/clk/rockchip/clk.h .div_width = w, \ w 676 drivers/clk/rockchip/clk.h #define DIVTBL(_id, cname, pname, f, o, s, w, df, dt) \ w 686 drivers/clk/rockchip/clk.h .div_width = w, \ w 812 drivers/clk/rockchip/clk.h #define DIV_HALF(_id, cname, pname, f, o, s, w, df) \ w 822 drivers/clk/rockchip/clk.h .div_width = w, \ w 128 drivers/clk/samsung/clk.h #define __MUX(_id, cname, pnames, o, s, w, f, mf) \ w 137 drivers/clk/samsung/clk.h .width = w, \ w 141 drivers/clk/samsung/clk.h #define MUX(_id, cname, pnames, o, s, w) \ w 142 drivers/clk/samsung/clk.h __MUX(_id, cname, pnames, o, s, w, 0, 0) w 144 drivers/clk/samsung/clk.h #define MUX_F(_id, cname, pnames, o, s, w, f, mf) \ w 145 drivers/clk/samsung/clk.h __MUX(_id, cname, pnames, o, s, w, f, mf) w 169 drivers/clk/samsung/clk.h #define __DIV(_id, cname, pname, o, s, w, f, df, t) \ w 177 drivers/clk/samsung/clk.h .width = w, \ w 182 drivers/clk/samsung/clk.h #define DIV(_id, cname, pname, o, s, w) \ w 183 drivers/clk/samsung/clk.h __DIV(_id, cname, pname, o, s, w, 0, 0, NULL) w 185 drivers/clk/samsung/clk.h #define DIV_F(_id, cname, pname, o, s, w, f, df) \ w 186 drivers/clk/samsung/clk.h __DIV(_id, cname, pname, o, s, w, f, df, NULL) w 188 drivers/clk/samsung/clk.h #define DIV_T(_id, cname, pname, o, s, w, t) \ w 189 drivers/clk/samsung/clk.h __DIV(_id, cname, pname, o, s, w, 0, 0, t) w 244 drivers/clk/tegra/clk-pll.c #define mask(w) ((1 << (w)) - 1) w 1321 drivers/clk/tegra/clk-tegra210.c #define mask(w) ((1 << (w)) - 1) w 10 drivers/clk/tegra/clk-utils.c #define div_mask(w) ((1 << (w)) - 1) w 269 drivers/cpuidle/coupled.c int w = atomic_read(&coupled->ready_waiting_counts) & WAITING_MASK; w 270 drivers/cpuidle/coupled.c return w == coupled->online_count; w 281 drivers/cpuidle/coupled.c int w = atomic_read(&coupled->ready_waiting_counts) & WAITING_MASK; w 282 drivers/cpuidle/coupled.c return w == 0; w 474 drivers/cpuidle/coupled.c int w; w 496 drivers/cpuidle/coupled.c w = cpuidle_coupled_set_waiting(dev->cpu, coupled, next_state); w 504 drivers/cpuidle/coupled.c if (w == coupled->online_count) { w 35 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.w = 0; w 55 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.w = 0; w 165 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_contents.w = SA_AES_CONTENTS | (keylen << 2); w 421 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_contents.w = SA_AES_CCM_CONTENTS | (keylen << 2); w 572 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_contents.w = SA_AES_GCM_CONTENTS | (keylen << 2); w 62 drivers/crypto/amcc/crypto4xx_core.c pe_dma_cfg.w = 0; w 71 drivers/crypto/amcc/crypto4xx_core.c writel(pe_dma_cfg.w, dev->ce_base + CRYPTO4XX_PE_DMA_CFG); w 78 drivers/crypto/amcc/crypto4xx_core.c writel(pe_dma_cfg.w, dev->ce_base + CRYPTO4XX_PE_DMA_CFG); w 86 drivers/crypto/amcc/crypto4xx_core.c ring_size.w = 0; w 89 drivers/crypto/amcc/crypto4xx_core.c writel(ring_size.w, dev->ce_base + CRYPTO4XX_RING_SIZE); w 90 drivers/crypto/amcc/crypto4xx_core.c ring_ctrl.w = 0; w 91 drivers/crypto/amcc/crypto4xx_core.c writel(ring_ctrl.w, dev->ce_base + CRYPTO4XX_RING_CTRL); w 97 drivers/crypto/amcc/crypto4xx_core.c part_ring_size.w = 0; w 100 drivers/crypto/amcc/crypto4xx_core.c writel(part_ring_size.w, dev->ce_base + CRYPTO4XX_PART_RING_SIZE); w 102 drivers/crypto/amcc/crypto4xx_core.c io_threshold.w = 0; w 105 drivers/crypto/amcc/crypto4xx_core.c writel(io_threshold.w, dev->ce_base + CRYPTO4XX_IO_THRESHOLD); w 119 drivers/crypto/amcc/crypto4xx_core.c writel(pe_dma_cfg.w, dev->ce_base + CRYPTO4XX_PE_DMA_CFG); w 918 drivers/crypto/amcc/crypto4xx_core.c pd->pd_ctl.w = PD_CTL_HOST_READY | w 922 drivers/crypto/amcc/crypto4xx_core.c pd->pd_ctl_len.w = 0x00400000 | (assoclen + datalen); w 1087 drivers/crypto/amcc/crypto4xx_core.c ((READ_ONCE(pd->pd_ctl.w) & w 161 drivers/crypto/amcc/crypto4xx_reg_def.h u32 w; w 173 drivers/crypto/amcc/crypto4xx_reg_def.h u32 w; w 185 drivers/crypto/amcc/crypto4xx_reg_def.h u32 w; w 196 drivers/crypto/amcc/crypto4xx_reg_def.h u32 w; w 207 drivers/crypto/amcc/crypto4xx_reg_def.h u32 w; w 256 drivers/crypto/amcc/crypto4xx_reg_def.h u32 w; w 270 drivers/crypto/amcc/crypto4xx_reg_def.h u32 w; w 41 drivers/crypto/amcc/crypto4xx_sa.h u32 w; w 105 drivers/crypto/amcc/crypto4xx_sa.h u32 w; w 166 drivers/crypto/amcc/crypto4xx_sa.h u32 w; w 473 drivers/crypto/caam/pdb.h u8 *w; /* or Wx,y */ w 188 drivers/crypto/ccree/cc_request_mgr.c int i, w; w 198 drivers/crypto/ccree/cc_request_mgr.c for (w = 0; w <= 5; w++) w 199 drivers/crypto/ccree/cc_request_mgr.c writel_relaxed(seq[i].word[w], reg); w 430 drivers/crypto/chelsio/chcr_algo.h static inline u32 aes_ks_subword(const u32 w) w 434 drivers/crypto/chelsio/chcr_algo.h *(u32 *)(&bytes[0]) = w; w 1367 drivers/crypto/hifn_795x.c static int hifn_cipher_walk_init(struct hifn_cipher_walk *w, w 1373 drivers/crypto/hifn_795x.c sg_init_table(w->cache, num); w 1375 drivers/crypto/hifn_795x.c w->num = 0; w 1383 drivers/crypto/hifn_795x.c s = &w->cache[i]; w 1386 drivers/crypto/hifn_795x.c w->num++; w 1392 drivers/crypto/hifn_795x.c static void hifn_cipher_walk_exit(struct hifn_cipher_walk *w) w 1396 drivers/crypto/hifn_795x.c for (i = 0; i < w->num; ++i) { w 1397 drivers/crypto/hifn_795x.c struct scatterlist *s = &w->cache[i]; w 1404 drivers/crypto/hifn_795x.c w->num = 0; w 1437 drivers/crypto/hifn_795x.c struct hifn_cipher_walk *w) w 1446 drivers/crypto/hifn_795x.c if (idx >= w->num && (w->flags & ASYNC_FLAGS_MISALIGNED)) w 1460 drivers/crypto/hifn_795x.c t = &w->cache[idx]; w 135 drivers/dma/imx-dma.c unsigned int w; w 526 drivers/dma/imx-dma.c (imxdma->slots_2d[i].wsr != d->w))) w 536 drivers/dma/imx-dma.c imxdma->slots_2d[slot].wsr = d->w; w 547 drivers/dma/imx-dma.c imx_dmav1_writel(imxdma, d->w, DMA_WSRA); w 553 drivers/dma/imx-dma.c imx_dmav1_writel(imxdma, d->w, DMA_WSRB); w 984 drivers/dma/imx-dma.c desc->w = xt->sgl[0].icg + desc->x; w 69 drivers/dma/mv_xor.h #define WINDOW_BASE(w) (0x50 + ((w) << 2)) w 70 drivers/dma/mv_xor.h #define WINDOW_SIZE(w) (0x70 + ((w) << 2)) w 71 drivers/dma/mv_xor.h #define WINDOW_REMAP_HIGH(w) (0x90 + ((w) << 2)) w 230 drivers/edac/edac_device.h #define to_edac_mem_ctl_work(w) \ w 231 drivers/edac/edac_device.h container_of(w, struct mem_ctl_info, work) w 233 drivers/edac/edac_device.h #define to_edac_device_ctl_work(w) \ w 234 drivers/edac/edac_device.h container_of(w,struct edac_device_ctl_info,work) w 95 drivers/edac/edac_pci.h #define to_edac_pci_ctl_work(w) \ w 96 drivers/edac/edac_pci.h container_of(w, struct edac_pci_ctl_info,work) w 693 drivers/edac/i5100_edac.c u16 w; w 695 drivers/edac/i5100_edac.c pci_read_config_word(pdev, addr, &w); w 697 drivers/edac/i5100_edac.c priv->mtr[i][j].present = i5100_mtr_present(w); w 698 drivers/edac/i5100_edac.c priv->mtr[i][j].ethrottle = i5100_mtr_ethrottle(w); w 699 drivers/edac/i5100_edac.c priv->mtr[i][j].width = 4 + 4 * i5100_mtr_width(w); w 700 drivers/edac/i5100_edac.c priv->mtr[i][j].numbank = 2 + i5100_mtr_numbank(w); w 701 drivers/edac/i5100_edac.c priv->mtr[i][j].numrow = 13 + i5100_mtr_numrow(w); w 702 drivers/edac/i5100_edac.c priv->mtr[i][j].numcol = 10 + i5100_mtr_numcol(w); w 715 drivers/edac/i5100_edac.c u16 w; w 718 drivers/edac/i5100_edac.c pci_read_config_word(priv->mc, I5100_SPDDATA, &w); w 719 drivers/edac/i5100_edac.c if (i5100_spddata_busy(w)) w 730 drivers/edac/i5100_edac.c pci_read_config_word(priv->mc, I5100_SPDDATA, &w); w 731 drivers/edac/i5100_edac.c if (!i5100_spddata_busy(w)) w 736 drivers/edac/i5100_edac.c if (!i5100_spddata_rdo(w) || i5100_spddata_sbe(w)) w 739 drivers/edac/i5100_edac.c *byte = i5100_spddata_data(w); w 806 drivers/edac/i5100_edac.c u16 w; w 812 drivers/edac/i5100_edac.c pci_read_config_word(pdev, I5100_TOLM, &w); w 813 drivers/edac/i5100_edac.c priv->tolm = (u64) i5100_tolm_tolm(w) * 256 * 1024 * 1024; w 815 drivers/edac/i5100_edac.c pci_read_config_word(pdev, I5100_MIR0, &w); w 816 drivers/edac/i5100_edac.c priv->mir[0].limit = (u64) i5100_mir_limit(w) << 28; w 817 drivers/edac/i5100_edac.c priv->mir[0].way[1] = i5100_mir_way1(w); w 818 drivers/edac/i5100_edac.c priv->mir[0].way[0] = i5100_mir_way0(w); w 820 drivers/edac/i5100_edac.c pci_read_config_word(pdev, I5100_MIR1, &w); w 821 drivers/edac/i5100_edac.c priv->mir[1].limit = (u64) i5100_mir_limit(w) << 28; w 822 drivers/edac/i5100_edac.c priv->mir[1].way[1] = i5100_mir_way1(w); w 823 drivers/edac/i5100_edac.c priv->mir[1].way[0] = i5100_mir_way0(w); w 825 drivers/edac/i5100_edac.c pci_read_config_word(pdev, I5100_AMIR_0, &w); w 826 drivers/edac/i5100_edac.c priv->amir[0] = w; w 827 drivers/edac/i5100_edac.c pci_read_config_word(pdev, I5100_AMIR_1, &w); w 828 drivers/edac/i5100_edac.c priv->amir[1] = w; w 1088 drivers/firewire/sbp2.c unsigned int w = sbp2_param_workarounds; w 1090 drivers/firewire/sbp2.c if (w) w 1095 drivers/firewire/sbp2.c if (w & SBP2_WORKAROUND_OVERRIDE) w 1108 drivers/firewire/sbp2.c w |= sbp2_workarounds_table[i].workarounds; w 1112 drivers/firewire/sbp2.c if (w) w 1115 drivers/firewire/sbp2.c w, firmware_revision, model); w 1116 drivers/firewire/sbp2.c tgt->workarounds = w; w 297 drivers/firmware/arm_scmi/perf.c #define SCMI_PERF_FC_RING_DB(w) \ w 299 drivers/firmware/arm_scmi/perf.c u##w val = 0; \ w 302 drivers/firmware/arm_scmi/perf.c val = ioread##w(db->addr) & db->mask; \ w 303 drivers/firmware/arm_scmi/perf.c iowrite##w((u##w)db->set | val, db->addr); \ w 421 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c int w; w 445 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (common_modes[i].w > 1024 || w 450 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (common_modes[i].w > native_mode->hdisplay || w 452 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c (common_modes[i].w == native_mode->hdisplay && w 456 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (common_modes[i].w < 320 || common_modes[i].h < 200) w 459 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h, 60, false, false, false); w 2208 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c int w = amdgpu_crtc->cursor_width; w 2230 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c ((w - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); w 283 drivers/gpu/drm/amd/amdgpu/dce_virtual.c int w; w 306 drivers/gpu/drm/amd/amdgpu/dce_virtual.c mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h, 60, false, false, false); w 4933 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int w; w 4955 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (common_modes[i].w > native_mode->hdisplay || w 4957 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c (common_modes[i].w == native_mode->hdisplay && w 4962 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (common_modes[i].w == curmode->hdisplay && w 4973 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c common_modes[i].name, common_modes[i].w, w 318 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c unsigned int pixelsPerClock, lstall, D, initalXmitDelay, w, s, ix, wx, p, l0, a, ax, l, w 339 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c w = sliceWidth / pixelsPerClock; w 349 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c wx = (w + 2) / 3; w 350 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c p = 3 * wx - w; w 351 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c l0 = ix / w; w 355 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c if ((ix % w) == 0 && p != 0) w 341 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c unsigned int pixelsPerClock, lstall, D, initalXmitDelay, w, s, ix, wx, p, l0, a, ax, l, w 362 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c w = sliceWidth / pixelsPerClock; w 372 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c wx = (w + 2) / 3; w 373 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c p = 3 * wx - w; w 374 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c l0 = ix / w; w 378 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c if ((ix % w) == 0 && p != 0) w 513 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c unsigned int pixelsPerClock, lstall, D, initalXmitDelay, w, S, ix, wx, p, l0, a, ax, l, w 534 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c w = sliceWidth / pixelsPerClock; w 544 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c wx = (w + 2) / 3; w 545 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c p = 3 * wx - w; w 546 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c l0 = ix / w; w 550 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c if ((ix % w) == 0 && p != 0) w 792 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c u32 w = dflow->in_w; w 804 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c swap(w, h); w 806 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c dflow->en_scaling = (w != dflow->out_w) || (h != dflow->out_h); w 810 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c dflow->en_img_enhancement = dflow->out_w >= 2 * w || w 94 drivers/gpu/drm/arm/display/komeda/komeda_wb_connector.c int w = mode->hdisplay, h = mode->vdisplay; w 96 drivers/gpu/drm/arm/display/komeda/komeda_wb_connector.c if ((w < mode_config->min_width) || (w > mode_config->max_width)) w 408 drivers/gpu/drm/arm/malidp_hw.c static int malidp500_rotmem_required(struct malidp_hw_device *hwdev, u16 w, w 418 drivers/gpu/drm/arm/malidp_hw.c return w * bpp; w 505 drivers/gpu/drm/arm/malidp_hw.c int num_planes, u16 w, u16 h, u32 fmt_id, w 536 drivers/gpu/drm/arm/malidp_hw.c malidp_hw_write(hwdev, MALIDP_DE_H_ACTIVE(w) | MALIDP_DE_V_ACTIVE(h), w 750 drivers/gpu/drm/arm/malidp_hw.c static int malidp550_rotmem_required(struct malidp_hw_device *hwdev, u16 w, w 774 drivers/gpu/drm/arm/malidp_hw.c return w * bytes_per_column; w 777 drivers/gpu/drm/arm/malidp_hw.c static int malidp650_rotmem_required(struct malidp_hw_device *hwdev, u16 w, w 794 drivers/gpu/drm/arm/malidp_hw.c return w * bytes_per_column; w 846 drivers/gpu/drm/arm/malidp_hw.c int num_planes, u16 w, u16 h, u32 fmt_id, w 873 drivers/gpu/drm/arm/malidp_hw.c malidp_hw_write(hwdev, MALIDP_DE_H_ACTIVE(w) | MALIDP_DE_V_ACTIVE(h), w 183 drivers/gpu/drm/arm/malidp_hw.h int (*rotmem_required)(struct malidp_hw_device *hwdev, u16 w, u16 h, w 204 drivers/gpu/drm/arm/malidp_hw.h s32 *pitches, int num_planes, u16 w, u16 h, u32 fmt_id, w 48 drivers/gpu/drm/arm/malidp_mw.c int w = mode->hdisplay, h = mode->vdisplay; w 50 drivers/gpu/drm/arm/malidp_mw.c if ((w < mode_config->min_width) || (w > mode_config->max_width)) w 594 drivers/gpu/drm/armada/armada_crtc.c uint32_t xoff, xscr, w = dcrtc->cursor_w, s; w 605 drivers/gpu/drm/armada/armada_crtc.c w -= min(xoff, w); w 606 drivers/gpu/drm/armada/armada_crtc.c } else if (dcrtc->cursor_x + w > dcrtc->crtc.mode.hdisplay) { w 609 drivers/gpu/drm/armada/armada_crtc.c w = max_t(int, dcrtc->crtc.mode.hdisplay - dcrtc->cursor_x, 0); w 636 drivers/gpu/drm/armada/armada_crtc.c if (!dcrtc->cursor_obj || !h || !w) { w 659 drivers/gpu/drm/armada/armada_crtc.c if (dcrtc->cursor_hw_sz != (h << 16 | w)) { w 672 drivers/gpu/drm/armada/armada_crtc.c armada_load_cursor_argb(dcrtc->base, pix, s, w, h); w 678 drivers/gpu/drm/armada/armada_crtc.c dcrtc->cursor_hw_sz = h << 16 | w; w 692 drivers/gpu/drm/armada/armada_crtc.c struct drm_file *file, uint32_t handle, uint32_t w, uint32_t h) w 702 drivers/gpu/drm/armada/armada_crtc.c if (handle && w > 0 && h > 0) { w 704 drivers/gpu/drm/armada/armada_crtc.c if (w > 64 || h > 64 || (w > 32 && h > 32)) w 717 drivers/gpu/drm/armada/armada_crtc.c if (obj->obj.size < w * h * 4) { w 730 drivers/gpu/drm/armada/armada_crtc.c dcrtc->cursor_w = w; w 94 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h #define ATMEL_HLCDC_LAYER_SIZE(w, h) (((w) - 1) | (((h) - 1) << 16)) w 115 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h #define ATMEL_HLCDC_LAYER_DISC_SIZE(w, h) (((w) - 1) | (((h) - 1) << 16)) w 644 drivers/gpu/drm/drm_edid.c short w; w 2246 drivers/gpu/drm/drm_edid.c int w, h; w 2261 drivers/gpu/drm/drm_edid.c if ((mode->hdisplay == cea_interlaced[i].w) && w 2524 drivers/gpu/drm/drm_edid.c newmode = drm_gtf_mode(dev, m->w, m->h, m->r, 0, 0); w 2553 drivers/gpu/drm/drm_edid.c newmode = drm_cvt_mode(dev, m->w, m->h, m->r, rb, 0, 0); w 2638 drivers/gpu/drm/drm_edid.c est3_modes[m].w, w 5381 drivers/gpu/drm/drm_edid.c u16 w, h; w 5386 drivers/gpu/drm/drm_edid.c w = tile->tile_size[0] | tile->tile_size[1] << 8; w 5402 drivers/gpu/drm/drm_edid.c connector->tile_h_size = w + 1; w 5406 drivers/gpu/drm/drm_edid.c DRM_DEBUG_KMS("tile_size %d x %d\n", w + 1, h + 1); w 114 drivers/gpu/drm/drm_flip_work.c static void flip_worker(struct work_struct *w) w 116 drivers/gpu/drm/drm_flip_work.c struct drm_flip_work *work = container_of(w, struct drm_flip_work, worker); w 402 drivers/gpu/drm/drm_framebuffer.c static void drm_mode_rmfb_work_fn(struct work_struct *w) w 404 drivers/gpu/drm/drm_framebuffer.c struct drm_mode_rmfb_work *arg = container_of(w, typeof(*arg), work); w 417 drivers/gpu/drm/exynos/exynos5433_drm_decon.c val = COORDINATE_X(state->crtc.x + state->crtc.w - 1) | w 424 drivers/gpu/drm/exynos/exynos5433_drm_decon.c val = COORDINATE_X(state->crtc.x + state->crtc.w - 1) | w 443 drivers/gpu/drm/exynos/exynos5433_drm_decon.c val = BIT_VAL(pitch - state->crtc.w * cpp, 27, 14) w 444 drivers/gpu/drm/exynos/exynos5433_drm_decon.c | BIT_VAL(state->crtc.w * cpp, 13, 0); w 446 drivers/gpu/drm/exynos/exynos5433_drm_decon.c val = BIT_VAL(pitch - state->crtc.w * cpp, 29, 15) w 447 drivers/gpu/drm/exynos/exynos5433_drm_decon.c | BIT_VAL(state->crtc.w * cpp, 14, 0); w 424 drivers/gpu/drm/exynos/exynos7_drm_decon.c state->crtc.w, state->crtc.h); w 430 drivers/gpu/drm/exynos/exynos7_drm_decon.c last_x = state->crtc.x + state->crtc.w; w 45 drivers/gpu/drm/exynos/exynos_drm_drv.h unsigned int w, h; w 477 drivers/gpu/drm/exynos/exynos_drm_fimc.c h2 = real_width - buf->rect.w - buf->rect.x; w 482 drivers/gpu/drm/exynos/exynos_drm_fimc.c buf->rect.x, buf->rect.y, buf->rect.w, buf->rect.h, w 520 drivers/gpu/drm/exynos/exynos_drm_fimc.c buf->rect.y, buf->rect.w, buf->rect.h); w 526 drivers/gpu/drm/exynos/exynos_drm_fimc.c cfg |= (EXYNOS_CIREAL_ISIZE_WIDTH(buf->rect.w) | w 751 drivers/gpu/drm/exynos/exynos_drm_fimc.c src_h = src->w; w 753 drivers/gpu/drm/exynos/exynos_drm_fimc.c src_w = src->w; w 759 drivers/gpu/drm/exynos/exynos_drm_fimc.c dst_h = dst->w; w 761 drivers/gpu/drm/exynos/exynos_drm_fimc.c dst_w = dst->w; w 863 drivers/gpu/drm/exynos/exynos_drm_fimc.c buf->rect.w, buf->rect.h); w 884 drivers/gpu/drm/exynos/exynos_drm_fimc.c EXYNOS_CITRGFMT_TARGETVSIZE(buf->rect.w)); w 886 drivers/gpu/drm/exynos/exynos_drm_fimc.c cfg |= (EXYNOS_CITRGFMT_TARGETHSIZE(buf->rect.w) | w 891 drivers/gpu/drm/exynos/exynos_drm_fimc.c cfg = EXYNOS_CITAREA_TARGET_AREA(buf->rect.w * buf->rect.h); w 822 drivers/gpu/drm/exynos/exynos_drm_fimd.c state->crtc.w, state->crtc.h); w 825 drivers/gpu/drm/exynos/exynos_drm_fimd.c buf_offsize = pitch - (state->crtc.w * cpp); w 826 drivers/gpu/drm/exynos/exynos_drm_fimd.c line_size = state->crtc.w * cpp; w 840 drivers/gpu/drm/exynos/exynos_drm_fimd.c last_x = state->crtc.x + state->crtc.w; w 861 drivers/gpu/drm/exynos/exynos_drm_fimd.c val = state->crtc.w * state->crtc.h; w 868 drivers/gpu/drm/exynos/exynos_drm_fimd.c fimd_win_set_pixfmt(ctx, win, fb, state->src.w); w 576 drivers/gpu/drm/exynos/exynos_drm_gsc.c cfg = (GSC_CROPPED_WIDTH(buf->rect.w) | w 593 drivers/gpu/drm/exynos/exynos_drm_gsc.c if (buf->rect.w >= GSC_WIDTH_ITU_709) w 751 drivers/gpu/drm/exynos/exynos_drm_gsc.c src_w = src->w; w 756 drivers/gpu/drm/exynos/exynos_drm_gsc.c dst_h = dst->w; w 758 drivers/gpu/drm/exynos/exynos_drm_gsc.c dst_w = dst->w; w 878 drivers/gpu/drm/exynos/exynos_drm_gsc.c GSC_SCALED_HEIGHT(buf->rect.w)); w 880 drivers/gpu/drm/exynos/exynos_drm_gsc.c cfg = (GSC_SCALED_WIDTH(buf->rect.w) | w 894 drivers/gpu/drm/exynos/exynos_drm_gsc.c if (buf->rect.w >= GSC_WIDTH_ITU_709) w 269 drivers/gpu/drm/exynos/exynos_drm_ipp.c task->src.rect.w = task->dst.rect.w = UINT_MAX; w 496 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (!__size_limit_check(buf->rect.w, lh) || w 537 drivers/gpu/drm/exynos/exynos_drm_ipp.c dw = (!swap) ? dst->w : dst->h; w 538 drivers/gpu/drm/exynos/exynos_drm_ipp.c dh = (!swap) ? dst->h : dst->w; w 540 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (!__scale_limit_check(src->w, dw, lh->min, lh->max) || w 613 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (src->rect.w == UINT_MAX) w 614 drivers/gpu/drm/exynos/exynos_drm_ipp.c src->rect.w = src->buf.width; w 617 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (dst->rect.w == UINT_MAX) w 618 drivers/gpu/drm/exynos/exynos_drm_ipp.c dst->rect.w = dst->buf.width; w 622 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (src->rect.x + src->rect.w > (src->buf.width) || w 624 drivers/gpu/drm/exynos/exynos_drm_ipp.c dst->rect.x + dst->rect.w > (dst->buf.width) || w 632 drivers/gpu/drm/exynos/exynos_drm_ipp.c if ((!swap && (src->rect.w != dst->rect.w || w 634 drivers/gpu/drm/exynos/exynos_drm_ipp.c (swap && (src->rect.w != dst->rect.h || w 635 drivers/gpu/drm/exynos/exynos_drm_ipp.c src->rect.h != dst->rect.w))) w 108 drivers/gpu/drm/exynos/exynos_drm_plane.c exynos_state->src.w = (actual_w * exynos_state->h_ratio) >> 16; w 114 drivers/gpu/drm/exynos/exynos_drm_plane.c exynos_state->crtc.w = actual_w; w 120 drivers/gpu/drm/exynos/exynos_drm_plane.c exynos_state->crtc.w, exynos_state->crtc.h); w 209 drivers/gpu/drm/exynos/exynos_drm_plane.c if (state->src.w == state->crtc.w) w 152 drivers/gpu/drm/exynos/exynos_drm_rotator.c ROT_SRC_CROP_SIZE_W(buf->rect.w); w 200 drivers/gpu/drm/exynos/exynos_drm_scaler.c val = SCALER_SRC_WH_SET_WIDTH(src_pos->w); w 247 drivers/gpu/drm/exynos/exynos_drm_scaler.c val = SCALER_DST_WH_SET_WIDTH(dst_pos->w); w 270 drivers/gpu/drm/exynos/exynos_drm_scaler.c h_ratio = (src_pos->h << 16) / dst_pos->w; w 271 drivers/gpu/drm/exynos/exynos_drm_scaler.c v_ratio = (src_pos->w << 16) / dst_pos->h; w 273 drivers/gpu/drm/exynos/exynos_drm_scaler.c h_ratio = (src_pos->w << 16) / dst_pos->w; w 560 drivers/gpu/drm/exynos/exynos_mixer.c vp_reg_write(ctx, VP_SRC_WIDTH, state->src.w); w 563 drivers/gpu/drm/exynos/exynos_mixer.c vp_reg_write(ctx, VP_DST_WIDTH, state->crtc.w); w 663 drivers/gpu/drm/exynos/exynos_mixer.c val = MXR_GRP_WH_WIDTH(state->src.w); w 1046 drivers/gpu/drm/exynos/exynos_mixer.c u32 w = mode->hdisplay, h = mode->vdisplay; w 1049 drivers/gpu/drm/exynos/exynos_mixer.c w, h, mode->vrefresh, w 1055 drivers/gpu/drm/exynos/exynos_mixer.c if ((w >= 464 && w <= 720 && h >= 261 && h <= 576) || w 1056 drivers/gpu/drm/exynos/exynos_mixer.c (w >= 1024 && w <= 1280 && h >= 576 && h <= 720) || w 1057 drivers/gpu/drm/exynos/exynos_mixer.c (w >= 1664 && w <= 1920 && h >= 936 && h <= 1080)) w 1060 drivers/gpu/drm/exynos/exynos_mixer.c if ((w == 1024 && h == 768) || w 1061 drivers/gpu/drm/exynos/exynos_mixer.c (w == 1366 && h == 768) || w 1062 drivers/gpu/drm/exynos/exynos_mixer.c (w == 1280 && h == 1024)) w 385 drivers/gpu/drm/i810/i810_dma.c dev_priv->w = init->w; w 629 drivers/gpu/drm/i810/i810_dma.c pbox->x2 > dev_priv->w || pbox->y2 > dev_priv->h) w 686 drivers/gpu/drm/i810/i810_dma.c unsigned int w = pbox->x2 - pbox->x1; w 693 drivers/gpu/drm/i810/i810_dma.c pbox->x2 > dev_priv->w || pbox->y2 > dev_priv->h) w 699 drivers/gpu/drm/i810/i810_dma.c OUT_RING((h << 16) | (w * cpp)); w 103 drivers/gpu/drm/i810/i810_drv.h int w, h; w 3395 drivers/gpu/drm/i915/display/intel_display.c int w = drm_rect_width(&plane_state->base.src) >> 16; w 3408 drivers/gpu/drm/i915/display/intel_display.c if (w > max_width || h > max_height) { w 3410 drivers/gpu/drm/i915/display/intel_display.c w, h, max_width, max_height); w 3436 drivers/gpu/drm/i915/display/intel_display.c while ((x + w) * cpp > plane_state->color_plane[0].stride) { w 3489 drivers/gpu/drm/i915/display/intel_display.c int w = drm_rect_width(&plane_state->base.src) >> 17; w 3497 drivers/gpu/drm/i915/display/intel_display.c if (w > max_width || h > max_height) { w 3499 drivers/gpu/drm/i915/display/intel_display.c w, h, max_width, max_height); w 1729 drivers/gpu/drm/i915/display/intel_tv.c u16 w, h; w 1775 drivers/gpu/drm/i915/display/intel_tv.c if (input->w > 1024 && w 1781 drivers/gpu/drm/i915/display/intel_tv.c if (IS_GEN(dev_priv, 3) && input->w > 1024 && w 1801 drivers/gpu/drm/i915/display/intel_tv.c intel_tv_scale_mode_horiz(mode, input->w, 0, 0); w 116 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct clear_pages_work *w = container_of(fence, typeof(*w), dma); w 118 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c destroy_sleeve(w->sleeve); w 120 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c i915_sw_fence_fini(&w->wait); w 122 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c BUILD_BUG_ON(offsetof(typeof(*w), dma)); w 123 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c dma_fence_free(&w->dma); w 134 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct clear_pages_work *w = container_of(work, typeof(*w), irq_work); w 136 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c dma_fence_signal(&w->dma); w 137 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c dma_fence_put(&w->dma); w 143 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct clear_pages_work *w = container_of(cb, typeof(*w), cb); w 146 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c dma_fence_set_error(&w->dma, fence->error); w 152 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c irq_work_queue(&w->irq_work); w 157 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct clear_pages_work *w = container_of(work, typeof(*w), work); w 158 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct drm_i915_private *i915 = w->ce->engine->i915; w 159 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct drm_i915_gem_object *obj = w->sleeve->vma->obj; w 160 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct i915_vma *vma = w->sleeve->vma; w 163 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c int err = w->dma.error; w 170 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c drm_clflush_sg(w->sleeve->pages); w 182 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c batch = intel_emit_vma_fill_blt(w->ce, vma, w->value); w 188 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c rq = intel_context_create_request(w->ce); w 195 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c if (dma_fence_add_callback(&rq->fence, &w->cb, w 203 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c if (w->ce->engine->emit_init_breadcrumb) { w 204 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c err = w->ce->engine->emit_init_breadcrumb(rq); w 218 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c err = w->ce->engine->emit_bb_start(rq, w 229 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c intel_emit_vma_release(w->ce, batch); w 236 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c dma_fence_set_error(&w->dma, err); w 237 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c dma_fence_signal(&w->dma); w 238 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c dma_fence_put(&w->dma); w 246 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct clear_pages_work *w = container_of(fence, typeof(*w), wait); w 250 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c schedule_work(&w->work); w 254 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c dma_fence_put(&w->dma); w 959 drivers/gpu/drm/i915/gt/intel_lrc.c struct i915_request *w = w 960 drivers/gpu/drm/i915/gt/intel_lrc.c container_of(p->waiter, typeof(*w), sched); w 963 drivers/gpu/drm/i915/gt/intel_lrc.c if (w->engine != rq->engine) w 967 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(i915_request_started(w) && w 970 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(i915_request_is_active(w)); w 971 drivers/gpu/drm/i915/gt/intel_lrc.c if (list_empty(&w->sched.link)) w 974 drivers/gpu/drm/i915/gt/intel_lrc.c if (rq_prio(w) < rq_prio(rq)) w 977 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(rq_prio(w) > rq_prio(rq)); w 978 drivers/gpu/drm/i915/gt/intel_lrc.c list_move_tail(&w->sched.link, &list); w 1088 drivers/gpu/drm/i915/gt/intel_reset.c struct intel_wedge_me w; w 1096 drivers/gpu/drm/i915/gt/intel_reset.c intel_wedge_on_timeout(&w, gt, 5 * HZ) { w 1280 drivers/gpu/drm/i915/gt/intel_reset.c struct intel_wedge_me *w = container_of(work, typeof(*w), work.work); w 1282 drivers/gpu/drm/i915/gt/intel_reset.c dev_err(w->gt->i915->drm.dev, w 1284 drivers/gpu/drm/i915/gt/intel_reset.c w->name); w 1285 drivers/gpu/drm/i915/gt/intel_reset.c intel_gt_set_wedged(w->gt); w 1288 drivers/gpu/drm/i915/gt/intel_reset.c void __intel_init_wedge(struct intel_wedge_me *w, w 1293 drivers/gpu/drm/i915/gt/intel_reset.c w->gt = gt; w 1294 drivers/gpu/drm/i915/gt/intel_reset.c w->name = name; w 1296 drivers/gpu/drm/i915/gt/intel_reset.c INIT_DELAYED_WORK_ONSTACK(&w->work, intel_wedge_me); w 1297 drivers/gpu/drm/i915/gt/intel_reset.c schedule_delayed_work(&w->work, timeout); w 1300 drivers/gpu/drm/i915/gt/intel_reset.c void __intel_fini_wedge(struct intel_wedge_me *w) w 1302 drivers/gpu/drm/i915/gt/intel_reset.c cancel_delayed_work_sync(&w->work); w 1303 drivers/gpu/drm/i915/gt/intel_reset.c destroy_delayed_work_on_stack(&w->work); w 1304 drivers/gpu/drm/i915/gt/intel_reset.c w->gt = NULL; w 58 drivers/gpu/drm/i915/gt/intel_reset.h void __intel_init_wedge(struct intel_wedge_me *w, w 62 drivers/gpu/drm/i915/gt/intel_reset.h void __intel_fini_wedge(struct intel_wedge_me *w); w 1056 drivers/gpu/drm/i915/gt/intel_workarounds.c static void gen9_whitelist_build(struct i915_wa_list *w) w 1059 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg(w, GEN9_CTX_PREEMPT_REG); w 1062 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg(w, GEN8_CS_CHICKEN1); w 1065 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg(w, GEN8_HDC_CHICKEN1); w 1068 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg(w, COMMON_SLICE_CHICKEN2); w 1073 drivers/gpu/drm/i915/gt/intel_workarounds.c struct i915_wa_list *w = &engine->whitelist; w 1078 drivers/gpu/drm/i915/gt/intel_workarounds.c gen9_whitelist_build(w); w 1081 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg(w, GEN8_L3SQCREG4); w 1094 drivers/gpu/drm/i915/gt/intel_workarounds.c struct i915_wa_list *w = &engine->whitelist; w 1099 drivers/gpu/drm/i915/gt/intel_workarounds.c gen9_whitelist_build(w); w 1102 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg(w, GEN8_L3SQCREG4); w 1107 drivers/gpu/drm/i915/gt/intel_workarounds.c struct i915_wa_list *w = &engine->whitelist; w 1112 drivers/gpu/drm/i915/gt/intel_workarounds.c gen9_whitelist_build(w); w 1115 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg(w, GEN9_SLICE_COMMON_ECO_CHICKEN1); w 1120 drivers/gpu/drm/i915/gt/intel_workarounds.c struct i915_wa_list *w = &engine->whitelist; w 1125 drivers/gpu/drm/i915/gt/intel_workarounds.c gen9_whitelist_build(w); w 1136 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg_ext(w, PS_INVOCATION_COUNT, w 1143 drivers/gpu/drm/i915/gt/intel_workarounds.c struct i915_wa_list *w = &engine->whitelist; w 1149 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg(w, GEN8_CS_CHICKEN1); w 1154 drivers/gpu/drm/i915/gt/intel_workarounds.c struct i915_wa_list *w = &engine->whitelist; w 1159 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg(w, GEN9_HALF_SLICE_CHICKEN7); w 1162 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg(w, GEN10_SAMPLER_MODE); w 1165 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg(w, GEN9_SLICE_COMMON_ECO_CHICKEN1); w 1176 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg_ext(w, PS_INVOCATION_COUNT, w 1183 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg_ext(w, _MMIO(0x2000 + engine->mmio_base), w 1186 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg_ext(w, _MMIO(0x2014 + engine->mmio_base), w 1189 drivers/gpu/drm/i915/gt/intel_workarounds.c whitelist_reg_ext(w, _MMIO(0x23B0 + engine->mmio_base), w 1205 drivers/gpu/drm/i915/gt/intel_workarounds.c struct i915_wa_list *w = &engine->whitelist; w 1207 drivers/gpu/drm/i915/gt/intel_workarounds.c wa_init_start(w, "whitelist", engine->name); w 1230 drivers/gpu/drm/i915/gt/intel_workarounds.c wa_init_finish(w); w 318 drivers/gpu/drm/i915/gt/selftest_hangcheck.c struct intel_wedge_me w; w 340 drivers/gpu/drm/i915/gt/selftest_hangcheck.c intel_wedge_on_timeout(&w, gt, HZ / 10 /* 100ms */) w 1306 drivers/gpu/drm/i915/gt/selftest_hangcheck.c struct intel_wedge_me w; w 1309 drivers/gpu/drm/i915/gt/selftest_hangcheck.c intel_wedge_on_timeout(&w, gt, HZ / 10 /* 100ms */) w 1670 drivers/gpu/drm/i915/gt/selftest_hangcheck.c struct intel_wedge_me w; w 1672 drivers/gpu/drm/i915/gt/selftest_hangcheck.c intel_wedge_on_timeout(&w, engine->gt, HZ / 20 /* 50ms */) w 641 drivers/gpu/drm/i915/gt/selftest_workarounds.c u32 w = values[v]; w 646 drivers/gpu/drm/i915/gt/selftest_workarounds.c expect = reg_write(expect, w, rsvd); w 648 drivers/gpu/drm/i915/gt/selftest_workarounds.c w, results[idx], expect); w 652 drivers/gpu/drm/i915/gt/selftest_workarounds.c u32 w = ~values[v]; w 657 drivers/gpu/drm/i915/gt/selftest_workarounds.c expect = reg_write(expect, w, rsvd); w 659 drivers/gpu/drm/i915/gt/selftest_workarounds.c w, results[idx], expect); w 32 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c static void ct_incoming_request_worker_func(struct work_struct *w); w 735 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c static void ct_incoming_request_worker_func(struct work_struct *w) w 737 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c struct intel_guc_ct *ct = container_of(w, struct intel_guc_ct, worker); w 1810 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_F(reg, s, f, am, rm, d, r, w) do { \ w 1812 drivers/gpu/drm/i915/gvt/handlers.c f, s, am, rm, d, r, w); \ w 1820 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_DH(reg, d, r, w) \ w 1821 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(reg, 4, 0, 0, 0, d, r, w) w 1823 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_DFH(reg, d, f, r, w) \ w 1824 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(reg, 4, f, 0, 0, d, r, w) w 1826 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_GM(reg, d, r, w) \ w 1827 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(reg, 4, F_GMADR, 0xFFFFF000, 0, d, r, w) w 1829 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_GM_RDR(reg, d, r, w) \ w 1830 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(reg, 4, F_GMADR | F_CMD_ACCESS, 0xFFFFF000, 0, d, r, w) w 1832 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_RO(reg, d, f, rm, r, w) \ w 1833 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(reg, 4, F_RO | f, 0, rm, d, r, w) w 1835 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_RING_F(prefix, s, f, am, rm, d, r, w) do { \ w 1836 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(prefix(RENDER_RING_BASE), s, f, am, rm, d, r, w); \ w 1837 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(prefix(BLT_RING_BASE), s, f, am, rm, d, r, w); \ w 1838 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(prefix(GEN6_BSD_RING_BASE), s, f, am, rm, d, r, w); \ w 1839 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(prefix(VEBOX_RING_BASE), s, f, am, rm, d, r, w); \ w 1841 drivers/gpu/drm/i915/gvt/handlers.c MMIO_F(prefix(GEN8_BSD2_RING_BASE), s, f, am, rm, d, r, w); \ w 1847 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_RING_DFH(prefix, d, f, r, w) \ w 1848 drivers/gpu/drm/i915/gvt/handlers.c MMIO_RING_F(prefix, 4, f, 0, 0, d, r, w) w 1850 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_RING_GM(prefix, d, r, w) \ w 1851 drivers/gpu/drm/i915/gvt/handlers.c MMIO_RING_F(prefix, 4, F_GMADR, 0xFFFF0000, 0, d, r, w) w 1853 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_RING_GM_RDR(prefix, d, r, w) \ w 1854 drivers/gpu/drm/i915/gvt/handlers.c MMIO_RING_F(prefix, 4, F_GMADR | F_CMD_ACCESS, 0xFFFF0000, 0, d, r, w) w 1856 drivers/gpu/drm/i915/gvt/handlers.c #define MMIO_RING_RO(prefix, d, f, rm, r, w) \ w 1857 drivers/gpu/drm/i915/gvt/handlers.c MMIO_RING_F(prefix, 4, F_RO | f, 0, rm, d, r, w) w 10314 drivers/gpu/drm/i915/i915_reg.h #define CGM_PIPE_DEGAMMA(pipe, i, w) _MMIO(_PIPE(pipe, _CGM_PIPE_A_DEGAMMA, _CGM_PIPE_B_DEGAMMA) + (i) * 8 + (w) * 4) w 10315 drivers/gpu/drm/i915/i915_reg.h #define CGM_PIPE_GAMMA(pipe, i, w) _MMIO(_PIPE(pipe, _CGM_PIPE_A_GAMMA, _CGM_PIPE_B_GAMMA) + (i) * 8 + (w) * 4) w 274 drivers/gpu/drm/i915/intel_uncore.h __raw_read(16, w) w 279 drivers/gpu/drm/i915/intel_uncore.h __raw_write(16, w) w 301 drivers/gpu/drm/i915/intel_uncore.h __uncore_read(read16, 16, w, true) w 303 drivers/gpu/drm/i915/intel_uncore.h __uncore_read(read16_notrace, 16, w, false) w 307 drivers/gpu/drm/i915/intel_uncore.h __uncore_write(write16, 16, w, true) w 46 drivers/gpu/drm/mediatek/mtk_disp_color.c static void mtk_color_config(struct mtk_ddp_comp *comp, unsigned int w, w 52 drivers/gpu/drm/mediatek/mtk_disp_color.c writel(w, comp->regs + DISP_COLOR_WIDTH(color)); w 115 drivers/gpu/drm/mediatek/mtk_disp_ovl.c static void mtk_ovl_config(struct mtk_ddp_comp *comp, unsigned int w, w 119 drivers/gpu/drm/mediatek/mtk_disp_ovl.c if (w != 0 && h != 0) w 120 drivers/gpu/drm/mediatek/mtk_disp_ovl.c writel_relaxed(h << 16 | w, comp->regs + DISP_REG_OVL_ROI_SIZE); w 90 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c static void mtk_od_config(struct mtk_ddp_comp *comp, unsigned int w, w 94 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c writel(w << 16 | h, comp->regs + DISP_OD_SIZE); w 109 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c static void mtk_aal_config(struct mtk_ddp_comp *comp, unsigned int w, w 113 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c writel(h << 16 | w, comp->regs + DISP_AAL_SIZE); w 126 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c static void mtk_gamma_config(struct mtk_ddp_comp *comp, unsigned int w, w 130 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c writel(h << 16 | w, comp->regs + DISP_GAMMA_SIZE); w 67 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h void (*config)(struct mtk_ddp_comp *comp, unsigned int w, w 92 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h unsigned int w, unsigned int h, w 96 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h comp->funcs->config(comp, w, h, vrefresh, bpc); w 28 drivers/gpu/drm/meson/meson_plane.c #define SCI_WH_M1_W(w) FIELD_PREP(GENMASK(28, 16), w) w 356 drivers/gpu/drm/mga/mga_drv.h #define SET_AGE(age, h, w) \ w 359 drivers/gpu/drm/mga/mga_drv.h (age)->wrap = w; \ w 362 drivers/gpu/drm/mga/mga_drv.h #define TEST_AGE(age, h, w) ((age)->wrap < w || \ w 363 drivers/gpu/drm/mga/mga_drv.h ((age)->wrap == w && \ w 798 drivers/gpu/drm/mga/mga_state.c int w = pbox[i].x2 - pbox[i].x1 - 1; w 806 drivers/gpu/drm/mga/mga_state.c DMA_BLOCK(MGA_AR0, start + w, w 808 drivers/gpu/drm/mga/mga_state.c MGA_FXBNDRY, ((dstx + w) << 16) | (dstx & 0xffff), w 733 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c const uint32_t w, w 743 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c if ((w > DPU_MAX_IMG_WIDTH) || (h > DPU_MAX_IMG_HEIGHT)) { w 749 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c return _dpu_format_get_plane_sizes_ubwc(fmt, w, h, layout); w 751 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c return _dpu_format_get_plane_sizes_linear(fmt, w, h, layout, pitches); w 340 drivers/gpu/drm/msm/msm_drv.h int w, int h, int p, uint32_t format); w 207 drivers/gpu/drm/msm/msm_fb.c msm_alloc_stolen_fb(struct drm_device *dev, int w, int h, int p, uint32_t format) w 211 drivers/gpu/drm/msm/msm_fb.c .width = w, w 75 drivers/gpu/drm/nouveau/dispnv50/atom.h u16 w; w 92 drivers/gpu/drm/nouveau/dispnv50/atom.h u16 w; w 204 drivers/gpu/drm/nouveau/dispnv50/atom.h u16 w; w 79 drivers/gpu/drm/nouveau/dispnv50/base507c.c evo_data(push, asyw->image.h << 16 | asyw->image.w); w 209 drivers/gpu/drm/nouveau/dispnv50/base507c.c asyh->base.w = asyw->state.fb->width; w 46 drivers/gpu/drm/nouveau/dispnv50/base827c.c evo_data(push, asyw->image.h << 16 | asyw->image.w); w 37 drivers/gpu/drm/nouveau/dispnv50/base907c.c evo_data(push, asyw->image.h << 16 | asyw->image.w); w 85 drivers/gpu/drm/nouveau/dispnv50/curs507a.c if (asyw->image.w != asyw->image.h) w 149 drivers/gpu/drm/nouveau/dispnv50/head507d.c switch (asyw->image.w) { w 179 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_data(push, asyh->core.h << 16 | asyh->core.w); w 207 drivers/gpu/drm/nouveau/dispnv50/head507d.c asyh->core.w = asyh->base.w; w 219 drivers/gpu/drm/nouveau/dispnv50/head507d.c asyh->core.w = asyh->state.mode.hdisplay; w 229 drivers/gpu/drm/nouveau/dispnv50/head507d.c asyh->core.pitch = ALIGN(asyh->core.w, 64) * 4; w 64 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_data(push, asyh->core.h << 16 | asyh->core.w); w 174 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_data(push, asyh->core.h << 16 | asyh->core.w); w 83 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c evo_data(push, asyw->image.h << 16 | asyw->image.w); w 41 drivers/gpu/drm/nouveau/dispnv50/ovly827e.c evo_data(push, asyw->image.h << 16 | asyw->image.w); w 39 drivers/gpu/drm/nouveau/dispnv50/ovly907e.c evo_data(push, asyw->image.h << 16 | asyw->image.w); w 244 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->image.w = fb->base.width; w 128 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c evo_data(push, asyw->image.h << 16 | asyw->image.w); w 42 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c evo_data(push, asyw->image.h << 16 | asyw->image.w); w 133 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_cli_work(struct work_struct *w) w 135 drivers/gpu/drm/nouveau/nouveau_drm.c struct nouveau_cli *cli = container_of(w, typeof(*cli), work); w 103 drivers/gpu/drm/nouveau/nouveau_gem.c nouveau_gem_object_delete_work(struct nouveau_cli_work *w) w 106 drivers/gpu/drm/nouveau/nouveau_gem.c container_of(w, typeof(*work), work); w 145 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c gf100_fifo_recover_work(struct work_struct *w) w 147 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c struct gf100_fifo *fifo = container_of(w, typeof(*fifo), recover.work); w 275 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c gk104_fifo_recover_work(struct work_struct *w) w 277 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c struct gk104_fifo *fifo = container_of(w, typeof(*fifo), recover.work); w 526 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c u32 w = data >> 16; w 530 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c if (w & 0x8000) w 532 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c w |= 0xffff0000; w 533 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c max = min + w; w 544 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c u32 w = data >> 16; w 548 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c if (w & 0x8000) w 550 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c w |= 0xffff0000; w 551 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c max = min + w; w 30 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.h #define MASK(w) ((1 << (w)) - 1) w 229 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c u16 x, u16 y, u16 w, u16 h) w 234 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c u16 x2 = x + w - 1; w 874 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c u16 x, u16 y, u16 w, u16 h) w 880 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c dev_dbg(&ddata->pdev->dev, "update %d, %d, %d x %d\n", x, y, w, h); w 1007 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c u16 x, u16 y, u16 w, u16 h) w 1016 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c if (size < w * h * 3) w 1026 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c size = min((u32)w * h * 3, w 1043 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c dsicm_set_update_window(ddata, x, y, w, h); w 3866 drivers/gpu/drm/omapdrm/dss/dispc.c uint w = last - first; w 3870 drivers/gpu/drm/omapdrm/dss/dispc.c if (w == 0) w 3873 drivers/gpu/drm/omapdrm/dss/dispc.c for (j = 0; j <= w; j++) { w 3874 drivers/gpu/drm/omapdrm/dss/dispc.c r = (lut[i].red * (w - j) + lut[i+1].red * j) / w; w 3875 drivers/gpu/drm/omapdrm/dss/dispc.c g = (lut[i].green * (w - j) + lut[i+1].green * j) / w; w 3876 drivers/gpu/drm/omapdrm/dss/dispc.c b = (lut[i].blue * (w - j) + lut[i+1].blue * j) / w; w 2924 drivers/gpu/drm/omapdrm/dss/dsi.c int w; w 2937 drivers/gpu/drm/omapdrm/dss/dsi.c for (w = 0; w < len + 2;) { w 2949 drivers/gpu/drm/omapdrm/dss/dsi.c if (w < len) w 2950 drivers/gpu/drm/omapdrm/dss/dsi.c buf[w] = (val >> (b * 8)) & 0xff; w 2952 drivers/gpu/drm/omapdrm/dss/dsi.c ++w; w 3821 drivers/gpu/drm/omapdrm/dss/dsi.c u16 w = dsi->vm.hactive; w 3824 drivers/gpu/drm/omapdrm/dss/dsi.c DSSDBG("dsi_update_screen_dispc(%dx%d)\n", w, h); w 3829 drivers/gpu/drm/omapdrm/dss/dsi.c bytespl = w * bytespp; w 445 drivers/gpu/drm/omapdrm/dss/omapdss.h u16 x, u16 y, u16 w, u16 h); w 453 drivers/gpu/drm/omapdrm/dss/omapdss.h u16 x, u16 y, u16 w, u16 h); w 537 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c struct tiler_block *tiler_reserve_2d(enum tiler_fmt fmt, u16 w, w 553 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c w = DIV_ROUND_UP(w, geom[fmt].slot_w); w 564 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c ret = tcm_reserve_2d(containers[fmt], w, h, align, -1, slot_bytes, w 696 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c void tiler_align(enum tiler_fmt fmt, u16 *w, u16 *h) w 699 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c *w = round_up(*w, geom[fmt].slot_w); w 713 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c size_t tiler_size(enum tiler_fmt fmt, u16 w, u16 h) w 715 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c tiler_align(fmt, &w, &h); w 716 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c return geom[fmt].cpp * w * h; w 719 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c size_t tiler_vsize(enum tiler_fmt fmt, u16 w, u16 h) w 722 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c return round_up(geom[fmt].cpp * w, PAGE_SIZE) * h; w 1039 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c int w = (map_width(xdiv, x0, x1) - strlen(nice)) / 2; w 1040 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c if (w >= 0) { w 1041 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c p += w; w 95 drivers/gpu/drm/omapdrm/omap_dmm_tiler.h struct tiler_block *tiler_reserve_2d(enum tiler_fmt fmt, u16 w, u16 h, w 105 drivers/gpu/drm/omapdrm/omap_dmm_tiler.h size_t tiler_size(enum tiler_fmt fmt, u16 w, u16 h); w 106 drivers/gpu/drm/omapdrm/omap_dmm_tiler.h size_t tiler_vsize(enum tiler_fmt fmt, u16 w, u16 h); w 107 drivers/gpu/drm/omapdrm/omap_dmm_tiler.h void tiler_align(enum tiler_fmt fmt, u16 *w, u16 *h); w 158 drivers/gpu/drm/omapdrm/omap_fb.c u32 w = state->src_w >> 16; w 172 drivers/gpu/drm/omapdrm/omap_fb.c w /= 2; w 179 drivers/gpu/drm/omapdrm/omap_fb.c x += w - 1; w 1337 drivers/gpu/drm/omapdrm/omap_gem.c u16 h = 1, w = PAGE_SIZE >> i; w 1339 drivers/gpu/drm/omapdrm/omap_gem.c tiler_align(fmts[i], &w, &h); w 1353 drivers/gpu/drm/omapdrm/omap_gem.c block = tiler_reserve_2d(fmts[i], w, h, PAGE_SIZE); w 1363 drivers/gpu/drm/omapdrm/omap_gem.c DBG("%d:%d: %dx%d: dma_addr=%pad stride=%d", i, j, w, h, w 36 drivers/gpu/drm/omapdrm/tcm-sita.c static void free_slots(unsigned long pos, u16 w, u16 h, w 42 drivers/gpu/drm/omapdrm/tcm-sita.c bitmap_clear(map, pos, w); w 51 drivers/gpu/drm/omapdrm/tcm-sita.c static int r2l_b2t_1d(u16 w, unsigned long *pos, unsigned long *map, w 58 drivers/gpu/drm/omapdrm/tcm-sita.c *pos = num_bits - w; w 63 drivers/gpu/drm/omapdrm/tcm-sita.c if (bit - *pos >= w) { w 65 drivers/gpu/drm/omapdrm/tcm-sita.c bitmap_set(map, *pos, w); w 70 drivers/gpu/drm/omapdrm/tcm-sita.c search_count = num_bits - bit + w; w 71 drivers/gpu/drm/omapdrm/tcm-sita.c *pos = bit - w; w 87 drivers/gpu/drm/omapdrm/tcm-sita.c static int l2r_t2b(u16 w, u16 h, u16 a, s16 offset, w 105 drivers/gpu/drm/omapdrm/tcm-sita.c *pos = bitmap_find_next_zero_area(map, num_bits, curr_bit, w, w 115 drivers/gpu/drm/omapdrm/tcm-sita.c if ((*pos % slot_stride) + w > slot_stride) { w 128 drivers/gpu/drm/omapdrm/tcm-sita.c bitmap_set(mask, (*pos % BITS_PER_LONG), w); w 137 drivers/gpu/drm/omapdrm/tcm-sita.c (*pos % BITS_PER_LONG) + w)) { w 156 drivers/gpu/drm/omapdrm/tcm-sita.c bitmap_set(map, index, w); w 181 drivers/gpu/drm/omapdrm/tcm-sita.c static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u16 align, w 189 drivers/gpu/drm/omapdrm/tcm-sita.c ret = l2r_t2b(w, h, align, offset, &pos, slot_bytes, tcm->bitmap, w 195 drivers/gpu/drm/omapdrm/tcm-sita.c area->p1.x = area->p0.x + w - 1; w 211 drivers/gpu/drm/omapdrm/tcm-sita.c u16 w, h; w 215 drivers/gpu/drm/omapdrm/tcm-sita.c w = area->p1.x - area->p0.x + 1; w 218 drivers/gpu/drm/omapdrm/tcm-sita.c w = area->p1.x + area->p1.y * tcm->width - pos + 1; w 223 drivers/gpu/drm/omapdrm/tcm-sita.c free_slots(pos, w, h, tcm->bitmap, tcm->width); w 266 drivers/gpu/drm/qxl/qxl_display.c int w; w 280 drivers/gpu/drm/qxl/qxl_display.c extra_modes[i].w, w 282 drivers/gpu/drm/r128/r128_state.c int x, int y, int w, int h, int r, int g, int b) w 323 drivers/gpu/drm/r128/r128_state.c OUT_RING((w << 16) | h); w 383 drivers/gpu/drm/r128/r128_state.c int w = pbox[i].x2 - x; w 415 drivers/gpu/drm/r128/r128_state.c OUT_RING((w << 16) | h); w 436 drivers/gpu/drm/r128/r128_state.c OUT_RING((w << 16) | h); w 457 drivers/gpu/drm/r128/r128_state.c OUT_RING((w << 16) | h); w 483 drivers/gpu/drm/r128/r128_state.c int w = pbox[i].x2 - x; w 511 drivers/gpu/drm/r128/r128_state.c OUT_RING((w << 16) | h); w 874 drivers/gpu/drm/radeon/evergreen_cs.c unsigned w, h, d; w 876 drivers/gpu/drm/radeon/evergreen_cs.c w = r600_mip_minify(width, i); w 879 drivers/gpu/drm/radeon/evergreen_cs.c surf.nbx = r600_fmt_get_nblocksx(surf.format, w); w 2094 drivers/gpu/drm/radeon/r100.c static int r100_track_compress_size(int compress_format, int w, int h) w 2117 drivers/gpu/drm/radeon/r100.c wblocks = (w + block_width - 1) / block_width; w 2127 drivers/gpu/drm/radeon/r100.c unsigned face, w, h; w 2134 drivers/gpu/drm/radeon/r100.c w = track->textures[idx].cube_info[face].width; w 2138 drivers/gpu/drm/radeon/r100.c size = r100_track_compress_size(compress_format, w, h); w 2140 drivers/gpu/drm/radeon/r100.c size = w * h; w 2160 drivers/gpu/drm/radeon/r100.c unsigned u, i, w, h, d; w 2177 drivers/gpu/drm/radeon/r100.c w = (track->textures[u].pitch / track->textures[u].cpp) / (1 << i); w 2179 drivers/gpu/drm/radeon/r100.c w = track->textures[u].pitch / (1 << i); w 2181 drivers/gpu/drm/radeon/r100.c w = track->textures[u].width; w 2183 drivers/gpu/drm/radeon/r100.c w |= track->textures[u].width_11; w 2184 drivers/gpu/drm/radeon/r100.c w = w / (1 << i); w 2186 drivers/gpu/drm/radeon/r100.c w = roundup_pow_of_two(w); w 2203 drivers/gpu/drm/radeon/r100.c size += r100_track_compress_size(track->textures[u].compress_format, w, h) * d; w 2206 drivers/gpu/drm/radeon/r100.c size += w * h * d; w 211 drivers/gpu/drm/radeon/r600_cs.c int r600_fmt_get_nblocksx(u32 format, u32 w) w 222 drivers/gpu/drm/radeon/r600_cs.c return (w + bw - 1) / bw; w 2893 drivers/gpu/drm/radeon/radeon.h int r600_fmt_get_nblocksx(u32 format, u32 w); w 508 drivers/gpu/drm/radeon/radeon_connectors.c int w; w 532 drivers/gpu/drm/radeon/radeon_connectors.c if (common_modes[i].w > 1024 || w 537 drivers/gpu/drm/radeon/radeon_connectors.c if (common_modes[i].w > native_mode->hdisplay || w 539 drivers/gpu/drm/radeon/radeon_connectors.c (common_modes[i].w == native_mode->hdisplay && w 543 drivers/gpu/drm/radeon/radeon_connectors.c if (common_modes[i].w < 320 || common_modes[i].h < 200) w 546 drivers/gpu/drm/radeon/radeon_connectors.c mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h, 60, false, false, false); w 149 drivers/gpu/drm/radeon/radeon_cursor.c int w = radeon_crtc->cursor_width; w 192 drivers/gpu/drm/radeon/radeon_cursor.c cursor_end = x + w; w 195 drivers/gpu/drm/radeon/radeon_cursor.c w = w - (cursor_end - frame_end); w 197 drivers/gpu/drm/radeon/radeon_cursor.c w--; w 201 drivers/gpu/drm/radeon/radeon_cursor.c w--; w 203 drivers/gpu/drm/radeon/radeon_cursor.c if (w <= 0) { w 209 drivers/gpu/drm/radeon/radeon_cursor.c if (x <= (crtc->x - w) || y <= (crtc->y - radeon_crtc->cursor_height) || w 221 drivers/gpu/drm/radeon/radeon_cursor.c ((w - 1) << 16) | (radeon_crtc->cursor_height - 1)); w 226 drivers/gpu/drm/radeon/radeon_cursor.c ((w - 1) << 16) | (radeon_crtc->cursor_height - 1)); w 442 drivers/gpu/drm/savage/savage_drv.h #define BCI_W_H(w, h) ((((h) << 16) | (w)) & 0x0FFF0FFF) w 444 drivers/gpu/drm/savage/savage_drv.h #define BCI_X_W(x, y) ((((w) << 16) | (x)) & 0x0FFF0FFF) w 572 drivers/gpu/drm/savage/savage_drv.h #define SET_AGE( age, e, w ) do { \ w 574 drivers/gpu/drm/savage/savage_drv.h (age)->wrap = w; \ w 577 drivers/gpu/drm/savage/savage_drv.h #define TEST_AGE( age, e, w ) \ w 578 drivers/gpu/drm/savage/savage_drv.h ( (age)->wrap < (w) || ( (age)->wrap == (w) && (age)->event <= (e) ) ) w 833 drivers/gpu/drm/savage/savage_state.c unsigned int x, y, w, h; w 836 drivers/gpu/drm/savage/savage_state.c w = boxes[i].x2 - boxes[i].x1; w 859 drivers/gpu/drm/savage/savage_state.c DMA_WRITE(BCI_W_H(w, h)); w 40 drivers/gpu/drm/sun4i/sun4i_backend.h #define SUN4I_BACKEND_DISSIZE(w, h) (((((h) - 1) & 0xffff) << 16) | \ w 41 drivers/gpu/drm/sun4i/sun4i_backend.h (((w) - 1) & 0xffff)) w 44 drivers/gpu/drm/sun4i/sun4i_backend.h #define SUN4I_BACKEND_LAYSIZE(w, h) (((((h) - 1) & 0x1fff) << 16) | \ w 45 drivers/gpu/drm/sun4i/sun4i_backend.h (((w) - 1) & 0x1fff)) w 78 drivers/gpu/drm/sun4i/sun4i_frontend.h #define SUN4I_FRONTEND_INSIZE(h, w) ((((h) - 1) << 16) | (((w) - 1))) w 81 drivers/gpu/drm/sun4i/sun4i_frontend.h #define SUN4I_FRONTEND_OUTSIZE(h, w) ((((h) - 1) << 16) | (((w) - 1))) w 16 drivers/gpu/drm/sun4i/sun8i_mixer.h #define SUN8I_MIXER_SIZE(w, h) (((h) - 1) << 16 | ((w) - 1)) w 24 drivers/gpu/drm/sun4i/sun8i_ui_scaler.h #define SUN8I_UI_SCALER_SIZE(w, h) (((h) - 1) << 16 | ((w) - 1)) w 28 drivers/gpu/drm/sun4i/sun8i_vi_scaler.h #define SUN8I_VI_SCALER_SIZE(w, h) (((h) - 1) << 16 | ((w) - 1)) w 312 drivers/gpu/drm/tegra/dc.c if (window->src.w == window->dst.w) w 363 drivers/gpu/drm/tegra/dc.c value = V_SIZE(window->dst.h) | H_SIZE(window->dst.w); w 368 drivers/gpu/drm/tegra/dc.c h_size = window->src.w * bpp; w 381 drivers/gpu/drm/tegra/dc.c h_dda = compute_dda_inc(window->src.w, window->dst.w, false, bpp); w 702 drivers/gpu/drm/tegra/dc.c window.src.w = drm_rect_width(&plane->state->src) >> 16; w 706 drivers/gpu/drm/tegra/dc.c window.dst.w = drm_rect_width(&plane->state->dst); w 128 drivers/gpu/drm/tegra/dc.h unsigned int w; w 134 drivers/gpu/drm/tegra/dc.h unsigned int w; w 73 drivers/gpu/drm/vboxvideo/vbox_main.c cmd_hdr.w = (u16)rects[i].x2 - rects[i].x1; w 59 drivers/gpu/drm/vboxvideo/vboxvideo.h u16 w; w 188 drivers/gpu/drm/vc4/vc4_txp.c int w = mode->hdisplay, h = mode->vdisplay; w 190 drivers/gpu/drm/vc4/vc4_txp.c if (w < mode_config->min_width || w > mode_config->max_width) w 43 drivers/gpu/drm/virtio/virtgpu_ioctl.c dst->w = cpu_to_le32(src->w); w 442 drivers/gpu/drm/virtio/virtgpu_ioctl.c box.w, box.h, box.x, box.y, NULL); w 68 drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h uint32 w; w 82 drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h uint32 w; w 97 drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h uint32 w; w 109 drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h uint32 w; w 449 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c u32 w, u32 h, w 493 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c ret = vmw_bo_cpu_blit_line(&d, dst_offset, src_offset, w); w 1384 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h u32 w, u32 h, w 182 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c s32 dst_x1, dst_x2, dst_y1, dst_y2, w = 0, h = 0; w 227 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c w = dst_x2 - dst_x1; w 229 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c w = max_t(s32, 0, w); w 236 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c if (w && h) { w 244 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c memcpy(dst_ptr, src_ptr, w*cpp); w 258 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c if (w && h) { w 193 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c box->w, box->h, box->d, box_count, w 213 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (box->w == 64 && cmd->dma.guest.pitch == 64*4) { w 220 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c box->w * 4); w 2377 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if ((rects[i].x + rects[i].w > INT_MAX) || w 2386 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c drm_rects[i].x2 = curr_rect.x + curr_rect.w; w 2506 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c dirty->unit_x2 = dirty->fb_x + vclips_ptr->w + w 2634 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c box->w = clips->x2 - clips->x1; w 90 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c int w = 0, h = 0; w 93 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c w = max(w, crtc->x + crtc->mode.hdisplay); w 102 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c return vmw_kms_write_svga(dev_priv, w, h, fb->pitches[0], w 156 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c items[SVGA_VIDEO_SRC_WIDTH].value = arg->src.w; w 160 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c items[SVGA_VIDEO_DST_WIDTH].value = arg->dst.w; w 269 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c update->body.rect.w = right - left; w 467 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c blit->w = dirty->unit_x2 - dirty->unit_x1; w 764 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c blit->w = dirty->unit_x2 - dirty->unit_x1; w 1235 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->w = drm_rect_width(clip); w 1335 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->w = drm_rect_width(&diff.rect); w 1464 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->w = drm_rect_width(&clip); w 1508 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->w = drm_rect_width(clip); w 310 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cb->w = cur_size->width; w 551 drivers/gpu/ipu-v3/ipu-csi.c void ipu_csi_get_window(struct ipu_csi *csi, struct v4l2_rect *w) w 559 drivers/gpu/ipu-v3/ipu-csi.c w->width = (reg & 0xFFFF) + 1; w 560 drivers/gpu/ipu-v3/ipu-csi.c w->height = (reg >> 16 & 0xFFFF) + 1; w 563 drivers/gpu/ipu-v3/ipu-csi.c w->left = (reg & CSI_HSC_MASK) >> CSI_HSC_SHIFT; w 564 drivers/gpu/ipu-v3/ipu-csi.c w->top = (reg & CSI_VSC_MASK) >> CSI_VSC_SHIFT; w 570 drivers/gpu/ipu-v3/ipu-csi.c void ipu_csi_set_window(struct ipu_csi *csi, struct v4l2_rect *w) w 577 drivers/gpu/ipu-v3/ipu-csi.c ipu_csi_write(csi, (w->width - 1) | ((w->height - 1) << 16), w 582 drivers/gpu/ipu-v3/ipu-csi.c reg |= ((w->top << CSI_VSC_SHIFT) | (w->left << CSI_HSC_SHIFT)); w 1750 drivers/hid/hid-logitech-hidpp.c static void hidpp_ff_work_handler(struct work_struct *w) w 1752 drivers/hid/hid-logitech-hidpp.c struct hidpp_ff_work_data *wd = container_of(w, struct hidpp_ff_work_data, work); w 98 drivers/hid/hid-multitouch.c __s32 *x, *y, *cx, *cy, *p, *w, *h, *a; w 519 drivers/hid/hid-multitouch.c usage->w = DEFAULT_ZERO; w 796 drivers/hid/hid-multitouch.c MT_STORE_FIELD(w); w 1053 drivers/hid/hid-multitouch.c int wide = (*slot->w > *slot->h); w 1054 drivers/hid/hid-multitouch.c int major = max(*slot->w, *slot->h); w 1055 drivers/hid/hid-multitouch.c int minor = min(*slot->w, *slot->h); w 53 drivers/hid/hid-ntrig.c __u16 x, y, w, h; w 612 drivers/hid/hid-ntrig.c nd->w = value; w 676 drivers/hid/hid-ntrig.c if (nd->w < nd->min_width || w 686 drivers/hid/hid-ntrig.c if (nd->w >= nd->activation_width && w 735 drivers/hid/hid-ntrig.c if (nd->w > nd->h) { w 739 drivers/hid/hid-ntrig.c ABS_MT_TOUCH_MAJOR, nd->w); w 748 drivers/hid/hid-ntrig.c ABS_MT_TOUCH_MINOR, nd->w); w 37 drivers/hid/hid-picolcd_cir.c int i, w, sz; w 60 drivers/hid/hid-picolcd_cir.c w = (raw_data[i] << 8) | (raw_data[i+1]); w 61 drivers/hid/hid-picolcd_cir.c rawir.pulse = !!(w & 0x8000); w 62 drivers/hid/hid-picolcd_cir.c rawir.duration = US_TO_NS(rawir.pulse ? (65536 - w) : w); w 1369 drivers/hid/hid-sony.c int w, int h, int touch_major, int touch_minor, int orientation) w 1403 drivers/hid/hid-sony.c input_set_abs_params(sc->touchpad, ABS_MT_POSITION_X, 0, w, 0, 0); w 1392 drivers/hid/wacom_wac.c int w = touch[6] * input_abs_get_res(touch_input, ABS_MT_POSITION_X); w 1402 drivers/hid/wacom_wac.c input_report_abs(touch_input, ABS_MT_TOUCH_MAJOR, max(w, h)); w 1403 drivers/hid/wacom_wac.c input_report_abs(touch_input, ABS_MT_TOUCH_MINOR, min(w, h)); w 1404 drivers/hid/wacom_wac.c input_report_abs(touch_input, ABS_MT_ORIENTATION, w > h); w 1570 drivers/hid/wacom_wac.c int w = get_unaligned_le16(&data[offset + 10]); w 1573 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, min(w,h)); w 1575 drivers/hid/wacom_wac.c min(w, h) + int_dist(t_x, t_y, c_x, c_y)); w 1576 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_WIDTH_MINOR, min(w, h)); w 1577 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_ORIENTATION, w > h); w 158 drivers/i2c/busses/i2c-davinci.c u16 w; w 160 drivers/i2c/busses/i2c-davinci.c w = davinci_i2c_read_reg(i2c_dev, DAVINCI_I2C_MDR_REG); w 162 drivers/i2c/busses/i2c-davinci.c w &= ~DAVINCI_I2C_MDR_IRS; w 164 drivers/i2c/busses/i2c-davinci.c w |= DAVINCI_I2C_MDR_IRS; w 166 drivers/i2c/busses/i2c-davinci.c davinci_i2c_write_reg(i2c_dev, DAVINCI_I2C_MDR_REG, w); w 419 drivers/i2c/busses/i2c-davinci.c u16 w; w 455 drivers/i2c/busses/i2c-davinci.c w = davinci_i2c_read_reg(dev, DAVINCI_I2C_IMR_REG); w 457 drivers/i2c/busses/i2c-davinci.c w |= DAVINCI_I2C_IMR_RRDY; w 459 drivers/i2c/busses/i2c-davinci.c w |= DAVINCI_I2C_IMR_XRDY; w 460 drivers/i2c/busses/i2c-davinci.c davinci_i2c_write_reg(dev, DAVINCI_I2C_IMR_REG, w); w 522 drivers/i2c/busses/i2c-davinci.c w = davinci_i2c_read_reg(dev, DAVINCI_I2C_MDR_REG); w 523 drivers/i2c/busses/i2c-davinci.c w |= DAVINCI_I2C_MDR_STP; w 524 drivers/i2c/busses/i2c-davinci.c davinci_i2c_write_reg(dev, DAVINCI_I2C_MDR_REG, w); w 579 drivers/i2c/busses/i2c-davinci.c u16 w = davinci_i2c_read_reg(dev, DAVINCI_I2C_MDR_REG); w 580 drivers/i2c/busses/i2c-davinci.c w |= DAVINCI_I2C_MDR_NACK; w 581 drivers/i2c/busses/i2c-davinci.c davinci_i2c_write_reg(dev, DAVINCI_I2C_MDR_REG, w); w 590 drivers/i2c/busses/i2c-davinci.c u16 w = davinci_i2c_read_reg(dev, DAVINCI_I2C_MDR_REG); w 591 drivers/i2c/busses/i2c-davinci.c w |= DAVINCI_I2C_MDR_RM | DAVINCI_I2C_MDR_STP; w 592 drivers/i2c/busses/i2c-davinci.c davinci_i2c_write_reg(dev, DAVINCI_I2C_MDR_REG, w); w 607 drivers/i2c/busses/i2c-davinci.c u16 w; w 638 drivers/i2c/busses/i2c-davinci.c w = davinci_i2c_read_reg(dev, w 640 drivers/i2c/busses/i2c-davinci.c w |= DAVINCI_I2C_MDR_STP; w 642 drivers/i2c/busses/i2c-davinci.c DAVINCI_I2C_MDR_REG, w); w 673 drivers/i2c/busses/i2c-davinci.c w = davinci_i2c_read_reg(dev, w 675 drivers/i2c/busses/i2c-davinci.c w &= ~DAVINCI_I2C_IMR_XRDY; w 678 drivers/i2c/busses/i2c-davinci.c w); w 664 drivers/i2c/busses/i2c-omap.c u16 w; w 685 drivers/i2c/busses/i2c-omap.c w = omap_i2c_read_reg(omap, OMAP_I2C_BUF_REG); w 686 drivers/i2c/busses/i2c-omap.c w |= OMAP_I2C_BUF_RXFIF_CLR | OMAP_I2C_BUF_TXFIF_CLR; w 687 drivers/i2c/busses/i2c-omap.c omap_i2c_write_reg(omap, OMAP_I2C_BUF_REG, w); w 693 drivers/i2c/busses/i2c-omap.c w = OMAP_I2C_CON_EN | OMAP_I2C_CON_MST | OMAP_I2C_CON_STT; w 697 drivers/i2c/busses/i2c-omap.c w |= OMAP_I2C_CON_OPMODE_HS; w 702 drivers/i2c/busses/i2c-omap.c w |= OMAP_I2C_CON_XA; w 704 drivers/i2c/busses/i2c-omap.c w |= OMAP_I2C_CON_TRX; w 707 drivers/i2c/busses/i2c-omap.c w |= OMAP_I2C_CON_STP; w 713 drivers/i2c/busses/i2c-omap.c omap_i2c_write_reg(omap, OMAP_I2C_CON_REG, w); w 733 drivers/i2c/busses/i2c-omap.c w |= OMAP_I2C_CON_STP; w 734 drivers/i2c/busses/i2c-omap.c w &= ~OMAP_I2C_CON_STT; w 735 drivers/i2c/busses/i2c-omap.c omap_i2c_write_reg(omap, OMAP_I2C_CON_REG, w); w 778 drivers/i2c/busses/i2c-omap.c w = omap_i2c_read_reg(omap, OMAP_I2C_CON_REG); w 779 drivers/i2c/busses/i2c-omap.c w |= OMAP_I2C_CON_STP; w 780 drivers/i2c/busses/i2c-omap.c omap_i2c_write_reg(omap, OMAP_I2C_CON_REG, w); w 902 drivers/i2c/busses/i2c-omap.c u16 iv, w; w 924 drivers/i2c/busses/i2c-omap.c w = omap_i2c_read_reg(omap, OMAP_I2C_DATA_REG); w 925 drivers/i2c/busses/i2c-omap.c *omap->buf++ = w; w 928 drivers/i2c/busses/i2c-omap.c *omap->buf++ = w >> 8; w 936 drivers/i2c/busses/i2c-omap.c w = *omap->buf++; w 939 drivers/i2c/busses/i2c-omap.c w |= *omap->buf++ << 8; w 942 drivers/i2c/busses/i2c-omap.c omap_i2c_write_reg(omap, OMAP_I2C_DATA_REG, w); w 1002 drivers/i2c/busses/i2c-omap.c u16 w; w 1005 drivers/i2c/busses/i2c-omap.c w = omap_i2c_read_reg(omap, OMAP_I2C_DATA_REG); w 1006 drivers/i2c/busses/i2c-omap.c *omap->buf++ = w; w 1014 drivers/i2c/busses/i2c-omap.c *omap->buf++ = w >> 8; w 1023 drivers/i2c/busses/i2c-omap.c u16 w; w 1026 drivers/i2c/busses/i2c-omap.c w = *omap->buf++; w 1034 drivers/i2c/busses/i2c-omap.c w |= *omap->buf++ << 8; w 1046 drivers/i2c/busses/i2c-omap.c omap_i2c_write_reg(omap, OMAP_I2C_DATA_REG, w); w 34 drivers/infiniband/core/cq.c static void ib_cq_rdma_dim_work(struct work_struct *w) w 36 drivers/infiniband/core/cq.c struct dim *dim = container_of(w, struct dim, work); w 81 drivers/infiniband/hw/hfi1/iowait.c void iowait_cancel_work(struct iowait *w) w 83 drivers/infiniband/hw/hfi1/iowait.c cancel_work_sync(&iowait_get_ib_work(w)->iowork); w 85 drivers/infiniband/hw/hfi1/iowait.c if (iowait_get_tid_work(w)->iowork.func) w 86 drivers/infiniband/hw/hfi1/iowait.c cancel_work_sync(&iowait_get_tid_work(w)->iowork); w 93 drivers/infiniband/hw/hfi1/iowait.c int iowait_set_work_flag(struct iowait_work *w) w 95 drivers/infiniband/hw/hfi1/iowait.c if (w == &w->iow->wait[IOWAIT_IB_SE]) { w 96 drivers/infiniband/hw/hfi1/iowait.c iowait_set_flag(w->iow, IOWAIT_PENDING_IB); w 99 drivers/infiniband/hw/hfi1/iowait.c iowait_set_flag(w->iow, IOWAIT_PENDING_TID); w 114 drivers/infiniband/hw/hfi1/iowait.c uint iowait_priority_update_top(struct iowait *w, w 121 drivers/infiniband/hw/hfi1/iowait.c cnt = (w->priority << IOWAIT_PRIORITY_STARVE_SHIFT) + w->starved_cnt; w 340 drivers/infiniband/hw/hfi1/iowait.h static inline u16 iowait_get_desc(struct iowait_work *w) w 345 drivers/infiniband/hw/hfi1/iowait.h if (!list_empty(&w->tx_head)) { w 346 drivers/infiniband/hw/hfi1/iowait.h tx = list_first_entry(&w->tx_head, struct sdma_txreq, w 350 drivers/infiniband/hw/hfi1/iowait.h w->iow->priority++; w 355 drivers/infiniband/hw/hfi1/iowait.h static inline u32 iowait_get_all_desc(struct iowait *w) w 359 drivers/infiniband/hw/hfi1/iowait.h num_desc = iowait_get_desc(&w->wait[IOWAIT_IB_SE]); w 360 drivers/infiniband/hw/hfi1/iowait.h num_desc += iowait_get_desc(&w->wait[IOWAIT_TID_SE]); w 364 drivers/infiniband/hw/hfi1/iowait.h static inline void iowait_update_priority(struct iowait_work *w) w 368 drivers/infiniband/hw/hfi1/iowait.h if (!list_empty(&w->tx_head)) { w 369 drivers/infiniband/hw/hfi1/iowait.h tx = list_first_entry(&w->tx_head, struct sdma_txreq, w 372 drivers/infiniband/hw/hfi1/iowait.h w->iow->priority++; w 376 drivers/infiniband/hw/hfi1/iowait.h static inline void iowait_update_all_priority(struct iowait *w) w 378 drivers/infiniband/hw/hfi1/iowait.h iowait_update_priority(&w->wait[IOWAIT_IB_SE]); w 379 drivers/infiniband/hw/hfi1/iowait.h iowait_update_priority(&w->wait[IOWAIT_TID_SE]); w 382 drivers/infiniband/hw/hfi1/iowait.h static inline void iowait_init_priority(struct iowait *w) w 384 drivers/infiniband/hw/hfi1/iowait.h w->priority = 0; w 385 drivers/infiniband/hw/hfi1/iowait.h if (w->init_priority) w 386 drivers/infiniband/hw/hfi1/iowait.h w->init_priority(w); w 389 drivers/infiniband/hw/hfi1/iowait.h static inline void iowait_get_priority(struct iowait *w) w 391 drivers/infiniband/hw/hfi1/iowait.h iowait_init_priority(w); w 392 drivers/infiniband/hw/hfi1/iowait.h iowait_update_all_priority(w); w 405 drivers/infiniband/hw/hfi1/iowait.h static inline void iowait_queue(bool pkts_sent, struct iowait *w, w 415 drivers/infiniband/hw/hfi1/iowait.h w->starved_cnt = 0; w 417 drivers/infiniband/hw/hfi1/iowait.h w->starved_cnt++; w 419 drivers/infiniband/hw/hfi1/iowait.h if (w->priority > 0 || !pkts_sent) w 420 drivers/infiniband/hw/hfi1/iowait.h list_add(&w->list, wait_head); w 422 drivers/infiniband/hw/hfi1/iowait.h list_add_tail(&w->list, wait_head); w 433 drivers/infiniband/hw/hfi1/iowait.h static inline void iowait_starve_clear(bool pkts_sent, struct iowait *w) w 436 drivers/infiniband/hw/hfi1/iowait.h w->starved_cnt = 0; w 440 drivers/infiniband/hw/hfi1/iowait.h uint iowait_priority_update_top(struct iowait *w, w 458 drivers/infiniband/hw/hfi1/iowait.h static inline void iowait_inc_wait_count(struct iowait_work *w, u16 n) w 460 drivers/infiniband/hw/hfi1/iowait.h if (!w) w 462 drivers/infiniband/hw/hfi1/iowait.h w->iow->tx_count++; w 463 drivers/infiniband/hw/hfi1/iowait.h w->iow->count += n; w 470 drivers/infiniband/hw/hfi1/iowait.h static inline struct iowait_work *iowait_get_tid_work(struct iowait *w) w 472 drivers/infiniband/hw/hfi1/iowait.h return &w->wait[IOWAIT_TID_SE]; w 479 drivers/infiniband/hw/hfi1/iowait.h static inline struct iowait_work *iowait_get_ib_work(struct iowait *w) w 481 drivers/infiniband/hw/hfi1/iowait.h return &w->wait[IOWAIT_IB_SE]; w 488 drivers/infiniband/hw/hfi1/iowait.h static inline struct iowait *iowait_ioww_to_iow(struct iowait_work *w) w 490 drivers/infiniband/hw/hfi1/iowait.h if (likely(w)) w 491 drivers/infiniband/hw/hfi1/iowait.h return w->iow; w 495 drivers/infiniband/hw/hfi1/iowait.h void iowait_cancel_work(struct iowait *w); w 496 drivers/infiniband/hw/hfi1/iowait.h int iowait_set_work_flag(struct iowait_work *w); w 677 drivers/infiniband/hw/hfi1/mad.c static void set_link_width_enabled(struct hfi1_pportdata *ppd, u32 w) w 679 drivers/infiniband/hw/hfi1/mad.c (void)hfi1_set_ib_cfg(ppd, HFI1_IB_CFG_LWID_ENB, w); w 682 drivers/infiniband/hw/hfi1/mad.c static void set_link_width_downgrade_enabled(struct hfi1_pportdata *ppd, u32 w) w 684 drivers/infiniband/hw/hfi1/mad.c (void)hfi1_set_ib_cfg(ppd, HFI1_IB_CFG_LWID_DG_ENB, w); w 572 drivers/infiniband/hw/hfi1/qp.c static void hfi1_init_priority(struct iowait *w) w 574 drivers/infiniband/hw/hfi1/qp.c struct rvt_qp *qp = iowait_to_qp(w); w 578 drivers/infiniband/hw/hfi1/qp.c w->priority++; w 580 drivers/infiniband/hw/hfi1/qp.c w->priority++; w 519 drivers/infiniband/hw/hfi1/ruc.c struct iowait_work *w = container_of(work, struct iowait_work, iowork); w 520 drivers/infiniband/hw/hfi1/ruc.c struct rvt_qp *qp = iowait_to_qp(w->iow); w 422 drivers/infiniband/hw/hfi1/sdma.c struct iowait *w, *nw; w 427 drivers/infiniband/hw/hfi1/sdma.c list_for_each_entry_safe(w, nw, &sde->dmawait, list) { w 428 drivers/infiniband/hw/hfi1/sdma.c if (w->wakeup) { w 429 drivers/infiniband/hw/hfi1/sdma.c w->wakeup(w, SDMA_AVAIL_REASON); w 430 drivers/infiniband/hw/hfi1/sdma.c list_del_init(&w->list); w 5330 drivers/infiniband/hw/hfi1/tid_rdma.c struct iowait_work *w = container_of(work, struct iowait_work, iowork); w 5331 drivers/infiniband/hw/hfi1/tid_rdma.c struct rvt_qp *qp = iowait_to_qp(w->iow); w 107 drivers/infiniband/hw/hfi1/verbs_txreq.h static inline struct verbs_txreq *get_waiting_verbs_txreq(struct iowait_work *w) w 111 drivers/infiniband/hw/hfi1/verbs_txreq.h stx = iowait_get_txhead(w); w 117 drivers/infiniband/hw/hfi1/verbs_txreq.h static inline bool verbs_txreq_queued(struct iowait_work *w) w 119 drivers/infiniband/hw/hfi1/verbs_txreq.h return iowait_packet_queued(w); w 1723 drivers/infiniband/hw/mlx5/odp.c struct prefetch_mr_work *w = w 1726 drivers/infiniband/hw/mlx5/odp.c if (ib_device_try_get(w->pd->device)) { w 1727 drivers/infiniband/hw/mlx5/odp.c mlx5_ib_prefetch_sg_list(w->pd, w->pf_flags, w->sg_list, w 1728 drivers/infiniband/hw/mlx5/odp.c w->num_sge); w 1729 drivers/infiniband/hw/mlx5/odp.c ib_device_put(w->pd->device); w 1732 drivers/infiniband/hw/mlx5/odp.c num_pending_prefetch_dec(to_mdev(w->pd->device), w->sg_list, w 1733 drivers/infiniband/hw/mlx5/odp.c w->num_sge, 0); w 1734 drivers/infiniband/hw/mlx5/odp.c kvfree(w); w 346 drivers/infiniband/hw/qib/qib_mad.c static void set_link_width_enabled(struct qib_pportdata *ppd, u32 w) w 348 drivers/infiniband/hw/qib/qib_mad.c (void) ppd->dd->f_set_ib_cfg(ppd, QIB_IB_CFG_LWID_ENB, w); w 520 drivers/infiniband/hw/qib/qib_verbs.c u32 w; w 526 drivers/infiniband/hw/qib/qib_verbs.c w = (len + 3) >> 2; w 527 drivers/infiniband/hw/qib/qib_verbs.c qib_pio_copy(piobuf, ss->sge.vaddr, w - 1); w 528 drivers/infiniband/hw/qib/qib_verbs.c piobuf += w - 1; w 529 drivers/infiniband/hw/qib/qib_verbs.c last = ((u32 *) ss->sge.vaddr)[w - 1]; w 532 drivers/infiniband/hw/qib/qib_verbs.c u32 w = len >> 2; w 534 drivers/infiniband/hw/qib/qib_verbs.c qib_pio_copy(piobuf, ss->sge.vaddr, w); w 535 drivers/infiniband/hw/qib/qib_verbs.c piobuf += w; w 539 drivers/infiniband/hw/qib/qib_verbs.c u32 v = ((u32 *) ss->sge.vaddr)[w]; w 189 drivers/infiniband/sw/siw/siw_cm.c struct list_head *w, *tmp; w 192 drivers/infiniband/sw/siw/siw_cm.c list_for_each_safe(w, tmp, &cep->work_freelist) { w 193 drivers/infiniband/sw/siw/siw_cm.c work = list_entry(w, struct siw_cm_work, list); w 1002 drivers/infiniband/sw/siw/siw_cm.c static void siw_cm_work_handler(struct work_struct *w) w 1008 drivers/infiniband/sw/siw/siw_cm.c work = container_of(w, struct siw_cm_work, work.work); w 115 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h #define OPA_VNIC_ENCAP_RC_EXT(w, b) (((w) >> OPA_VNIC_ENCAP_RC_ ## b) & 0x7) w 2087 drivers/infiniband/ulp/srpt/ib_srpt.c static void srpt_release_channel_work(struct work_struct *w) w 2094 drivers/infiniband/ulp/srpt/ib_srpt.c ch = container_of(w, struct srpt_rdma_ch, release_work); w 3373 drivers/infiniband/ulp/srpt/ib_srpt.c u16 w[4]; w 3376 drivers/infiniband/ulp/srpt/ib_srpt.c if (sscanf(name, "%hx:%hx:%hx:%hx", &w[0], &w[1], &w[2], &w[3]) != 4) w 3378 drivers/infiniband/ulp/srpt/ib_srpt.c *guid = get_unaligned_be64(w); w 31 drivers/input/gameport/fm801-gp.c unsigned short w; w 33 drivers/input/gameport/fm801-gp.c w = inw(gameport->io + 2); w 34 drivers/input/gameport/fm801-gp.c *buttons = (~w >> 14) & 0x03; w 35 drivers/input/gameport/fm801-gp.c axes[0] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); w 36 drivers/input/gameport/fm801-gp.c w = inw(gameport->io + 4); w 37 drivers/input/gameport/fm801-gp.c axes[1] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); w 38 drivers/input/gameport/fm801-gp.c w = inw(gameport->io + 6); w 39 drivers/input/gameport/fm801-gp.c *buttons |= ((~w >> 14) & 0x03) << 2; w 40 drivers/input/gameport/fm801-gp.c axes[2] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); w 41 drivers/input/gameport/fm801-gp.c w = inw(gameport->io + 8); w 42 drivers/input/gameport/fm801-gp.c axes[3] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); w 345 drivers/input/input-mt.c static void find_reduced_matrix(int *w, int nr, int nc, int nrc, int mu) w 351 drivers/input/input-mt.c adjust_dual(w + i, nr, w + i + nrc, nr <= nc, mu); w 354 drivers/input/input-mt.c sum += adjust_dual(w + i, 1, w + i + nr, nc <= nr, mu); w 366 drivers/input/input-mt.c int *w = mt->red; w 376 drivers/input/input-mt.c *w++ = dx * dx + dy * dy - mu; w 380 drivers/input/input-mt.c return w - mt->red; w 387 drivers/input/input-mt.c int *w = mt->red, j; w 397 drivers/input/input-mt.c if (w[j] < 0) { w 403 drivers/input/input-mt.c w += num_pos; w 126 drivers/input/joystick/adi.c unsigned char u, v, w, x, z; w 143 drivers/input/joystick/adi.c w = u ^ (v = x = gameport_read(gameport)); w 144 drivers/input/joystick/adi.c for (i = 0; i < 2; i++, w >>= 2, x >>= 2) { w 146 drivers/input/joystick/adi.c if ((w & 0x30) && s[i]) { w 147 drivers/input/joystick/adi.c if ((w & 0x30) < 0x30 && adi[i].ret < ADI_MAX_LENGTH && t[i] > 0) { w 148 drivers/input/joystick/adi.c adi[i].data[++adi[i].ret] = w; w 448 drivers/input/joystick/analog.c int i, j, t, v, w, x, y, z; w 484 drivers/input/joystick/analog.c w = (x >> 3); w 492 drivers/input/joystick/analog.c w = (x >> 4); w 495 drivers/input/joystick/analog.c input_set_abs_params(input_dev, t, v, (x << 1) - v, port->fuzz, w); w 43 drivers/input/joystick/cobra.c unsigned char u, v, w; w 62 drivers/input/joystick/cobra.c for (i = 0, w = u ^ v; i < 2 && w; i++, w >>= 2) w 63 drivers/input/joystick/cobra.c if (w & 0x30) { w 64 drivers/input/joystick/cobra.c if ((w & 0x30) < 0x30 && r[i] < COBRA_LENGTH && t[i] > 0) { w 65 drivers/input/joystick/cobra.c buf[i] |= (__u64)((w >> 5) & 1) << r[i]++; w 111 drivers/input/joystick/grip.c unsigned char u, v, w; w 124 drivers/input/joystick/grip.c v = w = (gameport_read(gameport) >> shift) & 3; w 138 drivers/input/joystick/grip.c if ((((u ^ v) & (v ^ w)) >> 1) & ~(u | v | w) & 1) { w 151 drivers/input/joystick/grip.c w = v; w 132 drivers/input/joystick/tmdc.c unsigned char u, v, w, x; w 146 drivers/input/joystick/tmdc.c w = gameport_read(gameport) >> 4; w 149 drivers/input/joystick/tmdc.c x = w; w 150 drivers/input/joystick/tmdc.c w = gameport_read(gameport) >> 4; w 152 drivers/input/joystick/tmdc.c for (k = 0, v = w, u = x; k < 2; k++, v >>= 2, u >>= 2) { w 62 drivers/input/joystick/walkera0701.c static inline void walkera0701_parse_frame(struct walkera_dev *w) w 70 drivers/input/joystick/walkera0701.c crc1 += w->buf[i] & 7; w 71 drivers/input/joystick/walkera0701.c crc2 += (w->buf[i] & 8) >> 3; w 73 drivers/input/joystick/walkera0701.c if ((w->buf[10] & 7) != (crc1 & 7)) w 75 drivers/input/joystick/walkera0701.c if (((w->buf[10] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) w 78 drivers/input/joystick/walkera0701.c crc1 += w->buf[i] & 7; w 79 drivers/input/joystick/walkera0701.c crc2 += (w->buf[i] & 8) >> 3; w 81 drivers/input/joystick/walkera0701.c if ((w->buf[23] & 7) != (crc1 & 7)) w 83 drivers/input/joystick/walkera0701.c if (((w->buf[23] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) w 85 drivers/input/joystick/walkera0701.c val1 = ((w->buf[0] & 7) * 256 + w->buf[1] * 16 + w->buf[2]) >> 2; w 86 drivers/input/joystick/walkera0701.c val1 *= ((w->buf[0] >> 2) & 2) - 1; /* sign */ w 87 drivers/input/joystick/walkera0701.c val2 = (w->buf[2] & 1) << 8 | (w->buf[3] << 4) | w->buf[4]; w 88 drivers/input/joystick/walkera0701.c val2 *= (w->buf[2] & 2) - 1; /* sign */ w 89 drivers/input/joystick/walkera0701.c val3 = ((w->buf[5] & 7) * 256 + w->buf[6] * 16 + w->buf[7]) >> 2; w 90 drivers/input/joystick/walkera0701.c val3 *= ((w->buf[5] >> 2) & 2) - 1; /* sign */ w 91 drivers/input/joystick/walkera0701.c val4 = (w->buf[7] & 1) << 8 | (w->buf[8] << 4) | w->buf[9]; w 92 drivers/input/joystick/walkera0701.c val4 *= (w->buf[7] & 2) - 1; /* sign */ w 93 drivers/input/joystick/walkera0701.c val5 = ((w->buf[11] & 7) * 256 + w->buf[12] * 16 + w->buf[13]) >> 2; w 94 drivers/input/joystick/walkera0701.c val5 *= ((w->buf[11] >> 2) & 2) - 1; /* sign */ w 95 drivers/input/joystick/walkera0701.c val6 = (w->buf[13] & 1) << 8 | (w->buf[14] << 4) | w->buf[15]; w 96 drivers/input/joystick/walkera0701.c val6 *= (w->buf[13] & 2) - 1; /* sign */ w 97 drivers/input/joystick/walkera0701.c val7 = ((w->buf[16] & 7) * 256 + w->buf[17] * 16 + w->buf[18]) >> 2; w 98 drivers/input/joystick/walkera0701.c val7 *= ((w->buf[16] >> 2) & 2) - 1; /*sign */ w 99 drivers/input/joystick/walkera0701.c val8 = (w->buf[18] & 1) << 8 | (w->buf[19] << 4) | w->buf[20]; w 100 drivers/input/joystick/walkera0701.c val8 *= (w->buf[18] & 2) - 1; /*sign */ w 102 drivers/input/joystick/walkera0701.c magic = (w->buf[21] << 4) | w->buf[22]; w 103 drivers/input/joystick/walkera0701.c magic_bit = (w->buf[24] & 8) >> 3; w 108 drivers/input/joystick/walkera0701.c input_report_abs(w->input_dev, ABS_X, val2); w 109 drivers/input/joystick/walkera0701.c input_report_abs(w->input_dev, ABS_Y, val1); w 110 drivers/input/joystick/walkera0701.c input_report_abs(w->input_dev, ABS_Z, val6); w 111 drivers/input/joystick/walkera0701.c input_report_abs(w->input_dev, ABS_THROTTLE, val3); w 112 drivers/input/joystick/walkera0701.c input_report_abs(w->input_dev, ABS_RUDDER, val4); w 113 drivers/input/joystick/walkera0701.c input_report_abs(w->input_dev, ABS_MISC, val7); w 114 drivers/input/joystick/walkera0701.c input_report_key(w->input_dev, BTN_GEAR_DOWN, val5 > 0); w 126 drivers/input/joystick/walkera0701.c struct walkera_dev *w = handler_data; w 128 drivers/input/joystick/walkera0701.c w->irq_time = ktime_to_ns(ktime_get()); w 129 drivers/input/joystick/walkera0701.c pulse_time = w->irq_time - w->irq_lasttime; w 130 drivers/input/joystick/walkera0701.c w->irq_lasttime = w->irq_time; w 133 drivers/input/joystick/walkera0701.c if (unlikely(0 != hrtimer_try_to_cancel(&w->timer))) { w 134 drivers/input/joystick/walkera0701.c w->counter = NO_SYNC; w 138 drivers/input/joystick/walkera0701.c if (w->counter < NO_SYNC) { w 139 drivers/input/joystick/walkera0701.c if (w->ack) { w 141 drivers/input/joystick/walkera0701.c w->buf[w->counter] = 8; w 144 drivers/input/joystick/walkera0701.c w->buf[w->counter] = 0; w 146 drivers/input/joystick/walkera0701.c if (w->counter == 24) { /* full frame */ w 147 drivers/input/joystick/walkera0701.c walkera0701_parse_frame(w); w 148 drivers/input/joystick/walkera0701.c w->counter = NO_SYNC; w 150 drivers/input/joystick/walkera0701.c w->counter = 0; w 156 drivers/input/joystick/walkera0701.c w->buf[w->counter++] |= (pulse_time & 7); w 158 drivers/input/joystick/walkera0701.c w->counter = NO_SYNC; w 162 drivers/input/joystick/walkera0701.c w->counter = 0; w 164 drivers/input/joystick/walkera0701.c hrtimer_start(&w->timer, BIN_SAMPLE, HRTIMER_MODE_REL); w 170 drivers/input/joystick/walkera0701.c struct walkera_dev *w; w 172 drivers/input/joystick/walkera0701.c w = container_of(handle, struct walkera_dev, timer); w 173 drivers/input/joystick/walkera0701.c w->ack = read_ack(w->pardevice); w 180 drivers/input/joystick/walkera0701.c struct walkera_dev *w = input_get_drvdata(dev); w 182 drivers/input/joystick/walkera0701.c if (parport_claim(w->pardevice)) w 185 drivers/input/joystick/walkera0701.c parport_enable_irq(w->parport); w 191 drivers/input/joystick/walkera0701.c struct walkera_dev *w = input_get_drvdata(dev); w 193 drivers/input/joystick/walkera0701.c parport_disable_irq(w->parport); w 194 drivers/input/joystick/walkera0701.c hrtimer_cancel(&w->timer); w 196 drivers/input/joystick/walkera0701.c parport_release(w->pardevice); w 202 drivers/input/joystick/walkera0701.c struct walkera_dev *w = &w_dev; w 215 drivers/input/joystick/walkera0701.c w->parport = pp; w 220 drivers/input/joystick/walkera0701.c walkera0701_parport_cb.private = w; w 222 drivers/input/joystick/walkera0701.c w->pardevice = parport_register_dev_model(pp, "walkera0701", w 225 drivers/input/joystick/walkera0701.c if (!w->pardevice) { w 230 drivers/input/joystick/walkera0701.c if (parport_negotiate(w->pardevice->port, IEEE1284_MODE_COMPAT)) { w 235 drivers/input/joystick/walkera0701.c hrtimer_init(&w->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); w 236 drivers/input/joystick/walkera0701.c w->timer.function = timer_handler; w 238 drivers/input/joystick/walkera0701.c w->input_dev = input_allocate_device(); w 239 drivers/input/joystick/walkera0701.c if (!w->input_dev) { w 244 drivers/input/joystick/walkera0701.c input_set_drvdata(w->input_dev, w); w 245 drivers/input/joystick/walkera0701.c w->input_dev->name = "Walkera WK-0701 TX"; w 246 drivers/input/joystick/walkera0701.c w->input_dev->phys = w->parport->name; w 247 drivers/input/joystick/walkera0701.c w->input_dev->id.bustype = BUS_PARPORT; w 250 drivers/input/joystick/walkera0701.c w->input_dev->id.vendor = 0x0001; w 251 drivers/input/joystick/walkera0701.c w->input_dev->id.product = 0x0001; w 252 drivers/input/joystick/walkera0701.c w->input_dev->id.version = 0x0100; w 253 drivers/input/joystick/walkera0701.c w->input_dev->dev.parent = w->parport->dev; w 254 drivers/input/joystick/walkera0701.c w->input_dev->open = walkera0701_open; w 255 drivers/input/joystick/walkera0701.c w->input_dev->close = walkera0701_close; w 257 drivers/input/joystick/walkera0701.c w->input_dev->evbit[0] = BIT(EV_ABS) | BIT_MASK(EV_KEY); w 258 drivers/input/joystick/walkera0701.c w->input_dev->keybit[BIT_WORD(BTN_GEAR_DOWN)] = BIT_MASK(BTN_GEAR_DOWN); w 260 drivers/input/joystick/walkera0701.c input_set_abs_params(w->input_dev, ABS_X, -512, 512, 0, 0); w 261 drivers/input/joystick/walkera0701.c input_set_abs_params(w->input_dev, ABS_Y, -512, 512, 0, 0); w 262 drivers/input/joystick/walkera0701.c input_set_abs_params(w->input_dev, ABS_Z, -512, 512, 0, 0); w 263 drivers/input/joystick/walkera0701.c input_set_abs_params(w->input_dev, ABS_THROTTLE, -512, 512, 0, 0); w 264 drivers/input/joystick/walkera0701.c input_set_abs_params(w->input_dev, ABS_RUDDER, -512, 512, 0, 0); w 265 drivers/input/joystick/walkera0701.c input_set_abs_params(w->input_dev, ABS_MISC, -512, 512, 0, 0); w 267 drivers/input/joystick/walkera0701.c if (input_register_device(w->input_dev)) { w 275 drivers/input/joystick/walkera0701.c input_free_device(w->input_dev); w 277 drivers/input/joystick/walkera0701.c parport_unregister_device(w->pardevice); w 282 drivers/input/joystick/walkera0701.c struct walkera_dev *w = &w_dev; w 284 drivers/input/joystick/walkera0701.c if (!w->pardevice || w->parport->number != port->number) w 287 drivers/input/joystick/walkera0701.c input_unregister_device(w->input_dev); w 288 drivers/input/joystick/walkera0701.c parport_unregister_device(w->pardevice); w 289 drivers/input/joystick/walkera0701.c w->parport = NULL; w 1221 drivers/input/keyboard/applespi.c int x, y, w, h; w 1223 drivers/input/keyboard/applespi.c sts = sscanf(touchpad_dimensions, "%dx%d+%u+%u", &x, &y, &w, &h); w 1229 drivers/input/keyboard/applespi.c applespi->tp_info.x_max = x + w; w 153 drivers/input/keyboard/lm8323.c #define work_to_pwm(w) container_of(w, struct lm8323_pwm, work) w 267 drivers/input/mouse/bcm5974.c struct bcm5974_param w; /* finger width limits */ w 526 drivers/input/mouse/bcm5974.c set_abs(input_dev, ABS_MT_TOUCH_MAJOR, &cfg->w); w 527 drivers/input/mouse/bcm5974.c set_abs(input_dev, ABS_MT_TOUCH_MINOR, &cfg->w); w 529 drivers/input/mouse/bcm5974.c set_abs(input_dev, ABS_MT_WIDTH_MAJOR, &cfg->w); w 530 drivers/input/mouse/bcm5974.c set_abs(input_dev, ABS_MT_WIDTH_MINOR, &cfg->w); w 593 drivers/input/mouse/bcm5974.c int w = raw2int(f->tool_major); w 596 drivers/input/mouse/bcm5974.c abs_w = clamp_val(16 * w / cfg->w.max, 0, 15); w 19 drivers/input/mouse/cypress_ps2.h #define CYTP_CMD_SET_HSCROLL_WIDTH(w) ENCODE_CMD(1, 1, 0, (w)) w 21 drivers/input/mouse/cypress_ps2.h #define CYTP_CMD_SET_VSCROLL_WIDTH(w) ENCODE_CMD(1, 2, 0, (w)) w 916 drivers/input/mouse/hgpk.c struct delayed_work *w = to_delayed_work(work); w 917 drivers/input/mouse/hgpk.c struct hgpk_data *priv = container_of(w, struct hgpk_data, recalib_wq); w 743 drivers/input/mouse/synaptics.c agm->w = hw->w; w 778 drivers/input/mouse/synaptics.c hw->w = (((buf[0] & 0x30) >> 2) | w 782 drivers/input/mouse/synaptics.c if (synaptics_has_agm(priv) && hw->w == 2) { w 811 drivers/input/mouse/synaptics.c } else if (hw->w >= 4 && ((buf[0] ^ buf[3]) & 0x01)) { w 844 drivers/input/mouse/synaptics.c if (hw->w == 2) w 862 drivers/input/mouse/synaptics.c hw->w = (((buf[1] & 0x80) >> 4) | ((buf[0] & 0x04) >> 1)); w 1034 drivers/input/mouse/synaptics.c else if (sgm->w >= 4) w 1036 drivers/input/mouse/synaptics.c else if (sgm->w == 0) w 1038 drivers/input/mouse/synaptics.c else if (sgm->w == 1) w 1100 drivers/input/mouse/synaptics.c switch (hw.w) { w 1103 drivers/input/mouse/synaptics.c num_fingers = hw.w + 2; w 1111 drivers/input/mouse/synaptics.c finger_width = hw.w; w 155 drivers/input/mouse/synaptics.h int w; w 130 drivers/input/mouse/synaptics_usb.c unsigned int pressure, w; w 135 drivers/input/mouse/synaptics_usb.c w = synusb->data[0] & 0x0f; w 140 drivers/input/mouse/synaptics_usb.c switch (w) { w 142 drivers/input/mouse/synaptics_usb.c num_fingers = 2 + w; w 149 drivers/input/mouse/synaptics_usb.c tool_width = w; w 104 drivers/input/serio/olpc_apsp.c unsigned int w, tmp; w 117 drivers/input/serio/olpc_apsp.c w = readl(priv->base + COMMAND_RETURN_STATUS); w 118 drivers/input/serio/olpc_apsp.c dev_dbg(priv->dev, "olpc_apsp_rx %x\n", w); w 120 drivers/input/serio/olpc_apsp.c if (w >> PORT_SHIFT == KEYBOARD_PORT) w 125 drivers/input/serio/olpc_apsp.c serio_interrupt(serio, w & DATA_MASK, 0); w 1549 drivers/input/tablet/aiptek.c int err, w; w 1551 drivers/input/tablet/aiptek.c err = kstrtoint(buf, 10, &w); w 1555 drivers/input/tablet/aiptek.c aiptek->newSetting.wheel = w; w 796 drivers/input/touchscreen/elants_i2c.c unsigned int x, y, p, w; w 803 drivers/input/touchscreen/elants_i2c.c w = buf[FW_POS_WIDTH + i]; w 806 drivers/input/touchscreen/elants_i2c.c i, x, y, p, w); w 813 drivers/input/touchscreen/elants_i2c.c input_event(input, EV_ABS, ABS_MT_TOUCH_MAJOR, w); w 94 drivers/input/touchscreen/hideep.c u8 w; w 706 drivers/input/touchscreen/hideep.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, event->w); w 1052 drivers/input/touchscreen/usbtouchscreen.c int x, y, begin_x, begin_y, end_x, end_y, w, h, ret; w 1097 drivers/input/touchscreen/usbtouchscreen.c w = end_x - begin_x; w 1102 drivers/input/touchscreen/usbtouchscreen.c ABS_MT_TOUCH_MAJOR, max(w,h)); w 1106 drivers/input/touchscreen/usbtouchscreen.c ABS_MT_POSITION_X, 2*begin_x+w); w 1110 drivers/input/touchscreen/usbtouchscreen.c ABS_MT_ORIENTATION, w > h); w 1114 drivers/input/touchscreen/usbtouchscreen.c usbtouch->x = 2 * begin_x + w; w 957 drivers/input/touchscreen/wdt87xx_i2c.c u32 x, y, w; w 968 drivers/input/touchscreen/wdt87xx_i2c.c w = buf[FINGER_EV_V1_OFFSET_W]; w 969 drivers/input/touchscreen/wdt87xx_i2c.c w *= param->scaling_factor; w 987 drivers/input/touchscreen/wdt87xx_i2c.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, w); w 63 drivers/ipack/devices/ipoctal.c iowrite8(CR_DISABLE_RX | CR_DISABLE_TX, &channel->regs->w.cr); w 65 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_RESET_RX, &channel->regs->w.cr); w 66 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_RESET_TX, &channel->regs->w.cr); w 67 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); w 68 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_RESET_MR, &channel->regs->w.cr); w 81 drivers/ipack/devices/ipoctal.c iowrite8(CR_ENABLE_RX, &channel->regs->w.cr); w 159 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); w 202 drivers/ipack/devices/ipoctal.c iowrite8(value, &channel->regs->w.thr); w 220 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_RESET_BREAK_CHANGE, &channel->regs->w.cr); w 223 drivers/ipack/devices/ipoctal.c iowrite8(CR_DISABLE_TX, &channel->regs->w.cr); w 227 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_NEGATE_RTSN, &channel->regs->w.cr); w 228 drivers/ipack/devices/ipoctal.c iowrite8(CR_ENABLE_RX, &channel->regs->w.cr); w 332 drivers/ipack/devices/ipoctal.c &channel->regs->w.mr); /* mr1 */ w 333 drivers/ipack/devices/ipoctal.c iowrite8(0, &channel->regs->w.mr); /* mr2 */ w 334 drivers/ipack/devices/ipoctal.c iowrite8(TX_CLK_9600 | RX_CLK_9600, &channel->regs->w.csr); w 338 drivers/ipack/devices/ipoctal.c iowrite8(ACR_BRG_SET2, &block_regs[i].w.acr); w 340 drivers/ipack/devices/ipoctal.c &block_regs[i].w.opcr); w 343 drivers/ipack/devices/ipoctal.c &block_regs[i].w.imr); w 450 drivers/ipack/devices/ipoctal.c iowrite8(CR_DISABLE_RX, &channel->regs->w.cr); w 452 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_ASSERT_RTSN, &channel->regs->w.cr); w 459 drivers/ipack/devices/ipoctal.c iowrite8(CR_ENABLE_TX, &channel->regs->w.cr); w 603 drivers/ipack/devices/ipoctal.c iowrite8(mr1, &channel->regs->w.mr); w 604 drivers/ipack/devices/ipoctal.c iowrite8(mr2, &channel->regs->w.mr); w 605 drivers/ipack/devices/ipoctal.c iowrite8(csr, &channel->regs->w.csr); w 609 drivers/ipack/devices/ipoctal.c iowrite8(CR_ENABLE_RX, &channel->regs->w.cr); w 35 drivers/ipack/devices/scc2698.h } __packed w; /* Write access */ w 82 drivers/ipack/devices/scc2698.h } __packed w; /* Write access */ w 389 drivers/isdn/hardware/mISDN/mISDNinfineon.c u16 w; w 413 drivers/isdn/hardware/mISDN/mISDNinfineon.c w = inw((u32)hw->cfg.start + SCT_PLX_IRQ_ADDR); w 414 drivers/isdn/hardware/mISDN/mISDNinfineon.c w |= SCT_PLX_IRQ_ENABLE; w 415 drivers/isdn/hardware/mISDN/mISDNinfineon.c outw(w, (u32)hw->cfg.start + SCT_PLX_IRQ_ADDR); w 433 drivers/isdn/hardware/mISDN/mISDNinfineon.c u16 w; w 457 drivers/isdn/hardware/mISDN/mISDNinfineon.c w = inw((u32)hw->cfg.start + SCT_PLX_IRQ_ADDR); w 458 drivers/isdn/hardware/mISDN/mISDNinfineon.c w &= (~SCT_PLX_IRQ_ENABLE); w 459 drivers/isdn/hardware/mISDN/mISDNinfineon.c outw(w, (u32)hw->cfg.start + SCT_PLX_IRQ_ADDR); w 484 drivers/isdn/hardware/mISDN/mISDNinfineon.c u16 w; w 533 drivers/isdn/hardware/mISDN/mISDNinfineon.c w = inw((u32)hw->cfg.start + SCT_PLX_RESET_ADDR); w 534 drivers/isdn/hardware/mISDN/mISDNinfineon.c w &= (~SCT_PLX_RESET_BIT); w 535 drivers/isdn/hardware/mISDN/mISDNinfineon.c outw(w, (u32)hw->cfg.start + SCT_PLX_RESET_ADDR); w 537 drivers/isdn/hardware/mISDN/mISDNinfineon.c w = inw((u32)hw->cfg.start + SCT_PLX_RESET_ADDR); w 538 drivers/isdn/hardware/mISDN/mISDNinfineon.c w |= SCT_PLX_RESET_BIT; w 539 drivers/isdn/hardware/mISDN/mISDNinfineon.c outw(w, (u32)hw->cfg.start + SCT_PLX_RESET_ADDR); w 1187 drivers/isdn/mISDN/dsp_cmx.c int w, i, ii; w 1289 drivers/isdn/mISDN/dsp_cmx.c w = dsp->rx_W; w 1293 drivers/isdn/mISDN/dsp_cmx.c d[w++ & CMX_BUFF_MASK] = *p++; w 1862 drivers/isdn/mISDN/dsp_cmx.c u_int w, ww; w 1870 drivers/isdn/mISDN/dsp_cmx.c w = dsp->tx_W; w 1874 drivers/isdn/mISDN/dsp_cmx.c space = (ww - w - 1) & CMX_BUFF_MASK; w 1882 drivers/isdn/mISDN/dsp_cmx.c skb->len, w, ww); w 1885 drivers/isdn/mISDN/dsp_cmx.c ww = (w + skb->len) & CMX_BUFF_MASK; w 1891 drivers/isdn/mISDN/dsp_cmx.c (u_long)dsp, (ww - w) & CMX_BUFF_MASK, w, ww, dsp->name); w 1896 drivers/isdn/mISDN/dsp_cmx.c sprintf(debugbuf, "TX getting (%04x-%04x)%p: ", w, ww, p); w 1898 drivers/isdn/mISDN/dsp_cmx.c while (w != ww) { w 1903 drivers/isdn/mISDN/dsp_cmx.c p[w] = *d++; w 1904 drivers/isdn/mISDN/dsp_cmx.c w = (w + 1) & CMX_BUFF_MASK; w 395 drivers/md/bcache/alloc.c DEFINE_WAIT(w); w 415 drivers/md/bcache/alloc.c prepare_to_wait(&ca->set->bucket_wait, &w, w 424 drivers/md/bcache/alloc.c finish_wait(&ca->set->bucket_wait, &w); w 337 drivers/md/bcache/btree.c static void btree_complete_write(struct btree *b, struct btree_write *w) w 339 drivers/md/bcache/btree.c if (w->prio_blocked && w 340 drivers/md/bcache/btree.c !atomic_sub_return(w->prio_blocked, &b->c->prio_blocked)) w 343 drivers/md/bcache/btree.c if (w->journal) { w 344 drivers/md/bcache/btree.c atomic_dec_bug(w->journal); w 348 drivers/md/bcache/btree.c w->prio_blocked = 0; w 349 drivers/md/bcache/btree.c w->journal = NULL; w 362 drivers/md/bcache/btree.c struct btree_write *w = btree_prev_write(b); w 366 drivers/md/bcache/btree.c btree_complete_write(b, w); w 521 drivers/md/bcache/btree.c static void btree_node_write_work(struct work_struct *w) w 523 drivers/md/bcache/btree.c struct btree *b = container_of(to_delayed_work(w), struct btree, work); w 534 drivers/md/bcache/btree.c struct btree_write *w = btree_current_write(b); w 547 drivers/md/bcache/btree.c if (w->journal && w 548 drivers/md/bcache/btree.c journal_pin_cmp(b->c, w->journal, journal_ref)) { w 549 drivers/md/bcache/btree.c atomic_dec_bug(w->journal); w 550 drivers/md/bcache/btree.c w->journal = NULL; w 553 drivers/md/bcache/btree.c if (!w->journal) { w 554 drivers/md/bcache/btree.c w->journal = journal_ref; w 555 drivers/md/bcache/btree.c atomic_inc(w->journal); w 1782 drivers/md/bcache/btree.c struct keybuf_key *w, *n; w 1790 drivers/md/bcache/btree.c rbtree_postorder_for_each_entry_safe(w, n, w 1792 drivers/md/bcache/btree.c for (j = 0; j < KEY_PTRS(&w->key); j++) w 1793 drivers/md/bcache/btree.c SET_GC_MARK(PTR_BUCKET(c, &w->key, j), w 2495 drivers/md/bcache/btree.c struct keybuf_key *w; w 2499 drivers/md/bcache/btree.c w = array_alloc(&buf->freelist); w 2500 drivers/md/bcache/btree.c if (!w) { w 2505 drivers/md/bcache/btree.c w->private = NULL; w 2506 drivers/md/bcache/btree.c bkey_copy(&w->key, k); w 2508 drivers/md/bcache/btree.c if (RB_INSERT(&buf->keys, w, node, keybuf_cmp)) w 2509 drivers/md/bcache/btree.c array_free(&buf->freelist, w); w 2548 drivers/md/bcache/btree.c struct keybuf_key *w; w 2550 drivers/md/bcache/btree.c w = RB_FIRST(&buf->keys, struct keybuf_key, node); w 2551 drivers/md/bcache/btree.c buf->start = START_KEY(&w->key); w 2553 drivers/md/bcache/btree.c w = RB_LAST(&buf->keys, struct keybuf_key, node); w 2554 drivers/md/bcache/btree.c buf->end = w->key; w 2563 drivers/md/bcache/btree.c static void __bch_keybuf_del(struct keybuf *buf, struct keybuf_key *w) w 2565 drivers/md/bcache/btree.c rb_erase(&w->node, &buf->keys); w 2566 drivers/md/bcache/btree.c array_free(&buf->freelist, w); w 2569 drivers/md/bcache/btree.c void bch_keybuf_del(struct keybuf *buf, struct keybuf_key *w) w 2572 drivers/md/bcache/btree.c __bch_keybuf_del(buf, w); w 2580 drivers/md/bcache/btree.c struct keybuf_key *p, *w, s; w 2589 drivers/md/bcache/btree.c w = RB_GREATER(&buf->keys, s, node, keybuf_nonoverlapping_cmp); w 2591 drivers/md/bcache/btree.c while (w && bkey_cmp(&START_KEY(&w->key), end) < 0) { w 2592 drivers/md/bcache/btree.c p = w; w 2593 drivers/md/bcache/btree.c w = RB_NEXT(w, node); w 2607 drivers/md/bcache/btree.c struct keybuf_key *w; w 2611 drivers/md/bcache/btree.c w = RB_FIRST(&buf->keys, struct keybuf_key, node); w 2613 drivers/md/bcache/btree.c while (w && w->private) w 2614 drivers/md/bcache/btree.c w = RB_NEXT(w, node); w 2616 drivers/md/bcache/btree.c if (w) w 2617 drivers/md/bcache/btree.c w->private = ERR_PTR(-EINTR); w 2620 drivers/md/bcache/btree.c return w; w 228 drivers/md/bcache/btree.h static inline void rw_lock(bool w, struct btree *b, int level) w 230 drivers/md/bcache/btree.h w ? down_write_nested(&b->lock, level + 1) w 232 drivers/md/bcache/btree.h if (w) w 236 drivers/md/bcache/btree.h static inline void rw_unlock(bool w, struct btree *b) w 238 drivers/md/bcache/btree.h if (w) w 240 drivers/md/bcache/btree.h (w ? up_write : up_read)(&b->lock); w 327 drivers/md/bcache/btree.h void bch_keybuf_del(struct keybuf *buf, struct keybuf_key *w); w 179 drivers/md/bcache/debug.c struct keybuf_key *w; w 194 drivers/md/bcache/debug.c w = bch_keybuf_next_rescan(i->c, &i->keys, &MAX_KEY, dump_pred); w 195 drivers/md/bcache/debug.c if (!w) w 198 drivers/md/bcache/debug.c bch_extent_to_text(kbuf, sizeof(kbuf), &w->key); w 200 drivers/md/bcache/debug.c bch_keybuf_del(&i->keys, w); w 42 drivers/md/bcache/journal.c struct jset *j, *data = ca->set->journal.w[0].data; w 705 drivers/md/bcache/journal.c j->cur = (j->cur == j->w) w 706 drivers/md/bcache/journal.c ? &j->w[1] w 707 drivers/md/bcache/journal.c : &j->w[0]; w 727 drivers/md/bcache/journal.c struct journal_write *w = bio->bi_private; w 729 drivers/md/bcache/journal.c cache_set_err_on(bio->bi_status, w->c, "journal io error"); w 730 drivers/md/bcache/journal.c closure_put(&w->c->journal.io); w 738 drivers/md/bcache/journal.c struct journal_write *w = (j->cur == j->w) w 739 drivers/md/bcache/journal.c ? &j->w[1] w 740 drivers/md/bcache/journal.c : &j->w[0]; w 742 drivers/md/bcache/journal.c __closure_wake_up(&w->wait); w 760 drivers/md/bcache/journal.c struct journal_write *w = c->journal.cur; w 762 drivers/md/bcache/journal.c unsigned int i, sectors = set_blocks(w->data, block_bytes(c)) * w 770 drivers/md/bcache/journal.c if (!w->need_write) { w 782 drivers/md/bcache/journal.c c->journal.blocks_free -= set_blocks(w->data, block_bytes(c)); w 784 drivers/md/bcache/journal.c w->data->btree_level = c->root->level; w 786 drivers/md/bcache/journal.c bkey_copy(&w->data->btree_root, &c->root->key); w 787 drivers/md/bcache/journal.c bkey_copy(&w->data->uuid_bucket, &c->uuid_bucket); w 790 drivers/md/bcache/journal.c w->data->prio_bucket[ca->sb.nr_this_dev] = ca->prio_buckets[0]; w 792 drivers/md/bcache/journal.c w->data->magic = jset_magic(&c->sb); w 793 drivers/md/bcache/journal.c w->data->version = BCACHE_JSET_VERSION; w 794 drivers/md/bcache/journal.c w->data->last_seq = last_seq(&c->journal); w 795 drivers/md/bcache/journal.c w->data->csum = csum_set(w->data); w 809 drivers/md/bcache/journal.c bio->bi_private = w; w 812 drivers/md/bcache/journal.c bch_bio_map(bio, w->data); w 814 drivers/md/bcache/journal.c trace_bcache_journal_write(bio, w->data->keys); w 819 drivers/md/bcache/journal.c ca->journal.seq[ca->journal.cur_idx] = w->data->seq; w 849 drivers/md/bcache/journal.c struct journal_write *w = c->journal.cur; w 851 drivers/md/bcache/journal.c w->need_write = true; w 874 drivers/md/bcache/journal.c struct journal_write *w = c->journal.cur; w 876 drivers/md/bcache/journal.c sectors = __set_blocks(w->data, w->data->keys + nkeys, w 882 drivers/md/bcache/journal.c return w; w 897 drivers/md/bcache/journal.c BUG_ON(!w->data->keys); w 938 drivers/md/bcache/journal.c struct journal_write *w; w 948 drivers/md/bcache/journal.c w = journal_wait_for_write(c, bch_keylist_nkeys(keys)); w 950 drivers/md/bcache/journal.c memcpy(bset_bkey_last(w->data), keys->keys, bch_keylist_bytes(keys)); w 951 drivers/md/bcache/journal.c w->data->keys += bch_keylist_nkeys(keys); w 957 drivers/md/bcache/journal.c closure_wait(&w->wait, parent); w 959 drivers/md/bcache/journal.c } else if (!w->dirty) { w 960 drivers/md/bcache/journal.c w->dirty = true; w 986 drivers/md/bcache/journal.c free_pages((unsigned long) c->journal.w[1].data, JSET_BITS); w 987 drivers/md/bcache/journal.c free_pages((unsigned long) c->journal.w[0].data, JSET_BITS); w 1001 drivers/md/bcache/journal.c j->w[0].c = c; w 1002 drivers/md/bcache/journal.c j->w[1].c = c; w 1005 drivers/md/bcache/journal.c !(j->w[0].data = (void *) __get_free_pages(GFP_KERNEL, JSET_BITS)) || w 1006 drivers/md/bcache/journal.c !(j->w[1].data = (void *) __get_free_pages(GFP_KERNEL, JSET_BITS))) w 121 drivers/md/bcache/journal.h struct journal_write w[2], *cur; w 17 drivers/md/bcache/movinggc.c struct keybuf_key *w; w 53 drivers/md/bcache/movinggc.c trace_bcache_gc_copy_collision(&io->w->key); w 55 drivers/md/bcache/movinggc.c bch_keybuf_del(&io->op.c->moving_gc_keys, io->w); w 83 drivers/md/bcache/movinggc.c DIV_ROUND_UP(KEY_SIZE(&io->w->key), PAGE_SECTORS)); w 87 drivers/md/bcache/movinggc.c bio->bi_iter.bi_size = KEY_SIZE(&io->w->key) << 9; w 100 drivers/md/bcache/movinggc.c io->bio.bio.bi_iter.bi_sector = KEY_START(&io->w->key); w 104 drivers/md/bcache/movinggc.c op->writeback = KEY_DIRTY(&io->w->key); w 105 drivers/md/bcache/movinggc.c op->csum = KEY_CSUM(&io->w->key); w 107 drivers/md/bcache/movinggc.c bkey_copy(&op->replace_key, &io->w->key); w 121 drivers/md/bcache/movinggc.c bch_submit_bbio(bio, io->op.c, &io->w->key, 0); w 128 drivers/md/bcache/movinggc.c struct keybuf_key *w; w 138 drivers/md/bcache/movinggc.c w = bch_keybuf_next_rescan(c, &c->moving_gc_keys, w 140 drivers/md/bcache/movinggc.c if (!w) w 143 drivers/md/bcache/movinggc.c if (ptr_stale(c, &w->key, 0)) { w 144 drivers/md/bcache/movinggc.c bch_keybuf_del(&c->moving_gc_keys, w); w 149 drivers/md/bcache/movinggc.c * DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS), w 154 drivers/md/bcache/movinggc.c w->private = io; w 155 drivers/md/bcache/movinggc.c io->w = w; w 156 drivers/md/bcache/movinggc.c io->op.inode = KEY_INODE(&w->key); w 169 drivers/md/bcache/movinggc.c trace_bcache_gc_copy(&w->key); w 176 drivers/md/bcache/movinggc.c err: if (!IS_ERR_OR_NULL(w->private)) w 177 drivers/md/bcache/movinggc.c kfree(w->private); w 179 drivers/md/bcache/movinggc.c bch_keybuf_del(&c->moving_gc_keys, w); w 1037 drivers/md/bcache/super.c static void cached_dev_detach_finish(struct work_struct *w) w 1039 drivers/md/bcache/super.c struct cached_dev *dc = container_of(w, struct cached_dev, detach); w 248 drivers/md/bcache/writeback.c static void dirty_init(struct keybuf_key *w) w 250 drivers/md/bcache/writeback.c struct dirty_io *io = w->private; w 254 drivers/md/bcache/writeback.c DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)); w 258 drivers/md/bcache/writeback.c bio->bi_iter.bi_size = KEY_SIZE(&w->key) << 9; w 259 drivers/md/bcache/writeback.c bio->bi_private = w; w 273 drivers/md/bcache/writeback.c struct keybuf_key *w = io->bio.bi_private; w 279 drivers/md/bcache/writeback.c if (KEY_DIRTY(&w->key)) { w 286 drivers/md/bcache/writeback.c bkey_copy(keys.top, &w->key); w 290 drivers/md/bcache/writeback.c for (i = 0; i < KEY_PTRS(&w->key); i++) w 291 drivers/md/bcache/writeback.c atomic_inc(&PTR_BUCKET(dc->disk.c, &w->key, i)->pin); w 293 drivers/md/bcache/writeback.c ret = bch_btree_insert(dc->disk.c, &keys, NULL, &w->key); w 296 drivers/md/bcache/writeback.c trace_bcache_writeback_collision(&w->key); w 303 drivers/md/bcache/writeback.c bch_keybuf_del(&dc->writeback_keys, w); w 311 drivers/md/bcache/writeback.c struct keybuf_key *w = bio->bi_private; w 312 drivers/md/bcache/writeback.c struct dirty_io *io = w->private; w 315 drivers/md/bcache/writeback.c SET_KEY_DIRTY(&w->key, false); w 325 drivers/md/bcache/writeback.c struct keybuf_key *w = io->bio.bi_private; w 354 drivers/md/bcache/writeback.c if (KEY_DIRTY(&w->key)) { w 355 drivers/md/bcache/writeback.c dirty_init(w); w 357 drivers/md/bcache/writeback.c io->bio.bi_iter.bi_sector = KEY_START(&w->key); w 373 drivers/md/bcache/writeback.c struct keybuf_key *w = bio->bi_private; w 374 drivers/md/bcache/writeback.c struct dirty_io *io = w->private; w 377 drivers/md/bcache/writeback.c bch_count_io_errors(PTR_CACHE(io->dc->disk.c, &w->key, 0), w 396 drivers/md/bcache/writeback.c struct keybuf_key *next, *keys[MAX_WRITEBACKS_IN_PASS], *w; w 456 drivers/md/bcache/writeback.c w = keys[i]; w 460 drivers/md/bcache/writeback.c DIV_ROUND_UP(KEY_SIZE(&w->key), w 466 drivers/md/bcache/writeback.c w->private = io; w 470 drivers/md/bcache/writeback.c dirty_init(w); w 472 drivers/md/bcache/writeback.c io->bio.bi_iter.bi_sector = PTR_OFFSET(&w->key, 0); w 474 drivers/md/bcache/writeback.c PTR_CACHE(dc->disk.c, &w->key, 0)->bdev); w 480 drivers/md/bcache/writeback.c trace_bcache_writeback(&w->key); w 504 drivers/md/bcache/writeback.c kfree(w->private); w 506 drivers/md/bcache/writeback.c bch_keybuf_del(&dc->writeback_keys, w); w 1823 drivers/md/dm-bufio.c static void do_global_cleanup(struct work_struct *w) w 1906 drivers/md/dm-bufio.c static void work_fn(struct work_struct *w) w 83 drivers/md/dm-cache-background-tracker.c struct bt_work *w; w 87 drivers/md/dm-cache-background-tracker.c w = container_of(*new, struct bt_work, node); w 90 drivers/md/dm-cache-background-tracker.c cmp = cmp_oblock(w->work.oblock, nw->work.oblock); w 112 drivers/md/dm-cache-background-tracker.c struct bt_work *w; w 116 drivers/md/dm-cache-background-tracker.c w = container_of(*new, struct bt_work, node); w 118 drivers/md/dm-cache-background-tracker.c cmp = cmp_oblock(w->work.oblock, oblock); w 129 drivers/md/dm-cache-background-tracker.c return *new ? w : NULL; w 133 drivers/md/dm-cache-background-tracker.c static void update_stats(struct background_tracker *b, struct policy_work *w, int delta) w 135 drivers/md/dm-cache-background-tracker.c switch (w->op) { w 181 drivers/md/dm-cache-background-tracker.c struct bt_work *w; w 186 drivers/md/dm-cache-background-tracker.c w = alloc_work(b); w 187 drivers/md/dm-cache-background-tracker.c if (!w) w 190 drivers/md/dm-cache-background-tracker.c memcpy(&w->work, work, sizeof(*work)); w 192 drivers/md/dm-cache-background-tracker.c if (!__insert_pending(b, w)) { w 197 drivers/md/dm-cache-background-tracker.c kmem_cache_free(b->work_cache, w); w 202 drivers/md/dm-cache-background-tracker.c *pwork = &w->work; w 203 drivers/md/dm-cache-background-tracker.c list_add(&w->list, &b->issued); w 205 drivers/md/dm-cache-background-tracker.c list_add(&w->list, &b->queued); w 206 drivers/md/dm-cache-background-tracker.c update_stats(b, &w->work, 1); w 217 drivers/md/dm-cache-background-tracker.c struct bt_work *w; w 222 drivers/md/dm-cache-background-tracker.c w = list_first_entry(&b->queued, struct bt_work, list); w 223 drivers/md/dm-cache-background-tracker.c list_move(&w->list, &b->issued); w 224 drivers/md/dm-cache-background-tracker.c *work = &w->work; w 233 drivers/md/dm-cache-background-tracker.c struct bt_work *w = container_of(op, struct bt_work, work); w 235 drivers/md/dm-cache-background-tracker.c update_stats(b, &w->work, -1); w 236 drivers/md/dm-cache-background-tracker.c rb_erase(&w->node, &b->pending); w 237 drivers/md/dm-cache-background-tracker.c list_del(&w->list); w 238 drivers/md/dm-cache-background-tracker.c kmem_cache_free(b->work_cache, w); w 368 drivers/md/dm-integrity.c static void integrity_bio_wait(struct work_struct *w); w 1503 drivers/md/dm-integrity.c static void integrity_metadata(struct work_struct *w) w 1505 drivers/md/dm-integrity.c struct dm_integrity_io *dio = container_of(w, struct dm_integrity_io, work); w 2039 drivers/md/dm-integrity.c static void integrity_bio_wait(struct work_struct *w) w 2041 drivers/md/dm-integrity.c struct dm_integrity_io *dio = container_of(w, struct dm_integrity_io, work); w 2067 drivers/md/dm-integrity.c static void integrity_commit(struct work_struct *w) w 2069 drivers/md/dm-integrity.c struct dm_integrity_c *ic = container_of(w, struct dm_integrity_c, commit_work); w 2293 drivers/md/dm-integrity.c static void integrity_writer(struct work_struct *w) w 2295 drivers/md/dm-integrity.c struct dm_integrity_c *ic = container_of(w, struct dm_integrity_c, writer_work); w 2341 drivers/md/dm-integrity.c static void integrity_recalc(struct work_struct *w) w 2343 drivers/md/dm-integrity.c struct dm_integrity_c *ic = container_of(w, struct dm_integrity_c, recalc_work); w 2463 drivers/md/dm-integrity.c static void bitmap_block_work(struct work_struct *w) w 2465 drivers/md/dm-integrity.c struct bitmap_block_status *bbs = container_of(w, struct bitmap_block_status, work); w 2494 drivers/md/dm-thin.c struct noflush_work *w = to_noflush(ws); w 2495 drivers/md/dm-thin.c w->tc->requeue_mode = true; w 2496 drivers/md/dm-thin.c requeue_io(w->tc); w 2497 drivers/md/dm-thin.c pool_work_complete(&w->pw); w 2502 drivers/md/dm-thin.c struct noflush_work *w = to_noflush(ws); w 2503 drivers/md/dm-thin.c w->tc->requeue_mode = false; w 2504 drivers/md/dm-thin.c pool_work_complete(&w->pw); w 2509 drivers/md/dm-thin.c struct noflush_work w; w 2511 drivers/md/dm-thin.c w.tc = tc; w 2512 drivers/md/dm-thin.c pool_work_wait(&w.pw, tc->pool, fn); w 552 drivers/md/dm-verity-target.c static void verity_work(struct work_struct *w) w 554 drivers/md/dm-verity-target.c struct dm_verity_io *io = container_of(w, struct dm_verity_io, work); w 47 drivers/md/dm.c static void do_deferred_remove(struct work_struct *w); w 416 drivers/md/dm.c static void do_deferred_remove(struct work_struct *w) w 120 drivers/md/persistent-data/dm-block-manager.c static void __wait(struct waiter *w) w 125 drivers/md/persistent-data/dm-block-manager.c if (!w->task) w 134 drivers/md/persistent-data/dm-block-manager.c static void __wake_waiter(struct waiter *w) w 138 drivers/md/persistent-data/dm-block-manager.c list_del(&w->list); w 139 drivers/md/persistent-data/dm-block-manager.c task = w->task; w 141 drivers/md/persistent-data/dm-block-manager.c w->task = NULL; w 150 drivers/md/persistent-data/dm-block-manager.c struct waiter *w, *tmp; w 153 drivers/md/persistent-data/dm-block-manager.c list_for_each_entry_safe(w, tmp, &lock->waiters, list) { w 157 drivers/md/persistent-data/dm-block-manager.c if (w->wants_write) { w 162 drivers/md/persistent-data/dm-block-manager.c __add_holder(lock, w->task); w 163 drivers/md/persistent-data/dm-block-manager.c __wake_waiter(w); w 168 drivers/md/persistent-data/dm-block-manager.c __add_holder(lock, w->task); w 169 drivers/md/persistent-data/dm-block-manager.c __wake_waiter(w); w 194 drivers/md/persistent-data/dm-block-manager.c struct waiter w; w 212 drivers/md/persistent-data/dm-block-manager.c w.task = current; w 213 drivers/md/persistent-data/dm-block-manager.c w.wants_write = 0; w 214 drivers/md/persistent-data/dm-block-manager.c list_add_tail(&w.list, &lock->waiters); w 217 drivers/md/persistent-data/dm-block-manager.c __wait(&w); w 257 drivers/md/persistent-data/dm-block-manager.c struct waiter w; w 274 drivers/md/persistent-data/dm-block-manager.c w.task = current; w 275 drivers/md/persistent-data/dm-block-manager.c w.wants_write = 1; w 281 drivers/md/persistent-data/dm-block-manager.c list_add(&w.list, &lock->waiters); w 284 drivers/md/persistent-data/dm-block-manager.c __wait(&w); w 1344 drivers/md/raid1.c DEFINE_WAIT(w); w 1347 drivers/md/raid1.c &w, TASK_IDLE); w 1354 drivers/md/raid1.c finish_wait(&conf->wait_barrier, &w); w 1309 drivers/md/raid10.c DEFINE_WAIT(w); w 1312 drivers/md/raid10.c &w, TASK_IDLE); w 1318 drivers/md/raid10.c finish_wait(&conf->wait_barrier, &w); w 5517 drivers/md/raid5.c DEFINE_WAIT(w); w 5521 drivers/md/raid5.c prepare_to_wait(&conf->wait_for_overlap, &w, w 5543 drivers/md/raid5.c finish_wait(&conf->wait_for_overlap, &w); w 5585 drivers/md/raid5.c DEFINE_WAIT(w); w 5630 drivers/md/raid5.c prepare_to_wait(&conf->wait_for_overlap, &w, TASK_UNINTERRUPTIBLE); w 5640 drivers/md/raid5.c prepare_to_wait(&conf->wait_for_overlap, &w, w 5743 drivers/md/raid5.c finish_wait(&conf->wait_for_overlap, &w); w 1052 drivers/media/common/cx2341x.c u16 w = new->width; w 1056 drivers/media/common/cx2341x.c w /= 2; w 1060 drivers/media/common/cx2341x.c h, w); w 1745 drivers/media/common/cx2341x.c int w = cxhdl->width; w 1756 drivers/media/common/cx2341x.c w /= 2; w 1759 drivers/media/common/cx2341x.c err = cx2341x_hdl_api(cxhdl, CX2341X_ENC_SET_FRAME_SIZE, 2, h, w); w 344 drivers/media/common/saa7146/saa7146_hlp.c int width = vv->ov.win.w.width; w 345 drivers/media/common/saa7146/saa7146_hlp.c int height = vv->ov.win.w.height; w 355 drivers/media/common/saa7146/saa7146_hlp.c int x[32], y[32], w[32], h[32]; w 368 drivers/media/common/saa7146/saa7146_hlp.c w[i] = vv->ov.clips[i].c.width; w 371 drivers/media/common/saa7146/saa7146_hlp.c if( w[i] < 0) { w 372 drivers/media/common/saa7146/saa7146_hlp.c x[i] += w[i]; w[i] = -w[i]; w 378 drivers/media/common/saa7146/saa7146_hlp.c w[i] += x[i]; x[i] = 0; w 388 drivers/media/common/saa7146/saa7146_hlp.c r = x[i]+w[i]; w 426 drivers/media/common/saa7146/saa7146_hlp.c if( pixel_list[i] < (x[j] + w[j])) { w 653 drivers/media/common/saa7146/saa7146_hlp.c saa7146_set_window(dev, vv->ov.win.w.width, vv->ov.win.w.height, vv->ov.win.field); w 654 drivers/media/common/saa7146/saa7146_hlp.c saa7146_set_position(dev, vv->ov.win.w.left, vv->ov.win.w.top, vv->ov.win.w.height, vv->ov.win.field, vv->ov_fmt->pixelformat); w 141 drivers/media/common/saa7146/saa7146_video.c vv->ov.win.w.width, vv->ov.win.w.height, w 142 drivers/media/common/saa7146/saa7146_video.c vv->ov.win.w.left, vv->ov.win.w.top, w 695 drivers/media/common/saa7146/saa7146_video.c if (win->w.width < 48 || win->w.height < 32) { w 697 drivers/media/common/saa7146/saa7146_video.c win->w.width, win->w.height); w 710 drivers/media/common/saa7146/saa7146_video.c field = (win->w.height > maxh / 2) w 728 drivers/media/common/saa7146/saa7146_video.c if (win->w.width > maxw) w 729 drivers/media/common/saa7146/saa7146_video.c win->w.width = maxw; w 730 drivers/media/common/saa7146/saa7146_video.c if (win->w.height > maxh) w 731 drivers/media/common/saa7146/saa7146_video.c win->w.height = maxh; w 89 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h) w 92 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->scaled_width = tpg->src_width = w; w 94 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.width = tpg->compose.width = w; w 1674 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned w = tpg->src_width; w 1678 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c sq_w = (w * 2 / 5) & ~1; w 1679 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (((w - sq_w) / 2) & 1) w 1686 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (((w - ana_sq_w) / 2) & 1) w 1690 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->square.left = (w - tpg->square.width) / 2; w 1698 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.width = w; w 1705 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (3 * w >= 4 * h) { w 1707 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (((w - tpg->border.width) / 2) & ~1) w 1709 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.left = (w - tpg->border.width) / 2; w 1712 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.height = ((3 * w) / 4) & ~1; w 1721 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (9 * w >= 14 * h) { w 1723 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (((w - tpg->border.width) / 2) & ~1) w 1725 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.left = (w - tpg->border.width) / 2; w 1728 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.height = ((9 * w) / 14) & ~1; w 1737 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (9 * w >= 16 * h) { w 1739 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (((w - tpg->border.width) / 2) & ~1) w 1741 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.left = (w - tpg->border.width) / 2; w 1744 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.height = ((9 * w) / 16) & ~1; w 1823 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned w = tpg_hdiv(tpg, p, tpg->scaled_width * 2); w 1828 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c for (x = 0; x < w; x++, pos1++, pos2++, dest++) w 633 drivers/media/dvb-frontends/dib0070.c #define pgm_read_word(w) (*w) w 93 drivers/media/dvb-frontends/dib0090.c #define pgm_read_word(w) (*w) w 1566 drivers/media/i2c/adv7604.c u32 w, h; w 1568 drivers/media/i2c/adv7604.c w = hdmi_read16(sd, 0x07, info->linewidth_mask); w 1575 drivers/media/i2c/adv7604.c bt->width == w && bt->height == h) w 1580 drivers/media/i2c/adv7604.c bt->width = w; w 656 drivers/media/i2c/cx25840/cx25840-ir.c unsigned u, v, w; w 682 drivers/media/i2c/cx25840/cx25840-ir.c w = 1; w 687 drivers/media/i2c/cx25840/cx25840-ir.c w = 0; w 696 drivers/media/i2c/cx25840/cx25840-ir.c { .pulse = u, .duration = v, .timeout = w }; w 699 drivers/media/i2c/cx25840/cx25840-ir.c v, u ? "mark" : "space", w ? "(timed out)" : ""); w 700 drivers/media/i2c/cx25840/cx25840-ir.c if (w) w 818 drivers/media/i2c/imx274.c int w, int ask_w, w 826 drivers/media/i2c/imx274.c if (w < ask_w) w 833 drivers/media/i2c/imx274.c if (w > ask_w) w 839 drivers/media/i2c/imx274.c val -= abs(w - ask_w); w 843 drivers/media/i2c/imx274.c __func__, ask_w, ask_h, w, h, val); w 576 drivers/media/i2c/ov2640.c #define OV2640_SIZE(n, w, h, r) \ w 577 drivers/media/i2c/ov2640.c {.name = n, .width = w , .height = h, .regs = r } w 1257 drivers/media/i2c/s5c73m3/s5c73m3-core.c unsigned w, h; w 1265 drivers/media/i2c/s5c73m3/s5c73m3-core.c w = mf->width; w 1271 drivers/media/i2c/s5c73m3/s5c73m3-core.c w = fs->width; w 1274 drivers/media/i2c/s5c73m3/s5c73m3-core.c fse->max_width = fse->min_width = w; w 422 drivers/media/i2c/s5k5baf.c __be16 w, r; w 426 drivers/media/i2c/s5k5baf.c .len = 2, .buf = (u8 *)&w }, w 435 drivers/media/i2c/s5k5baf.c w = cpu_to_be16(addr); w 1852 drivers/media/i2c/smiapp/smiapp-core.c static int scaling_goodness(struct v4l2_subdev *subdev, int w, int ask_w, w 1859 drivers/media/i2c/smiapp/smiapp-core.c w &= ~1; w 1865 drivers/media/i2c/smiapp/smiapp-core.c if (w < ask_w) w 1872 drivers/media/i2c/smiapp/smiapp-core.c if (w > ask_w) w 1878 drivers/media/i2c/smiapp/smiapp-core.c val -= abs(w - ask_w); w 1881 drivers/media/i2c/smiapp/smiapp-core.c if (w < sensor->limits[SMIAPP_LIMIT_MIN_X_OUTPUT_SIZE]) w 1885 drivers/media/i2c/smiapp/smiapp-core.c w, ask_w, h, ask_h, val); w 2063 drivers/media/pci/bt8xx/bttv-driver.c if (win->w.width < 48) w 2064 drivers/media/pci/bt8xx/bttv-driver.c win->w.width = 48; w 2065 drivers/media/pci/bt8xx/bttv-driver.c if (win->w.height < 32) w 2066 drivers/media/pci/bt8xx/bttv-driver.c win->w.height = 32; w 2087 drivers/media/pci/bt8xx/bttv-driver.c field = (win->w.height > height2) w 2111 drivers/media/pci/bt8xx/bttv-driver.c win->w.width -= win->w.left & ~width_mask; w 2112 drivers/media/pci/bt8xx/bttv-driver.c win->w.left = (win->w.left - width_mask - 1) & width_mask; w 2114 drivers/media/pci/bt8xx/bttv-driver.c rc = limit_scaled_size_lock(fh, &win->w.width, &win->w.height, w 2156 drivers/media/pci/bt8xx/bttv-driver.c &win->w, clips, n); w 2163 drivers/media/pci/bt8xx/bttv-driver.c btcx_align(&win->w, clips, n, 3); w 2166 drivers/media/pci/bt8xx/bttv-driver.c btcx_align(&win->w, clips, n, 1); w 2179 drivers/media/pci/bt8xx/bttv-driver.c fh->ov.w = win->w; w 2183 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.w.width = win->w.width; w 2184 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.w.height = win->w.height; w 2286 drivers/media/pci/bt8xx/bttv-driver.c f->fmt.win.w = fh->ov.w; w 2619 drivers/media/pci/bt8xx/bttv-driver.c fh->ov.w.left = 0; w 2620 drivers/media/pci/bt8xx/bttv-driver.c fh->ov.w.top = 0; w 2621 drivers/media/pci/bt8xx/bttv-driver.c fh->ov.w.width = fb->fmt.width; w 2622 drivers/media/pci/bt8xx/bttv-driver.c fh->ov.w.height = fb->fmt.height; w 2623 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.w.width = fb->fmt.width; w 2624 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.w.height = fb->fmt.height; w 4094 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.w.width = 320; w 4095 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.w.height = 240; w 4099 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.w.width = 320; w 4100 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.w.height = 240; w 254 drivers/media/pci/bt8xx/bttv-risc.c ((skip_even || skip_odd) ? (ov->w.height+1)>>1 : ov->w.height); w 267 drivers/media/pci/bt8xx/bttv-risc.c addr += btv->fbuf.fmt.bytesperline * ov->w.top; w 268 drivers/media/pci/bt8xx/bttv-risc.c addr += (fmt->depth >> 3) * ov->w.left; w 271 drivers/media/pci/bt8xx/bttv-risc.c for (maxy = -1, line = 0; line < ov->w.height; w 274 drivers/media/pci/bt8xx/bttv-risc.c (line >= (ov->w.height - VCR_HACK_LINES))) w 283 drivers/media/pci/bt8xx/bttv-risc.c btcx_calc_skips(line, ov->w.width, &maxy, w 287 drivers/media/pci/bt8xx/bttv-risc.c for (start = 0, skip = 0; start < ov->w.width; start = end) { w 290 drivers/media/pci/bt8xx/bttv-risc.c end = ov->w.width; w 306 drivers/media/pci/bt8xx/bttv-risc.c if (ov->w.width == end) w 865 drivers/media/pci/bt8xx/bttv-risc.c fmt->fourcc, ov->w.width, ov->w.height); w 868 drivers/media/pci/bt8xx/bttv-risc.c bttv_calc_geo(btv,&buf->geo,ov->w.width,ov->w.height, w 170 drivers/media/pci/bt8xx/bttvp.h struct v4l2_rect w; w 207 drivers/media/pci/cx18/cx18-ioctl.c int w = fmt->fmt.pix.width; w 211 drivers/media/pci/cx18/cx18-ioctl.c w = min(w, 720); w 212 drivers/media/pci/cx18/cx18-ioctl.c w = max(w, 2); w 221 drivers/media/pci/cx18/cx18-ioctl.c fmt->fmt.pix.width = w; w 261 drivers/media/pci/cx18/cx18-ioctl.c int w, h; w 266 drivers/media/pci/cx18/cx18-ioctl.c w = fmt->fmt.pix.width; w 269 drivers/media/pci/cx18/cx18-ioctl.c if (cx->cxhdl.width == w && cx->cxhdl.height == h && w 287 drivers/media/pci/cx18/cx18-ioctl.c format.format.width = cx->cxhdl.width = w; w 590 drivers/media/pci/cx18/cx18-mailbox.c DEFINE_WAIT(w); w 671 drivers/media/pci/cx18/cx18-mailbox.c prepare_to_wait(waitq, &w, TASK_UNINTERRUPTIBLE); w 684 drivers/media/pci/cx18/cx18-mailbox.c finish_wait(waitq, &w); w 658 drivers/media/pci/cx23885/cx23888-ir.c unsigned u, v, w; w 677 drivers/media/pci/cx23885/cx23888-ir.c w = 1; w 682 drivers/media/pci/cx23885/cx23888-ir.c w = 0; w 691 drivers/media/pci/cx23885/cx23888-ir.c { .pulse = u, .duration = v, .timeout = w }; w 694 drivers/media/pci/cx23885/cx23888-ir.c v, u ? "mark" : "space", w ? "(timed out)" : ""); w 695 drivers/media/pci/cx23885/cx23888-ir.c if (w) w 341 drivers/media/pci/cx25821/cx25821-video.c unsigned w; w 348 drivers/media/pci/cx25821/cx25821-video.c w = f->fmt.pix.width; w 351 drivers/media/pci/cx25821/cx25821-video.c if (w < 352) { w 352 drivers/media/pci/cx25821/cx25821-video.c w = 176; w 354 drivers/media/pci/cx25821/cx25821-video.c } else if (w < 720) { w 355 drivers/media/pci/cx25821/cx25821-video.c w = 352; w 358 drivers/media/pci/cx25821/cx25821-video.c w = 720; w 363 drivers/media/pci/cx25821/cx25821-video.c f->fmt.pix.width = w; w 456 drivers/media/pci/ivtv/ivtv-ioctl.c winfmt->w.top = winfmt->w.left = 0; w 457 drivers/media/pci/ivtv/ivtv-ioctl.c winfmt->w.width = itv->osd_rect.width; w 458 drivers/media/pci/ivtv/ivtv-ioctl.c winfmt->w.height = itv->osd_rect.height; w 471 drivers/media/pci/ivtv/ivtv-ioctl.c int w = fmt->fmt.pix.width; w 475 drivers/media/pci/ivtv/ivtv-ioctl.c w = min(w, 720); w 476 drivers/media/pci/ivtv/ivtv-ioctl.c w = max(w, 2); w 485 drivers/media/pci/ivtv/ivtv-ioctl.c fmt->fmt.pix.width = w; w 519 drivers/media/pci/ivtv/ivtv-ioctl.c s32 w = fmt->fmt.pix.width; w 524 drivers/media/pci/ivtv/ivtv-ioctl.c w = min(w, 720); w 525 drivers/media/pci/ivtv/ivtv-ioctl.c w = max(w, 2); w 545 drivers/media/pci/ivtv/ivtv-ioctl.c fmt->fmt.pix.width = w; w 580 drivers/media/pci/ivtv/ivtv-ioctl.c int w = fmt->fmt.pix.width; w 586 drivers/media/pci/ivtv/ivtv-ioctl.c if (itv->cxhdl.width == w && itv->cxhdl.height == h) w 592 drivers/media/pci/ivtv/ivtv-ioctl.c itv->cxhdl.width = w; w 600 drivers/media/pci/ngene/ngene.h struct v4l2_rect w; w 663 drivers/media/pci/saa7134/saa7134-video.c if (win->w.width < 48) w 664 drivers/media/pci/saa7134/saa7134-video.c win->w.width = 48; w 665 drivers/media/pci/saa7134/saa7134-video.c if (win->w.height < 32) w 666 drivers/media/pci/saa7134/saa7134-video.c win->w.height = 32; w 677 drivers/media/pci/saa7134/saa7134-video.c field = (win->w.height > maxh/2) w 692 drivers/media/pci/saa7134/saa7134-video.c if (win->w.width > maxw) w 693 drivers/media/pci/saa7134/saa7134-video.c win->w.width = maxw; w 694 drivers/media/pci/saa7134/saa7134-video.c if (win->w.height > maxh) w 695 drivers/media/pci/saa7134/saa7134-video.c win->w.height = maxh; w 710 drivers/media/pci/saa7134/saa7134-video.c dev->win.w.width, dev->win.w.height, w 711 drivers/media/pci/saa7134/saa7134-video.c dev->win.w.left, dev->win.w.top, w 715 drivers/media/pci/saa7134/saa7134-video.c set_size(dev, TASK_B, dev->win.w.width, dev->win.w.height, w 727 drivers/media/pci/saa7134/saa7134-video.c base += dev->ovbuf.fmt.bytesperline * dev->win.w.top; w 728 drivers/media/pci/saa7134/saa7134-video.c base += dev->ovfmt->depth/8 * dev->win.w.left; w 2097 drivers/media/pci/saa7134/saa7134-video.c dev->win.w.width = dev->width; w 2098 drivers/media/pci/saa7134/saa7134-video.c dev->win.w.height = dev->height; w 351 drivers/media/pci/saa7164/saa7164-core.c static void saa7164_work_enchandler(struct work_struct *w) w 354 drivers/media/pci/saa7164/saa7164-core.c container_of(w, struct saa7164_port, workenc); w 428 drivers/media/pci/saa7164/saa7164-core.c static void saa7164_work_vbihandler(struct work_struct *w) w 431 drivers/media/pci/saa7164/saa7164-core.c container_of(w, struct saa7164_port, workenc); w 504 drivers/media/pci/saa7164/saa7164-core.c static void saa7164_work_cmdhandler(struct work_struct *w) w 506 drivers/media/pci/saa7164/saa7164-core.c struct saa7164_dev *dev = container_of(w, struct saa7164_dev, workcmd); w 501 drivers/media/pci/ttpci/av7110.c av7110->video_size.w = irdebi(av7110, DEBINOSWAP, STATUS_MPEG_WIDTH, 0, 2); w 510 drivers/media/pci/ttpci/av7110.c event.u.size.w = av7110->video_size.w; w 531 drivers/media/pci/ttpci/av7110.c av7110->video_size.w, av7110->video_size.h, w 991 drivers/media/pci/ttpci/av7110_hw.c uint w, h, bpp, bpl, size, lpb, bnum, brest; w 995 drivers/media/pci/ttpci/av7110_hw.c w = x1 - x0 + 1; w 998 drivers/media/pci/ttpci/av7110_hw.c inc = w; w 999 drivers/media/pci/ttpci/av7110_hw.c if (w <= 0 || w > 720 || h <= 0 || h > 576) w 1002 drivers/media/pci/ttpci/av7110_hw.c bpl = ((w * bpp + 7) & ~7) / 8; w 1021 drivers/media/pci/ttpci/av7110_hw.c rc = LoadBitmap(av7110, w, lpb, inc, data); w 1030 drivers/media/pci/ttpci/av7110_hw.c rc = LoadBitmap(av7110, w, brest / bpl, inc, data); w 574 drivers/media/platform/atmel/atmel-isc-base.c u32 h, w; w 577 drivers/media/platform/atmel/atmel-isc-base.c w = isc->fmt.fmt.pix.width; w 587 drivers/media/platform/atmel/atmel-isc-base.c w <<= 1; w 599 drivers/media/platform/atmel/atmel-isc-base.c (ISC_PFE_CFG1_COLMAX(w - 1) & ISC_PFE_CFG1_COLMAX_MASK)); w 1729 drivers/media/platform/atmel/atmel-isc-base.c static void isc_awb_work(struct work_struct *w) w 1732 drivers/media/platform/atmel/atmel-isc-base.c container_of(w, struct isc_device, awb_work); w 307 drivers/media/platform/coda/coda-common.c unsigned int w, h; w 311 drivers/media/platform/coda/coda-common.c w = codec->max_w; w 314 drivers/media/platform/coda/coda-common.c for (k = 0, w = 0, h = 0; k < num_codecs; k++) { w 315 drivers/media/platform/coda/coda-common.c w = max(w, codecs[k].max_w); w 321 drivers/media/platform/coda/coda-common.c *max_w = w; w 508 drivers/media/platform/exynos-gsc/gsc-core.c void gsc_check_crop_change(u32 tmp_w, u32 tmp_h, u32 *w, u32 *h) w 510 drivers/media/platform/exynos-gsc/gsc-core.c if (tmp_w != *w || tmp_h != *h) { w 512 drivers/media/platform/exynos-gsc/gsc-core.c *w, *h, tmp_w, tmp_h); w 513 drivers/media/platform/exynos-gsc/gsc-core.c *w = tmp_w; w 390 drivers/media/platform/exynos-gsc/gsc-core.h void gsc_check_crop_change(u32 tmp_w, u32 tmp_h, u32 *w, u32 *h); w 668 drivers/media/platform/fsl-viu.c if (win->w.width < 48 || win->w.height < 32) w 676 drivers/media/platform/fsl-viu.c field = (win->w.height > maxh/2) w 692 drivers/media/platform/fsl-viu.c if (win->w.width > maxw) w 693 drivers/media/platform/fsl-viu.c win->w.width = maxw; w 694 drivers/media/platform/fsl-viu.c if (win->w.height > maxh) w 695 drivers/media/platform/fsl-viu.c win->w.height = maxh; w 711 drivers/media/platform/fsl-viu.c fh->win.w.width, fh->win.w.height); w 716 drivers/media/platform/fsl-viu.c reg_val.picture_count = (fh->win.w.height / 2) << 16 | w 717 drivers/media/platform/fsl-viu.c fh->win.w.width; w 724 drivers/media/platform/fsl-viu.c reg_val.dma_inc = fh->win.w.width * 2; w 728 drivers/media/platform/fsl-viu.c reg_val.dma_inc = fh->win.w.width * 4; w 160 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static void mtk_jpeg_bound_align_image(u32 *w, unsigned int wmin, w 167 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c width = *w; w 172 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); w 173 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c if (*w < width && (*w + w_step) <= wmax) w 174 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c *w += w_step; w 188 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c pix_mp->width = q_data->w; w 280 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c pix_mp->width = q_data->w; w 381 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q_data->w = pix_mp->width; w 394 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q_data->w, q_data->h); w 465 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c s->r.width = ctx->out_q.w; w 472 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c s->r.width = ctx->cap_q.w; w 495 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c s->r.width = ctx->out_q.w; w 607 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c if (q_data->w != param->pic_w || q_data->h != param->pic_h) { w 629 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q_data->w = param->pic_w; w 633 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q_data->w = param->dec_w; w 968 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q->w = MTK_JPEG_MIN_WIDTH; w 976 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q->w = MTK_JPEG_MIN_WIDTH; w 980 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c u32 stride = q->w * q->fmt->h_sample[i] / 4; w 98 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.h u32 w; w 84 drivers/media/platform/mtk-mdp/mtk_mdp_ipi.h int32_t w; w 151 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static void mtk_mdp_bound_align_image(u32 *w, unsigned int wmin, w 159 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c org_w = *w; w 163 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); w 167 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c if (*w < org_w && (*w + step_w) <= wmax) w 168 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c *w += step_w; w 267 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static void mtk_mdp_check_crop_change(u32 new_w, u32 new_h, u32 *w, u32 *h) w 269 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c if (new_w != *w || new_h != *h) { w 271 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c *w, *h, new_w, new_h); w 273 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c *w = new_w; w 84 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->w = frame->width; w 115 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->w = frame->width; w 376 drivers/media/platform/omap/omap_vout.c outw = win->w.width; w 377 drivers/media/platform/omap/omap_vout.c outh = win->w.height; w 384 drivers/media/platform/omap/omap_vout.c posy = (timing->y_res - win->w.width) - win->w.left; w 385 drivers/media/platform/omap/omap_vout.c posx = win->w.top; w 389 drivers/media/platform/omap/omap_vout.c posx = (timing->x_res - win->w.width) - win->w.left; w 390 drivers/media/platform/omap/omap_vout.c posy = (timing->y_res - win->w.height) - win->w.top; w 395 drivers/media/platform/omap/omap_vout.c posy = win->w.left; w 396 drivers/media/platform/omap/omap_vout.c posx = (timing->x_res - win->w.height) - win->w.top; w 400 drivers/media/platform/omap/omap_vout.c posx = win->w.left; w 401 drivers/media/platform/omap/omap_vout.c posy = win->w.top; w 776 drivers/media/platform/omap/omap_vout.c win->w = vout->win.w; w 69 drivers/media/platform/omap/omap_voutlib.c try_win = new_win->w; w 97 drivers/media/platform/omap/omap_voutlib.c new_win->w = try_win; w 126 drivers/media/platform/omap/omap_voutlib.c win->w = new_win->w; w 133 drivers/media/platform/omap/omap_voutlib.c if ((crop->height/win->w.height) >= 2) w 134 drivers/media/platform/omap/omap_voutlib.c crop->height = win->w.height * 2; w 136 drivers/media/platform/omap/omap_voutlib.c if ((crop->width/win->w.width) >= 2) w 137 drivers/media/platform/omap/omap_voutlib.c crop->width = win->w.width * 2; w 144 drivers/media/platform/omap/omap_voutlib.c if (crop->height != win->w.height) w 149 drivers/media/platform/omap/omap_voutlib.c if ((crop->height/win->w.height) >= 4) w 150 drivers/media/platform/omap/omap_voutlib.c crop->height = win->w.height * 4; w 152 drivers/media/platform/omap/omap_voutlib.c if ((crop->width/win->w.width) >= 4) w 153 drivers/media/platform/omap/omap_voutlib.c crop->width = win->w.width * 4; w 204 drivers/media/platform/omap/omap_voutlib.c if (try_crop.height != win->w.height) { w 213 drivers/media/platform/omap/omap_voutlib.c vresize = (1024 * try_crop.height) / win->w.height; w 219 drivers/media/platform/omap/omap_voutlib.c win->w.height = ((1024 * try_crop.height) / vresize) & ~1; w 220 drivers/media/platform/omap/omap_voutlib.c if (win->w.height == 0) w 221 drivers/media/platform/omap/omap_voutlib.c win->w.height = 2; w 222 drivers/media/platform/omap/omap_voutlib.c if (win->w.height + win->w.top > fbuf->fmt.height) { w 227 drivers/media/platform/omap/omap_voutlib.c win->w.height = (fbuf->fmt.height - win->w.top) & ~1; w 232 drivers/media/platform/omap/omap_voutlib.c hresize = (1024 * try_crop.width) / win->w.width; w 238 drivers/media/platform/omap/omap_voutlib.c win->w.width = ((1024 * try_crop.width) / hresize) & ~1; w 239 drivers/media/platform/omap/omap_voutlib.c if (win->w.width == 0) w 240 drivers/media/platform/omap/omap_voutlib.c win->w.width = 2; w 241 drivers/media/platform/omap/omap_voutlib.c if (win->w.width + win->w.left > fbuf->fmt.width) { w 246 drivers/media/platform/omap/omap_voutlib.c win->w.width = (fbuf->fmt.width - win->w.left) & ~1; w 251 drivers/media/platform/omap/omap_voutlib.c if ((try_crop.height/win->w.height) >= 2) w 252 drivers/media/platform/omap/omap_voutlib.c try_crop.height = win->w.height * 2; w 254 drivers/media/platform/omap/omap_voutlib.c if ((try_crop.width/win->w.width) >= 2) w 255 drivers/media/platform/omap/omap_voutlib.c try_crop.width = win->w.width * 2; w 262 drivers/media/platform/omap/omap_voutlib.c if (try_crop.height != win->w.height) w 266 drivers/media/platform/omap/omap_voutlib.c if ((try_crop.height/win->w.height) >= 4) w 267 drivers/media/platform/omap/omap_voutlib.c try_crop.height = win->w.height * 4; w 269 drivers/media/platform/omap/omap_voutlib.c if ((try_crop.width/win->w.width) >= 4) w 270 drivers/media/platform/omap/omap_voutlib.c try_crop.width = win->w.width * 4; w 295 drivers/media/platform/omap/omap_voutlib.c win->w.width = crop->width; w 296 drivers/media/platform/omap/omap_voutlib.c win->w.height = crop->height; w 297 drivers/media/platform/omap/omap_voutlib.c win->w.left = ((fbuf->fmt.width - win->w.width) >> 1) & ~1; w 298 drivers/media/platform/omap/omap_voutlib.c win->w.top = ((fbuf->fmt.height - win->w.height) >> 1) & ~1; w 102 drivers/media/platform/omap3isp/ispstat.c u8 *w; w 109 drivers/media/platform/omap3isp/ispstat.c for (w = buf->virt_addr, end = w + MAGIC_SIZE; w < end; w++) w 110 drivers/media/platform/omap3isp/ispstat.c if (likely(*w != MAGIC_NUM)) w 121 drivers/media/platform/omap3isp/ispstat.c for (w = buf->virt_addr + buf_size, end = w + MAGIC_SIZE; w 122 drivers/media/platform/omap3isp/ispstat.c w < end; w++) { w 123 drivers/media/platform/omap3isp/ispstat.c if (unlikely(*w != MAGIC_NUM)) { w 747 drivers/media/platform/rcar_jpu.c static void jpu_bound_align_image(u32 *w, unsigned int w_min, w 754 drivers/media/platform/rcar_jpu.c width = *w; w 759 drivers/media/platform/rcar_jpu.c v4l_bound_align_image(w, w_min, w_max, w_align, h, h_min, h_max, w 762 drivers/media/platform/rcar_jpu.c if (*w < width && *w + w_step < w_max) w 763 drivers/media/platform/rcar_jpu.c *w += w_step; w 773 drivers/media/platform/rcar_jpu.c unsigned int f_type, w, h; w 802 drivers/media/platform/rcar_jpu.c w = pix->width; w 809 drivers/media/platform/rcar_jpu.c (JPU_JPEG_MAX_BYTES_PER_PIXEL * w * h); w 819 drivers/media/platform/rcar_jpu.c bpl = clamp_t(unsigned int, bpl, w, JPU_WIDTH_MAX); w 1358 drivers/media/platform/rcar_jpu.c unsigned int w, h, bpl; w 1383 drivers/media/platform/rcar_jpu.c w = q_data->format.width; w 1400 drivers/media/platform/rcar_jpu.c src_2_addr = src_1_addr + w * h; w 1427 drivers/media/platform/rcar_jpu.c jpu_write(jpu, (w >> 8) & JCSZ_MASK, JCHSZU); w 1428 drivers/media/platform/rcar_jpu.c jpu_write(jpu, w & JCSZ_MASK, JCHSZD); w 1433 drivers/media/platform/rcar_jpu.c jpu_write(jpu, w, JIFESHSZ); w 1466 drivers/media/platform/rcar_jpu.c dst_2_addr = dst_1_addr + w * h; w 115 drivers/media/platform/renesas-ceu.c #define CEU_W_MAX(w) ((w) < CEU_MAX_WIDTH ? (w) : CEU_MAX_WIDTH) w 47 drivers/media/platform/rockchip/rga/rga-hw.c unsigned int w, unsigned int h) w 74 drivers/media/platform/rockchip/rga/rga-hw.c rt->y_off = lt->y_off + (w - 1) * pixel_width; w 75 drivers/media/platform/rockchip/rga/rga-hw.c rt->u_off = lt->u_off + w / x_div - 1; w 76 drivers/media/platform/rockchip/rga/rga-hw.c rt->v_off = lt->v_off + w / x_div - 1; w 78 drivers/media/platform/rockchip/rga/rga-hw.c rb->y_off = lb->y_off + (w - 1) * pixel_width; w 79 drivers/media/platform/rockchip/rga/rga-hw.c rb->u_off = lb->u_off + w / x_div - 1; w 80 drivers/media/platform/rockchip/rga/rga-hw.c rb->v_off = lb->v_off + w / x_div - 1; w 20 drivers/media/platform/s5p-g2d/g2d-hw.c w(1, SOFT_RESET_REG); w 27 drivers/media/platform/s5p-g2d/g2d-hw.c w(0, SRC_SELECT_REG); w 28 drivers/media/platform/s5p-g2d/g2d-hw.c w(f->stride & 0xFFFF, SRC_STRIDE_REG); w 33 drivers/media/platform/s5p-g2d/g2d-hw.c w(n, SRC_LEFT_TOP_REG); w 38 drivers/media/platform/s5p-g2d/g2d-hw.c w(n, SRC_RIGHT_BOTTOM_REG); w 40 drivers/media/platform/s5p-g2d/g2d-hw.c w(f->fmt->hw, SRC_COLOR_MODE_REG); w 45 drivers/media/platform/s5p-g2d/g2d-hw.c w(a, SRC_BASE_ADDR_REG); w 52 drivers/media/platform/s5p-g2d/g2d-hw.c w(0, DST_SELECT_REG); w 53 drivers/media/platform/s5p-g2d/g2d-hw.c w(f->stride & 0xFFFF, DST_STRIDE_REG); w 58 drivers/media/platform/s5p-g2d/g2d-hw.c w(n, DST_LEFT_TOP_REG); w 63 drivers/media/platform/s5p-g2d/g2d-hw.c w(n, DST_RIGHT_BOTTOM_REG); w 65 drivers/media/platform/s5p-g2d/g2d-hw.c w(f->fmt->hw, DST_COLOR_MODE_REG); w 70 drivers/media/platform/s5p-g2d/g2d-hw.c w(a, DST_BASE_ADDR_REG); w 75 drivers/media/platform/s5p-g2d/g2d-hw.c w(r, ROP4_REG); w 80 drivers/media/platform/s5p-g2d/g2d-hw.c w(r, SRC_MSK_DIRECT_REG); w 86 drivers/media/platform/s5p-g2d/g2d-hw.c w(DEFAULT_SCALE_MODE, SRC_SCALE_CTRL_REG); w 89 drivers/media/platform/s5p-g2d/g2d-hw.c w((src->c_width << 16) / dst->c_width, SRC_XSCALE_REG); w 90 drivers/media/platform/s5p-g2d/g2d-hw.c w((src->c_height << 16) / dst->c_height, SRC_YSCALE_REG); w 95 drivers/media/platform/s5p-g2d/g2d-hw.c w(c, BITBLT_COMMAND_REG); w 102 drivers/media/platform/s5p-g2d/g2d-hw.c w(0x7, CACHECTL_REG); w 105 drivers/media/platform/s5p-g2d/g2d-hw.c w(1, INTEN_REG); w 107 drivers/media/platform/s5p-g2d/g2d-hw.c w(1, BITBLT_START_REG); w 112 drivers/media/platform/s5p-g2d/g2d-hw.c w(1, INTC_PEND_REG); w 1224 drivers/media/platform/s5p-jpeg/jpeg-core.c result->w = width; w 1348 drivers/media/platform/s5p-jpeg/jpeg-core.c pix->width = q_data->w; w 1354 drivers/media/platform/s5p-jpeg/jpeg-core.c u32 bpl = q_data->w; w 1393 drivers/media/platform/s5p-jpeg/jpeg-core.c u32 *w, unsigned int wmin, unsigned int wmax, w 1400 drivers/media/platform/s5p-jpeg/jpeg-core.c width = *w; w 1420 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0); w 1422 drivers/media/platform/s5p-jpeg/jpeg-core.c if (*w < width && (*w + w_step) < wmax) w 1423 drivers/media/platform/s5p-jpeg/jpeg-core.c *w += w_step; w 1519 drivers/media/platform/s5p-jpeg/jpeg-core.c (ctx->out_q.w & 1) && w 1556 drivers/media/platform/s5p-jpeg/jpeg-core.c int w = pix->width, h = pix->height, wh_align; w 1570 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg_bound_align_image(ctx, &w, S5P_JPEG_MIN_WIDTH, w 1578 drivers/media/platform/s5p-jpeg/jpeg-core.c return (w * h * fmt_depth >> 3) + padding; w 1612 drivers/media/platform/s5p-jpeg/jpeg-core.c q_data->w = pix->width; w 1628 drivers/media/platform/s5p-jpeg/jpeg-core.c q_data->size = q_data->w * q_data->h * w 1665 drivers/media/platform/s5p-jpeg/jpeg-core.c scale_rect.width = ct->out_q.w / 2; w 1711 drivers/media/platform/s5p-jpeg/jpeg-core.c w_ratio = ctx->out_q.w / r->width; w 1726 drivers/media/platform/s5p-jpeg/jpeg-core.c r->width = round_down(ctx->out_q.w / ctx->scale_factor, 2); w 1776 drivers/media/platform/s5p-jpeg/jpeg-core.c base_rect.width = ctx->out_q.w; w 1816 drivers/media/platform/s5p-jpeg/jpeg-core.c s->r.width = ctx->out_q.w; w 2068 drivers/media/platform/s5p-jpeg/jpeg-core.c s5p_jpeg_x(jpeg->regs, ctx->out_q.w); w 2134 drivers/media/platform/s5p-jpeg/jpeg-core.c pix_size = ctx->cap_q.w * ctx->cap_q.h; w 2139 drivers/media/platform/s5p-jpeg/jpeg-core.c if (ctx->out_q.w % 2 && fmt->h_align > 0) w 2228 drivers/media/platform/s5p-jpeg/jpeg-core.c exynos4_jpeg_set_stream_size(jpeg->regs, ctx->cap_q.w, w 2262 drivers/media/platform/s5p-jpeg/jpeg-core.c exynos4_jpeg_set_stream_size(jpeg->regs, ctx->cap_q.w, w 2292 drivers/media/platform/s5p-jpeg/jpeg-core.c pix_size = ctx->cap_q.w * ctx->cap_q.h; w 2384 drivers/media/platform/s5p-jpeg/jpeg-core.c ctx->out_q.w); w 2402 drivers/media/platform/s5p-jpeg/jpeg-core.c ctx->cap_q.w); w 2513 drivers/media/platform/s5p-jpeg/jpeg-core.c q_data->w = ctx->out_q.w; w 2525 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg_bound_align_image(ctx, &q_data->w, S5P_JPEG_MIN_WIDTH, w 2530 drivers/media/platform/s5p-jpeg/jpeg-core.c q_data->size = q_data->w * q_data->h * q_data->fmt->depth >> 3; w 2550 drivers/media/platform/s5p-jpeg/jpeg-core.c ori_w = ctx->out_q.w; w 2567 drivers/media/platform/s5p-jpeg/jpeg-core.c if (ctx->out_q.w != ori_w || ctx->out_q.h != ori_h) { w 198 drivers/media/platform/s5p-jpeg/jpeg-core.h u32 w; w 377 drivers/media/platform/s5p-mfc/regs-mfc-v6.h #define S5P_FIMV_TMV_BUFFER_SIZE_V6(w, h) (((w) + 1) * ((h) + 3) * 8) w 381 drivers/media/platform/s5p-mfc/regs-mfc-v6.h #define S5P_FIMV_SCRATCH_BUF_SIZE_H264_DEC_V6(w, h) (((w) * 192) + 64) w 382 drivers/media/platform/s5p-mfc/regs-mfc-v6.h #define S5P_FIMV_SCRATCH_BUF_SIZE_MPEG4_DEC_V6(w, h) \ w 383 drivers/media/platform/s5p-mfc/regs-mfc-v6.h ((w) * 144 + 8192 * (h) + 49216 + 1048576) w 384 drivers/media/platform/s5p-mfc/regs-mfc-v6.h #define S5P_FIMV_SCRATCH_BUF_SIZE_VC1_DEC_V6(w, h) \ w 385 drivers/media/platform/s5p-mfc/regs-mfc-v6.h (2096 * ((w) + (h) + 1)) w 386 drivers/media/platform/s5p-mfc/regs-mfc-v6.h #define S5P_FIMV_SCRATCH_BUF_SIZE_H263_DEC_V6(w, h) \ w 387 drivers/media/platform/s5p-mfc/regs-mfc-v6.h S5P_FIMV_SCRATCH_BUF_SIZE_MPEG4_DEC_V6(w, h) w 388 drivers/media/platform/s5p-mfc/regs-mfc-v6.h #define S5P_FIMV_SCRATCH_BUF_SIZE_VP8_DEC_V6(w, h) \ w 389 drivers/media/platform/s5p-mfc/regs-mfc-v6.h ((w) * 32 + (h) * 128 + (((w) + 1) / 2) * 64 + 2112) w 390 drivers/media/platform/s5p-mfc/regs-mfc-v6.h #define S5P_FIMV_SCRATCH_BUF_SIZE_H264_ENC_V6(w, h) \ w 391 drivers/media/platform/s5p-mfc/regs-mfc-v6.h (((w) * 64) + (((w) + 1) * 16) + (4096 * 16)) w 392 drivers/media/platform/s5p-mfc/regs-mfc-v6.h #define S5P_FIMV_SCRATCH_BUF_SIZE_MPEG4_ENC_V6(w, h) \ w 393 drivers/media/platform/s5p-mfc/regs-mfc-v6.h (((w) * 16) + (((w) + 1) * 16)) w 50 drivers/media/platform/s5p-mfc/regs-mfc-v7.h #define S5P_FIMV_SCRATCH_BUF_SIZE_MPEG4_DEC_V7(w, h) \ w 51 drivers/media/platform/s5p-mfc/regs-mfc-v7.h (SZ_1M + ((w) * 144) + (8192 * (h)) + 49216) w 53 drivers/media/platform/s5p-mfc/regs-mfc-v7.h #define S5P_FIMV_SCRATCH_BUF_SIZE_VP8_ENC_V7(w, h) \ w 54 drivers/media/platform/s5p-mfc/regs-mfc-v7.h (((w) * 48) + 8192 + ((((w) + 1) / 2) * 128) + 144 + \ w 55 drivers/media/platform/s5p-mfc/regs-mfc-v7.h ((((((w) * 16) * ((h) * 16)) * 3) / 2) * 4)) w 99 drivers/media/platform/s5p-mfc/regs-mfc-v8.h #define S5P_FIMV_TMV_BUFFER_SIZE_V8(w, h) (((w) + 1) * ((h) + 1) * 8) w 101 drivers/media/platform/s5p-mfc/regs-mfc-v8.h #define S5P_FIMV_SCRATCH_BUF_SIZE_H264_DEC_V8(w, h) (((w) * 704) + 2176) w 102 drivers/media/platform/s5p-mfc/regs-mfc-v8.h #define S5P_FIMV_SCRATCH_BUF_SIZE_VP8_DEC_V8(w, h) \ w 103 drivers/media/platform/s5p-mfc/regs-mfc-v8.h (((w) * 576 + (h) * 128) + 4128) w 105 drivers/media/platform/s5p-mfc/regs-mfc-v8.h #define S5P_FIMV_SCRATCH_BUF_SIZE_H264_ENC_V8(w, h) \ w 106 drivers/media/platform/s5p-mfc/regs-mfc-v8.h (((w) * 592) + 2336) w 107 drivers/media/platform/s5p-mfc/regs-mfc-v8.h #define S5P_FIMV_SCRATCH_BUF_SIZE_VP8_ENC_V8(w, h) \ w 108 drivers/media/platform/s5p-mfc/regs-mfc-v8.h (((w) * 576) + 10512 + \ w 109 drivers/media/platform/s5p-mfc/regs-mfc-v8.h ((((((w) * 16) * ((h) * 16)) * 3) / 2) * 4)) w 41 drivers/media/platform/sti/delta/delta-v4l2.c static inline int frame_size(u32 w, u32 h, u32 fmt) w 45 drivers/media/platform/sti/delta/delta-v4l2.c return (w * h * 3) / 2; w 51 drivers/media/platform/sti/delta/delta-v4l2.c static inline int frame_stride(u32 w, u32 fmt) w 55 drivers/media/platform/sti/delta/delta-v4l2.c return w; w 231 drivers/media/platform/sti/delta/delta-v4l2.c static inline int estimated_au_size(u32 w, u32 h) w 239 drivers/media/platform/sti/delta/delta-v4l2.c return (w * h); w 20 drivers/media/platform/sti/hva/hva-h264.c #define MB_W(w) ((w + 0xF) / 0x10) w 24 drivers/media/platform/sti/hva/hva-h264.c #define DATA_SIZE(w, h) (MB_W(w) * MB_H(h) * 16) w 26 drivers/media/platform/sti/hva/hva-h264.c #define SEARCH_WINDOW_BUFFER_MAX_SIZE(w) ((4 * MB_W(w) + 42) * 256 * 3 / 2) w 27 drivers/media/platform/sti/hva/hva-h264.c #define CABAC_CONTEXT_BUFFER_MAX_SIZE(w) (MB_W(w) * 16) w 28 drivers/media/platform/sti/hva/hva-h264.c #define CTX_MB_BUFFER_MAX_SIZE(w) (MB_W(w) * 16 * 8) w 39 drivers/media/platform/sti/hva/hva-h264.c #define LOCAL_RECONSTRUCTED_BUFFER_MAX_SIZE(w) (4 * 16 * MB_W(w) * 2) w 47 drivers/media/platform/sti/hva/hva-v4l2.c static inline int frame_size(u32 w, u32 h, u32 fmt) w 52 drivers/media/platform/sti/hva/hva-v4l2.c return (w * h * 3) / 2; w 58 drivers/media/platform/sti/hva/hva-v4l2.c static inline int frame_stride(u32 w, u32 fmt) w 63 drivers/media/platform/sti/hva/hva-v4l2.c return w; w 81 drivers/media/platform/sti/hva/hva-v4l2.c static inline int estimated_stream_size(u32 w, u32 h) w 88 drivers/media/platform/sti/hva/hva-v4l2.c return (w * h * 3) / 4; w 47 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h #define CSI_WIN_CTRL_W_ACTIVE(w) ((w) << 16) w 929 drivers/media/platform/vicodec/codec-fwht.c u32 w = width; w 934 drivers/media/platform/vicodec/codec-fwht.c w /= 2; w 936 drivers/media/platform/vicodec/codec-fwht.c if (!decode_plane(cf, &rlco, h, w, ref->cb, ref_chroma_stride, w 942 drivers/media/platform/vicodec/codec-fwht.c if (!decode_plane(cf, &rlco, h, w, ref->cr, ref_chroma_stride, w 506 drivers/media/platform/vicodec/vicodec-core.c unsigned int w = ntohl(p_hdr->width); w 511 drivers/media/platform/vicodec/vicodec-core.c if (w < MIN_WIDTH || w > MAX_WIDTH || h < MIN_HEIGHT || h > MAX_HEIGHT) w 620 drivers/media/platform/vim2m.c static void device_work(struct work_struct *w) w 627 drivers/media/platform/vim2m.c curr_ctx = container_of(w, struct vim2m_ctx, work_run.work); w 602 drivers/media/platform/vivid/vivid-kthread-cap.c int x, y, w, out_x = 0; w 617 drivers/media/platform/vivid/vivid-kthread-cap.c w = img_width; w 620 drivers/media/platform/vivid/vivid-kthread-cap.c w = w - out_x; w 623 drivers/media/platform/vivid/vivid-kthread-cap.c w = dev->fb_cap.fmt.width - x; w 624 drivers/media/platform/vivid/vivid-kthread-cap.c if (w > img_width) w 625 drivers/media/platform/vivid/vivid-kthread-cap.c w = img_width; w 627 drivers/media/platform/vivid/vivid-kthread-cap.c if (w <= 0) w 640 drivers/media/platform/vivid/vivid-kthread-cap.c vbuf + out_x * pixsize, w * pixsize); w 644 drivers/media/platform/vivid/vivid-kthread-cap.c for (px = 0; px < w; px++) { w 561 drivers/media/platform/vivid/vivid-vid-cap.c unsigned w, h; w 579 drivers/media/platform/vivid/vivid-vid-cap.c w = sz->width; w 582 drivers/media/platform/vivid/vivid-vid-cap.c w = 720; w 585 drivers/media/platform/vivid/vivid-vid-cap.c w = dev->src_rect.width; w 592 drivers/media/platform/vivid/vivid-vid-cap.c mp->width = w; w 600 drivers/media/platform/vivid/vivid-vid-cap.c struct v4l2_rect max_r = { 0, 0, MAX_ZOOM * w, MAX_ZOOM * h }; w 1069 drivers/media/platform/vivid/vivid-vid-cap.c win->w.top = dev->overlay_cap_top; w 1070 drivers/media/platform/vivid/vivid-vid-cap.c win->w.left = dev->overlay_cap_left; w 1071 drivers/media/platform/vivid/vivid-vid-cap.c win->w.width = compose->width; w 1072 drivers/media/platform/vivid/vivid-vid-cap.c win->w.height = compose->height; w 1103 drivers/media/platform/vivid/vivid-vid-cap.c win->w.left = clamp_t(int, win->w.left, w 1105 drivers/media/platform/vivid/vivid-vid-cap.c win->w.top = clamp_t(int, win->w.top, w 1107 drivers/media/platform/vivid/vivid-vid-cap.c win->w.width = compose->width; w 1108 drivers/media/platform/vivid/vivid-vid-cap.c win->w.height = compose->height; w 1175 drivers/media/platform/vivid/vivid-vid-cap.c dev->overlay_cap_top = win->w.top; w 1176 drivers/media/platform/vivid/vivid-vid-cap.c dev->overlay_cap_left = win->w.left; w 864 drivers/media/platform/vivid/vivid-vid-common.c unsigned w = r->width; w 868 drivers/media/platform/vivid/vivid-vid-common.c w &= 0xffff; w 871 drivers/media/platform/vivid/vivid-vid-common.c w++; w 873 drivers/media/platform/vivid/vivid-vid-common.c if (w < 2) w 874 drivers/media/platform/vivid/vivid-vid-common.c w = 2; w 879 drivers/media/platform/vivid/vivid-vid-common.c if (w > MAX_WIDTH) w 880 drivers/media/platform/vivid/vivid-vid-common.c w = MAX_WIDTH; w 884 drivers/media/platform/vivid/vivid-vid-common.c w = w & ~1; w 886 drivers/media/platform/vivid/vivid-vid-common.c if (w < 2 || h < 2) w 888 drivers/media/platform/vivid/vivid-vid-common.c if (w > MAX_WIDTH || h > MAX_HEIGHT) w 897 drivers/media/platform/vivid/vivid-vid-common.c if (r->left + w > MAX_WIDTH) w 898 drivers/media/platform/vivid/vivid-vid-common.c r->left = MAX_WIDTH - w; w 903 drivers/media/platform/vivid/vivid-vid-common.c (r->width != w || r->height != h)) w 905 drivers/media/platform/vivid/vivid-vid-common.c r->width = w; w 359 drivers/media/platform/vivid/vivid-vid-out.c unsigned w, h; w 372 drivers/media/platform/vivid/vivid-vid-out.c w = 720; w 375 drivers/media/platform/vivid/vivid-vid-out.c w = dev->sink_rect.width; w 381 drivers/media/platform/vivid/vivid-vid-out.c mp->width = w; w 389 drivers/media/platform/vivid/vivid-vid-out.c struct v4l2_rect max_r = { 0, 0, MAX_ZOOM * w, MAX_ZOOM * h }; w 843 drivers/media/platform/vivid/vivid-vid-out.c win->w.top = dev->overlay_out_top; w 844 drivers/media/platform/vivid/vivid-vid-out.c win->w.left = dev->overlay_out_left; w 845 drivers/media/platform/vivid/vivid-vid-out.c win->w.width = compose->width; w 846 drivers/media/platform/vivid/vivid-vid-out.c win->w.height = compose->height; w 878 drivers/media/platform/vivid/vivid-vid-out.c win->w.left = clamp_t(int, win->w.left, w 880 drivers/media/platform/vivid/vivid-vid-out.c win->w.top = clamp_t(int, win->w.top, w 882 drivers/media/platform/vivid/vivid-vid-out.c win->w.width = compose->width; w 883 drivers/media/platform/vivid/vivid-vid-out.c win->w.height = compose->height; w 951 drivers/media/platform/vivid/vivid-vid-out.c dev->overlay_out_top = win->w.top; w 952 drivers/media/platform/vivid/vivid-vid-out.c dev->overlay_out_left = win->w.left; w 748 drivers/media/usb/au0828/au0828-video.c int ret, h, w; w 767 drivers/media/usb/au0828/au0828-video.c w = d->width * 2; w 774 drivers/media/usb/au0828/au0828-video.c au0828_writereg(d, 0x114, w & 0xff); w 775 drivers/media/usb/au0828/au0828-video.c au0828_writereg(d, 0x115, w >> 8); w 572 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c u8 w[2] = { 1, 0 }; w 576 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c .flags = 0, .buf = w, .len = 1 }, w 589 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c w[0] = 1; w 591 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c w[1] = r; w 594 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c w[1] &= ~(1 << gpio); w 597 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c w[1] |= ((val ? 1 : 0) << gpio); w 607 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c u8 w[2] = { 1, 0x07 }; /* write protect enabled, signal LEDs off */ w 611 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c .flags = 0, .buf = w, .len = 2 w 619 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c w[0] = 3; w 620 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c w[1] = 0; w 646 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c u8 w = 1; w 649 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c { .flags = 0, .buf = &w, .len = 1 }, w 54 drivers/media/usb/gspca/gspca.c __u32 pixfmt, int w, int h) w 63 drivers/media/usb/gspca/gspca.c w, h); w 68 drivers/media/usb/gspca/gspca.c w, h); w 1045 drivers/media/usb/gspca/gspca.c int w, h, mode, mode2; w 1047 drivers/media/usb/gspca/gspca.c w = fmt->fmt.pix.width; w 1051 drivers/media/usb/gspca/gspca.c fmt->fmt.pix.pixelformat, w, h); w 1054 drivers/media/usb/gspca/gspca.c mode = wxh_to_nearest_mode(gspca_dev, w, h, fmt->fmt.pix.pixelformat); w 1069 drivers/media/usb/gspca/gspca.c fmt->fmt.pix.width = w; w 1694 drivers/media/usb/gspca/nw80x.c int w, h; w 1707 drivers/media/usb/gspca/nw80x.c w = (gspca_dev->usb_buf[1] << 8) + gspca_dev->usb_buf[0] w 1711 drivers/media/usb/gspca/nw80x.c sd->ae_res = h * w; w 131 drivers/media/usb/gspca/spca1528.c int i, w; w 134 drivers/media/usb/gspca/spca1528.c w = 0; w 139 drivers/media/usb/gspca/spca1528.c w += 15; w 140 drivers/media/usb/gspca/spca1528.c msleep(w); w 59 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c int w, h; w 182 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c cp = hdcs->exp.cto + (hdcs->w * ct / 2); w 195 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c srowexp = hdcs->w - (cycles + hdcs->exp.er + 13) / ct; w 198 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c max_srowexp = hdcs->w - mnct; w 318 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->w = width; w 239 drivers/media/usb/gspca/touptek.c unsigned int w = gspca_dev->pixfmt.width; w 241 drivers/media/usb/gspca/touptek.c if (w == 800) w 243 drivers/media/usb/gspca/touptek.c else if (w == 1600) w 245 drivers/media/usb/gspca/touptek.c else if (w == 3264) w 248 drivers/media/usb/gspca/touptek.c gspca_err(gspca_dev, "Invalid width %u\n", w); w 328 drivers/media/usb/gspca/touptek.c unsigned int w = gspca_dev->pixfmt.width; w 332 drivers/media/usb/gspca/touptek.c if (w == 800) { w 343 drivers/media/usb/gspca/touptek.c } else if (w == 1600) { w 354 drivers/media/usb/gspca/touptek.c } else if (w == 3264) { w 366 drivers/media/usb/gspca/touptek.c gspca_err(gspca_dev, "bad width %u\n", w); w 373 drivers/media/usb/gspca/touptek.c reg_w(gspca_dev, w, REG_X_OUTPUT_SIZE); w 376 drivers/media/usb/gspca/touptek.c if (w == 800) { w 379 drivers/media/usb/gspca/touptek.c } else if (w == 1600) { w 382 drivers/media/usb/gspca/touptek.c } else if (w == 3264) { w 386 drivers/media/usb/gspca/touptek.c gspca_err(gspca_dev, "bad width %u\n", w); w 419 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c int w = vf->fmt.pix.width; w 427 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (w == -1) w 428 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c w = ldef; w 429 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c else if (w < lmin) w 430 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c w = lmin; w 431 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c else if (w > lmax) w 432 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c w = lmax; w 445 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vf->fmt.pix.width = w; w 661 drivers/media/usb/s2255/s2255drv.c int w = vc->width; w 669 drivers/media/usb/s2255/s2255drv.c if ((w < norm_minw(vc)) || w 670 drivers/media/usb/s2255/s2255drv.c (w > norm_maxw(vc)) || w 676 drivers/media/usb/s2255/s2255drv.c size = w * h * (vc->fmt->depth >> 3); w 879 drivers/media/usb/stkwebcam/stk-webcam.c unsigned w; w 883 drivers/media/usb/stkwebcam/stk-webcam.c { .w = 1280, .h = 1024, .m = MODE_SXGA, }, w 884 drivers/media/usb/stkwebcam/stk-webcam.c { .w = 640, .h = 480, .m = MODE_VGA, }, w 885 drivers/media/usb/stkwebcam/stk-webcam.c { .w = 352, .h = 288, .m = MODE_CIF, }, w 886 drivers/media/usb/stkwebcam/stk-webcam.c { .w = 320, .h = 240, .m = MODE_QVGA, }, w 887 drivers/media/usb/stkwebcam/stk-webcam.c { .w = 176, .h = 144, .m = MODE_QCIF, }, w 904 drivers/media/usb/stkwebcam/stk-webcam.c pix_format->width = stk_sizes[i].w; w 933 drivers/media/usb/stkwebcam/stk-webcam.c if (fmtd->fmt.pix.width > stk_sizes[i].w) w 937 drivers/media/usb/stkwebcam/stk-webcam.c || (abs(fmtd->fmt.pix.width - stk_sizes[i-1].w) w 938 drivers/media/usb/stkwebcam/stk-webcam.c < abs(fmtd->fmt.pix.width - stk_sizes[i].w))) { w 940 drivers/media/usb/stkwebcam/stk-webcam.c fmtd->fmt.pix.width = stk_sizes[i-1].w; w 945 drivers/media/usb/stkwebcam/stk-webcam.c fmtd->fmt.pix.width = stk_sizes[i].w; w 993 drivers/media/usb/stkwebcam/stk-webcam.c ((stk_sizes[i].w * depth) >> 8) & 0xff); w 995 drivers/media/usb/stkwebcam/stk-webcam.c (stk_sizes[i].w * depth) & 0xff); w 1187 drivers/media/usb/stkwebcam/stk-webcam.c frms->discrete.width = stk_sizes[frms->index].w; w 1278 drivers/media/usb/uvc/uvc_ctrl.c struct uvc_ctrl_work *w = &dev->async_ctrl; w 1279 drivers/media/usb/uvc/uvc_ctrl.c struct uvc_video_chain *chain = w->chain; w 1281 drivers/media/usb/uvc/uvc_ctrl.c struct uvc_control *ctrl = w->ctrl; w 1292 drivers/media/usb/uvc/uvc_ctrl.c s32 value = __uvc_ctrl_get_value(mapping, w->data); w 1313 drivers/media/usb/uvc/uvc_ctrl.c w->urb->interval = dev->int_ep->desc.bInterval; w 1314 drivers/media/usb/uvc/uvc_ctrl.c ret = usb_submit_urb(w->urb, GFP_KERNEL); w 1324 drivers/media/usb/uvc/uvc_ctrl.c struct uvc_ctrl_work *w = &dev->async_ctrl; w 1331 drivers/media/usb/uvc/uvc_ctrl.c w->data = data; w 1332 drivers/media/usb/uvc/uvc_ctrl.c w->urb = urb; w 1333 drivers/media/usb/uvc/uvc_ctrl.c w->chain = chain; w 1334 drivers/media/usb/uvc/uvc_ctrl.c w->ctrl = ctrl; w 1336 drivers/media/usb/uvc/uvc_ctrl.c schedule_work(&w->work); w 195 drivers/media/usb/uvc/uvc_v4l2.c u16 w = format->frame[i].wWidth; w 198 drivers/media/usb/uvc/uvc_v4l2.c d = min(w, rw) * min(h, rh); w 199 drivers/media/usb/uvc/uvc_v4l2.c d = w*h + rw*rh - 2*d; w 120 drivers/media/v4l2-core/v4l2-common.c void v4l_bound_align_image(u32 *w, unsigned int wmin, unsigned int wmax, w 125 drivers/media/v4l2-core/v4l2-common.c *w = clamp_align(*w, wmin, wmax, walign); w 133 drivers/media/v4l2-core/v4l2-common.c walign = __ffs(*w); w 146 drivers/media/v4l2-core/v4l2-common.c *w = clamp_align(*w, wmin, wmax, walign + 1); w 147 drivers/media/v4l2-core/v4l2-common.c walign = __ffs(*w); w 144 drivers/media/v4l2-core/v4l2-compat-ioctl32.c struct v4l2_rect w; w 163 drivers/media/v4l2-core/v4l2-compat-ioctl32.c copy_in_user(&p64->w, &p32->w, sizeof(p32->w)) || w 203 drivers/media/v4l2-core/v4l2-compat-ioctl32.c if (copy_in_user(&p32->w, &p64->w, sizeof(p64->w)) || w 330 drivers/media/v4l2-core/v4l2-ioctl.c win->w.width, win->w.height, win->w.left, win->w.top, w 111 drivers/memory/mvebu-devbus.c struct devbus_write_params *w) w 168 drivers/memory/mvebu-devbus.c &w->sync_enable); w 178 drivers/memory/mvebu-devbus.c &w->ale_wr); w 183 drivers/memory/mvebu-devbus.c &w->wr_low); w 188 drivers/memory/mvebu-devbus.c &w->wr_high); w 198 drivers/memory/mvebu-devbus.c struct devbus_write_params *w) w 212 drivers/memory/mvebu-devbus.c (w->ale_wr & ORION_ALE_WR_MASK) << ORION_ALE_WR_SHIFT | w 213 drivers/memory/mvebu-devbus.c (w->wr_low & ORION_WR_LOW_MASK) << ORION_WR_LOW_SHIFT | w 214 drivers/memory/mvebu-devbus.c (w->wr_high & ORION_WR_HIGH_MASK) << ORION_WR_HIGH_SHIFT | w 219 drivers/memory/mvebu-devbus.c ((w->ale_wr & ORION_ALE_WR_EXT_MASK) ? ORION_ALE_WR_EXT_BIT : 0) | w 220 drivers/memory/mvebu-devbus.c ((w->wr_low & ORION_WR_LOW_EXT_MASK) ? ORION_WR_LOW_EXT_BIT : 0) | w 221 drivers/memory/mvebu-devbus.c ((w->wr_high & ORION_WR_HIGH_EXT_MASK) ? ORION_WR_HIGH_EXT_BIT : 0) | w 231 drivers/memory/mvebu-devbus.c struct devbus_write_params *w) w 251 drivers/memory/mvebu-devbus.c value = w->sync_enable << ARMADA_SYNC_ENABLE_SHIFT | w 252 drivers/memory/mvebu-devbus.c w->wr_low << ARMADA_WR_LOW_SHIFT | w 253 drivers/memory/mvebu-devbus.c w->wr_high << ARMADA_WR_HIGH_SHIFT | w 254 drivers/memory/mvebu-devbus.c w->ale_wr; w 268 drivers/memory/mvebu-devbus.c struct devbus_write_params w; w 303 drivers/memory/mvebu-devbus.c err = devbus_get_timing_params(devbus, node, &r, &w); w 309 drivers/memory/mvebu-devbus.c devbus_orion_set_timing_params(devbus, node, &r, &w); w 311 drivers/memory/mvebu-devbus.c devbus_armada_set_timing_params(devbus, node, &r, &w); w 64 drivers/mfd/mc13xxx-spi.c unsigned char w[4] = { *((unsigned char *) reg), 0, 0, 0}; w 70 drivers/mfd/mc13xxx-spi.c .tx_buf = w, w 941 drivers/mfd/menelaus.c static int menelaus_read_alarm(struct device *dev, struct rtc_wkalrm *w) w 966 drivers/mfd/menelaus.c menelaus_to_time(regs, &w->time); w 968 drivers/mfd/menelaus.c w->enabled = !!(the_menelaus->rtc_control & RTC_CTRL_AL_EN); w 971 drivers/mfd/menelaus.c w->pending = 0; w 976 drivers/mfd/menelaus.c static int menelaus_set_alarm(struct device *dev, struct rtc_wkalrm *w) w 980 drivers/mfd/menelaus.c if (the_menelaus->client->irq <= 0 && w->enabled) w 993 drivers/mfd/menelaus.c status = time_to_menelaus(&w->time, MENELAUS_RTC_AL_SEC); w 998 drivers/mfd/menelaus.c if (w->enabled) { w 1113 drivers/mmc/host/omap.c u16 w; w 1116 drivers/mmc/host/omap.c w = OMAP_MMC_READ(host, CON); w 1117 drivers/mmc/host/omap.c OMAP_MMC_WRITE(host, CON, w | (1 << 11)); w 1119 drivers/mmc/host/omap.c w = OMAP_MMC_READ(host, CON); w 1120 drivers/mmc/host/omap.c OMAP_MMC_WRITE(host, CON, w & ~(1 << 11)); w 852 drivers/mtd/chips/cfi_cmdset_0020.c int i, w; w 853 drivers/mtd/chips/cfi_cmdset_0020.c for (w=0; w<map_words(map); w++) { w 855 drivers/mtd/chips/cfi_cmdset_0020.c chipstatus |= status.x[w] >> (cfi->device_type * 8); w 770 drivers/mtd/nand/raw/nandsim.c char *w; w 777 drivers/mtd/nand/raw/nandsim.c w = badblocks; w 779 drivers/mtd/nand/raw/nandsim.c zero_ok = (*w == '0' ? 1 : 0); w 780 drivers/mtd/nand/raw/nandsim.c erase_block_no = simple_strtoul(w, &w, 0); w 790 drivers/mtd/nand/raw/nandsim.c if (*w == ',') w 791 drivers/mtd/nand/raw/nandsim.c w += 1; w 792 drivers/mtd/nand/raw/nandsim.c } while (*w); w 798 drivers/mtd/nand/raw/nandsim.c char *w; w 806 drivers/mtd/nand/raw/nandsim.c w = weakblocks; w 808 drivers/mtd/nand/raw/nandsim.c zero_ok = (*w == '0' ? 1 : 0); w 809 drivers/mtd/nand/raw/nandsim.c erase_block_no = simple_strtoul(w, &w, 0); w 815 drivers/mtd/nand/raw/nandsim.c if (*w == ':') { w 816 drivers/mtd/nand/raw/nandsim.c w += 1; w 817 drivers/mtd/nand/raw/nandsim.c max_erases = simple_strtoul(w, &w, 0); w 819 drivers/mtd/nand/raw/nandsim.c if (*w == ',') w 820 drivers/mtd/nand/raw/nandsim.c w += 1; w 829 drivers/mtd/nand/raw/nandsim.c } while (*w); w 849 drivers/mtd/nand/raw/nandsim.c char *w; w 857 drivers/mtd/nand/raw/nandsim.c w = weakpages; w 859 drivers/mtd/nand/raw/nandsim.c zero_ok = (*w == '0' ? 1 : 0); w 860 drivers/mtd/nand/raw/nandsim.c page_no = simple_strtoul(w, &w, 0); w 866 drivers/mtd/nand/raw/nandsim.c if (*w == ':') { w 867 drivers/mtd/nand/raw/nandsim.c w += 1; w 868 drivers/mtd/nand/raw/nandsim.c max_writes = simple_strtoul(w, &w, 0); w 870 drivers/mtd/nand/raw/nandsim.c if (*w == ',') w 871 drivers/mtd/nand/raw/nandsim.c w += 1; w 880 drivers/mtd/nand/raw/nandsim.c } while (*w); w 95 drivers/net/ethernet/8390/mcf8390.c u16 w, *buf; w 100 drivers/net/ethernet/8390/mcf8390.c w = *rp; w 101 drivers/net/ethernet/8390/mcf8390.c *buf++ = BSWAP(w); w 121 drivers/net/ethernet/8390/mcf8390.c u16 w, *buf; w 126 drivers/net/ethernet/8390/mcf8390.c w = *buf++; w 127 drivers/net/ethernet/8390/mcf8390.c *rp = BSWAP(w); w 1156 drivers/net/ethernet/amazon/ena/ena_netdev.c static void ena_dim_work(struct work_struct *w) w 1158 drivers/net/ethernet/amazon/ena/ena_netdev.c struct dim *dim = container_of(w, struct dim, work); w 1650 drivers/net/ethernet/brocade/bna/bfa_ioc.c u32 w = readl(pci_bar + FLI_RDDATA_REG); w 1651 drivers/net/ethernet/brocade/bna/bfa_ioc.c *((u32 *)(buf + i)) = swab32(w); w 411 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u64 w:1; w 482 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u64 w:1; w 202 drivers/net/ethernet/cavium/liquidio/octeon_nic.h pki_ih3->w = 1; w 611 drivers/net/ethernet/cavium/liquidio/request_manager.c pki_ih3->w = 1; w 2906 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int i, w; w 2917 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c for (w = 0; w < NCCTRL_WIN; ++w) { w 2920 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c inc = max(((mtu - 40) * alpha[w]) / avg_pkts[w], w 2924 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c (w << 16) | (beta[w] << 13) | inc); w 57 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h #define INIT_TP_WR(w, tid) do { \ w 58 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h (w)->wr.wr_hi = htonl(FW_WR_OP_V(FW_TP_WR) | \ w 59 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h FW_WR_IMMDLEN_V(sizeof(*w) - sizeof(w->wr))); \ w 60 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h (w)->wr.wr_mid = htonl(FW_WR_LEN16_V(DIV_ROUND_UP(sizeof(*w), 16)) | \ w 62 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h (w)->wr.wr_lo = cpu_to_be64(0); \ w 65 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h #define INIT_TP_WR_CPL(w, cpl, tid) do { \ w 66 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h INIT_TP_WR(w, tid); \ w 67 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h OPCODE_TID(w) = htonl(MK_OPCODE_TID(cpl, tid)); \ w 70 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h #define INIT_ULPTX_WR(w, wrlen, atomic, tid) do { \ w 71 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h (w)->wr.wr_hi = htonl(FW_WR_OP_V(FW_ULPTX_WR) | \ w 73 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h (w)->wr.wr_mid = htonl(FW_WR_LEN16_V(DIV_ROUND_UP(wrlen, 16)) | \ w 75 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h (w)->wr.wr_lo = cpu_to_be64(0); \ w 5776 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int mtu, w; w 5779 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c for (w = 0; w < NCCTRL_WIN; ++w) { w 5781 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ROWINDEX_V(0xffff) | (mtu << 5) | w); w 5782 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c incr[mtu][w] = (u16)t4_read_reg(adap, w 5872 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int i, w; w 5883 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c for (w = 0; w < NCCTRL_WIN; ++w) { w 5886 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c inc = max(((mtu - 40) * alpha[w]) / avg_pkts[w], w 5890 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c (w << 16) | (beta[w] << 13) | inc); w 768 drivers/net/ethernet/cortina/gemini.c unsigned int r, w; w 777 drivers/net/ethernet/cortina/gemini.c w = rw.bits.wptr; w 785 drivers/net/ethernet/cortina/gemini.c while (r != w) { w 1146 drivers/net/ethernet/cortina/gemini.c unsigned short w = *desc; w 1193 drivers/net/ethernet/cortina/gemini.c txq->skb[w] = skb; w 1201 drivers/net/ethernet/cortina/gemini.c txd = txq->ring + w; w 1208 drivers/net/ethernet/cortina/gemini.c w++; w 1209 drivers/net/ethernet/cortina/gemini.c w &= m; w 1213 drivers/net/ethernet/cortina/gemini.c *desc = w; w 1217 drivers/net/ethernet/cortina/gemini.c while (w != *desc) { w 1218 drivers/net/ethernet/cortina/gemini.c w--; w 1219 drivers/net/ethernet/cortina/gemini.c w &= m; w 1221 drivers/net/ethernet/cortina/gemini.c dma_unmap_page(geth->dev, txq->ring[w].word2.buf_adr, w 1222 drivers/net/ethernet/cortina/gemini.c txq->ring[w].word0.bits.buffer_size, w 1233 drivers/net/ethernet/cortina/gemini.c unsigned short r, w, d; w 1250 drivers/net/ethernet/cortina/gemini.c w = rw.bits.wptr; w 1252 drivers/net/ethernet/cortina/gemini.c d = txq->cptr - w - 1; w 1257 drivers/net/ethernet/cortina/gemini.c d = txq->cptr - w - 1; w 1275 drivers/net/ethernet/cortina/gemini.c if (gmac_map_tx_bufs(netdev, skb, txq, &w)) { w 1283 drivers/net/ethernet/cortina/gemini.c if (gmac_map_tx_bufs(netdev, skb, txq, &w)) w 1287 drivers/net/ethernet/cortina/gemini.c writew(w, ptr_reg + 2); w 1410 drivers/net/ethernet/cortina/gemini.c unsigned short r, w; w 1420 drivers/net/ethernet/cortina/gemini.c w = rw.bits.wptr; w 1422 drivers/net/ethernet/cortina/gemini.c while (budget && w != r) { w 59 drivers/net/ethernet/cortina/gemini.h #define __RWPTR_DISTANCE(r, w, mask) (((unsigned int)(w) - (r)) & (mask)) w 63 drivers/net/ethernet/cortina/gemini.h #define RWPTR_DISTANCE(r, w, order) __RWPTR_DISTANCE((r), (w), \ w 688 drivers/net/ethernet/davicom/dm9000.c static void dm9000_get_wol(struct net_device *dev, struct ethtool_wolinfo *w) w 692 drivers/net/ethernet/davicom/dm9000.c memset(w, 0, sizeof(struct ethtool_wolinfo)); w 695 drivers/net/ethernet/davicom/dm9000.c w->supported = dm->wake_supported ? WAKE_MAGIC : 0; w 696 drivers/net/ethernet/davicom/dm9000.c w->wolopts = dm->wake_state; w 699 drivers/net/ethernet/davicom/dm9000.c static int dm9000_set_wol(struct net_device *dev, struct ethtool_wolinfo *w) w 703 drivers/net/ethernet/davicom/dm9000.c u32 opts = w->wolopts; w 771 drivers/net/ethernet/davicom/dm9000.c dm9000_poll_work(struct work_struct *w) w 773 drivers/net/ethernet/davicom/dm9000.c struct delayed_work *dw = to_delayed_work(w); w 4391 drivers/net/ethernet/dec/tulip/de4x5.c u_short *w = (u_short *)p; w 4399 drivers/net/ethernet/dec/tulip/de4x5.c *p++ : get_unaligned_le16(w++)), dev); w 454 drivers/net/ethernet/freescale/enetc/enetc.c rxbd->w.addr = cpu_to_le64(rx_swbd->dma + w 411 drivers/net/ethernet/freescale/enetc/enetc_hw.h } w; w 464 drivers/net/ethernet/intel/fm10k/fm10k.h } w; w 92 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c rxd->w.length, rxd->w.vlan, rxd->w.dglort, w 93 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c rxd->w.sglort, rxd->q.timestamp); w 303 drivers/net/ethernet/intel/fm10k/fm10k_main.c unsigned int size = le16_to_cpu(rx_desc->w.length); w 405 drivers/net/ethernet/intel/fm10k/fm10k_main.c rss_type = le16_to_cpu(rx_desc->w.pkt_info) & FM10K_RXD_RSSTYPE_MASK; w 423 drivers/net/ethernet/intel/fm10k/fm10k_main.c u16 idx = le16_to_cpu(FM10K_CB(skb)->fi.w.dglort) - 1; w 464 drivers/net/ethernet/intel/fm10k/fm10k_main.c FM10K_CB(skb)->fi.w.vlan = rx_desc->w.vlan; w 468 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (rx_desc->w.vlan) { w 469 drivers/net/ethernet/intel/fm10k/fm10k_main.c u16 vid = le16_to_cpu(rx_desc->w.vlan); w 531 drivers/net/ethernet/intel/fm10k/fm10k_main.c ((rxd)->w.csum_err & cpu_to_le16(bit)) w 720 drivers/net/ethernet/intel/fm10k/fm10k_type.h } w; /* Writeback, 16b words */ w 385 drivers/net/ethernet/jme.h #define JME_NAPI_WEIGHT(w) int w w 386 drivers/net/ethernet/jme.h #define JME_NAPI_WEIGHT_VAL(w) w w 387 drivers/net/ethernet/jme.h #define JME_NAPI_WEIGHT_SET(w, r) w 64 drivers/net/ethernet/marvell/mv643xx_eth.c #define WINDOW_BASE(w) (0x0200 + ((w) << 3)) w 65 drivers/net/ethernet/marvell/mv643xx_eth.c #define WINDOW_SIZE(w) (0x0204 + ((w) << 3)) w 66 drivers/net/ethernet/marvell/mv643xx_eth.c #define WINDOW_REMAP_HIGH(w) (0x0280 + ((w) << 2)) w 68 drivers/net/ethernet/marvell/mv643xx_eth.c #define WINDOW_PROTECT(w) (0x0294 + ((w) << 4)) w 72 drivers/net/ethernet/marvell/mvneta.c #define MVNETA_WIN_BASE(w) (0x2200 + ((w) << 3)) w 73 drivers/net/ethernet/marvell/mvneta.c #define MVNETA_WIN_SIZE(w) (0x2204 + ((w) << 3)) w 74 drivers/net/ethernet/marvell/mvneta.c #define MVNETA_WIN_REMAP(w) (0x2280 + ((w) << 2)) w 207 drivers/net/ethernet/marvell/mvpp2/mvpp2.h #define MVPP2_WIN_BASE(w) (0x4000 + ((w) << 2)) w 208 drivers/net/ethernet/marvell/mvpp2/mvpp2.h #define MVPP2_WIN_SIZE(w) (0x4020 + ((w) << 2)) w 209 drivers/net/ethernet/marvell/mvpp2/mvpp2.h #define MVPP2_WIN_REMAP(w) (0x4040 + ((w) << 2)) w 384 drivers/net/ethernet/micrel/ks8851_mll.c u16 w; w 386 drivers/net/ethernet/micrel/ks8851_mll.c w = ks_rdreg16(ks, KS_TXCR); w 388 drivers/net/ethernet/micrel/ks8851_mll.c ks_wrreg16(ks, KS_TXCR, w | TXCR_TXE); w 395 drivers/net/ethernet/micrel/ks8851_mll.c w = ks_rdreg16(ks, KS_RXQCR); w 396 drivers/net/ethernet/micrel/ks8851_mll.c ks_wrreg16(ks, KS_RXQCR, w | RXQCR_RXFCTE); w 399 drivers/net/ethernet/micrel/ks8851_mll.c w = ks_rdreg16(ks, KS_RXCR1); w 400 drivers/net/ethernet/micrel/ks8851_mll.c ks_wrreg16(ks, KS_RXCR1, w | RXCR1_RXE); w 406 drivers/net/ethernet/micrel/ks8851_mll.c u16 w; w 408 drivers/net/ethernet/micrel/ks8851_mll.c w = ks_rdreg16(ks, KS_TXCR); w 411 drivers/net/ethernet/micrel/ks8851_mll.c w &= ~TXCR_TXE; w 412 drivers/net/ethernet/micrel/ks8851_mll.c ks_wrreg16(ks, KS_TXCR, w); w 415 drivers/net/ethernet/micrel/ks8851_mll.c w = ks_rdreg16(ks, KS_RXCR1); w 416 drivers/net/ethernet/micrel/ks8851_mll.c w &= ~RXCR1_RXE ; w 417 drivers/net/ethernet/micrel/ks8851_mll.c ks_wrreg16(ks, KS_RXCR1, w); w 437 drivers/net/ethernet/micrel/ks8851_mll.c u32 w = ks->extra_byte - r; w 452 drivers/net/ethernet/micrel/ks8851_mll.c ks_inblk(ks, buf, w + 2 + 2); w 928 drivers/net/ethernet/micrel/ks8851_mll.c u16 w, u; w 933 drivers/net/ethernet/micrel/ks8851_mll.c w = ((u & 0xFF) << 8) | ((u >> 8) & 0xFF); w 934 drivers/net/ethernet/micrel/ks8851_mll.c ks_wrreg16(ks, KS_MARH, w); w 937 drivers/net/ethernet/micrel/ks8851_mll.c w = ((u & 0xFF) << 8) | ((u >> 8) & 0xFF); w 938 drivers/net/ethernet/micrel/ks8851_mll.c ks_wrreg16(ks, KS_MARM, w); w 941 drivers/net/ethernet/micrel/ks8851_mll.c w = ((u & 0xFF) << 8) | ((u >> 8) & 0xFF); w 942 drivers/net/ethernet/micrel/ks8851_mll.c ks_wrreg16(ks, KS_MARL, w); w 1157 drivers/net/ethernet/micrel/ks8851_mll.c u16 w; w 1182 drivers/net/ethernet/micrel/ks8851_mll.c w = ks_rdreg16(ks, KS_P1MBCR); w 1183 drivers/net/ethernet/micrel/ks8851_mll.c w &= ~BMCR_FULLDPLX; w 1184 drivers/net/ethernet/micrel/ks8851_mll.c ks_wrreg16(ks, KS_P1MBCR, w); w 1186 drivers/net/ethernet/micrel/ks8851_mll.c w = TXCR_TXFCE | TXCR_TXPE | TXCR_TXCRC | TXCR_TCGIP; w 1187 drivers/net/ethernet/micrel/ks8851_mll.c ks_wrreg16(ks, KS_TXCR, w); w 1189 drivers/net/ethernet/micrel/ks8851_mll.c w = RXCR1_RXFCE | RXCR1_RXBE | RXCR1_RXUE | RXCR1_RXME | RXCR1_RXIPFCC; w 1192 drivers/net/ethernet/micrel/ks8851_mll.c w |= (RXCR1_RXAE | RXCR1_RXINVF); w 1194 drivers/net/ethernet/micrel/ks8851_mll.c w |= (RXCR1_RXAE | RXCR1_RXMAFMA | RXCR1_RXPAFMA); w 1196 drivers/net/ethernet/micrel/ks8851_mll.c w |= RXCR1_RXPAFMA; w 1198 drivers/net/ethernet/micrel/ks8851_mll.c ks_wrreg16(ks, KS_RXCR1, w); w 19 drivers/net/ethernet/mscc/ocelot_board.c #define IFH_EXTRACT_BITFIELD64(x, o, w) (((x) >> (o)) & GENMASK_ULL((w) - 1, 0)) w 29 drivers/net/ethernet/pensando/ionic/ionic_lif.c struct ionic_deferred_work *w = NULL; w 33 drivers/net/ethernet/pensando/ionic/ionic_lif.c w = list_first_entry(&def->list, w 35 drivers/net/ethernet/pensando/ionic/ionic_lif.c list_del(&w->list); w 39 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (w) { w 40 drivers/net/ethernet/pensando/ionic/ionic_lif.c switch (w->type) { w 42 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_lif_rx_mode(lif, w->rx_mode); w 45 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_lif_addr_add(lif, w->addr); w 48 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_lif_addr_del(lif, w->addr); w 56 drivers/net/ethernet/pensando/ionic/ionic_lif.c kfree(w); w 1911 drivers/net/ethernet/realtek/r8169_main.c u16 w; w 1926 drivers/net/ethernet/realtek/r8169_main.c for (w = RTL_R16(tp, IntrMitigate); w; w >>= RTL_COALESCE_SHIFT, p++) { w 1927 drivers/net/ethernet/realtek/r8169_main.c *p->max_frames = (w & RTL_COALESCE_MASK) << 2; w 1928 drivers/net/ethernet/realtek/r8169_main.c w >>= RTL_COALESCE_SHIFT; w 1929 drivers/net/ethernet/realtek/r8169_main.c *p->usecs = w & RTL_COALESCE_MASK; w 1981 drivers/net/ethernet/realtek/r8169_main.c u16 w = 0, cp01; w 2015 drivers/net/ethernet/realtek/r8169_main.c w <<= RTL_COALESCE_SHIFT; w 2016 drivers/net/ethernet/realtek/r8169_main.c w |= units; w 2017 drivers/net/ethernet/realtek/r8169_main.c w <<= RTL_COALESCE_SHIFT; w 2018 drivers/net/ethernet/realtek/r8169_main.c w |= p->frames >> 2; w 2023 drivers/net/ethernet/realtek/r8169_main.c RTL_W16(tp, IntrMitigate, swab16(w)); w 2983 drivers/net/ethernet/realtek/r8169_main.c const u16 w[] = { w 2989 drivers/net/ethernet/realtek/r8169_main.c rtl_eri_write(tp, 0xe0, ERIAR_MASK_1111, w[0] | (w[1] << 16)); w 2990 drivers/net/ethernet/realtek/r8169_main.c rtl_eri_write(tp, 0xe4, ERIAR_MASK_1111, w[2]); w 2991 drivers/net/ethernet/realtek/r8169_main.c rtl_eri_write(tp, 0xf0, ERIAR_MASK_1111, w[0] << 16); w 2992 drivers/net/ethernet/realtek/r8169_main.c rtl_eri_write(tp, 0xf4, ERIAR_MASK_1111, w[1] | (w[2] << 16)); w 4410 drivers/net/ethernet/realtek/r8169_main.c u16 w; w 4413 drivers/net/ethernet/realtek/r8169_main.c w = (rtl_ephy_read(tp, e->offset) & ~e->mask) | e->bits; w 4414 drivers/net/ethernet/realtek/r8169_main.c rtl_ephy_write(tp, e->offset, w); w 1597 drivers/net/ethernet/sis/sis190.c u16 w = sis190_read_eeprom(ioaddr, EEPROMMACAddr + i); w 1599 drivers/net/ethernet/sis/sis190.c ((__le16 *)dev->dev_addr)[i] = cpu_to_le16(w); w 1102 drivers/net/ethernet/sis/sis900.c u32 w = (u32) *((u16 *)(net_dev->dev_addr)+i); w 1105 drivers/net/ethernet/sis/sis900.c sw32(rfdr, w); w 1034 drivers/net/ethernet/smsc/smc91c92_cs.c u_short i, w, save; w 1036 drivers/net/ethernet/smsc/smc91c92_cs.c for (w = 0; w < 4; w++) { w 1037 drivers/net/ethernet/smsc/smc91c92_cs.c SMC_SELECT_BANK(w); w 1038 drivers/net/ethernet/smsc/smc91c92_cs.c netdev_dbg(dev, "bank %d: ", w); w 26 drivers/net/ethernet/ti/netcp_xgbepcsr.c #define MASK_WID_SH(w, s) (((1 << w) - 1) << s) w 1265 drivers/net/ethernet/via/via-velocity.h u16 w;\ w 1266 drivers/net/ethernet/via/via-velocity.h velocity_mii_read((p),(i),&(w));\ w 1267 drivers/net/ethernet/via/via-velocity.h (w)|=(x);\ w 1268 drivers/net/ethernet/via/via-velocity.h velocity_mii_write((p),(i),(w));\ w 1272 drivers/net/ethernet/via/via-velocity.h u16 w;\ w 1273 drivers/net/ethernet/via/via-velocity.h velocity_mii_read((p),(i),&(w));\ w 1274 drivers/net/ethernet/via/via-velocity.h (w)&=(~(x));\ w 1275 drivers/net/ethernet/via/via-velocity.h velocity_mii_write((p),(i),(w));\ w 1279 drivers/net/ethernet/via/via-velocity.h u16 w;\ w 1280 drivers/net/ethernet/via/via-velocity.h velocity_mii_read((p),(i),&(w));\ w 1281 drivers/net/ethernet/via/via-velocity.h ((int) ((w) & (x)));}) w 61 drivers/net/hyperv/netvsc.c static void netvsc_subchan_work(struct work_struct *w) w 64 drivers/net/hyperv/netvsc.c container_of(w, struct netvsc_device, subchan_work); w 70 drivers/net/hyperv/netvsc.c schedule_work(w); w 1888 drivers/net/hyperv/netvsc_drv.c static void netvsc_link_change(struct work_struct *w) w 1891 drivers/net/hyperv/netvsc_drv.c container_of(w, struct net_device_context, dwork.work); w 2106 drivers/net/hyperv/netvsc_drv.c static void netvsc_vf_setup(struct work_struct *w) w 2109 drivers/net/hyperv/netvsc_drv.c = container_of(w, struct net_device_context, vf_takeover.work); w 26 drivers/net/hyperv/rndis_filter.c static void rndis_set_multicast(struct work_struct *w); w 919 drivers/net/hyperv/rndis_filter.c static void rndis_set_multicast(struct work_struct *w) w 922 drivers/net/hyperv/rndis_filter.c = container_of(w, struct rndis_device, mcast_work); w 294 drivers/net/macvlan.c static void macvlan_process_broadcast(struct work_struct *w) w 296 drivers/net/macvlan.c struct macvlan_port *port = container_of(w, struct macvlan_port, w 470 drivers/net/phy/phylink.c static void phylink_resolve(struct work_struct *w) w 472 drivers/net/phy/phylink.c struct phylink *pl = container_of(w, struct phylink, resolve); w 1154 drivers/net/wan/sbni.c struct timer_list *w = &nl->watchdog; w 1195 drivers/net/wan/sbni.c timer_setup(w, sbni_watchdog, 0); w 1196 drivers/net/wan/sbni.c w->expires = jiffies + SBNI_TIMEOUT; w 1197 drivers/net/wan/sbni.c add_timer( w ); w 1077 drivers/net/wireless/ath/wil6210/wil6210.h #define wiphy_to_wil(w) (struct wil6210_priv *)(wiphy_priv(w)) w 1078 drivers/net/wireless/ath/wil6210/wil6210.h #define wdev_to_wil(w) (struct wil6210_priv *)(wdev_priv(w)) w 344 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h static inline struct brcmf_cfg80211_info *wiphy_to_cfg(struct wiphy *w) w 346 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h struct brcmf_pub *drvr = wiphy_priv(w); w 546 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c u32 w; w 557 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c w = bcma_read32(cc, regoff); w 559 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c return w; w 697 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c u32 w = 0; w 705 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c pci_read_config_dword(sii->pcibus, PCI_VENDOR_ID, &w); w 706 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c if ((w & 0xFFFF) != PCI_VENDOR_ID_BROADCOM) w 94 drivers/net/wireless/broadcom/brcm80211/brcmsmac/d11.h } w; w 385 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c u32 w; w 387 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c w = bcma_read32(di->core, ctrl_offset); w 389 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c return (w & D64_XC_AE) == D64_XC_AE; w 2760 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c u32 w, val; w 2767 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c w = bcma_read32(core, D11REGOFFS(objdata)); w 2798 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c bcma_write32(core, D11REGOFFS(objdata), w); w 2803 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c w = bcma_read32(core, D11REGOFFS(maccontrol)); w 2804 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if ((w != (MCTL_IHR_EN | MCTL_WAKE)) && w 2805 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c (w != (MCTL_IHR_EN | MCTL_GMODE | MCTL_WAKE))) { w 2807 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c "0x%x, expected 0x%x or 0x%x\n", wlc_hw->unit, w, w 1045 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h #define wlc_nphy_table_data_write(pi, w, v) \ w 1046 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h wlc_phy_table_data_write((pi), (w), (v)) w 1048 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h void wlc_phy_table_read_nphy(struct brcms_phy *pi, u32, u32 l, u32 o, u32 w, w 2667 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 r, w, i, s; w 2674 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_MEM_HOST_SHARED_RX_WRITE_INDEX, &w); w 2814 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 r, w, frag_num = 0; w 2853 drivers/net/wireless/intel/ipw2x00/ipw2100.c &w); w 2854 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (w != txq->next) w 2880 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (!((r <= w && (e < r || e >= w)) || (e < r && e >= w))) { w 4388 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 r, u32 w) w 4398 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, w, q->next); w 8255 drivers/net/wireless/intel/ipw2x00/ipw2200.c u32 r, w, i; w 8260 drivers/net/wireless/intel/ipw2x00/ipw2200.c w = ipw_read32(priv, IPW_RX_WRITE_INDEX); w 81 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c struct iwl_notification_wait *w; w 84 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c list_for_each_entry(w, ¬if_wait->notif_waits, list) { w 94 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c if (w->triggered || w->aborted) w 97 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c for (i = 0; i < w->n_cmds; i++) { w 101 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c if (w->cmds[i] == rec_id || w 102 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c (!iwl_cmd_groupid(w->cmds[i]) && w 103 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c DEF_ID(w->cmds[i]) == rec_id)) { w 111 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { w 112 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c w->triggered = true; w 1003 drivers/net/wireless/intel/iwlwifi/pcie/internal.h int w = iwl_pcie_get_cmd_index(q, q->write_ptr); w 1005 drivers/net/wireless/intel/iwlwifi/pcie/internal.h return w >= r ? w 1006 drivers/net/wireless/intel/iwlwifi/pcie/internal.h (index >= r && index < w) : w 1007 drivers/net/wireless/intel/iwlwifi/pcie/internal.h !(index < r && index >= w); w 1039 drivers/nvme/host/tcp.c static void nvme_tcp_io_work(struct work_struct *w) w 1042 drivers/nvme/host/tcp.c container_of(w, struct nvme_tcp_queue, io_work); w 218 drivers/nvme/target/io-cmd-file.c static void nvmet_file_buffered_io_work(struct work_struct *w) w 220 drivers/nvme/target/io-cmd-file.c struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); w 267 drivers/nvme/target/io-cmd-file.c static void nvmet_file_flush_work(struct work_struct *w) w 269 drivers/nvme/target/io-cmd-file.c struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); w 315 drivers/nvme/target/io-cmd-file.c static void nvmet_file_dsm_work(struct work_struct *w) w 317 drivers/nvme/target/io-cmd-file.c struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); w 338 drivers/nvme/target/io-cmd-file.c static void nvmet_file_write_zeroes_work(struct work_struct *w) w 340 drivers/nvme/target/io-cmd-file.c struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); w 1081 drivers/nvme/target/rdma.c static void nvmet_rdma_release_queue_work(struct work_struct *w) w 1084 drivers/nvme/target/rdma.c container_of(w, struct nvmet_rdma_queue, release_work); w 1167 drivers/nvme/target/tcp.c static void nvmet_tcp_io_work(struct work_struct *w) w 1170 drivers/nvme/target/tcp.c container_of(w, struct nvmet_tcp_queue, io_work); w 1335 drivers/nvme/target/tcp.c static void nvmet_tcp_release_queue_work(struct work_struct *w) w 1338 drivers/nvme/target/tcp.c container_of(w, struct nvmet_tcp_queue, release_work); w 1532 drivers/nvme/target/tcp.c static void nvmet_tcp_accept_work(struct work_struct *w) w 1535 drivers/nvme/target/tcp.c container_of(w, struct nvmet_tcp_port, accept_work); w 129 drivers/of/address.c u32 w = be32_to_cpup(addr); w 131 drivers/of/address.c switch((w >> 24) & 0x03) { w 140 drivers/of/address.c if (w & 0x40000000) w 417 drivers/of/address.c u32 w = be32_to_cpup(addr); w 419 drivers/of/address.c if (w & 1) w 278 drivers/parisc/dino.c DINO_PORT_IN(w, 16, 2) w 294 drivers/parisc/dino.c DINO_PORT_OUT(w, 16, 2) w 137 drivers/parport/parport_gsc.c unsigned char r, w; w 148 drivers/parport/parport_gsc.c w = 0xc; w 149 drivers/parport/parport_gsc.c parport_writeb (w, CONTROL (pb)); w 157 drivers/parport/parport_gsc.c if ((r & 0xf) == w) { w 158 drivers/parport/parport_gsc.c w = 0xe; w 159 drivers/parport/parport_gsc.c parport_writeb (w, CONTROL (pb)); w 162 drivers/parport/parport_gsc.c if ((r & 0xf) == w) w 168 drivers/parport/parport_gsc.c w = 0xaa; w 169 drivers/parport/parport_gsc.c parport_gsc_write_data (pb, w); w 171 drivers/parport/parport_gsc.c if (r == w) { w 172 drivers/parport/parport_gsc.c w = 0x55; w 173 drivers/parport/parport_gsc.c parport_gsc_write_data (pb, w); w 175 drivers/parport/parport_gsc.c if (r == w) w 1416 drivers/parport/parport_pc.c unsigned char r, w; w 1427 drivers/parport/parport_pc.c w = 0xc; w 1428 drivers/parport/parport_pc.c outb(w, CONTROL(pb)); w 1436 drivers/parport/parport_pc.c if ((r & 0xf) == w) { w 1437 drivers/parport/parport_pc.c w = 0xe; w 1438 drivers/parport/parport_pc.c outb(w, CONTROL(pb)); w 1441 drivers/parport/parport_pc.c if ((r & 0xf) == w) w 1449 drivers/parport/parport_pc.c "wrote 0x%02x, read 0x%02x\n", pb->base, w, r); w 1453 drivers/parport/parport_pc.c w = 0xaa; w 1454 drivers/parport/parport_pc.c parport_pc_write_data(pb, w); w 1456 drivers/parport/parport_pc.c if (r == w) { w 1457 drivers/parport/parport_pc.c w = 0x55; w 1458 drivers/parport/parport_pc.c parport_pc_write_data(pb, w); w 1460 drivers/parport/parport_pc.c if (r == w) w 1468 drivers/parport/parport_pc.c "wrote 0x%02x, read 0x%02x\n", pb->base, w, r); w 54 drivers/pcmcia/cirrus.h #define PD67_IO_OFF(w) (0x36+((w)<<1)) w 227 drivers/pcmcia/pcmcia_resource.c unsigned int w; w 230 drivers/pcmcia/pcmcia_resource.c w = ((res->flags & IORESOURCE_BITS & WIN_FLAGS_REQ) >> 2) - 1; w 231 drivers/pcmcia/pcmcia_resource.c if (w >= MAX_WIN) w 235 drivers/pcmcia/pcmcia_resource.c s->win[w].card_start = offset; w 236 drivers/pcmcia/pcmcia_resource.c ret = s->ops->set_mem_map(s, &s->win[w]); w 432 drivers/pcmcia/pcmcia_resource.c unsigned int w; w 436 drivers/pcmcia/pcmcia_resource.c w = ((res->flags & IORESOURCE_BITS & WIN_FLAGS_REQ) >> 2) - 1; w 437 drivers/pcmcia/pcmcia_resource.c if (w >= MAX_WIN) w 441 drivers/pcmcia/pcmcia_resource.c win = &s->win[w]; w 443 drivers/pcmcia/pcmcia_resource.c if (!(p_dev->_win & CLIENT_WIN_REQ(w))) { w 452 drivers/pcmcia/pcmcia_resource.c s->state &= ~SOCKET_WIN_REQ(w); w 463 drivers/pcmcia/pcmcia_resource.c p_dev->_win &= ~CLIENT_WIN_REQ(w); w 841 drivers/pcmcia/pcmcia_resource.c int w; w 868 drivers/pcmcia/pcmcia_resource.c for (w = 0; w < MAX_WIN; w++) w 869 drivers/pcmcia/pcmcia_resource.c if (!(s->state & SOCKET_WIN_REQ(w))) w 871 drivers/pcmcia/pcmcia_resource.c if (w == MAX_WIN) { w 877 drivers/pcmcia/pcmcia_resource.c win = &s->win[w]; w 888 drivers/pcmcia/pcmcia_resource.c p_dev->_win |= CLIENT_WIN_REQ(w); w 891 drivers/pcmcia/pcmcia_resource.c win->map = w+1; w 901 drivers/pcmcia/pcmcia_resource.c s->state |= SOCKET_WIN_REQ(w); w 40 drivers/pcmcia/ricoh.h #define RF5C_IO_OFF(w) (0x36+((w)<<1)) w 78 drivers/platform/olpc/olpc-ec.c static void olpc_ec_worker(struct work_struct *w) w 80 drivers/platform/olpc/olpc-ec.c struct olpc_ec_priv *ec = container_of(w, struct olpc_ec_priv, worker); w 400 drivers/s390/char/raw3270.c short w; /* Width of usable area */ w 485 drivers/s390/char/raw3270.c rp->cols = uap->uab.w; w 20 drivers/s390/cio/cio.h u32 w : 1; w 527 drivers/s390/cio/css.c if ((schib->pmcw.st == SUBCHANNEL_TYPE_MSG) && !schib->pmcw.w) w 43 drivers/s390/cio/fcx.c if (tcw->w) w 82 drivers/s390/cio/fcx.c void tcw_init(struct tcw *tcw, int r, int w) w 89 drivers/s390/cio/fcx.c if (w) w 90 drivers/s390/cio/fcx.c tcw->w = 1; w 170 drivers/s390/cio/fcx.c if (tcw->w && (tcw->flags & TCW_FLAGS_OUTPUT_TIDA)) w 174 drivers/s390/cio/fcx.c else if (tcw->w) w 213 drivers/s390/cio/fcx.c } else if (tcw->w) { w 2516 drivers/s390/net/qeth_l3_main.c #define to_ip_work(w) container_of((w), struct qeth_l3_ip_event_work, work) w 2798 drivers/scsi/advansys.c ushort w, num; w 2806 drivers/scsi/advansys.c w = serialnum[0]; w 2809 drivers/scsi/advansys.c if ((*cp = 'A' + ((w & 0xE000) >> 13)) == 'H') { w 2816 drivers/scsi/advansys.c *cp++ = 'A' + ((w & 0x1C00) >> 10); w 2819 drivers/scsi/advansys.c num = w & 0x3FF; w 2830 drivers/scsi/advansys.c w = serialnum[1]; w 2839 drivers/scsi/advansys.c *cp++ = '8' + ((w & 0x1C0) >> 6); w 2841 drivers/scsi/advansys.c *cp++ = '0' + ((w & 0x1C0) >> 6); w 2845 drivers/scsi/advansys.c num = w & 0x003F; w 2853 drivers/scsi/advansys.c w = serialnum[2] & 0x7FFF; w 2856 drivers/scsi/advansys.c *cp++ = 'A' + (w / 1000); w 2859 drivers/scsi/advansys.c num = w % 1000; w 70 drivers/scsi/aic94xx/aic94xx_reg.h ASD_READ_OCM(u16,word, w); w 83 drivers/scsi/aic94xx/aic94xx_reg.h ASD_WRITE_OCM(u16,word, w); w 687 drivers/scsi/atp870u.c unsigned short int w; w 770 drivers/scsi/atp870u.c w = 1; w 771 drivers/scsi/atp870u.c w = w << target_id; w 772 drivers/scsi/atp870u.c if ((w & dev->wide_id[c]) != 0) { w 293 drivers/scsi/bfa/bfa_cs.h } w; w 295 drivers/scsi/bfa/bfa_cs.h w.wwn = wwn; w 296 drivers/scsi/bfa/bfa_cs.h sprintf(wwn_str, "%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x", w.byte[0], w 297 drivers/scsi/bfa/bfa_cs.h w.byte[1], w.byte[2], w.byte[3], w.byte[4], w.byte[5], w 298 drivers/scsi/bfa/bfa_cs.h w.byte[6], w.byte[7]); w 6940 drivers/scsi/bfa/bfa_ioc.c u32 w = readl(pci_bar + FLI_RDDATA_REG); w 6941 drivers/scsi/bfa/bfa_ioc.c *((u32 *) (buf + i)) = swab32(w); w 125 drivers/scsi/esas2r/esas2r.h #define LOBYTE(w) ((u8)(u16)(w)) w 126 drivers/scsi/esas2r/esas2r.h #define HIBYTE(w) ((u8)(((u16)(w)) >> 8)) w 210 drivers/scsi/lpfc/lpfc_bsg.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 2693 drivers/scsi/lpfc/lpfc_bsg.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 2928 drivers/scsi/lpfc/lpfc_bsg.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 263 drivers/scsi/lpfc/lpfc_ct.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 1643 drivers/scsi/lpfc/lpfc_ct.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 335 drivers/scsi/lpfc/lpfc_debugfs.c le32_to_cpu(hbqe->bde.tus.w), w 292 drivers/scsi/lpfc/lpfc_els.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 300 drivers/scsi/lpfc/lpfc_els.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 5797 drivers/scsi/lpfc/lpfc_els.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 229 drivers/scsi/lpfc/lpfc_hw4.h uint32_t w; w 461 drivers/scsi/lpfc/lpfc_nvme.c bde.tus.w = bpl[i].tus.w; w 642 drivers/scsi/lpfc/lpfc_nvme.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 649 drivers/scsi/lpfc/lpfc_nvme.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 1452 drivers/scsi/lpfc/lpfc_nvme.c bde->tus.w = cpu_to_le32(bde->tus.w); w 896 drivers/scsi/lpfc/lpfc_nvmet.c bpl.tus.w = le32_to_cpu(bpl.tus.w); w 2924 drivers/scsi/lpfc/lpfc_nvmet.c bde->tus.w = cpu_to_le32(bde->tus.w); w 401 drivers/scsi/lpfc/lpfc_scsi.c bpl[0].tus.w = le32_to_cpu(bpl[0].tus.w); w 408 drivers/scsi/lpfc/lpfc_scsi.c bpl[1].tus.w = le32_to_cpu(bpl[1].tus.w); w 904 drivers/scsi/lpfc/lpfc_scsi.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 1652 drivers/scsi/lpfc/lpfc_scsi.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 1874 drivers/scsi/lpfc/lpfc_scsi.c bpl->tus.w = le32_to_cpu(bpl->tus.w); w 3197 drivers/scsi/lpfc/lpfc_scsi.c bde->tus.w = cpu_to_le32(bde->tus.w); w 2049 drivers/scsi/lpfc/lpfc_sli.c hbqe->bde.tus.w = le32_to_cpu(hbqe->bde.tus.w); w 9226 drivers/scsi/lpfc/lpfc_sli.c bde.tus.w = le32_to_cpu(bpl->tus.w); w 9335 drivers/scsi/lpfc/lpfc_sli.c wqe->generic.bde.tus.w = le32_to_cpu(bpl->tus.w); w 9339 drivers/scsi/lpfc/lpfc_sli.c bde.tus.w = le32_to_cpu(bpl[i].tus.w); w 9650 drivers/scsi/lpfc/lpfc_sli.c bde.tus.w = le32_to_cpu(bpl[i].tus.w); w 12896 drivers/scsi/lpfc/lpfc_sli.c bde.tus.w = le32_to_cpu(bpl[1].tus.w); w 12908 drivers/scsi/lpfc/lpfc_sli.c bde.tus.w = le32_to_cpu(bpl[i].tus.w); w 19758 drivers/scsi/lpfc/lpfc_sli.c bde.tus.w = le32_to_cpu(bpl->tus.w); w 504 drivers/scsi/megaraid/megaraid_sas.h u32 w; w 1914 drivers/scsi/megaraid/megaraid_sas.h __le32 w[3]; w 2192 drivers/scsi/megaraid/megaraid_sas.h __le32 w[24]; w 6514 drivers/scsi/megaraid/megaraid_sas_base.c le32_to_cpu(instance->aen_cmd->frame->dcmd.mbox.w[1]); w 6583 drivers/scsi/megaraid/megaraid_sas_base.c dcmd->mbox.w[0] = cpu_to_le32(seq_num); w 6585 drivers/scsi/megaraid/megaraid_sas_base.c dcmd->mbox.w[1] = cpu_to_le32(curr_aen.word); w 7990 drivers/scsi/megaraid/megaraid_sas_base.c crash_support = cmd->frame->dcmd.mbox.w[0]; w 61 drivers/scsi/mvsas/mv_sas.h #define MV_INIT_DELAYED_WORK(w, f, d) INIT_DELAYED_WORK(w, f) w 646 drivers/scsi/qla1280.c nv->firmware_feature.w = cpu_to_le16(nv->firmware_feature.w); w 392 drivers/scsi/qla1280.h uint16_t w; w 2322 drivers/scsi/qla2xxx/qla_init.c uint16_t w; w 2330 drivers/scsi/qla2xxx/qla_init.c pci_read_config_word(ha->pdev, PCI_COMMAND, &w); w 2331 drivers/scsi/qla2xxx/qla_init.c w |= (PCI_COMMAND_PARITY | PCI_COMMAND_SERR); w 2332 drivers/scsi/qla2xxx/qla_init.c pci_write_config_word(ha->pdev, PCI_COMMAND, w); w 2353 drivers/scsi/qla2xxx/qla_init.c uint16_t w; w 2362 drivers/scsi/qla2xxx/qla_init.c pci_read_config_word(ha->pdev, PCI_COMMAND, &w); w 2363 drivers/scsi/qla2xxx/qla_init.c w |= (PCI_COMMAND_PARITY | PCI_COMMAND_SERR); w 2366 drivers/scsi/qla2xxx/qla_init.c w &= ~PCI_COMMAND_INTX_DISABLE; w 2367 drivers/scsi/qla2xxx/qla_init.c pci_write_config_word(ha->pdev, PCI_COMMAND, w); w 2435 drivers/scsi/qla2xxx/qla_init.c uint16_t w; w 2443 drivers/scsi/qla2xxx/qla_init.c pci_read_config_word(ha->pdev, PCI_COMMAND, &w); w 2444 drivers/scsi/qla2xxx/qla_init.c w |= (PCI_COMMAND_PARITY | PCI_COMMAND_SERR); w 2445 drivers/scsi/qla2xxx/qla_init.c w &= ~PCI_COMMAND_INTX_DISABLE; w 2446 drivers/scsi/qla2xxx/qla_init.c pci_write_config_word(ha->pdev, PCI_COMMAND, w); w 2479 drivers/scsi/qla2xxx/qla_init.c uint16_t w; w 2485 drivers/scsi/qla2xxx/qla_init.c pci_read_config_word(ha->pdev, PCI_COMMAND, &w); w 2486 drivers/scsi/qla2xxx/qla_init.c w |= (PCI_COMMAND_PARITY | PCI_COMMAND_SERR); w 2487 drivers/scsi/qla2xxx/qla_init.c w &= ~PCI_COMMAND_INTX_DISABLE; w 2488 drivers/scsi/qla2xxx/qla_init.c pci_write_config_word(ha->pdev, PCI_COMMAND, w); w 414 drivers/scsi/qla2xxx/qla_mbx.c uint16_t w; w 443 drivers/scsi/qla2xxx/qla_mbx.c pci_read_config_word(ha->pdev, PCI_VENDOR_ID, &w); w 444 drivers/scsi/qla2xxx/qla_mbx.c if (w == 0xffff || ictrl == 0xffffffff || w 500 drivers/scsi/qla2xxx/qla_mr.c uint16_t w; w 506 drivers/scsi/qla2xxx/qla_mr.c pci_read_config_word(ha->pdev, PCI_COMMAND, &w); w 507 drivers/scsi/qla2xxx/qla_mr.c w |= (PCI_COMMAND_PARITY | PCI_COMMAND_SERR); w 508 drivers/scsi/qla2xxx/qla_mr.c w &= ~PCI_COMMAND_INTX_DISABLE; w 509 drivers/scsi/qla2xxx/qla_mr.c pci_write_config_word(ha->pdev, PCI_COMMAND, w); w 6537 drivers/scsi/qla2xxx/qla_os.c uint16_t w; w 6554 drivers/scsi/qla2xxx/qla_os.c pci_read_config_word(ha->pdev, PCI_VENDOR_ID, &w); w 6555 drivers/scsi/qla2xxx/qla_os.c qla2x00_check_reg16_for_disconnect(vha, w); w 663 drivers/scsi/qla4xxx/ql4_init.c uint16_t w; w 675 drivers/scsi/qla4xxx/ql4_init.c pci_read_config_word(ha->pdev, PCI_COMMAND, &w); w 676 drivers/scsi/qla4xxx/ql4_init.c w |= PCI_COMMAND_PARITY | PCI_COMMAND_SERR; w 677 drivers/scsi/qla4xxx/ql4_init.c w &= ~PCI_COMMAND_INTX_DISABLE; w 678 drivers/scsi/qla4xxx/ql4_init.c pci_write_config_word(ha->pdev, PCI_COMMAND, w); w 4524 drivers/scsi/qla4xxx/ql4_os.c uint16_t w; w 4538 drivers/scsi/qla4xxx/ql4_os.c pci_read_config_word(ha->pdev, PCI_VENDOR_ID, &w); w 120 drivers/spi/spi-omap-uwire.c u16 w, val = 0; w 135 drivers/spi/spi-omap-uwire.c w = uwire_read_reg(reg); w 136 drivers/spi/spi-omap-uwire.c w &= ~(0x3f << shift); w 137 drivers/spi/spi-omap-uwire.c w |= val << shift; w 138 drivers/spi/spi-omap-uwire.c uwire_write_reg(reg, w); w 143 drivers/spi/spi-omap-uwire.c u16 w; w 148 drivers/spi/spi-omap-uwire.c w = uwire_read_reg(UWIRE_CSR); w 149 drivers/spi/spi-omap-uwire.c if ((w & mask) == val) w 154 drivers/spi/spi-omap-uwire.c __func__, w, mask, val); w 166 drivers/spi/spi-omap-uwire.c u16 w; w 168 drivers/spi/spi-omap-uwire.c w = uwire_read_reg(UWIRE_SR3); w 169 drivers/spi/spi-omap-uwire.c w &= ~(0x03 << 1); w 170 drivers/spi/spi-omap-uwire.c w |= div1_idx << 1; w 171 drivers/spi/spi-omap-uwire.c uwire_write_reg(UWIRE_SR3, w); w 177 drivers/spi/spi-omap-uwire.c u16 w; w 183 drivers/spi/spi-omap-uwire.c w = uwire_read_reg(UWIRE_CSR); w 184 drivers/spi/spi-omap-uwire.c old_cs = (w >> 10) & 0x03; w 187 drivers/spi/spi-omap-uwire.c w &= ~CS_CMD; w 188 drivers/spi/spi-omap-uwire.c uwire_write_reg(UWIRE_CSR, w); w 199 drivers/spi/spi-omap-uwire.c w = spi->chip_select << 10; w 200 drivers/spi/spi-omap-uwire.c w |= CS_CMD; w 201 drivers/spi/spi-omap-uwire.c uwire_write_reg(UWIRE_CSR, w); w 210 drivers/spi/spi-omap-uwire.c u16 val, w; w 216 drivers/spi/spi-omap-uwire.c w = spi->chip_select << 10; w 217 drivers/spi/spi-omap-uwire.c w |= CS_CMD; w 247 drivers/spi/spi-omap-uwire.c val = START | w | (bits << 5); w 277 drivers/spi/spi-omap-uwire.c val = START | w | (bits << 0); w 545 drivers/spi/spi-omap2-mcspi.c u32 w; w 547 drivers/spi/spi-omap2-mcspi.c w = mcspi_read_cs_reg(spi, OMAP2_MCSPI_RX0); w 549 drivers/spi/spi-omap2-mcspi.c ((u8 *)xfer->rx_buf)[elements++] = w; w 551 drivers/spi/spi-omap2-mcspi.c ((u16 *)xfer->rx_buf)[elements++] = w; w 553 drivers/spi/spi-omap2-mcspi.c ((u32 *)xfer->rx_buf)[elements++] = w; w 563 drivers/spi/spi-omap2-mcspi.c u32 w; w 565 drivers/spi/spi-omap2-mcspi.c w = mcspi_read_cs_reg(spi, OMAP2_MCSPI_RX0); w 567 drivers/spi/spi-omap2-mcspi.c ((u8 *)xfer->rx_buf)[elements] = w; w 569 drivers/spi/spi-omap2-mcspi.c ((u16 *)xfer->rx_buf)[elements] = w; w 571 drivers/spi/spi-omap2-mcspi.c ((u32 *)xfer->rx_buf)[elements] = w; w 216 drivers/spi/spi-pic32.c BUILD_SPI_FIFO_RW(word, u16, w); w 612 drivers/staging/comedi/drivers/s626.h #define S626_MAKE(x, w, p) (((x) & ((1 << (w)) - 1)) << (p)) w 613 drivers/staging/comedi/drivers/s626.h #define S626_UNMAKE(v, w, p) (((v) >> (p)) & ((1 << (w)) - 1)) w 175 drivers/staging/gdm724x/gdm_lte.c unsigned short *w = ptr; w 197 drivers/staging/gdm724x/gdm_lte.c w = (u16 *)&pseudo_header; w 203 drivers/staging/gdm724x/gdm_lte.c w = ptr; w 205 drivers/staging/gdm724x/gdm_lte.c sum = csum_add(sum, csum_unfold((__force __sum16)*w++)); w 315 drivers/staging/greybus/audio_codec.c struct snd_soc_dapm_widget *w, w 321 drivers/staging/greybus/audio_codec.c dev_dbg(module->dev, "%s:Module update %s sequence\n", w->name, w 324 drivers/staging/greybus/audio_codec.c if ((w->id != snd_soc_dapm_aif_in) && (w->id != snd_soc_dapm_aif_out)) { w 325 drivers/staging/greybus/audio_codec.c dev_dbg(codec->dev, "No action required for %s\n", w->name); w 330 drivers/staging/greybus/audio_codec.c ret = sscanf(w->sname, "%s %d %s", intf_name, &dai_id, dir); w 333 drivers/staging/greybus/audio_codec.c w->name); w 338 drivers/staging/greybus/audio_codec.c if (w->id == snd_soc_dapm_aif_in) { w 343 drivers/staging/greybus/audio_codec.c } else if (w->id == snd_soc_dapm_aif_out) { w 167 drivers/staging/greybus/audio_codec.h struct snd_soc_dapm_widget *w, w 503 drivers/staging/greybus/audio_topology.c static int gbcodec_event_spk(struct snd_soc_dapm_widget *w, w 511 drivers/staging/greybus/audio_topology.c static int gbcodec_event_hp(struct snd_soc_dapm_widget *w, w 519 drivers/staging/greybus/audio_topology.c static int gbcodec_event_int_mic(struct snd_soc_dapm_widget *w, w 527 drivers/staging/greybus/audio_topology.c static int gbaudio_validate_kcontrol_count(struct gb_audio_widget *w) w 531 drivers/staging/greybus/audio_topology.c switch (w->type) { w 537 drivers/staging/greybus/audio_topology.c if (w->ncontrols) w 542 drivers/staging/greybus/audio_topology.c if (w->ncontrols != 1) w 933 drivers/staging/greybus/audio_topology.c static int gbaudio_widget_event(struct snd_soc_dapm_widget *w, w 938 drivers/staging/greybus/audio_topology.c struct snd_soc_codec *codec = w->codec; w 943 drivers/staging/greybus/audio_topology.c dev_dbg(codec->dev, "%s %s %d\n", __func__, w->name, event); w 946 drivers/staging/greybus/audio_topology.c module = find_gb_module(gbcodec, w->name); w 951 drivers/staging/greybus/audio_topology.c wid = gbaudio_map_widgetname(module, w->name); w 953 drivers/staging/greybus/audio_topology.c dev_err(codec->dev, "Invalid widget name:%s\n", w->name); w 967 drivers/staging/greybus/audio_topology.c ret = gbaudio_module_update(gbcodec, w, module, 1); w 972 drivers/staging/greybus/audio_topology.c ret = gbaudio_module_update(gbcodec, w, module, 0); w 987 drivers/staging/greybus/audio_topology.c struct gb_audio_widget *w, int *w_size) w 996 drivers/staging/greybus/audio_topology.c ret = gbaudio_validate_kcontrol_count(w); w 999 drivers/staging/greybus/audio_topology.c w->ncontrols, w->name); w 1004 drivers/staging/greybus/audio_topology.c if (w->ncontrols) { w 1005 drivers/staging/greybus/audio_topology.c size = sizeof(struct snd_kcontrol_new) * w->ncontrols; w 1014 drivers/staging/greybus/audio_topology.c curr = w->ctl; w 1015 drivers/staging/greybus/audio_topology.c for (i = 0; i < w->ncontrols; i++) { w 1033 drivers/staging/greybus/audio_topology.c control->wname = w->name; w 1058 drivers/staging/greybus/audio_topology.c strlcpy(temp_name, w->name, NAME_SIZE); w 1059 drivers/staging/greybus/audio_topology.c snprintf(w->name, NAME_SIZE, "GB %d %s", module->dev_id, temp_name); w 1061 drivers/staging/greybus/audio_topology.c switch (w->type) { w 1064 drivers/staging/greybus/audio_topology.c SND_SOC_DAPM_SPK(w->name, gbcodec_event_spk); w 1069 drivers/staging/greybus/audio_topology.c SND_SOC_DAPM_HP(w->name, gbcodec_event_hp); w 1076 drivers/staging/greybus/audio_topology.c SND_SOC_DAPM_MIC(w->name, gbcodec_event_int_mic); w 1080 drivers/staging/greybus/audio_topology.c *dw = (struct snd_soc_dapm_widget)SND_SOC_DAPM_OUTPUT(w->name); w 1083 drivers/staging/greybus/audio_topology.c *dw = (struct snd_soc_dapm_widget)SND_SOC_DAPM_INPUT(w->name); w 1087 drivers/staging/greybus/audio_topology.c SND_SOC_DAPM_SWITCH_E(w->name, SND_SOC_NOPM, 0, 0, w 1095 drivers/staging/greybus/audio_topology.c SND_SOC_DAPM_PGA_E(w->name, SND_SOC_NOPM, 0, 0, NULL, 0, w 1102 drivers/staging/greybus/audio_topology.c SND_SOC_DAPM_MIXER_E(w->name, SND_SOC_NOPM, 0, 0, NULL, w 1109 drivers/staging/greybus/audio_topology.c SND_SOC_DAPM_MUX_E(w->name, SND_SOC_NOPM, 0, 0, w 1116 drivers/staging/greybus/audio_topology.c SND_SOC_DAPM_AIF_IN_E(w->name, w->sname, 0, w 1124 drivers/staging/greybus/audio_topology.c SND_SOC_DAPM_AIF_OUT_E(w->name, w->sname, 0, w 30 drivers/staging/media/hantro/hantro.h #define VP8_MB_WIDTH(w) DIV_ROUND_UP(w, VP8_MB_DIM) w 34 drivers/staging/media/hantro/hantro.h #define H264_MB_WIDTH(w) DIV_ROUND_UP(w, H264_MB_DIM) w 38 drivers/staging/media/hantro/hantro.h #define MPEG2_MB_WIDTH(w) DIV_ROUND_UP(w, MPEG2_MB_DIM) w 42 drivers/staging/media/hantro/hantro.h #define JPEG_MB_WIDTH(w) DIV_ROUND_UP(w, JPEG_MB_DIM) w 38 drivers/staging/media/hantro/hantro_h1_regs.h #define H1_REG_ENC_CTRL_WIDTH(w) ((w) << 19) w 515 drivers/staging/media/ipu3/ipu3-css-params.c u32 w = reso.pin_width[IMGU_ABI_OSYS_PIN_VF] - w 521 drivers/staging/media/ipu3/ipu3-css-params.c roundclosest_down(w / 2, IMGU_OSYS_DMA_CROP_W_LIMIT); w 1266 drivers/staging/media/ipu3/ipu3-css.c unsigned int w, h; w 1289 drivers/staging/media/ipu3/ipu3-css.c w = ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, w 1292 drivers/staging/media/ipu3/ipu3-css.c css_pipe->aux_frames[IPU3_CSS_AUX_FRAME_REF].bytesperpixel * w; w 1293 drivers/staging/media/ipu3/ipu3-css.c size = w * h * BYPC + (w / 2) * (h / 2) * BYPC * 2; w 1311 drivers/staging/media/ipu3/ipu3-css.c w = css_pipe->aux_frames[IPU3_CSS_AUX_FRAME_TNR].width; w 1312 drivers/staging/media/ipu3/ipu3-css.c css_pipe->aux_frames[IPU3_CSS_AUX_FRAME_TNR].bytesperline = w; w 1314 drivers/staging/media/ipu3/ipu3-css.c size = w * ALIGN(h * 3 / 2 + 3, 2); /* +3 for vf_pp prefetch */ w 57 drivers/staging/media/ipu3/ipu3-css.h u32 w; w 103 drivers/staging/media/sunxi/cedrus/cedrus_regs.h #define VE_DEC_MPEG_PICCODEDSIZE_WIDTH(w) \ w 104 drivers/staging/media/sunxi/cedrus/cedrus_regs.h SHIFT_AND_MASK_BITS(DIV_ROUND_UP((w), 16), 15, 8) w 110 drivers/staging/media/sunxi/cedrus/cedrus_regs.h #define VE_DEC_MPEG_PICBOUNDSIZE_WIDTH(w) SHIFT_AND_MASK_BITS(w, 27, 16) w 115 drivers/staging/media/sunxi/cedrus/cedrus_regs.h #define VE_DEC_MPEG_MBADDR_X(w) SHIFT_AND_MASK_BITS(w, 15, 8) w 83 drivers/staging/most/usb/usb.c #define to_clear_hold_work(w) container_of(w, struct clear_hold_work, ws) w 125 drivers/staging/most/usb/usb.c #define to_mdev_from_work(w) container_of(w, struct most_dev, poll_work_obj) w 90 drivers/staging/rtl8723bs/include/ioctl_cfg80211.h #define wdev_to_ndev(w) ((w)->netdev) w 114 drivers/staging/sm750fb/sm750.h int w; w 61 drivers/staging/sm750fb/sm750_cursor.c void sm750_hw_cursor_setSize(struct lynx_cursor *cursor, int w, int h) w 63 drivers/staging/sm750fb/sm750_cursor.c cursor->w = w; w 94 drivers/staging/sm750fb/sm750_cursor.c pitch = cursor->w >> 3; w 144 drivers/staging/sm750fb/sm750_cursor.c pitch = cursor->w >> 3; w 9 drivers/staging/sm750fb/sm750_cursor.h int w, int h); w 465 drivers/staging/speakup/main.c u16 w; w 469 drivers/staging/speakup/main.c w = scr_readw(pos); w 470 drivers/staging/speakup/main.c c = w & 0xff; w 472 drivers/staging/speakup/main.c if (w & vc->vc_hi_font_mask) { w 473 drivers/staging/speakup/main.c w &= ~vc->vc_hi_font_mask; w 478 drivers/staging/speakup/main.c *attribs = (w & 0xff00) >> 8; w 672 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c .x = dev->overlay.w.left, w 673 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c .y = dev->overlay.w.top, w 674 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c .width = dev->overlay.w.width, w 675 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c .height = dev->overlay.w.height, w 720 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l_bound_align_image(&f->fmt.win.w.width, MIN_WIDTH, dev->max_width, 1, w 721 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &f->fmt.win.w.height, MIN_HEIGHT, dev->max_height, w 723 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l_bound_align_image(&f->fmt.win.w.left, MIN_WIDTH, dev->max_width, 1, w 724 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &f->fmt.win.w.top, MIN_HEIGHT, dev->max_height, w 729 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.win.w.width, f->fmt.win.w.height, w 730 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.win.w.left, f->fmt.win.w.top); w 1878 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->overlay.w.left = 150; w 1879 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->overlay.w.top = 50; w 1880 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->overlay.w.width = 1024; w 1881 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->overlay.w.height = 768; w 140 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h (win_fmt)->w.width, (win_fmt)->w.height, \ w 141 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h (win_fmt)->w.left, (win_fmt)->w.top, \ w 22 drivers/staging/vt6655/tmacro.h #define LOBYTE(w) ((unsigned char)(w)) w 25 drivers/staging/vt6655/tmacro.h #define HIBYTE(w) ((unsigned char)(((unsigned short)(w) >> 8) & 0xFF)) w 262 drivers/staging/wilc1000/wilc_netdev.c u32 w; w 268 drivers/staging/wilc1000/wilc_netdev.c w = vif->iftype; w 269 drivers/staging/wilc1000/wilc_netdev.c cpu_to_le32s(&w); w 270 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 1, WID_SET_OPERATION_MODE, (u8 *)&w, 4, w 366 drivers/staging/wilc1000/wilc_netdev.c w = 84600; w 367 drivers/staging/wilc1000/wilc_netdev.c cpu_to_le32s(&w); w 368 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_REKEY_PERIOD, (u8 *)&w, 4, 0, 0)) w 371 drivers/staging/wilc1000/wilc_netdev.c w = 500; w 372 drivers/staging/wilc1000/wilc_netdev.c cpu_to_le32s(&w); w 373 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_REKEY_PACKET_COUNT, (u8 *)&w, 4, 0, w 173 drivers/staging/wilc1000/wilc_wlan_cfg.c struct wilc_cfg_word *w = &wl->cfg.w[i]; w 175 drivers/staging/wilc1000/wilc_wlan_cfg.c if (w->id == WID_NIL) w 178 drivers/staging/wilc1000/wilc_wlan_cfg.c if (w->id == wid) { w 179 drivers/staging/wilc1000/wilc_wlan_cfg.c w->val = get_unaligned_le32(&info[4]); w 318 drivers/staging/wilc1000/wilc_wlan_cfg.c if (wl->cfg.w[i].id == WID_NIL) w 321 drivers/staging/wilc1000/wilc_wlan_cfg.c if (wl->cfg.w[i].id == wid) { w 322 drivers/staging/wilc1000/wilc_wlan_cfg.c memcpy(buffer, &wl->cfg.w[i].val, 4); w 412 drivers/staging/wilc1000/wilc_wlan_cfg.c wl->cfg.w = kmemdup(g_cfg_word, sizeof(g_cfg_word), GFP_KERNEL); w 413 drivers/staging/wilc1000/wilc_wlan_cfg.c if (!wl->cfg.w) w 442 drivers/staging/wilc1000/wilc_wlan_cfg.c kfree(wl->cfg.w); w 454 drivers/staging/wilc1000/wilc_wlan_cfg.c kfree(wl->cfg.w); w 39 drivers/staging/wilc1000/wilc_wlan_cfg.h struct wilc_cfg_word *w; w 65 drivers/staging/wusbcore/host/whci/whcd.h #define wusbhc_to_whc(w) (container_of((w), struct whc, wusbhc)) w 23 drivers/tee/optee/call.c struct optee_call_waiter *w) w 41 drivers/tee/optee/call.c init_completion(&w->c); w 42 drivers/tee/optee/call.c list_add_tail(&w->list_node, &cq->waiters); w 48 drivers/tee/optee/call.c struct optee_call_waiter *w) w 50 drivers/tee/optee/call.c wait_for_completion(&w->c); w 55 drivers/tee/optee/call.c list_del(&w->list_node); w 56 drivers/tee/optee/call.c reinit_completion(&w->c); w 57 drivers/tee/optee/call.c list_add_tail(&w->list_node, &cq->waiters); w 64 drivers/tee/optee/call.c struct optee_call_waiter *w; w 66 drivers/tee/optee/call.c list_for_each_entry(w, &cq->waiters, list_node) { w 67 drivers/tee/optee/call.c if (!completion_done(&w->c)) { w 68 drivers/tee/optee/call.c complete(&w->c); w 75 drivers/tee/optee/call.c struct optee_call_waiter *w) w 85 drivers/tee/optee/call.c list_del(&w->list_node); w 96 drivers/tee/optee/call.c if (completion_done(&w->c)) w 128 drivers/tee/optee/call.c struct optee_call_waiter w; w 136 drivers/tee/optee/call.c optee_cq_wait_init(&optee->call_queue, &w); w 149 drivers/tee/optee/call.c optee_cq_wait_for_completion(&optee->call_queue, &w); w 168 drivers/tee/optee/call.c optee_cq_wait_final(&optee->call_queue, &w); w 391 drivers/tee/optee/call.c struct optee_call_waiter w; w 394 drivers/tee/optee/call.c optee_cq_wait_init(&optee->call_queue, &w); w 402 drivers/tee/optee/call.c optee_cq_wait_for_completion(&optee->call_queue, &w); w 404 drivers/tee/optee/call.c optee_cq_wait_final(&optee->call_queue, &w); w 414 drivers/tee/optee/call.c struct optee_call_waiter w; w 417 drivers/tee/optee/call.c optee_cq_wait_init(&optee->call_queue, &w); w 435 drivers/tee/optee/call.c optee_cq_wait_for_completion(&optee->call_queue, &w); w 438 drivers/tee/optee/call.c optee_cq_wait_final(&optee->call_queue, &w); w 54 drivers/tee/optee/rpc.c struct wq_entry *w; w 58 drivers/tee/optee/rpc.c list_for_each_entry(w, &wq->db, link) w 59 drivers/tee/optee/rpc.c if (w->key == key) w 62 drivers/tee/optee/rpc.c w = kmalloc(sizeof(*w), GFP_KERNEL); w 63 drivers/tee/optee/rpc.c if (w) { w 64 drivers/tee/optee/rpc.c init_completion(&w->c); w 65 drivers/tee/optee/rpc.c w->key = key; w 66 drivers/tee/optee/rpc.c list_add_tail(&w->link, &wq->db); w 70 drivers/tee/optee/rpc.c return w; w 75 drivers/tee/optee/rpc.c struct wq_entry *w = wq_entry_get(wq, key); w 77 drivers/tee/optee/rpc.c if (w) { w 78 drivers/tee/optee/rpc.c wait_for_completion(&w->c); w 80 drivers/tee/optee/rpc.c list_del(&w->link); w 82 drivers/tee/optee/rpc.c kfree(w); w 88 drivers/tee/optee/rpc.c struct wq_entry *w = wq_entry_get(wq, key); w 90 drivers/tee/optee/rpc.c if (w) w 91 drivers/tee/optee/rpc.c complete(&w->c); w 453 drivers/tty/rocket_int.h Word_t w = sInW((CTLP)->PCIIO); \ w 454 drivers/tty/rocket_int.h sOutW((CTLP)->PCIIO, (w ^ PCI_INT_CTRL_AIOP)); \ w 455 drivers/tty/rocket_int.h sOutW((CTLP)->PCIIO, w); \ w 78 drivers/tty/serial/8250/8250_lpss.c unsigned long w = BIT(15) - 1; w 94 drivers/tty/serial/8250/8250_lpss.c rational_best_approximation(fuart, fref, w, w, &m, &n); w 207 drivers/tty/serial/8250/8250_mid.c unsigned long w = BIT(24) - 1; w 225 drivers/tty/serial/8250/8250_mid.c rational_best_approximation(fuart, mid->board->freq, w, w, &mul, &div); w 173 drivers/tty/serial/max3100.c static void max3100_work(struct work_struct *w); w 256 drivers/tty/serial/max3100.c static void max3100_work(struct work_struct *w) w 258 drivers/tty/serial/max3100.c struct max3100_port *s = container_of(w, struct max3100_port, work); w 1898 drivers/tty/serial/sh-sci.c int i, j, w, ret = 0; w 1905 drivers/tty/serial/sh-sci.c for (w = 0; w < i; w++) w 1906 drivers/tty/serial/sh-sci.c if (port->irqs[w] == port->irqs[i]) w 1907 drivers/tty/serial/sh-sci.c w = i + 1; w 1908 drivers/tty/serial/sh-sci.c if (w > i) w 139 drivers/tty/serial/sunsab.c writeb(SAB82532_CMDR_RFRD, &up->regs->w.cmdr); w 153 drivers/tty/serial/sunsab.c writeb(SAB82532_CMDR_RMC, &up->regs->w.cmdr); w 243 drivers/tty/serial/sunsab.c writeb(up->interrupt_mask1, &up->regs->w.imr1); w 260 drivers/tty/serial/sunsab.c writeb(up->interrupt_mask1, &up->regs->w.imr1); w 265 drivers/tty/serial/sunsab.c writeb(up->interrupt_mask1, &up->regs->w.imr1); w 272 drivers/tty/serial/sunsab.c &up->regs->w.xfifo[i]); w 281 drivers/tty/serial/sunsab.c writeb(SAB82532_CMDR_XF, &up->regs->w.cmdr); w 415 drivers/tty/serial/sunsab.c writeb(up->interrupt_mask1, &up->regs->w.imr1); w 427 drivers/tty/serial/sunsab.c writeb(up->cached_dafo, &up->regs->w.dafo); w 429 drivers/tty/serial/sunsab.c writeb(up->cached_ebrg & 0xff, &up->regs->w.bgr); w 449 drivers/tty/serial/sunsab.c writeb(up->interrupt_mask1, &up->regs->w.imr1); w 459 drivers/tty/serial/sunsab.c &up->regs->w.xfifo[i]); w 468 drivers/tty/serial/sunsab.c writeb(SAB82532_CMDR_XF, &up->regs->w.cmdr); w 484 drivers/tty/serial/sunsab.c writeb(ch, &up->regs->w.tic); w 496 drivers/tty/serial/sunsab.c writeb(up->interrupt_mask1, &up->regs->w.imr0); w 546 drivers/tty/serial/sunsab.c writeb(SAB82532_CMDR_RRES, &up->regs->w.cmdr); w 548 drivers/tty/serial/sunsab.c writeb(SAB82532_CMDR_XRES, &up->regs->w.cmdr); w 559 drivers/tty/serial/sunsab.c writeb(0, &up->regs->w.ccr0); /* power-down */ w 561 drivers/tty/serial/sunsab.c SAB82532_CCR0_SM_ASYNC, &up->regs->w.ccr0); w 562 drivers/tty/serial/sunsab.c writeb(SAB82532_CCR1_ODS | SAB82532_CCR1_BCR | 7, &up->regs->w.ccr1); w 564 drivers/tty/serial/sunsab.c SAB82532_CCR2_TOE, &up->regs->w.ccr2); w 565 drivers/tty/serial/sunsab.c writeb(0, &up->regs->w.ccr3); w 566 drivers/tty/serial/sunsab.c writeb(SAB82532_CCR4_MCK4 | SAB82532_CCR4_EBRG, &up->regs->w.ccr4); w 569 drivers/tty/serial/sunsab.c writeb(up->cached_mode, &up->regs->w.mode); w 570 drivers/tty/serial/sunsab.c writeb(SAB82532_RFC_DPS|SAB82532_RFC_RFTH_32, &up->regs->w.rfc); w 581 drivers/tty/serial/sunsab.c writeb(up->interrupt_mask0, &up->regs->w.imr0); w 586 drivers/tty/serial/sunsab.c writeb(up->interrupt_mask1, &up->regs->w.imr1); w 606 drivers/tty/serial/sunsab.c writeb(up->interrupt_mask0, &up->regs->w.imr0); w 608 drivers/tty/serial/sunsab.c writeb(up->interrupt_mask1, &up->regs->w.imr1); w 859 drivers/tty/serial/sunsab.c writeb(c, &up->regs->w.tic); w 933 drivers/tty/serial/sunsab.c writeb(up->interrupt_mask0, &up->regs->w.imr0); w 938 drivers/tty/serial/sunsab.c writeb(up->interrupt_mask1, &up->regs->w.imr1); w 989 drivers/tty/serial/sunsab.c writeb(SAB82532_IPC_IC_ACT_LOW, &up->regs->w.ipc); w 996 drivers/tty/serial/sunsab.c writeb(~((1 << 1) | (1 << 2) | (1 << 4)), &up->regs->w.pcr); w 997 drivers/tty/serial/sunsab.c writeb(0xff, &up->regs->w.pim); w 1008 drivers/tty/serial/sunsab.c writeb(up->cached_pvr, &up->regs->w.pvr); w 115 drivers/tty/serial/sunsab.h __volatile__ struct sab82532_async_wr_regs w; w 189 drivers/tty/synclink_gt.c static void init_cond_wait(struct cond_wait *w, unsigned int data); w 190 drivers/tty/synclink_gt.c static void add_cond_wait(struct cond_wait **head, struct cond_wait *w); w 191 drivers/tty/synclink_gt.c static void remove_cond_wait(struct cond_wait **head, struct cond_wait *w); w 2313 drivers/tty/synclink_gt.c struct cond_wait *w, *prev; w 2316 drivers/tty/synclink_gt.c for (w = info->gpio_wait_q, prev = NULL ; w != NULL ; w = w->next) { w 2317 drivers/tty/synclink_gt.c if (w->data & changed) { w 2318 drivers/tty/synclink_gt.c w->data = state; w 2319 drivers/tty/synclink_gt.c wake_up_interruptible(&w->q); w 2321 drivers/tty/synclink_gt.c prev->next = w->next; w 2323 drivers/tty/synclink_gt.c info->gpio_wait_q = w->next; w 2325 drivers/tty/synclink_gt.c prev = w; w 2990 drivers/tty/synclink_gt.c static void init_cond_wait(struct cond_wait *w, unsigned int data) w 2992 drivers/tty/synclink_gt.c init_waitqueue_head(&w->q); w 2993 drivers/tty/synclink_gt.c init_waitqueue_entry(&w->wait, current); w 2994 drivers/tty/synclink_gt.c w->data = data; w 2997 drivers/tty/synclink_gt.c static void add_cond_wait(struct cond_wait **head, struct cond_wait *w) w 3000 drivers/tty/synclink_gt.c add_wait_queue(&w->q, &w->wait); w 3001 drivers/tty/synclink_gt.c w->next = *head; w 3002 drivers/tty/synclink_gt.c *head = w; w 3007 drivers/tty/synclink_gt.c struct cond_wait *w, *prev; w 3010 drivers/tty/synclink_gt.c for (w = *head, prev = NULL ; w != NULL ; prev = w, w = w->next) { w 3011 drivers/tty/synclink_gt.c if (w == cw) { w 3013 drivers/tty/synclink_gt.c prev->next = w->next; w 3015 drivers/tty/synclink_gt.c *head = w->next; w 595 drivers/tty/vt/vc_screen.c unsigned short w; w 597 drivers/tty/vt/vc_screen.c w = get_unaligned(((unsigned short *)con_buf0)); w 598 drivers/tty/vt/vc_screen.c vcs_scr_writew(vc, w, org++); w 4658 drivers/tty/vt/vt.c u16 w = scr_readw(screenpos(vc, offset, 1)); w 4659 drivers/tty/vt/vt.c u16 c = w & 0xff; w 4661 drivers/tty/vt/vt.c if (w & vc->vc_hi_font_mask) w 1429 drivers/usb/core/driver.c int w; w 1444 drivers/usb/core/driver.c w = device_may_wakeup(&udev->dev); w 1449 drivers/usb/core/driver.c if (udev->state == USB_STATE_SUSPENDED && w != udev->do_remote_wakeup) w 1451 drivers/usb/core/driver.c udev->do_remote_wakeup = w; w 1775 drivers/usb/core/driver.c int w, i; w 1784 drivers/usb/core/driver.c w = 0; w 1798 drivers/usb/core/driver.c w |= intf->needs_remote_wakeup; w 1814 drivers/usb/core/driver.c if (w && !device_can_wakeup(&udev->dev)) { w 1824 drivers/usb/core/driver.c if (w && udev->parent == udev->bus->root_hub && w 1830 drivers/usb/core/driver.c udev->do_remote_wakeup = w; w 1238 drivers/usb/dwc3/core.h #define work_to_dwc(w) (container_of((w), struct dwc3, drd_work)) w 357 drivers/usb/gadget/function/u_serial.c struct delayed_work *w = to_delayed_work(work); w 358 drivers/usb/gadget/function/u_serial.c struct gs_port *port = container_of(w, struct gs_port, push); w 1732 drivers/usb/gadget/udc/bcm63xx_udc.c static void bcm63xx_ep0_process(struct work_struct *w) w 1734 drivers/usb/gadget/udc/bcm63xx_udc.c struct bcm63xx_udc *udc = container_of(w, struct bcm63xx_udc, ep0_wq); w 130 drivers/usb/gadget/udc/omap_udc.c u16 w; w 132 drivers/usb/gadget/udc/omap_udc.c w = omap_readw(UDC_EP_NUM); w 133 drivers/usb/gadget/udc/omap_udc.c w &= ~UDC_EP_SEL; w 134 drivers/usb/gadget/udc/omap_udc.c omap_writew(w, UDC_EP_NUM); w 515 drivers/usb/gadget/udc/omap_udc.c u16 txdma_ctrl, w; w 543 drivers/usb/gadget/udc/omap_udc.c w = omap_readw(UDC_DMA_IRQ_EN); w 544 drivers/usb/gadget/udc/omap_udc.c w |= UDC_TX_DONE_IE(ep->dma_channel); w 545 drivers/usb/gadget/udc/omap_udc.c omap_writew(w, UDC_DMA_IRQ_EN); w 552 drivers/usb/gadget/udc/omap_udc.c u16 w; w 570 drivers/usb/gadget/udc/omap_udc.c w = omap_readw(UDC_DMA_IRQ_EN); w 571 drivers/usb/gadget/udc/omap_udc.c w &= ~UDC_TX_DONE_IE(ep->dma_channel); w 572 drivers/usb/gadget/udc/omap_udc.c omap_writew(w, UDC_DMA_IRQ_EN); w 580 drivers/usb/gadget/udc/omap_udc.c u16 w; w 596 drivers/usb/gadget/udc/omap_udc.c w = omap_readw(UDC_DMA_IRQ_EN); w 597 drivers/usb/gadget/udc/omap_udc.c w |= UDC_RX_EOT_IE(ep->dma_channel); w 598 drivers/usb/gadget/udc/omap_udc.c omap_writew(w, UDC_DMA_IRQ_EN); w 608 drivers/usb/gadget/udc/omap_udc.c u16 count, w; w 627 drivers/usb/gadget/udc/omap_udc.c w = omap_readw(UDC_DMA_IRQ_EN); w 628 drivers/usb/gadget/udc/omap_udc.c w &= ~UDC_RX_EOT_IE(ep->dma_channel); w 629 drivers/usb/gadget/udc/omap_udc.c omap_writew(w, UDC_DMA_IRQ_EN); w 917 drivers/usb/gadget/udc/omap_udc.c u16 w; w 919 drivers/usb/gadget/udc/omap_udc.c w = omap_readw(UDC_IRQ_EN); w 920 drivers/usb/gadget/udc/omap_udc.c w |= UDC_SOF_IE; w 921 drivers/usb/gadget/udc/omap_udc.c omap_writew(w, UDC_IRQ_EN); w 1191 drivers/usb/gadget/udc/omap_udc.c u16 w; w 1193 drivers/usb/gadget/udc/omap_udc.c w = omap_readw(UDC_SYSCON1); w 1194 drivers/usb/gadget/udc/omap_udc.c w |= UDC_PULLUP_EN; w 1195 drivers/usb/gadget/udc/omap_udc.c omap_writew(w, UDC_SYSCON1); w 1208 drivers/usb/gadget/udc/omap_udc.c u16 w; w 1218 drivers/usb/gadget/udc/omap_udc.c w = omap_readw(UDC_SYSCON1); w 1219 drivers/usb/gadget/udc/omap_udc.c w &= ~UDC_PULLUP_EN; w 1220 drivers/usb/gadget/udc/omap_udc.c omap_writew(w, UDC_SYSCON1); w 2017 drivers/usb/gadget/udc/omap_udc.c u16 w; w 2019 drivers/usb/gadget/udc/omap_udc.c w = omap_readw(UDC_IRQ_EN); w 2020 drivers/usb/gadget/udc/omap_udc.c w &= ~UDC_SOF_IE; w 2021 drivers/usb/gadget/udc/omap_udc.c omap_writew(w, UDC_IRQ_EN); w 193 drivers/usb/host/imx21-hcd.h #define USB_ETD_DWORD(x, w) (0x200 + ((x) * 16) + ((w) * 4)) w 94 drivers/usb/host/isp116x-hcd.c u16 w; w 104 drivers/usb/host/isp116x-hcd.c w = *dp++; w 105 drivers/usb/host/isp116x-hcd.c w |= *dp++ << 8; w 106 drivers/usb/host/isp116x-hcd.c isp116x_raw_write_data16(isp116x, w); w 131 drivers/usb/host/isp116x-hcd.c u16 w; w 141 drivers/usb/host/isp116x-hcd.c w = isp116x_raw_read_data16(isp116x); w 142 drivers/usb/host/isp116x-hcd.c *dp++ = w & 0xff; w 143 drivers/usb/host/isp116x-hcd.c *dp++ = (w >> 8) & 0xff; w 53 drivers/usb/host/isp1362.h #define REG_WIDTH_TEST(r, w) BUG_ON(((r) & REG_WIDTH_MASK) != (w)) w 62 drivers/usb/host/isp1362.h #define REG_WIDTH_TEST(r, w) do {} while (0) w 2346 drivers/usb/host/u132-hcd.c int w = sprintf(d, " %02X", *b++); w 2347 drivers/usb/host/u132-hcd.c d += w; w 2348 drivers/usb/host/u132-hcd.c l += w; w 19 drivers/usb/host/xhci-mvebu.c #define USB3_WIN_CTRL(w) (0x0 + ((w) * 8)) w 20 drivers/usb/host/xhci-mvebu.c #define USB3_WIN_BASE(w) (0x4 + ((w) * 8)) w 1649 drivers/usb/misc/ftdi-elan.c int w = sprintf(d, " %02X", *b++); w 1650 drivers/usb/misc/ftdi-elan.c d += w; w 1651 drivers/usb/misc/ftdi-elan.c l += w; w 2068 drivers/usb/musb/musb_core.c struct musb_pending_work *w, *_w; w 2073 drivers/usb/musb/musb_core.c list_for_each_entry_safe(w, _w, &musb->pending_list, node) { w 2074 drivers/usb/musb/musb_core.c if (w->callback) { w 2075 drivers/usb/musb/musb_core.c error = w->callback(musb, w->data); w 2079 drivers/usb/musb/musb_core.c w->callback, error); w 2082 drivers/usb/musb/musb_core.c list_del(&w->node); w 2083 drivers/usb/musb/musb_core.c devm_kfree(musb->controller, w); w 2103 drivers/usb/musb/musb_core.c struct musb_pending_work *w; w 2113 drivers/usb/musb/musb_core.c w = devm_kzalloc(musb->controller, sizeof(*w), GFP_ATOMIC); w 2114 drivers/usb/musb/musb_core.c if (!w) w 2117 drivers/usb/musb/musb_core.c w->callback = callback; w 2118 drivers/usb/musb/musb_core.c w->data = data; w 2121 drivers/usb/musb/musb_core.c list_add_tail(&w->node, &musb->pending_list); w 2126 drivers/usb/musb/musb_core.c devm_kfree(musb->controller, w); w 178 drivers/usb/phy/phy-tahvo.c u16 w; w 182 drivers/usb/phy/phy-tahvo.c w = retu_read(rdev, TAHVO_REG_USBR); w 184 drivers/usb/phy/phy-tahvo.c w &= ~USBR_NSUSPEND; w 186 drivers/usb/phy/phy-tahvo.c w |= USBR_NSUSPEND; w 187 drivers/usb/phy/phy-tahvo.c retu_write(rdev, TAHVO_REG_USBR, w); w 504 drivers/video/console/newport_con.c int w = op->width; w 512 drivers/video/console/newport_con.c if ((w != 8) || (h != 16) w 645 drivers/video/fbdev/amifb.c u_short w[2]; w 2089 drivers/video/fbdev/amifb.c copl[cop_spr0ptrh].w[1] = highw(pl); w 2090 drivers/video/fbdev/amifb.c copl[cop_spr0ptrl].w[1] = loww(pl); w 2092 drivers/video/fbdev/amifb.c cops[cop_spr0ptrh].w[1] = highw(ps); w 2093 drivers/video/fbdev/amifb.c cops[cop_spr0ptrl].w[1] = loww(ps); w 2134 drivers/video/fbdev/amifb.c copdisplay.init[cip_bplcon0].w[1] = ~(BPC0_BPU3 | BPC0_BPU2 | BPC0_BPU1 | BPC0_BPU0) & par->bplcon0; w 344 drivers/video/fbdev/arcfb.c unsigned int dy, unsigned int w, unsigned int h) w 353 drivers/video/fbdev/arcfb.c distance = w; w 355 drivers/video/fbdev/arcfb.c right = min(left + w - 1, ceil64(left)); w 450 drivers/video/fbdev/arcfb.c unsigned int fbmemlength,x,y,w,h, bitppos, startpos, endpos, bitcount; w 485 drivers/video/fbdev/arcfb.c w = xres; w 487 drivers/video/fbdev/arcfb.c arcfb_lcd_update(par, x, y, w, h); w 41 drivers/video/fbdev/atafb_iplan2p2.c int w, l , i, j; w 58 drivers/video/fbdev/atafb_iplan2p2.c w = width >> 4; w 59 drivers/video/fbdev/atafb_iplan2p2.c if (w) { w 62 drivers/video/fbdev/atafb_iplan2p2.c w *= BPL / 2; w 63 drivers/video/fbdev/atafb_iplan2p2.c l = next_line - w * 4; w 65 drivers/video/fbdev/atafb_iplan2p2.c for (i = w; i > 0; i--) w 84 drivers/video/fbdev/atafb_iplan2p2.c w = width >> 4; w 85 drivers/video/fbdev/atafb_iplan2p2.c if (w) { w 88 drivers/video/fbdev/atafb_iplan2p2.c w *= BPL / 2; w 89 drivers/video/fbdev/atafb_iplan2p2.c l = next_line - w * 4; w 91 drivers/video/fbdev/atafb_iplan2p2.c for (i = w; i > 0; i--) w 107 drivers/video/fbdev/atafb_iplan2p2.c int i, j, w, f; w 114 drivers/video/fbdev/atafb_iplan2p2.c w = width; w 117 drivers/video/fbdev/atafb_iplan2p2.c w += 8; w 121 drivers/video/fbdev/atafb_iplan2p2.c w >>= 4; w 132 drivers/video/fbdev/atafb_iplan2p2.c for (j = w; j > 0; j--) { w 149 drivers/video/fbdev/atafb_iplan2p2.c int i, j, w, f; w 156 drivers/video/fbdev/atafb_iplan2p2.c w = width; w 161 drivers/video/fbdev/atafb_iplan2p2.c w += 8; w 163 drivers/video/fbdev/atafb_iplan2p2.c w >>= 4; w 174 drivers/video/fbdev/atafb_iplan2p2.c for (j = w; j > 0; j--) { w 41 drivers/video/fbdev/atafb_iplan2p4.c int w, l , i, j; w 58 drivers/video/fbdev/atafb_iplan2p4.c w = width >> 4; w 59 drivers/video/fbdev/atafb_iplan2p4.c if (w) { w 62 drivers/video/fbdev/atafb_iplan2p4.c w *= BPL / 2; w 63 drivers/video/fbdev/atafb_iplan2p4.c l = next_line - w * 4; w 65 drivers/video/fbdev/atafb_iplan2p4.c for (i = w; i > 0; i--) w 84 drivers/video/fbdev/atafb_iplan2p4.c w = width >> 4; w 85 drivers/video/fbdev/atafb_iplan2p4.c if (w) { w 88 drivers/video/fbdev/atafb_iplan2p4.c w *= BPL / 2; w 89 drivers/video/fbdev/atafb_iplan2p4.c l = next_line - w * 4; w 91 drivers/video/fbdev/atafb_iplan2p4.c for (i = w; i > 0; i--) w 107 drivers/video/fbdev/atafb_iplan2p4.c int i, j, w, f; w 114 drivers/video/fbdev/atafb_iplan2p4.c w = width; w 117 drivers/video/fbdev/atafb_iplan2p4.c w += 8; w 121 drivers/video/fbdev/atafb_iplan2p4.c w >>= 4; w 134 drivers/video/fbdev/atafb_iplan2p4.c for (j = w; j > 0; j--) { w 156 drivers/video/fbdev/atafb_iplan2p4.c int i, j, w, f; w 163 drivers/video/fbdev/atafb_iplan2p4.c w = width; w 168 drivers/video/fbdev/atafb_iplan2p4.c w += 8; w 170 drivers/video/fbdev/atafb_iplan2p4.c w >>= 4; w 183 drivers/video/fbdev/atafb_iplan2p4.c for (j = w; j > 0; j--) { w 48 drivers/video/fbdev/atafb_iplan2p8.c int w, l , i, j; w 65 drivers/video/fbdev/atafb_iplan2p8.c w = width >> 4; w 66 drivers/video/fbdev/atafb_iplan2p8.c if (w) { w 69 drivers/video/fbdev/atafb_iplan2p8.c w *= BPL / 2; w 70 drivers/video/fbdev/atafb_iplan2p8.c l = next_line - w * 4; w 72 drivers/video/fbdev/atafb_iplan2p8.c for (i = w; i > 0; i--) w 91 drivers/video/fbdev/atafb_iplan2p8.c w = width >> 4; w 92 drivers/video/fbdev/atafb_iplan2p8.c if (w) { w 95 drivers/video/fbdev/atafb_iplan2p8.c w *= BPL / 2; w 96 drivers/video/fbdev/atafb_iplan2p8.c l = next_line - w * 4; w 98 drivers/video/fbdev/atafb_iplan2p8.c for (i = w; i > 0; i--) w 114 drivers/video/fbdev/atafb_iplan2p8.c int i, j, w, f; w 121 drivers/video/fbdev/atafb_iplan2p8.c w = width; w 124 drivers/video/fbdev/atafb_iplan2p8.c w += 8; w 128 drivers/video/fbdev/atafb_iplan2p8.c w >>= 4; w 145 drivers/video/fbdev/atafb_iplan2p8.c for (j = w; j > 0; j--) { w 177 drivers/video/fbdev/atafb_iplan2p8.c int i, j, w, f; w 184 drivers/video/fbdev/atafb_iplan2p8.c w = width; w 189 drivers/video/fbdev/atafb_iplan2p8.c w += 8; w 191 drivers/video/fbdev/atafb_iplan2p8.c w >>= 4; w 208 drivers/video/fbdev/atafb_iplan2p8.c for (j = w; j > 0; j--) { w 102 drivers/video/fbdev/aty/radeon_accel.c u32 sx, sy, dx, dy, w, h; w 104 drivers/video/fbdev/aty/radeon_accel.c w = area->width; h = area->height; w 110 drivers/video/fbdev/aty/radeon_accel.c if ( xdir < 0 ) { sx += w-1; dx += w-1; } w 131 drivers/video/fbdev/aty/radeon_accel.c OUTREG(DST_HEIGHT_WIDTH, (h << 16) | w); w 200 drivers/video/fbdev/au1200fb.c } w[4]; w 716 drivers/video/fbdev/au1200fb.c xsz = win->w[plane].xres; w 717 drivers/video/fbdev/au1200fb.c ysz = win->w[plane].yres; w 718 drivers/video/fbdev/au1200fb.c if ((xpos + win->w[plane].xres) > panel->Xres) { w 724 drivers/video/fbdev/au1200fb.c if ((ypos + win->w[plane].yres) > panel->Yres) { w 732 drivers/video/fbdev/au1200fb.c xsz = win->w[plane].xres + xpos; w 740 drivers/video/fbdev/au1200fb.c ysz = win->w[plane].yres + ypos; w 747 drivers/video/fbdev/au1200fb.c win->w[plane].xpos = xpos; w 748 drivers/video/fbdev/au1200fb.c win->w[plane].ypos = ypos; w 852 drivers/video/fbdev/au1200fb.c au1200_setlocation(fbdev, 0, win->w[0].xpos, win->w[0].ypos); w 853 drivers/video/fbdev/au1200fb.c au1200_setlocation(fbdev, 1, win->w[1].xpos, win->w[1].ypos); w 854 drivers/video/fbdev/au1200fb.c au1200_setlocation(fbdev, 2, win->w[2].xpos, win->w[2].ypos); w 855 drivers/video/fbdev/au1200fb.c au1200_setlocation(fbdev, 3, win->w[3].xpos, win->w[3].ypos); w 943 drivers/video/fbdev/au1200fb.c | win->w[plane].mode_winctrl1 /* FRM,CCO,PO,PIPE */ w 946 drivers/video/fbdev/au1200fb.c au1200_setlocation(fbdev, plane, win->w[plane].xpos, win->w[plane].ypos); w 955 drivers/video/fbdev/au1200fb.c lcd->winenable |= win->w[plane].mode_winenable; w 1047 drivers/video/fbdev/au1200fb.c var->xres = win->w[plane].xres; w 1048 drivers/video/fbdev/au1200fb.c var->yres = win->w[plane].yres; w 1054 drivers/video/fbdev/au1200fb.c var->bits_per_pixel = winbpp(win->w[plane].mode_winctrl1); w 1097 drivers/video/fbdev/au1200fb.c idx = (win->w[0].mode_winctrl1 & LCD_WINCTRL1_FRM) >> 25; w 1110 drivers/video/fbdev/au1200fb.c idx = (win->w[0].mode_winctrl1 & LCD_WINCTRL1_FRM) >> 25; w 1524 drivers/video/fbdev/au1200fb.c bpp = winbpp(win->w[fbdev->plane].mode_winctrl1); w 1669 drivers/video/fbdev/au1200fb.c bpp = winbpp(win->w[plane].mode_winctrl1); w 1670 drivers/video/fbdev/au1200fb.c if (win->w[plane].xres == 0) w 1671 drivers/video/fbdev/au1200fb.c win->w[plane].xres = panel->Xres; w 1672 drivers/video/fbdev/au1200fb.c if (win->w[plane].yres == 0) w 1673 drivers/video/fbdev/au1200fb.c win->w[plane].yres = panel->Yres; w 1691 drivers/video/fbdev/au1200fb.c fbdev->fb_len = (win->w[plane].xres * win->w[plane].yres * bpp) / 8; w 39 drivers/video/fbdev/broadsheetfb.c int w; w 54 drivers/video/fbdev/broadsheetfb.c .w = 800, w 66 drivers/video/fbdev/broadsheetfb.c .w = 320, w 78 drivers/video/fbdev/broadsheetfb.c .w = 1200, w 787 drivers/video/fbdev/broadsheetfb.c args[0] = panel_table[par->panel_index].w; w 825 drivers/video/fbdev/broadsheetfb.c broadsheet_burst_write(par, (panel_table[par->panel_index].w * w 914 drivers/video/fbdev/broadsheetfb.c broadsheet_burst_write(par, (panel_table[par->panel_index].w * w 1103 drivers/video/fbdev/broadsheetfb.c dpyw = panel_table[panel_index].w; w 92 drivers/video/fbdev/c2p_iplan2.c u32 dst_idx, first, last, w; w 105 drivers/video/fbdev/c2p_iplan2.c w = width; w 117 drivers/video/fbdev/c2p_iplan2.c w = width; w 120 drivers/video/fbdev/c2p_iplan2.c w = 16 - dst_idx; w 122 drivers/video/fbdev/c2p_iplan2.c memcpy(d.pixels+dst_idx, c, w); w 123 drivers/video/fbdev/c2p_iplan2.c c += w; w 127 drivers/video/fbdev/c2p_iplan2.c w = width-w; w 130 drivers/video/fbdev/c2p_iplan2.c while (w >= 16) { w 136 drivers/video/fbdev/c2p_iplan2.c w -= 16; w 139 drivers/video/fbdev/c2p_iplan2.c w %= 16; w 140 drivers/video/fbdev/c2p_iplan2.c if (w > 0) { w 141 drivers/video/fbdev/c2p_iplan2.c memcpy(d.pixels, c, w); w 142 drivers/video/fbdev/c2p_iplan2.c memset(d.pixels+w, 0, 16-w); w 94 drivers/video/fbdev/c2p_planar.c u32 dst_idx, first, last, w; w 105 drivers/video/fbdev/c2p_planar.c w = width; w 118 drivers/video/fbdev/c2p_planar.c w = width; w 121 drivers/video/fbdev/c2p_planar.c w = 32 - dst_idx; w 123 drivers/video/fbdev/c2p_planar.c memcpy(d.pixels+dst_idx, c, w); w 124 drivers/video/fbdev/c2p_planar.c c += w; w 129 drivers/video/fbdev/c2p_planar.c w = width-w; w 132 drivers/video/fbdev/c2p_planar.c while (w >= 32) { w 138 drivers/video/fbdev/c2p_planar.c w -= 32; w 141 drivers/video/fbdev/c2p_planar.c w %= 32; w 142 drivers/video/fbdev/c2p_planar.c if (w > 0) { w 143 drivers/video/fbdev/c2p_planar.c memcpy(d.pixels, c, w); w 144 drivers/video/fbdev/c2p_planar.c memset(d.pixels+w, 0, 32-w); w 242 drivers/video/fbdev/core/bitblit.c int w = DIV_ROUND_UP(vc->vc_font.width, 8), c; w 261 drivers/video/fbdev/core/bitblit.c src = vc->vc_font.data + ((c & charmask) * (w * vc->vc_font.height)); w 272 drivers/video/fbdev/core/bitblit.c dst = kmalloc_array(w, vc->vc_font.height, GFP_ATOMIC); w 315 drivers/video/fbdev/core/bitblit.c char *mask = kmalloc_array(w, vc->vc_font.height, GFP_ATOMIC); w 349 drivers/video/fbdev/core/bitblit.c size = (vc->vc_font.height - cur_height) * w; w 352 drivers/video/fbdev/core/bitblit.c size = cur_height * w; w 2565 drivers/video/fbdev/core/fbcon.c static int fbcon_do_set_font(struct vc_data *vc, int w, int h, w 2578 drivers/video/fbdev/core/fbcon.c resize = (w != vc->vc_font.width) || (h != vc->vc_font.height); w 2588 drivers/video/fbdev/core/fbcon.c vc->vc_font.width = w; w 2600 drivers/video/fbdev/core/fbcon.c cols /= w; w 2643 drivers/video/fbdev/core/fbcon.c int w = font->width; w 2692 drivers/video/fbdev/core/fbcon.c tmp->vc_font.width == w && w 227 drivers/video/fbdev/core/fbcon_ccw.c int w = (vc->vc_font.height + 7) >> 3, c; w 250 drivers/video/fbdev/core/fbcon_ccw.c src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.width)); w 261 drivers/video/fbdev/core/fbcon_ccw.c dst = kmalloc_array(w, vc->vc_font.width, GFP_ATOMIC); w 307 drivers/video/fbdev/core/fbcon_ccw.c char *tmp, *mask = kmalloc_array(w, vc->vc_font.width, w 356 drivers/video/fbdev/core/fbcon_ccw.c memset(mask, 0, w * vc->vc_font.width); w 210 drivers/video/fbdev/core/fbcon_cw.c int w = (vc->vc_font.height + 7) >> 3, c; w 233 drivers/video/fbdev/core/fbcon_cw.c src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.width)); w 244 drivers/video/fbdev/core/fbcon_cw.c dst = kmalloc_array(w, vc->vc_font.width, GFP_ATOMIC); w 290 drivers/video/fbdev/core/fbcon_cw.c char *tmp, *mask = kmalloc_array(w, vc->vc_font.width, w 339 drivers/video/fbdev/core/fbcon_cw.c memset(mask, 0, w * vc->vc_font.width); w 60 drivers/video/fbdev/core/fbcon_rotate.h int i, j, h = height, w = width; w 67 drivers/video/fbdev/core/fbcon_rotate.h for (j = 0; j < w; j++) { w 78 drivers/video/fbdev/core/fbcon_rotate.h int i, j, h = height, w = width; w 85 drivers/video/fbdev/core/fbcon_rotate.h for (j = 0; j < w; j++) { w 257 drivers/video/fbdev/core/fbcon_ud.c int w = (vc->vc_font.width + 7) >> 3, c; w 281 drivers/video/fbdev/core/fbcon_ud.c src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.height)); w 292 drivers/video/fbdev/core/fbcon_ud.c dst = kmalloc_array(w, vc->vc_font.height, GFP_ATOMIC); w 338 drivers/video/fbdev/core/fbcon_ud.c char *mask = kmalloc_array(w, vc->vc_font.height, GFP_ATOMIC); w 373 drivers/video/fbdev/core/fbcon_ud.c size = cur_height * w; w 378 drivers/video/fbdev/core/fbcon_ud.c size = (vc->vc_font.height - cur_height) * w; w 378 drivers/video/fbdev/core/fbmem.c int i, j, w = width - 1; w 382 drivers/video/fbdev/core/fbmem.c out[height * (w - j) + i] = *in++; w 1003 drivers/video/fbdev/fsl-diu-fb.c unsigned int h, w; w 1009 drivers/video/fbdev/fsl-diu-fb.c for (w = 0; w < width; w++) { w 1010 drivers/video/fbdev/fsl-diu-fb.c cursor[w] = (line & mask) ? _fg : _bg; w 126 drivers/video/fbdev/hpfb.c static void topcat_blit(int x0, int y0, int x1, int y1, int w, int h, int rr) w 141 drivers/video/fbdev/hpfb.c out_be16(fb_regs + WWIDTH, w); w 521 drivers/video/fbdev/hyperv_fb.c static void hvfb_update_work(struct work_struct *w) w 523 drivers/video/fbdev/hyperv_fb.c struct hvfb_par *par = container_of(w, struct hvfb_par, dwork.work); w 801 drivers/video/fbdev/i810/i810_main.c int i, j, w = width/8; w 807 drivers/video/fbdev/i810/i810_main.c for (j = 0; j < w; j++) { w 72 drivers/video/fbdev/imxfb.c #define LCWHB_CW(w) (((w) & 0x1f) << 24) w 1657 drivers/video/fbdev/intelfb/intelfbhw.c void intelfbhw_do_fillrect(struct intelfb_info *dinfo, u32 x, u32 y, u32 w, w 1664 drivers/video/fbdev/intelfb/intelfbhw.c "rop 0x%02x\n", x, y, w, h, color, pitch, bpp, rop); w 1670 drivers/video/fbdev/intelfb/intelfbhw.c br14 = (h << HEIGHT_SHIFT) | ((w * (bpp / 8)) << WIDTH_SHIFT); w 1703 drivers/video/fbdev/intelfb/intelfbhw.c u32 dstx, u32 dsty, u32 w, u32 h, u32 pitch, u32 bpp) w 1709 drivers/video/fbdev/intelfb/intelfbhw.c curx, cury, dstx, dsty, w, h, pitch, bpp); w 1718 drivers/video/fbdev/intelfb/intelfbhw.c br23 = ((dstx + w) << WIDTH_SHIFT) | w 1747 drivers/video/fbdev/intelfb/intelfbhw.c int intelfbhw_do_drawglyph(struct intelfb_info *dinfo, u32 fg, u32 bg, u32 w, w 1757 drivers/video/fbdev/intelfb/intelfbhw.c DBG_MSG("intelfbhw_do_drawglyph: (%d,%d) %dx%d\n", x, y, w, h); w 1761 drivers/video/fbdev/intelfb/intelfbhw.c nbytes = ROUND_UP_TO(w, 16) / 8; w 1789 drivers/video/fbdev/intelfb/intelfbhw.c br23 = ((x + w) << WIDTH_SHIFT) | ((y + h) << HEIGHT_SHIFT); w 1813 drivers/video/fbdev/intelfb/intelfbhw.c iw = ROUND_UP_TO(w, 8) / 8; w 1959 drivers/video/fbdev/intelfb/intelfbhw.c int i, j, w = width / 8; w 1972 drivers/video/fbdev/intelfb/intelfbhw.c for (j = 0; j < w; j++) { w 587 drivers/video/fbdev/intelfb/intelfbhw.h u32 w, u32 h, u32 color, u32 pitch, u32 bpp, w 590 drivers/video/fbdev/intelfb/intelfbhw.h u32 dstx, u32 dsty, u32 w, u32 h, u32 pitch, w 593 drivers/video/fbdev/intelfb/intelfbhw.h u32 w, u32 h, const u8* cdat, u32 x, u32 y, w 1766 drivers/video/fbdev/neofb.c int w; w 1787 drivers/video/fbdev/neofb.c w = vga_rgfx(NULL, 0x20); w 1789 drivers/video/fbdev/neofb.c switch ((w & 0x18) >> 3) { w 1855 drivers/video/fbdev/neofb.c for (int w = 0; w < 0x85; w++) w 1856 drivers/video/fbdev/neofb.c printk(KERN_DEBUG "CR %p: %p\n", (void *) w, w 1857 drivers/video/fbdev/neofb.c (void *) vga_rcrt(NULL, w)); w 1858 drivers/video/fbdev/neofb.c for (int w = 0; w < 0xC7; w++) w 1859 drivers/video/fbdev/neofb.c printk(KERN_DEBUG "GR %p: %p\n", (void *) w, w 1860 drivers/video/fbdev/neofb.c (void *) vga_rgfx(NULL, w)); w 194 drivers/video/fbdev/nvidia/nv_accel.c int w = x2 - x1 + 1; w 198 drivers/video/fbdev/nvidia/nv_accel.c NVDmaNext(par, (h << 16) | w); w 115 drivers/video/fbdev/nvidia/nvidia.c u16 bg, u16 fg, u32 w, u32 h) w 121 drivers/video/fbdev/nvidia/nvidia.c w = (w + 1) & ~1; w 127 drivers/video/fbdev/nvidia/nvidia.c for (j = 0; j < w / 2; j++) { w 142 drivers/video/fbdev/nvidia/nvidia.c k += (MAX_CURS - w) / 2; w 332 drivers/video/fbdev/omap/hwa742.c int w = par->width; w 345 drivers/video/fbdev/omap/hwa742.c x, y, w, h, scr_width, color_mode, flags); w 381 drivers/video/fbdev/omap/hwa742.c set_window_regs(x, y, x + w, y + h); w 386 drivers/video/fbdev/omap/hwa742.c OMAPFB_CHANNEL_OUT_LCD, offset, scr_width, 0, 0, w, h, w 392 drivers/video/fbdev/omap/hwa742.c hwa742.extif->transfer_area(w, h, request_complete, req); w 59 drivers/video/fbdev/omap/lcd_mipid.c u16 w; w 85 drivers/video/fbdev/omap/lcd_mipid.c x->rx_buf = &w; w 108 drivers/video/fbdev/omap/lcd_mipid.c rbuf[0] = w & 0xff; w 192 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c u16 x, u16 y, u16 w, u16 h) w 197 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c u16 x2 = x + w - 1; w 862 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c u16 x, u16 y, u16 w, u16 h) w 868 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c dev_dbg(&ddata->pdev->dev, "update %d, %d, %d x %d\n", x, y, w, h); w 996 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c u16 x, u16 y, u16 w, u16 h) w 1005 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c if (size < w * h * 3) w 1015 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c size = min(w * h * 3, w 1033 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c dsicm_set_update_window(ddata, x, y, w, h); w 98 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c u16 w; w 105 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c w = ((u16)addr << 10) | (1 << 8) | data; w 106 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c xfer.tx_buf = &w; w 2993 drivers/video/fbdev/omap2/omapfb/dss/dsi.c int w; w 3006 drivers/video/fbdev/omap2/omapfb/dss/dsi.c for (w = 0; w < len + 2;) { w 3018 drivers/video/fbdev/omap2/omapfb/dss/dsi.c if (w < len) w 3019 drivers/video/fbdev/omap2/omapfb/dss/dsi.c buf[w] = (val >> (b * 8)) & 0xff; w 3021 drivers/video/fbdev/omap2/omapfb/dss/dsi.c ++w; w 3911 drivers/video/fbdev/omap2/omapfb/dss/dsi.c u16 w = dsi->timings.x_res; w 3914 drivers/video/fbdev/omap2/omapfb/dss/dsi.c DSSDBG("dsi_update_screen_dispc(%dx%d)\n", w, h); w 3919 drivers/video/fbdev/omap2/omapfb/dss/dsi.c bytespl = w * bytespp; w 279 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c u32 x, u32 y, u32 w, u32 h) w 287 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (w == 0 || h == 0) w 292 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (x + w > dw || y + h > dh) w 295 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c return display->driver->update(display, x, y, w, h); w 488 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (mr->w > 4096 || mr->h > 4096) w 491 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (mr->w * mr->h * 3 > mr->buffer_size) w 501 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c mr->x, mr->y, mr->w, mr->h); w 893 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c u32 w, h; w 894 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c display->driver->get_dimensions(display, &w, &h); w 895 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c p.display_info.width = w; w 92 drivers/video/fbdev/omap2/omapfb/omapfb-main.c const short w = var->xres_virtual; w 100 drivers/video/fbdev/omap2/omapfb/omapfb-main.c DBG("fill_fb %dx%d, line_len %d bytes\n", w, h, fbi->fix.line_length); w 103 drivers/video/fbdev/omap2/omapfb/omapfb-main.c for (x = 0; x < w; x++) { w 108 drivers/video/fbdev/omap2/omapfb/omapfb-main.c else if (y < 20 && (x > 20 && x < w - 20)) w 110 drivers/video/fbdev/omap2/omapfb/omapfb-main.c else if (x > w - 20 && (y > 20 && y < h - 20)) w 112 drivers/video/fbdev/omap2/omapfb/omapfb-main.c else if (y > h - 20 && (x > 20 && x < w - 20)) w 114 drivers/video/fbdev/omap2/omapfb/omapfb-main.c else if (x == 20 || x == w - 20 || w 117 drivers/video/fbdev/omap2/omapfb/omapfb-main.c else if (x == y || w - x == h - y) w 119 drivers/video/fbdev/omap2/omapfb/omapfb-main.c else if (w - x == y || x == h - y) w 121 drivers/video/fbdev/omap2/omapfb/omapfb-main.c else if (x > 20 && y > 20 && x < w - 20 && y < h - 20) { w 122 drivers/video/fbdev/omap2/omapfb/omapfb-main.c int t = x * 3 / w; w 699 drivers/video/fbdev/omap2/omapfb/omapfb-main.c u32 w, h; w 700 drivers/video/fbdev/omap2/omapfb/omapfb-main.c display->driver->get_dimensions(display, &w, &h); w 701 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->width = DIV_ROUND_CLOSEST(w, 1000); w 1446 drivers/video/fbdev/omap2/omapfb/omapfb-main.c u16 w, h; w 1448 drivers/video/fbdev/omap2/omapfb/omapfb-main.c display->driver->get_resolution(display, &w, &h); w 1451 drivers/video/fbdev/omap2/omapfb/omapfb-main.c size = max(omap_vrfb_min_phys_size(w, h, bytespp), w 1452 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omap_vrfb_min_phys_size(h, w, bytespp)); w 1455 drivers/video/fbdev/omap2/omapfb/omapfb-main.c w * h * bytespp, size); w 1457 drivers/video/fbdev/omap2/omapfb/omapfb-main.c size = w * h * bytespp; w 1663 drivers/video/fbdev/omap2/omapfb/omapfb-main.c u16 w, h; w 1680 drivers/video/fbdev/omap2/omapfb/omapfb-main.c dssdrv->get_resolution(dssdev, &w, &h); w 1681 drivers/video/fbdev/omap2/omapfb/omapfb-main.c dssdrv->update(dssdev, 0, 0, w, h); w 1753 drivers/video/fbdev/omap2/omapfb/omapfb-main.c u16 w, h; w 1756 drivers/video/fbdev/omap2/omapfb/omapfb-main.c display->driver->get_resolution(display, &w, &h); w 1761 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->yres = w; w 1763 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->xres = w; w 2326 drivers/video/fbdev/omap2/omapfb/omapfb-main.c u16 w, h; w 2343 drivers/video/fbdev/omap2/omapfb/omapfb-main.c dssdrv->get_resolution(dssdev, &w, &h); w 2344 drivers/video/fbdev/omap2/omapfb/omapfb-main.c r = dssdrv->update(dssdev, 0, 0, w, h); w 2589 drivers/video/fbdev/omap2/omapfb/omapfb-main.c u16 w, h; w 2591 drivers/video/fbdev/omap2/omapfb/omapfb-main.c def_display->driver->get_resolution(def_display, &w, &h); w 2594 drivers/video/fbdev/omap2/omapfb/omapfb-main.c def_display->name, w, h); w 488 drivers/video/fbdev/riva/fbdev.c u16 bg, u16 fg, u32 w, u32 h) w 496 drivers/video/fbdev/riva/fbdev.c w = (w + 1) & ~1; w 502 drivers/video/fbdev/riva/fbdev.c for (j = 0; j < w/2; j++) { w 517 drivers/video/fbdev/riva/fbdev.c k += (MAX_CURS - w)/2; w 961 drivers/video/fbdev/sa1100fb.c static void sa1100fb_task(struct work_struct *w) w 963 drivers/video/fbdev/sa1100fb.c struct sa1100fb_info *fbi = container_of(w, struct sa1100fb_info, task); w 118 drivers/video/fbdev/savage/savagefb.h #define BCI_W_H(w, h) (((h) << 16) | ((w) & 0xFFF)) w 146 drivers/video/fbdev/sis/sis_accel.c SiS300SubsequentSolidFillRect(struct sis_video_info *ivideo, int x, int y, int w, int h) w 156 drivers/video/fbdev/sis/sis_accel.c SiS300SetupRect(w,h) w 248 drivers/video/fbdev/sis/sis_accel.c SiS310SubsequentSolidFillRect(struct sis_video_info *ivideo, int x, int y, int w, int h) w 259 drivers/video/fbdev/sis/sis_accel.c SiS310SetupRect(w,h) w 185 drivers/video/fbdev/sis/sis_accel.h #define SiS300SetupRect(w,h) \ w 187 drivers/video/fbdev/sis/sis_accel.h MMIO_OUT32(ivideo->mmio_vbase, BR(6), (h)<<16 | (w) );\ w 315 drivers/video/fbdev/sis/sis_accel.h #define SiS310SetupRect(w,h) \ w 317 drivers/video/fbdev/sis/sis_accel.h MMIO_OUT32(ivideo->mmio_vbase, RECT_WIDTH, (h)<<16 | (w) );\ w 73 drivers/video/fbdev/smscufx.c int w, h; w 1027 drivers/video/fbdev/smscufx.c ufx_handle_damage(dev, area->x, area->y, area->w, area->h); w 329 drivers/video/fbdev/tridentfb.c u32 x, u32 y, u32 w, u32 h, u32 c, u32 rop) w 336 drivers/video/fbdev/tridentfb.c writemmr(par, DST2, point(x + w - 1, y + h - 1)); w 340 drivers/video/fbdev/tridentfb.c u32 x, u32 y, u32 w, u32 h, u32 c, u32 b) w 342 drivers/video/fbdev/tridentfb.c unsigned size = ((w + 31) >> 5) * h; w 349 drivers/video/fbdev/tridentfb.c writemmr(par, DST2, point(x + w - 1, y + h - 1)); w 355 drivers/video/fbdev/tridentfb.c u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) w 359 drivers/video/fbdev/tridentfb.c u32 s2 = point(x1 + w - 1, y1 + h - 1); w 361 drivers/video/fbdev/tridentfb.c u32 d2 = point(x2 + w - 1, y2 + h - 1); w 431 drivers/video/fbdev/tridentfb.c u32 x, u32 y, u32 w, u32 h, u32 c, u32 rop) w 436 drivers/video/fbdev/tridentfb.c writemmr(par, OLDDIM, point(h, w)); w 443 drivers/video/fbdev/tridentfb.c u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) w 450 drivers/video/fbdev/tridentfb.c x1_tmp = x1 + w - 1; w 451 drivers/video/fbdev/tridentfb.c x2_tmp = x2 + w - 1; w 470 drivers/video/fbdev/tridentfb.c writemmr(par, OLDDIM, point(h, w)); w 503 drivers/video/fbdev/tridentfb.c u32 x, u32 y, u32 w, u32 h, u32 c, u32 rop) w 511 drivers/video/fbdev/tridentfb.c writemmr(par, DST2, point(x + w - 1, y + h - 1)); w 517 drivers/video/fbdev/tridentfb.c u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) w 521 drivers/video/fbdev/tridentfb.c u32 s2 = point(x1 + w - 1, y1 + h - 1); w 523 drivers/video/fbdev/tridentfb.c u32 d2 = point(x2 + w - 1, y2 + h - 1); w 571 drivers/video/fbdev/tridentfb.c u32 x, u32 y, u32 w, u32 h, u32 c, u32 rop) w 576 drivers/video/fbdev/tridentfb.c writemmr(par, OLDDIM, point(w - 1, h - 1)); w 582 drivers/video/fbdev/tridentfb.c u32 x1, u32 y1, u32 x2, u32 y2, u32 w, u32 h) w 589 drivers/video/fbdev/tridentfb.c x1_tmp = x1 + w - 1; w 590 drivers/video/fbdev/tridentfb.c x2_tmp = x2 + w - 1; w 609 drivers/video/fbdev/tridentfb.c writemmr(par, OLDDIM, point(w - 1, h - 1)); w 677 drivers/video/fbdev/udlfb.c static void dlfb_damage_work(struct work_struct *w) w 679 drivers/video/fbdev/udlfb.c struct dlfb_data *dlfb = container_of(w, struct dlfb_data, damage_work); w 918 drivers/video/fbdev/udlfb.c dlfb_handle_damage(dlfb, area.x, area.y, area.w, area.h); w 386 drivers/video/fbdev/w100fb.c u32 h = area->height, w = area->width; w 405 drivers/video/fbdev/w100fb.c writel((w << 16) | (h & 0xffff), remapped_regs + mmDST_WIDTH_HEIGHT); w 91 drivers/video/fbdev/xen-fbfront.c int x, int y, int w, int h) w 99 drivers/video/fbdev/xen-fbfront.c event.update.width = w; w 141 drivers/video/fbdev/xen-fbfront.c int x1, int y1, int w, int h) w 144 drivers/video/fbdev/xen-fbfront.c int x2 = x1 + w - 1; w 153 drivers/virtio/virtio_mmio.c __le16 w; w 171 drivers/virtio/virtio_mmio.c w = cpu_to_le16(readw(base + offset)); w 172 drivers/virtio/virtio_mmio.c memcpy(buf, &w, sizeof w); w 195 drivers/virtio/virtio_mmio.c __le16 w; w 214 drivers/virtio/virtio_mmio.c memcpy(&w, buf, sizeof w); w 215 drivers/virtio/virtio_mmio.c writew(le16_to_cpu(w), base + offset); w 195 drivers/virtio/virtio_pci_modern.c __le16 w; w 206 drivers/virtio/virtio_pci_modern.c w = cpu_to_le16(ioread16(vp_dev->device + offset)); w 207 drivers/virtio/virtio_pci_modern.c memcpy(buf, &w, sizeof w); w 231 drivers/virtio/virtio_pci_modern.c __le16 w; w 242 drivers/virtio/virtio_pci_modern.c memcpy(&w, buf, sizeof w); w 243 drivers/virtio/virtio_pci_modern.c iowrite16(le16_to_cpu(w), vp_dev->device + offset); w 32 drivers/watchdog/bcm_kona_wdt.c #define SECS_TO_TICKS(x, w) ((x) << (w)->resolution) w 33 drivers/watchdog/bcm_kona_wdt.c #define TICKS_TO_SECS(x, w) ((x) >> (w)->resolution) w 131 drivers/watchdog/bd70528_wdt.c static int bd70528_wdt_set_locked(struct wdtbd70528 *w, int enable) w 133 drivers/watchdog/bd70528_wdt.c return bd70528_wdt_set(w->mfd, enable, NULL); w 136 drivers/watchdog/bd70528_wdt.c static int bd70528_wdt_change(struct wdtbd70528 *w, int enable) w 140 drivers/watchdog/bd70528_wdt.c bd70528_wdt_lock(w->mfd); w 141 drivers/watchdog/bd70528_wdt.c ret = bd70528_wdt_set_locked(w, enable); w 142 drivers/watchdog/bd70528_wdt.c bd70528_wdt_unlock(w->mfd); w 149 drivers/watchdog/bd70528_wdt.c struct wdtbd70528 *w = watchdog_get_drvdata(wdt); w 151 drivers/watchdog/bd70528_wdt.c dev_dbg(w->dev, "WDT ping...\n"); w 152 drivers/watchdog/bd70528_wdt.c return bd70528_wdt_change(w, 1); w 157 drivers/watchdog/bd70528_wdt.c struct wdtbd70528 *w = watchdog_get_drvdata(wdt); w 159 drivers/watchdog/bd70528_wdt.c dev_dbg(w->dev, "WDT stopping...\n"); w 160 drivers/watchdog/bd70528_wdt.c return bd70528_wdt_change(w, 0); w 170 drivers/watchdog/bd70528_wdt.c struct wdtbd70528 *w = watchdog_get_drvdata(wdt); w 180 drivers/watchdog/bd70528_wdt.c bd70528_wdt_lock(w->mfd); w 182 drivers/watchdog/bd70528_wdt.c ret = bd70528_wdt_set_locked(w, 0); w 186 drivers/watchdog/bd70528_wdt.c ret = regmap_update_bits(w->regmap, BD70528_REG_WDT_HOUR, w 189 drivers/watchdog/bd70528_wdt.c dev_err(w->dev, "Failed to set WDT hours\n"); w 192 drivers/watchdog/bd70528_wdt.c ret = regmap_update_bits(w->regmap, BD70528_REG_WDT_MINUTE, w 195 drivers/watchdog/bd70528_wdt.c dev_err(w->dev, "Failed to set WDT minutes\n"); w 198 drivers/watchdog/bd70528_wdt.c ret = regmap_update_bits(w->regmap, BD70528_REG_WDT_SEC, w 201 drivers/watchdog/bd70528_wdt.c dev_err(w->dev, "Failed to set WDT seconds\n"); w 203 drivers/watchdog/bd70528_wdt.c dev_dbg(w->dev, "WDT tmo set to %u\n", timeout); w 206 drivers/watchdog/bd70528_wdt.c ret = bd70528_wdt_set_locked(w, 1); w 208 drivers/watchdog/bd70528_wdt.c bd70528_wdt_unlock(w->mfd); w 227 drivers/watchdog/bd70528_wdt.c struct wdtbd70528 *w; w 236 drivers/watchdog/bd70528_wdt.c w = devm_kzalloc(&pdev->dev, sizeof(*w), GFP_KERNEL); w 237 drivers/watchdog/bd70528_wdt.c if (!w) w 240 drivers/watchdog/bd70528_wdt.c w->regmap = bd70528->regmap; w 241 drivers/watchdog/bd70528_wdt.c w->mfd = bd70528; w 242 drivers/watchdog/bd70528_wdt.c w->dev = &pdev->dev; w 244 drivers/watchdog/bd70528_wdt.c w->wdt.info = &bd70528_wdt_info; w 245 drivers/watchdog/bd70528_wdt.c w->wdt.ops = &bd70528_wdt_ops; w 246 drivers/watchdog/bd70528_wdt.c w->wdt.min_hw_heartbeat_ms = WDT_MIN_MS; w 247 drivers/watchdog/bd70528_wdt.c w->wdt.max_hw_heartbeat_ms = WDT_MAX_MS; w 248 drivers/watchdog/bd70528_wdt.c w->wdt.parent = pdev->dev.parent; w 249 drivers/watchdog/bd70528_wdt.c w->wdt.timeout = DEFAULT_TIMEOUT; w 250 drivers/watchdog/bd70528_wdt.c watchdog_set_drvdata(&w->wdt, w); w 251 drivers/watchdog/bd70528_wdt.c watchdog_init_timeout(&w->wdt, 0, pdev->dev.parent); w 253 drivers/watchdog/bd70528_wdt.c ret = bd70528_wdt_set_timeout(&w->wdt, w->wdt.timeout); w 259 drivers/watchdog/bd70528_wdt.c bd70528_wdt_lock(w->mfd); w 260 drivers/watchdog/bd70528_wdt.c ret = regmap_read(w->regmap, BD70528_REG_WDT_CTRL, ®); w 261 drivers/watchdog/bd70528_wdt.c bd70528_wdt_unlock(w->mfd); w 269 drivers/watchdog/bd70528_wdt.c set_bit(WDOG_HW_RUNNING, &w->wdt.status); w 272 drivers/watchdog/bd70528_wdt.c ret = devm_watchdog_register_device(&pdev->dev, &w->wdt); w 49 drivers/watchdog/i6300esb.c #define ESB_TIMER1_REG(w) ((w)->base + 0x00)/* Timer1 value after each reset */ w 50 drivers/watchdog/i6300esb.c #define ESB_TIMER2_REG(w) ((w)->base + 0x04)/* Timer2 value after each reset */ w 51 drivers/watchdog/i6300esb.c #define ESB_GINTSR_REG(w) ((w)->base + 0x08)/* General Interrupt Status Reg */ w 52 drivers/watchdog/i6300esb.c #define ESB_RELOAD_REG(w) ((w)->base + 0x0c)/* Reload register */ w 81 drivers/watchdog/mpc8xxx_wdt.c static int mpc8xxx_wdt_start(struct watchdog_device *w) w 84 drivers/watchdog/mpc8xxx_wdt.c container_of(w, struct mpc8xxx_wdt_ddata, wdd); w 106 drivers/watchdog/mpc8xxx_wdt.c static int mpc8xxx_wdt_ping(struct watchdog_device *w) w 109 drivers/watchdog/mpc8xxx_wdt.c container_of(w, struct mpc8xxx_wdt_ddata, wdd); w 53 drivers/watchdog/mt7621_wdt.c static int mt7621_wdt_ping(struct watchdog_device *w) w 60 drivers/watchdog/mt7621_wdt.c static int mt7621_wdt_set_timeout(struct watchdog_device *w, unsigned int t) w 62 drivers/watchdog/mt7621_wdt.c w->timeout = t; w 64 drivers/watchdog/mt7621_wdt.c mt7621_wdt_ping(w); w 69 drivers/watchdog/mt7621_wdt.c static int mt7621_wdt_start(struct watchdog_device *w) w 76 drivers/watchdog/mt7621_wdt.c mt7621_wdt_set_timeout(w, w->timeout); w 85 drivers/watchdog/mt7621_wdt.c static int mt7621_wdt_stop(struct watchdog_device *w) w 89 drivers/watchdog/mt7621_wdt.c mt7621_wdt_ping(w); w 106 drivers/watchdog/mt7621_wdt.c static int mt7621_wdt_is_running(struct watchdog_device *w) w 64 drivers/watchdog/rt2880_wdt.c static int rt288x_wdt_ping(struct watchdog_device *w) w 66 drivers/watchdog/rt2880_wdt.c rt_wdt_w32(TIMER_REG_TMR1LOAD, w->timeout * rt288x_wdt_freq); w 71 drivers/watchdog/rt2880_wdt.c static int rt288x_wdt_start(struct watchdog_device *w) w 82 drivers/watchdog/rt2880_wdt.c rt288x_wdt_ping(w); w 91 drivers/watchdog/rt2880_wdt.c static int rt288x_wdt_stop(struct watchdog_device *w) w 95 drivers/watchdog/rt2880_wdt.c rt288x_wdt_ping(w); w 104 drivers/watchdog/rt2880_wdt.c static int rt288x_wdt_set_timeout(struct watchdog_device *w, unsigned int t) w 106 drivers/watchdog/rt2880_wdt.c w->timeout = t; w 107 drivers/watchdog/rt2880_wdt.c rt288x_wdt_ping(w); w 81 drivers/watchdog/softdog.c static int softdog_ping(struct watchdog_device *w) w 85 drivers/watchdog/softdog.c hrtimer_start(&softdog_ticktock, ktime_set(w->timeout, 0), w 89 drivers/watchdog/softdog.c if (w->pretimeout) w 91 drivers/watchdog/softdog.c ktime_set(w->timeout - w->pretimeout, 0), w 100 drivers/watchdog/softdog.c static int softdog_stop(struct watchdog_device *w) w 55 drivers/watchdog/uniphier_wdt.c static int uniphier_watchdog_ping(struct watchdog_device *w) w 57 drivers/watchdog/uniphier_wdt.c struct uniphier_wdt_dev *wdev = watchdog_get_drvdata(w); w 124 drivers/watchdog/uniphier_wdt.c static int uniphier_watchdog_start(struct watchdog_device *w) w 126 drivers/watchdog/uniphier_wdt.c struct uniphier_wdt_dev *wdev = watchdog_get_drvdata(w); w 129 drivers/watchdog/uniphier_wdt.c tmp_timeout = roundup_pow_of_two(w->timeout); w 134 drivers/watchdog/uniphier_wdt.c static int uniphier_watchdog_stop(struct watchdog_device *w) w 136 drivers/watchdog/uniphier_wdt.c struct uniphier_wdt_dev *wdev = watchdog_get_drvdata(w); w 141 drivers/watchdog/uniphier_wdt.c static int uniphier_watchdog_set_timeout(struct watchdog_device *w, w 144 drivers/watchdog/uniphier_wdt.c struct uniphier_wdt_dev *wdev = watchdog_get_drvdata(w); w 149 drivers/watchdog/uniphier_wdt.c if (tmp_timeout == w->timeout) w 152 drivers/watchdog/uniphier_wdt.c if (watchdog_active(w)) { w 158 drivers/watchdog/uniphier_wdt.c w->timeout = tmp_timeout; w 39 drivers/xen/events/events_2l.c #define EVTCHN_FIRST_BIT(w) find_first_bit(BM(&(w)), BITS_PER_EVTCHN_WORD) w 143 drivers/xen/events/events_2l.c #define MASK_LSBS(w, i) (w & ((~((xen_ulong_t)0UL)) << i)) w 74 drivers/xen/events/events_fifo.c #define BM(w) (unsigned long *)((unsigned long)w & ~0x7UL) w 75 drivers/xen/events/events_fifo.c #define EVTCHN_FIFO_BIT(b, w) \ w 76 drivers/xen/events/events_fifo.c (((unsigned long)w & 0x4UL) ? (EVTCHN_FIFO_ ##b + 32) : EVTCHN_FIFO_ ##b) w 80 drivers/xen/events/events_fifo.c #define BM(w) ((unsigned long *)(w)) w 81 drivers/xen/events/events_fifo.c #define EVTCHN_FIFO_BIT(b, w) EVTCHN_FIFO_ ##b w 234 drivers/xen/events/events_fifo.c event_word_t new, old, w; w 236 drivers/xen/events/events_fifo.c w = *word; w 239 drivers/xen/events/events_fifo.c old = w & ~(1 << EVTCHN_FIFO_BUSY); w 241 drivers/xen/events/events_fifo.c w = sync_cmpxchg(word, old, new); w 242 drivers/xen/events/events_fifo.c } while (w != old); w 260 drivers/xen/events/events_fifo.c event_word_t new, old, w; w 262 drivers/xen/events/events_fifo.c w = *word; w 265 drivers/xen/events/events_fifo.c old = w; w 266 drivers/xen/events/events_fifo.c new = (w & ~((1 << EVTCHN_FIFO_LINKED) w 268 drivers/xen/events/events_fifo.c } while ((w = sync_cmpxchg(word, old, new)) != old); w 270 drivers/xen/events/events_fifo.c return w & EVTCHN_FIFO_LINK_MASK; w 56 drivers/xen/xen-pciback/conf_space.c if (field->u.w.read) w 57 drivers/xen/xen-pciback/conf_space.c ret = field->u.w.read(dev, offset, (u16 *) value, w 82 drivers/xen/xen-pciback/conf_space.c if (field->u.w.write) w 83 drivers/xen/xen-pciback/conf_space.c ret = field->u.w.write(dev, offset, (u16) value, w 52 drivers/xen/xen-pciback/conf_space.h } w; w 28 drivers/xen/xen-pciback/conf_space_capability.c .u.w.read = xen_pcibk_read_config_word, w 29 drivers/xen/xen-pciback/conf_space_capability.c .u.w.write = NULL, w 82 drivers/xen/xen-pciback/conf_space_capability.c .u.w.read = xen_pcibk_read_config_word, w 83 drivers/xen/xen-pciback/conf_space_capability.c .u.w.write = vpd_address_write, w 170 drivers/xen/xen-pciback/conf_space_capability.c .u.w.read = pm_caps_read, w 176 drivers/xen/xen-pciback/conf_space_capability.c .u.w.read = xen_pcibk_read_config_word, w 177 drivers/xen/xen-pciback/conf_space_capability.c .u.w.write = pm_ctrl_write, w 312 drivers/xen/xen-pciback/conf_space_header.c .u.w.read = xen_pcibk_read_vendor, w 317 drivers/xen/xen-pciback/conf_space_header.c .u.w.read = xen_pcibk_read_device, w 324 drivers/xen/xen-pciback/conf_space_header.c .u.w.read = command_read, w 325 drivers/xen/xen-pciback/conf_space_header.c .u.w.write = command_write, w 75 drivers/xen/xen-pciback/conf_space_quirks.c field->u.w.read = xen_pcibk_read_config_word; w 76 drivers/xen/xen-pciback/conf_space_quirks.c field->u.w.write = xen_pcibk_write_config_word; w 95 drivers/xen/xenbus/xenbus_probe_frontend.c static void xenbus_frontend_delayed_resume(struct work_struct *w) w 97 drivers/xen/xenbus/xenbus_probe_frontend.c struct xenbus_device *xdev = container_of(w, struct xenbus_device, work); w 335 drivers/xen/xenbus/xenbus_probe_frontend.c static void xenbus_reset_backend_state_changed(struct xenbus_watch *w, w 679 fs/ceph/super.h int w = __ceph_caps_file_wanted(ci) | __ceph_caps_used(ci); w 680 fs/ceph/super.h if (w & CEPH_CAP_FILE_BUFFER) w 681 fs/ceph/super.h w |= CEPH_CAP_FILE_EXCL; /* we want EXCL if dirty data */ w 682 fs/ceph/super.h return w; w 387 fs/dlm/member.c int i, w, x = 0, total = 0, all_zero = 0, *array; w 414 fs/dlm/member.c w = 1; w 416 fs/dlm/member.c w = memb->weight; w 420 fs/dlm/member.c for (i = 0; i < w; i++) w 203 fs/fat/namei_vfat.c static inline wchar_t vfat_bad_char(wchar_t w) w 205 fs/fat/namei_vfat.c return (w < 0x0020) w 206 fs/fat/namei_vfat.c || (w == '*') || (w == '?') || (w == '<') || (w == '>') w 207 fs/fat/namei_vfat.c || (w == '|') || (w == '"') || (w == ':') || (w == '/') w 208 fs/fat/namei_vfat.c || (w == '\\'); w 211 fs/fat/namei_vfat.c static inline wchar_t vfat_replace_char(wchar_t w) w 213 fs/fat/namei_vfat.c return (w == '[') || (w == ']') || (w == ';') || (w == ',') w 214 fs/fat/namei_vfat.c || (w == '+') || (w == '='); w 217 fs/fat/namei_vfat.c static wchar_t vfat_skip_char(wchar_t w) w 219 fs/fat/namei_vfat.c return (w == '.') || (w == ' '); w 2158 fs/fs-writeback.c static void wakeup_dirtytime_writeback(struct work_struct *w); w 2161 fs/fs-writeback.c static void wakeup_dirtytime_writeback(struct work_struct *w) w 67 fs/hostfs/hostfs.h extern int access_file(char *path, int r, int w, int x); w 68 fs/hostfs/hostfs.h extern int open_file(char *path, int r, int w, int append); w 304 fs/hostfs/hostfs_kern.c int r, w, fd; w 313 fs/hostfs/hostfs_kern.c r = w = 0; w 318 fs/hostfs/hostfs_kern.c r = w = 1; w 324 fs/hostfs/hostfs_kern.c fd = open_file(name, r, w, append); w 765 fs/hostfs/hostfs_kern.c int r = 0, w = 0, x = 0, err; w 771 fs/hostfs/hostfs_kern.c if (desired & MAY_WRITE) w = 1; w 781 fs/hostfs/hostfs_kern.c err = access_file(name, r, w, x); w 55 fs/hostfs/hostfs_user.c int access_file(char *path, int r, int w, int x) w 61 fs/hostfs/hostfs_user.c if (w) w 70 fs/hostfs/hostfs_user.c int open_file(char *path, int r, int w, int append) w 74 fs/hostfs/hostfs_user.c if (r && !w) w 76 fs/hostfs/hostfs_user.c else if (!r && w) w 78 fs/hostfs/hostfs_user.c else if (r && w) w 2714 fs/jfs/jfs_dmap.c int budsz, bud, w, bsz, size; w 2745 fs/jfs/jfs_dmap.c for (w = leafno, bsz = budsz;; bsz <<= 1, w 2746 fs/jfs/jfs_dmap.c w = (w < bud) ? w : bud) { w 2754 fs/jfs/jfs_dmap.c bud = w ^ bsz; w 3736 fs/jfs/jfs_dmap.c int blkno, w, b, r, nw, nb, i; w 3756 fs/jfs/jfs_dmap.c w = blkno >> L2DBWORD; w 3772 fs/jfs/jfs_dmap.c dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) w 3774 fs/jfs/jfs_dmap.c dp->pmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) w 3778 fs/jfs/jfs_dmap.c w++; w 3782 fs/jfs/jfs_dmap.c memset(&dp->wmap[w], 0, nw * 4); w 3783 fs/jfs/jfs_dmap.c memset(&dp->pmap[w], 0, nw * 4); w 3787 fs/jfs/jfs_dmap.c w += nw; w 3800 fs/jfs/jfs_dmap.c w = blkno >> L2DBWORD; w 3806 fs/jfs/jfs_dmap.c dp->wmap[w] = dp->pmap[w] = cpu_to_le32(ONES >> b); w 3807 fs/jfs/jfs_dmap.c w++; w 3811 fs/jfs/jfs_dmap.c for (i = w; i < LPERDMAP; i++) w 269 fs/nfsd/nfs2acl.c int w; w 286 fs/nfsd/nfs2acl.c rqstp->rq_res.page_len = w = nfsacl_size( w 289 fs/nfsd/nfs2acl.c while (w > 0) { w 292 fs/nfsd/nfs2acl.c w -= PAGE_SIZE; w 183 fs/nfsd/nfs3acl.c int w; w 190 fs/nfsd/nfs3acl.c rqstp->rq_res.page_len = w = nfsacl_size( w 193 fs/nfsd/nfs3acl.c while (w > 0) { w 196 fs/nfsd/nfs3acl.c w -= PAGE_SIZE; w 823 fs/nfsd/nfs4xdr.c u32 w; w 826 fs/nfsd/nfs4xdr.c w = be32_to_cpup(p++); w 827 fs/nfsd/nfs4xdr.c *share_access = w & NFS4_SHARE_ACCESS_MASK; w 828 fs/nfsd/nfs4xdr.c *deleg_want = w & NFS4_SHARE_WANT_MASK; w 830 fs/nfsd/nfs4xdr.c *deleg_when = w & NFS4_SHARE_WHEN_MASK; w 832 fs/nfsd/nfs4xdr.c switch (w & NFS4_SHARE_ACCESS_MASK) { w 840 fs/nfsd/nfs4xdr.c w &= ~NFS4_SHARE_ACCESS_MASK; w 841 fs/nfsd/nfs4xdr.c if (!w) w 845 fs/nfsd/nfs4xdr.c switch (w & NFS4_SHARE_WANT_MASK) { w 856 fs/nfsd/nfs4xdr.c w &= ~NFS4_SHARE_WANT_MASK; w 857 fs/nfsd/nfs4xdr.c if (!w) w 862 fs/nfsd/nfs4xdr.c switch (w) { w 50 fs/xfs/libxfs/xfs_bit.h uint32_t w = (uint32_t)v; w 53 fs/xfs/libxfs/xfs_bit.h if (w) { /* lower bits */ w 54 fs/xfs/libxfs/xfs_bit.h n = ffs(w); w 56 fs/xfs/libxfs/xfs_bit.h w = (uint32_t)(v >> 32); w 57 fs/xfs/libxfs/xfs_bit.h if (w) { w 58 fs/xfs/libxfs/xfs_bit.h n = ffs(w); w 118 fs/xfs/libxfs/xfs_bmap.h static inline int xfs_bmapi_aflag(int w) w 120 fs/xfs/libxfs/xfs_bmap.h return (w == XFS_ATTR_FORK ? XFS_BMAPI_ATTRFORK : w 121 fs/xfs/libxfs/xfs_bmap.h (w == XFS_COW_FORK ? XFS_BMAPI_COWFORK : 0)); w 82 fs/xfs/libxfs/xfs_bmap_btree.h #define XFS_BM_MAXLEVELS(mp,w) ((mp)->m_bm_maxlevels[(w)]) w 2067 fs/xfs/libxfs/xfs_da_btree.c int w = args->whichfork; w 2075 fs/xfs/libxfs/xfs_da_btree.c error = xfs_bmap_first_unused(tp, dp, count, bno, w); w 2084 fs/xfs/libxfs/xfs_da_btree.c xfs_bmapi_aflag(w)|XFS_BMAPI_METADATA|XFS_BMAPI_CONTIG, w 2106 fs/xfs/libxfs/xfs_da_btree.c xfs_bmapi_aflag(w)|XFS_BMAPI_METADATA, w 2198 fs/xfs/libxfs/xfs_da_btree.c int w; w 2209 fs/xfs/libxfs/xfs_da_btree.c w = args->whichfork; w 2210 fs/xfs/libxfs/xfs_da_btree.c ASSERT(w == XFS_DATA_FORK); w 2213 fs/xfs/libxfs/xfs_da_btree.c error = xfs_bmap_last_before(tp, dp, &lastoff, w); w 2225 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(tp, dp, last_blkno, -1, &last_buf, w); w 2261 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(tp, dp, sib_blkno, -1, &sib_buf, w); w 2283 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(tp, dp, sib_blkno, -1, &sib_buf, w); w 2307 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(tp, dp, par_blkno, -1, &par_buf, w); w 2358 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(tp, dp, par_blkno, -1, &par_buf, w); w 2401 fs/xfs/libxfs/xfs_da_btree.c int done, error, w, count; w 2407 fs/xfs/libxfs/xfs_da_btree.c w = args->whichfork; w 2416 fs/xfs/libxfs/xfs_da_btree.c xfs_bmapi_aflag(w), 0, &done); w 2418 fs/xfs/libxfs/xfs_da_btree.c if (w != XFS_DATA_FORK) w 966 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_SIZE(dip,mp,w) \ w 967 fs/xfs/libxfs/xfs_format.h ((w) == XFS_DATA_FORK ? \ w 971 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_MAXEXT(dip, mp, w) \ w 972 fs/xfs/libxfs/xfs_format.h (XFS_DFORK_SIZE(dip, mp, w) / sizeof(struct xfs_bmbt_rec)) w 981 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_PTR(dip,w) \ w 982 fs/xfs/libxfs/xfs_format.h ((w) == XFS_DATA_FORK ? XFS_DFORK_DPTR(dip) : XFS_DFORK_APTR(dip)) w 984 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_FORMAT(dip,w) \ w 985 fs/xfs/libxfs/xfs_format.h ((w) == XFS_DATA_FORK ? \ w 988 fs/xfs/libxfs/xfs_format.h #define XFS_DFORK_NEXTENTS(dip,w) \ w 989 fs/xfs/libxfs/xfs_format.h ((w) == XFS_DATA_FORK ? \ w 1134 fs/xfs/libxfs/xfs_format.h #define XFS_RTLOBIT(w) xfs_lowbit32(w) w 1135 fs/xfs/libxfs/xfs_format.h #define XFS_RTHIBIT(w) xfs_highbit32(w) w 42 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_PTR(ip,w) \ w 43 fs/xfs/libxfs/xfs_inode_fork.h ((w) == XFS_DATA_FORK ? \ w 45 fs/xfs/libxfs/xfs_inode_fork.h ((w) == XFS_ATTR_FORK ? \ w 57 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_SIZE(ip,w) \ w 58 fs/xfs/libxfs/xfs_inode_fork.h ((w) == XFS_DATA_FORK ? \ w 60 fs/xfs/libxfs/xfs_inode_fork.h ((w) == XFS_ATTR_FORK ? \ w 63 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_FORMAT(ip,w) \ w 64 fs/xfs/libxfs/xfs_inode_fork.h ((w) == XFS_DATA_FORK ? \ w 66 fs/xfs/libxfs/xfs_inode_fork.h ((w) == XFS_ATTR_FORK ? \ w 69 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_FMT_SET(ip,w,n) \ w 70 fs/xfs/libxfs/xfs_inode_fork.h ((w) == XFS_DATA_FORK ? \ w 72 fs/xfs/libxfs/xfs_inode_fork.h ((w) == XFS_ATTR_FORK ? \ w 75 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_NEXTENTS(ip,w) \ w 76 fs/xfs/libxfs/xfs_inode_fork.h ((w) == XFS_DATA_FORK ? \ w 78 fs/xfs/libxfs/xfs_inode_fork.h ((w) == XFS_ATTR_FORK ? \ w 81 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_NEXT_SET(ip,w,n) \ w 82 fs/xfs/libxfs/xfs_inode_fork.h ((w) == XFS_DATA_FORK ? \ w 84 fs/xfs/libxfs/xfs_inode_fork.h ((w) == XFS_ATTR_FORK ? \ w 87 fs/xfs/libxfs/xfs_inode_fork.h #define XFS_IFORK_MAXEXT(ip, w) \ w 88 fs/xfs/libxfs/xfs_inode_fork.h (XFS_IFORK_SIZE(ip, w) / sizeof(xfs_bmbt_rec_t)) w 350 fs/xfs/libxfs/xfs_log_format.h static inline int xfs_ilog_fbroot(int w) w 352 fs/xfs/libxfs/xfs_log_format.h return (w == XFS_DATA_FORK ? XFS_ILOG_DBROOT : XFS_ILOG_ABROOT); w 355 fs/xfs/libxfs/xfs_log_format.h static inline int xfs_ilog_fext(int w) w 357 fs/xfs/libxfs/xfs_log_format.h return (w == XFS_DATA_FORK ? XFS_ILOG_DEXT : XFS_ILOG_AEXT); w 360 fs/xfs/libxfs/xfs_log_format.h static inline int xfs_ilog_fdata(int w) w 362 fs/xfs/libxfs/xfs_log_format.h return (w == XFS_DATA_FORK ? XFS_ILOG_DDATA : XFS_ILOG_ADATA); w 28 fs/xfs/libxfs/xfs_trans_space.h #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) w 29 fs/xfs/libxfs/xfs_trans_space.h #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ w 32 fs/xfs/libxfs/xfs_trans_space.h XFS_EXTENTADD_SPACE_RES(mp,w)) w 35 fs/xfs/libxfs/xfs_trans_space.h #define XFS_SWAP_RMAP_SPACE_RES(mp,b,w)\ w 36 fs/xfs/libxfs/xfs_trans_space.h (XFS_NEXTENTADD_SPACE_RES((mp), (b), (w)) + \ w 39 fs/xfs/libxfs/xfs_trans_space.h #define XFS_DAENTER_1B(mp,w) \ w 40 fs/xfs/libxfs/xfs_trans_space.h ((w) == XFS_DATA_FORK ? (mp)->m_dir_geo->fsbcount : 1) w 41 fs/xfs/libxfs/xfs_trans_space.h #define XFS_DAENTER_DBS(mp,w) \ w 42 fs/xfs/libxfs/xfs_trans_space.h (XFS_DA_NODE_MAXDEPTH + (((w) == XFS_DATA_FORK) ? 2 : 0)) w 43 fs/xfs/libxfs/xfs_trans_space.h #define XFS_DAENTER_BLOCKS(mp,w) \ w 44 fs/xfs/libxfs/xfs_trans_space.h (XFS_DAENTER_1B(mp,w) * XFS_DAENTER_DBS(mp,w)) w 45 fs/xfs/libxfs/xfs_trans_space.h #define XFS_DAENTER_BMAP1B(mp,w) \ w 46 fs/xfs/libxfs/xfs_trans_space.h XFS_NEXTENTADD_SPACE_RES(mp, XFS_DAENTER_1B(mp, w), w) w 47 fs/xfs/libxfs/xfs_trans_space.h #define XFS_DAENTER_BMAPS(mp,w) \ w 48 fs/xfs/libxfs/xfs_trans_space.h (XFS_DAENTER_DBS(mp,w) * XFS_DAENTER_BMAP1B(mp,w)) w 49 fs/xfs/libxfs/xfs_trans_space.h #define XFS_DAENTER_SPACE_RES(mp,w) \ w 50 fs/xfs/libxfs/xfs_trans_space.h (XFS_DAENTER_BLOCKS(mp,w) + XFS_DAENTER_BMAPS(mp,w)) w 51 fs/xfs/libxfs/xfs_trans_space.h #define XFS_DAREMOVE_SPACE_RES(mp,w) XFS_DAENTER_BMAPS(mp,w) w 1772 fs/xfs/xfs_bmap_util.c int w = XFS_DATA_FORK; w 1773 fs/xfs/xfs_bmap_util.c uint32_t ipnext = XFS_IFORK_NEXTENTS(ip, w); w 1774 fs/xfs/xfs_bmap_util.c uint32_t tipnext = XFS_IFORK_NEXTENTS(tip, w); w 1781 fs/xfs/xfs_bmap_util.c resblks = XFS_SWAP_RMAP_SPACE_RES(mp, ipnext, w); w 1782 fs/xfs/xfs_bmap_util.c resblks += XFS_SWAP_RMAP_SPACE_RES(mp, tipnext, w); w 1790 fs/xfs/xfs_bmap_util.c if (ipnext == (XFS_IFORK_MAXEXT(ip, w) + 1)) w 1791 fs/xfs/xfs_bmap_util.c resblks += XFS_IFORK_MAXEXT(ip, w); w 1792 fs/xfs/xfs_bmap_util.c if (tipnext == (XFS_IFORK_MAXEXT(tip, w) + 1)) w 1793 fs/xfs/xfs_bmap_util.c resblks += XFS_IFORK_MAXEXT(tip, w); w 7 include/asm-generic/bitops/arch_hweight.h static inline unsigned int __arch_hweight32(unsigned int w) w 9 include/asm-generic/bitops/arch_hweight.h return __sw_hweight32(w); w 12 include/asm-generic/bitops/arch_hweight.h static inline unsigned int __arch_hweight16(unsigned int w) w 14 include/asm-generic/bitops/arch_hweight.h return __sw_hweight16(w); w 17 include/asm-generic/bitops/arch_hweight.h static inline unsigned int __arch_hweight8(unsigned int w) w 19 include/asm-generic/bitops/arch_hweight.h return __sw_hweight8(w); w 22 include/asm-generic/bitops/arch_hweight.h static inline unsigned long __arch_hweight64(__u64 w) w 24 include/asm-generic/bitops/arch_hweight.h return __sw_hweight64(w); w 8 include/asm-generic/bitops/const_hweight.h #define __const_hweight8(w) \ w 10 include/asm-generic/bitops/const_hweight.h ((!!((w) & (1ULL << 0))) + \ w 11 include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 1))) + \ w 12 include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 2))) + \ w 13 include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 3))) + \ w 14 include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 4))) + \ w 15 include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 5))) + \ w 16 include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 6))) + \ w 17 include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 7))))) w 19 include/asm-generic/bitops/const_hweight.h #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) w 20 include/asm-generic/bitops/const_hweight.h #define __const_hweight32(w) (__const_hweight16(w) + __const_hweight16((w) >> 16)) w 21 include/asm-generic/bitops/const_hweight.h #define __const_hweight64(w) (__const_hweight32(w) + __const_hweight32((w) >> 32)) w 26 include/asm-generic/bitops/const_hweight.h #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) w 27 include/asm-generic/bitops/const_hweight.h #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) w 28 include/asm-generic/bitops/const_hweight.h #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) w 29 include/asm-generic/bitops/const_hweight.h #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) w 34 include/asm-generic/bitops/const_hweight.h #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w)) w 35 include/asm-generic/bitops/const_hweight.h #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w)) w 36 include/asm-generic/bitops/const_hweight.h #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w)) w 37 include/asm-generic/bitops/const_hweight.h #define HWEIGHT64(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight64(w)) w 42 include/asm-generic/bitops/const_hweight.h #define HWEIGHT(w) HWEIGHT64((u64)w) w 18 include/crypto/twofish.h u32 s[4][256], w[8], k[32]; w 17 include/linux/bitops.h extern unsigned int __sw_hweight8(unsigned int w); w 18 include/linux/bitops.h extern unsigned int __sw_hweight16(unsigned int w); w 19 include/linux/bitops.h extern unsigned int __sw_hweight32(unsigned int w); w 20 include/linux/bitops.h extern unsigned long __sw_hweight64(__u64 w); w 58 include/linux/bitops.h static __always_inline unsigned long hweight_long(unsigned long w) w 60 include/linux/bitops.h return sizeof(w) == 4 ? hweight32(w) : hweight64(w); w 43 include/linux/ceph/mdsmap.h ceph_mdsmap_get_addr(struct ceph_mdsmap *m, int w) w 45 include/linux/ceph/mdsmap.h if (w >= m->m_num_mds) w 47 include/linux/ceph/mdsmap.h return &m->m_info[w].addr; w 50 include/linux/ceph/mdsmap.h static inline int ceph_mdsmap_get_state(struct ceph_mdsmap *m, int w) w 52 include/linux/ceph/mdsmap.h BUG_ON(w < 0); w 53 include/linux/ceph/mdsmap.h if (w >= m->m_num_mds) w 55 include/linux/ceph/mdsmap.h return m->m_info[w].state; w 58 include/linux/ceph/mdsmap.h static inline bool ceph_mdsmap_is_laggy(struct ceph_mdsmap *m, int w) w 60 include/linux/ceph/mdsmap.h if (w >= 0 && w < m->m_num_mds) w 61 include/linux/ceph/mdsmap.h return m->m_info[w].laggy; w 167 include/linux/hugetlb.h #define follow_hugetlb_page(m,v,p,vs,a,b,i,w,n) ({ BUG(); 0; }) w 164 include/linux/irqchip/arm-gic-v3.h #define GIC_ENCODE_SZ(n, w) (((unsigned long)(n) - 1) & GENMASK_ULL(((w) - 1), 0)) w 57 include/linux/mempolicy.h } w; w 150 include/linux/mfd/si476x-core.h #define SI476X_WORK_TO_CORE(w) container_of(to_delayed_work(w), \ w 36 include/linux/mtd/cfi_endian.h #define _cpu_to_cfi(w, s, x) (cfi_host(s)?(x):_swap_to_cfi(w, s, x)) w 37 include/linux/mtd/cfi_endian.h #define _cfi_to_cpu(w, s, x) (cfi_host(s)?(x):_swap_to_cpu(w, s, x)) w 38 include/linux/mtd/cfi_endian.h #define _swap_to_cfi(w, s, x) (cfi_be(s)?cpu_to_be##w(x):cpu_to_le##w(x)) w 39 include/linux/mtd/cfi_endian.h #define _swap_to_cpu(w, s, x) (cfi_be(s)?be##w##_to_cpu(x):le##w##_to_cpu(x)) w 139 include/linux/mtd/map.h static inline int map_bankwidth_supported(int w) w 141 include/linux/mtd/map.h switch (w) { w 28 include/linux/nfsacl.h unsigned int w = 16; w 29 include/linux/nfsacl.h w += max(acl_access ? (int)acl_access->a_count : 3, 4) * 12; w 31 include/linux/nfsacl.h w += max((int)acl_default->a_count, 4) * 12; w 32 include/linux/nfsacl.h return w; w 22 include/linux/rcuwait.h static inline void rcuwait_init(struct rcuwait *w) w 24 include/linux/rcuwait.h w->task = NULL; w 27 include/linux/rcuwait.h extern void rcuwait_wake_up(struct rcuwait *w); w 33 include/linux/rcuwait.h #define rcuwait_wait_event(w, condition) \ w 35 include/linux/rcuwait.h rcu_assign_pointer((w)->task, current); \ w 48 include/linux/rcuwait.h WRITE_ONCE((w)->task, NULL); \ w 431 include/linux/usb/gadget.h #define work_to_gadget(w) (container_of((w), struct usb_gadget, work)) w 301 include/linux/workqueue.h #define delayed_work_pending(w) \ w 302 include/linux/workqueue.h work_pending(&(w)->work) w 33 include/math-emu/op-1.h #define _FP_FRAC_WORD_1(X,w) (X##_f) 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 235 include/media/tpg/v4l2-tpg.h void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h); w 480 include/media/tpg/v4l2-tpg.h unsigned w = 0; w 488 include/media/tpg/v4l2-tpg.h w += plane_w / tpg->vdownsampling[p]; w 490 include/media/tpg/v4l2-tpg.h return w; w 496 include/media/tpg/v4l2-tpg.h unsigned w = 0; w 505 include/media/tpg/v4l2-tpg.h w += plane_w / tpg->vdownsampling[p]; w 507 include/media/tpg/v4l2-tpg.h return w; w 413 include/net/dsa.h struct ethtool_wolinfo *w); w 415 include/net/dsa.h struct ethtool_wolinfo *w); w 207 include/net/ip6_fib.h #define for_each_fib6_walker_rt(w) \ w 208 include/net/ip6_fib.h for (rt = (w)->leaf; rt; \ w 477 include/net/ip6_fib.h struct fib6_walker w; w 1091 include/net/tcp.h void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked); w 44 include/net/tipc.h __be32 w[4]; w 49 include/net/tipc.h u32 w0 = ntohl(hdr->w[0]); w 55 include/net/tipc.h return hdr->w[3]; w 871 include/rdma/rdmavt_qp.h struct ib_wc w = { w 878 include/rdma/rdmavt_qp.h rvt_send_cq(qp, &w, status != IB_WC_SUCCESS); w 379 include/sound/soc-dapm.h int dapm_regulator_event(struct snd_soc_dapm_widget *w, w 381 include/sound/soc-dapm.h int dapm_clock_event(struct snd_soc_dapm_widget *w, w 383 include/sound/soc-dapm.h int dapm_pinctrl_event(struct snd_soc_dapm_widget *w, w 431 include/sound/soc-dapm.h void snd_soc_dapm_free_widget(struct snd_soc_dapm_widget *w); w 623 include/sound/soc-dapm.h int (*power_check)(struct snd_soc_dapm_widget *w); w 753 include/sound/soc-dapm.h #define snd_soc_dapm_widget_for_each_path(w, dir, p) \ w 754 include/sound/soc-dapm.h list_for_each_entry(p, &w->edges[dir], list_node[dir]) w 768 include/sound/soc-dapm.h #define snd_soc_dapm_widget_for_each_path_safe(w, dir, p, next_p) \ w 769 include/sound/soc-dapm.h list_for_each_entry_safe(p, next_p, &w->edges[dir], list_node[dir]) w 777 include/sound/soc-dapm.h #define snd_soc_dapm_widget_for_each_sink_path(w, p) \ w 778 include/sound/soc-dapm.h snd_soc_dapm_widget_for_each_path(w, SND_SOC_DAPM_DIR_IN, p) w 786 include/sound/soc-dapm.h #define snd_soc_dapm_widget_for_each_source_path(w, p) \ w 787 include/sound/soc-dapm.h snd_soc_dapm_widget_for_each_path(w, SND_SOC_DAPM_DIR_OUT, p) w 103 include/sound/soc-topology.h int (*event_handler)(struct snd_soc_dapm_widget *w, w 189 include/sound/soc-topology.h void snd_soc_tplg_widget_remove(struct snd_soc_dapm_widget *w); w 194 include/sound/soc-topology.h int snd_soc_tplg_widget_bind_event(struct snd_soc_dapm_widget *w, w 89 include/trace/events/asoc.h TP_PROTO(struct snd_soc_dapm_widget *w, int val), w 91 include/trace/events/asoc.h TP_ARGS(w, val), w 94 include/trace/events/asoc.h __string( name, w->name ) w 99 include/trace/events/asoc.h __assign_str(name, w->name); w 109 include/trace/events/asoc.h TP_PROTO(struct snd_soc_dapm_widget *w, int val), w 111 include/trace/events/asoc.h TP_ARGS(w, val) w 117 include/trace/events/asoc.h TP_PROTO(struct snd_soc_dapm_widget *w, int val), w 119 include/trace/events/asoc.h TP_ARGS(w, val) w 125 include/trace/events/asoc.h TP_PROTO(struct snd_soc_dapm_widget *w, int val), w 127 include/trace/events/asoc.h TP_ARGS(w, val) w 293 include/uapi/drm/exynos_drm.h __u32 w; w 123 include/uapi/drm/i810_drm.h unsigned int w; w 141 include/uapi/drm/i810_drm.h unsigned int w; w 203 include/uapi/drm/i915_drm.h unsigned int w; w 110 include/uapi/drm/virtgpu_drm.h __u32 w; w 456 include/uapi/drm/vmwgfx_drm.h __u32 w; w 49 include/uapi/linux/dvb/video.h int w; w 183 include/uapi/linux/omapfb.h __u16 w; w 74 include/uapi/linux/ppp-comp.h #define DEFLATE_MAKE_OPT(w) ((((w) - 8) << 4) + DEFLATE_METHOD_VAL) w 1134 include/uapi/linux/videodev2.h struct v4l2_rect w; w 214 include/uapi/linux/virtio_gpu.h __le32 w, h, d; w 363 include/video/imx-ipu-v3.h void ipu_csi_get_window(struct ipu_csi *csi, struct v4l2_rect *w); w 364 include/video/imx-ipu-v3.h void ipu_csi_set_window(struct ipu_csi *csi, struct v4l2_rect *w); w 701 include/video/omapfb_dss.h u16 x, u16 y, u16 w, u16 h); w 715 include/video/omapfb_dss.h u16 x, u16 y, u16 w, u16 h); 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 16 include/video/udlfb.h int w, h; w 295 kernel/audit.h #define audit_put_watch(w) {} w 296 kernel/audit.h #define audit_get_watch(w) {} w 300 kernel/audit.h #define audit_watch_path(w) "" w 301 kernel/audit.h #define audit_watch_compare(w, i, d) 0 w 226 kernel/audit_watch.c static void audit_watch_log_rule_change(struct audit_krule *r, struct audit_watch *w, char *op) w 237 kernel/audit_watch.c audit_log_untrustedstring(ab, w->path); w 325 kernel/audit_watch.c struct audit_watch *w, *nextw; w 330 kernel/audit_watch.c list_for_each_entry_safe(w, nextw, &parent->watches, wlist) { w 331 kernel/audit_watch.c list_for_each_entry_safe(r, nextr, &w->rules, rlist) { w 333 kernel/audit_watch.c audit_watch_log_rule_change(r, w, "remove_rule"); w 341 kernel/audit_watch.c audit_remove_watch(w); w 369 kernel/audit_watch.c struct audit_watch *w, *watch = krule->watch; w 374 kernel/audit_watch.c list_for_each_entry(w, &parent->watches, wlist) { w 375 kernel/audit_watch.c if (strcmp(watch->path, w->path)) w 383 kernel/audit_watch.c audit_get_watch(w); w 384 kernel/audit_watch.c krule->watch = watch = w; w 6306 kernel/bpf/verifier.c static int push_insn(int t, int w, int e, struct bpf_verifier_env *env, w 6318 kernel/bpf/verifier.c if (w < 0 || w >= env->prog->len) { w 6320 kernel/bpf/verifier.c verbose(env, "jump out of range from insn %d to %d\n", t, w); w 6326 kernel/bpf/verifier.c init_explored_state(env, w); w 6328 kernel/bpf/verifier.c if (insn_state[w] == 0) { w 6331 kernel/bpf/verifier.c insn_state[w] = DISCOVERED; w 6334 kernel/bpf/verifier.c insn_stack[env->cfg.cur_stack++] = w; w 6336 kernel/bpf/verifier.c } else if ((insn_state[w] & 0xF0) == DISCOVERED) { w 6340 kernel/bpf/verifier.c verbose_linfo(env, w, "%d: ", w); w 6341 kernel/bpf/verifier.c verbose(env, "back-edge from insn %d to %d\n", t, w); w 6343 kernel/bpf/verifier.c } else if (insn_state[w] == EXPLORED) { w 499 kernel/events/core.c static void perf_duration_warn(struct irq_work *w) w 237 kernel/exit.c void rcuwait_wake_up(struct rcuwait *w) w 256 kernel/exit.c task = rcu_dereference(w->task); w 25 kernel/locking/rtmutex-debug.h # define debug_rt_mutex_reset_waiter(w) \ w 26 kernel/locking/rtmutex-debug.h do { (w)->deadlock_lock = NULL; } while (0) w 34 kernel/locking/rtmutex-debug.h static inline void rt_mutex_print_deadlock(struct rt_mutex_waiter *w) w 36 kernel/locking/rtmutex-debug.h debug_rt_mutex_print_deadlock(w); w 1207 kernel/locking/rtmutex.c struct rt_mutex_waiter *w) w 1219 kernel/locking/rtmutex.c rt_mutex_print_deadlock(w); w 15 kernel/locking/rtmutex.h #define debug_rt_mutex_init_waiter(w) do { } while (0) w 16 kernel/locking/rtmutex.h #define debug_rt_mutex_free_waiter(w) do { } while (0) w 23 kernel/locking/rtmutex.h #define debug_rt_mutex_print_deadlock(w) do { } while (0) w 24 kernel/locking/rtmutex.h #define debug_rt_mutex_reset_waiter(w) do { } while (0) w 26 kernel/locking/rtmutex.h static inline void rt_mutex_print_deadlock(struct rt_mutex_waiter *w) w 31 kernel/locking/rtmutex.h static inline bool debug_rt_mutex_detect_deadlock(struct rt_mutex_waiter *w, w 56 kernel/locking/rtmutex_common.h struct rt_mutex_waiter *w = NULL; w 59 kernel/locking/rtmutex_common.h w = rb_entry(leftmost, struct rt_mutex_waiter, tree_entry); w 60 kernel/locking/rtmutex_common.h BUG_ON(w->lock != lock); w 62 kernel/locking/rtmutex_common.h return w; w 3531 kernel/module.c static void do_free_init(struct work_struct *w) w 133 kernel/sched/fair.c static inline void update_load_set(struct load_weight *lw, unsigned long w) w 135 kernel/sched/fair.c lw->weight = w; w 191 kernel/sched/fair.c unsigned long w; w 196 kernel/sched/fair.c w = scale_load_down(lw->weight); w 198 kernel/sched/fair.c if (BITS_PER_LONG > 32 && unlikely(w >= WMULT_CONST)) w 200 kernel/sched/fair.c else if (unlikely(!w)) w 203 kernel/sched/fair.c lw->inv_weight = WMULT_CONST / w; w 959 kernel/sched/psi.c int w; w 961 kernel/sched/psi.c for (w = 0; w < 3; w++) w 962 kernel/sched/psi.c avg[w] = group->avg[res * 2 + full][w]; w 120 kernel/sched/sched.h # define scale_load(w) ((w) << SCHED_FIXEDPOINT_SHIFT) w 121 kernel/sched/sched.h # define scale_load_down(w) \ w 123 kernel/sched/sched.h unsigned long __w = (w); \ w 130 kernel/sched/sched.h # define scale_load(w) (w) w 131 kernel/sched/sched.h # define scale_load_down(w) (w) w 11 lib/ashldi3.c DWunion uu, w; w 21 lib/ashldi3.c w.s.low = 0; w 22 lib/ashldi3.c w.s.high = (unsigned int) uu.s.low << -bm; w 26 lib/ashldi3.c w.s.low = (unsigned int) uu.s.low << b; w 27 lib/ashldi3.c w.s.high = ((unsigned int) uu.s.high << b) | carries; w 30 lib/ashldi3.c return w.ll; w 11 lib/ashrdi3.c DWunion uu, w; w 22 lib/ashrdi3.c w.s.high = w 24 lib/ashrdi3.c w.s.low = uu.s.high >> -bm; w 28 lib/ashrdi3.c w.s.high = uu.s.high >> b; w 29 lib/ashrdi3.c w.s.low = ((unsigned int) uu.s.low >> b) | carries; w 32 lib/ashrdi3.c return w.ll; w 196 lib/bch.c uint32_t w, r[BCH_ECC_MAX_WORDS]; w 243 lib/bch.c w = r[0]^cpu_to_be32(*pdata++); w 244 lib/bch.c p0 = tab0 + (l+1)*((w >> 0) & 0xff); w 245 lib/bch.c p1 = tab1 + (l+1)*((w >> 8) & 0xff); w 246 lib/bch.c p2 = tab2 + (l+1)*((w >> 16) & 0xff); w 247 lib/bch.c p3 = tab3 + (l+1)*((w >> 24) & 0xff); w 258 lib/bitmap.c int w = 0; 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 795 lib/bitmap.c unsigned int oldbit, w; w 801 lib/bitmap.c w = bitmap_weight(new, nbits); w 805 lib/bitmap.c if (n < 0 || w == 0) w 808 lib/bitmap.c set_bit(bitmap_ord_to_pos(new, n % w, nbits), dst); w 841 lib/bitmap.c int w = bitmap_weight(new, bits); w 843 lib/bitmap.c if (n < 0 || w == 0) w 846 lib/bitmap.c return bitmap_ord_to_pos(new, n % w, bits); w 73 lib/checksum.c unsigned int w = *(unsigned int *) buff; w 76 lib/checksum.c result += w; w 77 lib/checksum.c carry = (w > result); w 91 lib/crypto/aes.c static u32 mul_by_x(u32 w) w 93 lib/crypto/aes.c u32 x = w & 0x7f7f7f7f; w 94 lib/crypto/aes.c u32 y = w & 0x80808080; w 100 lib/crypto/aes.c static u32 mul_by_x2(u32 w) w 102 lib/crypto/aes.c u32 x = w & 0x3f3f3f3f; w 103 lib/crypto/aes.c u32 y = w & 0x80808080; w 104 lib/crypto/aes.c u32 z = w & 0x40404040; w 626 lib/crypto/des.c unsigned long a, b, c, d, w; w 652 lib/crypto/des.c w = (a ^ c) | (b ^ d) | (rs[a] ^ c) | (b ^ rs[d]); w 663 lib/crypto/des.c w |= (a ^ c) | (b ^ d) | (rs[a] ^ c) | (b ^ rs[d]); w 696 lib/crypto/des.c return w; w 13 lib/hweight.c unsigned int __sw_hweight32(unsigned int w) w 16 lib/hweight.c w -= (w >> 1) & 0x55555555; w 17 lib/hweight.c w = (w & 0x33333333) + ((w >> 2) & 0x33333333); w 18 lib/hweight.c w = (w + (w >> 4)) & 0x0f0f0f0f; w 19 lib/hweight.c return (w * 0x01010101) >> 24; w 21 lib/hweight.c unsigned int res = w - ((w >> 1) & 0x55555555); w 30 lib/hweight.c unsigned int __sw_hweight16(unsigned int w) w 32 lib/hweight.c unsigned int res = w - ((w >> 1) & 0x5555); w 39 lib/hweight.c unsigned int __sw_hweight8(unsigned int w) w 41 lib/hweight.c unsigned int res = w - ((w >> 1) & 0x55); w 47 lib/hweight.c unsigned long __sw_hweight64(__u64 w) w 50 lib/hweight.c return __sw_hweight32((unsigned int)(w >> 32)) + w 51 lib/hweight.c __sw_hweight32((unsigned int)w); w 54 lib/hweight.c w -= (w >> 1) & 0x5555555555555555ul; w 55 lib/hweight.c w = (w & 0x3333333333333333ul) + ((w >> 2) & 0x3333333333333333ul); w 56 lib/hweight.c w = (w + (w >> 4)) & 0x0f0f0f0f0f0f0f0ful; w 57 lib/hweight.c return (w * 0x0101010101010101ul) >> 56; w 59 lib/hweight.c __u64 res = w - ((w >> 1) & 0x5555555555555555ul); w 171 lib/inflate.c #define flush_output(w) (wp=(w),flush_window()) w 348 lib/inflate.c register int w; /* bits before this table == (l * h) */ w 447 lib/inflate.c w = -l; /* bits decoded == (l * h) */ w 463 lib/inflate.c while (k > w + l) w 467 lib/inflate.c w += l; /* previous table always l bits */ w 470 lib/inflate.c z = (z = g - w) > (unsigned)l ? l : z; /* upper limit on table size */ w 471 lib/inflate.c if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */ w 510 lib/inflate.c j = i >> (w - l); /* (get around Turbo C bug) */ w 518 lib/inflate.c r.b = (uch)(k - w); w 535 lib/inflate.c f = 1 << (k - w); w 536 lib/inflate.c for (j = i >> w; j < z; j += f) w 545 lib/inflate.c while ((i & ((1 << w) - 1)) != x[h]) w 548 lib/inflate.c w -= l; w 600 lib/inflate.c unsigned w; /* current window position */ w 610 lib/inflate.c w = wp; /* initialize window position */ w 629 lib/inflate.c slide[w++] = (uch)t->v.n; w 630 lib/inflate.c Tracevv((stderr, "%c", slide[w-1])); w 631 lib/inflate.c if (w == WSIZE) w 633 lib/inflate.c flush_output(w); w 634 lib/inflate.c w = 0; w 660 lib/inflate.c d = w - t->v.n - ((unsigned)b & mask_bits[e]); w 662 lib/inflate.c Tracevv((stderr,"\\[%d,%d]", w-d, n)); w 666 lib/inflate.c n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e); w 668 lib/inflate.c if (w - d >= e) /* (this test assumes unsigned comparison) */ w 670 lib/inflate.c memcpy(slide + w, slide + d, e); w 671 lib/inflate.c w += e; w 677 lib/inflate.c slide[w++] = slide[d++]; w 678 lib/inflate.c Tracevv((stderr, "%c", slide[w-1])); w 680 lib/inflate.c if (w == WSIZE) w 682 lib/inflate.c flush_output(w); w 683 lib/inflate.c w = 0; w 691 lib/inflate.c wp = w; /* restore global window pointer */ w 708 lib/inflate.c unsigned w; /* current window position */ w 717 lib/inflate.c w = wp; /* initialize window position */ w 739 lib/inflate.c slide[w++] = (uch)b; w 740 lib/inflate.c if (w == WSIZE) w 742 lib/inflate.c flush_output(w); w 743 lib/inflate.c w = 0; w 750 lib/inflate.c wp = w; /* restore global window pointer */ w 1702 lib/iov_iter.c struct kvec w; w 1708 lib/iov_iter.c w.iov_base = kmap(v.bv_page) + v.bv_offset; w 1709 lib/iov_iter.c w.iov_len = v.bv_len; w 1710 lib/iov_iter.c err = f(&w, context); w 1713 lib/iov_iter.c w = v; w 1714 lib/iov_iter.c err = f(&w, context);}) w 303 lib/logic_pio.c BUILD_LOGIC_IO(w, u16) w 11 lib/lshrdi3.c DWunion uu, w; w 21 lib/lshrdi3.c w.s.high = 0; w 22 lib/lshrdi3.c w.s.low = (unsigned int) uu.s.high >> -bm; w 26 lib/lshrdi3.c w.s.high = (unsigned int) uu.s.high >> b; w 27 lib/lshrdi3.c w.s.low = ((unsigned int) uu.s.low >> b) | carries; w 30 lib/lshrdi3.c return w.ll; w 53 lib/muldi3.c DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)}; w 55 lib/muldi3.c w.s.high += ((unsigned long) uu.s.low * (unsigned long) vv.s.high w 58 lib/muldi3.c return w.ll; w 23 lib/nodemask.c int w, bit = NUMA_NO_NODE; w 25 lib/nodemask.c w = nodes_weight(*maskp); w 26 lib/nodemask.c if (w) w 28 lib/nodemask.c get_random_int() % w, MAX_NUMNODES); w 12 lib/once.c static void once_deferred(struct work_struct *w) w 16 lib/once.c work = container_of(w, struct once_work, work); w 24 lib/once.c struct once_work *w; w 26 lib/once.c w = kmalloc(sizeof(*w), GFP_ATOMIC); w 27 lib/once.c if (!w) w 30 lib/once.c INIT_WORK(&w->work, once_deferred); w 31 lib/once.c w->key = key; w 32 lib/once.c schedule_work(&w->work); w 290 lib/zlib_deflate/defutil.h #define put_short(s, w) { \ w 291 lib/zlib_deflate/defutil.h put_byte(s, (uch)((w) & 0xff)); \ w 292 lib/zlib_deflate/defutil.h put_byte(s, (uch)((ush)(w) >> 8)); \ w 247 lib/zstd/huf_compress.c const U32 w = huffWeight[n]; w 248 lib/zstd/huf_compress.c CTable[n].nbBits = (BYTE)(tableLog + 1 - w); w 143 lib/zstd/huf_decompress.c U32 const w = huffWeight[n]; w 144 lib/zstd/huf_decompress.c U32 const length = (1 << w) >> 1; w 148 lib/zstd/huf_decompress.c D.nbBits = (BYTE)(tableLog + 1 - w); w 149 lib/zstd/huf_decompress.c for (u = rankVal[w]; u < rankVal[w] + length; u++) w 151 lib/zstd/huf_decompress.c rankVal[w] += length; w 539 lib/zstd/huf_decompress.c U32 w, nextRankStart = 0; w 540 lib/zstd/huf_decompress.c for (w = 1; w < maxW + 1; w++) { w 542 lib/zstd/huf_decompress.c nextRankStart += rankStats[w]; w 543 lib/zstd/huf_decompress.c rankStart[w] = curr; w 553 lib/zstd/huf_decompress.c U32 const w = weightList[s]; w 554 lib/zstd/huf_decompress.c U32 const r = rankStart[w]++; w 556 lib/zstd/huf_decompress.c sortedSymbol[r].weight = (BYTE)w; w 567 lib/zstd/huf_decompress.c U32 w; w 568 lib/zstd/huf_decompress.c for (w = 1; w < maxW + 1; w++) { w 570 lib/zstd/huf_decompress.c nextRankVal += rankStats[w] << (w + rescale); w 571 lib/zstd/huf_decompress.c rankVal0[w] = curr; w 579 lib/zstd/huf_decompress.c U32 w; w 580 lib/zstd/huf_decompress.c for (w = 1; w < maxW + 1; w++) { w 581 lib/zstd/huf_decompress.c rankValPtr[w] = rankVal0[w] >> consumed; w 2873 mm/memcontrol.c static void memcg_kmem_cache_create_func(struct work_struct *w) w 2876 mm/memcontrol.c container_of(w, struct memcg_kmem_cache_create_work, work); w 225 mm/mempolicy.c pol->w.user_nodemask = *nodes; w 227 mm/mempolicy.c pol->w.cpuset_mems_allowed = w 303 mm/mempolicy.c nodes_and(tmp, pol->w.user_nodemask, *nodes); w 305 mm/mempolicy.c mpol_relative_nodemask(&tmp, &pol->w.user_nodemask, nodes); w 307 mm/mempolicy.c nodes_remap(tmp, pol->v.nodes,pol->w.cpuset_mems_allowed, w 309 mm/mempolicy.c pol->w.cpuset_mems_allowed = *nodes; w 324 mm/mempolicy.c int node = first_node(pol->w.user_nodemask); w 332 mm/mempolicy.c mpol_relative_nodemask(&tmp, &pol->w.user_nodemask, nodes); w 336 mm/mempolicy.c pol->w.cpuset_mems_allowed, w 338 mm/mempolicy.c pol->w.cpuset_mems_allowed = *nodes; w 354 mm/mempolicy.c nodes_equal(pol->w.cpuset_mems_allowed, *newmask)) w 950 mm/mempolicy.c *nmask = pol->w.user_nodemask; w 2255 mm/mempolicy.c if (!nodes_equal(a->w.user_nodemask, b->w.user_nodemask)) w 2305 mm/mempolicy.c struct sp_node *w = NULL; w 2309 mm/mempolicy.c w = rb_entry(prev, struct sp_node, nd); w 2310 mm/mempolicy.c if (w->end <= start) w 2595 mm/mempolicy.c new = mpol_new(mpol->mode, mpol->flags, &mpol->w.user_nodemask); w 2600 mm/mempolicy.c ret = mpol_set_nodemask(new, &mpol->w.user_nodemask, scratch); w 2902 mm/mempolicy.c new->w.user_nodemask = nodes; w 3979 mm/slab.c static void cache_reap(struct work_struct *w) w 3984 mm/slab.c struct delayed_work *work = to_delayed_work(w); w 53 mm/vmalloc.c static void free_work(struct work_struct *w) w 55 mm/vmalloc.c struct vfree_deferred *p = container_of(w, struct vfree_deferred, wq); w 1808 mm/vmstat.c static void vmstat_update(struct work_struct *w) w 1889 mm/vmstat.c static void vmstat_shepherd(struct work_struct *w); w 1893 mm/vmstat.c static void vmstat_shepherd(struct work_struct *w) w 194 mm/z3fold.c static void compact_page_work(struct work_struct *w); w 490 mm/z3fold.c static void free_pages_work(struct work_struct *w) w 492 mm/z3fold.c struct z3fold_pool *pool = container_of(w, struct z3fold_pool, work); w 646 mm/z3fold.c static void compact_page_work(struct work_struct *w) w 648 mm/z3fold.c struct z3fold_header *zhdr = container_of(w, struct z3fold_header, w 749 net/batman-adv/bat_iv_ogm.c u8 *w; w 765 net/batman-adv/bat_iv_ogm.c w = &orig_ifinfo->bat_iv.bcast_own_sum; w 766 net/batman-adv/bat_iv_ogm.c *w = bitmap_weight(word, w 236 net/bluetooth/smp.c static int smp_f5(struct crypto_shash *tfm_cmac, const u8 w[32], w 253 net/bluetooth/smp.c SMP_DBG("w %32phN", w); w 257 net/bluetooth/smp.c err = aes_cmac(tfm_cmac, salt, w, 32, t); w 289 net/bluetooth/smp.c static int smp_f6(struct crypto_shash *tfm_cmac, const u8 w[16], w 297 net/bluetooth/smp.c SMP_DBG("w %16phN", w); w 308 net/bluetooth/smp.c err = aes_cmac(tfm_cmac, w, m, sizeof(m), res); w 343 net/bluetooth/smp.c static int smp_h6(struct crypto_shash *tfm_cmac, const u8 w[16], w 348 net/bluetooth/smp.c SMP_DBG("w %16phN key_id %4phN", w, key_id); w 350 net/bluetooth/smp.c err = aes_cmac(tfm_cmac, w, key_id, 4, res); w 359 net/bluetooth/smp.c static int smp_h7(struct crypto_shash *tfm_cmac, const u8 w[16], w 364 net/bluetooth/smp.c SMP_DBG("w %16phN salt %16phN", w, salt); w 366 net/bluetooth/smp.c err = aes_cmac(tfm_cmac, salt, w, 16, res); w 3664 net/bluetooth/smp.c const u8 w[32] = { w 3686 net/bluetooth/smp.c err = smp_f5(tfm_cmac, w, n1, n2, a1, a2, mackey, ltk); w 3701 net/bluetooth/smp.c const u8 w[16] = { w 3722 net/bluetooth/smp.c err = smp_f6(tfm_cmac, w, n1, n2, r, io_cap, a1, a2, res); w 3766 net/bluetooth/smp.c const u8 w[16] = { w 3776 net/bluetooth/smp.c err = smp_h6(tfm_cmac, w, key_id, res); w 176 net/bridge/netfilter/ebt_among.c static bool poolsize_invalid(const struct ebt_mac_wormhash *w) w 178 net/bridge/netfilter/ebt_among.c return w && w->poolsize >= (INT_MAX / sizeof(struct ebt_mac_wormhash_tuple)); w 80 net/bridge/netfilter/ebtables.c ebt_do_watcher(const struct ebt_entry_watcher *w, struct sk_buff *skb, w 83 net/bridge/netfilter/ebtables.c par->target = w->u.watcher; w 84 net/bridge/netfilter/ebtables.c par->targinfo = w->data; w 85 net/bridge/netfilter/ebtables.c w->u.watcher->target(skb, par); w 391 net/bridge/netfilter/ebtables.c ebt_check_watcher(struct ebt_entry_watcher *w, struct xt_tgchk_param *par, w 396 net/bridge/netfilter/ebtables.c size_t left = ((char *)e + e->target_offset) - (char *)w; w 400 net/bridge/netfilter/ebtables.c left - sizeof(struct ebt_entry_watcher) < w->watcher_size) w 403 net/bridge/netfilter/ebtables.c watcher = xt_request_find_target(NFPROTO_BRIDGE, w->u.name, 0); w 412 net/bridge/netfilter/ebtables.c w->u.watcher = watcher; w 415 net/bridge/netfilter/ebtables.c par->targinfo = w->data; w 416 net/bridge/netfilter/ebtables.c ret = xt_check_target(par, w->watcher_size, w 599 net/bridge/netfilter/ebtables.c ebt_cleanup_watcher(struct ebt_entry_watcher *w, struct net *net, unsigned int *i) w 607 net/bridge/netfilter/ebtables.c par.target = w->u.watcher; w 608 net/bridge/netfilter/ebtables.c par.targinfo = w->data; w 1338 net/bridge/netfilter/ebtables.c static inline int ebt_watcher_to_user(const struct ebt_entry_watcher *w, w 1341 net/bridge/netfilter/ebtables.c return ebt_obj_to_user(ubase + ((char *)w - base), w 1342 net/bridge/netfilter/ebtables.c w->u.watcher->name, w->data, sizeof(*w), w 1343 net/bridge/netfilter/ebtables.c w->u.watcher->usersize, w->watcher_size, w 1344 net/bridge/netfilter/ebtables.c w->u.watcher->revision); w 1652 net/bridge/netfilter/ebtables.c static int compat_watcher_to_user(struct ebt_entry_watcher *w, w 1656 net/bridge/netfilter/ebtables.c return compat_target_to_user((struct ebt_entry_target *)w, w 1723 net/bridge/netfilter/ebtables.c static int compat_calc_watcher(struct ebt_entry_watcher *w, int *off) w 1725 net/bridge/netfilter/ebtables.c *off += xt_compat_target_offset(w->u.watcher); w 148 net/ceph/crush/mapper.c __u64 w = crush_hash32_4(bucket->h.hash, x, bucket->h.items[i], w 150 net/ceph/crush/mapper.c w &= 0xffff; w 154 net/ceph/crush/mapper.c bucket->sum_weights[i], w); w 155 net/ceph/crush/mapper.c w *= bucket->sum_weights[i]; w 156 net/ceph/crush/mapper.c w = w >> 16; w 158 net/ceph/crush/mapper.c if (w < bucket->item_weights[i]) { w 200 net/ceph/crush/mapper.c __u32 w; w 209 net/ceph/crush/mapper.c w = bucket->node_weights[n]; w 211 net/ceph/crush/mapper.c bucket->h.id) * (__u64)w; w 850 net/ceph/crush/mapper.c struct crush_work *w = v; w 862 net/ceph/crush/mapper.c w->work = v; w 868 net/ceph/crush/mapper.c w->work[b] = v; w 874 net/ceph/crush/mapper.c w->work[b]->perm_x = 0; w 875 net/ceph/crush/mapper.c w->work[b]->perm_n = 0; w 876 net/ceph/crush/mapper.c w->work[b]->perm = v; w 879 net/ceph/crush/mapper.c BUG_ON(v - (void *)w != map->working_size); w 904 net/ceph/crush/mapper.c int *w = a; w 950 net/ceph/crush/mapper.c w[0] = curstep->arg1; w 1015 net/ceph/crush/mapper.c bno = -1 - w[i]; w 1018 net/ceph/crush/mapper.c dprintk(" bad w[i] %d\n", w[i]); w 1077 net/ceph/crush/mapper.c o = w; w 1078 net/ceph/crush/mapper.c w = tmp; w 1085 net/ceph/crush/mapper.c result[result_len] = w[i]; w 2871 net/ceph/osd_client.c static void do_watch_notify(struct work_struct *w) w 2873 net/ceph/osd_client.c struct linger_work *lwork = container_of(w, struct linger_work, work); w 2894 net/ceph/osd_client.c static void do_watch_error(struct work_struct *w) w 2896 net/ceph/osd_client.c struct linger_work *lwork = container_of(w, struct linger_work, work); w 237 net/ceph/osdmap.c struct crush_weight_set *w = &arg->weight_set[i]; w 239 net/ceph/osdmap.c w->weights = decode_array_32_alloc(p, end, &w->size); w 240 net/ceph/osdmap.c if (IS_ERR(w->weights)) { w 241 net/ceph/osdmap.c ret = PTR_ERR(w->weights); w 242 net/ceph/osdmap.c w->weights = NULL; w 1669 net/ceph/osdmap.c u32 w; w 1673 net/ceph/osdmap.c w = ceph_decode_32(p); w 1675 net/ceph/osdmap.c pr_info("osd%d weight 0x%x %s\n", osd, w, w 1676 net/ceph/osdmap.c w == CEPH_OSD_IN ? "(in)" : w 1677 net/ceph/osdmap.c (w == CEPH_OSD_OUT ? "(out)" : "")); w 1678 net/ceph/osdmap.c map->osd_weight[osd] = w; w 1684 net/ceph/osdmap.c if (w) { w 127 net/core/utils.c int w = 0; w 141 net/core/utils.c if (w == 0) w 143 net/core/utils.c *d++ = w & 0xff; w 144 net/core/utils.c w = 0; w 153 net/core/utils.c w = (w * 10) + c; w 154 net/core/utils.c if ((w & 0xffff) > 255) { w 194 net/core/utils.c int w = 0; w 212 net/core/utils.c *d++ = (w >> 8) & 0xff; w 213 net/core/utils.c *d++ = w & 0xff; w 215 net/core/utils.c w = 0; w 257 net/core/utils.c w = (w << 4) | (0xff & c); w 259 net/core/utils.c if (!(w & 0xf000)) { w 461 net/decnet/dn_fib.c int w; w 480 net/decnet/dn_fib.c w = jiffies % fi->fib_power; w 484 net/decnet/dn_fib.c if ((w -= nh->nh_power) <= 0) { w 707 net/dsa/slave.c static void dsa_slave_get_wol(struct net_device *dev, struct ethtool_wolinfo *w) w 712 net/dsa/slave.c phylink_ethtool_get_wol(dp->pl, w); w 715 net/dsa/slave.c ds->ops->get_wol(ds, dp->index, w); w 718 net/dsa/slave.c static int dsa_slave_set_wol(struct net_device *dev, struct ethtool_wolinfo *w) w 724 net/dsa/slave.c phylink_ethtool_set_wol(dp->pl, w); w 727 net/dsa/slave.c ret = ds->ops->set_wol(ds, dp->index, w); w 760 net/ipv4/fib_semantics.c int w; w 777 net/ipv4/fib_semantics.c w = 0; w 787 net/ipv4/fib_semantics.c w += nexthop_nh->fib_nh_weight; w 788 net/ipv4/fib_semantics.c upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, w 689 net/ipv4/nexthop.c int w = 0; w 699 net/ipv4/nexthop.c w += nhge->weight; w 700 net/ipv4/nexthop.c upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, total) - 1; w 361 net/ipv4/tcp_bbr.c u64 w; w 372 net/ipv4/tcp_bbr.c w = (u64)bw * bbr->min_rtt_us; w 377 net/ipv4/tcp_bbr.c bdp = (((w * gain) >> BBR_SCALE) + BW_UNIT - 1) / BW_UNIT; w 408 net/ipv4/tcp_cong.c void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) w 411 net/ipv4/tcp_cong.c if (tp->snd_cwnd_cnt >= w) { w 417 net/ipv4/tcp_cong.c if (tp->snd_cwnd_cnt >= w) { w 418 net/ipv4/tcp_cong.c u32 delta = tp->snd_cwnd_cnt / w; w 420 net/ipv4/tcp_cong.c tp->snd_cwnd_cnt -= delta * w; 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_jiffies32; 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 86 net/ipv4/tcp_westwood.c static void westwood_filter(struct westwood *w, u32 delta) 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 106 net/ipv4/tcp_westwood.c struct westwood *w = inet_csk_ca(sk); w 109 net/ipv4/tcp_westwood.c w->rtt = usecs_to_jiffies(sample->rtt_us); w 119 net/ipv4/tcp_westwood.c struct westwood *w = inet_csk_ca(sk); w 120 net/ipv4/tcp_westwood.c s32 delta = tcp_jiffies32 - w->rtt_win_sx; w 126 net/ipv4/tcp_westwood.c if (w->first_ack) { w 127 net/ipv4/tcp_westwood.c w->snd_una = tcp_sk(sk)->snd_una; w 128 net/ipv4/tcp_westwood.c w->first_ack = 0; w 140 net/ipv4/tcp_westwood.c if (w->rtt && delta > max_t(u32, w->rtt, TCP_WESTWOOD_RTT_MIN)) { w 141 net/ipv4/tcp_westwood.c westwood_filter(w, delta); w 143 net/ipv4/tcp_westwood.c w->bk = 0; w 144 net/ipv4/tcp_westwood.c w->rtt_win_sx = tcp_jiffies32; w 148 net/ipv4/tcp_westwood.c static inline void update_rtt_min(struct westwood *w) w 150 net/ipv4/tcp_westwood.c if (w->reset_rtt_min) { w 151 net/ipv4/tcp_westwood.c w->rtt_min = w->rtt; w 152 net/ipv4/tcp_westwood.c w->reset_rtt_min = 0; w 154 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 220 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 231 net/ipv4/tcp_westwood.c w->bk += westwood_acked_count(sk); w 233 net/ipv4/tcp_westwood.c update_rtt_min(w); w 243 net/ipv4/tcp_westwood.c struct westwood *w = inet_csk_ca(sk); w 252 net/ipv4/tcp_westwood.c w->reset_rtt_min = 1; w 176 net/ipv6/addrconf.c static void addrconf_dad_work(struct work_struct *w); w 4028 net/ipv6/addrconf.c static void addrconf_dad_work(struct work_struct *w) w 4030 net/ipv6/addrconf.c struct inet6_ifaddr *ifp = container_of(to_delayed_work(w), w 4528 net/ipv6/addrconf.c static void addrconf_verify_work(struct work_struct *w) w 41 net/ipv6/ip6_fib.c struct fib6_walker w; w 61 net/ipv6/ip6_fib.c static int fib6_walk(struct net *net, struct fib6_walker *w); w 62 net/ipv6/ip6_fib.c static int fib6_walk_continue(struct fib6_walker *w); w 73 net/ipv6/ip6_fib.c #define FOR_WALKERS(net, w) \ w 74 net/ipv6/ip6_fib.c list_for_each_entry(w, &(net)->ipv6.fib6_walkers, lh) w 76 net/ipv6/ip6_fib.c static void fib6_walker_link(struct net *net, struct fib6_walker *w) w 79 net/ipv6/ip6_fib.c list_add(&w->lh, &net->ipv6.fib6_walkers); w 83 net/ipv6/ip6_fib.c static void fib6_walker_unlink(struct net *net, struct fib6_walker *w) w 86 net/ipv6/ip6_fib.c list_del(&w->lh); w 413 net/ipv6/ip6_fib.c static int fib6_node_dump(struct fib6_walker *w) w 417 net/ipv6/ip6_fib.c for_each_fib6_walker_rt(w) w 418 net/ipv6/ip6_fib.c fib6_rt_dump(rt, w->args); w 419 net/ipv6/ip6_fib.c w->leaf = NULL; w 424 net/ipv6/ip6_fib.c struct fib6_walker *w) w 426 net/ipv6/ip6_fib.c w->root = &tb->tb6_root; w 428 net/ipv6/ip6_fib.c fib6_walk(net, w); w 436 net/ipv6/ip6_fib.c struct fib6_walker *w; w 439 net/ipv6/ip6_fib.c w = kzalloc(sizeof(*w), GFP_ATOMIC); w 440 net/ipv6/ip6_fib.c if (!w) w 443 net/ipv6/ip6_fib.c w->func = fib6_node_dump; w 446 net/ipv6/ip6_fib.c w->args = &arg; w 453 net/ipv6/ip6_fib.c fib6_table_dump(net, tb, w); w 456 net/ipv6/ip6_fib.c kfree(w); w 461 net/ipv6/ip6_fib.c static int fib6_dump_node(struct fib6_walker *w) w 466 net/ipv6/ip6_fib.c for_each_fib6_walker_rt(w) { w 467 net/ipv6/ip6_fib.c res = rt6_dump_route(rt, w->args, w->skip_in_node); w 470 net/ipv6/ip6_fib.c w->leaf = rt; w 475 net/ipv6/ip6_fib.c w->skip_in_node += res; w 479 net/ipv6/ip6_fib.c w->skip_in_node = 0; w 491 net/ipv6/ip6_fib.c w->leaf = NULL; w 498 net/ipv6/ip6_fib.c struct fib6_walker *w = (void *)cb->args[2]; w 500 net/ipv6/ip6_fib.c if (w) { w 503 net/ipv6/ip6_fib.c fib6_walker_unlink(net, w); w 506 net/ipv6/ip6_fib.c kfree(w); w 522 net/ipv6/ip6_fib.c struct fib6_walker *w; w 525 net/ipv6/ip6_fib.c w = (void *)cb->args[2]; w 526 net/ipv6/ip6_fib.c w->root = &table->tb6_root; w 529 net/ipv6/ip6_fib.c w->count = 0; w 530 net/ipv6/ip6_fib.c w->skip = 0; w 531 net/ipv6/ip6_fib.c w->skip_in_node = 0; w 534 net/ipv6/ip6_fib.c res = fib6_walk(net, w); w 538 net/ipv6/ip6_fib.c cb->args[5] = w->root->fn_sernum; w 541 net/ipv6/ip6_fib.c if (cb->args[5] != w->root->fn_sernum) { w 543 net/ipv6/ip6_fib.c cb->args[5] = w->root->fn_sernum; w 544 net/ipv6/ip6_fib.c w->state = FWS_INIT; w 545 net/ipv6/ip6_fib.c w->node = w->root; w 546 net/ipv6/ip6_fib.c w->skip = w->count; w 547 net/ipv6/ip6_fib.c w->skip_in_node = 0; w 549 net/ipv6/ip6_fib.c w->skip = 0; w 552 net/ipv6/ip6_fib.c res = fib6_walk_continue(w); w 555 net/ipv6/ip6_fib.c fib6_walker_unlink(net, w); w 571 net/ipv6/ip6_fib.c struct fib6_walker *w; w 589 net/ipv6/ip6_fib.c w = (void *)cb->args[2]; w 590 net/ipv6/ip6_fib.c if (!w) { w 601 net/ipv6/ip6_fib.c w = kzalloc(sizeof(*w), GFP_ATOMIC); w 602 net/ipv6/ip6_fib.c if (!w) w 604 net/ipv6/ip6_fib.c w->func = fib6_dump_node; w 605 net/ipv6/ip6_fib.c cb->args[2] = (long)w; w 611 net/ipv6/ip6_fib.c w->args = &arg; w 1712 net/ipv6/ip6_fib.c struct fib6_walker *w; w 1794 net/ipv6/ip6_fib.c FOR_WALKERS(net, w) { w 1796 net/ipv6/ip6_fib.c if (w->node == fn) { w 1797 net/ipv6/ip6_fib.c RT6_TRACE("W %p adjusted by delnode 1, s=%d/%d\n", w, w->state, nstate); w 1798 net/ipv6/ip6_fib.c w->node = pn; w 1799 net/ipv6/ip6_fib.c w->state = nstate; w 1802 net/ipv6/ip6_fib.c if (w->node == fn) { w 1803 net/ipv6/ip6_fib.c w->node = child; w 1805 net/ipv6/ip6_fib.c RT6_TRACE("W %p adjusted by delnode 2, s=%d\n", w, w->state); w 1806 net/ipv6/ip6_fib.c w->state = w->state >= FWS_R ? FWS_U : FWS_INIT; w 1808 net/ipv6/ip6_fib.c RT6_TRACE("W %p adjusted by delnode 2, s=%d\n", w, w->state); w 1809 net/ipv6/ip6_fib.c w->state = w->state >= FWS_C ? FWS_U : FWS_INIT; w 1829 net/ipv6/ip6_fib.c struct fib6_walker *w; w 1863 net/ipv6/ip6_fib.c FOR_WALKERS(net, w) { w 1864 net/ipv6/ip6_fib.c if (w->state == FWS_C && w->leaf == rt) { w 1865 net/ipv6/ip6_fib.c RT6_TRACE("walker %p adjusted by delroute\n", w); w 1866 net/ipv6/ip6_fib.c w->leaf = rcu_dereference_protected(rt->fib6_next, w 1868 net/ipv6/ip6_fib.c if (!w->leaf) w 1869 net/ipv6/ip6_fib.c w->state = FWS_U; w 1953 net/ipv6/ip6_fib.c static int fib6_walk_continue(struct fib6_walker *w) w 1958 net/ipv6/ip6_fib.c WARN_ON_ONCE(!(w->root->fn_flags & RTN_TL_ROOT)); w 1961 net/ipv6/ip6_fib.c fn = w->node; w 1965 net/ipv6/ip6_fib.c switch (w->state) { w 1969 net/ipv6/ip6_fib.c w->node = FIB6_SUBTREE(fn); w 1972 net/ipv6/ip6_fib.c w->state = FWS_L; w 1978 net/ipv6/ip6_fib.c w->node = left; w 1979 net/ipv6/ip6_fib.c w->state = FWS_INIT; w 1982 net/ipv6/ip6_fib.c w->state = FWS_R; w 1987 net/ipv6/ip6_fib.c w->node = right; w 1988 net/ipv6/ip6_fib.c w->state = FWS_INIT; w 1991 net/ipv6/ip6_fib.c w->state = FWS_C; w 1992 net/ipv6/ip6_fib.c w->leaf = rcu_dereference_protected(fn->leaf, 1); w 1995 net/ipv6/ip6_fib.c if (w->leaf && fn->fn_flags & RTN_RTINFO) { w 1998 net/ipv6/ip6_fib.c if (w->skip) { w 1999 net/ipv6/ip6_fib.c w->skip--; w 2003 net/ipv6/ip6_fib.c err = w->func(w); w 2007 net/ipv6/ip6_fib.c w->count++; w 2011 net/ipv6/ip6_fib.c w->state = FWS_U; w 2014 net/ipv6/ip6_fib.c if (fn == w->root) w 2019 net/ipv6/ip6_fib.c w->node = pn; w 2023 net/ipv6/ip6_fib.c w->state = FWS_L; w 2028 net/ipv6/ip6_fib.c w->state = FWS_R; w 2032 net/ipv6/ip6_fib.c w->state = FWS_C; w 2033 net/ipv6/ip6_fib.c w->leaf = rcu_dereference_protected(w->node->leaf, 1); w 2043 net/ipv6/ip6_fib.c static int fib6_walk(struct net *net, struct fib6_walker *w) w 2047 net/ipv6/ip6_fib.c w->state = FWS_INIT; w 2048 net/ipv6/ip6_fib.c w->node = w->root; w 2050 net/ipv6/ip6_fib.c fib6_walker_link(net, w); w 2051 net/ipv6/ip6_fib.c res = fib6_walk_continue(w); w 2053 net/ipv6/ip6_fib.c fib6_walker_unlink(net, w); w 2057 net/ipv6/ip6_fib.c static int fib6_clean_node(struct fib6_walker *w) w 2061 net/ipv6/ip6_fib.c struct fib6_cleaner *c = container_of(w, struct fib6_cleaner, w); w 2068 net/ipv6/ip6_fib.c w->node->fn_sernum != c->sernum) w 2069 net/ipv6/ip6_fib.c w->node->fn_sernum = c->sernum; w 2073 net/ipv6/ip6_fib.c w->leaf = NULL; w 2077 net/ipv6/ip6_fib.c for_each_fib6_walker_rt(w) { w 2080 net/ipv6/ip6_fib.c w->leaf = rt; w 2101 net/ipv6/ip6_fib.c w->leaf = rt; w 2120 net/ipv6/ip6_fib.c c.w.root = root; w 2121 net/ipv6/ip6_fib.c c.w.func = fib6_clean_node; w 2122 net/ipv6/ip6_fib.c c.w.count = 0; w 2123 net/ipv6/ip6_fib.c c.w.skip = 0; w 2124 net/ipv6/ip6_fib.c c.w.skip_in_node = 0; w 2131 net/ipv6/ip6_fib.c fib6_walk(net, &c.w); w 2401 net/ipv6/ip6_fib.c iter->w.leaf = NULL; w 2405 net/ipv6/ip6_fib.c static int ipv6_route_yield(struct fib6_walker *w) w 2407 net/ipv6/ip6_fib.c struct ipv6_route_iter *iter = w->args; w 2413 net/ipv6/ip6_fib.c iter->w.leaf = rcu_dereference_protected( w 2414 net/ipv6/ip6_fib.c iter->w.leaf->fib6_next, w 2417 net/ipv6/ip6_fib.c if (!iter->skip && iter->w.leaf) w 2419 net/ipv6/ip6_fib.c } while (iter->w.leaf); w 2427 net/ipv6/ip6_fib.c memset(&iter->w, 0, sizeof(iter->w)); w 2428 net/ipv6/ip6_fib.c iter->w.func = ipv6_route_yield; w 2429 net/ipv6/ip6_fib.c iter->w.root = &iter->tbl->tb6_root; w 2430 net/ipv6/ip6_fib.c iter->w.state = FWS_INIT; w 2431 net/ipv6/ip6_fib.c iter->w.node = iter->w.root; w 2432 net/ipv6/ip6_fib.c iter->w.args = iter; w 2433 net/ipv6/ip6_fib.c iter->sernum = iter->w.root->fn_sernum; w 2434 net/ipv6/ip6_fib.c INIT_LIST_HEAD(&iter->w.lh); w 2435 net/ipv6/ip6_fib.c fib6_walker_link(net, &iter->w); w 2461 net/ipv6/ip6_fib.c if (iter->sernum != iter->w.root->fn_sernum) { w 2462 net/ipv6/ip6_fib.c iter->sernum = iter->w.root->fn_sernum; w 2463 net/ipv6/ip6_fib.c iter->w.state = FWS_INIT; w 2464 net/ipv6/ip6_fib.c iter->w.node = iter->w.root; w 2465 net/ipv6/ip6_fib.c WARN_ON(iter->w.skip); w 2466 net/ipv6/ip6_fib.c iter->w.skip = iter->w.count; w 2489 net/ipv6/ip6_fib.c r = fib6_walk_continue(&iter->w); w 2494 net/ipv6/ip6_fib.c return iter->w.leaf; w 2496 net/ipv6/ip6_fib.c fib6_walker_unlink(net, &iter->w); w 2499 net/ipv6/ip6_fib.c fib6_walker_unlink(net, &iter->w); w 2529 net/ipv6/ip6_fib.c struct fib6_walker *w = &iter->w; w 2530 net/ipv6/ip6_fib.c return w->node && !(w->state == FWS_U && w->node == w->root); w 2540 net/ipv6/ip6_fib.c fib6_walker_unlink(net, &iter->w); w 610 net/ipv6/route.c static void rt6_probe_deferred(struct work_struct *w) w 614 net/ipv6/route.c container_of(w, struct __rt6_probe_work, work); w 5612 net/ipv6/route.c struct fib6_nh_exception_dump_walker *w = arg; w 5613 net/ipv6/route.c struct rt6_rtnl_dump_arg *dump = w->dump; w 5624 net/ipv6/route.c if (w->skip) { w 5625 net/ipv6/route.c w->skip--; w 5641 net/ipv6/route.c w->count++; w 5645 net/ipv6/route.c err = rt6_fill_node(dump->net, dump->skb, w->rt, w 5649 net/ipv6/route.c dump->cb->nlh->nlmsg_seq, w->flags); w 5653 net/ipv6/route.c w->count++; w 5705 net/ipv6/route.c struct fib6_nh_exception_dump_walker w = { .dump = arg, w 5716 net/ipv6/route.c &w); w 5718 net/ipv6/route.c err = rt6_nh_dump_exceptions(rt->fib6_nh, &w); w 5723 net/ipv6/route.c return count += w.count; w 294 net/kcm/kcmsock.c static void kcm_done_work(struct work_struct *w) w 296 net/kcm/kcmsock.c kcm_done(container_of(w, struct kcm_sock, done_work)); w 721 net/kcm/kcmsock.c static void kcm_tx_work(struct work_struct *w) w 723 net/kcm/kcmsock.c struct kcm_sock *kcm = container_of(w, struct kcm_sock, tx_work); w 737 net/mac80211/main.c int n_suites = 0, r = 0, w = 0; w 781 net/mac80211/main.c suites[w++] = suite; w 828 net/mac80211/main.c suites[w++] = WLAN_CIPHER_SUITE_CCMP; w 829 net/mac80211/main.c suites[w++] = WLAN_CIPHER_SUITE_CCMP_256; w 830 net/mac80211/main.c suites[w++] = WLAN_CIPHER_SUITE_TKIP; w 831 net/mac80211/main.c suites[w++] = WLAN_CIPHER_SUITE_GCMP; w 832 net/mac80211/main.c suites[w++] = WLAN_CIPHER_SUITE_GCMP_256; w 835 net/mac80211/main.c suites[w++] = WLAN_CIPHER_SUITE_WEP40; w 836 net/mac80211/main.c suites[w++] = WLAN_CIPHER_SUITE_WEP104; w 840 net/mac80211/main.c suites[w++] = WLAN_CIPHER_SUITE_AES_CMAC; w 841 net/mac80211/main.c suites[w++] = WLAN_CIPHER_SUITE_BIP_CMAC_256; w 842 net/mac80211/main.c suites[w++] = WLAN_CIPHER_SUITE_BIP_GMAC_128; w 843 net/mac80211/main.c suites[w++] = WLAN_CIPHER_SUITE_BIP_GMAC_256; w 847 net/mac80211/main.c suites[w++] = cs[r].cipher; w 856 net/mac80211/main.c local->hw.wiphy->n_cipher_suites = w; w 29 net/netfilter/ipvs/ip_vs_ovf.c int hw = 0, w; w 36 net/netfilter/ipvs/ip_vs_ovf.c w = atomic_read(&dest->weight); w 38 net/netfilter/ipvs/ip_vs_ovf.c atomic_read(&dest->activeconns) > w || w 39 net/netfilter/ipvs/ip_vs_ovf.c w == 0) w 41 net/netfilter/ipvs/ip_vs_ovf.c if (!h || w > hw) { w 43 net/netfilter/ipvs/ip_vs_ovf.c hw = w; w 199 net/netfilter/nf_nat_masquerade.c struct masq_dev_work *w = (struct masq_dev_work *)work; w 202 net/netfilter/nf_nat_masquerade.c if (!device_cmp(ct, (void *)(long)w->ifindex)) w 207 net/netfilter/nf_nat_masquerade.c return ipv6_addr_equal(&w->addr, &tuple->dst.u3.in6); w 212 net/netfilter/nf_nat_masquerade.c struct masq_dev_work *w; w 214 net/netfilter/nf_nat_masquerade.c w = container_of(work, struct masq_dev_work, work); w 216 net/netfilter/nf_nat_masquerade.c nf_ct_iterate_cleanup_net(w->net, inet6_cmp, (void *)w, 0, 0); w 218 net/netfilter/nf_nat_masquerade.c put_net(w->net); w 219 net/netfilter/nf_nat_masquerade.c kfree(w); w 236 net/netfilter/nf_nat_masquerade.c struct masq_dev_work *w; w 250 net/netfilter/nf_nat_masquerade.c w = kmalloc(sizeof(*w), GFP_ATOMIC); w 251 net/netfilter/nf_nat_masquerade.c if (w) { w 254 net/netfilter/nf_nat_masquerade.c INIT_WORK(&w->work, iterate_cleanup_work); w 255 net/netfilter/nf_nat_masquerade.c w->ifindex = dev->ifindex; w 256 net/netfilter/nf_nat_masquerade.c w->net = net; w 257 net/netfilter/nf_nat_masquerade.c w->addr = ifa->addr; w 258 net/netfilter/nf_nat_masquerade.c schedule_work(&w->work); w 83 net/netfilter/nf_tables_api.c static void nf_tables_trans_destroy_work(struct work_struct *w); w 6588 net/netfilter/nf_tables_api.c static void nf_tables_trans_destroy_work(struct work_struct *w) w 82 net/netfilter/xt_time.c unsigned int v, w; w 87 net/netfilter/xt_time.c w = v / 60; w 88 net/netfilter/xt_time.c r->minute = w % 60; w 89 net/netfilter/xt_time.c r->hour = w / 60; w 110 net/netfilter/xt_time.c unsigned int year, i, w = r->dse; w 120 net/netfilter/xt_time.c for (i = 0, year = DSE_FIRST; days_since_epoch[i] > w; w 124 net/netfilter/xt_time.c w -= days_since_epoch[i]; w 144 net/netfilter/xt_time.c i > 0 && days_since_leapyear[i] > w; --i) w 146 net/netfilter/xt_time.c r->monthday = w - days_since_leapyear[i] + 1; w 149 net/netfilter/xt_time.c i > 0 && days_since_year[i] > w; --i) w 151 net/netfilter/xt_time.c r->monthday = w - days_since_year[i] + 1; w 40 net/nfc/hci/llc_shdlc.c u8 w; /* window size */ w 98 net/nfc/hci/llc_shdlc.c #define SHDLC_T1_VALUE_MS(w) ((5 * w) / 4) w 242 net/nfc/hci/llc_shdlc.c msecs_to_jiffies(SHDLC_T1_VALUE_MS(shdlc->w))); w 397 net/nfc/hci/llc_shdlc.c u8 w = SHDLC_MAX_WINDOW; w 413 net/nfc/hci/llc_shdlc.c w = skb->data[0]; w 419 net/nfc/hci/llc_shdlc.c if ((w <= SHDLC_MAX_WINDOW) && w 421 net/nfc/hci/llc_shdlc.c shdlc->w = w; w 529 net/nfc/hci/llc_shdlc.c shdlc->w - llc_shdlc_w_used(shdlc->ns, shdlc->dnr), w 532 net/nfc/hci/llc_shdlc.c while (shdlc->send_q.qlen && shdlc->ack_pending_q.qlen < shdlc->w && w 759 net/nfc/hci/llc_shdlc.c shdlc->w = SHDLC_MAX_WINDOW; w 1779 net/nfc/netlink.c struct work_struct w; w 1785 net/nfc/netlink.c struct urelease_work *w = container_of(work, struct urelease_work, w); w 1789 net/nfc/netlink.c pr_debug("portid %d\n", w->portid); w 1799 net/nfc/netlink.c if (dev->genl_data.poll_req_portid == w->portid) { w 1813 net/nfc/netlink.c kfree(w); w 1820 net/nfc/netlink.c struct urelease_work *w; w 1827 net/nfc/netlink.c w = kmalloc(sizeof(*w), GFP_ATOMIC); w 1828 net/nfc/netlink.c if (w) { w 1829 net/nfc/netlink.c INIT_WORK((struct work_struct *) w, nfc_urelease_event_work); w 1830 net/nfc/netlink.c w->portid = n->portid; w 1831 net/nfc/netlink.c schedule_work((struct work_struct *) w); w 2429 net/sched/cls_api.c struct tcf_walker w; w 2485 net/sched/cls_api.c arg.w.fn = tcf_node_dump; w 2491 net/sched/cls_api.c arg.w.stop = 0; w 2492 net/sched/cls_api.c arg.w.skip = cb->args[1] - 1; w 2493 net/sched/cls_api.c arg.w.count = 0; w 2494 net/sched/cls_api.c arg.w.cookie = cb->args[2]; w 2495 net/sched/cls_api.c tp->ops->walk(tp, &arg.w, true); w 2496 net/sched/cls_api.c cb->args[2] = arg.w.cookie; w 2497 net/sched/cls_api.c cb->args[1] = arg.w.count + 1; w 2498 net/sched/cls_api.c if (arg.w.stop) w 1353 net/sched/sch_api.c struct qdisc_walker w; w 1359 net/sched/sch_api.c struct qdisc_walker *w); w 1368 net/sched/sch_api.c arg.w.stop = arg.w.skip = arg.w.count = 0; w 1369 net/sched/sch_api.c arg.w.fn = check_loop_fn; w 1372 net/sched/sch_api.c q->ops->cl_ops->walk(q, &arg.w); w 1373 net/sched/sch_api.c return arg.w.stop ? -ELOOP : 0; w 1377 net/sched/sch_api.c check_loop_fn(struct Qdisc *q, unsigned long cl, struct qdisc_walker *w) w 1381 net/sched/sch_api.c struct check_loop_arg *arg = (struct check_loop_arg *)w; w 1893 net/sched/sch_api.c struct tcf_walker w; w 1914 net/sched/sch_api.c struct qdisc_walker w; w 1921 net/sched/sch_api.c struct qdisc_walker *w) w 1923 net/sched/sch_api.c struct tc_bind_class_args *a = (struct tc_bind_class_args *)w; w 1940 net/sched/sch_api.c arg.w.fn = tcf_node_bind; w 1944 net/sched/sch_api.c tp->ops->walk(tp, &arg.w, true); w 1962 net/sched/sch_api.c args.w.fn = tc_bind_class_walker; w 1963 net/sched/sch_api.c q->ops->cl_ops->walk(q, &args.w); w 2113 net/sched/sch_api.c struct qdisc_walker w; w 2143 net/sched/sch_api.c arg.w.fn = qdisc_class_dump; w 2146 net/sched/sch_api.c arg.w.stop = 0; w 2147 net/sched/sch_api.c arg.w.skip = cb->args[1]; w 2148 net/sched/sch_api.c arg.w.count = 0; w 2149 net/sched/sch_api.c q->ops->cl_ops->walk(q, &arg.w); w 2150 net/sched/sch_api.c cb->args[1] = arg.w.count; w 2151 net/sched/sch_api.c if (arg.w.stop) w 421 net/strparser/strparser.c static void strp_work(struct work_struct *w) w 423 net/strparser/strparser.c do_strp_work(container_of(w, struct strparser, work)); w 426 net/strparser/strparser.c static void strp_msg_timeout(struct work_struct *w) w 428 net/strparser/strparser.c struct strparser *strp = container_of(w, struct strparser, w 163 net/tipc/msg.h static inline void msg_set_word(struct tipc_msg *m, u32 w, u32 val) w 165 net/tipc/msg.h m->hdr[w] = htonl(val); w 168 net/tipc/msg.h static inline u32 msg_bits(struct tipc_msg *m, u32 w, u32 pos, u32 mask) w 170 net/tipc/msg.h return (msg_word(m, w) >> pos) & mask; w 173 net/tipc/msg.h static inline void msg_set_bits(struct tipc_msg *m, u32 w, w 178 net/tipc/msg.h m->hdr[w] &= ~htonl(mask); w 179 net/tipc/msg.h m->hdr[w] |= htonl(val); w 1220 net/xfrm/xfrm_state.c struct xfrm_state_walk *w; w 1223 net/xfrm/xfrm_state.c list_for_each_entry(w, &net->xfrm.state_all, all) { w 1224 net/xfrm/xfrm_state.c x = container_of(w, struct xfrm_state, km); w 97 scripts/insert-sys-cert.c char *w, *p, *n; w 120 scripts/insert-sys-cert.c w = strchr(l, ' '); w 121 scripts/insert-sys-cert.c if (!w) w 124 scripts/insert-sys-cert.c *w = '\0'; w 470 scripts/kconfig/gconf.c gint w, h; w 473 scripts/kconfig/gconf.c gtk_window_get_default_size(GTK_WINDOW(main_wnd), &w, &h); w 475 scripts/kconfig/gconf.c gdk_window_get_size(widget->window, &w, &h); w 738 scripts/kconfig/gconf.c gint w, h; w 741 scripts/kconfig/gconf.c gtk_window_get_default_size(GTK_WINDOW(main_wnd), &w, &h); w 742 scripts/kconfig/gconf.c gtk_paned_set_position(GTK_PANED(hpaned), w / 2); w 32 scripts/kconfig/lxdialog/dialog.h #define wbkgdset(w,p) /*nothing */ w 401 scripts/recordmcount.c static uint32_t (*w)(uint32_t); w 427 scripts/recordmcount.c switch (ELF32_R_TYPE(w(rp->r_info))) { w 460 scripts/recordmcount.c return w(((union mips_r_info){ .r_info = rp->r_info }).r_mips.r_sym); w 466 scripts/recordmcount.c .r_mips = { .r_sym = w(sym), .r_type = type } w 480 scripts/recordmcount.c w = w4nat; w 492 scripts/recordmcount.c w = w4rev; w 505 scripts/recordmcount.c w = w4rev; w 116 scripts/recordmcount.h # define _w w w 222 scripts/recordmcount.h mcsec.sh_name = w((sizeof(Elf_Rela) == rel_entsize) + strlen(".rel") w 224 scripts/recordmcount.h mcsec.sh_type = w(SHT_PROGBITS); w 236 scripts/recordmcount.h mcsec.sh_name = w(old_shstr_sh_size); w 238 scripts/recordmcount.h ? w(SHT_RELA) w 239 scripts/recordmcount.h : w(SHT_REL); w 244 scripts/recordmcount.h mcsec.sh_link = w(symsec_sh_link); w 245 scripts/recordmcount.h mcsec.sh_info = w(old_shnum); w 274 scripts/recordmcount.h char const *symname = &str0[w(symp->st_name)]; w 296 scripts/recordmcount.h unsigned const symsec_sh_link = w(relhdr->sh_link); w 298 scripts/recordmcount.h Elf_Shdr const *const strsec = &shdr0[w(symsec->sh_link)]; w 376 scripts/recordmcount.h Elf_Shdr const *const shdr = &shdr0[w(relhdr->sh_info)]; w 473 scripts/recordmcount.h Elf_Shdr const *const txthdr = &shdr0[w(relhdr->sh_info)]; w 474 scripts/recordmcount.h char const *const txtname = &shstrtab[w(txthdr->sh_name)]; w 481 scripts/recordmcount.h if (w(txthdr->sh_type) != SHT_PROGBITS || w 492 scripts/recordmcount.h if (w(relhdr->sh_type) != SHT_REL && w(relhdr->sh_type) != SHT_RELA) w 576 scripts/recordmcount.h symsec_sh_link = w(relhdr->sh_link); w 577 scripts/recordmcount.h result = find_secsym_ndx(w(relhdr->sh_info), txtname, w 116 scripts/sign-file.c static int pem_pw_cb(char *buf, int len, int w, void *v) w 166 scripts/sortextable.c static void (*w)(uint32_t, uint32_t *); w 220 scripts/sortextable.c w(r(loc) + i, loc); w 221 scripts/sortextable.c w(r(loc + 1) + i + 4, loc + 1); w 222 scripts/sortextable.c w(r(loc + 2) + i + 8, loc + 2); w 233 scripts/sortextable.c w(r(loc) - i, loc); w 234 scripts/sortextable.c w(r(loc + 1) - (i + 4), loc + 1); w 235 scripts/sortextable.c w(r(loc + 2) - (i + 8), loc + 2); w 252 scripts/sortextable.c w(r(loc) + i, loc); w 262 scripts/sortextable.c w(r(loc) - i, loc); w 284 scripts/sortextable.c w = wle; w 292 scripts/sortextable.c w = wbe; w 75 scripts/sortextable.h # define _w w w 208 scripts/sortextable.h w(0, sort_done_location); w 910 security/selinux/selinuxfs.c char *r, *w; w 913 security/selinux/selinuxfs.c r = w = namebuf; w 927 security/selinux/selinuxfs.c *w++ = c1; w 457 security/tomoyo/audit.c head->r.w[head->r.w_pos++] = head->read_buf; w 216 security/tomoyo/common.c const char *w = head->r.w[0]; w 217 security/tomoyo/common.c size_t len = strlen(w); w 224 security/tomoyo/common.c if (copy_to_user(head->read_user_buf, w, len)) w 228 security/tomoyo/common.c w += len; w 230 security/tomoyo/common.c head->r.w[0] = w; w 231 security/tomoyo/common.c if (*w) w 243 security/tomoyo/common.c head->r.w[len] = head->r.w[len + 1]; w 262 security/tomoyo/common.c head->r.w[head->r.w_pos++] = string; w 681 security/tomoyo/common.c if (sscanf(data, "PROFILE_VERSION=%u", &head->w.ns->profile_version) w 688 security/tomoyo/common.c profile = tomoyo_assign_profile(head->w.ns, i); w 898 security/tomoyo/common.c tomoyo_manage_by_non_root = !head->w.is_delete; w 901 security/tomoyo/common.c return tomoyo_update_manager_entry(data, head->w.is_delete); w 1019 security/tomoyo/common.c head->w.domain = domain; w 1176 security/tomoyo/common.c struct tomoyo_domain_info *domain = head->w.domain; w 1177 security/tomoyo/common.c const bool is_delete = head->w.is_delete; w 1191 security/tomoyo/common.c head->w.domain = domain; w 1758 security/tomoyo/common.c const bool is_delete = head->w.is_delete; w 1760 security/tomoyo/common.c .ns = head->w.ns, w 1781 security/tomoyo/common.c (head->w.ns, &head->w.ns->acl_group[group], w 2249 security/tomoyo/common.c head->r.w[head->r.w_pos++] = buf; w 2621 security/tomoyo/common.c head->w.is_delete = !strncmp(line, "delete ", 7); w 2622 security/tomoyo/common.c if (head->w.is_delete) w 2632 security/tomoyo/common.c head->w.ns = tomoyo_assign_namespace(line); w 2635 security/tomoyo/common.c head->w.ns = NULL; w 2637 security/tomoyo/common.c head->w.ns = &tomoyo_kernel_namespace; w 2639 security/tomoyo/common.c if (!head->w.ns) w 2675 security/tomoyo/common.c if (head->w.avail >= head->writebuf_size - 1) { w 2683 security/tomoyo/common.c memmove(cp, cp0, head->w.avail); w 2695 security/tomoyo/common.c cp0[head->w.avail++] = c; w 2698 security/tomoyo/common.c cp0[head->w.avail - 1] = '\0'; w 2699 security/tomoyo/common.c head->w.avail = 0; w 2702 security/tomoyo/common.c head->w.ns = &tomoyo_kernel_namespace; w 2703 security/tomoyo/common.c head->w.domain = NULL; w 819 security/tomoyo/common.h const char *w[TOMOYO_MAX_IO_READ_QUEUE]; w 828 security/tomoyo/common.h } w; w 51 security/tomoyo/gc.c head->r.acl == element || &head->w.domain->list == element) w 85 security/tomoyo/gc.c const char *w = head->r.w[i]; w 87 security/tomoyo/gc.c if (w < string || w > string + size) w 357 sound/core/oss/pcm_plugin.c unsigned int w; w 360 sound/core/oss/pcm_plugin.c w = snd_pcm_format_width(f); w 361 sound/core/oss/pcm_plugin.c if (w >= width) w 362 sound/core/oss/pcm_plugin.c badness = w - width; w 364 sound/core/oss/pcm_plugin.c badness = width - w + 32; w 42 sound/drivers/vx/vx_mixer.c } w; w 53 sound/drivers/vx/vx_mixer.c } w; w 171 sound/isa/msnd/msnd.h #define HIBYTE(w) ((u8)(((u16)(w) >> 8) & 0xFF)) w 172 sound/isa/msnd/msnd.h #define LOBYTE(w) ((u8)(w)) w 176 sound/isa/msnd/msnd.h #define PCTODSP_OFFSET(w) (u16)((w)/2) w 177 sound/isa/msnd/msnd.h #define PCTODSP_BASED(w) (u16)(((w)/2) + DSP_BASE_ADDR) w 178 sound/isa/msnd/msnd.h #define DSPTOPC_BASED(w) (((w) - DSP_BASE_ADDR) * 2) w 588 sound/isa/sb/emu8000.c unsigned short w; w 604 sound/isa/sb/emu8000.c w = bass_parm[bass][2] + treble_parm[treble][8]; w 605 sound/isa/sb/emu8000.c EMU8000_INIT4_WRITE(emu, 0x15, (unsigned short)(w + 0x0262)); w 606 sound/isa/sb/emu8000.c EMU8000_INIT4_WRITE(emu, 0x1d, (unsigned short)(w + 0x8362)); w 175 sound/mips/ad1843.c int w; w 177 sound/mips/ad1843.c w = ad1843->read(ad1843->chip, field->reg); w 178 sound/mips/ad1843.c return w >> field->lo_bit & ((1 << field->nbits) - 1); w 189 sound/mips/ad1843.c int w, mask, oldval, newbits; w 191 sound/mips/ad1843.c w = ad1843->read(ad1843->chip, field->reg); w 193 sound/mips/ad1843.c oldval = (w & mask) >> field->lo_bit; w 195 sound/mips/ad1843.c w = (w & ~mask) | newbits; w 196 sound/mips/ad1843.c ad1843->write(ad1843->chip, field->reg, w); w 218 sound/mips/ad1843.c int w = 0, mask, *value, reg = -1; w 226 sound/mips/ad1843.c w = ad1843->read(ad1843->chip, reg); w 230 sound/mips/ad1843.c *value = w >> fp->lo_bit & mask; w 252 sound/mips/ad1843.c int w, m, mask, bits; w 273 sound/mips/ad1843.c w = ad1843->read(ad1843->chip, reg); w 275 sound/mips/ad1843.c w = 0; w 276 sound/mips/ad1843.c w = (w & ~mask) | bits; w 277 sound/mips/ad1843.c ad1843->write(ad1843->chip, reg, w); w 1018 sound/pci/asihpi/hpi_internal.h struct hpi_watchdog_msg w; w 1079 sound/pci/asihpi/hpi_internal.h struct hpi_watchdog_res w; w 1187 sound/pci/asihpi/hpi_internal.h struct hpi_watchdog_msg w; w 1206 sound/pci/asihpi/hpi_internal.h struct hpi_watchdog_res w; w 18 sound/pci/asihpi/hpifunc.c u32 w; w 31 sound/pci/asihpi/hpifunc.c return handle.w; w 40 sound/pci/asihpi/hpifunc.c uhandle.w = h; w 58 sound/pci/asihpi/hpifunc.c uhandle.w = handle; w 2053 sound/pci/es1968.c unsigned short w; w 2067 sound/pci/es1968.c pci_read_config_word(chip->pci, 0x58, &w); /* something magical with gpio and bus arb. */ w 2069 sound/pci/es1968.c if (w & 1) w 2101 sound/pci/es1968.c for (w = 0;; w++) { w 2116 sound/pci/es1968.c if (w > 10000) { w 2123 sound/pci/es1968.c for (w = 0; w < 10000; w++) { w 2170 sound/pci/es1968.c u16 w; w 2185 sound/pci/es1968.c pci_read_config_word(pci, ESM_CONFIG_A, &w); w 2187 sound/pci/es1968.c w &= ~DMA_CLEAR; /* Clear DMA bits */ w 2188 sound/pci/es1968.c w &= ~(PIC_SNOOP1 | PIC_SNOOP2); /* Clear Pic Snoop Mode Bits */ w 2189 sound/pci/es1968.c w &= ~SAFEGUARD; /* Safeguard off */ w 2190 sound/pci/es1968.c w |= POST_WRITE; /* Posted write */ w 2191 sound/pci/es1968.c w |= PCI_TIMING; /* PCI timing on */ w 2193 sound/pci/es1968.c w &= ~SWAP_LR; /* swap left/right w 2196 sound/pci/es1968.c w &= ~SUBTR_DECODE; /* Subtractive decode off */ w 2198 sound/pci/es1968.c pci_write_config_word(pci, ESM_CONFIG_A, w); w 2202 sound/pci/es1968.c pci_read_config_word(pci, ESM_CONFIG_B, &w); w 2204 sound/pci/es1968.c w &= ~(1 << 15); /* Turn off internal clock multiplier */ w 2206 sound/pci/es1968.c w &= ~(1 << 14); /* External clock */ w 2208 sound/pci/es1968.c w &= ~SPDIF_CONFB; /* disable S/PDIF output */ w 2209 sound/pci/es1968.c w |= HWV_CONFB; /* HWV on */ w 2210 sound/pci/es1968.c w |= DEBOUNCE; /* Debounce off: easier to push the HW buttons */ w 2211 sound/pci/es1968.c w &= ~GPIO_CONFB; /* GPIO 4:5 */ w 2212 sound/pci/es1968.c w |= CHI_CONFB; /* Disconnect from the CHI. Enabling this made a dell 7500 work. */ w 2213 sound/pci/es1968.c w &= ~IDMA_CONFB; /* IDMA off (undocumented) */ w 2214 sound/pci/es1968.c w &= ~MIDI_FIX; /* MIDI fix off (undoc) */ w 2215 sound/pci/es1968.c w &= ~(1 << 1); /* reserved, always write 0 */ w 2216 sound/pci/es1968.c w &= ~IRQ_TO_ISA; /* IRQ to ISA off (undoc) */ w 2218 sound/pci/es1968.c pci_write_config_word(pci, ESM_CONFIG_B, w); w 2222 sound/pci/es1968.c pci_read_config_word(pci, ESM_DDMA, &w); w 2223 sound/pci/es1968.c w &= ~(1 << 0); w 2224 sound/pci/es1968.c pci_write_config_word(pci, ESM_DDMA, w); w 2230 sound/pci/es1968.c pci_read_config_word(pci, ESM_LEGACY_AUDIO_CONTROL, &w); w 2232 sound/pci/es1968.c w |= ESS_DISABLE_AUDIO; /* Disable Legacy Audio */ w 2233 sound/pci/es1968.c w &= ~ESS_ENABLE_SERIAL_IRQ; /* Disable SIRQ */ w 2234 sound/pci/es1968.c w &= ~(0x1f); /* disable mpu irq/io, game port, fm, SB */ w 2236 sound/pci/es1968.c pci_write_config_word(pci, ESM_LEGACY_AUDIO_CONTROL, w); w 2239 sound/pci/es1968.c pci_read_config_word(pci, 0x58, &w); w 2240 sound/pci/es1968.c w|=1<<2; /* Enable 978. */ w 2241 sound/pci/es1968.c w|=1<<3; /* Turn on 978 hardware volume control. */ w 2242 sound/pci/es1968.c w&=~(1<<11); /* Turn on 978 mixer volume control. */ w 2243 sound/pci/es1968.c pci_write_config_word(pci, 0x58, w); w 2330 sound/pci/es1968.c w = inw(iobase + WC_CONTROL); w 2332 sound/pci/es1968.c w &= ~0xFA00; /* Seems to be reserved? I don't know */ w 2333 sound/pci/es1968.c w |= 0xA000; /* reserved... I don't know */ w 2334 sound/pci/es1968.c w &= ~0x0200; /* Channels 56,57,58,59 as Extra Play,Rec Channel enable w 2336 sound/pci/es1968.c w |= 0x0100; /* Wave Cache Operation Enabled */ w 2337 sound/pci/es1968.c w |= 0x0080; /* Channels 60/61 as Placback/Record enabled */ w 2338 sound/pci/es1968.c w &= ~0x0060; /* Clear Wavtable Size */ w 2339 sound/pci/es1968.c w |= 0x0020; /* Wavetable Size : 1MB */ w 2341 sound/pci/es1968.c w &= ~0x000C; /* DMA Stuff? I don't understand what the datasheet means */ w 2343 sound/pci/es1968.c w &= ~0x0001; /* Test Mode off */ w 2345 sound/pci/es1968.c outw(w, iobase + WC_CONTROL); w 2349 sound/pci/es1968.c for (w = 0; w < NR_APU_REGS; w++) w 2350 sound/pci/es1968.c apu_set_register(chip, i, w, 0); w 2358 sound/pci/es1968.c unsigned short w; w 2359 sound/pci/es1968.c w = ESM_HIRQ_DSIE | ESM_HIRQ_HW_VOLUME; w 2361 sound/pci/es1968.c w |= ESM_HIRQ_MPU401; w 2362 sound/pci/es1968.c outb(w, chip->io_port + 0x1A); w 2363 sound/pci/es1968.c outw(w, chip->io_port + ESM_PORT_HOST_IRQ); w 3157 sound/pci/intel8x0.c const struct snd_pci_quirk *w; w 3159 sound/pci/intel8x0.c w = snd_pci_quirk_lookup(pci, spdif_aclink_defaults); w 3160 sound/pci/intel8x0.c if (w) { w 3161 sound/pci/intel8x0.c if (w->value) w 3164 sound/pci/intel8x0.c snd_pci_quirk_name(w)); w 3168 sound/pci/intel8x0.c snd_pci_quirk_name(w)); w 3169 sound/pci/intel8x0.c return w->value; w 2278 sound/pci/maestro3.c u16 w; w 2281 sound/pci/maestro3.c pci_read_config_word(pcidev, PCI_LEGACY_AUDIO_CTRL, &w); w 2282 sound/pci/maestro3.c w &= ~(SOUND_BLASTER_ENABLE|FM_SYNTHESIS_ENABLE| w 2285 sound/pci/maestro3.c pci_write_config_word(pcidev, PCI_LEGACY_AUDIO_CTRL, w); w 1008 sound/pci/riptide/riptide.c unsigned char w, ch, sig, order; w 1014 sound/pci/riptide/riptide.c w = snd_pcm_format_width(format) == 8; w 1018 sound/pci/riptide/riptide.c if (SEND_SETF(cif, mixer, w, ch, order, sig, id) && w 1019 sound/pci/riptide/riptide.c SEND_SETF(cif, mixer, w, ch, order, sig, id)) { w 2486 sound/pci/via82xx.c const struct snd_pci_quirk *w; w 2488 sound/pci/via82xx.c w = snd_pci_quirk_lookup(pci, dxs_whitelist); w 2489 sound/pci/via82xx.c if (w) { w 2491 sound/pci/via82xx.c snd_pci_quirk_name(w)); w 2492 sound/pci/via82xx.c return w->value; w 379 sound/soc/codecs/88pm860x-codec.c static int pm860x_rsync_event(struct snd_soc_dapm_widget *w, w 382 sound/soc/codecs/88pm860x-codec.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 396 sound/soc/codecs/88pm860x-codec.c static int pm860x_dac_event(struct snd_soc_dapm_widget *w, w 399 sound/soc/codecs/88pm860x-codec.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 403 sound/soc/codecs/88pm860x-codec.c if (!strcmp(w->name, "Left DAC")) w 405 sound/soc/codecs/88pm860x-codec.c if (!strcmp(w->name, "Right DAC")) w 548 sound/soc/codecs/adau1373.c static int adau1373_pll_event(struct snd_soc_dapm_widget *w, w 551 sound/soc/codecs/adau1373.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 553 sound/soc/codecs/adau1373.c unsigned int pll_id = w->name[3] - '1'; w 254 sound/soc/codecs/adau1761.c static int adau1761_dejitter_fixup(struct snd_soc_dapm_widget *w, w 257 sound/soc/codecs/adau1761.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 173 sound/soc/codecs/adau1781.c static int adau1781_dejitter_fixup(struct snd_soc_dapm_widget *w, w 176 sound/soc/codecs/adau1781.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 72 sound/soc/codecs/adau17x1.c static int adau17x1_pll_event(struct snd_soc_dapm_widget *w, w 75 sound/soc/codecs/adau17x1.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 102 sound/soc/codecs/adau17x1.c static int adau17x1_adc_fixup(struct snd_soc_dapm_widget *w, w 105 sound/soc/codecs/adau17x1.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 22 sound/soc/codecs/adau7002.c static int adau7002_aif_event(struct snd_soc_dapm_widget *w, w 26 sound/soc/codecs/adau7002.c snd_soc_dapm_to_component(w->dapm); w 174 sound/soc/codecs/ak4642.c static int ak4642_lout_event(struct snd_soc_dapm_widget *w, w 177 sound/soc/codecs/ak4642.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 158 sound/soc/codecs/ak4671.c static int ak4671_out2_event(struct snd_soc_dapm_widget *w, w 161 sound/soc/codecs/ak4671.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 50 sound/soc/codecs/alc5623.c static int amp_mixer_event(struct snd_soc_dapm_widget *w, w 53 sound/soc/codecs/alc5623.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 113 sound/soc/codecs/alc5632.c static int amp_mixer_event(struct snd_soc_dapm_widget *w, w 116 sound/soc/codecs/alc5632.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 80 sound/soc/codecs/arizona.c static int arizona_spk_ev(struct snd_soc_dapm_widget *w, w 84 sound/soc/codecs/arizona.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 100 sound/soc/codecs/arizona.c 1 << w->shift, 1 << w->shift); w 105 sound/soc/codecs/arizona.c 1 << w->shift, 0); w 111 sound/soc/codecs/arizona.c return arizona_out_ev(w, kcontrol, event); w 906 sound/soc/codecs/arizona.c int arizona_in_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, w 909 sound/soc/codecs/arizona.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 913 sound/soc/codecs/arizona.c if (w->shift % 2) w 914 sound/soc/codecs/arizona.c reg = ARIZONA_ADC_DIGITAL_VOLUME_1L + ((w->shift / 2) * 8); w 916 sound/soc/codecs/arizona.c reg = ARIZONA_ADC_DIGITAL_VOLUME_1R + ((w->shift / 2) * 8); w 952 sound/soc/codecs/arizona.c int arizona_out_ev(struct snd_soc_dapm_widget *w, w 956 sound/soc/codecs/arizona.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 962 sound/soc/codecs/arizona.c switch (w->shift) { w 989 sound/soc/codecs/arizona.c switch (w->shift) { w 1012 sound/soc/codecs/arizona.c switch (w->shift) { w 1042 sound/soc/codecs/arizona.c switch (w->shift) { w 1071 sound/soc/codecs/arizona.c int arizona_hp_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, w 1074 sound/soc/codecs/arizona.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1077 sound/soc/codecs/arizona.c unsigned int mask = 1 << w->shift; w 1089 sound/soc/codecs/arizona.c return arizona_out_ev(w, kcontrol, event); w 1105 sound/soc/codecs/arizona.c return arizona_out_ev(w, kcontrol, event); w 1196 sound/soc/codecs/arizona.c int arizona_dvfs_sysclk_ev(struct snd_soc_dapm_widget *w, w 1199 sound/soc/codecs/arizona.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1237 sound/soc/codecs/arizona.c int arizona_anc_ev(struct snd_soc_dapm_widget *w, w 1241 sound/soc/codecs/arizona.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1246 sound/soc/codecs/arizona.c val = 1 << w->shift; w 1249 sound/soc/codecs/arizona.c val = 1 << (w->shift + 1); w 1324 sound/soc/codecs/arizona.c int arizona_clk_ev(struct snd_soc_dapm_widget *w, w 1327 sound/soc/codecs/arizona.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1333 sound/soc/codecs/arizona.c ret = regmap_read(arizona->regmap, w->reg, &val); w 257 sound/soc/codecs/arizona.h int arizona_in_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, w 259 sound/soc/codecs/arizona.h int arizona_out_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, w 261 sound/soc/codecs/arizona.h int arizona_hp_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, w 263 sound/soc/codecs/arizona.h int arizona_anc_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, w 271 sound/soc/codecs/arizona.h int arizona_clk_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, w 299 sound/soc/codecs/arizona.h int arizona_dvfs_sysclk_ev(struct snd_soc_dapm_widget *w, w 256 sound/soc/codecs/cpcap.c static int cpcap_st_workaround(struct snd_soc_dapm_widget *w, w 259 sound/soc/codecs/cpcap.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 310 sound/soc/codecs/cros_ec_codec.c static int cros_ec_i2s_enable_event(struct snd_soc_dapm_widget *w, w 314 sound/soc/codecs/cros_ec_codec.c snd_soc_dapm_to_component(w->dapm); w 197 sound/soc/codecs/cs35l33.c static int cs35l33_spkrdrv_event(struct snd_soc_dapm_widget *w, w 200 sound/soc/codecs/cs35l33.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 225 sound/soc/codecs/cs35l33.c static int cs35l33_sdin_event(struct snd_soc_dapm_widget *w, w 228 sound/soc/codecs/cs35l33.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 266 sound/soc/codecs/cs35l33.c static int cs35l33_sdout_event(struct snd_soc_dapm_widget *w, w 269 sound/soc/codecs/cs35l33.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 233 sound/soc/codecs/cs35l34.c static int cs35l34_sdin_event(struct snd_soc_dapm_widget *w, w 236 sound/soc/codecs/cs35l34.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 338 sound/soc/codecs/cs35l34.c static int cs35l34_main_amp_event(struct snd_soc_dapm_widget *w, w 341 sound/soc/codecs/cs35l34.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 378 sound/soc/codecs/cs35l34.c static int cs35l34_mclk_event(struct snd_soc_dapm_widget *w, w 381 sound/soc/codecs/cs35l34.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 190 sound/soc/codecs/cs35l35.c static int cs35l35_sdin_event(struct snd_soc_dapm_widget *w, w 193 sound/soc/codecs/cs35l35.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 236 sound/soc/codecs/cs35l35.c static int cs35l35_main_amp_event(struct snd_soc_dapm_widget *w, w 239 sound/soc/codecs/cs35l35.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 503 sound/soc/codecs/cs35l36.c static int cs35l36_main_amp_event(struct snd_soc_dapm_widget *w, w 507 sound/soc/codecs/cs35l36.c snd_soc_dapm_to_component(w->dapm); w 555 sound/soc/codecs/cs35l36.c static int cs35l36_boost_event(struct snd_soc_dapm_widget *w, w 559 sound/soc/codecs/cs35l36.c snd_soc_dapm_to_component(w->dapm); w 464 sound/soc/codecs/cs42l42.c static int cs42l42_hpdrv_evt(struct snd_soc_dapm_widget *w, w 467 sound/soc/codecs/cs42l42.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 162 sound/soc/codecs/cs42l51.c static int cs42l51_pdn_event(struct snd_soc_dapm_widget *w, w 165 sound/soc/codecs/cs42l51.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 480 sound/soc/codecs/cs42l73.c static int cs42l73_spklo_spk_amp_event(struct snd_soc_dapm_widget *w, w 483 sound/soc/codecs/cs42l73.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 496 sound/soc/codecs/cs42l73.c static int cs42l73_ear_amp_event(struct snd_soc_dapm_widget *w, w 499 sound/soc/codecs/cs42l73.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 514 sound/soc/codecs/cs42l73.c static int cs42l73_hp_amp_event(struct snd_soc_dapm_widget *w, w 517 sound/soc/codecs/cs42l73.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1141 sound/soc/codecs/cs43130.c static int cs43130_dsd_event(struct snd_soc_dapm_widget *w, w 1144 sound/soc/codecs/cs43130.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1198 sound/soc/codecs/cs43130.c static int cs43130_pcm_event(struct snd_soc_dapm_widget *w, w 1201 sound/soc/codecs/cs43130.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1267 sound/soc/codecs/cs43130.c static int cs43130_dac_event(struct snd_soc_dapm_widget *w, w 1270 sound/soc/codecs/cs43130.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1347 sound/soc/codecs/cs43130.c static int cs43130_hpin_event(struct snd_soc_dapm_widget *w, w 1350 sound/soc/codecs/cs43130.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 67 sound/soc/codecs/cs47l15.c static int cs47l15_adsp_power_ev(struct snd_soc_dapm_widget *w, w 72 sound/soc/codecs/cs47l15.c snd_soc_dapm_to_component(w->dapm); w 88 sound/soc/codecs/cs47l15.c ret = madera_set_adsp_clk(&cs47l15->core, w->shift, freq); w 96 sound/soc/codecs/cs47l15.c return wm_adsp_early_event(w, kcontrol, event); w 59 sound/soc/codecs/cs47l24.c static int cs47l24_adsp_power_ev(struct snd_soc_dapm_widget *w, w 62 sound/soc/codecs/cs47l24.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 75 sound/soc/codecs/cs47l24.c wm_adsp2_set_dspclk(w, v); w 77 sound/soc/codecs/cs47l24.c return wm_adsp_early_event(w, kcontrol, event); w 85 sound/soc/codecs/cs47l35.c static int cs47l35_adsp_power_ev(struct snd_soc_dapm_widget *w, w 90 sound/soc/codecs/cs47l35.c snd_soc_dapm_to_component(w->dapm); w 109 sound/soc/codecs/cs47l35.c ret = madera_set_adsp_clk(&cs47l35->core, w->shift, freq); w 117 sound/soc/codecs/cs47l35.c return wm_adsp_early_event(w, kcontrol, event); w 127 sound/soc/codecs/cs47l35.c static void cs47l35_hp_post_enable(struct snd_soc_dapm_widget *w) w 130 sound/soc/codecs/cs47l35.c snd_soc_dapm_to_component(w->dapm); w 134 sound/soc/codecs/cs47l35.c switch (w->shift) { w 159 sound/soc/codecs/cs47l35.c static void cs47l35_hp_post_disable(struct snd_soc_dapm_widget *w) w 162 sound/soc/codecs/cs47l35.c snd_soc_dapm_to_component(w->dapm); w 164 sound/soc/codecs/cs47l35.c switch (w->shift) { w 183 sound/soc/codecs/cs47l35.c static int cs47l35_hp_ev(struct snd_soc_dapm_widget *w, w 191 sound/soc/codecs/cs47l35.c return madera_hp_ev(w, kcontrol, event); w 193 sound/soc/codecs/cs47l35.c ret = madera_hp_ev(w, kcontrol, event); w 197 sound/soc/codecs/cs47l35.c cs47l35_hp_post_enable(w); w 200 sound/soc/codecs/cs47l35.c ret = madera_hp_ev(w, kcontrol, event); w 201 sound/soc/codecs/cs47l35.c cs47l35_hp_post_disable(w); w 109 sound/soc/codecs/cs47l85.c static int cs47l85_adsp_power_ev(struct snd_soc_dapm_widget *w, w 114 sound/soc/codecs/cs47l85.c snd_soc_dapm_to_component(w->dapm); w 133 sound/soc/codecs/cs47l85.c ret = madera_set_adsp_clk(&cs47l85->core, w->shift, freq); w 141 sound/soc/codecs/cs47l85.c return wm_adsp_early_event(w, kcontrol, event); w 189 sound/soc/codecs/cs47l85.c static void cs47l85_hp_post_enable(struct snd_soc_dapm_widget *w) w 192 sound/soc/codecs/cs47l85.c snd_soc_dapm_to_component(w->dapm); w 196 sound/soc/codecs/cs47l85.c switch (w->shift) { w 221 sound/soc/codecs/cs47l85.c static void cs47l85_hp_post_disable(struct snd_soc_dapm_widget *w) w 224 sound/soc/codecs/cs47l85.c snd_soc_dapm_to_component(w->dapm); w 226 sound/soc/codecs/cs47l85.c switch (w->shift) { w 245 sound/soc/codecs/cs47l85.c static int cs47l85_hp_ev(struct snd_soc_dapm_widget *w, w 253 sound/soc/codecs/cs47l85.c return madera_hp_ev(w, kcontrol, event); w 255 sound/soc/codecs/cs47l85.c ret = madera_hp_ev(w, kcontrol, event); w 259 sound/soc/codecs/cs47l85.c cs47l85_hp_post_enable(w); w 262 sound/soc/codecs/cs47l85.c ret = madera_hp_ev(w, kcontrol, event); w 263 sound/soc/codecs/cs47l85.c cs47l85_hp_post_disable(w); w 109 sound/soc/codecs/cs47l90.c static int cs47l90_adsp_power_ev(struct snd_soc_dapm_widget *w, w 114 sound/soc/codecs/cs47l90.c snd_soc_dapm_to_component(w->dapm); w 130 sound/soc/codecs/cs47l90.c ret = madera_set_adsp_clk(&cs47l90->core, w->shift, freq); w 138 sound/soc/codecs/cs47l90.c return wm_adsp_early_event(w, kcontrol, event); w 134 sound/soc/codecs/cs47l92.c static int cs47l92_adsp_power_ev(struct snd_soc_dapm_widget *w, w 139 sound/soc/codecs/cs47l92.c snd_soc_dapm_to_component(w->dapm); w 155 sound/soc/codecs/cs47l92.c ret = madera_set_adsp_clk(&cs47l92->core, w->shift, freq); w 163 sound/soc/codecs/cs47l92.c return wm_adsp_early_event(w, kcontrol, event); w 868 sound/soc/codecs/cx2072x.c static int afg_power_ev(struct snd_soc_dapm_widget *w, w 871 sound/soc/codecs/cx2072x.c struct snd_soc_component *codec = snd_soc_dapm_to_component(w->dapm); w 731 sound/soc/codecs/da7213.c static int da7213_dai_event(struct snd_soc_dapm_widget *w, w 734 sound/soc/codecs/da7213.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1345 sound/soc/codecs/da7218.c static int da7218_in_filter_event(struct snd_soc_dapm_widget *w, w 1348 sound/soc/codecs/da7218.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1352 sound/soc/codecs/da7218.c switch (w->reg) { w 1394 sound/soc/codecs/da7218.c static int da7218_dai_event(struct snd_soc_dapm_widget *w, w 1397 sound/soc/codecs/da7218.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1477 sound/soc/codecs/da7218.c static int da7218_cp_event(struct snd_soc_dapm_widget *w, w 1480 sound/soc/codecs/da7218.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1504 sound/soc/codecs/da7218.c static int da7218_hp_pga_event(struct snd_soc_dapm_widget *w, w 1507 sound/soc/codecs/da7218.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1512 sound/soc/codecs/da7218.c snd_soc_component_update_bits(component, w->reg, DA7218_HP_AMP_OE_MASK, w 1517 sound/soc/codecs/da7218.c snd_soc_component_update_bits(component, w->reg, DA7218_HP_AMP_OE_MASK, 0); w 767 sound/soc/codecs/da7219.c static int da7219_mic_pga_event(struct snd_soc_dapm_widget *w, w 770 sound/soc/codecs/da7219.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 791 sound/soc/codecs/da7219.c static int da7219_dai_event(struct snd_soc_dapm_widget *w, w 794 sound/soc/codecs/da7219.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 867 sound/soc/codecs/da7219.c static int da7219_settling_event(struct snd_soc_dapm_widget *w, w 882 sound/soc/codecs/da7219.c static int da7219_mixout_event(struct snd_soc_dapm_widget *w, w 885 sound/soc/codecs/da7219.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 888 sound/soc/codecs/da7219.c switch (w->reg) { w 920 sound/soc/codecs/da7219.c static int da7219_gain_ramp_event(struct snd_soc_dapm_widget *w, w 923 sound/soc/codecs/da7219.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 606 sound/soc/codecs/da732x.c static int da732x_adc_event(struct snd_soc_dapm_widget *w, w 609 sound/soc/codecs/da732x.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 613 sound/soc/codecs/da732x.c switch (w->reg) { w 628 sound/soc/codecs/da732x.c snd_soc_component_update_bits(component, w->reg, DA732X_ADC_RST_MASK, w 630 sound/soc/codecs/da732x.c snd_soc_component_update_bits(component, w->reg, DA732X_ADC_PD_MASK, w 634 sound/soc/codecs/da732x.c snd_soc_component_update_bits(component, w->reg, DA732X_ADC_PD_MASK, w 636 sound/soc/codecs/da732x.c snd_soc_component_update_bits(component, w->reg, DA732X_ADC_RST_MASK, w 639 sound/soc/codecs/da732x.c switch (w->reg) { w 660 sound/soc/codecs/da732x.c static int da732x_out_pga_event(struct snd_soc_dapm_widget *w, w 663 sound/soc/codecs/da732x.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 667 sound/soc/codecs/da732x.c snd_soc_component_update_bits(component, w->reg, w 668 sound/soc/codecs/da732x.c (1 << w->shift) | DA732X_OUT_HIZ_EN, w 669 sound/soc/codecs/da732x.c (1 << w->shift) | DA732X_OUT_HIZ_EN); w 672 sound/soc/codecs/da732x.c snd_soc_component_update_bits(component, w->reg, w 673 sound/soc/codecs/da732x.c (1 << w->shift) | DA732X_OUT_HIZ_EN, w 674 sound/soc/codecs/da732x.c (1 << w->shift) | DA732X_OUT_HIZ_DIS); w 54 sound/soc/codecs/dmic.c static int dmic_aif_event(struct snd_soc_dapm_widget *w, w 56 sound/soc/codecs/dmic.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 684 sound/soc/codecs/hdac_hdmi.c struct snd_soc_dapm_widget *w, enum snd_soc_dapm_type id, w 690 sound/soc/codecs/hdac_hdmi.c w->id = id; w 691 sound/soc/codecs/hdac_hdmi.c w->name = devm_kstrdup(dev, wname, GFP_KERNEL); w 692 sound/soc/codecs/hdac_hdmi.c if (!w->name) w 695 sound/soc/codecs/hdac_hdmi.c w->sname = stream; w 696 sound/soc/codecs/hdac_hdmi.c w->reg = SND_SOC_NOPM; w 697 sound/soc/codecs/hdac_hdmi.c w->shift = 0; w 698 sound/soc/codecs/hdac_hdmi.c w->kcontrol_news = wc; w 699 sound/soc/codecs/hdac_hdmi.c w->num_kcontrols = numkc; w 700 sound/soc/codecs/hdac_hdmi.c w->priv = priv; w 701 sound/soc/codecs/hdac_hdmi.c w->event = event; w 702 sound/soc/codecs/hdac_hdmi.c w->event_flags = event_flags; w 768 sound/soc/codecs/hdac_hdmi.c static int hdac_hdmi_pin_output_widget_event(struct snd_soc_dapm_widget *w, w 771 sound/soc/codecs/hdac_hdmi.c struct hdac_hdmi_port *port = w->priv; w 772 sound/soc/codecs/hdac_hdmi.c struct hdac_device *hdev = dev_to_hdac_dev(w->dapm->dev); w 776 sound/soc/codecs/hdac_hdmi.c __func__, w->name, event); w 813 sound/soc/codecs/hdac_hdmi.c static int hdac_hdmi_cvt_output_widget_event(struct snd_soc_dapm_widget *w, w 816 sound/soc/codecs/hdac_hdmi.c struct hdac_hdmi_cvt *cvt = w->priv; w 817 sound/soc/codecs/hdac_hdmi.c struct hdac_device *hdev = dev_to_hdac_dev(w->dapm->dev); w 822 sound/soc/codecs/hdac_hdmi.c __func__, w->name, event); w 868 sound/soc/codecs/hdac_hdmi.c static int hdac_hdmi_pin_mux_widget_event(struct snd_soc_dapm_widget *w, w 871 sound/soc/codecs/hdac_hdmi.c struct hdac_hdmi_port *port = w->priv; w 872 sound/soc/codecs/hdac_hdmi.c struct hdac_device *hdev = dev_to_hdac_dev(w->dapm->dev); w 876 sound/soc/codecs/hdac_hdmi.c __func__, w->name, event); w 879 sound/soc/codecs/hdac_hdmi.c kc = w->kcontrols[0]; w 904 sound/soc/codecs/hdac_hdmi.c struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kcontrol); w 905 sound/soc/codecs/hdac_hdmi.c struct snd_soc_dapm_context *dapm = w->dapm; w 906 sound/soc/codecs/hdac_hdmi.c struct hdac_hdmi_port *port = w->priv; w 190 sound/soc/codecs/jz4725b.c static int jz4725b_out_stage_enable(struct snd_soc_dapm_widget *w, w 194 sound/soc/codecs/jz4725b.c struct snd_soc_component *codec = snd_soc_dapm_to_component(w->dapm); w 190 sound/soc/codecs/madera.c int madera_sysclk_ev(struct snd_soc_dapm_widget *w, w 193 sound/soc/codecs/madera.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 221 sound/soc/codecs/madera.c int madera_spk_ev(struct snd_soc_dapm_widget *w, w 224 sound/soc/codecs/madera.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 243 sound/soc/codecs/madera.c 1 << w->shift, 1 << w->shift); w 247 sound/soc/codecs/madera.c 1 << w->shift, 0); w 449 sound/soc/codecs/madera.c int madera_domain_clk_ev(struct snd_soc_dapm_widget *w, w 453 sound/soc/codecs/madera.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 455 sound/soc/codecs/madera.c int dom_grp = w->shift; w 2220 sound/soc/codecs/madera.c int madera_in_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, w 2223 sound/soc/codecs/madera.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2228 sound/soc/codecs/madera.c if (w->shift % 2) w 2229 sound/soc/codecs/madera.c reg = MADERA_ADC_DIGITAL_VOLUME_1L + ((w->shift / 2) * 8); w 2231 sound/soc/codecs/madera.c reg = MADERA_ADC_DIGITAL_VOLUME_1R + ((w->shift / 2) * 8); w 2268 sound/soc/codecs/madera.c int madera_out_ev(struct snd_soc_dapm_widget *w, w 2271 sound/soc/codecs/madera.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2291 sound/soc/codecs/madera.c switch (w->shift) { w 2307 sound/soc/codecs/madera.c switch (w->shift) { w 2327 sound/soc/codecs/madera.c switch (w->shift) { w 2343 sound/soc/codecs/madera.c switch (w->shift) { w 2368 sound/soc/codecs/madera.c int madera_hp_ev(struct snd_soc_dapm_widget *w, w 2371 sound/soc/codecs/madera.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2374 sound/soc/codecs/madera.c unsigned int mask = 1 << w->shift; w 2375 sound/soc/codecs/madera.c unsigned int out_num = w->shift / 2; w 2388 sound/soc/codecs/madera.c return madera_out_ev(w, kcontrol, event); w 2416 sound/soc/codecs/madera.c return madera_out_ev(w, kcontrol, event); w 2420 sound/soc/codecs/madera.c int madera_anc_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, w 2423 sound/soc/codecs/madera.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2428 sound/soc/codecs/madera.c val = 1 << w->shift; w 2431 sound/soc/codecs/madera.c val = 1 << (w->shift + 1); w 384 sound/soc/codecs/madera.h int madera_sysclk_ev(struct snd_soc_dapm_widget *w, w 386 sound/soc/codecs/madera.h int madera_spk_ev(struct snd_soc_dapm_widget *w, w 388 sound/soc/codecs/madera.h int madera_in_ev(struct snd_soc_dapm_widget *w, w 390 sound/soc/codecs/madera.h int madera_out_ev(struct snd_soc_dapm_widget *w, w 392 sound/soc/codecs/madera.h int madera_hp_ev(struct snd_soc_dapm_widget *w, w 394 sound/soc/codecs/madera.h int madera_anc_ev(struct snd_soc_dapm_widget *w, w 396 sound/soc/codecs/madera.h int madera_domain_clk_ev(struct snd_soc_dapm_widget *w, w 25 sound/soc/codecs/max9759.c static int pga_event(struct snd_soc_dapm_widget *w, w 28 sound/soc/codecs/max9759.c struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); w 616 sound/soc/codecs/max98088.c static int max98088_mic_event(struct snd_soc_dapm_widget *w, w 619 sound/soc/codecs/max98088.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 624 sound/soc/codecs/max98088.c if (w->reg == M98088_REG_35_LVL_MIC1) { w 625 sound/soc/codecs/max98088.c snd_soc_component_update_bits(component, w->reg, M98088_MICPRE_MASK, w 628 sound/soc/codecs/max98088.c snd_soc_component_update_bits(component, w->reg, M98088_MICPRE_MASK, w 633 sound/soc/codecs/max98088.c snd_soc_component_update_bits(component, w->reg, M98088_MICPRE_MASK, 0); w 646 sound/soc/codecs/max98088.c static int max98088_line_pga(struct snd_soc_dapm_widget *w, w 649 sound/soc/codecs/max98088.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 670 sound/soc/codecs/max98088.c snd_soc_component_update_bits(component, w->reg, w 671 sound/soc/codecs/max98088.c (1 << w->shift), (1 << w->shift)); w 676 sound/soc/codecs/max98088.c snd_soc_component_update_bits(component, w->reg, w 677 sound/soc/codecs/max98088.c (1 << w->shift), 0); w 687 sound/soc/codecs/max98088.c static int max98088_pga_ina1_event(struct snd_soc_dapm_widget *w, w 690 sound/soc/codecs/max98088.c return max98088_line_pga(w, event, LINE_INA, 1); w 693 sound/soc/codecs/max98088.c static int max98088_pga_ina2_event(struct snd_soc_dapm_widget *w, w 696 sound/soc/codecs/max98088.c return max98088_line_pga(w, event, LINE_INA, 2); w 699 sound/soc/codecs/max98088.c static int max98088_pga_inb1_event(struct snd_soc_dapm_widget *w, w 702 sound/soc/codecs/max98088.c return max98088_line_pga(w, event, LINE_INB, 1); w 705 sound/soc/codecs/max98088.c static int max98088_pga_inb2_event(struct snd_soc_dapm_widget *w, w 708 sound/soc/codecs/max98088.c return max98088_line_pga(w, event, LINE_INB, 2); w 200 sound/soc/codecs/max98088.h #define M98088_BYTE1(w) ((w >> 8) & 0xff) w 201 sound/soc/codecs/max98088.h #define M98088_BYTE0(w) (w & 0xff) w 727 sound/soc/codecs/max98090.c static int max98090_micinput_event(struct snd_soc_dapm_widget *w, w 730 sound/soc/codecs/max98090.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 733 sound/soc/codecs/max98090.c unsigned int val = snd_soc_component_read32(component, w->reg); w 735 sound/soc/codecs/max98090.c if (w->reg == M98090_REG_MIC1_INPUT_LEVEL) w 741 sound/soc/codecs/max98090.c if (w->reg == M98090_REG_MIC1_INPUT_LEVEL) { w 751 sound/soc/codecs/max98090.c if (w->reg == M98090_REG_MIC1_INPUT_LEVEL) w 764 sound/soc/codecs/max98090.c if (w->reg == M98090_REG_MIC1_INPUT_LEVEL) w 765 sound/soc/codecs/max98090.c snd_soc_component_update_bits(component, w->reg, M98090_MIC_PA1EN_MASK, w 768 sound/soc/codecs/max98090.c snd_soc_component_update_bits(component, w->reg, M98090_MIC_PA2EN_MASK, w 774 sound/soc/codecs/max98090.c static int max98090_shdn_event(struct snd_soc_dapm_widget *w, w 777 sound/soc/codecs/max98090.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 595 sound/soc/codecs/max98095.c static int max98095_mic_event(struct snd_soc_dapm_widget *w, w 598 sound/soc/codecs/max98095.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 603 sound/soc/codecs/max98095.c if (w->reg == M98095_05F_LVL_MIC1) { w 604 sound/soc/codecs/max98095.c snd_soc_component_update_bits(component, w->reg, M98095_MICPRE_MASK, w 607 sound/soc/codecs/max98095.c snd_soc_component_update_bits(component, w->reg, M98095_MICPRE_MASK, w 612 sound/soc/codecs/max98095.c snd_soc_component_update_bits(component, w->reg, M98095_MICPRE_MASK, 0); w 625 sound/soc/codecs/max98095.c static int max98095_line_pga(struct snd_soc_dapm_widget *w, w 628 sound/soc/codecs/max98095.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 640 sound/soc/codecs/max98095.c snd_soc_component_update_bits(component, w->reg, w 641 sound/soc/codecs/max98095.c (1 << w->shift), (1 << w->shift)); w 646 sound/soc/codecs/max98095.c snd_soc_component_update_bits(component, w->reg, w 647 sound/soc/codecs/max98095.c (1 << w->shift), 0); w 657 sound/soc/codecs/max98095.c static int max98095_pga_in1_event(struct snd_soc_dapm_widget *w, w 660 sound/soc/codecs/max98095.c return max98095_line_pga(w, event, 1); w 663 sound/soc/codecs/max98095.c static int max98095_pga_in2_event(struct snd_soc_dapm_widget *w, w 666 sound/soc/codecs/max98095.c return max98095_line_pga(w, event, 2); w 673 sound/soc/codecs/max98095.c static int max98095_lineout_event(struct snd_soc_dapm_widget *w, w 676 sound/soc/codecs/max98095.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 680 sound/soc/codecs/max98095.c snd_soc_component_update_bits(component, w->reg, w 681 sound/soc/codecs/max98095.c (1 << (w->shift+2)), (1 << (w->shift+2))); w 684 sound/soc/codecs/max98095.c snd_soc_component_update_bits(component, w->reg, w 685 sound/soc/codecs/max98095.c (1 << (w->shift+2)), 0); w 301 sound/soc/codecs/max98095.h #define M98095_BYTE1(w) ((w >> 8) & 0xff) w 302 sound/soc/codecs/max98095.h #define M98095_BYTE0(w) (w & 0xff) w 402 sound/soc/codecs/max98373.c static int max98373_dac_event(struct snd_soc_dapm_widget *w, w 405 sound/soc/codecs/max98373.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 104 sound/soc/codecs/max98504.c static int max98504_pcm_rx_ev(struct snd_soc_dapm_widget *w, w 107 sound/soc/codecs/max98504.c struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); w 97 sound/soc/codecs/max98925.c static int max98925_dac_event(struct snd_soc_dapm_widget *w, w 496 sound/soc/codecs/max98927.c static int max98927_dac_event(struct snd_soc_dapm_widget *w, w 499 sound/soc/codecs/max98927.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 412 sound/soc/codecs/msm8916-wcd-analog.c *w, struct snd_kcontrol w 415 sound/soc/codecs/msm8916-wcd-analog.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 418 sound/soc/codecs/msm8916-wcd-analog.c return pm8916_wcd_analog_enable_micbias_ext(component, event, w->reg, w 424 sound/soc/codecs/msm8916-wcd-analog.c *w, struct snd_kcontrol w 427 sound/soc/codecs/msm8916-wcd-analog.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 430 sound/soc/codecs/msm8916-wcd-analog.c return pm8916_wcd_analog_enable_micbias_ext(component, event, w->reg, w 437 sound/soc/codecs/msm8916-wcd-analog.c *w, struct snd_kcontrol w 440 sound/soc/codecs/msm8916-wcd-analog.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 451 sound/soc/codecs/msm8916-wcd-analog.c return pm8916_wcd_analog_enable_micbias_int(component, event, w->reg, w 554 sound/soc/codecs/msm8916-wcd-analog.c *w, struct snd_kcontrol w 557 sound/soc/codecs/msm8916-wcd-analog.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 574 sound/soc/codecs/msm8916-wcd-analog.c return pm8916_wcd_analog_enable_micbias_int(component, event, w->reg, w 578 sound/soc/codecs/msm8916-wcd-analog.c static int pm8916_wcd_analog_enable_adc(struct snd_soc_dapm_widget *w, w 582 sound/soc/codecs/msm8916-wcd-analog.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 586 sound/soc/codecs/msm8916-wcd-analog.c if (w->reg == CDC_A_TX_1_EN) w 593 sound/soc/codecs/msm8916-wcd-analog.c if (w->reg == CDC_A_TX_2_EN) w 605 sound/soc/codecs/msm8916-wcd-analog.c switch (w->reg) { w 628 sound/soc/codecs/msm8916-wcd-analog.c switch (w->reg) { w 651 sound/soc/codecs/msm8916-wcd-analog.c static int pm8916_wcd_analog_enable_spk_pa(struct snd_soc_dapm_widget *w, w 655 sound/soc/codecs/msm8916-wcd-analog.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 677 sound/soc/codecs/msm8916-wcd-analog.c snd_soc_component_update_bits(component, w->reg, w 356 sound/soc/codecs/msm8916-wcd-digital.c static int msm8x16_wcd_codec_set_iir_gain(struct snd_soc_dapm_widget *w, w 360 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_dapm_to_component(w->dapm); w 365 sound/soc/codecs/msm8916-wcd-digital.c if (w->shift == 0) w 367 sound/soc/codecs/msm8916-wcd-digital.c else if (w->shift == 1) w 576 sound/soc/codecs/msm8916-wcd-digital.c struct snd_soc_dapm_widget *w, w 580 sound/soc/codecs/msm8916-wcd-digital.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 586 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_write(component, rx_gain_reg[w->shift], w 587 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_read32(component, rx_gain_reg[w->shift])); w 591 sound/soc/codecs/msm8916-wcd-digital.c 1 << w->shift, 1 << w->shift); w 593 sound/soc/codecs/msm8916-wcd-digital.c 1 << w->shift, 0x0); w 599 sound/soc/codecs/msm8916-wcd-digital.c static int msm8916_wcd_digital_enable_dec(struct snd_soc_dapm_widget *w, w 603 sound/soc/codecs/msm8916-wcd-digital.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 604 sound/soc/codecs/msm8916-wcd-digital.c unsigned int decimator = w->shift + 1; w 634 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_write(component, tx_gain_reg[w->shift], w 635 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_read32(component, tx_gain_reg[w->shift])); w 648 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_update_bits(component, dec_reset_reg, 1 << w->shift, w 649 sound/soc/codecs/msm8916-wcd-digital.c 1 << w->shift); w 650 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_update_bits(component, dec_reset_reg, 1 << w->shift, 0x0); w 662 sound/soc/codecs/msm8916-wcd-digital.c static int msm8916_wcd_digital_enable_dmic(struct snd_soc_dapm_widget *w, w 666 sound/soc/codecs/msm8916-wcd-digital.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 670 sound/soc/codecs/msm8916-wcd-digital.c char *dmic_num = strpbrk(w->name, "12"); w 578 sound/soc/codecs/mt6351.c static int mt_reg_set_clr_event(struct snd_soc_dapm_widget *w, w 582 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 586 sound/soc/codecs/mt6351.c if (w->on_val) { w 589 sound/soc/codecs/mt6351.c w->reg + REG_STRIDE, w 590 sound/soc/codecs/mt6351.c 0x1 << w->shift, w 591 sound/soc/codecs/mt6351.c 0x1 << w->shift); w 595 sound/soc/codecs/mt6351.c w->reg + REG_STRIDE * 2, w 596 sound/soc/codecs/mt6351.c 0x1 << w->shift, w 597 sound/soc/codecs/mt6351.c 0x1 << w->shift); w 601 sound/soc/codecs/mt6351.c if (w->off_val) { w 604 sound/soc/codecs/mt6351.c w->reg + REG_STRIDE, w 605 sound/soc/codecs/mt6351.c 0x1 << w->shift, w 606 sound/soc/codecs/mt6351.c 0x1 << w->shift); w 610 sound/soc/codecs/mt6351.c w->reg + REG_STRIDE * 2, w 611 sound/soc/codecs/mt6351.c 0x1 << w->shift, w 612 sound/soc/codecs/mt6351.c 0x1 << w->shift); w 622 sound/soc/codecs/mt6351.c static int mt_ncp_event(struct snd_soc_dapm_widget *w, w 626 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 646 sound/soc/codecs/mt6351.c static int mt_sgen_event(struct snd_soc_dapm_widget *w, w 650 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 666 sound/soc/codecs/mt6351.c static int mt_aif_in_event(struct snd_soc_dapm_widget *w, w 670 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 711 sound/soc/codecs/mt6351.c static int mt_hp_event(struct snd_soc_dapm_widget *w, w 715 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 839 sound/soc/codecs/mt6351.c static int mt_aif_out_event(struct snd_soc_dapm_widget *w, w 843 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 902 sound/soc/codecs/mt6351.c static int mt_adc_clkgen_event(struct snd_soc_dapm_widget *w, w 906 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 925 sound/soc/codecs/mt6351.c static int mt_pga_left_event(struct snd_soc_dapm_widget *w, w 929 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 955 sound/soc/codecs/mt6351.c static int mt_pga_right_event(struct snd_soc_dapm_widget *w, w 959 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 985 sound/soc/codecs/mt6351.c static int mt_mic_bias_0_event(struct snd_soc_dapm_widget *w, w 989 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 1013 sound/soc/codecs/mt6351.c static int mt_mic_bias_1_event(struct snd_soc_dapm_widget *w, w 1017 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 1041 sound/soc/codecs/mt6351.c static int mt_mic_bias_2_event(struct snd_soc_dapm_widget *w, w 1045 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 749 sound/soc/codecs/mt6358.c static int mt_clksq_event(struct snd_soc_dapm_widget *w, w 753 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 772 sound/soc/codecs/mt6358.c static int mt_sgen_event(struct snd_soc_dapm_widget *w, w 776 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 811 sound/soc/codecs/mt6358.c static int mt_aif_in_event(struct snd_soc_dapm_widget *w, w 815 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 1243 sound/soc/codecs/mt6358.c static int mt_hp_event(struct snd_soc_dapm_widget *w, w 1247 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 1249 sound/soc/codecs/mt6358.c unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); w 1301 sound/soc/codecs/mt6358.c static int mt_rcv_event(struct snd_soc_dapm_widget *w, w 1305 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 1311 sound/soc/codecs/mt6358.c dapm_kcontrol_get_value(w->kcontrols[0])); w 1429 sound/soc/codecs/mt6358.c static int mt_aif_out_event(struct snd_soc_dapm_widget *w, w 1433 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 1453 sound/soc/codecs/mt6358.c static int mt_adc_supply_event(struct snd_soc_dapm_widget *w, w 1457 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 1781 sound/soc/codecs/mt6358.c static int mt_mic_type_event(struct snd_soc_dapm_widget *w, w 1785 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 1787 sound/soc/codecs/mt6358.c unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); w 1827 sound/soc/codecs/mt6358.c static int mt_adc_l_event(struct snd_soc_dapm_widget *w, w 1831 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 1833 sound/soc/codecs/mt6358.c unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); w 1843 sound/soc/codecs/mt6358.c static int mt_adc_r_event(struct snd_soc_dapm_widget *w, w 1847 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 1849 sound/soc/codecs/mt6358.c unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); w 1859 sound/soc/codecs/mt6358.c static int mt_pga_left_event(struct snd_soc_dapm_widget *w, w 1863 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 1865 sound/soc/codecs/mt6358.c unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); w 1875 sound/soc/codecs/mt6358.c static int mt_pga_right_event(struct snd_soc_dapm_widget *w, w 1879 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 1881 sound/soc/codecs/mt6358.c unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); w 1891 sound/soc/codecs/mt6358.c static int mt_delay_250_event(struct snd_soc_dapm_widget *w, w 233 sound/soc/codecs/nau8540.c static int adc_power_control(struct snd_soc_dapm_widget *w, w 236 sound/soc/codecs/nau8540.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 255 sound/soc/codecs/nau8540.c static int aiftx_power_control(struct snd_soc_dapm_widget *w, w 258 sound/soc/codecs/nau8540.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 420 sound/soc/codecs/nau8824.c static int nau8824_output_dac_event(struct snd_soc_dapm_widget *w, w 423 sound/soc/codecs/nau8824.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 443 sound/soc/codecs/nau8824.c static int nau8824_spk_event(struct snd_soc_dapm_widget *w, w 446 sound/soc/codecs/nau8824.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 467 sound/soc/codecs/nau8824.c static int nau8824_pump_event(struct snd_soc_dapm_widget *w, w 470 sound/soc/codecs/nau8824.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 493 sound/soc/codecs/nau8824.c static int system_clock_control(struct snd_soc_dapm_widget *w, w 496 sound/soc/codecs/nau8824.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 552 sound/soc/codecs/nau8824.c static int dmic_clock_control(struct snd_soc_dapm_widget *w, w 555 sound/soc/codecs/nau8824.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 912 sound/soc/codecs/nau8825.c static int nau8825_adc_event(struct snd_soc_dapm_widget *w, w 915 sound/soc/codecs/nau8825.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 936 sound/soc/codecs/nau8825.c static int nau8825_pump_event(struct snd_soc_dapm_widget *w, w 939 sound/soc/codecs/nau8825.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 960 sound/soc/codecs/nau8825.c static int nau8825_output_dac_event(struct snd_soc_dapm_widget *w, w 963 sound/soc/codecs/nau8825.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 27 sound/soc/codecs/pcm3008.c static int pcm3008_dac_ev(struct snd_soc_dapm_widget *w, w 31 sound/soc/codecs/pcm3008.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 40 sound/soc/codecs/pcm3008.c static int pcm3008_adc_ev(struct snd_soc_dapm_widget *w, w 44 sound/soc/codecs/pcm3008.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1381 sound/soc/codecs/rt1011.c static int rt1011_dac_event(struct snd_soc_dapm_widget *w, w 1385 sound/soc/codecs/rt1011.c snd_soc_dapm_to_component(w->dapm); w 436 sound/soc/codecs/rt1305.c static int rt1305_classd_event(struct snd_soc_dapm_widget *w, w 440 sound/soc/codecs/rt1305.c snd_soc_dapm_to_component(w->dapm); w 298 sound/soc/codecs/rt1308.c static int rt1308_classd_event(struct snd_soc_dapm_widget *w, w 302 sound/soc/codecs/rt1308.c snd_soc_dapm_to_component(w->dapm); w 432 sound/soc/codecs/rt286.c static int rt286_spk_event(struct snd_soc_dapm_widget *w, w 435 sound/soc/codecs/rt286.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 454 sound/soc/codecs/rt286.c static int rt286_set_dmic1_event(struct snd_soc_dapm_widget *w, w 457 sound/soc/codecs/rt286.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 473 sound/soc/codecs/rt286.c static int rt286_ldo2_event(struct snd_soc_dapm_widget *w, w 476 sound/soc/codecs/rt286.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 492 sound/soc/codecs/rt286.c static int rt286_mic1_event(struct snd_soc_dapm_widget *w, w 495 sound/soc/codecs/rt286.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 456 sound/soc/codecs/rt298.c static int rt298_spk_event(struct snd_soc_dapm_widget *w, w 459 sound/soc/codecs/rt298.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 478 sound/soc/codecs/rt298.c static int rt298_set_dmic1_event(struct snd_soc_dapm_widget *w, w 481 sound/soc/codecs/rt298.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 497 sound/soc/codecs/rt298.c static int rt298_adc_event(struct snd_soc_dapm_widget *w, w 500 sound/soc/codecs/rt298.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 503 sound/soc/codecs/rt298.c nid = (w->reg >> 20) & 0xff; w 543 sound/soc/codecs/rt298.c static int rt298_mic1_event(struct snd_soc_dapm_widget *w, w 546 sound/soc/codecs/rt298.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 515 sound/soc/codecs/rt5514.c static int rt5514_set_dmic_clk(struct snd_soc_dapm_widget *w, w 518 sound/soc/codecs/rt5514.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 463 sound/soc/codecs/rt5616.c static int rt5616_adc_event(struct snd_soc_dapm_widget *w, w 466 sound/soc/codecs/rt5616.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 487 sound/soc/codecs/rt5616.c static int rt5616_charge_pump_event(struct snd_soc_dapm_widget *w, w 490 sound/soc/codecs/rt5616.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 553 sound/soc/codecs/rt5616.c static int rt5616_hp_event(struct snd_soc_dapm_widget *w, w 556 sound/soc/codecs/rt5616.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 623 sound/soc/codecs/rt5616.c static int rt5616_lout_event(struct snd_soc_dapm_widget *w, w 626 sound/soc/codecs/rt5616.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 651 sound/soc/codecs/rt5616.c static int rt5616_bst1_event(struct snd_soc_dapm_widget *w, w 654 sound/soc/codecs/rt5616.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 674 sound/soc/codecs/rt5616.c static int rt5616_bst2_event(struct snd_soc_dapm_widget *w, w 677 sound/soc/codecs/rt5616.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 559 sound/soc/codecs/rt5631.c static int hp_event(struct snd_soc_dapm_widget *w, w 562 sound/soc/codecs/rt5631.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 593 sound/soc/codecs/rt5631.c static int set_dmic_params(struct snd_soc_dapm_widget *w, w 596 sound/soc/codecs/rt5631.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 459 sound/soc/codecs/rt5640.c static int set_dmic_clk(struct snd_soc_dapm_widget *w, w 462 sound/soc/codecs/rt5640.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 968 sound/soc/codecs/rt5640.c static int rt5640_hp_event(struct snd_soc_dapm_widget *w, w 971 sound/soc/codecs/rt5640.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 992 sound/soc/codecs/rt5640.c static int rt5640_lout_event(struct snd_soc_dapm_widget *w, w 995 sound/soc/codecs/rt5640.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1021 sound/soc/codecs/rt5640.c static int rt5640_hp_power_event(struct snd_soc_dapm_widget *w, w 1024 sound/soc/codecs/rt5640.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1037 sound/soc/codecs/rt5640.c static int rt5640_hp_post_event(struct snd_soc_dapm_widget *w, w 1040 sound/soc/codecs/rt5640.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 845 sound/soc/codecs/rt5645.c static int set_dmic_clk(struct snd_soc_dapm_widget *w, w 848 sound/soc/codecs/rt5645.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1736 sound/soc/codecs/rt5645.c static int rt5645_hp_event(struct snd_soc_dapm_widget *w, w 1739 sound/soc/codecs/rt5645.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1802 sound/soc/codecs/rt5645.c static int rt5645_spk_event(struct snd_soc_dapm_widget *w, w 1805 sound/soc/codecs/rt5645.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1835 sound/soc/codecs/rt5645.c static int rt5645_lout_event(struct snd_soc_dapm_widget *w, w 1838 sound/soc/codecs/rt5645.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1865 sound/soc/codecs/rt5645.c static int rt5645_bst2_event(struct snd_soc_dapm_widget *w, w 1868 sound/soc/codecs/rt5645.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1888 sound/soc/codecs/rt5645.c static int rt5650_hp_event(struct snd_soc_dapm_widget *w, w 1891 sound/soc/codecs/rt5645.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1909 sound/soc/codecs/rt5645.c static int rt5645_set_micbias1_event(struct snd_soc_dapm_widget *w, w 1912 sound/soc/codecs/rt5645.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1934 sound/soc/codecs/rt5645.c static int rt5645_set_micbias2_event(struct snd_soc_dapm_widget *w, w 1937 sound/soc/codecs/rt5645.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 376 sound/soc/codecs/rt5651.c static int set_dmic_clk(struct snd_soc_dapm_widget *w, w 379 sound/soc/codecs/rt5651.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 681 sound/soc/codecs/rt5651.c static int rt5651_amp_power_event(struct snd_soc_dapm_widget *w, w 684 sound/soc/codecs/rt5651.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 719 sound/soc/codecs/rt5651.c static int rt5651_hp_event(struct snd_soc_dapm_widget *w, w 722 sound/soc/codecs/rt5651.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 763 sound/soc/codecs/rt5651.c static int rt5651_hp_post_event(struct snd_soc_dapm_widget *w, w 767 sound/soc/codecs/rt5651.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 784 sound/soc/codecs/rt5651.c static int rt5651_bst1_event(struct snd_soc_dapm_widget *w, w 787 sound/soc/codecs/rt5651.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 807 sound/soc/codecs/rt5651.c static int rt5651_bst2_event(struct snd_soc_dapm_widget *w, w 810 sound/soc/codecs/rt5651.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 830 sound/soc/codecs/rt5651.c static int rt5651_bst3_event(struct snd_soc_dapm_widget *w, w 833 sound/soc/codecs/rt5651.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1602 sound/soc/codecs/rt5659.c static int set_dmic_clk(struct snd_soc_dapm_widget *w, w 1605 sound/soc/codecs/rt5659.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1622 sound/soc/codecs/rt5659.c static int set_adc1_clk(struct snd_soc_dapm_widget *w, w 1625 sound/soc/codecs/rt5659.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1647 sound/soc/codecs/rt5659.c static int set_adc2_clk(struct snd_soc_dapm_widget *w, w 1651 sound/soc/codecs/rt5659.c snd_soc_dapm_to_component(w->dapm); w 1673 sound/soc/codecs/rt5659.c static int rt5659_charge_pump_event(struct snd_soc_dapm_widget *w, w 1676 sound/soc/codecs/rt5659.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1693 sound/soc/codecs/rt5659.c static int is_sys_clk_from_pll(struct snd_soc_dapm_widget *w, w 1697 sound/soc/codecs/rt5659.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1707 sound/soc/codecs/rt5659.c static int is_using_asrc(struct snd_soc_dapm_widget *w, w 1711 sound/soc/codecs/rt5659.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1713 sound/soc/codecs/rt5659.c switch (w->shift) { w 2381 sound/soc/codecs/rt5659.c static int rt5659_spk_event(struct snd_soc_dapm_widget *w, w 2384 sound/soc/codecs/rt5659.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2413 sound/soc/codecs/rt5659.c static int rt5659_mono_event(struct snd_soc_dapm_widget *w, w 2416 sound/soc/codecs/rt5659.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2435 sound/soc/codecs/rt5659.c static int rt5659_hp_event(struct snd_soc_dapm_widget *w, w 2438 sound/soc/codecs/rt5659.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2457 sound/soc/codecs/rt5659.c static int set_dmic_power(struct snd_soc_dapm_widget *w, w 351 sound/soc/codecs/rt5660.c static int rt5660_set_dmic_clk(struct snd_soc_dapm_widget *w, w 354 sound/soc/codecs/rt5660.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 538 sound/soc/codecs/rt5660.c static int rt5660_lout_event(struct snd_soc_dapm_widget *w, w 541 sound/soc/codecs/rt5660.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2069 sound/soc/codecs/rt5663.c static int rt5663_is_sys_clk_from_pll(struct snd_soc_dapm_widget *w, w 2073 sound/soc/codecs/rt5663.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2083 sound/soc/codecs/rt5663.c static int rt5663_is_using_asrc(struct snd_soc_dapm_widget *w, w 2087 sound/soc/codecs/rt5663.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2091 sound/soc/codecs/rt5663.c switch (w->shift) { w 2104 sound/soc/codecs/rt5663.c switch (w->shift) { w 2318 sound/soc/codecs/rt5663.c static int rt5663_hp_event(struct snd_soc_dapm_widget *w, w 2321 sound/soc/codecs/rt5663.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2376 sound/soc/codecs/rt5663.c static int rt5663_charge_pump_event(struct snd_soc_dapm_widget *w, w 2379 sound/soc/codecs/rt5663.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2406 sound/soc/codecs/rt5663.c static int rt5663_bst2_power(struct snd_soc_dapm_widget *w, w 2409 sound/soc/codecs/rt5663.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2430 sound/soc/codecs/rt5663.c static int rt5663_pre_div_power(struct snd_soc_dapm_widget *w, w 2433 sound/soc/codecs/rt5663.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1476 sound/soc/codecs/rt5665.c static int set_dmic_clk(struct snd_soc_dapm_widget *w, w 1479 sound/soc/codecs/rt5665.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1496 sound/soc/codecs/rt5665.c static int rt5665_charge_pump_event(struct snd_soc_dapm_widget *w, w 1499 sound/soc/codecs/rt5665.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1519 sound/soc/codecs/rt5665.c static int is_sys_clk_from_pll(struct snd_soc_dapm_widget *w, w 1523 sound/soc/codecs/rt5665.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1533 sound/soc/codecs/rt5665.c static int is_using_asrc(struct snd_soc_dapm_widget *w, w 1537 sound/soc/codecs/rt5665.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1539 sound/soc/codecs/rt5665.c switch (w->shift) { w 2471 sound/soc/codecs/rt5665.c static int rt5665_mono_event(struct snd_soc_dapm_widget *w, w 2474 sound/soc/codecs/rt5665.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2503 sound/soc/codecs/rt5665.c static int rt5665_hp_event(struct snd_soc_dapm_widget *w, w 2506 sound/soc/codecs/rt5665.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2529 sound/soc/codecs/rt5665.c static int rt5665_lout_event(struct snd_soc_dapm_widget *w, w 2532 sound/soc/codecs/rt5665.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2553 sound/soc/codecs/rt5665.c static int set_dmic_power(struct snd_soc_dapm_widget *w, w 2569 sound/soc/codecs/rt5665.c static int rt5665_set_verf(struct snd_soc_dapm_widget *w, w 2572 sound/soc/codecs/rt5665.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2576 sound/soc/codecs/rt5665.c switch (w->shift) { w 2599 sound/soc/codecs/rt5665.c switch (w->shift) { w 2627 sound/soc/codecs/rt5665.c static int rt5665_i2s_pin_event(struct snd_soc_dapm_widget *w, w 2630 sound/soc/codecs/rt5665.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2633 sound/soc/codecs/rt5665.c switch (w->shift) { w 1168 sound/soc/codecs/rt5668.c static int set_dmic_clk(struct snd_soc_dapm_widget *w, w 1172 sound/soc/codecs/rt5668.c snd_soc_dapm_to_component(w->dapm); w 1185 sound/soc/codecs/rt5668.c static int set_filter_clk(struct snd_soc_dapm_widget *w, w 1189 sound/soc/codecs/rt5668.c snd_soc_dapm_to_component(w->dapm); w 1196 sound/soc/codecs/rt5668.c if (w->shift == RT5668_PWR_ADC_S1F_BIT && w 1204 sound/soc/codecs/rt5668.c if (w->shift == RT5668_PWR_ADC_S1F_BIT) w 1215 sound/soc/codecs/rt5668.c static int is_sys_clk_from_pll1(struct snd_soc_dapm_widget *w, w 1220 sound/soc/codecs/rt5668.c snd_soc_dapm_to_component(w->dapm); w 1230 sound/soc/codecs/rt5668.c static int is_using_asrc(struct snd_soc_dapm_widget *w, w 1235 sound/soc/codecs/rt5668.c snd_soc_dapm_to_component(w->dapm); w 1237 sound/soc/codecs/rt5668.c switch (w->shift) { w 1417 sound/soc/codecs/rt5668.c static int rt5668_hp_event(struct snd_soc_dapm_widget *w, w 1421 sound/soc/codecs/rt5668.c snd_soc_dapm_to_component(w->dapm); w 1450 sound/soc/codecs/rt5668.c static int set_dmic_power(struct snd_soc_dapm_widget *w, w 1466 sound/soc/codecs/rt5668.c static int rt5655_set_verf(struct snd_soc_dapm_widget *w, w 1470 sound/soc/codecs/rt5668.c snd_soc_dapm_to_component(w->dapm); w 1474 sound/soc/codecs/rt5668.c switch (w->shift) { w 1492 sound/soc/codecs/rt5668.c switch (w->shift) { w 696 sound/soc/codecs/rt5670.c static int set_dmic_clk(struct snd_soc_dapm_widget *w, w 699 sound/soc/codecs/rt5670.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1364 sound/soc/codecs/rt5670.c static int rt5670_hp_power_event(struct snd_soc_dapm_widget *w, w 1367 sound/soc/codecs/rt5670.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1400 sound/soc/codecs/rt5670.c static int rt5670_hp_event(struct snd_soc_dapm_widget *w, w 1403 sound/soc/codecs/rt5670.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1450 sound/soc/codecs/rt5670.c static int rt5670_bst1_event(struct snd_soc_dapm_widget *w, w 1453 sound/soc/codecs/rt5670.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1473 sound/soc/codecs/rt5670.c static int rt5670_bst2_event(struct snd_soc_dapm_widget *w, w 1476 sound/soc/codecs/rt5670.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 99 sound/soc/codecs/rt5677-spi.c u32 w, i, si; w 102 sound/soc/codecs/rt5677-spi.c for (w = 0; w < dstlen; w += word_size) { w 103 sound/soc/codecs/rt5677-spi.c for (i = 0; i < word_size && i + w < dstlen; i++) { w 104 sound/soc/codecs/rt5677-spi.c si = w + word_size - i - 1; w 105 sound/soc/codecs/rt5677-spi.c dst[w + i] = si < srclen ? src[si] : 0; w 914 sound/soc/codecs/rt5677.c static int set_dmic_clk(struct snd_soc_dapm_widget *w, w 917 sound/soc/codecs/rt5677.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2396 sound/soc/codecs/rt5677.c static int rt5677_bst1_event(struct snd_soc_dapm_widget *w, w 2399 sound/soc/codecs/rt5677.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2420 sound/soc/codecs/rt5677.c static int rt5677_bst2_event(struct snd_soc_dapm_widget *w, w 2423 sound/soc/codecs/rt5677.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2444 sound/soc/codecs/rt5677.c static int rt5677_set_pll1_event(struct snd_soc_dapm_widget *w, w 2447 sound/soc/codecs/rt5677.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2466 sound/soc/codecs/rt5677.c static int rt5677_set_pll2_event(struct snd_soc_dapm_widget *w, w 2469 sound/soc/codecs/rt5677.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2488 sound/soc/codecs/rt5677.c static int rt5677_set_micbias1_event(struct snd_soc_dapm_widget *w, w 2491 sound/soc/codecs/rt5677.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2515 sound/soc/codecs/rt5677.c static int rt5677_if1_adc_tdm_event(struct snd_soc_dapm_widget *w, w 2518 sound/soc/codecs/rt5677.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2538 sound/soc/codecs/rt5677.c static int rt5677_if2_adc_tdm_event(struct snd_soc_dapm_widget *w, w 2541 sound/soc/codecs/rt5677.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2561 sound/soc/codecs/rt5677.c static int rt5677_vref_event(struct snd_soc_dapm_widget *w, w 2564 sound/soc/codecs/rt5677.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2586 sound/soc/codecs/rt5677.c static int rt5677_filter_power_event(struct snd_soc_dapm_widget *w, w 1194 sound/soc/codecs/rt5682.c static int set_dmic_clk(struct snd_soc_dapm_widget *w, w 1198 sound/soc/codecs/rt5682.c snd_soc_dapm_to_component(w->dapm); w 1211 sound/soc/codecs/rt5682.c static int set_filter_clk(struct snd_soc_dapm_widget *w, w 1215 sound/soc/codecs/rt5682.c snd_soc_dapm_to_component(w->dapm); w 1223 sound/soc/codecs/rt5682.c if (w->shift == RT5682_PWR_ADC_S1F_BIT && w 1231 sound/soc/codecs/rt5682.c if (w->shift == RT5682_PWR_ADC_S1F_BIT) w 1252 sound/soc/codecs/rt5682.c static int is_sys_clk_from_pll1(struct snd_soc_dapm_widget *w, w 1257 sound/soc/codecs/rt5682.c snd_soc_dapm_to_component(w->dapm); w 1267 sound/soc/codecs/rt5682.c static int is_using_asrc(struct snd_soc_dapm_widget *w, w 1272 sound/soc/codecs/rt5682.c snd_soc_dapm_to_component(w->dapm); w 1274 sound/soc/codecs/rt5682.c switch (w->shift) { w 1454 sound/soc/codecs/rt5682.c static int rt5682_charge_pump_event(struct snd_soc_dapm_widget *w, w 1458 sound/soc/codecs/rt5682.c snd_soc_dapm_to_component(w->dapm); w 1476 sound/soc/codecs/rt5682.c static int rt5682_hp_event(struct snd_soc_dapm_widget *w, w 1480 sound/soc/codecs/rt5682.c snd_soc_dapm_to_component(w->dapm); w 1511 sound/soc/codecs/rt5682.c static int set_dmic_power(struct snd_soc_dapm_widget *w, w 1527 sound/soc/codecs/rt5682.c static int rt5655_set_verf(struct snd_soc_dapm_widget *w, w 1531 sound/soc/codecs/rt5682.c snd_soc_dapm_to_component(w->dapm); w 1535 sound/soc/codecs/rt5682.c switch (w->shift) { w 1553 sound/soc/codecs/rt5682.c switch (w->shift) { w 266 sound/soc/codecs/sgtl5000.c static int mic_bias_event(struct snd_soc_dapm_widget *w, w 269 sound/soc/codecs/sgtl5000.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 340 sound/soc/codecs/sgtl5000.c static int headphone_pga_event(struct snd_soc_dapm_widget *w, w 344 sound/soc/codecs/sgtl5000.c snd_soc_dapm_to_component(w->dapm); w 353 sound/soc/codecs/sgtl5000.c static int adc_updown_depop(struct snd_soc_dapm_widget *w, w 357 sound/soc/codecs/sgtl5000.c snd_soc_dapm_to_component(w->dapm); w 362 sound/soc/codecs/sgtl5000.c static int dac_updown_depop(struct snd_soc_dapm_widget *w, w 366 sound/soc/codecs/sgtl5000.c snd_soc_dapm_to_component(w->dapm); w 18 sound/soc/codecs/simple-amplifier.c static int drv_event(struct snd_soc_dapm_widget *w, w 21 sound/soc/codecs/simple-amplifier.c struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); w 92 sound/soc/codecs/sirf-audio-codec.c static int adc_enable_delay_event(struct snd_soc_dapm_widget *w, w 117 sound/soc/codecs/sirf-audio-codec.c static int atlas6_codec_enable_and_reset_event(struct snd_soc_dapm_widget *w, w 122 sound/soc/codecs/sirf-audio-codec.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 140 sound/soc/codecs/sirf-audio-codec.c static int prima2_codec_enable_and_reset_event(struct snd_soc_dapm_widget *w, w 145 sound/soc/codecs/sirf-audio-codec.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 19 sound/soc/codecs/ssm2305.c static int ssm2305_power_event(struct snd_soc_dapm_widget *w, w 22 sound/soc/codecs/ssm2305.c struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); w 116 sound/soc/codecs/ssm2602.c static int ssm2602_mic_switch_event(struct snd_soc_dapm_widget *w, w 80 sound/soc/codecs/tas2552.c static int tas2552_post_event(struct snd_soc_dapm_widget *w, w 83 sound/soc/codecs/tas2552.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 363 sound/soc/codecs/tas5720.c static int tas5720_dac_event(struct snd_soc_dapm_widget *w, w 366 sound/soc/codecs/tas5720.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 72 sound/soc/codecs/tas6424.c static int tas6424_dac_event(struct snd_soc_dapm_widget *w, w 75 sound/soc/codecs/tas6424.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 352 sound/soc/codecs/tlv320aic31xx.c static int aic31xx_dapm_power_event(struct snd_soc_dapm_widget *w, w 355 sound/soc/codecs/tlv320aic31xx.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 360 sound/soc/codecs/tlv320aic31xx.c switch (WIDGET_BIT(w->reg, w->shift)) { w 385 sound/soc/codecs/tlv320aic31xx.c w->name, __func__); w 397 sound/soc/codecs/tlv320aic31xx.c event, w->name); w 448 sound/soc/codecs/tlv320aic31xx.c static int mic_bias_event(struct snd_soc_dapm_widget *w, w 451 sound/soc/codecs/tlv320aic31xx.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 53 sound/soc/codecs/tlv320aic32x4.c static int mic_bias_event(struct snd_soc_dapm_widget *w, w 56 sound/soc/codecs/tlv320aic32x4.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 212 sound/soc/codecs/tlv320aic3x.c static int mic_bias_event(struct snd_soc_dapm_widget *w, w 215 sound/soc/codecs/tlv320aic3x.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 411 sound/soc/codecs/tlv320dac33.c static int dac33_playback_event(struct snd_soc_dapm_widget *w, w 414 sound/soc/codecs/tlv320dac33.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 93 sound/soc/codecs/tpa6130a2.c static int tpa6130a2_power_event(struct snd_soc_dapm_widget *w, w 96 sound/soc/codecs/tpa6130a2.c struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); w 353 sound/soc/codecs/tscs42xx.c static int dapm_vref_event(struct snd_soc_dapm_widget *w, w 360 sound/soc/codecs/tscs42xx.c static int dapm_micb_event(struct snd_soc_dapm_widget *w, w 367 sound/soc/codecs/tscs42xx.c static int pll_event(struct snd_soc_dapm_widget *w, w 371 sound/soc/codecs/tscs42xx.c snd_soc_dapm_to_component(w->dapm); w 382 sound/soc/codecs/tscs42xx.c static int dac_event(struct snd_soc_dapm_widget *w, w 386 sound/soc/codecs/tscs42xx.c snd_soc_dapm_to_component(w->dapm); w 713 sound/soc/codecs/tscs454.c static int pll_power_event(struct snd_soc_dapm_widget *w, w 717 sound/soc/codecs/tscs454.c snd_soc_dapm_to_component(w->dapm); w 725 sound/soc/codecs/tscs454.c if (strstr(w->name, "PLL 1")) w 553 sound/soc/codecs/twl4030.c static int pin_name##pga_event(struct snd_soc_dapm_widget *w, \ w 556 sound/soc/codecs/twl4030.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); \ w 608 sound/soc/codecs/twl4030.c static int handsfreelpga_event(struct snd_soc_dapm_widget *w, w 611 sound/soc/codecs/twl4030.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 624 sound/soc/codecs/twl4030.c static int handsfreerpga_event(struct snd_soc_dapm_widget *w, w 627 sound/soc/codecs/twl4030.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 640 sound/soc/codecs/twl4030.c static int vibramux_event(struct snd_soc_dapm_widget *w, w 643 sound/soc/codecs/twl4030.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 649 sound/soc/codecs/twl4030.c static int apll_event(struct snd_soc_dapm_widget *w, w 652 sound/soc/codecs/twl4030.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 665 sound/soc/codecs/twl4030.c static int aif_event(struct snd_soc_dapm_widget *w, w 668 sound/soc/codecs/twl4030.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 754 sound/soc/codecs/twl4030.c static int headsetlpga_event(struct snd_soc_dapm_widget *w, w 757 sound/soc/codecs/twl4030.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 779 sound/soc/codecs/twl4030.c static int headsetrpga_event(struct snd_soc_dapm_widget *w, w 782 sound/soc/codecs/twl4030.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 804 sound/soc/codecs/twl4030.c static int digimic_event(struct snd_soc_dapm_widget *w, w 807 sound/soc/codecs/twl4030.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 222 sound/soc/codecs/twl6040.c static int twl6040_hs_dac_event(struct snd_soc_dapm_widget *w, w 225 sound/soc/codecs/twl6040.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 249 sound/soc/codecs/twl6040.c static int twl6040_ep_drv_event(struct snd_soc_dapm_widget *w, w 252 sound/soc/codecs/twl6040.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1283 sound/soc/codecs/wcd9335.c struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kc); w 1284 sound/soc/codecs/wcd9335.c struct wcd9335_codec *wcd = dev_get_drvdata(w->dapm->dev); w 1287 sound/soc/codecs/wcd9335.c u32 port_id = w->shift; w 1316 sound/soc/codecs/wcd9335.c snd_soc_dapm_mux_update_power(w->dapm, kc, wcd->rx_port_value, w 2573 sound/soc/codecs/wcd9335.c static int __wcd9335_codec_enable_micbias(struct snd_soc_dapm_widget *w, w 2576 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 2579 sound/soc/codecs/wcd9335.c if (strnstr(w->name, "MIC BIAS1", sizeof("MIC BIAS1"))) w 2581 sound/soc/codecs/wcd9335.c else if (strnstr(w->name, "MIC BIAS2", sizeof("MIC BIAS2"))) w 2583 sound/soc/codecs/wcd9335.c else if (strnstr(w->name, "MIC BIAS3", sizeof("MIC BIAS3"))) w 2585 sound/soc/codecs/wcd9335.c else if (strnstr(w->name, "MIC BIAS4", sizeof("MIC BIAS4"))) w 2611 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_micbias(struct snd_soc_dapm_widget *w, w 2614 sound/soc/codecs/wcd9335.c return __wcd9335_codec_enable_micbias(w, event); w 2652 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_adc(struct snd_soc_dapm_widget *w, w 2655 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 2659 sound/soc/codecs/wcd9335.c wcd9335_codec_set_tx_hold(comp, w->reg, true); w 2722 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_dec(struct snd_soc_dapm_widget *w, w 2725 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 2736 sound/soc/codecs/wcd9335.c widget_name = kmemdup_nul(w->name, 15, GFP_KERNEL); w 2744 sound/soc/codecs/wcd9335.c __func__, w->name); w 2909 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_dmic(struct snd_soc_dapm_widget *w, w 2912 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 2922 sound/soc/codecs/wcd9335.c wname = strpbrk(w->name, "012345"); w 3018 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_slim(struct snd_soc_dapm_widget *w, w 3022 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 3024 sound/soc/codecs/wcd9335.c struct wcd_slim_codec_dai_data *dai = &wcd->dai[w->shift]; w 3039 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_mix_path(struct snd_soc_dapm_widget *w, w 3042 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 3047 sound/soc/codecs/wcd9335.c switch (w->reg) { w 3077 sound/soc/codecs/wcd9335.c __func__, w->name); w 3298 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_interpolator(struct snd_soc_dapm_widget *w, w 3301 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 3307 sound/soc/codecs/wcd9335.c if (!(strcmp(w->name, "RX INT0 INTERP"))) { w 3310 sound/soc/codecs/wcd9335.c } else if (!(strcmp(w->name, "RX INT1 INTERP"))) { w 3313 sound/soc/codecs/wcd9335.c } else if (!(strcmp(w->name, "RX INT2 INTERP"))) { w 3316 sound/soc/codecs/wcd9335.c } else if (!(strcmp(w->name, "RX INT3 INTERP"))) { w 3319 sound/soc/codecs/wcd9335.c } else if (!(strcmp(w->name, "RX INT4 INTERP"))) { w 3322 sound/soc/codecs/wcd9335.c } else if (!(strcmp(w->name, "RX INT5 INTERP"))) { w 3325 sound/soc/codecs/wcd9335.c } else if (!(strcmp(w->name, "RX INT6 INTERP"))) { w 3328 sound/soc/codecs/wcd9335.c } else if (!(strcmp(w->name, "RX INT7 INTERP"))) { w 3331 sound/soc/codecs/wcd9335.c } else if (!(strcmp(w->name, "RX INT8 INTERP"))) { w 3346 sound/soc/codecs/wcd9335.c wcd9335_config_compander(comp, w->shift, event); w 3352 sound/soc/codecs/wcd9335.c wcd9335_config_compander(comp, w->shift, event); w 3533 sound/soc/codecs/wcd9335.c static int wcd9335_codec_hphl_dac_event(struct snd_soc_dapm_widget *w, w 3537 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 3583 sound/soc/codecs/wcd9335.c static int wcd9335_codec_lineout_dac_event(struct snd_soc_dapm_widget *w, w 3586 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 3603 sound/soc/codecs/wcd9335.c static int wcd9335_codec_ear_dac_event(struct snd_soc_dapm_widget *w, w 3606 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 3684 sound/soc/codecs/wcd9335.c static int wcd9335_codec_hphr_dac_event(struct snd_soc_dapm_widget *w, w 3688 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 3733 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_hphl_pa(struct snd_soc_dapm_widget *w, w 3737 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 3781 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_lineout_pa(struct snd_soc_dapm_widget *w, w 3785 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 3788 sound/soc/codecs/wcd9335.c if (w->reg == WCD9335_ANA_LO_1_2) { w 3789 sound/soc/codecs/wcd9335.c if (w->shift == 7) { w 3792 sound/soc/codecs/wcd9335.c } else if (w->shift == 6) { w 3796 sound/soc/codecs/wcd9335.c } else if (w->reg == WCD9335_ANA_LO_3_4) { w 3797 sound/soc/codecs/wcd9335.c if (w->shift == 7) { w 3800 sound/soc/codecs/wcd9335.c } else if (w->shift == 6) { w 3853 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_rx_bias(struct snd_soc_dapm_widget *w, w 3856 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 3883 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_hphr_pa(struct snd_soc_dapm_widget *w, w 3886 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 3929 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_ear_pa(struct snd_soc_dapm_widget *w, w 3932 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 4308 sound/soc/codecs/wcd9335.c static int wcd9335_codec_enable_mclk(struct snd_soc_dapm_widget *w, w 4311 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); w 674 sound/soc/codecs/wm2000.c static int wm2000_anc_power_event(struct snd_soc_dapm_widget *w, w 677 sound/soc/codecs/wm2000.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 771 sound/soc/codecs/wm5100.c static int wm5100_out_ev(struct snd_soc_dapm_widget *w, w 775 sound/soc/codecs/wm5100.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 778 sound/soc/codecs/wm5100.c switch (w->reg) { w 836 sound/soc/codecs/wm5100.c static int wm5100_post_ev(struct snd_soc_dapm_widget *w, w 840 sound/soc/codecs/wm5100.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 580 sound/soc/codecs/wm5102.c static int wm5102_sysclk_ev(struct snd_soc_dapm_widget *w, w 583 sound/soc/codecs/wm5102.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 611 sound/soc/codecs/wm5102.c return arizona_clk_ev(w, kcontrol, event); w 616 sound/soc/codecs/wm5102.c return arizona_dvfs_sysclk_ev(w, kcontrol, event); w 619 sound/soc/codecs/wm5102.c static int wm5102_adsp_power_ev(struct snd_soc_dapm_widget *w, w 622 sound/soc/codecs/wm5102.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 647 sound/soc/codecs/wm5102.c wm_adsp2_set_dspclk(w, v); w 661 sound/soc/codecs/wm5102.c return wm_adsp_early_event(w, kcontrol, event); w 158 sound/soc/codecs/wm5110.c static int wm5110_sysclk_ev(struct snd_soc_dapm_widget *w, w 161 sound/soc/codecs/wm5110.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 187 sound/soc/codecs/wm5110.c return arizona_clk_ev(w, kcontrol, event); w 195 sound/soc/codecs/wm5110.c static int wm5110_adsp_power_ev(struct snd_soc_dapm_widget *w, w 198 sound/soc/codecs/wm5110.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 211 sound/soc/codecs/wm5110.c wm_adsp2_set_dspclk(w, v); w 213 sound/soc/codecs/wm5110.c return wm_adsp_early_event(w, kcontrol, event); w 288 sound/soc/codecs/wm5110.c static int wm5110_hp_pre_enable(struct snd_soc_dapm_widget *w) w 290 sound/soc/codecs/wm5110.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 297 sound/soc/codecs/wm5110.c switch (w->shift) { w 325 sound/soc/codecs/wm5110.c static int wm5110_hp_pre_disable(struct snd_soc_dapm_widget *w) w 327 sound/soc/codecs/wm5110.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 331 sound/soc/codecs/wm5110.c switch (w->shift) { w 363 sound/soc/codecs/wm5110.c static int wm5110_hp_ev(struct snd_soc_dapm_widget *w, w 366 sound/soc/codecs/wm5110.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 375 sound/soc/codecs/wm5110.c wm5110_hp_pre_enable(w); w 378 sound/soc/codecs/wm5110.c wm5110_hp_pre_disable(w); w 386 sound/soc/codecs/wm5110.c return arizona_hp_ev(w, kcontrol, event); w 503 sound/soc/codecs/wm5110.c static int wm5110_in_analog_ev(struct snd_soc_dapm_widget *w, w 506 sound/soc/codecs/wm5110.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 517 sound/soc/codecs/wm5110.c reg = ARIZONA_IN1L_CONTROL + ((w->shift ^ 0x1) * 4); w 522 sound/soc/codecs/wm5110.c wm5110->in_value |= 0x3 << ((w->shift ^ 0x1) * 2); w 527 sound/soc/codecs/wm5110.c wm5110->in_pga_cache[w->shift] = snd_soc_component_read32(component, reg); w 547 sound/soc/codecs/wm5110.c wm5110->in_pga_cache[w->shift]); w 562 sound/soc/codecs/wm5110.c static int wm5110_in_ev(struct snd_soc_dapm_widget *w, w 565 sound/soc/codecs/wm5110.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 571 sound/soc/codecs/wm5110.c if (arizona_input_analog(component, w->shift)) w 572 sound/soc/codecs/wm5110.c wm5110_in_analog_ev(w, kcontrol, event); w 579 sound/soc/codecs/wm5110.c return arizona_in_ev(w, kcontrol, event); w 253 sound/soc/codecs/wm8350.c static int pga_event(struct snd_soc_dapm_widget *w, w 256 sound/soc/codecs/wm8350.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 260 sound/soc/codecs/wm8350.c switch (w->shift) { w 271 sound/soc/codecs/wm8350.c WARN(1, "Invalid shift %d\n", w->shift); w 319 sound/soc/codecs/wm8400.c static int outmixer_event (struct snd_soc_dapm_widget *w, w 322 sound/soc/codecs/wm8400.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 88 sound/soc/codecs/wm8770.c static int vout12supply_event(struct snd_soc_dapm_widget *w, w 90 sound/soc/codecs/wm8770.c static int vout34supply_event(struct snd_soc_dapm_widget *w, w 305 sound/soc/codecs/wm8770.c static int vout12supply_event(struct snd_soc_dapm_widget *w, w 308 sound/soc/codecs/wm8770.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 322 sound/soc/codecs/wm8770.c static int vout34supply_event(struct snd_soc_dapm_widget *w, w 325 sound/soc/codecs/wm8770.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 74 sound/soc/codecs/wm8804.c static int wm8804_aif_event(struct snd_soc_dapm_widget *w, w 134 sound/soc/codecs/wm8804.c static int wm8804_aif_event(struct snd_soc_dapm_widget *w, w 137 sound/soc/codecs/wm8804.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 221 sound/soc/codecs/wm8900.c static int wm8900_hp_event(struct snd_soc_dapm_widget *w, w 224 sound/soc/codecs/wm8900.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 258 sound/soc/codecs/wm8903.c static int wm8903_cp_event(struct snd_soc_dapm_widget *w, w 267 sound/soc/codecs/wm8903.c static int wm8903_dcs_event(struct snd_soc_dapm_widget *w, w 270 sound/soc/codecs/wm8903.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 275 sound/soc/codecs/wm8903.c wm8903->dcs_pending |= 1 << w->shift; w 279 sound/soc/codecs/wm8903.c 1 << w->shift, 0); w 641 sound/soc/codecs/wm8904.c static int cp_event(struct snd_soc_dapm_widget *w, w 653 sound/soc/codecs/wm8904.c static int sysclk_event(struct snd_soc_dapm_widget *w, w 656 sound/soc/codecs/wm8904.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 691 sound/soc/codecs/wm8904.c static int out_pga_event(struct snd_soc_dapm_widget *w, w 694 sound/soc/codecs/wm8904.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 707 sound/soc/codecs/wm8904.c reg = w->shift; w 330 sound/soc/codecs/wm8955.c static int wm8955_sysclk(struct snd_soc_dapm_widget *w, w 333 sound/soc/codecs/wm8955.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 415 sound/soc/codecs/wm8958-dsp2.c int wm8958_aif_ev(struct snd_soc_dapm_widget *w, w 418 sound/soc/codecs/wm8958-dsp2.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 475 sound/soc/codecs/wm8960.c struct snd_soc_dapm_widget *w; w 504 sound/soc/codecs/wm8960.c list_for_each_entry(w, &component->card->widgets, list) { w 505 sound/soc/codecs/wm8960.c if (w->dapm != dapm) w 507 sound/soc/codecs/wm8960.c if (strcmp(w->name, "LOUT1 PGA") == 0) w 508 sound/soc/codecs/wm8960.c wm8960->lout1 = w; w 509 sound/soc/codecs/wm8960.c if (strcmp(w->name, "ROUT1 PGA") == 0) w 510 sound/soc/codecs/wm8960.c wm8960->rout1 = w; w 511 sound/soc/codecs/wm8960.c if (strcmp(w->name, "OUT3 VMID") == 0) w 512 sound/soc/codecs/wm8960.c wm8960->out3 = w; w 191 sound/soc/codecs/wm8961.c static int wm8961_hp_event(struct snd_soc_dapm_widget *w, w 194 sound/soc/codecs/wm8961.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 283 sound/soc/codecs/wm8961.c static int wm8961_spk_event(struct snd_soc_dapm_widget *w, w 286 sound/soc/codecs/wm8961.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1843 sound/soc/codecs/wm8962.c static int cp_event(struct snd_soc_dapm_widget *w, w 1859 sound/soc/codecs/wm8962.c static int hp_event(struct snd_soc_dapm_widget *w, w 1862 sound/soc/codecs/wm8962.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1953 sound/soc/codecs/wm8962.c static int out_pga_event(struct snd_soc_dapm_widget *w, w 1956 sound/soc/codecs/wm8962.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1959 sound/soc/codecs/wm8962.c switch (w->shift) { w 1973 sound/soc/codecs/wm8962.c WARN(1, "Invalid shift %d\n", w->shift); w 1986 sound/soc/codecs/wm8962.c static int dsp2_event(struct snd_soc_dapm_widget *w, w 1989 sound/soc/codecs/wm8962.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 241 sound/soc/codecs/wm8988.c static int wm8988_lrc_control(struct snd_soc_dapm_widget *w, w 244 sound/soc/codecs/wm8988.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 370 sound/soc/codecs/wm8990.c static int outmixer_event(struct snd_soc_dapm_widget *w, w 373 sound/soc/codecs/wm8990.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 357 sound/soc/codecs/wm8991.c static int outmixer_event(struct snd_soc_dapm_widget *w, w 360 sound/soc/codecs/wm8991.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 806 sound/soc/codecs/wm8993.c static int clk_sys_event(struct snd_soc_dapm_widget *w, w 809 sound/soc/codecs/wm8993.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 809 sound/soc/codecs/wm8994.c static int clk_sys_event(struct snd_soc_dapm_widget *w, w 812 sound/soc/codecs/wm8994.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 985 sound/soc/codecs/wm8994.c static int vmid_event(struct snd_soc_dapm_widget *w, w 988 sound/soc/codecs/wm8994.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1041 sound/soc/codecs/wm8994.c static int aif1clk_ev(struct snd_soc_dapm_widget *w, w 1044 sound/soc/codecs/wm8994.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1139 sound/soc/codecs/wm8994.c static int aif2clk_ev(struct snd_soc_dapm_widget *w, w 1142 sound/soc/codecs/wm8994.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1224 sound/soc/codecs/wm8994.c static int aif1clk_late_ev(struct snd_soc_dapm_widget *w, w 1227 sound/soc/codecs/wm8994.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1242 sound/soc/codecs/wm8994.c static int aif2clk_late_ev(struct snd_soc_dapm_widget *w, w 1245 sound/soc/codecs/wm8994.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1260 sound/soc/codecs/wm8994.c static int late_enable_ev(struct snd_soc_dapm_widget *w, w 1263 sound/soc/codecs/wm8994.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1269 sound/soc/codecs/wm8994.c aif1clk_ev(w, kcontrol, SND_SOC_DAPM_PRE_PMU); w 1273 sound/soc/codecs/wm8994.c aif1clk_ev(w, kcontrol, SND_SOC_DAPM_POST_PMU); w 1277 sound/soc/codecs/wm8994.c aif2clk_ev(w, kcontrol, SND_SOC_DAPM_PRE_PMU); w 1281 sound/soc/codecs/wm8994.c aif2clk_ev(w, kcontrol, SND_SOC_DAPM_POST_PMU); w 1288 sound/soc/codecs/wm8994.c wm8958_aif_ev(w, kcontrol, event); w 1293 sound/soc/codecs/wm8994.c static int late_disable_ev(struct snd_soc_dapm_widget *w, w 1296 sound/soc/codecs/wm8994.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1302 sound/soc/codecs/wm8994.c aif1clk_ev(w, kcontrol, SND_SOC_DAPM_PRE_PMD); w 1305 sound/soc/codecs/wm8994.c aif1clk_ev(w, kcontrol, SND_SOC_DAPM_POST_PMD); w 1309 sound/soc/codecs/wm8994.c aif2clk_ev(w, kcontrol, SND_SOC_DAPM_PRE_PMD); w 1312 sound/soc/codecs/wm8994.c aif2clk_ev(w, kcontrol, SND_SOC_DAPM_POST_PMD); w 1321 sound/soc/codecs/wm8994.c static int adc_mux_ev(struct snd_soc_dapm_widget *w, w 1324 sound/soc/codecs/wm8994.c late_enable_ev(w, kcontrol, event); w 1328 sound/soc/codecs/wm8994.c static int micbias_ev(struct snd_soc_dapm_widget *w, w 1331 sound/soc/codecs/wm8994.c late_enable_ev(w, kcontrol, event); w 1335 sound/soc/codecs/wm8994.c static int dac_ev(struct snd_soc_dapm_widget *w, w 1338 sound/soc/codecs/wm8994.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 1339 sound/soc/codecs/wm8994.c unsigned int mask = 1 << w->shift; w 1376 sound/soc/codecs/wm8994.c static int post_ev(struct snd_soc_dapm_widget *w, w 1379 sound/soc/codecs/wm8994.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 51 sound/soc/codecs/wm8994.h int wm8958_aif_ev(struct snd_soc_dapm_widget *w, w 558 sound/soc/codecs/wm8995.c static int hp_supply_event(struct snd_soc_dapm_widget *w, w 561 sound/soc/codecs/wm8995.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 607 sound/soc/codecs/wm8995.c static int hp_event(struct snd_soc_dapm_widget *w, w 610 sound/soc/codecs/wm8995.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 757 sound/soc/codecs/wm8995.c static int clk_sys_event(struct snd_soc_dapm_widget *w, w 760 sound/soc/codecs/wm8995.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 596 sound/soc/codecs/wm8996.c static int bg_event(struct snd_soc_dapm_widget *w, w 599 sound/soc/codecs/wm8996.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 617 sound/soc/codecs/wm8996.c static int cp_event(struct snd_soc_dapm_widget *w, w 631 sound/soc/codecs/wm8996.c static int rmv_short_event(struct snd_soc_dapm_widget *w, w 634 sound/soc/codecs/wm8996.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 640 sound/soc/codecs/wm8996.c wm8996->hpout_pending &= ~w->shift; w 643 sound/soc/codecs/wm8996.c wm8996->hpout_pending |= w->shift; w 755 sound/soc/codecs/wm8996.c static int dcs_start(struct snd_soc_dapm_widget *w, w 758 sound/soc/codecs/wm8996.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 763 sound/soc/codecs/wm8996.c wm8996->dcs_pending |= 1 << w->shift; w 81 sound/soc/codecs/wm8997.c static int wm8997_sysclk_ev(struct snd_soc_dapm_widget *w, w 84 sound/soc/codecs/wm8997.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 110 sound/soc/codecs/wm8997.c return arizona_clk_ev(w, kcontrol, event); w 115 sound/soc/codecs/wm8997.c return arizona_dvfs_sysclk_ev(w, kcontrol, event); w 37 sound/soc/codecs/wm8998.c static int wm8998_asrc_ev(struct snd_soc_dapm_widget *w, w 41 sound/soc/codecs/wm8998.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 729 sound/soc/codecs/wm9081.c static int clk_sys_event(struct snd_soc_dapm_widget *w, w 732 sound/soc/codecs/wm9081.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 238 sound/soc/codecs/wm9090.c static int hp_ev(struct snd_soc_dapm_widget *w, w 241 sound/soc/codecs/wm9090.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 192 sound/soc/codecs/wm9713.c static int wm9713_voice_shutdown(struct snd_soc_dapm_widget *w, w 195 sound/soc/codecs/wm9713.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2698 sound/soc/codecs/wm_adsp.c int wm_adsp1_event(struct snd_soc_dapm_widget *w, w 2702 sound/soc/codecs/wm_adsp.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 2704 sound/soc/codecs/wm_adsp.c struct wm_adsp *dsp = &dsps[w->shift]; w 2999 sound/soc/codecs/wm_adsp.c int wm_adsp2_set_dspclk(struct snd_soc_dapm_widget *w, unsigned int freq) w 3001 sound/soc/codecs/wm_adsp.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 3003 sound/soc/codecs/wm_adsp.c struct wm_adsp *dsp = &dsps[w->shift]; w 3071 sound/soc/codecs/wm_adsp.c int wm_adsp_early_event(struct snd_soc_dapm_widget *w, w 3074 sound/soc/codecs/wm_adsp.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 3076 sound/soc/codecs/wm_adsp.c struct wm_adsp *dsp = &dsps[w->shift]; w 3126 sound/soc/codecs/wm_adsp.c int wm_adsp_event(struct snd_soc_dapm_widget *w, w 3129 sound/soc/codecs/wm_adsp.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 3131 sound/soc/codecs/wm_adsp.c struct wm_adsp *dsp = &dsps[w->shift]; w 168 sound/soc/codecs/wm_adsp.h int wm_adsp1_event(struct snd_soc_dapm_widget *w, w 171 sound/soc/codecs/wm_adsp.h int wm_adsp_early_event(struct snd_soc_dapm_widget *w, w 178 sound/soc/codecs/wm_adsp.h int wm_adsp_event(struct snd_soc_dapm_widget *w, w 181 sound/soc/codecs/wm_adsp.h int wm_adsp2_set_dspclk(struct snd_soc_dapm_widget *w, unsigned int freq); w 495 sound/soc/codecs/wm_hubs.c static int hp_supply_event(struct snd_soc_dapm_widget *w, w 498 sound/soc/codecs/wm_hubs.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 537 sound/soc/codecs/wm_hubs.c static int hp_event(struct snd_soc_dapm_widget *w, w 540 sound/soc/codecs/wm_hubs.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 589 sound/soc/codecs/wm_hubs.c static int earpiece_event(struct snd_soc_dapm_widget *w, w 592 sound/soc/codecs/wm_hubs.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 614 sound/soc/codecs/wm_hubs.c static int lineout_event(struct snd_soc_dapm_widget *w, w 617 sound/soc/codecs/wm_hubs.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 621 sound/soc/codecs/wm_hubs.c switch (w->shift) { w 644 sound/soc/codecs/wm_hubs.c static int micbias_event(struct snd_soc_dapm_widget *w, w 647 sound/soc/codecs/wm_hubs.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 650 sound/soc/codecs/wm_hubs.c switch (w->shift) { w 54 sound/soc/codecs/zx_aud96p22.c static int aud96p22_adc_event(struct snd_soc_dapm_widget *w, w 57 sound/soc/codecs/zx_aud96p22.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 71 sound/soc/codecs/zx_aud96p22.c static int aud96p22_dac_event(struct snd_soc_dapm_widget *w, w 74 sound/soc/codecs/zx_aud96p22.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 254 sound/soc/fsl/fsl_esai.h #define ESAI_xCR_xSWS(s, w) ((w < 24 ? (s - w + ((w - 8) >> 2)) : (s < 32 ? 0x1e : 0x1f)) << ESAI_xCR_xSWS_SHIFT) w 27 sound/soc/generic/audio-graph-card.c static int graph_outdrv_event(struct snd_soc_dapm_widget *w, w 31 sound/soc/generic/audio-graph-card.c struct snd_soc_dapm_context *dapm = w->dapm; w 188 sound/soc/intel/atom/sst-atom-controls.c if (e->w && e->w->power) w 190 sound/soc/intel/atom/sst-atom-controls.c else if (!e->w) w 358 sound/soc/intel/atom/sst-atom-controls.c if (bc->w && bc->w->power) w 491 sound/soc/intel/atom/sst-atom-controls.c if (mc->w && mc->w->power) w 502 sound/soc/intel/atom/sst-atom-controls.c static int sst_send_pipe_module_params(struct snd_soc_dapm_widget *w, w 505 sound/soc/intel/atom/sst-atom-controls.c struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); w 507 sound/soc/intel/atom/sst-atom-controls.c struct sst_ids *ids = w->priv; w 510 sound/soc/intel/atom/sst-atom-controls.c sst_find_and_send_pipe_algo(drv, w->name, ids); w 517 sound/soc/intel/atom/sst-atom-controls.c static int sst_generic_modules_event(struct snd_soc_dapm_widget *w, w 521 sound/soc/intel/atom/sst-atom-controls.c return sst_send_pipe_module_params(w, k); w 604 sound/soc/intel/atom/sst-atom-controls.c static int sst_swm_mixer_event(struct snd_soc_dapm_widget *w, w 608 sound/soc/intel/atom/sst-atom-controls.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 610 sound/soc/intel/atom/sst-atom-controls.c struct sst_ids *ids = w->priv; w 616 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(cmpnt->dev, "widget = %s\n", w->name); w 621 sound/soc/intel/atom/sst-atom-controls.c for (i = 0; i < w->num_kcontrols; i++) { w 622 sound/soc/intel/atom/sst-atom-controls.c if (dapm_kcontrol_get_value(w->kcontrols[i])) { w 623 sound/soc/intel/atom/sst-atom-controls.c mc = (struct soc_mixer_control *)(w->kcontrols[i])->private_value; w 635 sound/soc/intel/atom/sst-atom-controls.c if (w->power) w 959 sound/soc/intel/atom/sst-atom-controls.c static int sst_set_be_modules(struct snd_soc_dapm_widget *w, w 963 sound/soc/intel/atom/sst-atom-controls.c struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); w 966 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(c->dev, "Enter: widget=%s\n", w->name); w 974 sound/soc/intel/atom/sst-atom-controls.c ret = sst_send_pipe_module_params(w, k); w 979 sound/soc/intel/atom/sst-atom-controls.c static int sst_set_media_path(struct snd_soc_dapm_widget *w, w 984 sound/soc/intel/atom/sst-atom-controls.c struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); w 986 sound/soc/intel/atom/sst-atom-controls.c struct sst_ids *ids = w->priv; w 988 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(c->dev, "widget=%s\n", w->name); w 1012 sound/soc/intel/atom/sst-atom-controls.c ret = sst_send_pipe_module_params(w, k); w 1016 sound/soc/intel/atom/sst-atom-controls.c static int sst_set_media_loop(struct snd_soc_dapm_widget *w, w 1021 sound/soc/intel/atom/sst-atom-controls.c struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); w 1023 sound/soc/intel/atom/sst-atom-controls.c struct sst_ids *ids = w->priv; w 1025 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(c->dev, "Enter:widget=%s\n", w->name); w 1050 sound/soc/intel/atom/sst-atom-controls.c ret = sst_send_pipe_module_params(w, k); w 1284 sound/soc/intel/atom/sst-atom-controls.c static bool is_sst_dapm_widget(struct snd_soc_dapm_widget *w) w 1286 sound/soc/intel/atom/sst-atom-controls.c switch (w->id) { w 1309 sound/soc/intel/atom/sst-atom-controls.c struct snd_soc_dapm_widget *w; w 1317 sound/soc/intel/atom/sst-atom-controls.c w = dai->playback_widget; w 1318 sound/soc/intel/atom/sst-atom-controls.c snd_soc_dapm_widget_for_each_sink_path(w, p) { w 1319 sound/soc/intel/atom/sst-atom-controls.c if (p->connected && !p->connected(w, p->sink)) w 1336 sound/soc/intel/atom/sst-atom-controls.c w = dai->capture_widget; w 1337 sound/soc/intel/atom/sst-atom-controls.c snd_soc_dapm_widget_for_each_source_path(w, p) { w 1338 sound/soc/intel/atom/sst-atom-controls.c if (p->connected && !p->connected(w, p->source)) w 1370 sound/soc/intel/atom/sst-atom-controls.c struct snd_soc_dapm_widget *w, int type) w 1373 sound/soc/intel/atom/sst-atom-controls.c struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); w 1374 sound/soc/intel/atom/sst-atom-controls.c struct sst_ids *ids = w->priv; w 1384 sound/soc/intel/atom/sst-atom-controls.c mc->w = w; w 1390 sound/soc/intel/atom/sst-atom-controls.c bc->w = w; w 1410 sound/soc/intel/atom/sst-atom-controls.c static int sst_fill_widget_module_info(struct snd_soc_dapm_widget *w, w 1425 sound/soc/intel/atom/sst-atom-controls.c if (strncmp(kctl->id.name, w->name, index)) w 1429 sound/soc/intel/atom/sst-atom-controls.c ret = sst_fill_module_list(kctl, w, SST_MODULE_GAIN); w 1432 sound/soc/intel/atom/sst-atom-controls.c ret = sst_fill_module_list(kctl, w, SST_MODULE_ALGO); w 1439 sound/soc/intel/atom/sst-atom-controls.c mc->w = w; w 1444 sound/soc/intel/atom/sst-atom-controls.c e->w = w; w 1449 sound/soc/intel/atom/sst-atom-controls.c e->w = w; w 1468 sound/soc/intel/atom/sst-atom-controls.c struct snd_soc_dapm_widget *w; w 1471 sound/soc/intel/atom/sst-atom-controls.c list_for_each_entry(w, &component->card->widgets, list) { w 1472 sound/soc/intel/atom/sst-atom-controls.c if (!strncmp(ids->parent_wname, w->name, len)) { w 1473 sound/soc/intel/atom/sst-atom-controls.c ids->parent_w = w; w 1484 sound/soc/intel/atom/sst-atom-controls.c struct snd_soc_dapm_widget *w; w 1487 sound/soc/intel/atom/sst-atom-controls.c list_for_each_entry(w, &component->card->widgets, list) { w 1488 sound/soc/intel/atom/sst-atom-controls.c if (is_sst_dapm_widget(w) && (w->priv)) { w 1489 sound/soc/intel/atom/sst-atom-controls.c struct sst_ids *ids = w->priv; w 1492 sound/soc/intel/atom/sst-atom-controls.c w->id, w->name); w 1495 sound/soc/intel/atom/sst-atom-controls.c ret = sst_fill_widget_module_info(w, component); w 699 sound/soc/intel/atom/sst-atom-controls.h struct snd_soc_dapm_widget *w; w 790 sound/soc/intel/atom/sst-atom-controls.h struct snd_soc_dapm_widget *w; w 842 sound/soc/intel/atom/sst-atom-controls.h struct snd_soc_dapm_widget *w; w 30 sound/soc/intel/boards/bdw-rt5677.c static int bdw_rt5677_event_hp(struct snd_soc_dapm_widget *w, w 33 sound/soc/intel/boards/bdw-rt5677.c struct snd_soc_dapm_context *dapm = w->dapm; w 54 sound/soc/intel/boards/bxt_da7219_max98357a.c static int platform_clock_control(struct snd_soc_dapm_widget *w, w 58 sound/soc/intel/boards/bxt_da7219_max98357a.c struct snd_soc_dapm_context *dapm = w->dapm; w 74 sound/soc/intel/boards/bytcht_es8316.c static int byt_cht_es8316_speaker_power_event(struct snd_soc_dapm_widget *w, w 77 sound/soc/intel/boards/bytcht_es8316.c struct snd_soc_card *card = w->dapm->card; w 221 sound/soc/intel/boards/bytcr_rt5640.c static int platform_clock_control(struct snd_soc_dapm_widget *w, w 224 sound/soc/intel/boards/bytcr_rt5640.c struct snd_soc_dapm_context *dapm = w->dapm; w 171 sound/soc/intel/boards/bytcr_rt5651.c static int platform_clock_control(struct snd_soc_dapm_widget *w, w 174 sound/soc/intel/boards/bytcr_rt5651.c struct snd_soc_dapm_context *dapm = w->dapm; w 221 sound/soc/intel/boards/bytcr_rt5651.c static int rt5651_ext_amp_power_event(struct snd_soc_dapm_widget *w, w 224 sound/soc/intel/boards/bytcr_rt5651.c struct snd_soc_card *card = w->dapm->card; w 42 sound/soc/intel/boards/cht_bsw_max98090_ti.c static int platform_clock_control(struct snd_soc_dapm_widget *w, w 45 sound/soc/intel/boards/cht_bsw_max98090_ti.c struct snd_soc_dapm_context *dapm = w->dapm; w 67 sound/soc/intel/boards/cht_bsw_rt5645.c static int platform_clock_control(struct snd_soc_dapm_widget *w, w 70 sound/soc/intel/boards/cht_bsw_rt5645.c struct snd_soc_dapm_context *dapm = w->dapm; w 48 sound/soc/intel/boards/cht_bsw_rt5672.c static int platform_clock_control(struct snd_soc_dapm_widget *w, w 51 sound/soc/intel/boards/cht_bsw_rt5672.c struct snd_soc_dapm_context *dapm = w->dapm; w 53 sound/soc/intel/boards/kbl_da7219_max98357a.c static int platform_clock_control(struct snd_soc_dapm_widget *w, w 56 sound/soc/intel/boards/kbl_da7219_max98357a.c struct snd_soc_dapm_context *dapm = w->dapm; w 64 sound/soc/intel/boards/kbl_da7219_max98927.c static int platform_clock_control(struct snd_soc_dapm_widget *w, w 67 sound/soc/intel/boards/kbl_da7219_max98927.c struct snd_soc_dapm_context *dapm = w->dapm; w 92 sound/soc/intel/boards/kbl_rt5660.c static int kabylake_5660_event_lineout(struct snd_soc_dapm_widget *w, w 95 sound/soc/intel/boards/kbl_rt5660.c struct snd_soc_dapm_context *dapm = w->dapm; w 69 sound/soc/intel/boards/kbl_rt5663_max98927.c static int platform_clock_control(struct snd_soc_dapm_widget *w, w 72 sound/soc/intel/boards/kbl_rt5663_max98927.c struct snd_soc_dapm_context *dapm = w->dapm; w 49 sound/soc/intel/boards/skl_nau88l25_max98357a.c static int platform_clock_control(struct snd_soc_dapm_widget *w, w 52 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_soc_dapm_context *dapm = w->dapm; w 59 sound/soc/intel/boards/skl_nau88l25_ssm4567.c static int platform_clock_control(struct snd_soc_dapm_widget *w, w 62 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_soc_dapm_context *dapm = w->dapm; w 166 sound/soc/intel/skylake/skl-debug.c struct snd_soc_dapm_widget *w, w 169 sound/soc/intel/skylake/skl-debug.c debugfs_create_file(w->name, 0444, d->modules, mconfig, w 118 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dapm_widget *w; w 122 sound/soc/intel/skylake/skl-pcm.c w = dai->playback_widget; w 124 sound/soc/intel/skylake/skl-pcm.c w = dai->capture_widget; w 126 sound/soc/intel/skylake/skl-pcm.c if (w->ignore_suspend && enable) w 128 sound/soc/intel/skylake/skl-pcm.c else if (w->ignore_suspend && !enable) w 478 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dapm_widget *w; w 486 sound/soc/intel/skylake/skl-pcm.c w = dai->playback_widget; w 488 sound/soc/intel/skylake/skl-pcm.c w = dai->capture_widget; w 492 sound/soc/intel/skylake/skl-pcm.c if (!w->ignore_suspend) { w 533 sound/soc/intel/skylake/skl-pcm.c if ((cmd == SNDRV_PCM_TRIGGER_SUSPEND) && !w->ignore_suspend) { w 1384 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dapm_widget *w; w 1390 sound/soc/intel/skylake/skl-pcm.c w = m->w; w 1391 sound/soc/intel/skylake/skl-pcm.c mconfig = w->priv; w 1400 sound/soc/intel/skylake/skl-pcm.c skl_tplg_add_moduleid_in_bind_params(skl, w); w 91 sound/soc/intel/skylake/skl-topology.c static int is_skl_dsp_widget_type(struct snd_soc_dapm_widget *w, w 94 sound/soc/intel/skylake/skl-topology.c if (w->dapm->dev != dev) w 97 sound/soc/intel/skylake/skl-topology.c switch (w->id) { w 282 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_update_be_blob(struct snd_soc_dapm_widget *w, w 285 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *m_cfg = w->priv; w 343 sound/soc/intel/skylake/skl-topology.c static void skl_tplg_update_module_params(struct snd_soc_dapm_widget *w, w 346 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *m_cfg = w->priv; w 355 sound/soc/intel/skylake/skl-topology.c w->name); w 368 sound/soc/intel/skylake/skl-topology.c w->name); w 378 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_set_module_params(struct snd_soc_dapm_widget *w, w 382 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; w 398 sound/soc/intel/skylake/skl-topology.c for (i = 0; i < w->num_kcontrols; i++) { w 399 sound/soc/intel/skylake/skl-topology.c k = &w->kcontrol_news[i]; w 423 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_set_module_init_data(struct snd_soc_dapm_widget *w) w 428 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; w 431 sound/soc/intel/skylake/skl-topology.c for (i = 0; i < w->num_kcontrols; i++) { w 432 sound/soc/intel/skylake/skl-topology.c k = &w->kcontrol_news[i]; w 451 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w, struct skl_module_cfg *mcfg) w 473 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w; w 480 sound/soc/intel/skylake/skl-topology.c w = w_module->w; w 481 sound/soc/intel/skylake/skl-topology.c mconfig = w->priv; w 505 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_module_prepare(skl, pipe, w, mconfig); w 510 sound/soc/intel/skylake/skl-topology.c skl_tplg_update_be_blob(w, skl); w 516 sound/soc/intel/skylake/skl-topology.c skl_tplg_update_module_params(w, skl); w 522 sound/soc/intel/skylake/skl-topology.c skl_tplg_set_module_init_data(w); w 537 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_set_module_params(w, skl); w 557 sound/soc/intel/skylake/skl-topology.c mconfig = w_module->w->priv; w 646 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_mixer_dapm_pre_pmu_event(struct snd_soc_dapm_widget *w, w 650 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; w 675 sound/soc/intel/skylake/skl-topology.c dst_module = w_module->w->priv; w 698 sound/soc/intel/skylake/skl-topology.c module = w_module->w->priv; w 738 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_set_module_bind_params(struct snd_soc_dapm_widget *w, w 742 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; w 773 sound/soc/intel/skylake/skl-topology.c for (i = 0; i < w->num_kcontrols; i++) { w 774 sound/soc/intel/skylake/skl-topology.c k = &w->kcontrol_news[i]; w 857 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w) w 859 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; w 870 sound/soc/intel/skylake/skl-topology.c for (i = 0; i < w->num_kcontrols; i++) w 871 sound/soc/intel/skylake/skl-topology.c if ((w->kcontrol_news[i].access & w 874 sound/soc/intel/skylake/skl-topology.c &w->kcontrol_news[i]) < 0)) w 917 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_bind_sinks(struct snd_soc_dapm_widget *w, w 927 sound/soc/intel/skylake/skl-topology.c snd_soc_dapm_widget_for_each_sink_path(w, p) { w 932 sound/soc/intel/skylake/skl-topology.c "%s: src widget=%s\n", __func__, w->name); w 1017 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_pga_dapm_pre_pmu_event(struct snd_soc_dapm_widget *w, w 1023 sound/soc/intel/skylake/skl-topology.c src_mconfig = w->priv; w 1030 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_bind_sinks(w, skl, w, src_mconfig); w 1042 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w, struct skl_dev *skl) w 1047 sound/soc/intel/skylake/skl-topology.c snd_soc_dapm_widget_for_each_source_path(w, p) { w 1052 sound/soc/intel/skylake/skl-topology.c dev_dbg(skl->dev, "sink widget=%s\n", w->name); w 1081 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_mixer_dapm_post_pmu_event(struct snd_soc_dapm_widget *w, w 1089 sound/soc/intel/skylake/skl-topology.c sink = w; w 1097 sound/soc/intel/skylake/skl-topology.c source = skl_get_src_dsp_widget(w, skl); w 1133 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_mixer_dapm_pre_pmd_event(struct snd_soc_dapm_widget *w, w 1139 sound/soc/intel/skylake/skl-topology.c sink_mconfig = w->priv; w 1166 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_mixer_dapm_post_pmd_event(struct snd_soc_dapm_widget *w, w 1169 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; w 1182 sound/soc/intel/skylake/skl-topology.c src_module = w_module->w->priv; w 1208 sound/soc/intel/skylake/skl-topology.c dst_module = w_module->w->priv; w 1222 sound/soc/intel/skylake/skl-topology.c src_module = w_module->w->priv; w 1234 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_pga_dapm_post_pmd_event(struct snd_soc_dapm_widget *w, w 1240 sound/soc/intel/skylake/skl-topology.c src_mconfig = w->priv; w 1270 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_mixer_event(struct snd_soc_dapm_widget *w, w 1273 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_context *dapm = w->dapm; w 1278 sound/soc/intel/skylake/skl-topology.c return skl_tplg_mixer_dapm_pre_pmu_event(w, skl); w 1281 sound/soc/intel/skylake/skl-topology.c return skl_tplg_mixer_dapm_post_pmu_event(w, skl); w 1284 sound/soc/intel/skylake/skl-topology.c return skl_tplg_mixer_dapm_pre_pmd_event(w, skl); w 1287 sound/soc/intel/skylake/skl-topology.c return skl_tplg_mixer_dapm_post_pmd_event(w, skl); w 1299 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_pga_event(struct snd_soc_dapm_widget *w, w 1303 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_context *dapm = w->dapm; w 1308 sound/soc/intel/skylake/skl-topology.c return skl_tplg_pga_dapm_pre_pmu_event(w, skl); w 1311 sound/soc/intel/skylake/skl-topology.c return skl_tplg_pga_dapm_post_pmd_event(w, skl); w 1323 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kcontrol); w 1324 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; w 1325 sound/soc/intel/skylake/skl-topology.c struct skl_dev *skl = get_skl_ctx(w->dapm->dev); w 1327 sound/soc/intel/skylake/skl-topology.c if (w->power) w 1355 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kcontrol); w 1356 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; w 1360 sound/soc/intel/skylake/skl-topology.c struct skl_dev *skl = get_skl_ctx(w->dapm->dev); w 1376 sound/soc/intel/skylake/skl-topology.c if (w->power) w 1388 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kcontrol); w 1389 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; w 1426 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kcontrol); w 1427 sound/soc/intel/skylake/skl-topology.c struct skl_module_cfg *mconfig = w->priv; w 1474 sound/soc/intel/skylake/skl-topology.c dev_err(w->dapm->dev, w 1487 sound/soc/intel/skylake/skl-topology.c return skl_fill_mic_sel_params(mconfig, &mic_cfg, w->dapm->dev); w 1600 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w; w 1604 sound/soc/intel/skylake/skl-topology.c w = dai->playback_widget; w 1605 sound/soc/intel/skylake/skl-topology.c snd_soc_dapm_widget_for_each_sink_path(w, p) { w 1617 sound/soc/intel/skylake/skl-topology.c w = dai->capture_widget; w 1618 sound/soc/intel/skylake/skl-topology.c snd_soc_dapm_widget_for_each_source_path(w, p) { w 1635 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dai *dai, struct snd_soc_dapm_widget *w) w 1640 sound/soc/intel/skylake/skl-topology.c snd_soc_dapm_widget_for_each_source_path(w, p) { w 1641 sound/soc/intel/skylake/skl-topology.c if (w->endpoints[SND_SOC_DAPM_DIR_OUT] > 0) { w 1657 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dai *dai, struct snd_soc_dapm_widget *w) w 1662 sound/soc/intel/skylake/skl-topology.c snd_soc_dapm_widget_for_each_sink_path(w, p) { w 1663 sound/soc/intel/skylake/skl-topology.c if (w->endpoints[SND_SOC_DAPM_DIR_IN] > 0) { w 1681 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w; w 1685 sound/soc/intel/skylake/skl-topology.c w = dai->playback_widget; w 1686 sound/soc/intel/skylake/skl-topology.c mconfig = skl_get_mconfig_pb_cpr(dai, w); w 1688 sound/soc/intel/skylake/skl-topology.c w = dai->capture_widget; w 1689 sound/soc/intel/skylake/skl-topology.c mconfig = skl_get_mconfig_cap_cpr(dai, w); w 1765 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w, w 1771 sound/soc/intel/skylake/skl-topology.c snd_soc_dapm_widget_for_each_source_path(w, p) { w 1791 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w, struct skl_pipe_params *params) w 1796 sound/soc/intel/skylake/skl-topology.c snd_soc_dapm_widget_for_each_sink_path(w, p) { w 1823 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w; w 1826 sound/soc/intel/skylake/skl-topology.c w = dai->playback_widget; w 1828 sound/soc/intel/skylake/skl-topology.c return skl_tplg_be_set_src_pipe_params(dai, w, params); w 1831 sound/soc/intel/skylake/skl-topology.c w = dai->capture_widget; w 1833 sound/soc/intel/skylake/skl-topology.c return skl_tplg_be_set_sink_pipe_params(dai, w, params); w 2834 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w) w 2840 sound/soc/intel/skylake/skl-topology.c if (!strncmp(w->dapm->component->name, component->name, w 2842 sound/soc/intel/skylake/skl-topology.c mconfig = w->priv; w 2860 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w; w 2870 sound/soc/intel/skylake/skl-topology.c list_for_each_entry(w, &card->widgets, list) { w 2871 sound/soc/intel/skylake/skl-topology.c if (is_skl_dsp_widget_type(w, skl->dev) && w->priv != NULL) w 2872 sound/soc/intel/skylake/skl-topology.c skl_clear_pin_config(soc_component, w); w 2886 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w, w 2909 sound/soc/intel/skylake/skl-topology.c w->priv = mconfig; w 2922 sound/soc/intel/skylake/skl-topology.c skl_debug_init_module(skl->debugfs, w, mconfig); w 2930 sound/soc/intel/skylake/skl-topology.c ret = snd_soc_tplg_widget_bind_event(w, skl_tplg_widget_ops, w 3510 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w; w 3515 sound/soc/intel/skylake/skl-topology.c list_for_each_entry(w, &component->card->widgets, list) { w 3516 sound/soc/intel/skylake/skl-topology.c if (is_skl_dsp_widget_type(w, component->dev) && w->priv) { w 3517 sound/soc/intel/skylake/skl-topology.c mcfg = w->priv; w 3525 sound/soc/intel/skylake/skl-topology.c p_module->w = w; w 3536 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dapm_widget *w; w 3541 sound/soc/intel/skylake/skl-topology.c w = w_module->w; w 3542 sound/soc/intel/skylake/skl-topology.c mconfig = w->priv; w 260 sound/soc/intel/skylake/skl-topology.h struct snd_soc_dapm_widget *w; w 503 sound/soc/intel/skylake/skl-topology.h struct snd_soc_dapm_widget *w); w 194 sound/soc/intel/skylake/skl.h struct snd_soc_dapm_widget *w, w 206 sound/soc/intel/skylake/skl.h struct snd_soc_dapm_widget *w, w 130 sound/soc/mediatek/mt6797/mt6797-dai-adda.c static int mtk_adda_ul_event(struct snd_soc_dapm_widget *w, w 134 sound/soc/mediatek/mt6797/mt6797-dai-adda.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 138 sound/soc/mediatek/mt6797/mt6797-dai-adda.c __func__, w->name, event); w 142 sound/soc/mediatek/mt8183/mt8183-dai-adda.c static int mtk_adda_ul_event(struct snd_soc_dapm_widget *w, w 146 sound/soc/mediatek/mt8183/mt8183-dai-adda.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 151 sound/soc/mediatek/mt8183/mt8183-dai-adda.c __func__, w->name, event); w 271 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c static int mtk_apll_event(struct snd_soc_dapm_widget *w, w 275 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 279 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c __func__, w->name, event); w 283 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c if (strcmp(w->name, APLL1_W_NAME) == 0) w 289 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c if (strcmp(w->name, APLL1_W_NAME) == 0) w 301 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c static int mtk_mclk_en_event(struct snd_soc_dapm_widget *w, w 305 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 310 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c __func__, w->name, event); w 312 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c i2s_priv = get_i2s_priv_by_name(afe, w->name); w 425 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_dapm_widget *w = sink; w 426 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 446 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_dapm_widget *w = sink; w 447 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 475 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_dapm_widget *w = sink; w 476 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 482 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c i2s_priv = get_i2s_priv_by_name(afe, w->name); w 501 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_dapm_widget *w = sink; w 502 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 530 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_dapm_widget *w = sink; w 531 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 536 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c i2s_priv = get_i2s_priv_by_name(afe, w->name); w 246 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c static int mtk_tdm_bck_en_event(struct snd_soc_dapm_widget *w, w 250 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 256 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c __func__, w->name, event); w 272 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c static int mtk_tdm_mck_en_event(struct snd_soc_dapm_widget *w, w 276 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 282 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c __func__, w->name, event); w 333 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct snd_soc_dapm_widget *w = sink; w 334 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); w 178 sound/soc/meson/axg-tdm-formatter.c struct snd_soc_dapm_widget *w) w 180 sound/soc/meson/axg-tdm-formatter.c struct axg_tdm_stream *ts = formatter->drv->ops->get_stream(w); w 225 sound/soc/meson/axg-tdm-formatter.c int axg_tdm_formatter_event(struct snd_soc_dapm_widget *w, w 229 sound/soc/meson/axg-tdm-formatter.c struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); w 235 sound/soc/meson/axg-tdm-formatter.c ret = axg_tdm_formatter_power_up(formatter, w); w 23 sound/soc/meson/axg-tdm-formatter.h struct axg_tdm_stream *(*get_stream)(struct snd_soc_dapm_widget *w); w 41 sound/soc/meson/axg-tdm-formatter.h int axg_tdm_formatter_event(struct snd_soc_dapm_widget *w, w 58 sound/soc/meson/axg-tdmin.c axg_tdmin_get_be(struct snd_soc_dapm_widget *w) w 63 sound/soc/meson/axg-tdmin.c snd_soc_dapm_widget_for_each_source_path(w, p) { w 79 sound/soc/meson/axg-tdmin.c axg_tdmin_get_tdm_stream(struct snd_soc_dapm_widget *w) w 81 sound/soc/meson/axg-tdmin.c struct snd_soc_dai *be = axg_tdmin_get_be(w); w 56 sound/soc/meson/axg-tdmout.c axg_tdmout_get_be(struct snd_soc_dapm_widget *w) w 61 sound/soc/meson/axg-tdmout.c snd_soc_dapm_widget_for_each_sink_path(w, p) { w 77 sound/soc/meson/axg-tdmout.c axg_tdmout_get_tdm_stream(struct snd_soc_dapm_widget *w) w 79 sound/soc/meson/axg-tdmout.c struct snd_soc_dai *be = axg_tdmout_get_be(w); w 36 sound/soc/meson/g12a-tohdmitx.c g12a_tohdmitx_get_input(struct snd_soc_dapm_widget *w) w 41 sound/soc/meson/g12a-tohdmitx.c snd_soc_dapm_widget_for_each_source_path(w, p) { w 46 sound/soc/meson/g12a-tohdmitx.c if (snd_soc_dapm_to_component(w->dapm) != w 62 sound/soc/meson/g12a-tohdmitx.c g12a_tohdmitx_get_input_data(struct snd_soc_dapm_widget *w) w 65 sound/soc/meson/g12a-tohdmitx.c g12a_tohdmitx_get_input(w); w 199 sound/soc/pxa/corgi.c static int corgi_amp_event(struct snd_soc_dapm_widget *w, w 206 sound/soc/pxa/corgi.c static int corgi_mic_event(struct snd_soc_dapm_widget *w, w 33 sound/soc/pxa/e740_wm9705.c static int e740_mic_amp_event(struct snd_soc_dapm_widget *w, w 46 sound/soc/pxa/e740_wm9705.c static int e740_output_amp_event(struct snd_soc_dapm_widget *w, w 21 sound/soc/pxa/e750_wm9705.c static int e750_spk_amp_event(struct snd_soc_dapm_widget *w, w 32 sound/soc/pxa/e750_wm9705.c static int e750_hp_amp_event(struct snd_soc_dapm_widget *w, w 20 sound/soc/pxa/e800_wm9712.c static int e800_spk_amp_event(struct snd_soc_dapm_widget *w, w 31 sound/soc/pxa/e800_wm9712.c static int e800_hp_amp_event(struct snd_soc_dapm_widget *w, w 81 sound/soc/pxa/hx4700.c static int hx4700_spk_power(struct snd_soc_dapm_widget *w, w 88 sound/soc/pxa/hx4700.c static int hx4700_hp_power(struct snd_soc_dapm_widget *w, w 227 sound/soc/pxa/magician.c static int magician_spk_power(struct snd_soc_dapm_widget *w, w 234 sound/soc/pxa/magician.c static int magician_hp_power(struct snd_soc_dapm_widget *w, w 241 sound/soc/pxa/magician.c static int magician_mic_bias(struct snd_soc_dapm_widget *w, w 173 sound/soc/pxa/poodle.c static int poodle_amp_event(struct snd_soc_dapm_widget *w, w 199 sound/soc/pxa/spitz.c static int spitz_mic_bias(struct snd_soc_dapm_widget *w, w 128 sound/soc/pxa/tosa.c static int tosa_hp_event(struct snd_soc_dapm_widget *w, w 33 sound/soc/rockchip/rk3288_hdmi_analog.c static int rk_hp_power(struct snd_soc_dapm_widget *w, w 36 sound/soc/rockchip/rk3288_hdmi_analog.c struct rk_drvdata *machine = snd_soc_card_get_drvdata(w->dapm->card); w 122 sound/soc/samsung/h1940_uda1380.c static int h1940_spk_power(struct snd_soc_dapm_widget *w, w 175 sound/soc/samsung/littlemill.c static int bbclk_ev(struct snd_soc_dapm_widget *w, w 178 sound/soc/samsung/littlemill.c struct snd_soc_card *card = w->dapm->card; w 188 sound/soc/samsung/neo1973_wm8753.c static int lm4853_event(struct snd_soc_dapm_widget *w, w 31 sound/soc/samsung/rx1950_uda1380.c static int rx1950_spk_power(struct snd_soc_dapm_widget *w, w 137 sound/soc/samsung/rx1950_uda1380.c static int rx1950_spk_power(struct snd_soc_dapm_widget *w, w 102 sound/soc/samsung/smartq_wm8987.c static int smartq_speaker_event(struct snd_soc_dapm_widget *w, w 261 sound/soc/samsung/tm2_wm5110.c static int tm2_mic_bias(struct snd_soc_dapm_widget *w, w 264 sound/soc/samsung/tm2_wm5110.c struct snd_soc_card *card = w->dapm->card; w 22 sound/soc/sirf/sirf-audio.c static int sirf_audio_hp_event(struct snd_soc_dapm_widget *w, w 25 sound/soc/sirf/sirf-audio.c struct snd_soc_dapm_context *dapm = w->dapm; w 35 sound/soc/sirf/sirf-audio.c static int sirf_audio_spk_event(struct snd_soc_dapm_widget *w, w 38 sound/soc/sirf/sirf-audio.c struct snd_soc_dapm_context *dapm = w->dapm; w 181 sound/soc/soc-dapm.c static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) w 183 sound/soc/soc-dapm.c return !list_empty(&w->dirty); w 186 sound/soc/soc-dapm.c static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) w 188 sound/soc/soc-dapm.c dapm_assert_locked(w->dapm); w 190 sound/soc/soc-dapm.c if (!dapm_dirty_widget(w)) { w 191 sound/soc/soc-dapm.c dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", w 192 sound/soc/soc-dapm.c w->name, reason); w 193 sound/soc/soc-dapm.c list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty); w 205 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir) w 212 sound/soc/soc-dapm.c dapm_assert_locked(w->dapm); w 214 sound/soc/soc-dapm.c if (w->endpoints[dir] == -1) w 217 sound/soc/soc-dapm.c list_add_tail(&w->work_list, &list); w 218 sound/soc/soc-dapm.c w->endpoints[dir] = -1; w 220 sound/soc/soc-dapm.c list_for_each_entry(w, &list, work_list) { w 221 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_path(w, dir, p) { w 245 sound/soc/soc-dapm.c static void dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget *w) w 247 sound/soc/soc-dapm.c dapm_widget_invalidate_paths(w, SND_SOC_DAPM_DIR_IN); w 262 sound/soc/soc-dapm.c static void dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget *w) w 264 sound/soc/soc-dapm.c dapm_widget_invalidate_paths(w, SND_SOC_DAPM_DIR_OUT); w 301 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 305 sound/soc/soc-dapm.c list_for_each_entry(w, &card->widgets, list) { w 306 sound/soc/soc-dapm.c if (w->is_ep) { w 307 sound/soc/soc-dapm.c dapm_mark_dirty(w, "Rechecking endpoints"); w 308 sound/soc/soc-dapm.c if (w->is_ep & SND_SOC_DAPM_EP_SINK) w 309 sound/soc/soc-dapm.c dapm_widget_invalidate_output_paths(w); w 310 sound/soc/soc-dapm.c if (w->is_ep & SND_SOC_DAPM_EP_SOURCE) w 311 sound/soc/soc-dapm.c dapm_widget_invalidate_input_paths(w); w 323 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 325 sound/soc/soc-dapm.c w = kmemdup(_widget, sizeof(*_widget), GFP_KERNEL); w 326 sound/soc/soc-dapm.c if (!w) w 334 sound/soc/soc-dapm.c w->sname = kstrdup_const(_widget->sname, GFP_KERNEL); w 335 sound/soc/soc-dapm.c if (!w->sname) { w 336 sound/soc/soc-dapm.c kfree(w); w 340 sound/soc/soc-dapm.c return w; w 600 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 606 sound/soc/soc-dapm.c list_for_each_entry(w, &card->widgets, list) { w 607 sound/soc/soc-dapm.c w->new_power = w->power; w 608 sound/soc/soc-dapm.c w->power_checked = false; w 653 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w = wcache->widget; w 658 sound/soc/soc-dapm.c if (w) { w 659 sound/soc/soc-dapm.c wlist = &w->dapm->card->widgets; w 661 sound/soc/soc-dapm.c list_for_each_entry_from(w, wlist, list) { w 662 sound/soc/soc-dapm.c if (!strcmp(name, w->name)) w 663 sound/soc/soc-dapm.c return w; w 674 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w) w 676 sound/soc/soc-dapm.c wcache->widget = w; w 750 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w) w 752 sound/soc/soc-dapm.c const struct snd_kcontrol_new *kcontrol = &w->kcontrol_news[0]; w 851 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 856 sound/soc/soc-dapm.c list_for_each_entry(w, &dapm->card->widgets, list) { w 857 sound/soc/soc-dapm.c if (w == kcontrolw || w->dapm != kcontrolw->dapm) w 859 sound/soc/soc-dapm.c for (i = 0; i < w->num_kcontrols; i++) { w 860 sound/soc/soc-dapm.c if (&w->kcontrol_news[i] == kcontrol_new) { w 861 sound/soc/soc-dapm.c if (w->kcontrols) w 862 sound/soc/soc-dapm.c *kcontrol = w->kcontrols[i]; w 875 sound/soc/soc-dapm.c static int dapm_create_or_share_kcontrol(struct snd_soc_dapm_widget *w, w 878 sound/soc/soc-dapm.c struct snd_soc_dapm_context *dapm = w->dapm; w 895 sound/soc/soc-dapm.c shared = dapm_is_shared_kcontrol(dapm, w, &w->kcontrol_news[kci], w 903 sound/soc/soc-dapm.c switch (w->id) { w 934 sound/soc/soc-dapm.c w->name + prefix_len, w 935 sound/soc/soc-dapm.c w->kcontrol_news[kci].name); w 942 sound/soc/soc-dapm.c name = w->name + prefix_len; w 945 sound/soc/soc-dapm.c name = w->kcontrol_news[kci].name; w 948 sound/soc/soc-dapm.c kcontrol = snd_soc_cnew(&w->kcontrol_news[kci], NULL, name, w 957 sound/soc/soc-dapm.c ret = dapm_kcontrol_data_alloc(w, kcontrol, name); w 967 sound/soc/soc-dapm.c w->name, name, ret); w 972 sound/soc/soc-dapm.c ret = dapm_kcontrol_add_widget(kcontrol, w); w 974 sound/soc/soc-dapm.c w->kcontrols[kci] = kcontrol; w 983 sound/soc/soc-dapm.c static int dapm_new_mixer(struct snd_soc_dapm_widget *w) w 990 sound/soc/soc-dapm.c for (i = 0; i < w->num_kcontrols; i++) { w 992 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_source_path(w, path) { w 994 sound/soc/soc-dapm.c if (path->name != (char *)w->kcontrol_news[i].name) w 997 sound/soc/soc-dapm.c if (!w->kcontrols[i]) { w 998 sound/soc/soc-dapm.c ret = dapm_create_or_share_kcontrol(w, i); w 1003 sound/soc/soc-dapm.c dapm_kcontrol_add_path(w->kcontrols[i], path); w 1005 sound/soc/soc-dapm.c data = snd_kcontrol_chip(w->kcontrols[i]); w 1018 sound/soc/soc-dapm.c static int dapm_new_mux(struct snd_soc_dapm_widget *w) w 1020 sound/soc/soc-dapm.c struct snd_soc_dapm_context *dapm = w->dapm; w 1026 sound/soc/soc-dapm.c switch (w->id) { w 1039 sound/soc/soc-dapm.c if (w->num_kcontrols != 1) { w 1042 sound/soc/soc-dapm.c w->name); w 1046 sound/soc/soc-dapm.c if (list_empty(&w->edges[dir])) { w 1047 sound/soc/soc-dapm.c dev_err(dapm->dev, "ASoC: %s %s has no paths\n", type, w->name); w 1051 sound/soc/soc-dapm.c ret = dapm_create_or_share_kcontrol(w, 0); w 1055 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_path(w, dir, path) { w 1057 sound/soc/soc-dapm.c dapm_kcontrol_add_path(w->kcontrols[0], path); w 1064 sound/soc/soc-dapm.c static int dapm_new_pga(struct snd_soc_dapm_widget *w) w 1068 sound/soc/soc-dapm.c for (i = 0; i < w->num_kcontrols; i++) { w 1069 sound/soc/soc-dapm.c ret = dapm_create_or_share_kcontrol(w, i); w 1078 sound/soc/soc-dapm.c static int dapm_new_dai_link(struct snd_soc_dapm_widget *w) w 1082 sound/soc/soc-dapm.c struct snd_soc_dapm_context *dapm = w->dapm; w 1084 sound/soc/soc-dapm.c struct snd_soc_pcm_runtime *rtd = w->priv; w 1091 sound/soc/soc-dapm.c for (i = 0; i < w->num_kcontrols; i++) { w 1092 sound/soc/soc-dapm.c kcontrol = snd_soc_cnew(&w->kcontrol_news[i], w, w 1093 sound/soc/soc-dapm.c w->name, NULL); w 1098 sound/soc/soc-dapm.c w->name, w->kcontrol_news[i].name, ret); w 1101 sound/soc/soc-dapm.c kcontrol->private_data = w; w 1102 sound/soc/soc-dapm.c w->kcontrols[i] = kcontrol; w 1131 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 1143 sound/soc/soc-dapm.c list_for_each_entry(w, widgets, work_list) w 1144 sound/soc/soc-dapm.c (*list)->widgets[i++] = w; w 1301 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 1309 sound/soc/soc-dapm.c w = dai->playback_widget; w 1310 sound/soc/soc-dapm.c invalidate_paths_ep(w, SND_SOC_DAPM_DIR_OUT); w 1311 sound/soc/soc-dapm.c paths = is_connected_output_ep(w, &widgets, w 1314 sound/soc/soc-dapm.c w = dai->capture_widget; w 1315 sound/soc/soc-dapm.c invalidate_paths_ep(w, SND_SOC_DAPM_DIR_IN); w 1316 sound/soc/soc-dapm.c paths = is_connected_input_ep(w, &widgets, w 1336 sound/soc/soc-dapm.c int dapm_regulator_event(struct snd_soc_dapm_widget *w, w 1341 sound/soc/soc-dapm.c soc_dapm_async_complete(w->dapm); w 1344 sound/soc/soc-dapm.c if (w->on_val & SND_SOC_DAPM_REGULATOR_BYPASS) { w 1345 sound/soc/soc-dapm.c ret = regulator_allow_bypass(w->regulator, false); w 1347 sound/soc/soc-dapm.c dev_warn(w->dapm->dev, w 1349 sound/soc/soc-dapm.c w->name, ret); w 1352 sound/soc/soc-dapm.c return regulator_enable(w->regulator); w 1354 sound/soc/soc-dapm.c if (w->on_val & SND_SOC_DAPM_REGULATOR_BYPASS) { w 1355 sound/soc/soc-dapm.c ret = regulator_allow_bypass(w->regulator, true); w 1357 sound/soc/soc-dapm.c dev_warn(w->dapm->dev, w 1359 sound/soc/soc-dapm.c w->name, ret); w 1362 sound/soc/soc-dapm.c return regulator_disable_deferred(w->regulator, w->shift); w 1370 sound/soc/soc-dapm.c int dapm_pinctrl_event(struct snd_soc_dapm_widget *w, w 1373 sound/soc/soc-dapm.c struct snd_soc_dapm_pinctrl_priv *priv = w->priv; w 1374 sound/soc/soc-dapm.c struct pinctrl *p = w->pinctrl; w 1395 sound/soc/soc-dapm.c int dapm_clock_event(struct snd_soc_dapm_widget *w, w 1398 sound/soc/soc-dapm.c if (!w->clk) w 1401 sound/soc/soc-dapm.c soc_dapm_async_complete(w->dapm); w 1404 sound/soc/soc-dapm.c return clk_prepare_enable(w->clk); w 1406 sound/soc/soc-dapm.c clk_disable_unprepare(w->clk); w 1414 sound/soc/soc-dapm.c static int dapm_widget_power_check(struct snd_soc_dapm_widget *w) w 1416 sound/soc/soc-dapm.c if (w->power_checked) w 1417 sound/soc/soc-dapm.c return w->new_power; w 1419 sound/soc/soc-dapm.c if (w->force) w 1420 sound/soc/soc-dapm.c w->new_power = 1; w 1422 sound/soc/soc-dapm.c w->new_power = w->power_check(w); w 1424 sound/soc/soc-dapm.c w->power_checked = true; w 1426 sound/soc/soc-dapm.c return w->new_power; w 1430 sound/soc/soc-dapm.c static int dapm_generic_check_power(struct snd_soc_dapm_widget *w) w 1434 sound/soc/soc-dapm.c DAPM_UPDATE_STAT(w, power_checks); w 1436 sound/soc/soc-dapm.c in = is_connected_input_ep(w, NULL, NULL); w 1437 sound/soc/soc-dapm.c out = is_connected_output_ep(w, NULL, NULL); w 1442 sound/soc/soc-dapm.c static int dapm_supply_check_power(struct snd_soc_dapm_widget *w) w 1446 sound/soc/soc-dapm.c DAPM_UPDATE_STAT(w, power_checks); w 1449 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_sink_path(w, path) { w 1450 sound/soc/soc-dapm.c DAPM_UPDATE_STAT(w, neighbour_checks); w 1466 sound/soc/soc-dapm.c static int dapm_always_on_check_power(struct snd_soc_dapm_widget *w) w 1468 sound/soc/soc-dapm.c return w->connected; w 1509 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 1511 sound/soc/soc-dapm.c list_for_each_entry(w, list, power_list) w 1512 sound/soc/soc-dapm.c if (dapm_seq_compare(new_widget, w, power_up) < 0) { w 1513 sound/soc/soc-dapm.c list_add_tail(&new_widget->power_list, &w->power_list); w 1521 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w, int event) w 1556 sound/soc/soc-dapm.c if (w->new_power != power) w 1559 sound/soc/soc-dapm.c if (w->event && (w->event_flags & event)) { w 1560 sound/soc/soc-dapm.c pop_dbg(w->dapm->dev, card->pop_time, "pop test : %s %s\n", w 1561 sound/soc/soc-dapm.c w->name, ev_name); w 1562 sound/soc/soc-dapm.c soc_dapm_async_complete(w->dapm); w 1563 sound/soc/soc-dapm.c trace_snd_soc_dapm_widget_event_start(w, event); w 1564 sound/soc/soc-dapm.c ret = w->event(w, NULL, event); w 1565 sound/soc/soc-dapm.c trace_snd_soc_dapm_widget_event_done(w, event); w 1567 sound/soc/soc-dapm.c dev_err(w->dapm->dev, "ASoC: %s: %s event failed: %d\n", w 1568 sound/soc/soc-dapm.c ev_name, w->name, ret); w 1577 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 1582 sound/soc/soc-dapm.c w = list_first_entry(pending, struct snd_soc_dapm_widget, power_list); w 1583 sound/soc/soc-dapm.c reg = w->reg; w 1584 sound/soc/soc-dapm.c dapm = w->dapm; w 1586 sound/soc/soc-dapm.c list_for_each_entry(w, pending, power_list) { w 1587 sound/soc/soc-dapm.c WARN_ON(reg != w->reg || dapm != w->dapm); w 1588 sound/soc/soc-dapm.c w->power = w->new_power; w 1590 sound/soc/soc-dapm.c mask |= w->mask << w->shift; w 1591 sound/soc/soc-dapm.c if (w->power) w 1592 sound/soc/soc-dapm.c value |= w->on_val << w->shift; w 1594 sound/soc/soc-dapm.c value |= w->off_val << w->shift; w 1598 sound/soc/soc-dapm.c w->name, reg, value, mask); w 1601 sound/soc/soc-dapm.c dapm_seq_check_event(card, w, SND_SOC_DAPM_PRE_PMU); w 1602 sound/soc/soc-dapm.c dapm_seq_check_event(card, w, SND_SOC_DAPM_PRE_PMD); w 1617 sound/soc/soc-dapm.c list_for_each_entry(w, pending, power_list) { w 1618 sound/soc/soc-dapm.c dapm_seq_check_event(card, w, SND_SOC_DAPM_POST_PMU); w 1619 sound/soc/soc-dapm.c dapm_seq_check_event(card, w, SND_SOC_DAPM_POST_PMD); w 1634 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w, *n; w 1649 sound/soc/soc-dapm.c list_for_each_entry_safe(w, n, list, power_list) { w 1653 sound/soc/soc-dapm.c if (sort[w->id] != cur_sort || w->reg != cur_reg || w 1654 sound/soc/soc-dapm.c w->dapm != cur_dapm || w->subseq != cur_subseq) { w 1666 sound/soc/soc-dapm.c if (cur_dapm && w->dapm != cur_dapm) w 1676 sound/soc/soc-dapm.c switch (w->id) { w 1678 sound/soc/soc-dapm.c if (!w->event) w 1679 sound/soc/soc-dapm.c list_for_each_entry_safe_continue(w, n, list, w 1683 sound/soc/soc-dapm.c ret = w->event(w, w 1686 sound/soc/soc-dapm.c ret = w->event(w, w 1691 sound/soc/soc-dapm.c if (!w->event) w 1692 sound/soc/soc-dapm.c list_for_each_entry_safe_continue(w, n, list, w 1696 sound/soc/soc-dapm.c ret = w->event(w, w 1699 sound/soc/soc-dapm.c ret = w->event(w, w 1705 sound/soc/soc-dapm.c cur_sort = sort[w->id]; w 1706 sound/soc/soc-dapm.c cur_subseq = w->subseq; w 1707 sound/soc/soc-dapm.c cur_reg = w->reg; w 1708 sound/soc/soc-dapm.c cur_dapm = w->dapm; w 1709 sound/soc/soc-dapm.c list_move(&w->power_list, &pending); w 1714 sound/soc/soc-dapm.c dev_err(w->dapm->dev, w 1738 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w = NULL; w 1748 sound/soc/soc-dapm.c w = wlist->widgets[wi]; w 1750 sound/soc/soc-dapm.c if (w->event && (w->event_flags & SND_SOC_DAPM_PRE_REG)) { w 1751 sound/soc/soc-dapm.c ret = w->event(w, update->kcontrol, SND_SOC_DAPM_PRE_REG); w 1753 sound/soc/soc-dapm.c dev_err(w->dapm->dev, "ASoC: %s DAPM pre-event failed: %d\n", w 1754 sound/soc/soc-dapm.c w->name, ret); w 1758 sound/soc/soc-dapm.c if (!w) w 1761 sound/soc/soc-dapm.c ret = soc_dapm_update_bits(w->dapm, update->reg, update->mask, w 1764 sound/soc/soc-dapm.c dev_err(w->dapm->dev, "ASoC: %s DAPM update failed: %d\n", w 1765 sound/soc/soc-dapm.c w->name, ret); w 1768 sound/soc/soc-dapm.c ret = soc_dapm_update_bits(w->dapm, update->reg2, w 1771 sound/soc/soc-dapm.c dev_err(w->dapm->dev, w 1773 sound/soc/soc-dapm.c w->name, ret); w 1777 sound/soc/soc-dapm.c w = wlist->widgets[wi]; w 1779 sound/soc/soc-dapm.c if (w->event && (w->event_flags & SND_SOC_DAPM_POST_REG)) { w 1780 sound/soc/soc-dapm.c ret = w->event(w, update->kcontrol, SND_SOC_DAPM_POST_REG); w 1782 sound/soc/soc-dapm.c dev_err(w->dapm->dev, "ASoC: %s DAPM post-event failed: %d\n", w 1783 sound/soc/soc-dapm.c w->name, ret); w 1875 sound/soc/soc-dapm.c static void dapm_widget_set_power(struct snd_soc_dapm_widget *w, bool power, w 1881 sound/soc/soc-dapm.c if (w->power == power) w 1884 sound/soc/soc-dapm.c trace_snd_soc_dapm_widget_power(w, power); w 1889 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_source_path(w, path) w 1893 sound/soc/soc-dapm.c if (!w->is_supply) { w 1894 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_sink_path(w, path) w 1900 sound/soc/soc-dapm.c dapm_seq_insert(w, up_list, true); w 1902 sound/soc/soc-dapm.c dapm_seq_insert(w, down_list, false); w 1905 sound/soc/soc-dapm.c static void dapm_power_one_widget(struct snd_soc_dapm_widget *w, w 1911 sound/soc/soc-dapm.c switch (w->id) { w 1913 sound/soc/soc-dapm.c dapm_seq_insert(w, down_list, false); w 1916 sound/soc/soc-dapm.c dapm_seq_insert(w, up_list, true); w 1920 sound/soc/soc-dapm.c power = dapm_widget_power_check(w); w 1922 sound/soc/soc-dapm.c dapm_widget_set_power(w, power, up_list, down_list); w 1954 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 1981 sound/soc/soc-dapm.c list_for_each_entry(w, &card->dapm_dirty, dirty) { w 1982 sound/soc/soc-dapm.c dapm_power_one_widget(w, &up_list, &down_list); w 1985 sound/soc/soc-dapm.c list_for_each_entry(w, &card->widgets, list) { w 1986 sound/soc/soc-dapm.c switch (w->id) { w 1992 sound/soc/soc-dapm.c list_del_init(&w->dirty); w 1996 sound/soc/soc-dapm.c if (w->new_power) { w 1997 sound/soc/soc-dapm.c d = w->dapm; w 2006 sound/soc/soc-dapm.c switch (w->id) { w 2049 sound/soc/soc-dapm.c list_for_each_entry(w, &down_list, power_list) { w 2050 sound/soc/soc-dapm.c dapm_seq_check_event(card, w, SND_SOC_DAPM_WILL_PMD); w 2053 sound/soc/soc-dapm.c list_for_each_entry(w, &up_list, power_list) { w 2054 sound/soc/soc-dapm.c dapm_seq_check_event(card, w, SND_SOC_DAPM_WILL_PMU); w 2099 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w = file->private_data; w 2100 sound/soc/soc-dapm.c struct snd_soc_card *card = w->dapm->card; w 2114 sound/soc/soc-dapm.c if (w->is_supply) { w 2118 sound/soc/soc-dapm.c in = is_connected_input_ep(w, NULL, NULL); w 2119 sound/soc/soc-dapm.c out = is_connected_output_ep(w, NULL, NULL); w 2123 sound/soc/soc-dapm.c w->name, w->power ? "On" : "Off", w 2124 sound/soc/soc-dapm.c w->force ? " (forced)" : "", in, out); w 2126 sound/soc/soc-dapm.c if (w->reg >= 0) w 2129 sound/soc/soc-dapm.c w->reg, w->reg, w->mask << w->shift); w 2133 sound/soc/soc-dapm.c if (w->sname) w 2135 sound/soc/soc-dapm.c w->sname, w 2136 sound/soc/soc-dapm.c w->active ? "active" : "inactive"); w 2140 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_path(w, dir, p) { w 2216 sound/soc/soc-dapm.c static void dapm_debugfs_add_widget(struct snd_soc_dapm_widget *w) w 2218 sound/soc/soc-dapm.c struct snd_soc_dapm_context *dapm = w->dapm; w 2220 sound/soc/soc-dapm.c if (!dapm->debugfs_dapm || !w->name) w 2223 sound/soc/soc-dapm.c debugfs_create_file(w->name, 0444, dapm->debugfs_dapm, w, w 2239 sound/soc/soc-dapm.c static inline void dapm_debugfs_add_widget(struct snd_soc_dapm_widget *w) w 2383 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 2394 sound/soc/soc-dapm.c list_for_each_entry(w, &cmpnt->card->widgets, list) { w 2395 sound/soc/soc-dapm.c if (w->dapm != dapm) w 2399 sound/soc/soc-dapm.c switch (w->id) { w 2416 sound/soc/soc-dapm.c if (w->name) w 2418 sound/soc/soc-dapm.c w->name, w->power ? "On":"Off"); w 2481 sound/soc/soc-dapm.c void snd_soc_dapm_free_widget(struct snd_soc_dapm_widget *w) w 2486 sound/soc/soc-dapm.c list_del(&w->list); w 2493 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_path_safe(w, dir, p, next_p) w 2497 sound/soc/soc-dapm.c kfree(w->kcontrols); w 2498 sound/soc/soc-dapm.c kfree_const(w->name); w 2499 sound/soc/soc-dapm.c kfree_const(w->sname); w 2500 sound/soc/soc-dapm.c kfree(w); w 2512 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w, *next_w; w 2514 sound/soc/soc-dapm.c list_for_each_entry_safe(w, next_w, &dapm->card->widgets, list) { w 2515 sound/soc/soc-dapm.c if (w->dapm != dapm) w 2517 sound/soc/soc-dapm.c snd_soc_dapm_free_widget(w); w 2526 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 2529 sound/soc/soc-dapm.c list_for_each_entry(w, &dapm->card->widgets, list) { w 2530 sound/soc/soc-dapm.c if (!strcmp(w->name, pin)) { w 2531 sound/soc/soc-dapm.c if (w->dapm == dapm) w 2532 sound/soc/soc-dapm.c return w; w 2534 sound/soc/soc-dapm.c fallback = w; w 2547 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); w 2551 sound/soc/soc-dapm.c if (!w) { w 2556 sound/soc/soc-dapm.c if (w->connected != status) { w 2557 sound/soc/soc-dapm.c dapm_mark_dirty(w, "pin configuration"); w 2558 sound/soc/soc-dapm.c dapm_widget_invalidate_input_paths(w); w 2559 sound/soc/soc-dapm.c dapm_widget_invalidate_output_paths(w); w 2562 sound/soc/soc-dapm.c w->connected = status; w 2564 sound/soc/soc-dapm.c w->force = 0; w 2614 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w, w 2617 sound/soc/soc-dapm.c switch (w->id) { w 2625 sound/soc/soc-dapm.c dev_dbg(w->dapm->dev, "%s DAI route %s -> %s\n", w 2626 sound/soc/soc-dapm.c w->channel < channels ? "Connecting" : "Disconnecting", w 2629 sound/soc/soc-dapm.c if (w->channel < channels) w 2644 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 2648 sound/soc/soc-dapm.c w = dai->playback_widget; w 2650 sound/soc/soc-dapm.c w = dai->capture_widget; w 2652 sound/soc/soc-dapm.c if (!w) w 2658 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_sink_path(w, p) { w 2664 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_source_path(w, p) { w 2697 sound/soc/soc-dapm.c static void dapm_update_widget_flags(struct snd_soc_dapm_widget *w) w 2703 sound/soc/soc-dapm.c switch (w->id) { w 2706 sound/soc/soc-dapm.c if (w->dapm->card->fully_routed) w 2709 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_source_path(w, p) { w 2721 sound/soc/soc-dapm.c if (w->dapm->card->fully_routed) w 2724 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_sink_path(w, p) { w 2737 sound/soc/soc-dapm.c if (!list_empty(&w->edges[dir])) w 2745 sound/soc/soc-dapm.c w->is_ep = ep; w 2897 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *wsource = NULL, *wsink = NULL, *w; w 2931 sound/soc/soc-dapm.c list_for_each_entry(w, &dapm->card->widgets, list) { w 2932 sound/soc/soc-dapm.c if (!wsink && !(strcmp(w->name, sink))) { w 2933 sound/soc/soc-dapm.c wtsink = w; w 2934 sound/soc/soc-dapm.c if (w->dapm == dapm) { w 2935 sound/soc/soc-dapm.c wsink = w; w 2943 sound/soc/soc-dapm.c w->name); w 2946 sound/soc/soc-dapm.c if (!wsource && !(strcmp(w->name, source))) { w 2947 sound/soc/soc-dapm.c wtsource = w; w 2948 sound/soc/soc-dapm.c if (w->dapm == dapm) { w 2949 sound/soc/soc-dapm.c wsource = w; w 2957 sound/soc/soc-dapm.c w->name); w 3205 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 3210 sound/soc/soc-dapm.c list_for_each_entry(w, &card->widgets, list) w 3212 sound/soc/soc-dapm.c if (w->new) w 3215 sound/soc/soc-dapm.c if (w->num_kcontrols) { w 3216 sound/soc/soc-dapm.c w->kcontrols = kcalloc(w->num_kcontrols, w 3219 sound/soc/soc-dapm.c if (!w->kcontrols) { w 3225 sound/soc/soc-dapm.c switch(w->id) { w 3229 sound/soc/soc-dapm.c dapm_new_mixer(w); w 3233 sound/soc/soc-dapm.c dapm_new_mux(w); w 3238 sound/soc/soc-dapm.c dapm_new_pga(w); w 3241 sound/soc/soc-dapm.c dapm_new_dai_link(w); w 3248 sound/soc/soc-dapm.c if (w->reg >= 0) { w 3249 sound/soc/soc-dapm.c soc_dapm_read(w->dapm, w->reg, &val); w 3250 sound/soc/soc-dapm.c val = val >> w->shift; w 3251 sound/soc/soc-dapm.c val &= w->mask; w 3252 sound/soc/soc-dapm.c if (val == w->on_val) w 3253 sound/soc/soc-dapm.c w->power = 1; w 3256 sound/soc/soc-dapm.c w->new = 1; w 3258 sound/soc/soc-dapm.c dapm_mark_dirty(w, "new widget"); w 3259 sound/soc/soc-dapm.c dapm_debugfs_add_widget(w); w 3598 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 3602 sound/soc/soc-dapm.c if ((w = dapm_cnew_widget(widget)) == NULL) w 3605 sound/soc/soc-dapm.c switch (w->id) { w 3607 sound/soc/soc-dapm.c w->regulator = devm_regulator_get(dapm->dev, w->name); w 3608 sound/soc/soc-dapm.c if (IS_ERR(w->regulator)) { w 3609 sound/soc/soc-dapm.c ret = PTR_ERR(w->regulator); w 3613 sound/soc/soc-dapm.c if (w->on_val & SND_SOC_DAPM_REGULATOR_BYPASS) { w 3614 sound/soc/soc-dapm.c ret = regulator_allow_bypass(w->regulator, true); w 3618 sound/soc/soc-dapm.c w->name, ret); w 3622 sound/soc/soc-dapm.c w->pinctrl = devm_pinctrl_get(dapm->dev); w 3623 sound/soc/soc-dapm.c if (IS_ERR(w->pinctrl)) { w 3624 sound/soc/soc-dapm.c ret = PTR_ERR(w->pinctrl); w 3629 sound/soc/soc-dapm.c w->clk = devm_clk_get(dapm->dev, w->name); w 3630 sound/soc/soc-dapm.c if (IS_ERR(w->clk)) { w 3631 sound/soc/soc-dapm.c ret = PTR_ERR(w->clk); w 3641 sound/soc/soc-dapm.c w->name = kasprintf(GFP_KERNEL, "%s %s", prefix, widget->name); w 3643 sound/soc/soc-dapm.c w->name = kstrdup_const(widget->name, GFP_KERNEL); w 3644 sound/soc/soc-dapm.c if (w->name == NULL) { w 3645 sound/soc/soc-dapm.c kfree_const(w->sname); w 3646 sound/soc/soc-dapm.c kfree(w); w 3650 sound/soc/soc-dapm.c switch (w->id) { w 3652 sound/soc/soc-dapm.c w->is_ep = SND_SOC_DAPM_EP_SOURCE; w 3653 sound/soc/soc-dapm.c w->power_check = dapm_generic_check_power; w 3657 sound/soc/soc-dapm.c w->is_ep = SND_SOC_DAPM_EP_SOURCE; w 3658 sound/soc/soc-dapm.c w->power_check = dapm_generic_check_power; w 3662 sound/soc/soc-dapm.c w->is_ep = SND_SOC_DAPM_EP_SINK; w 3663 sound/soc/soc-dapm.c w->power_check = dapm_generic_check_power; w 3667 sound/soc/soc-dapm.c w->is_ep = SND_SOC_DAPM_EP_SINK; w 3668 sound/soc/soc-dapm.c w->power_check = dapm_generic_check_power; w 3672 sound/soc/soc-dapm.c w->is_ep = SND_SOC_DAPM_EP_SOURCE; w 3673 sound/soc/soc-dapm.c w->power_check = dapm_always_on_check_power; w 3676 sound/soc/soc-dapm.c w->is_ep = SND_SOC_DAPM_EP_SINK; w 3677 sound/soc/soc-dapm.c w->power_check = dapm_always_on_check_power; w 3703 sound/soc/soc-dapm.c w->power_check = dapm_generic_check_power; w 3710 sound/soc/soc-dapm.c w->is_supply = 1; w 3711 sound/soc/soc-dapm.c w->power_check = dapm_supply_check_power; w 3714 sound/soc/soc-dapm.c w->power_check = dapm_always_on_check_power; w 3718 sound/soc/soc-dapm.c w->dapm = dapm; w 3719 sound/soc/soc-dapm.c INIT_LIST_HEAD(&w->list); w 3720 sound/soc/soc-dapm.c INIT_LIST_HEAD(&w->dirty); w 3721 sound/soc/soc-dapm.c list_add_tail(&w->list, &dapm->card->widgets); w 3724 sound/soc/soc-dapm.c INIT_LIST_HEAD(&w->edges[dir]); w 3725 sound/soc/soc-dapm.c w->endpoints[dir] = -1; w 3729 sound/soc/soc-dapm.c w->connected = 1; w 3730 sound/soc/soc-dapm.c return w; w 3735 sound/soc/soc-dapm.c w->name, ret); w 3737 sound/soc/soc-dapm.c kfree_const(w->sname); w 3738 sound/soc/soc-dapm.c kfree(w); w 3755 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 3758 sound/soc/soc-dapm.c w = snd_soc_dapm_new_control_unlocked(dapm, widget); w 3761 sound/soc/soc-dapm.c return w; w 3779 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 3785 sound/soc/soc-dapm.c w = snd_soc_dapm_new_control_unlocked(dapm, widget); w 3786 sound/soc/soc-dapm.c if (IS_ERR(w)) { w 3787 sound/soc/soc-dapm.c ret = PTR_ERR(w); w 3798 sound/soc/soc-dapm.c snd_soc_dai_link_event_pre_pmu(struct snd_soc_dapm_widget *w, w 3823 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_source_path(w, path) { w 3836 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_sink_path(w, path) { w 3857 sound/soc/soc-dapm.c dev_err(w->dapm->dev, "ASoC: link config missing\n"); w 3866 sound/soc/soc-dapm.c dev_warn(w->dapm->dev, "ASoC: Invalid format %llx specified\n", w 3884 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_source_path(w, path) { w 3895 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_sink_path(w, path) { w 3915 sound/soc/soc-dapm.c static int snd_soc_dai_link_event(struct snd_soc_dapm_widget *w, w 3920 sound/soc/soc-dapm.c struct snd_pcm_substream *substream = w->priv; w 3923 sound/soc/soc-dapm.c if (WARN_ON(list_empty(&w->edges[SND_SOC_DAPM_DIR_OUT]) || w 3924 sound/soc/soc-dapm.c list_empty(&w->edges[SND_SOC_DAPM_DIR_IN]))) w 3929 sound/soc/soc-dapm.c ret = snd_soc_dai_link_event_pre_pmu(w, substream); w 3936 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_sink_path(w, path) { w 3949 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_sink_path(w, path) { w 3961 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_source_path(w, path) { w 3967 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_sink_path(w, path) { w 3973 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_source_path(w, path) { w 3980 sound/soc/soc-dapm.c snd_soc_dapm_widget_for_each_sink_path(w, path) { w 4005 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); w 4006 sound/soc/soc-dapm.c struct snd_soc_pcm_runtime *rtd = w->priv; w 4016 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); w 4017 sound/soc/soc-dapm.c struct snd_soc_pcm_runtime *rtd = w->priv; w 4020 sound/soc/soc-dapm.c if (w->power) w 4127 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 4173 sound/soc/soc-dapm.c w = snd_soc_dapm_new_control_unlocked(&card->dapm, &template); w 4174 sound/soc/soc-dapm.c if (IS_ERR(w)) { w 4175 sound/soc/soc-dapm.c ret = PTR_ERR(w); w 4179 sound/soc/soc-dapm.c w->priv = substream; w 4181 sound/soc/soc-dapm.c return w; w 4196 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 4211 sound/soc/soc-dapm.c w = snd_soc_dapm_new_control_unlocked(dapm, &template); w 4212 sound/soc/soc-dapm.c if (IS_ERR(w)) w 4213 sound/soc/soc-dapm.c return PTR_ERR(w); w 4215 sound/soc/soc-dapm.c w->priv = dai; w 4216 sound/soc/soc-dapm.c dai->playback_widget = w; w 4227 sound/soc/soc-dapm.c w = snd_soc_dapm_new_control_unlocked(dapm, &template); w 4228 sound/soc/soc-dapm.c if (IS_ERR(w)) w 4229 sound/soc/soc-dapm.c return PTR_ERR(w); w 4231 sound/soc/soc-dapm.c w->priv = dai; w 4232 sound/soc/soc-dapm.c dai->capture_widget = w; w 4240 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *dai_w, *w; w 4264 sound/soc/soc-dapm.c list_for_each_entry(w, &card->widgets, list) { w 4265 sound/soc/soc-dapm.c if (w->dapm != dai_w->dapm) w 4268 sound/soc/soc-dapm.c switch (w->id) { w 4276 sound/soc/soc-dapm.c if (!w->sname || !strstr(w->sname, dai_w->sname)) w 4281 sound/soc/soc-dapm.c sink = w; w 4283 sound/soc/soc-dapm.c src = w; w 4287 sound/soc/soc-dapm.c snd_soc_dapm_add_path(w->dapm, src, sink, NULL, NULL); w 4379 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 4383 sound/soc/soc-dapm.c w = dai->playback_widget; w 4385 sound/soc/soc-dapm.c w = dai->capture_widget; w 4387 sound/soc/soc-dapm.c if (w) { w 4388 sound/soc/soc-dapm.c dapm_mark_dirty(w, "stream event"); w 4390 sound/soc/soc-dapm.c if (w->id == snd_soc_dapm_dai_in) { w 4392 sound/soc/soc-dapm.c dapm_widget_invalidate_input_paths(w); w 4395 sound/soc/soc-dapm.c dapm_widget_invalidate_output_paths(w); w 4400 sound/soc/soc-dapm.c w->active = 1; w 4401 sound/soc/soc-dapm.c w->is_ep = ep; w 4404 sound/soc/soc-dapm.c w->active = 0; w 4405 sound/soc/soc-dapm.c w->is_ep = 0; w 4529 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); w 4531 sound/soc/soc-dapm.c if (!w) { w 4536 sound/soc/soc-dapm.c dev_dbg(w->dapm->dev, "ASoC: force enable pin %s\n", pin); w 4537 sound/soc/soc-dapm.c if (!w->connected) { w 4542 sound/soc/soc-dapm.c dapm_widget_invalidate_input_paths(w); w 4543 sound/soc/soc-dapm.c dapm_widget_invalidate_output_paths(w); w 4544 sound/soc/soc-dapm.c w->connected = 1; w 4546 sound/soc/soc-dapm.c w->force = 1; w 4547 sound/soc/soc-dapm.c dapm_mark_dirty(w, "force enable"); w 4687 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); w 4689 sound/soc/soc-dapm.c if (w) w 4690 sound/soc/soc-dapm.c return w->connected; w 4710 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, false); w 4712 sound/soc/soc-dapm.c if (!w) { w 4717 sound/soc/soc-dapm.c w->ignore_suspend = 1; w 4761 sound/soc/soc-dapm.c struct snd_soc_dapm_widget *w; w 4767 sound/soc/soc-dapm.c list_for_each_entry(w, &dapm->card->widgets, list) { w 4768 sound/soc/soc-dapm.c if (w->dapm != dapm) w 4770 sound/soc/soc-dapm.c if (w->power) { w 4771 sound/soc/soc-dapm.c dapm_seq_insert(w, &down_list, false); w 4772 sound/soc/soc-dapm.c w->new_power = 0; w 284 sound/soc/soc-topology.c struct snd_soc_dapm_widget *w, struct snd_soc_tplg_dapm_widget *tplg_w) w 287 sound/soc/soc-topology.c return tplg->ops->widget_load(tplg->comp, tplg->index, w, w 296 sound/soc/soc-topology.c struct snd_soc_dapm_widget *w, struct snd_soc_tplg_dapm_widget *tplg_w) w 299 sound/soc/soc-topology.c return tplg->ops->widget_ready(tplg->comp, tplg->index, w, w 453 sound/soc/soc-topology.c struct snd_soc_dapm_widget *w = w 463 sound/soc/soc-topology.c if (!w->kcontrols) w 472 sound/soc/soc-topology.c for (i = 0; w->kcontrols != NULL && i < w->num_kcontrols; i++) { w 473 sound/soc/soc-topology.c struct snd_kcontrol *kcontrol = w->kcontrols[i]; w 484 sound/soc/soc-topology.c kfree(w->kcontrol_news[i].name); w 488 sound/soc/soc-topology.c for (i = 0; w->kcontrols != NULL && i < w->num_kcontrols; i++) { w 489 sound/soc/soc-topology.c struct snd_kcontrol *kcontrol = w->kcontrols[i]; w 501 sound/soc/soc-topology.c kfree(w->kcontrol_news[i].name); w 506 sound/soc/soc-topology.c kfree(w->kcontrol_news); w 660 sound/soc/soc-topology.c int snd_soc_tplg_widget_bind_event(struct snd_soc_dapm_widget *w, w 666 sound/soc/soc-topology.c w->event = NULL; w 672 sound/soc/soc-topology.c w->event = events[i].event_handler; w 1584 sound/soc/soc-topology.c struct snd_soc_tplg_dapm_widget *w) w 1593 sound/soc/soc-topology.c if (strnlen(w->name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == w 1596 sound/soc/soc-topology.c if (strnlen(w->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == w 1601 sound/soc/soc-topology.c w->name, w->id); w 1606 sound/soc/soc-topology.c template.id = get_widget_id(le32_to_cpu(w->id)); w 1611 sound/soc/soc-topology.c template.name = kstrdup(w->name, GFP_KERNEL); w 1614 sound/soc/soc-topology.c template.sname = kstrdup(w->sname, GFP_KERNEL); w 1619 sound/soc/soc-topology.c template.reg = le32_to_cpu(w->reg); w 1620 sound/soc/soc-topology.c template.shift = le32_to_cpu(w->shift); w 1621 sound/soc/soc-topology.c template.mask = le32_to_cpu(w->mask); w 1622 sound/soc/soc-topology.c template.subseq = le32_to_cpu(w->subseq); w 1623 sound/soc/soc-topology.c template.on_val = w->invert ? 0 : 1; w 1624 sound/soc/soc-topology.c template.off_val = w->invert ? 1 : 0; w 1625 sound/soc/soc-topology.c template.ignore_suspend = le32_to_cpu(w->ignore_suspend); w 1626 sound/soc/soc-topology.c template.event_flags = le16_to_cpu(w->event_flags); w 1631 sound/soc/soc-topology.c le32_to_cpu(w->priv.size)); w 1633 sound/soc/soc-topology.c if (w->num_kcontrols == 0) { w 1641 sound/soc/soc-topology.c w->name, w->num_kcontrols, control_hdr->type); w 1651 sound/soc/soc-topology.c template.num_kcontrols = le32_to_cpu(w->num_kcontrols); w 1666 sound/soc/soc-topology.c template.num_kcontrols = le32_to_cpu(w->num_kcontrols); w 1677 sound/soc/soc-topology.c template.num_kcontrols = le32_to_cpu(w->num_kcontrols); w 1695 sound/soc/soc-topology.c ret = soc_tplg_widget_load(tplg, &template, w); w 1716 sound/soc/soc-topology.c ret = soc_tplg_widget_ready(tplg, widget, w); w 2731 sound/soc/soc-topology.c void snd_soc_tplg_widget_remove(struct snd_soc_dapm_widget *w) w 2734 sound/soc/soc-topology.c if (w->dobj.type != SND_SOC_DOBJ_WIDGET) w 2737 sound/soc/soc-topology.c remove_widget(w->dapm->component, &w->dobj, SOC_TPLG_PASS_WIDGET); w 2745 sound/soc/soc-topology.c struct snd_soc_dapm_widget *w, *next_w; w 2747 sound/soc/soc-topology.c list_for_each_entry_safe(w, next_w, &dapm->card->widgets, list) { w 2750 sound/soc/soc-topology.c if (w->dobj.type != SND_SOC_DOBJ_WIDGET || w->dapm != dapm) w 2754 sound/soc/soc-topology.c if (w->dobj.index != index && w 2755 sound/soc/soc-topology.c w->dobj.index != SND_SOC_TPLG_INDEX_ALL) w 2758 sound/soc/soc-topology.c snd_soc_tplg_widget_remove(w); w 2759 sound/soc/soc-topology.c snd_soc_dapm_free_widget(w); w 20 sound/soc/sof/loader.c struct sof_ipc_window *w = w 23 sound/soc/sof/loader.c if (w->num_windows == 0 || w->num_windows > SOF_IPC_MAX_ELEMS) w 27 sound/soc/sof/loader.c sdev->info_window = kmemdup(w, struct_size(w, window, w->num_windows), w 134 sound/soc/sof/topology.c static int sof_keyword_dapm_event(struct snd_soc_dapm_widget *w, w 137 sound/soc/sof/topology.c struct snd_sof_widget *swidget = w->dobj.private; w 147 sound/soc/sof/topology.c event, w->name); w 1130 sound/soc/sof/topology.c struct snd_soc_dapm_widget *w, w 1140 sound/soc/sof/topology.c w->name, w->sname, rtd->dai_link->stream_name); w 1142 sound/soc/sof/topology.c if (!w->sname || !rtd->dai_link->stream_name) w 1146 sound/soc/sof/topology.c if (strcmp(w->sname, rtd->dai_link->stream_name)) w 1149 sound/soc/sof/topology.c switch (w->id) { w 1151 sound/soc/sof/topology.c rtd->cpu_dai->capture_widget = w; w 1154 sound/soc/sof/topology.c w->name, rtd->dai_link->name); w 1157 sound/soc/sof/topology.c rtd->cpu_dai->playback_widget = w; w 1160 sound/soc/sof/topology.c w->name, rtd->dai_link->name); w 1170 sound/soc/sof/topology.c w->name, w->sname); w 2034 sound/soc/sof/topology.c struct snd_soc_dapm_widget *w, w 2049 sound/soc/sof/topology.c swidget->widget = w; w 2052 sound/soc/sof/topology.c swidget->id = w->id; w 2063 sound/soc/sof/topology.c switch (w->id) { w 2075 sound/soc/sof/topology.c sof_connect_dai_widget(scomp, w, tw, dai); w 2156 sound/soc/sof/topology.c w->dobj.private = swidget; w 1325 sound/soc/sunxi/sun4i-codec.c static int sun4i_codec_spk_event(struct snd_soc_dapm_widget *w, w 1328 sound/soc/sunxi/sun4i-codec.c struct sun4i_codec *scodec = snd_soc_card_get_drvdata(w->dapm->card); w 344 sound/soc/sunxi/sun8i-codec-analog.c static int sun8i_headphone_amp_event(struct snd_soc_dapm_widget *w, w 347 sound/soc/sunxi/sun8i-codec-analog.c struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); w 69 sound/soc/tegra/tegra_rt5677.c static int tegra_rt5677_event_hp(struct snd_soc_dapm_widget *w, w 72 sound/soc/tegra/tegra_rt5677.c struct snd_soc_dapm_context *dapm = w->dapm; w 114 sound/soc/tegra/tegra_wm8903.c static int tegra_wm8903_event_int_spk(struct snd_soc_dapm_widget *w, w 117 sound/soc/tegra/tegra_wm8903.c struct snd_soc_dapm_context *dapm = w->dapm; w 130 sound/soc/tegra/tegra_wm8903.c static int tegra_wm8903_event_hp(struct snd_soc_dapm_widget *w, w 133 sound/soc/tegra/tegra_wm8903.c struct snd_soc_dapm_context *dapm = w->dapm; w 29 sound/soc/ti/ams-delta.c static int ams_delta_event_handset(struct snd_soc_dapm_widget *w, w 36 sound/soc/ti/ams-delta.c static int ams_delta_event_handsfree(struct snd_soc_dapm_widget *w, w 48 sound/soc/ti/davinci-vcif.c u32 w; w 51 sound/soc/ti/davinci-vcif.c w = readl(davinci_vc->base + DAVINCI_VC_CTRL); w 54 sound/soc/ti/davinci-vcif.c MOD_REG_BIT(w, DAVINCI_VC_CTRL_RSTDAC, 0); w 56 sound/soc/ti/davinci-vcif.c MOD_REG_BIT(w, DAVINCI_VC_CTRL_RSTADC, 0); w 58 sound/soc/ti/davinci-vcif.c writel(w, davinci_vc->base + DAVINCI_VC_CTRL); w 67 sound/soc/ti/davinci-vcif.c u32 w; w 70 sound/soc/ti/davinci-vcif.c w = readl(davinci_vc->base + DAVINCI_VC_CTRL); w 72 sound/soc/ti/davinci-vcif.c MOD_REG_BIT(w, DAVINCI_VC_CTRL_RSTDAC, 1); w 74 sound/soc/ti/davinci-vcif.c MOD_REG_BIT(w, DAVINCI_VC_CTRL_RSTADC, 1); w 76 sound/soc/ti/davinci-vcif.c writel(w, davinci_vc->base + DAVINCI_VC_CTRL); w 85 sound/soc/ti/davinci-vcif.c u32 w; w 98 sound/soc/ti/davinci-vcif.c w = readl(davinci_vc->base + DAVINCI_VC_CTRL); w 103 sound/soc/ti/davinci-vcif.c MOD_REG_BIT(w, DAVINCI_VC_CTRL_RD_BITS_8 | w 109 sound/soc/ti/davinci-vcif.c MOD_REG_BIT(w, DAVINCI_VC_CTRL_RD_BITS_8 | w 112 sound/soc/ti/davinci-vcif.c MOD_REG_BIT(w, DAVINCI_VC_CTRL_RD_UNSIGNED | w 116 sound/soc/ti/davinci-vcif.c MOD_REG_BIT(w, DAVINCI_VC_CTRL_RD_BITS_8 | w 126 sound/soc/ti/davinci-vcif.c writel(w, davinci_vc->base + DAVINCI_VC_CTRL); w 186 sound/soc/ti/n810.c static int n810_spk_event(struct snd_soc_dapm_widget *w, w 197 sound/soc/ti/n810.c static int n810_jack_event(struct snd_soc_dapm_widget *w, w 81 sound/soc/ti/omap-mcbsp-st.c unsigned int w; w 87 sound/soc/ti/omap-mcbsp-st.c w = MCBSP_ST_READ(mcbsp, SYSCONFIG); w 88 sound/soc/ti/omap-mcbsp-st.c MCBSP_ST_WRITE(mcbsp, SYSCONFIG, w & ~(ST_AUTOIDLE)); w 91 sound/soc/ti/omap-mcbsp-st.c w = MCBSP_READ(mcbsp, SSELCR); w 92 sound/soc/ti/omap-mcbsp-st.c MCBSP_WRITE(mcbsp, SSELCR, w | SIDETONEEN); w 95 sound/soc/ti/omap-mcbsp-st.c w = MCBSP_ST_READ(mcbsp, SSELCR); w 96 sound/soc/ti/omap-mcbsp-st.c MCBSP_ST_WRITE(mcbsp, SSELCR, w | ST_SIDETONEEN); w 101 sound/soc/ti/omap-mcbsp-st.c unsigned int w; w 103 sound/soc/ti/omap-mcbsp-st.c w = MCBSP_ST_READ(mcbsp, SSELCR); w 104 sound/soc/ti/omap-mcbsp-st.c MCBSP_ST_WRITE(mcbsp, SSELCR, w & ~(ST_SIDETONEEN)); w 106 sound/soc/ti/omap-mcbsp-st.c w = MCBSP_READ(mcbsp, SSELCR); w 107 sound/soc/ti/omap-mcbsp-st.c MCBSP_WRITE(mcbsp, SSELCR, w & ~(SIDETONEEN)); w 110 sound/soc/ti/omap-mcbsp-st.c w = MCBSP_ST_READ(mcbsp, SYSCONFIG); w 111 sound/soc/ti/omap-mcbsp-st.c MCBSP_ST_WRITE(mcbsp, SYSCONFIG, w | ST_AUTOIDLE); w 145 sound/soc/ti/omap-mcbsp-st.c u16 w; w 148 sound/soc/ti/omap-mcbsp-st.c w = MCBSP_ST_READ(mcbsp, SSELCR); w 422 sound/soc/ti/omap-mcbsp.c u16 w; w 428 sound/soc/ti/omap-mcbsp.c w = MCBSP_READ_CACHE(mcbsp, PCR0); w 429 sound/soc/ti/omap-mcbsp.c if (w & (FSXM | FSRM | CLKXM | CLKRM)) w 435 sound/soc/ti/omap-mcbsp.c w = MCBSP_READ_CACHE(mcbsp, SPCR2); w 436 sound/soc/ti/omap-mcbsp.c MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 6)); w 441 sound/soc/ti/omap-mcbsp.c w = MCBSP_READ_CACHE(mcbsp, SPCR2); w 442 sound/soc/ti/omap-mcbsp.c MCBSP_WRITE(mcbsp, SPCR2, w | tx); w 445 sound/soc/ti/omap-mcbsp.c w = MCBSP_READ_CACHE(mcbsp, SPCR1); w 446 sound/soc/ti/omap-mcbsp.c MCBSP_WRITE(mcbsp, SPCR1, w | rx); w 458 sound/soc/ti/omap-mcbsp.c w = MCBSP_READ_CACHE(mcbsp, SPCR2); w 459 sound/soc/ti/omap-mcbsp.c MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 7)); w 464 sound/soc/ti/omap-mcbsp.c w = MCBSP_READ_CACHE(mcbsp, XCCR); w 465 sound/soc/ti/omap-mcbsp.c w &= ~(tx ? XDISABLE : 0); w 466 sound/soc/ti/omap-mcbsp.c MCBSP_WRITE(mcbsp, XCCR, w); w 467 sound/soc/ti/omap-mcbsp.c w = MCBSP_READ_CACHE(mcbsp, RCCR); w 468 sound/soc/ti/omap-mcbsp.c w &= ~(rx ? RDISABLE : 0); w 469 sound/soc/ti/omap-mcbsp.c MCBSP_WRITE(mcbsp, RCCR, w); w 481 sound/soc/ti/omap-mcbsp.c u16 w; w 486 sound/soc/ti/omap-mcbsp.c w = MCBSP_READ_CACHE(mcbsp, XCCR); w 487 sound/soc/ti/omap-mcbsp.c w |= (tx ? XDISABLE : 0); w 488 sound/soc/ti/omap-mcbsp.c MCBSP_WRITE(mcbsp, XCCR, w); w 490 sound/soc/ti/omap-mcbsp.c w = MCBSP_READ_CACHE(mcbsp, SPCR2); w 491 sound/soc/ti/omap-mcbsp.c MCBSP_WRITE(mcbsp, SPCR2, w & ~tx); w 496 sound/soc/ti/omap-mcbsp.c w = MCBSP_READ_CACHE(mcbsp, RCCR); w 497 sound/soc/ti/omap-mcbsp.c w |= (rx ? RDISABLE : 0); w 498 sound/soc/ti/omap-mcbsp.c MCBSP_WRITE(mcbsp, RCCR, w); w 500 sound/soc/ti/omap-mcbsp.c w = MCBSP_READ_CACHE(mcbsp, SPCR1); w 501 sound/soc/ti/omap-mcbsp.c MCBSP_WRITE(mcbsp, SPCR1, w & ~rx); w 508 sound/soc/ti/omap-mcbsp.c w = MCBSP_READ_CACHE(mcbsp, SPCR2); w 509 sound/soc/ti/omap-mcbsp.c MCBSP_WRITE(mcbsp, SPCR2, w & ~(1 << 6)); w 65 sound/soc/ti/omap3pandora.c static int omap3pandora_dac_event(struct snd_soc_dapm_widget *w, w 77 sound/soc/ti/omap3pandora.c dev_err(w->dapm->dev, "Failed to power DAC: %d\n", ret); w 91 sound/soc/ti/omap3pandora.c static int omap3pandora_hp_event(struct snd_soc_dapm_widget *w, w 140 sound/soc/ti/rx51.c static int rx51_spk_event(struct snd_soc_dapm_widget *w, w 143 sound/soc/ti/rx51.c struct snd_soc_dapm_context *dapm = w->dapm; w 87 tools/bpf/bpftool/btf.c json_writer_t *w = json_wtr; w 94 tools/bpf/bpftool/btf.c jsonw_start_object(w); w 95 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "id", id); w 96 tools/bpf/bpftool/btf.c jsonw_string_field(w, "kind", btf_kind_str[safe_kind]); w 97 tools/bpf/bpftool/btf.c jsonw_string_field(w, "name", btf_str(btf, t->name_off)); w 111 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "size", t->size); w 112 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "bits_offset", BTF_INT_OFFSET(v)); w 113 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "nr_bits", BTF_INT_BITS(v)); w 114 tools/bpf/bpftool/btf.c jsonw_string_field(w, "encoding", enc); w 128 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "type_id", t->type); w 136 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "type_id", arr->type); w 137 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "index_type_id", arr->index_type); w 138 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "nr_elems", arr->nelems); w 152 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "size", t->size); w 153 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "vlen", vlen); w 154 tools/bpf/bpftool/btf.c jsonw_name(w, "members"); w 155 tools/bpf/bpftool/btf.c jsonw_start_array(w); w 172 tools/bpf/bpftool/btf.c jsonw_start_object(w); w 173 tools/bpf/bpftool/btf.c jsonw_string_field(w, "name", name); w 174 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "type_id", m->type); w 175 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "bits_offset", bit_off); w 177 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "bitfield_size", w 180 tools/bpf/bpftool/btf.c jsonw_end_object(w); w 189 tools/bpf/bpftool/btf.c jsonw_end_array(w); w 198 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "size", t->size); w 199 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "vlen", vlen); w 200 tools/bpf/bpftool/btf.c jsonw_name(w, "values"); w 201 tools/bpf/bpftool/btf.c jsonw_start_array(w); w 209 tools/bpf/bpftool/btf.c jsonw_start_object(w); w 210 tools/bpf/bpftool/btf.c jsonw_string_field(w, "name", name); w 211 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "val", v->val); w 212 tools/bpf/bpftool/btf.c jsonw_end_object(w); w 218 tools/bpf/bpftool/btf.c jsonw_end_array(w); w 226 tools/bpf/bpftool/btf.c jsonw_string_field(w, "fwd_kind", fwd_kind); w 233 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "type_id", t->type); w 243 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "ret_type_id", t->type); w 244 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "vlen", vlen); w 245 tools/bpf/bpftool/btf.c jsonw_name(w, "params"); w 246 tools/bpf/bpftool/btf.c jsonw_start_array(w); w 254 tools/bpf/bpftool/btf.c jsonw_start_object(w); w 255 tools/bpf/bpftool/btf.c jsonw_string_field(w, "name", name); w 256 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "type_id", p->type); w 257 tools/bpf/bpftool/btf.c jsonw_end_object(w); w 263 tools/bpf/bpftool/btf.c jsonw_end_array(w); w 273 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "type_id", t->type); w 274 tools/bpf/bpftool/btf.c jsonw_string_field(w, "linkage", linkage); w 286 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "size", t->size); w 287 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "vlen", vlen); w 288 tools/bpf/bpftool/btf.c jsonw_name(w, "vars"); w 289 tools/bpf/bpftool/btf.c jsonw_start_array(w); w 295 tools/bpf/bpftool/btf.c jsonw_start_object(w); w 296 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "type_id", v->type); w 297 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "offset", v->offset); w 298 tools/bpf/bpftool/btf.c jsonw_uint_field(w, "size", v->size); w 299 tools/bpf/bpftool/btf.c jsonw_end_object(w); w 306 tools/bpf/bpftool/btf.c jsonw_end_array(w); w 755 tools/hv/hv_kvp_daemon.c static unsigned int hweight32(unsigned int *w) w 757 tools/hv/hv_kvp_daemon.c unsigned int res = *w - ((*w >> 1) & 0x55555555); w 816 tools/hv/hv_kvp_daemon.c unsigned int *w; w 901 tools/hv/hv_kvp_daemon.c w = addr6->sin6_addr.s6_addr32; w 904 tools/hv/hv_kvp_daemon.c weight += hweight32(&w[i]); w 32 tools/iio/iio_utils.c char *w, *r; w 53 tools/iio/iio_utils.c w = working; w 58 tools/iio/iio_utils.c *w = *r; w 59 tools/iio/iio_utils.c w++; w 64 tools/iio/iio_utils.c *w = '\0'; w 7 tools/include/asm-generic/bitops/arch_hweight.h static inline unsigned int __arch_hweight32(unsigned int w) w 9 tools/include/asm-generic/bitops/arch_hweight.h return __sw_hweight32(w); w 12 tools/include/asm-generic/bitops/arch_hweight.h static inline unsigned int __arch_hweight16(unsigned int w) w 14 tools/include/asm-generic/bitops/arch_hweight.h return __sw_hweight16(w); w 17 tools/include/asm-generic/bitops/arch_hweight.h static inline unsigned int __arch_hweight8(unsigned int w) w 19 tools/include/asm-generic/bitops/arch_hweight.h return __sw_hweight8(w); w 22 tools/include/asm-generic/bitops/arch_hweight.h static inline unsigned long __arch_hweight64(__u64 w) w 24 tools/include/asm-generic/bitops/arch_hweight.h return __sw_hweight64(w); w 8 tools/include/asm-generic/bitops/const_hweight.h #define __const_hweight8(w) \ w 10 tools/include/asm-generic/bitops/const_hweight.h ((!!((w) & (1ULL << 0))) + \ w 11 tools/include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 1))) + \ w 12 tools/include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 2))) + \ w 13 tools/include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 3))) + \ w 14 tools/include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 4))) + \ w 15 tools/include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 5))) + \ w 16 tools/include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 6))) + \ w 17 tools/include/asm-generic/bitops/const_hweight.h (!!((w) & (1ULL << 7))))) w 19 tools/include/asm-generic/bitops/const_hweight.h #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) w 20 tools/include/asm-generic/bitops/const_hweight.h #define __const_hweight32(w) (__const_hweight16(w) + __const_hweight16((w) >> 16)) w 21 tools/include/asm-generic/bitops/const_hweight.h #define __const_hweight64(w) (__const_hweight32(w) + __const_hweight32((w) >> 32)) w 26 tools/include/asm-generic/bitops/const_hweight.h #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) w 27 tools/include/asm-generic/bitops/const_hweight.h #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) w 28 tools/include/asm-generic/bitops/const_hweight.h #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) w 29 tools/include/asm-generic/bitops/const_hweight.h #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) w 34 tools/include/asm-generic/bitops/const_hweight.h #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w)) w 35 tools/include/asm-generic/bitops/const_hweight.h #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w)) w 36 tools/include/asm-generic/bitops/const_hweight.h #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w)) w 37 tools/include/asm-generic/bitops/const_hweight.h #define HWEIGHT64(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight64(w)) w 42 tools/include/asm-generic/bitops/const_hweight.h #define HWEIGHT(w) HWEIGHT64((u64)w) w 22 tools/include/linux/bitops.h extern unsigned int __sw_hweight8(unsigned int w); w 23 tools/include/linux/bitops.h extern unsigned int __sw_hweight16(unsigned int w); w 24 tools/include/linux/bitops.h extern unsigned int __sw_hweight32(unsigned int w); w 25 tools/include/linux/bitops.h extern unsigned long __sw_hweight64(__u64 w); w 51 tools/include/linux/bitops.h static inline unsigned long hweight_long(unsigned long w) w 53 tools/include/linux/bitops.h return sizeof(w) == 4 ? hweight32(w) : hweight64(w); w 1654 tools/include/nolibc/nolibc.h fd_set *r, *w, *e; w 1656 tools/include/nolibc/nolibc.h } arg = { .n = nfds, .r = rfds, .w = wfds, .e = efds, .t = timeout }; w 203 tools/include/uapi/drm/i915_drm.h unsigned int w; w 10 tools/lib/bitmap.c int k, w = 0, lim = bits/BITS_PER_LONG; w 13 tools/lib/bitmap.c w += hweight_long(bitmap[k]); w 16 tools/lib/bitmap.c w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); w 18 tools/lib/bitmap.c return w; w 12 tools/lib/hweight.c unsigned int __sw_hweight32(unsigned int w) w 15 tools/lib/hweight.c w -= (w >> 1) & 0x55555555; w 16 tools/lib/hweight.c w = (w & 0x33333333) + ((w >> 2) & 0x33333333); w 17 tools/lib/hweight.c w = (w + (w >> 4)) & 0x0f0f0f0f; w 18 tools/lib/hweight.c return (w * 0x01010101) >> 24; w 20 tools/lib/hweight.c unsigned int res = w - ((w >> 1) & 0x55555555); w 28 tools/lib/hweight.c unsigned int __sw_hweight16(unsigned int w) w 30 tools/lib/hweight.c unsigned int res = w - ((w >> 1) & 0x5555); w 36 tools/lib/hweight.c unsigned int __sw_hweight8(unsigned int w) w 38 tools/lib/hweight.c unsigned int res = w - ((w >> 1) & 0x55); w 43 tools/lib/hweight.c unsigned long __sw_hweight64(__u64 w) w 46 tools/lib/hweight.c return __sw_hweight32((unsigned int)(w >> 32)) + w 47 tools/lib/hweight.c __sw_hweight32((unsigned int)w); w 50 tools/lib/hweight.c w -= (w >> 1) & 0x5555555555555555ul; w 51 tools/lib/hweight.c w = (w & 0x3333333333333333ul) + ((w >> 2) & 0x3333333333333333ul); w 52 tools/lib/hweight.c w = (w + (w >> 4)) & 0x0f0f0f0f0f0f0f0ful; w 53 tools/lib/hweight.c return (w * 0x0101010101010101ul) >> 56; w 55 tools/lib/hweight.c __u64 res = w - ((w >> 1) & 0x5555555555555555ul); w 133 tools/perf/bench/epoll-ctl.c static inline void do_epoll_op(struct worker *w, int op, int fd) w 158 tools/perf/bench/epoll-ctl.c w->ops[op]++; w 161 tools/perf/bench/epoll-ctl.c static inline void do_random_epoll_op(struct worker *w) w 166 tools/perf/bench/epoll-ctl.c fd = w->fdmap[rnd1 % nfds]; w 169 tools/perf/bench/epoll-ctl.c do_epoll_op(w, op, fd); w 175 tools/perf/bench/epoll-ctl.c struct worker *w = (struct worker *) arg; w 190 tools/perf/bench/epoll-ctl.c do_random_epoll_op(w); w 193 tools/perf/bench/epoll-ctl.c do_epoll_op(w, OP_EPOLL_ADD, w->fdmap[i]); w 194 tools/perf/bench/epoll-ctl.c do_epoll_op(w, OP_EPOLL_MOD, w->fdmap[i]); w 195 tools/perf/bench/epoll-ctl.c do_epoll_op(w, OP_EPOLL_DEL, w->fdmap[i]); w 205 tools/perf/bench/epoll-ctl.c static void init_fdmaps(struct worker *w, int pct) w 216 tools/perf/bench/epoll-ctl.c ev.data.fd = w->fdmap[i]; w 219 tools/perf/bench/epoll-ctl.c if (epoll_ctl(epollfd, EPOLL_CTL_ADD, w->fdmap[i], &ev) < 0) w 235 tools/perf/bench/epoll-ctl.c struct worker *w = &worker[i]; w 237 tools/perf/bench/epoll-ctl.c w->tid = i; w 238 tools/perf/bench/epoll-ctl.c w->fdmap = calloc(nfds, sizeof(int)); w 239 tools/perf/bench/epoll-ctl.c if (!w->fdmap) w 243 tools/perf/bench/epoll-ctl.c w->fdmap[j] = eventfd(0, EFD_NONBLOCK); w 244 tools/perf/bench/epoll-ctl.c if (w->fdmap[j] < 0) w 254 tools/perf/bench/epoll-ctl.c init_fdmaps(w, 50); w 267 tools/perf/bench/epoll-ctl.c ret = pthread_create(&w->thread, attrp, workerfn, w 268 tools/perf/bench/epoll-ctl.c (void *)(struct worker *) w); w 187 tools/perf/bench/epoll-wait.c struct worker *w = (struct worker *) arg; w 188 tools/perf/bench/epoll-wait.c unsigned long ops = w->ops; w 192 tools/perf/bench/epoll-wait.c int efd = multiq ? w->epollfd : epollfd; w 235 tools/perf/bench/epoll-wait.c close(w->epollfd); w 237 tools/perf/bench/epoll-wait.c w->ops = ops; w 241 tools/perf/bench/epoll-wait.c static void nest_epollfd(struct worker *w) w 245 tools/perf/bench/epoll-wait.c int efd = multiq ? w->epollfd : epollfd; w 312 tools/perf/bench/epoll-wait.c struct worker *w = &worker[i]; w 315 tools/perf/bench/epoll-wait.c w->epollfd = epoll_create(1); w 316 tools/perf/bench/epoll-wait.c if (w->epollfd < 0) w 320 tools/perf/bench/epoll-wait.c nest_epollfd(w); w 323 tools/perf/bench/epoll-wait.c w->tid = i; w 324 tools/perf/bench/epoll-wait.c w->fdmap = calloc(nfds, sizeof(int)); w 325 tools/perf/bench/epoll-wait.c if (!w->fdmap) w 329 tools/perf/bench/epoll-wait.c int efd = multiq ? w->epollfd : epollfd; w 332 tools/perf/bench/epoll-wait.c w->fdmap[j] = eventfd(0, EFD_NONBLOCK); w 333 tools/perf/bench/epoll-wait.c if (w->fdmap[j] < 0) w 336 tools/perf/bench/epoll-wait.c ev.data.fd = w->fdmap[j]; w 340 tools/perf/bench/epoll-wait.c w->fdmap[j], &ev); w 356 tools/perf/bench/epoll-wait.c ret = pthread_create(&w->thread, attrp, workerfn, w 357 tools/perf/bench/epoll-wait.c (void *)(struct worker *) w); w 386 tools/perf/bench/epoll-wait.c struct worker *w = &worker[i]; w 389 tools/perf/bench/epoll-wait.c shuffle((void *)w->fdmap, nfds, sizeof(int)); w 394 tools/perf/bench/epoll-wait.c sz = write(w->fdmap[j], &val, sizeof(val)); w 70 tools/perf/bench/futex-hash.c struct worker *w = (struct worker *) arg; w 72 tools/perf/bench/futex-hash.c unsigned long ops = w->ops; /* avoid cacheline bouncing */ w 89 tools/perf/bench/futex-hash.c ret = futex_wait(&w->futex[i], 1234, NULL, futex_flag); w 96 tools/perf/bench/futex-hash.c w->ops = ops; w 82 tools/perf/bench/futex-lock-pi.c struct worker *w = (struct worker *) arg; w 83 tools/perf/bench/futex-lock-pi.c unsigned long ops = w->ops; w 95 tools/perf/bench/futex-lock-pi.c ret = futex_lock_pi(w->futex, NULL, futex_flag); w 100 tools/perf/bench/futex-lock-pi.c w->tid, w->futex, ret); w 108 tools/perf/bench/futex-lock-pi.c ret = futex_unlock_pi(w->futex, futex_flag); w 111 tools/perf/bench/futex-lock-pi.c w->tid, w->futex, ret); w 115 tools/perf/bench/futex-lock-pi.c w->ops = ops; w 119 tools/perf/bench/futex-lock-pi.c static void create_threads(struct worker *w, pthread_attr_t thread_attr, w 143 tools/perf/bench/futex-lock-pi.c if (pthread_create(&w[i].thread, &thread_attr, workerfn, &worker[i])) w 87 tools/perf/bench/futex-requeue.c static void block_threads(pthread_t *w, w 103 tools/perf/bench/futex-requeue.c if (pthread_create(&w[i], &thread_attr, workerfn, NULL)) w 141 tools/perf/bench/futex-wake-parallel.c static void block_threads(pthread_t *w, pthread_attr_t thread_attr, w 157 tools/perf/bench/futex-wake-parallel.c if (pthread_create(&w[i], &thread_attr, blocked_workerfn, NULL)) w 93 tools/perf/bench/futex-wake.c static void block_threads(pthread_t *w, w 109 tools/perf/bench/futex-wake.c if (pthread_create(&w[i], &thread_attr, workerfn, NULL)) w 45 tools/perf/util/levenshtein.c int w, int s, int a, int d) w 65 tools/perf/util/levenshtein.c row2[j + 1] > row0[j - 1] + w) w 66 tools/perf/util/levenshtein.c row2[j + 1] = row0[j - 1] + w; w 951 tools/perf/util/pmu.c int w; w 953 tools/perf/util/pmu.c w = bitmap_weight(format, PERF_PMU_FORMAT_BITS); w 954 tools/perf/util/pmu.c if (!w) w 956 tools/perf/util/pmu.c if (w < 64) w 957 tools/perf/util/pmu.c return (1ULL << w) - 1; w 155 tools/perf/util/svghelper.c double w = time2pixels(end) - time2pixels(start); w 165 tools/perf/util/svghelper.c w, w 174 tools/perf/util/svghelper.c double w = time2pixels(end) - time2pixels(start); w 184 tools/perf/util/svghelper.c w, w 193 tools/perf/util/svghelper.c double w = time2pixels(end) - time2pixels(start); w 203 tools/perf/util/svghelper.c w, w 663 tools/testing/selftests/bpf/test_maps.c fd_set w; w 973 tools/testing/selftests/bpf/test_maps.c FD_ZERO(&w); w 974 tools/testing/selftests/bpf/test_maps.c FD_SET(sfd[3], &w); w 977 tools/testing/selftests/bpf/test_maps.c s = select(sfd[3] + 1, &w, NULL, NULL, &to); w 986 tools/testing/selftests/bpf/test_maps.c if (!FD_ISSET(sfd[3], &w)) { w 486 tools/testing/selftests/bpf/test_sockmap.c fd_set w; w 517 tools/testing/selftests/bpf/test_sockmap.c FD_ZERO(&w); w 518 tools/testing/selftests/bpf/test_sockmap.c FD_SET(fd, &w); w 520 tools/testing/selftests/bpf/test_sockmap.c slct = select(max_fd + 1, &w, NULL, NULL, &timeout); w 728 tools/testing/selftests/bpf/test_sockmap.c fd_set w; w 731 tools/testing/selftests/bpf/test_sockmap.c FD_ZERO(&w); w 732 tools/testing/selftests/bpf/test_sockmap.c FD_SET(c1, &w); w 733 tools/testing/selftests/bpf/test_sockmap.c FD_SET(c2, &w); w 734 tools/testing/selftests/bpf/test_sockmap.c FD_SET(p1, &w); w 735 tools/testing/selftests/bpf/test_sockmap.c FD_SET(p2, &w); w 737 tools/testing/selftests/bpf/test_sockmap.c s = select(max_fd + 1, &w, NULL, NULL, &timeout); w 747 tools/testing/selftests/bpf/test_sockmap.c if (!FD_ISSET(i, &w)) w 76 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/workqueues.h #define INIT_WORK(w, f) \ w 78 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/workqueues.h (w)->data = 0; \ w 79 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/workqueues.h (w)->func = (f); \ w 82 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/workqueues.h #define INIT_DELAYED_WORK(w, f) INIT_WORK(&(w)->work, (f)) w 207 tools/testing/selftests/safesetid/safesetid-test.c pid_t cpid, w; w 224 tools/testing/selftests/safesetid/safesetid-test.c w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED); w 225 tools/testing/selftests/safesetid/safesetid-test.c if (w == -1) { w 280 tools/thermal/tmon/tui.c WINDOW *w = dialogue_window; w 282 tools/thermal/tmon/tui.c if (tui_disabled || !w) w 285 tools/thermal/tmon/tui.c getmaxyx(w, rows, cols); w 290 tools/thermal/tmon/tui.c werase(w); w 291 tools/thermal/tmon/tui.c box(w, 0, 0); w 292 tools/thermal/tmon/tui.c mvwprintw(w, 0, maxx/4, DIAG_TITLE); w 300 tools/thermal/tmon/tui.c mvwprintw(w, y+1, x+1, "%C-%.12s", 'A'+j, "Set Temp"); w 302 tools/thermal/tmon/tui.c mvwprintw(w, y+1, x+1, "%C-%.10s-%2d", 'A'+j, w 305 tools/thermal/tmon/tui.c wattron(w, A_BOLD); w 306 tools/thermal/tmon/tui.c mvwprintw(w, diag_dev_rows()+1, 1, "Enter Choice [A-Z]?"); w 307 tools/thermal/tmon/tui.c wattroff(w, A_BOLD); w 309 tools/thermal/tmon/tui.c mvwprintw(w, rows - 2, 1, w 317 tools/thermal/tmon/tui.c WINDOW *w = dialogue_window; w 319 tools/thermal/tmon/tui.c mvwprintw(w, y, x, "%s", buf); w 411 tools/thermal/tmon/tui.c WINDOW *w = dialogue_window; w 414 tools/thermal/tmon/tui.c keypad(w, TRUE); w 415 tools/thermal/tmon/tui.c wgetnstr(w, buf, 31); w 908 tools/vm/page-types.c char r, w, x, s; w 915 tools/vm/page-types.c &r, &w, &x, &s, w 768 virt/kvm/arm/vgic/vgic.c int w; w 772 virt/kvm/arm/vgic/vgic.c w = vgic_irq_get_lr_count(irq); w 775 virt/kvm/arm/vgic/vgic.c count += w; w 776 virt/kvm/arm/vgic/vgic.c *multi_sgi |= (w > 1);