width 1250 arch/alpha/kernel/setup.c external_cache_probe(int minsize, int width) width 1253 arch/alpha/kernel/setup.c int stride = 1 << width; width 1270 arch/alpha/kernel/setup.c return CSHAPE(size >> 1, width, 1); width 1327 arch/alpha/kernel/setup.c unsigned long sc_ctl, width; width 1333 arch/alpha/kernel/setup.c width = sc_ctl & 0x1000 ? 6 : 5; width 1334 arch/alpha/kernel/setup.c L2 = CSHAPE (96*1024, width, 3); width 1346 arch/alpha/kernel/setup.c L3 = external_cache_probe(1024*1024, width); width 54 arch/arc/kernel/unwind.c unsigned width:BITS_PER_LONG / 2; width 62 arch/arc/kernel/unwind.c #define REG_INVALID(r) (reg_info[r].width == 0) width 1073 arch/arc/kernel/unwind.c || reg_info[retAddrReg].width != width 1149 arch/arc/kernel/unwind.c || reg_info[state.cfa.reg].width != sizeof(unsigned long) width 1209 arch/arc/kernel/unwind.c || reg_info[i].width > width 1210 arch/arc/kernel/unwind.c reg_info[state.regs[i].value].width) width 1212 arch/arc/kernel/unwind.c switch (reg_info[state.regs[i].value].width) { width 1246 arch/arc/kernel/unwind.c if (reg_info[i].width != sizeof(UNW_SP(frame)) width 1253 arch/arc/kernel/unwind.c switch (reg_info[i].width) { width 1273 arch/arc/kernel/unwind.c if (reg_info[i].width != sizeof(unsigned long)) width 1288 arch/arc/kernel/unwind.c switch (reg_info[i].width) { width 27 arch/arm/include/asm/mach/flash.h unsigned int width; width 159 arch/arm/kernel/traps.c const int width = thumb ? 4 : 8; width 178 arch/arm/kernel/traps.c width, val); width 65 arch/arm/mach-cns3xxx/cns3420vb.c .width = 2, width 177 arch/arm/mach-davinci/board-da850-evm.c .width = 2, width 88 arch/arm/mach-davinci/board-dm644x-evm.c .width = 2, width 275 arch/arm/mach-ep93xx/core.c void __init ep93xx_register_flash(unsigned int width, width 278 arch/arm/mach-ep93xx/core.c ep93xx_flash_data.width = width; width 45 arch/arm/mach-ep93xx/micro9.c unsigned int width; width 48 arch/arm/mach-ep93xx/micro9.c width = 4; width 50 arch/arm/mach-ep93xx/micro9.c width = micro9_detect_bootwidth(); width 52 arch/arm/mach-ep93xx/micro9.c width = 0; width 54 arch/arm/mach-ep93xx/micro9.c if (width) width 55 arch/arm/mach-ep93xx/micro9.c ep93xx_register_flash(width, EP93XX_CS1_PHYS_BASE, SZ_64M); width 22 arch/arm/mach-ep93xx/platform.h void ep93xx_register_flash(unsigned int width, width 278 arch/arm/mach-imx/mach-armadillo5x0.c .width = 1, width 307 arch/arm/mach-imx/mach-armadillo5x0.c .width = 2, width 343 arch/arm/mach-imx/mach-imx27_visstrim_m10.c .width = 2, width 130 arch/arm/mach-imx/mach-mx21ads.c .width = 4, width 284 arch/arm/mach-imx/mach-mx21ads.c .width = 1, width 163 arch/arm/mach-imx/mach-mx27ads.c .width = 1, width 169 arch/arm/mach-imx/mach-mx27ads.c .width = 2, width 399 arch/arm/mach-imx/mach-mx31_3ds.c .width = 1, width 105 arch/arm/mach-imx/mach-mx31lilly.c .width = 2, width 83 arch/arm/mach-imx/mach-mx31lite.c .width = 1, width 193 arch/arm/mach-imx/mach-mx31lite.c .width = 2, width 104 arch/arm/mach-imx/mach-mx31moboard.c .width = 2, width 128 arch/arm/mach-imx/mach-mx35_3ds.c .width = 2, width 148 arch/arm/mach-imx/mach-mx35_3ds.c .width = 1, width 150 arch/arm/mach-imx/mach-pca100.c .width = 1, width 171 arch/arm/mach-imx/mach-pcm037.c .width = 2, width 245 arch/arm/mach-imx/mach-pcm037.c .width = 1, width 78 arch/arm/mach-imx/mach-pcm043.c .width = 2, width 288 arch/arm/mach-imx/mach-pcm043.c .width = 1, width 96 arch/arm/mach-imx/mach-qong.c .width = 2, width 86 arch/arm/mach-imx/mach-vpr200.c .width = 2, width 107 arch/arm/mach-imx/mach-vpr200.c .width = 1, width 88 arch/arm/mach-integrator/impd1.c .width = -1, width 116 arch/arm/mach-integrator/impd1.c .width = -1, width 144 arch/arm/mach-integrator/impd1.c .width = -1, width 176 arch/arm/mach-integrator/impd1.c .width = -1, width 124 arch/arm/mach-iop32x/em7210.c .width = 2, width 116 arch/arm/mach-iop32x/glantank.c .width = 2, width 196 arch/arm/mach-iop32x/iq31244.c .width = 2, width 122 arch/arm/mach-iop32x/iq80321.c .width = 1, width 148 arch/arm/mach-iop32x/n2100.c .width = 2, width 38 arch/arm/mach-ixp4xx/avila-setup.c .width = 2, width 41 arch/arm/mach-ixp4xx/coyote-setup.c .width = 2, width 59 arch/arm/mach-ixp4xx/dsmg600-setup.c .width = 2, width 43 arch/arm/mach-ixp4xx/fsg-setup.c .width = 2, width 35 arch/arm/mach-ixp4xx/gateway7001-setup.c .width = 2, width 212 arch/arm/mach-ixp4xx/goramo_mlr.c .width = 2, width 120 arch/arm/mach-ixp4xx/gtwx5715-setup.c .width = 2, width 48 arch/arm/mach-ixp4xx/ixdp425-setup.c .width = 2, width 56 arch/arm/mach-ixp4xx/nas100d-setup.c .width = 2, width 59 arch/arm/mach-ixp4xx/nslu2-setup.c .width = 2, width 29 arch/arm/mach-ixp4xx/vulcan-setup.c .width = 2, width 36 arch/arm/mach-ixp4xx/wg302v2-setup.c .width = 2, width 161 arch/arm/mach-omap1/board-fsample.c .width = 2, width 122 arch/arm/mach-omap1/board-h2.c .width = 2, width 129 arch/arm/mach-omap1/board-h3.c .width = 2, width 97 arch/arm/mach-omap1/board-innovator.c .width = 2, width 100 arch/arm/mach-omap1/board-osk.c .width = 2, width 127 arch/arm/mach-omap1/board-palmte.c .width = 2, width 106 arch/arm/mach-omap1/board-palmtt.c .width = 2, width 124 arch/arm/mach-omap1/board-palmz71.c .width = 2, width 119 arch/arm/mach-omap1/board-perseus2.c .width = 2, width 260 arch/arm/mach-omap1/board-sx1.c .width = 2, width 249 arch/arm/mach-omap2/omap_hwmod.h u8 width; width 76 arch/arm/mach-orion5x/db88f5281-setup.c .width = 1, /* 8 bit bus width */ width 100 arch/arm/mach-orion5x/db88f5281-setup.c .width = 4, /* 32 bit bus width */ width 154 arch/arm/mach-orion5x/db88f5281-setup.c .width = 8, width 147 arch/arm/mach-orion5x/dns323-setup.c .width = 1, width 80 arch/arm/mach-orion5x/kurobox_pro-setup.c .width = 8, width 98 arch/arm/mach-orion5x/kurobox_pro-setup.c .width = 1, width 44 arch/arm/mach-orion5x/ls_hgl-setup.c .width = 1, width 57 arch/arm/mach-orion5x/mv2120-setup.c .width = 1, width 61 arch/arm/mach-orion5x/net2big-setup.c .width = 1, width 41 arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c .width = 1, width 42 arch/arm/mach-orion5x/rd88f5181l-ge-setup.c .width = 1, width 61 arch/arm/mach-orion5x/rd88f5182-setup.c .width = 1, width 51 arch/arm/mach-orion5x/terastation_pro2-setup.c .width = 1, width 76 arch/arm/mach-orion5x/ts209-setup.c .width = 1, width 96 arch/arm/mach-orion5x/ts409-setup.c .width = 1, width 73 arch/arm/mach-orion5x/wnr854t-setup.c .width = 2, width 158 arch/arm/mach-orion5x/wrt350n-v2-setup.c .width = 1, width 136 arch/arm/mach-pxa/balloon3.c .width = 2, /* bankwidth in bytes */ width 145 arch/arm/mach-pxa/cm-x255.c .width = 2, /* bankwidth in bytes */ width 173 arch/arm/mach-pxa/colibri-pxa270.c .width = 4, /* bankwidth in bytes */ width 664 arch/arm/mach-pxa/corgi.c .width = 2, width 163 arch/arm/mach-pxa/csb726.c .width = 2, width 421 arch/arm/mach-pxa/em-x270.c .width = 2, width 70 arch/arm/mach-pxa/gumstix.c .width = 2, width 69 arch/arm/mach-pxa/h5000.c .width = 4, width 75 arch/arm/mach-pxa/h5000.c .width = 4, width 758 arch/arm/mach-pxa/hx4700.c .width = 4, width 468 arch/arm/mach-pxa/lpd270.c lpd270_flash_data[0].width = (__raw_readl(BOOT_DEF) & 1) ? 2 : 4; width 469 arch/arm/mach-pxa/lpd270.c lpd270_flash_data[1].width = 4; width 505 arch/arm/mach-pxa/lubbock.c lubbock_flash_data[0].width = lubbock_flash_data[1].width = width 877 arch/arm/mach-pxa/magician.c .width = 4, width 567 arch/arm/mach-pxa/mainstone.c mst_flash_data[0].width = (__raw_readl(BOOT_DEF) & 1) ? 2 : 4; width 568 arch/arm/mach-pxa/mainstone.c mst_flash_data[1].width = 4; width 138 arch/arm/mach-pxa/palmld.c .width = 2, /* bankwidth in bytes */ width 437 arch/arm/mach-pxa/palmtc.c .width = 4, width 140 arch/arm/mach-pxa/palmtx.c .width = 2, /* bankwidth in bytes */ width 156 arch/arm/mach-pxa/pcm027.c .width = 4, width 387 arch/arm/mach-pxa/poodle.c .width = 2, width 858 arch/arm/mach-pxa/spitz.c .width = 2, width 324 arch/arm/mach-pxa/stargate2.c .width = 2, width 764 arch/arm/mach-pxa/tosa.c .width = 60, width 836 arch/arm/mach-pxa/tosa.c .width = 2, width 175 arch/arm/mach-pxa/trizeps4.c .width = 4, /* bankwidth in bytes */ width 545 arch/arm/mach-pxa/trizeps4.c trizeps4_flash_data[0].width = 2; width 549 arch/arm/mach-pxa/trizeps4.c trizeps4_flash_data[0].width = 4; width 678 arch/arm/mach-pxa/viper.c .width = 2, width 683 arch/arm/mach-pxa/viper.c .width = 2, width 162 arch/arm/mach-pxa/vpac270.c .width = 2, /* bankwidth in bytes */ width 74 arch/arm/mach-pxa/xcep.c .width = 4, /* bankwidth in bytes */ width 174 arch/arm/mach-pxa/z2.c .width = 2, width 183 arch/arm/mach-pxa/zeus.c .width = 2, width 81 arch/arm/mach-s3c24xx/mach-amlm5900.c .width = 2, width 157 arch/arm/mach-s3c24xx/mach-amlm5900.c .width = 160, width 163 arch/arm/mach-s3c24xx/mach-at2440evb.c .width = 800, width 415 arch/arm/mach-s3c24xx/mach-bast.c .width = 640, width 433 arch/arm/mach-s3c24xx/mach-bast.c .width = 640, width 451 arch/arm/mach-s3c24xx/mach-bast.c .width = 640, width 357 arch/arm/mach-s3c24xx/mach-gta02.c .width = 2, width 192 arch/arm/mach-s3c24xx/mach-h1940.c .width = 240, width 283 arch/arm/mach-s3c24xx/mach-jive.c .width = LCD_XRES, width 110 arch/arm/mach-s3c24xx/mach-mini2440.c .width = _xres, \ width 698 arch/arm/mach-s3c24xx/mach-mini2440.c mini2440_lcd_cfg[li].width, width 702 arch/arm/mach-s3c24xx/mach-mini2440.c mini2440_lcd_cfg[li].width, width 315 arch/arm/mach-s3c24xx/mach-n30.c .width = 240, width 96 arch/arm/mach-s3c24xx/mach-qt2410.c .width = 640, width 119 arch/arm/mach-s3c24xx/mach-qt2410.c .width = 480, width 141 arch/arm/mach-s3c24xx/mach-qt2410.c .width = 240, width 98 arch/arm/mach-s3c24xx/mach-rx1950.c .width = 240, width 103 arch/arm/mach-s3c24xx/mach-rx3715.c .width = 240, width 110 arch/arm/mach-s3c24xx/mach-smdk2440.c .width = 240, width 60 arch/arm/mach-s3c24xx/mach-tct_hammer.c .width = 2, width 21 arch/arm/mach-s3c24xx/setup-sdhci-gpio.c void s3c2416_setup_sdhci0_cfg_gpio(struct platform_device *dev, int width) width 23 arch/arm/mach-s3c24xx/setup-sdhci-gpio.c s3c_gpio_cfgrange_nopull(S3C2410_GPE(5), 2 + width, S3C_GPIO_SFN(2)); width 26 arch/arm/mach-s3c24xx/setup-sdhci-gpio.c void s3c2416_setup_sdhci1_cfg_gpio(struct platform_device *dev, int width) width 28 arch/arm/mach-s3c24xx/setup-sdhci-gpio.c s3c_gpio_cfgrange_nopull(S3C2410_GPL(0), width, S3C_GPIO_SFN(2)); width 46 arch/arm/mach-s3c24xx/simtec-nor.c .width = 2, width 765 arch/arm/mach-s3c64xx/mach-crag6410.c static void crag6410_cfg_sdhci0(struct platform_device *dev, int width) width 768 arch/arm/mach-s3c64xx/mach-crag6410.c s3c_gpio_cfgrange_nopull(S3C64XX_GPG(0), 2 + width, S3C_GPIO_SFN(2)); width 20 arch/arm/mach-s3c64xx/setup-sdhci-gpio.c void s3c64xx_setup_sdhci0_cfg_gpio(struct platform_device *dev, int width) width 25 arch/arm/mach-s3c64xx/setup-sdhci-gpio.c s3c_gpio_cfgrange_nopull(S3C64XX_GPG(0), 2 + width, S3C_GPIO_SFN(2)); width 33 arch/arm/mach-s3c64xx/setup-sdhci-gpio.c void s3c64xx_setup_sdhci1_cfg_gpio(struct platform_device *dev, int width) width 38 arch/arm/mach-s3c64xx/setup-sdhci-gpio.c s3c_gpio_cfgrange_nopull(S3C64XX_GPH(0), 2 + width, S3C_GPIO_SFN(2)); width 46 arch/arm/mach-s3c64xx/setup-sdhci-gpio.c void s3c64xx_setup_sdhci2_cfg_gpio(struct platform_device *dev, int width) width 49 arch/arm/mach-s3c64xx/setup-sdhci-gpio.c s3c_gpio_cfgrange_nopull(S3C64XX_GPH(6), width, S3C_GPIO_SFN(3)); width 25 arch/arm/plat-samsung/include/plat/fb-s3c2410.h unsigned short width; width 62 arch/arm64/include/asm/cpufeature.h u8 width; width 427 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_signed_field_width(u64 features, int field, int width) width 429 arch/arm64/include/asm/cpufeature.h return (s64)(features << (64 - width - field)) >> (64 - width); width 439 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_unsigned_field_width(u64 features, int field, int width) width 441 arch/arm64/include/asm/cpufeature.h return (u64)(features << (64 - width - field)) >> (64 - width); width 452 arch/arm64/include/asm/cpufeature.h return (u64)GENMASK(ftrp->shift + ftrp->width - 1, ftrp->shift); width 461 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_field_width(u64 features, int field, int width, bool sign) width 464 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_signed_field_width(features, field, width) : width 465 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_unsigned_field_width(features, field, width); width 476 arch/arm64/include/asm/cpufeature.h return (s64)cpuid_feature_extract_field_width(val, ftrp->shift, ftrp->width, ftrp->sign); width 92 arch/arm64/kernel/cpufeature.c .width = WIDTH, \ width 106 arch/arm64/kernel/cpufeature.c .width = 0, \ width 524 arch/arm64/kernel/cpufeature.c for (ftrp = reg->ftr_bits; ftrp->width; ftrp++) { width 634 arch/arm64/kernel/cpufeature.c for (ftrp = reg->ftr_bits; ftrp->width; ftrp++) { width 1368 arch/ia64/include/asm/pal.h width : 8, width 666 arch/ia64/kernel/palinfo.c pm_info.pal_perf_mon_info_s.width, width 103 arch/m68k/coldfire/amcore.c .width = 2, width 56 arch/m68k/coldfire/firebee.c .width = 2, width 84 arch/m68k/kernel/asm-offsets.c DEFINE(FONT_DESC_WIDTH, offsetof(struct font_desc, width)); width 158 arch/mips/alchemy/board-gpr.c .width = 4, width 183 arch/mips/alchemy/board-mtx1.c .width = 4, width 169 arch/mips/alchemy/devboards/platform.c int __init db1x_register_norflash(unsigned long size, int width, width 244 arch/mips/alchemy/devboards/platform.c pfd->width = width; width 19 arch/mips/alchemy/devboards/platform.h int __init db1x_register_norflash(unsigned long size, int width, width 193 arch/mips/ar7/platform.c .width = 2, width 166 arch/mips/ath25/ar5312.c .width = 2, width 197 arch/mips/ath25/ar5312.c ar5312_flash_data.width = 2; width 201 arch/mips/ath25/ar5312.c ar5312_flash_data.width = 1; width 36 arch/mips/bcm63xx/dev-flash.c .width = 2, width 74 arch/mips/bcm63xx/irq.c #define BUILD_IPIC_INTERNAL(width) \ width 75 arch/mips/bcm63xx/irq.c void __dispatch_internal_##width(int cpu) \ width 77 arch/mips/bcm63xx/irq.c u32 pending[width / 32]; \ width 86 arch/mips/bcm63xx/irq.c for (src = 0, tgt = (width / 32); src < (width / 32); src++) { \ width 104 arch/mips/bcm63xx/irq.c *next = (*next + 1) & (width - 1); \ width 112 arch/mips/bcm63xx/irq.c static void __internal_irq_mask_##width(struct irq_data *d) \ width 116 arch/mips/bcm63xx/irq.c unsigned reg = (irq / 32) ^ (width/32 - 1); \ width 133 arch/mips/bcm63xx/irq.c static void __internal_irq_unmask_##width(struct irq_data *d, \ width 138 arch/mips/bcm63xx/irq.c unsigned reg = (irq / 32) ^ (width/32 - 1); \ width 100 arch/mips/cavium-octeon/flash_setup.c flash_map.bankwidth = region_cfg.s.width + 1; width 956 arch/mips/cavium-octeon/octeon-platform.c is_16bit = mio_boot_reg_cfg.s.width; width 985 arch/mips/cavium-octeon/octeon-platform.c __be32 width = cpu_to_be32(8); width 988 arch/mips/cavium-octeon/octeon-platform.c "cavium,bus-width", &width, sizeof(width)); width 21 arch/mips/cobalt/mtd.c .width = 1, width 165 arch/mips/emma/markeins/platform.c .width = 2, width 254 arch/mips/include/asm/nile4.h extern void nile4_set_pdar(u32 pdar, u32 phys, u32 size, int width, width 385 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 405 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 497 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 511 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 521 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 535 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 544 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 556 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 566 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 580 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 602 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 608 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 630 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 636 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 674 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 680 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t width:1; width 100 arch/mips/include/asm/processor.h # define FPR_IDX(width, idx) (idx) width 102 arch/mips/include/asm/processor.h # define FPR_IDX(width, idx) ((idx) ^ ((64 / (width)) - 1)) width 105 arch/mips/include/asm/processor.h #define BUILD_FPR_ACCESS(width) \ width 106 arch/mips/include/asm/processor.h static inline u##width get_fpr##width(union fpureg *fpr, unsigned idx) \ width 108 arch/mips/include/asm/processor.h return fpr->val##width[FPR_IDX(width, idx)]; \ width 111 arch/mips/include/asm/processor.h static inline void set_fpr##width(union fpureg *fpr, unsigned idx, \ width 112 arch/mips/include/asm/processor.h u##width val) \ width 114 arch/mips/include/asm/processor.h fpr->val##width[FPR_IDX(width, idx)] = val; \ width 136 arch/mips/include/asm/txx9/rbtx4939.h unsigned int width; width 60 arch/mips/netlogic/xlr/platform-flash.c .width = 2, width 128 arch/mips/txx9/generic/setup_tx3927.c .width = TX3927_ROMC_WIDTH(ch) / 8, width 244 arch/mips/txx9/generic/setup_tx4927.c .width = TX4927_EBUSC_WIDTH(ch) / 8, width 323 arch/mips/txx9/generic/setup_tx4938.c .width = TX4938_EBUSC_WIDTH(ch) / 8, width 377 arch/mips/txx9/generic/setup_tx4939.c .width = TX4939_EBUSC_WIDTH(ch) / 8, width 304 arch/mips/txx9/rbtx4938/setup.c .width = 4, width 426 arch/mips/txx9/rbtx4939/setup.c pdevs[i].data.width = 2; width 228 arch/openrisc/kernel/setup.c short bit_nr, short width) width 230 arch/openrisc/kernel/setup.c return (reg >> bit_nr) & (0 << width); width 70 arch/parisc/include/asm/grfioctl.h unsigned int width, length; /* total x and total y size */ width 608 arch/parisc/include/uapi/asm/pdc.h int width; width 887 arch/parisc/kernel/firmware.c initiator->width = pdc_result[4]; width 890 arch/parisc/kernel/firmware.c initiator->width = -1; width 52 arch/parisc/kernel/perf.c uint16_t width; width 197 arch/parisc/kernel/perf.c extern uint64_t perf_rdr_shift_in_W (uint32_t rdr_num, uint16_t width); width 198 arch/parisc/kernel/perf.c extern uint64_t perf_rdr_shift_in_U (uint32_t rdr_num, uint16_t width); width 659 arch/parisc/kernel/perf.c uint32_t width, xbits, i; width 663 arch/parisc/kernel/perf.c if ((width = tentry->width) == 0) width 673 arch/parisc/kernel/perf.c if ((xbits = width & 0x03f) != 0) { width 684 arch/parisc/kernel/perf.c data = perf_rdr_shift_in_U(rdr_num, width); width 686 arch/parisc/kernel/perf.c data = perf_rdr_shift_in_W(rdr_num, width); width 713 arch/parisc/kernel/perf.c if (tentry->width == 0) { width 827 arch/parisc/kernel/perf.c if (tentry->width == 0) { return; } width 12 arch/powerpc/include/asm/btext.h extern void btext_update_display(unsigned long phys, int width, int height, width 14 arch/powerpc/include/asm/btext.h extern void btext_setup_display(int width, int height, int depth, int pitch, width 238 arch/powerpc/include/asm/fsl_lbc.h int width; width 549 arch/powerpc/include/asm/ps3av.h u16 width; /* in: width in pixel */ width 120 arch/powerpc/kernel/btext.c void __init btext_setup_display(int width, int height, int depth, int pitch, width 125 arch/powerpc/kernel/btext.c g_max_loc_X = width / 8; width 132 arch/powerpc/kernel/btext.c dispDeviceRect[2] = width; width 175 arch/powerpc/kernel/btext.c unsigned int width, height, depth, pitch; width 184 arch/powerpc/kernel/btext.c width = *prop; width 197 arch/powerpc/kernel/btext.c pitch = width * ((depth + 7) / 8); width 219 arch/powerpc/kernel/btext.c g_max_loc_X = width / 8; width 225 arch/powerpc/kernel/btext.c dispDeviceRect[2] = width; width 273 arch/powerpc/kernel/btext.c void btext_update_display(unsigned long phys, int width, int height, width 286 arch/powerpc/kernel/btext.c dispDeviceRect[2] = width; width 297 arch/powerpc/kernel/btext.c g_max_loc_X = width / 8; width 305 arch/powerpc/kernel/btext.c unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * width 313 arch/powerpc/kernel/btext.c for(j=width; j; --j) width 323 arch/powerpc/kernel/btext.c unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * width 330 arch/powerpc/kernel/btext.c for(j = width; j > 0; j -= 8) { width 342 arch/powerpc/kernel/btext.c unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * width 349 arch/powerpc/kernel/btext.c for(j = width; j > 0; j -= 8) { width 364 arch/powerpc/kernel/btext.c unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * width 374 arch/powerpc/kernel/btext.c for(j=width; j; --j) width 382 arch/powerpc/kernel/btext.c for(j=width; j; --j) width 2394 arch/powerpc/kernel/prom_init.c u32 width, height, pitch, addr; width 2397 arch/powerpc/kernel/prom_init.c prom_getprop(node, "width", &width, 4); width 2402 arch/powerpc/kernel/prom_init.c width, height, pitch, addr); width 2403 arch/powerpc/kernel/prom_init.c btext_setup_display(width, height, 8, pitch, addr); width 110 arch/powerpc/kernel/rtas.c static int width = 16; width 113 arch/powerpc/kernel/rtas.c while (width-- > 0) width 115 arch/powerpc/kernel/rtas.c width = 16; width 124 arch/powerpc/kernel/rtas.c if (width--) { width 199 arch/powerpc/kernel/rtas.c int width; width 264 arch/powerpc/kernel/rtas.c width = row_width[current_line]; width 266 arch/powerpc/kernel/rtas.c width = display_width; width 296 arch/powerpc/kernel/rtas.c width = row_width[current_line]; width 298 arch/powerpc/kernel/rtas.c width = display_width; width 300 arch/powerpc/kernel/rtas.c width--; width 307 arch/powerpc/kernel/rtas.c if (width <= 0) width 2392 arch/powerpc/platforms/cell/spufs/file.c int width; width 2426 arch/powerpc/platforms/cell/spufs/file.c width = switch_log_sprint(ctx, tbuf, sizeof(tbuf)); width 2427 arch/powerpc/platforms/cell/spufs/file.c if (width < len) width 2436 arch/powerpc/platforms/cell/spufs/file.c error = copy_to_user(buf + cnt, tbuf, width); width 2439 arch/powerpc/platforms/cell/spufs/file.c cnt += width; width 126 arch/powerpc/sysdev/fsl_lbc.c upm->width = 8; width 129 arch/powerpc/sysdev/fsl_lbc.c upm->width = 16; width 132 arch/powerpc/sysdev/fsl_lbc.c upm->width = 32; width 164 arch/powerpc/sysdev/fsl_lbc.c switch (upm->width) { width 71 arch/s390/mm/dump_pagetables.c int width = sizeof(unsigned long) * 2; width 94 arch/s390/mm/dump_pagetables.c width, st->start_address, width 95 arch/s390/mm/dump_pagetables.c width, st->current_address); width 46 arch/sh/boards/board-apsh4a3a.c .width = 4, width 54 arch/sh/boards/board-edosk7760.c .width = 4, width 37 arch/sh/boards/board-espt.c .width = 2, width 324 arch/sh/boards/board-magicpanelr2.c .width = 2, width 73 arch/sh/boards/board-sh7785lcr.c .width = 4, width 120 arch/sh/boards/board-urquell.c .width = 2, width 111 arch/sh/boards/mach-ap325rxa/setup.c .width = 2, width 226 arch/sh/boards/mach-ap325rxa/setup.c .width = 152, /* 7.0 inch */ width 127 arch/sh/boards/mach-ecovec24/setup.c .width = 2, width 346 arch/sh/boards/mach-ecovec24/setup.c .width = 152, width 218 arch/sh/boards/mach-highlander/setup.c .width = 4, width 67 arch/sh/boards/mach-kfr2r09/setup.c .width = 2, width 168 arch/sh/boards/mach-kfr2r09/setup.c .width = 35, width 133 arch/sh/boards/mach-migor/setup.c .width = 2, width 255 arch/sh/boards/mach-migor/setup.c .width = 152, width 269 arch/sh/boards/mach-migor/setup.c .width = 49, /* 2.4 inch */ width 207 arch/sh/boards/mach-r2d/setup.c .width = 2, width 47 arch/sh/boards/mach-rsk/setup.c .width = 2, width 48 arch/sh/boards/mach-se/7343/setup.c .width = 2, width 135 arch/sh/boards/mach-se/7724/setup.c .width = 2, width 196 arch/sh/boards/mach-se/7724/setup.c .width = 152, width 41 arch/sh/boards/mach-sh7763rdp/setup.c .width = 2, width 45 arch/sparc/kernel/btext.c unsigned int width, height, depth, pitch; width 49 arch/sparc/kernel/btext.c if (prom_getproperty(node, "width", (char *)&width, 4) < 0) width 55 arch/sparc/kernel/btext.c pitch = width * ((depth + 7) / 8); width 75 arch/sparc/kernel/btext.c g_max_loc_X = width / 8; width 81 arch/sparc/kernel/btext.c dispDeviceRect[2] = width; width 100 arch/sparc/kernel/btext.c unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * width 107 arch/sparc/kernel/btext.c for(j=width; j; --j) width 118 arch/sparc/kernel/btext.c unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * width 126 arch/sparc/kernel/btext.c for(j=width; j; --j) width 134 arch/sparc/kernel/btext.c for(j=width; j; --j) width 28 arch/unicore32/kernel/puv3-nb0916.c .width = 1, width 107 arch/unicore32/kernel/traps.c const int width = 8; width 127 arch/unicore32/kernel/traps.c width, val); width 265 arch/x86/boot/compressed/eboot.c u32 width, height; width 283 arch/x86/boot/compressed/eboot.c width = 0; width 305 arch/x86/boot/compressed/eboot.c width = w; width 319 arch/x86/boot/compressed/eboot.c if (!width && !height) width 326 arch/x86/boot/compressed/eboot.c si->lfb_width = width; width 154 arch/x86/events/amd/ibs.c perf_event_try_update(struct perf_event *event, u64 new_raw_count, int width) width 157 arch/x86/events/amd/ibs.c int shift = 64 - width; width 53 arch/x86/include/asm/sysfb.h int width; width 906 arch/x86/kernel/smpboot.c static int width, node_width; width 908 arch/x86/kernel/smpboot.c if (!width) width 909 arch/x86/kernel/smpboot.c width = num_digits(num_possible_cpus()) + 1; /* + '#' sign */ width 929 arch/x86/kernel/smpboot.c pr_cont("%*s", width + 1, " "); width 931 arch/x86/kernel/smpboot.c pr_cont("%*s#%d", width - num_digits(cpu), " ", cpu); width 79 arch/x86/kernel/sysfb_efi.c si->lfb_width = efifb_dmi_list[i].width; width 98 arch/x86/kernel/sysfb_efi.c if (info->base == 0 && info->height == 0 && info->width == 0 && width 153 arch/x86/kernel/sysfb_efi.c screen_info.lfb_width = choose_value(info->width, width 50 arch/x86/kernel/sysfb_simplefb.c mode->width = si->lfb_width; width 296 arch/x86/mm/dump_pagetables.c int width = sizeof(unsigned long) * 2; width 308 arch/x86/mm/dump_pagetables.c width, st->start_address, width 309 arch/x86/mm/dump_pagetables.c width, st->current_address); width 170 arch/x86/mm/mmio-mod.c my_trace->width = get_ins_mem_width(instptr); width 174 arch/x86/mm/mmio-mod.c my_trace->width = get_ins_mem_width(instptr); width 179 arch/x86/mm/mmio-mod.c my_trace->width = get_ins_mem_width(instptr); width 186 arch/x86/mm/mmio-mod.c my_trace->width = 0; width 45 arch/x86/xen/vga.c screen_info->lfb_width = info->u.vesa_lfb.width; width 56 block/sed-opal.c enum opal_atom_width width; width 759 block/sed-opal.c tok->width = OPAL_WIDTH_TINY; width 776 block/sed-opal.c tok->width = OPAL_WIDTH_SHORT; width 806 block/sed-opal.c tok->width = OPAL_WIDTH_MEDIUM; width 823 block/sed-opal.c tok->width = OPAL_WIDTH_LONG; width 841 block/sed-opal.c tok->width = OPAL_WIDTH_TOKEN; width 929 block/sed-opal.c switch (tok->width) { width 963 block/sed-opal.c if (tok->width != OPAL_WIDTH_TINY && tok->width != OPAL_WIDTH_SHORT) { width 964 block/sed-opal.c pr_debug("Atom is not short or tiny: %d\n", tok->width); width 72 drivers/acpi/acpica/achware.h acpi_status acpi_hw_read_port(acpi_io_address address, u32 *value, u32 width); width 74 drivers/acpi/acpica/achware.h acpi_status acpi_hw_write_port(acpi_io_address address, u32 value, u32 width); width 308 drivers/acpi/acpica/acmacros.h #define ACPI_MASK_BITS_ABOVE_32(width) ((u32) ACPI_MASK_BITS_ABOVE(width)) width 309 drivers/acpi/acpica/acmacros.h #define ACPI_MASK_BITS_BELOW_32(width) ((u32) ACPI_MASK_BITS_BELOW(width)) width 310 drivers/acpi/acpica/acmacros.h #define ACPI_MASK_BITS_ABOVE_64(width) ((width) == ACPI_INTEGER_BIT_SIZE ? \ width 312 drivers/acpi/acpica/acmacros.h ACPI_MASK_BITS_ABOVE(width)) width 313 drivers/acpi/acpica/acmacros.h #define ACPI_MASK_BITS_BELOW_64(width) ((width) == ACPI_INTEGER_BIT_SIZE ? \ width 315 drivers/acpi/acpica/acmacros.h ACPI_MASK_BITS_BELOW(width)) width 164 drivers/acpi/acpica/amlresrc.h u8 width; width 286 drivers/acpi/acpica/dbconvert.c ACPI_PLD_SET_WIDTH(&dword, pld_info->width); width 401 drivers/acpi/acpica/dbconvert.c acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Width", pld_info->width); width 186 drivers/acpi/acpica/hwvalid.c acpi_status acpi_hw_read_port(acpi_io_address address, u32 *value, u32 width) width 200 drivers/acpi/acpica/hwvalid.c status = acpi_hw_validate_io_request(address, width); width 202 drivers/acpi/acpica/hwvalid.c status = acpi_os_read_port(address, value, width); width 215 drivers/acpi/acpica/hwvalid.c for (i = 0, *value = 0; i < width; i += 8) { width 250 drivers/acpi/acpica/hwvalid.c acpi_status acpi_hw_write_port(acpi_io_address address, u32 value, u32 width) width 263 drivers/acpi/acpica/hwvalid.c status = acpi_hw_validate_io_request(address, width); width 265 drivers/acpi/acpica/hwvalid.c status = acpi_os_write_port(address, value, width); width 278 drivers/acpi/acpica/hwvalid.c for (i = 0; i < width; i += 8) { width 402 drivers/acpi/acpica/rsdumpinfo.c {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(fixed_dma.width), "TransferWidth", width 268 drivers/acpi/acpica/rsirq.c {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.fixed_dma.width), width 269 drivers/acpi/acpica/rsirq.c AML_OFFSET(fixed_dma.width), width 32 drivers/acpi/acpica/utprint.c u8 base, s32 width, s32 precision, u8 type); width 204 drivers/acpi/acpica/utprint.c u8 base, s32 width, s32 precision, u8 type) width 236 drivers/acpi/acpica/utprint.c width--; width 239 drivers/acpi/acpica/utprint.c width--; width 242 drivers/acpi/acpica/utprint.c width--; width 246 drivers/acpi/acpica/utprint.c width--; width 248 drivers/acpi/acpica/utprint.c width--; width 263 drivers/acpi/acpica/utprint.c width -= precision; width 268 drivers/acpi/acpica/utprint.c while (--width >= 0) { width 284 drivers/acpi/acpica/utprint.c while (--width >= 0) { width 296 drivers/acpi/acpica/utprint.c while (--width >= 0) { width 322 drivers/acpi/acpica/utprint.c s32 width; width 368 drivers/acpi/acpica/utprint.c width = -1; width 371 drivers/acpi/acpica/utprint.c width = (s32)number; width 374 drivers/acpi/acpica/utprint.c width = va_arg(args, int); width 375 drivers/acpi/acpica/utprint.c if (width < 0) { width 376 drivers/acpi/acpica/utprint.c width = -width; width 421 drivers/acpi/acpica/utprint.c while (--width > 0) { width 432 drivers/acpi/acpica/utprint.c while (--width > 0) { width 446 drivers/acpi/acpica/utprint.c while (length < width--) { width 459 drivers/acpi/acpica/utprint.c while (length < width--) { width 491 drivers/acpi/acpica/utprint.c if (width == -1) { width 492 drivers/acpi/acpica/utprint.c width = 2 * sizeof(void *); width 499 drivers/acpi/acpica/utprint.c 16, width, precision, type); width 538 drivers/acpi/acpica/utprint.c width, precision, type); width 482 drivers/acpi/acpica/utxface.c pld_info->width = ACPI_PLD_GET_WIDTH(&dword); width 640 drivers/acpi/osl.c acpi_status acpi_os_read_port(acpi_io_address port, u32 * value, u32 width) width 648 drivers/acpi/osl.c if (width <= 8) { width 650 drivers/acpi/osl.c } else if (width <= 16) { width 652 drivers/acpi/osl.c } else if (width <= 32) { width 663 drivers/acpi/osl.c acpi_status acpi_os_write_port(acpi_io_address port, u32 value, u32 width) width 665 drivers/acpi/osl.c if (width <= 8) { width 667 drivers/acpi/osl.c } else if (width <= 16) { width 669 drivers/acpi/osl.c } else if (width <= 32) { width 680 drivers/acpi/osl.c int acpi_os_read_iomem(void __iomem *virt_addr, u64 *value, u32 width) width 683 drivers/acpi/osl.c switch (width) { width 704 drivers/acpi/osl.c acpi_os_read_memory(acpi_physical_address phys_addr, u64 *value, u32 width) width 707 drivers/acpi/osl.c unsigned int size = width / 8; width 725 drivers/acpi/osl.c error = acpi_os_read_iomem(virt_addr, value, width); width 737 drivers/acpi/osl.c acpi_os_write_memory(acpi_physical_address phys_addr, u64 value, u32 width) width 740 drivers/acpi/osl.c unsigned int size = width / 8; width 753 drivers/acpi/osl.c switch (width) { width 781 drivers/acpi/osl.c u64 *value, u32 width) width 789 drivers/acpi/osl.c switch (width) { width 813 drivers/acpi/osl.c u64 value, u32 width) width 817 drivers/acpi/osl.c switch (width) { width 6790 drivers/ata/libata-core.c switch (bits->width) { width 445 drivers/auxdisplay/charlcd.c if (priv->addr.x < lcd->width) { width 18 drivers/auxdisplay/charlcd.h int width; width 248 drivers/auxdisplay/hd44780.c ret = device_property_read_u32(dev, "display-width-chars", &lcd->width); width 257 drivers/auxdisplay/hd44780.c lcd->bwidth = lcd->width; width 910 drivers/auxdisplay/panel.c charlcd->width = lcd_width; width 922 drivers/auxdisplay/panel.c charlcd->width = 40; width 935 drivers/auxdisplay/panel.c charlcd->width = 16; width 948 drivers/auxdisplay/panel.c charlcd->width = 16; width 967 drivers/auxdisplay/panel.c charlcd->width = 16; width 978 drivers/auxdisplay/panel.c charlcd->width = lcd_width; width 1001 drivers/auxdisplay/panel.c if (charlcd->width <= 0) width 1002 drivers/auxdisplay/panel.c charlcd->width = DEFAULT_LCD_WIDTH; width 41 drivers/bcma/driver_chipcommon_pflash.c bcma_pflash_data.width = 1; width 43 drivers/bcma/driver_chipcommon_pflash.c bcma_pflash_data.width = 2; width 22 drivers/clk/actions/owl-divider.c div_hw->table, div_hw->width, width 44 drivers/clk/actions/owl-divider.c val &= (1 << div_hw->width) - 1; width 49 drivers/clk/actions/owl-divider.c div_hw->width); width 70 drivers/clk/actions/owl-divider.c div_hw->width, 0); width 73 drivers/clk/actions/owl-divider.c reg &= ~GENMASK(div_hw->width + div_hw->shift - 1, div_hw->shift); width 19 drivers/clk/actions/owl-divider.h u8 width; width 33 drivers/clk/actions/owl-divider.h .width = _width, \ width 25 drivers/clk/actions/owl-factor.h u8 width; width 39 drivers/clk/actions/owl-factor.h .width = _width, \ width 58 drivers/clk/actions/owl-factor.h #define div_mask(d) ((1 << ((d)->width)) - 1) width 24 drivers/clk/actions/owl-mux.c parent &= BIT(mux_hw->width) - 1; width 42 drivers/clk/actions/owl-mux.c reg &= ~GENMASK(mux_hw->width + mux_hw->shift - 1, mux_hw->shift); width 19 drivers/clk/actions/owl-mux.h u8 width; width 31 drivers/clk/actions/owl-mux.h .width = _width, \ width 73 drivers/clk/actions/owl-pll.c if (pll_hw->width == 0) width 99 drivers/clk/actions/owl-pll.c if (pll_hw->width == 0) width 165 drivers/clk/actions/owl-pll.c if (pll_hw->width == 0) width 29 drivers/clk/actions/owl-pll.h u8 width; width 48 drivers/clk/actions/owl-pll.h .width = _width, \ width 99 drivers/clk/actions/owl-pll.h #define mul_mask(m) ((1 << ((m)->width)) - 1) width 1360 drivers/clk/bcm/clk-bcm2835.c divider->div.width = A2W_PLL_DIV_BITS; width 26 drivers/clk/bcm/clk-cygnus.c #define REG_VAL(o, s, w) { .offset = o, .shift = s, .width = w, } width 301 drivers/clk/bcm/clk-iproc-pll.c bit_mask(ctrl->ndiv_int.width); width 307 drivers/clk/bcm/clk-iproc-pll.c pdiv = (val >> ctrl->pdiv.shift) & bit_mask(ctrl->pdiv.width); width 368 drivers/clk/bcm/clk-iproc-pll.c val &= ~(bit_mask(ctrl->ndiv_frac.width) << width 383 drivers/clk/bcm/clk-iproc-pll.c val &= ~(bit_mask(ctrl->macro_mode.width) << width 406 drivers/clk/bcm/clk-iproc-pll.c val &= ~(bit_mask(ctrl->ndiv_int.width) << ctrl->ndiv_int.shift); width 413 drivers/clk/bcm/clk-iproc-pll.c val &= ~(bit_mask(ctrl->ndiv_frac.width) << width 422 drivers/clk/bcm/clk-iproc-pll.c val &= ~(bit_mask(ctrl->pdiv.width) << ctrl->pdiv.shift); width 483 drivers/clk/bcm/clk-iproc-pll.c bit_mask(ctrl->ndiv_int.width); width 489 drivers/clk/bcm/clk-iproc-pll.c bit_mask(ctrl->ndiv_frac.width); width 494 drivers/clk/bcm/clk-iproc-pll.c pdiv = (val >> ctrl->pdiv.shift) & bit_mask(ctrl->pdiv.width); width 634 drivers/clk/bcm/clk-iproc-pll.c mdiv = (val >> ctrl->mdiv.shift) & bit_mask(ctrl->mdiv.width); width 689 drivers/clk/bcm/clk-iproc-pll.c val &= ~(bit_mask(ctrl->mdiv.width) << ctrl->mdiv.shift); width 691 drivers/clk/bcm/clk-iproc-pll.c val &= ~(bit_mask(ctrl->mdiv.width) << ctrl->mdiv.shift); width 27 drivers/clk/bcm/clk-iproc.h #define bit_mask(width) ((1 << (width)) - 1) width 104 drivers/clk/bcm/clk-iproc.h unsigned int width; width 21 drivers/clk/bcm/clk-kona-setup.c #define selector_clear_exists(sel) ((sel)->width = 0) width 199 drivers/clk/bcm/clk-kona-setup.c static bool bitfield_valid(u32 shift, u32 width, const char *field_name, width 204 drivers/clk/bcm/clk-kona-setup.c if (!width) { width 209 drivers/clk/bcm/clk-kona-setup.c if (shift + width > limit) { width 211 drivers/clk/bcm/clk-kona-setup.c field_name, clock_name, shift, width, limit); width 294 drivers/clk/bcm/clk-kona-setup.c if (!bitfield_valid(sel->shift, sel->width, field_name, clock_name)) width 310 drivers/clk/bcm/clk-kona-setup.c limit = (1 << sel->width) - 1; width 315 drivers/clk/bcm/clk-kona-setup.c sel->width); width 347 drivers/clk/bcm/clk-kona-setup.c if (!bitfield_valid(div->u.s.shift, div->u.s.width, width 352 drivers/clk/bcm/clk-kona-setup.c if (div->u.s.frac_width > div->u.s.width) { width 355 drivers/clk/bcm/clk-kona-setup.c div->u.s.frac_width, div->u.s.width); width 36 drivers/clk/bcm/clk-kona.c static inline u32 bitfield_mask(u32 shift, u32 width) width 38 drivers/clk/bcm/clk-kona.c return ((1 << width) - 1) << shift; width 42 drivers/clk/bcm/clk-kona.c static inline u32 bitfield_extract(u32 reg_val, u32 shift, u32 width) width 44 drivers/clk/bcm/clk-kona.c return (reg_val & bitfield_mask(shift, width)) >> shift; width 48 drivers/clk/bcm/clk-kona.c static inline u32 bitfield_replace(u32 reg_val, u32 shift, u32 width, u32 val) width 50 drivers/clk/bcm/clk-kona.c u32 mask = bitfield_mask(shift, width); width 99 drivers/clk/bcm/clk-kona.c reg_div = ((u32)1 << div->u.s.width) - 1; width 578 drivers/clk/bcm/clk-kona.c reg_div = bitfield_extract(reg_val, div->u.s.shift, div->u.s.width); width 609 drivers/clk/bcm/clk-kona.c div->u.s.width); width 627 drivers/clk/bcm/clk-kona.c reg_val = bitfield_replace(reg_val, div->u.s.shift, div->u.s.width, width 856 drivers/clk/bcm/clk-kona.c parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); width 893 drivers/clk/bcm/clk-kona.c parent_sel = bitfield_extract(reg_val, sel->shift, sel->width); width 912 drivers/clk/bcm/clk-kona.c reg_val = bitfield_replace(reg_val, sel->shift, sel->width, parent_sel); width 70 drivers/clk/bcm/clk-kona.h #define selector_exists(sel) ((sel)->width != 0) width 271 drivers/clk/bcm/clk-kona.h u32 width; /* field width */ width 303 drivers/clk/bcm/clk-kona.h .u.s.width = (_width), \ width 313 drivers/clk/bcm/clk-kona.h .u.s.width = (_width), \ width 342 drivers/clk/bcm/clk-kona.h u32 width; /* field width */ width 354 drivers/clk/bcm/clk-kona.h .width = (_width), \ width 24 drivers/clk/bcm/clk-ns2.c #define REG_VAL(o, s, w) { .offset = o, .shift = s, .width = w, } width 24 drivers/clk/bcm/clk-nsp.c #define REG_VAL(o, s, w) { .offset = o, .shift = s, .width = w, } width 14 drivers/clk/bcm/clk-sr.c #define REG_VAL(o, s, w) { .offset = o, .shift = s, .width = w, } width 79 drivers/clk/clk-axm5516.c u32 width; width 94 drivers/clk/clk-axm5516.c div = 1 + ((ctrl >> divclk->shift) & ((1 << divclk->width)-1)); width 114 drivers/clk/clk-axm5516.c u32 width; width 128 drivers/clk/clk-axm5516.c parent = (ctrl >> mux->shift) & ((1 << mux->width) - 1); width 217 drivers/clk/clk-axm5516.c .width = 4, width 231 drivers/clk/clk-axm5516.c .width = 4, width 245 drivers/clk/clk-axm5516.c .width = 4, width 259 drivers/clk/clk-axm5516.c .width = 4, width 273 drivers/clk/clk-axm5516.c .width = 4, width 287 drivers/clk/clk-axm5516.c .width = 4, width 301 drivers/clk/clk-axm5516.c .width = 4, width 315 drivers/clk/clk-axm5516.c .width = 4, width 329 drivers/clk/clk-axm5516.c .width = 4, width 350 drivers/clk/clk-axm5516.c .width = 2, width 367 drivers/clk/clk-axm5516.c .width = 2, width 384 drivers/clk/clk-axm5516.c .width = 2, width 401 drivers/clk/clk-axm5516.c .width = 2, width 418 drivers/clk/clk-axm5516.c .width = 2, width 435 drivers/clk/clk-axm5516.c .width = 2, width 452 drivers/clk/clk-axm5516.c .width = 2, width 467 drivers/clk/clk-axm5516.c .width = 1, width 482 drivers/clk/clk-axm5516.c .width = 1, width 45 drivers/clk/clk-divider.c u8 width) width 47 drivers/clk/clk-divider.c unsigned int maxdiv = 0, mask = clk_div_mask(width); width 67 drivers/clk/clk-divider.c static unsigned int _get_maxdiv(const struct clk_div_table *table, u8 width, width 71 drivers/clk/clk-divider.c return clk_div_mask(width); width 73 drivers/clk/clk-divider.c return 1 << clk_div_mask(width); width 75 drivers/clk/clk-divider.c return _get_table_maxdiv(table, width); width 76 drivers/clk/clk-divider.c return clk_div_mask(width) + 1; width 91 drivers/clk/clk-divider.c unsigned int val, unsigned long flags, u8 width) width 98 drivers/clk/clk-divider.c return val ? val : clk_div_mask(width) + 1; width 116 drivers/clk/clk-divider.c unsigned int div, unsigned long flags, u8 width) width 123 drivers/clk/clk-divider.c return (div == clk_div_mask(width) + 1) ? 0 : div; width 132 drivers/clk/clk-divider.c unsigned long flags, unsigned long width) width 136 drivers/clk/clk-divider.c div = _get_div(table, val, flags, width); width 155 drivers/clk/clk-divider.c val &= clk_div_mask(divider->width); width 158 drivers/clk/clk-divider.c divider->flags, divider->width); width 291 drivers/clk/clk-divider.c const struct clk_div_table *table, u8 width, width 301 drivers/clk/clk-divider.c maxdiv = _get_maxdiv(table, width, flags); width 338 drivers/clk/clk-divider.c bestdiv = _get_maxdiv(table, width, flags); width 348 drivers/clk/clk-divider.c u8 width, unsigned long flags) width 352 drivers/clk/clk-divider.c div = clk_divider_bestdiv(hw, parent, rate, prate, table, width, flags); width 360 drivers/clk/clk-divider.c const struct clk_div_table *table, u8 width, width 365 drivers/clk/clk-divider.c div = _get_div(table, val, flags, width); width 390 drivers/clk/clk-divider.c val &= clk_div_mask(divider->width); width 393 drivers/clk/clk-divider.c divider->width, divider->flags, width 398 drivers/clk/clk-divider.c divider->width, divider->flags); width 402 drivers/clk/clk-divider.c const struct clk_div_table *table, u8 width, width 412 drivers/clk/clk-divider.c value = _get_val(table, div, flags, width); width 414 drivers/clk/clk-divider.c return min_t(unsigned int, value, clk_div_mask(width)); width 427 drivers/clk/clk-divider.c divider->width, divider->flags); width 437 drivers/clk/clk-divider.c val = clk_div_mask(divider->width) << (divider->shift + 16); width 440 drivers/clk/clk-divider.c val &= ~(clk_div_mask(divider->width) << divider->shift); width 468 drivers/clk/clk-divider.c void __iomem *reg, u8 shift, u8 width, width 478 drivers/clk/clk-divider.c if (width + shift > 16) { width 501 drivers/clk/clk-divider.c div->width = width; width 532 drivers/clk/clk-divider.c void __iomem *reg, u8 shift, u8 width, width 538 drivers/clk/clk-divider.c width, clk_divider_flags, NULL, lock); width 559 drivers/clk/clk-divider.c void __iomem *reg, u8 shift, u8 width, width 563 drivers/clk/clk-divider.c width, clk_divider_flags, NULL, lock); width 583 drivers/clk/clk-divider.c void __iomem *reg, u8 shift, u8 width, width 590 drivers/clk/clk-divider.c width, clk_divider_flags, table, lock); width 613 drivers/clk/clk-divider.c void __iomem *reg, u8 shift, u8 width, width 618 drivers/clk/clk-divider.c width, clk_divider_flags, table, lock); width 74 drivers/clk/clk-milbeaut.c u8 width; width 369 drivers/clk/clk-milbeaut.c u8 width; width 383 drivers/clk/clk-milbeaut.c val &= clk_div_mask(divider->width); width 386 drivers/clk/clk-milbeaut.c divider->flags, divider->width); width 399 drivers/clk/clk-milbeaut.c val &= clk_div_mask(divider->width); width 402 drivers/clk/clk-milbeaut.c divider->width, divider->flags, width 407 drivers/clk/clk-milbeaut.c divider->width, divider->flags); width 417 drivers/clk/clk-milbeaut.c u32 write_en = BIT(divider->width - 1); width 420 drivers/clk/clk-milbeaut.c divider->width, divider->flags); width 430 drivers/clk/clk-milbeaut.c val &= ~(clk_div_mask(divider->width) << divider->shift); width 459 drivers/clk/clk-milbeaut.c void __iomem *reg, u8 shift, u8 width, width 480 drivers/clk/clk-milbeaut.c div->width = width; width 519 drivers/clk/clk-milbeaut.c factors->width, factors->div_flags, width 48 drivers/clk/clk-multiplier.c val &= GENMASK(mult->width - 1, 0); width 67 drivers/clk/clk-multiplier.c u8 width, unsigned long flags) width 73 drivers/clk/clk-multiplier.c unsigned int maxmult = (1 << width) - 1; width 120 drivers/clk/clk-multiplier.c mult->width, mult->flags); width 139 drivers/clk/clk-multiplier.c val &= ~GENMASK(mult->width + mult->shift - 1, mult->shift); width 157 drivers/clk/clk-mux.c u8 width = 0; width 161 drivers/clk/clk-mux.c width = fls(mask) - ffs(mask) + 1; width 162 drivers/clk/clk-mux.c if (width + shift > 16) { width 222 drivers/clk/clk-mux.c void __iomem *reg, u8 shift, u8 width, width 225 drivers/clk/clk-mux.c u32 mask = BIT(width) - 1; width 236 drivers/clk/clk-mux.c void __iomem *reg, u8 shift, u8 width, width 239 drivers/clk/clk-mux.c u32 mask = BIT(width) - 1; width 181 drivers/clk/clk-npcm7xx.c u8 width; width 629 drivers/clk/clk-npcm7xx.c div_data->shift, div_data->width, width 535 drivers/clk/clk-stm32f4.c u8 width; width 572 drivers/clk/clk-stm32f4.c u8 width; width 747 drivers/clk/clk-stm32f4.c void __iomem *reg, u8 shift, u8 width, width 770 drivers/clk/clk-stm32f4.c pll_div->div.width = width; width 839 drivers/clk/clk-stm32f4.c div_data[i].width, width 1774 drivers/clk/clk-stm32f4.c post_div->width, width 259 drivers/clk/clk-stm32h7.c u8 width; width 295 drivers/clk/clk-stm32h7.c static struct clk_mux *_get_cmux(void __iomem *reg, u8 shift, u8 width, width 306 drivers/clk/clk-stm32h7.c mux->mask = (1 << width) - 1; width 313 drivers/clk/clk-stm32h7.c static struct clk_divider *_get_cdiv(void __iomem *reg, u8 shift, u8 width, width 325 drivers/clk/clk-stm32h7.c div->width = width; width 377 drivers/clk/clk-stm32h7.c cfg->mux->width, width 390 drivers/clk/clk-stm32h7.c cfg->div->width, width 563 drivers/clk/clk-stm32h7.c u8 width; width 574 drivers/clk/clk-stm32h7.c .width = _mux_width,\ width 1269 drivers/clk/clk-stm32h7.c stm32_mclk[n].width, width 342 drivers/clk/clk-stm32mp1.c u8 width; width 350 drivers/clk/clk-stm32mp1.c u8 width; width 424 drivers/clk/clk-stm32mp1.c div_cfg->width, width 441 drivers/clk/clk-stm32mp1.c mux_cfg->width, mux_cfg->mux_flags, lock); width 487 drivers/clk/clk-stm32mp1.c mmux->mux.mask = (1 << cfg->mux->width) - 1; width 502 drivers/clk/clk-stm32mp1.c mux->mask = (1 << cfg->mux->width) - 1; width 525 drivers/clk/clk-stm32mp1.c div->width = cfg->div->width; width 1129 drivers/clk/clk-stm32mp1.c .width = _width,\ width 1150 drivers/clk/clk-stm32mp1.c .width = _width,\ width 1235 drivers/clk/clk-stm32mp1.c .width = _div_width,\ width 1251 drivers/clk/clk-stm32mp1.c .width = _width,\ width 1602 drivers/clk/clk-stm32mp1.c .width = _width,\ width 344 drivers/clk/clk-xgene.c u8 width, u64 denom, u32 clk_flags, spinlock_t *lock) width 362 drivers/clk/clk-xgene.c fd->mask = (BIT(width) - 1) << shift; width 263 drivers/clk/davinci/pll.c divider->width = DIV_RATIO_WIDTH; width 609 drivers/clk/davinci/pll.c divider->width = DIV_RATIO_WIDTH; width 710 drivers/clk/davinci/pll.c divider->width = info->ratio_width; width 23 drivers/clk/h8300/clk-div.c int width; width 42 drivers/clk/h8300/clk-div.c of_property_read_u32(node, "renesas,width", &width); width 44 drivers/clk/h8300/clk-div.c CLK_SET_RATE_GATE, divcr, offset, width, width 112 drivers/clk/hisilicon/clk-hisi-phase.c phase->mask = (BIT(clks->width) - 1) << clks->shift; width 158 drivers/clk/hisilicon/clk.c u32 mask = BIT(clks[i].width) - 1; width 224 drivers/clk/hisilicon/clk.c clks[i].shift, clks[i].width, width 329 drivers/clk/hisilicon/clk.c clks[i].width, width 51 drivers/clk/hisilicon/clk.h u8 width; width 64 drivers/clk/hisilicon/clk.h u8 width; width 77 drivers/clk/hisilicon/clk.h u8 width; width 90 drivers/clk/hisilicon/clk.h u8 width; width 112 drivers/clk/hisilicon/clk.h u8 shift, u8 width, u32 mask_bit, spinlock_t *lock); width 19 drivers/clk/hisilicon/clkdivider-hi6220.c #define div_mask(width) ((1 << (width)) - 1) width 36 drivers/clk/hisilicon/clkdivider-hi6220.c u8 width; width 52 drivers/clk/hisilicon/clkdivider-hi6220.c val &= div_mask(dclk->width); width 55 drivers/clk/hisilicon/clkdivider-hi6220.c CLK_DIVIDER_ROUND_CLOSEST, dclk->width); width 64 drivers/clk/hisilicon/clkdivider-hi6220.c dclk->width, CLK_DIVIDER_ROUND_CLOSEST); width 76 drivers/clk/hisilicon/clkdivider-hi6220.c dclk->width, CLK_DIVIDER_ROUND_CLOSEST); width 82 drivers/clk/hisilicon/clkdivider-hi6220.c data &= ~(div_mask(dclk->width) << dclk->shift); width 102 drivers/clk/hisilicon/clkdivider-hi6220.c u8 shift, u8 width, u32 mask_bit, spinlock_t *lock) width 117 drivers/clk/hisilicon/clkdivider-hi6220.c max_div = div_mask(width) + 1; width 140 drivers/clk/hisilicon/clkdivider-hi6220.c div->width = width; width 76 drivers/clk/imx/clk-busy.c void __iomem *reg, u8 shift, u8 width, width 93 drivers/clk/imx/clk-busy.c busy->div.width = width; width 155 drivers/clk/imx/clk-busy.c u8 width, void __iomem *busy_reg, u8 busy_shift, width 172 drivers/clk/imx/clk-busy.c busy->mux.mask = BIT(width) - 1; width 35 drivers/clk/imx/clk-composite-8m.c prediv_value &= clk_div_mask(divider->width); width 39 drivers/clk/imx/clk-composite-8m.c divider->width); width 108 drivers/clk/imx/clk-composite-8m.c val &= ~((clk_div_mask(divider->width) << divider->shift) | width 154 drivers/clk/imx/clk-composite-8m.c div->width = PCG_PREDIV_WIDTH; width 33 drivers/clk/imx/clk-divider-gate.c val &= clk_div_mask(div->width); width 38 drivers/clk/imx/clk-divider-gate.c div->flags, div->width); width 55 drivers/clk/imx/clk-divider-gate.c val &= clk_div_mask(div->width); width 64 drivers/clk/imx/clk-divider-gate.c div->flags, div->width); width 83 drivers/clk/imx/clk-divider-gate.c div->width, div->flags); width 91 drivers/clk/imx/clk-divider-gate.c val &= ~(clk_div_mask(div->width) << div->shift); width 137 drivers/clk/imx/clk-divider-gate.c val &= clk_div_mask(div->width); width 150 drivers/clk/imx/clk-divider-gate.c val &= clk_div_mask(div->width); width 178 drivers/clk/imx/clk-divider-gate.c u8 shift, u8 width, u8 clk_divider_flags, width 203 drivers/clk/imx/clk-divider-gate.c div_gate->divider.width = width; width 210 drivers/clk/imx/clk-divider-gate.c val &= clk_div_mask(width); width 12 drivers/clk/imx/clk-fixup-div.c #define div_mask(d) ((1 << (d->width)) - 1) width 89 drivers/clk/imx/clk-fixup-div.c void __iomem *reg, u8 shift, u8 width, width 112 drivers/clk/imx/clk-fixup-div.c fixup_div->divider.width = width; width 67 drivers/clk/imx/clk-fixup-mux.c u8 shift, u8 width, const char * const *parents, width 90 drivers/clk/imx/clk-fixup-mux.c fixup_mux->mux.mask = BIT(width) - 1; width 73 drivers/clk/imx/clk.h #define imx_clk_divider2(name, parent, reg, shift, width) \ width 74 drivers/clk/imx/clk.h to_clk(imx_clk_hw_divider2(name, parent, reg, shift, width)) width 94 drivers/clk/imx/clk.h #define imx_clk_mux(name, reg, shift, width, parents, num_parents) \ width 95 drivers/clk/imx/clk.h to_clk(imx_clk_hw_mux(name, reg, shift, width, parents, num_parents)) width 177 drivers/clk/imx/clk.h void __iomem *reg, u8 shift, u8 width, width 181 drivers/clk/imx/clk.h u8 width, void __iomem *busy_reg, u8 busy_shift, width 191 drivers/clk/imx/clk.h void __iomem *reg, u8 shift, u8 width, width 195 drivers/clk/imx/clk.h u8 shift, u8 width, const char * const *parents, width 216 drivers/clk/imx/clk.h u8 shift, u8 width, const char * const *parents, width 221 drivers/clk/imx/clk.h shift, width, CLK_MUX_READ_ONLY, &imx_ccm_lock); width 232 drivers/clk/imx/clk.h void __iomem *reg, u8 shift, u8 width) width 235 drivers/clk/imx/clk.h reg, shift, width, 0, &imx_ccm_lock); width 241 drivers/clk/imx/clk.h u8 width) width 244 drivers/clk/imx/clk.h reg, shift, width, 0, &imx_ccm_lock); width 248 drivers/clk/imx/clk.h const char *parent, void __iomem *reg, u8 shift, u8 width, width 252 drivers/clk/imx/clk.h reg, shift, width, 0, &imx_ccm_lock); width 258 drivers/clk/imx/clk.h u8 width, unsigned long flags) width 261 drivers/clk/imx/clk.h reg, shift, width, 0, &imx_ccm_lock); width 265 drivers/clk/imx/clk.h void __iomem *reg, u8 shift, u8 width) width 269 drivers/clk/imx/clk.h reg, shift, width, 0, &imx_ccm_lock); width 273 drivers/clk/imx/clk.h const char *parent, void __iomem *reg, u8 shift, u8 width, width 278 drivers/clk/imx/clk.h reg, shift, width, 0, &imx_ccm_lock); width 389 drivers/clk/imx/clk.h u8 shift, u8 width, const char * const *parents, width 394 drivers/clk/imx/clk.h width, 0, &imx_ccm_lock); width 398 drivers/clk/imx/clk.h u8 shift, u8 width, const char * const *parents, width 403 drivers/clk/imx/clk.h reg, shift, width, 0, &imx_ccm_lock); width 407 drivers/clk/imx/clk.h u8 shift, u8 width, width 414 drivers/clk/imx/clk.h reg, shift, width, 0, &imx_ccm_lock); width 418 drivers/clk/imx/clk.h void __iomem *reg, u8 shift, u8 width, width 423 drivers/clk/imx/clk.h flags | CLK_SET_RATE_NO_REPARENT, reg, shift, width, 0, width 428 drivers/clk/imx/clk.h void __iomem *reg, u8 shift, u8 width, width 434 drivers/clk/imx/clk.h reg, shift, width, 0, &imx_ccm_lock); width 439 drivers/clk/imx/clk.h u8 width, width 446 drivers/clk/imx/clk.h reg, shift, width, 0, &imx_ccm_lock); width 470 drivers/clk/imx/clk.h unsigned long flags, void __iomem *reg, u8 shift, u8 width, width 209 drivers/clk/mediatek/clk-mtk.c div->width = mc->divider_width; width 104 drivers/clk/meson/axg-aoclk.c .width = 12, width 109 drivers/clk/meson/axg-aoclk.c .width = 12, width 114 drivers/clk/meson/axg-aoclk.c .width = 12, width 119 drivers/clk/meson/axg-aoclk.c .width = 12, width 124 drivers/clk/meson/axg-aoclk.c .width = 1, width 232 drivers/clk/meson/axg-aoclk.c .width = 8, width 64 drivers/clk/meson/axg-audio.c .width = (_width), \ width 205 drivers/clk/meson/axg-audio.c .width = (_div_width), \ width 210 drivers/clk/meson/axg-audio.c .width = (_hi_width), \ width 252 drivers/clk/meson/axg-audio.c .width = (_width), \ width 257 drivers/clk/meson/axg-audio.c .width = (_width), \ width 262 drivers/clk/meson/axg-audio.c .width = (_width), \ width 369 drivers/clk/meson/axg-audio.c .width = 1, \ width 30 drivers/clk/meson/axg.c .width = 1, width 35 drivers/clk/meson/axg.c .width = 9, width 40 drivers/clk/meson/axg.c .width = 5, width 45 drivers/clk/meson/axg.c .width = 12, width 50 drivers/clk/meson/axg.c .width = 1, width 55 drivers/clk/meson/axg.c .width = 1, width 72 drivers/clk/meson/axg.c .width = 2, width 94 drivers/clk/meson/axg.c .width = 1, width 99 drivers/clk/meson/axg.c .width = 9, width 104 drivers/clk/meson/axg.c .width = 5, width 109 drivers/clk/meson/axg.c .width = 1, width 114 drivers/clk/meson/axg.c .width = 1, width 131 drivers/clk/meson/axg.c .width = 2, width 191 drivers/clk/meson/axg.c .width = 1, width 196 drivers/clk/meson/axg.c .width = 9, width 201 drivers/clk/meson/axg.c .width = 5, width 206 drivers/clk/meson/axg.c .width = 10, width 211 drivers/clk/meson/axg.c .width = 1, width 216 drivers/clk/meson/axg.c .width = 1, width 236 drivers/clk/meson/axg.c .width = 2, width 263 drivers/clk/meson/axg.c .width = 1, width 268 drivers/clk/meson/axg.c .width = 9, width 273 drivers/clk/meson/axg.c .width = 5, width 278 drivers/clk/meson/axg.c .width = 13, width 283 drivers/clk/meson/axg.c .width = 1, width 288 drivers/clk/meson/axg.c .width = 1, width 309 drivers/clk/meson/axg.c .width = 2, width 472 drivers/clk/meson/axg.c .width = 1, width 489 drivers/clk/meson/axg.c .width = 14, width 494 drivers/clk/meson/axg.c .width = 1, width 499 drivers/clk/meson/axg.c .width = 9, width 504 drivers/clk/meson/axg.c .width = 1, width 540 drivers/clk/meson/axg.c .width = 14, width 545 drivers/clk/meson/axg.c .width = 1, width 550 drivers/clk/meson/axg.c .width = 9, width 555 drivers/clk/meson/axg.c .width = 1, width 591 drivers/clk/meson/axg.c .width = 14, width 596 drivers/clk/meson/axg.c .width = 1, width 601 drivers/clk/meson/axg.c .width = 9, width 606 drivers/clk/meson/axg.c .width = 1, width 611 drivers/clk/meson/axg.c .width = 1, width 647 drivers/clk/meson/axg.c .width = 14, width 652 drivers/clk/meson/axg.c .width = 1, width 657 drivers/clk/meson/axg.c .width = 9, width 662 drivers/clk/meson/axg.c .width = 1, width 716 drivers/clk/meson/axg.c .width = 1, width 721 drivers/clk/meson/axg.c .width = 9, width 726 drivers/clk/meson/axg.c .width = 5, width 731 drivers/clk/meson/axg.c .width = 12, width 736 drivers/clk/meson/axg.c .width = 1, width 741 drivers/clk/meson/axg.c .width = 1, width 761 drivers/clk/meson/axg.c .width = 2, width 779 drivers/clk/meson/axg.c .width = 2, width 886 drivers/clk/meson/axg.c .width = 7, width 949 drivers/clk/meson/axg.c .width = 7, width 999 drivers/clk/meson/axg.c .width = 7, width 1070 drivers/clk/meson/axg.c .width = 11, width 27 drivers/clk/meson/clk-cpu-dyndiv.c NULL, 0, data->div.width); width 37 drivers/clk/meson/clk-cpu-dyndiv.c return divider_round_rate(hw, rate, prate, NULL, data->div.width, 0); width 48 drivers/clk/meson/clk-cpu-dyndiv.c ret = divider_get_val(rate, parent_rate, NULL, data->div.width, 0); width 59 drivers/clk/meson/clk-cpu-dyndiv.c SETPMASK(data->div.width, data->div.shift) | width 60 drivers/clk/meson/clk-cpu-dyndiv.c SETPMASK(data->dyn.width, data->dyn.shift), width 21 drivers/clk/meson/clk-phase.c static int meson_clk_degrees_from_val(unsigned int val, unsigned int width) width 23 drivers/clk/meson/clk-phase.c return phase_step(width) * val; width 26 drivers/clk/meson/clk-phase.c static unsigned int meson_clk_degrees_to_val(int degrees, unsigned int width) width 28 drivers/clk/meson/clk-phase.c unsigned int val = DIV_ROUND_CLOSEST(degrees, phase_step(width)); width 34 drivers/clk/meson/clk-phase.c return val % (1 << width); width 45 drivers/clk/meson/clk-phase.c return meson_clk_degrees_from_val(val, phase->ph.width); width 54 drivers/clk/meson/clk-phase.c val = meson_clk_degrees_to_val(degrees, phase->ph.width); width 102 drivers/clk/meson/clk-phase.c return meson_clk_degrees_from_val(val, tph->ph0.width); width 111 drivers/clk/meson/clk-phase.c val = meson_clk_degrees_to_val(degrees, tph->ph0.width); width 66 drivers/clk/meson/clk-pll.c (1 << pll->frac.width)); width 104 drivers/clk/meson/clk-pll.c unsigned int frac_max = (1 << pll->frac.width); width 176 drivers/clk/meson/clk-pll.c if (*n >= (1 << pll->n.width)) width 193 drivers/clk/meson/clk-pll.c if (*m >= (1 << pll->m.width)) width 73 drivers/clk/meson/clk-regmap.c val &= clk_div_mask(div->width); width 75 drivers/clk/meson/clk-regmap.c div->width); width 94 drivers/clk/meson/clk-regmap.c val &= clk_div_mask(div->width); width 97 drivers/clk/meson/clk-regmap.c div->width, div->flags, val); width 100 drivers/clk/meson/clk-regmap.c return divider_round_rate(hw, rate, prate, div->table, div->width, width 112 drivers/clk/meson/clk-regmap.c ret = divider_get_val(rate, parent_rate, div->table, div->width, width 119 drivers/clk/meson/clk-regmap.c clk_div_mask(div->width) << div->shift, val); width 70 drivers/clk/meson/clk-regmap.h u8 width; width 123 drivers/clk/meson/g12a-aoclk.c .width = 12, width 128 drivers/clk/meson/g12a-aoclk.c .width = 12, width 133 drivers/clk/meson/g12a-aoclk.c .width = 12, width 138 drivers/clk/meson/g12a-aoclk.c .width = 12, width 143 drivers/clk/meson/g12a-aoclk.c .width = 1, width 214 drivers/clk/meson/g12a-aoclk.c .width = 12, width 219 drivers/clk/meson/g12a-aoclk.c .width = 12, width 224 drivers/clk/meson/g12a-aoclk.c .width = 12, width 229 drivers/clk/meson/g12a-aoclk.c .width = 12, width 234 drivers/clk/meson/g12a-aoclk.c .width = 1, width 342 drivers/clk/meson/g12a-aoclk.c .width = 8, width 34 drivers/clk/meson/g12a.c .width = 1, width 39 drivers/clk/meson/g12a.c .width = 8, width 44 drivers/clk/meson/g12a.c .width = 5, width 49 drivers/clk/meson/g12a.c .width = 17, width 54 drivers/clk/meson/g12a.c .width = 1, width 59 drivers/clk/meson/g12a.c .width = 1, width 76 drivers/clk/meson/g12a.c .width = 2, width 103 drivers/clk/meson/g12a.c .width = 1, width 108 drivers/clk/meson/g12a.c .width = 8, width 113 drivers/clk/meson/g12a.c .width = 5, width 118 drivers/clk/meson/g12a.c .width = 1, width 123 drivers/clk/meson/g12a.c .width = 1, width 143 drivers/clk/meson/g12a.c .width = 3, width 162 drivers/clk/meson/g12a.c .width = 1, width 167 drivers/clk/meson/g12a.c .width = 8, width 172 drivers/clk/meson/g12a.c .width = 5, width 177 drivers/clk/meson/g12a.c .width = 1, width 182 drivers/clk/meson/g12a.c .width = 1, width 202 drivers/clk/meson/g12a.c .width = 3, width 388 drivers/clk/meson/g12a.c .width = 6, width 393 drivers/clk/meson/g12a.c .width = 1, width 432 drivers/clk/meson/g12a.c .width = 6, width 551 drivers/clk/meson/g12a.c .width = 6, width 556 drivers/clk/meson/g12a.c .width = 1, width 616 drivers/clk/meson/g12a.c .width = 6, width 735 drivers/clk/meson/g12a.c .width = 6, width 770 drivers/clk/meson/g12a.c .width = 6, width 1187 drivers/clk/meson/g12a.c .width = 3, width 1221 drivers/clk/meson/g12a.c .width = 3, width 1255 drivers/clk/meson/g12a.c .width = 3, width 1289 drivers/clk/meson/g12a.c .width = 3, width 1615 drivers/clk/meson/g12a.c .width = 1, width 1620 drivers/clk/meson/g12a.c .width = 8, width 1625 drivers/clk/meson/g12a.c .width = 5, width 1630 drivers/clk/meson/g12a.c .width = 17, width 1635 drivers/clk/meson/g12a.c .width = 1, width 1640 drivers/clk/meson/g12a.c .width = 1, width 1660 drivers/clk/meson/g12a.c .width = 3, width 1680 drivers/clk/meson/g12a.c .width = 1, width 1685 drivers/clk/meson/g12a.c .width = 8, width 1690 drivers/clk/meson/g12a.c .width = 5, width 1695 drivers/clk/meson/g12a.c .width = 17, width 1700 drivers/clk/meson/g12a.c .width = 1, width 1705 drivers/clk/meson/g12a.c .width = 1, width 1724 drivers/clk/meson/g12a.c .width = 3, width 1755 drivers/clk/meson/g12a.c .width = 1, width 1760 drivers/clk/meson/g12a.c .width = 8, width 1765 drivers/clk/meson/g12a.c .width = 5, width 1770 drivers/clk/meson/g12a.c .width = 17, width 1775 drivers/clk/meson/g12a.c .width = 1, width 1780 drivers/clk/meson/g12a.c .width = 1, width 1801 drivers/clk/meson/g12a.c .width = 2, width 1847 drivers/clk/meson/g12a.c .width = 1, width 1852 drivers/clk/meson/g12a.c .width = 8, width 1857 drivers/clk/meson/g12a.c .width = 5, width 1862 drivers/clk/meson/g12a.c .width = 12, width 1867 drivers/clk/meson/g12a.c .width = 1, width 1872 drivers/clk/meson/g12a.c .width = 1, width 1906 drivers/clk/meson/g12a.c .width = 5, width 1941 drivers/clk/meson/g12a.c .width = 1, width 1946 drivers/clk/meson/g12a.c .width = 8, width 1951 drivers/clk/meson/g12a.c .width = 5, width 1956 drivers/clk/meson/g12a.c .width = 16, width 1961 drivers/clk/meson/g12a.c .width = 1, width 1966 drivers/clk/meson/g12a.c .width = 1, width 1988 drivers/clk/meson/g12a.c .width = 2, width 2006 drivers/clk/meson/g12a.c .width = 2, width 2024 drivers/clk/meson/g12a.c .width = 2, width 2196 drivers/clk/meson/g12a.c .width = 14, width 2201 drivers/clk/meson/g12a.c .width = 1, width 2206 drivers/clk/meson/g12a.c .width = 9, width 2211 drivers/clk/meson/g12a.c .width = 1, width 2250 drivers/clk/meson/g12a.c .width = 14, width 2255 drivers/clk/meson/g12a.c .width = 1, width 2260 drivers/clk/meson/g12a.c .width = 9, width 2265 drivers/clk/meson/g12a.c .width = 1, width 2304 drivers/clk/meson/g12a.c .width = 14, width 2309 drivers/clk/meson/g12a.c .width = 1, width 2314 drivers/clk/meson/g12a.c .width = 9, width 2319 drivers/clk/meson/g12a.c .width = 1, width 2358 drivers/clk/meson/g12a.c .width = 14, width 2363 drivers/clk/meson/g12a.c .width = 1, width 2368 drivers/clk/meson/g12a.c .width = 9, width 2373 drivers/clk/meson/g12a.c .width = 1, width 2433 drivers/clk/meson/g12a.c .width = 7, width 2496 drivers/clk/meson/g12a.c .width = 7, width 2545 drivers/clk/meson/g12a.c .width = 7, width 2594 drivers/clk/meson/g12a.c .width = 7, width 2630 drivers/clk/meson/g12a.c .width = 15, width 2635 drivers/clk/meson/g12a.c .width = 2, width 2719 drivers/clk/meson/g12a.c .width = 7, width 2763 drivers/clk/meson/g12a.c .width = 7, width 2842 drivers/clk/meson/g12a.c .width = 7, width 2892 drivers/clk/meson/g12a.c .width = 7, width 2942 drivers/clk/meson/g12a.c .width = 7, width 3004 drivers/clk/meson/g12a.c .width = 7, width 3052 drivers/clk/meson/g12a.c .width = 7, width 3190 drivers/clk/meson/g12a.c .width = 8, width 3207 drivers/clk/meson/g12a.c .width = 8, width 3678 drivers/clk/meson/g12a.c .width = 7, width 3737 drivers/clk/meson/g12a.c .width = 7, width 3785 drivers/clk/meson/g12a.c .width = 7, width 3838 drivers/clk/meson/g12a.c .width = 8, width 90 drivers/clk/meson/gxbb-aoclk.c .width = 12, width 95 drivers/clk/meson/gxbb-aoclk.c .width = 12, width 100 drivers/clk/meson/gxbb-aoclk.c .width = 12, width 105 drivers/clk/meson/gxbb-aoclk.c .width = 12, width 110 drivers/clk/meson/gxbb-aoclk.c .width = 1, width 90 drivers/clk/meson/gxbb.c .width = 1, width 95 drivers/clk/meson/gxbb.c .width = 9, width 100 drivers/clk/meson/gxbb.c .width = 5, width 105 drivers/clk/meson/gxbb.c .width = 12, width 110 drivers/clk/meson/gxbb.c .width = 1, width 115 drivers/clk/meson/gxbb.c .width = 1, width 132 drivers/clk/meson/gxbb.c .width = 2, width 167 drivers/clk/meson/gxbb.c .width = 1, width 172 drivers/clk/meson/gxbb.c .width = 9, width 177 drivers/clk/meson/gxbb.c .width = 5, width 182 drivers/clk/meson/gxbb.c .width = 12, width 187 drivers/clk/meson/gxbb.c .width = 1, width 192 drivers/clk/meson/gxbb.c .width = 1, width 215 drivers/clk/meson/gxbb.c .width = 1, width 220 drivers/clk/meson/gxbb.c .width = 9, width 225 drivers/clk/meson/gxbb.c .width = 5, width 236 drivers/clk/meson/gxbb.c .width = 10, width 241 drivers/clk/meson/gxbb.c .width = 1, width 246 drivers/clk/meson/gxbb.c .width = 1, width 268 drivers/clk/meson/gxbb.c .width = 2, width 286 drivers/clk/meson/gxbb.c .width = 2, width 304 drivers/clk/meson/gxbb.c .width = 2, width 322 drivers/clk/meson/gxbb.c .width = 2, width 340 drivers/clk/meson/gxbb.c .width = 2, width 358 drivers/clk/meson/gxbb.c .width = 2, width 377 drivers/clk/meson/gxbb.c .width = 1, width 382 drivers/clk/meson/gxbb.c .width = 9, width 387 drivers/clk/meson/gxbb.c .width = 5, width 392 drivers/clk/meson/gxbb.c .width = 1, width 397 drivers/clk/meson/gxbb.c .width = 1, width 414 drivers/clk/meson/gxbb.c .width = 2, width 439 drivers/clk/meson/gxbb.c .width = 1, width 444 drivers/clk/meson/gxbb.c .width = 9, width 449 drivers/clk/meson/gxbb.c .width = 5, width 454 drivers/clk/meson/gxbb.c .width = 1, width 459 drivers/clk/meson/gxbb.c .width = 1, width 488 drivers/clk/meson/gxbb.c .width = 1, width 493 drivers/clk/meson/gxbb.c .width = 9, width 498 drivers/clk/meson/gxbb.c .width = 5, width 503 drivers/clk/meson/gxbb.c .width = 10, width 508 drivers/clk/meson/gxbb.c .width = 1, width 513 drivers/clk/meson/gxbb.c .width = 1, width 533 drivers/clk/meson/gxbb.c .width = 2, width 704 drivers/clk/meson/gxbb.c .width = 1, width 719 drivers/clk/meson/gxbb.c .width = 14, width 724 drivers/clk/meson/gxbb.c .width = 1, width 729 drivers/clk/meson/gxbb.c .width = 9, width 762 drivers/clk/meson/gxbb.c .width = 14, width 767 drivers/clk/meson/gxbb.c .width = 1, width 772 drivers/clk/meson/gxbb.c .width = 9, width 805 drivers/clk/meson/gxbb.c .width = 14, width 810 drivers/clk/meson/gxbb.c .width = 1, width 815 drivers/clk/meson/gxbb.c .width = 9, width 878 drivers/clk/meson/gxbb.c .width = 7, width 929 drivers/clk/meson/gxbb.c .width = 8, width 998 drivers/clk/meson/gxbb.c .width = 7, width 1051 drivers/clk/meson/gxbb.c .width = 7, width 1124 drivers/clk/meson/gxbb.c .width = 8, width 1178 drivers/clk/meson/gxbb.c .width = 8, width 1261 drivers/clk/meson/gxbb.c .width = 14, width 1324 drivers/clk/meson/gxbb.c .width = 7, width 1374 drivers/clk/meson/gxbb.c .width = 7, width 1424 drivers/clk/meson/gxbb.c .width = 7, width 1486 drivers/clk/meson/gxbb.c .width = 7, width 1534 drivers/clk/meson/gxbb.c .width = 7, width 1613 drivers/clk/meson/gxbb.c .width = 7, width 1665 drivers/clk/meson/gxbb.c .width = 7, width 1737 drivers/clk/meson/gxbb.c .width = 15, width 1742 drivers/clk/meson/gxbb.c .width = 2, width 1893 drivers/clk/meson/gxbb.c .width = 8, width 1910 drivers/clk/meson/gxbb.c .width = 8, width 2387 drivers/clk/meson/gxbb.c .width = 7, width 2441 drivers/clk/meson/gxbb.c .width = 7, width 2491 drivers/clk/meson/gxbb.c .width = 7, width 2562 drivers/clk/meson/gxbb.c .width = 11, width 69 drivers/clk/meson/meson8b.c .width = 1, width 74 drivers/clk/meson/meson8b.c .width = 9, width 79 drivers/clk/meson/meson8b.c .width = 5, width 84 drivers/clk/meson/meson8b.c .width = 12, width 89 drivers/clk/meson/meson8b.c .width = 1, width 94 drivers/clk/meson/meson8b.c .width = 1, width 111 drivers/clk/meson/meson8b.c .width = 2, width 133 drivers/clk/meson/meson8b.c .width = 1, width 138 drivers/clk/meson/meson8b.c .width = 9, width 143 drivers/clk/meson/meson8b.c .width = 5, width 148 drivers/clk/meson/meson8b.c .width = 12, width 153 drivers/clk/meson/meson8b.c .width = 1, width 158 drivers/clk/meson/meson8b.c .width = 1, width 176 drivers/clk/meson/meson8b.c .width = 2, width 194 drivers/clk/meson/meson8b.c .width = 2, width 213 drivers/clk/meson/meson8b.c .width = 1, width 218 drivers/clk/meson/meson8b.c .width = 9, width 223 drivers/clk/meson/meson8b.c .width = 5, width 228 drivers/clk/meson/meson8b.c .width = 1, width 233 drivers/clk/meson/meson8b.c .width = 1, width 251 drivers/clk/meson/meson8b.c .width = 2, width 416 drivers/clk/meson/meson8b.c .width = 1, width 433 drivers/clk/meson/meson8b.c .width = 14, width 438 drivers/clk/meson/meson8b.c .width = 1, width 443 drivers/clk/meson/meson8b.c .width = 9, width 448 drivers/clk/meson/meson8b.c .width = 1, width 483 drivers/clk/meson/meson8b.c .width = 14, width 488 drivers/clk/meson/meson8b.c .width = 1, width 493 drivers/clk/meson/meson8b.c .width = 9, width 528 drivers/clk/meson/meson8b.c .width = 14, width 533 drivers/clk/meson/meson8b.c .width = 1, width 538 drivers/clk/meson/meson8b.c .width = 9, width 597 drivers/clk/meson/meson8b.c .width = 7, width 688 drivers/clk/meson/meson8b.c .width = 10, width 777 drivers/clk/meson/meson8b.c .width = 7, width 1101 drivers/clk/meson/meson8b.c .width = 3, width 1118 drivers/clk/meson/meson8b.c .width = 3, width 1154 drivers/clk/meson/meson8b.c .width = 8, width 1736 drivers/clk/meson/meson8b.c .width = 7, width 1811 drivers/clk/meson/meson8b.c .width = 7, width 1866 drivers/clk/meson/meson8b.c .width = 7, width 1923 drivers/clk/meson/meson8b.c .width = 1, width 1928 drivers/clk/meson/meson8b.c .width = 9, width 1933 drivers/clk/meson/meson8b.c .width = 5, width 1938 drivers/clk/meson/meson8b.c .width = 1, width 1943 drivers/clk/meson/meson8b.c .width = 1, width 1961 drivers/clk/meson/meson8b.c .width = 2, width 2023 drivers/clk/meson/meson8b.c .width = 7, width 2094 drivers/clk/meson/meson8b.c .width = 7, width 2178 drivers/clk/meson/meson8b.c .width = 7, width 2212 drivers/clk/meson/meson8b.c .width = 7, width 2281 drivers/clk/meson/meson8b.c .width = 7, width 2331 drivers/clk/meson/meson8b.c .width = 7, width 2381 drivers/clk/meson/meson8b.c .width = 7, width 2459 drivers/clk/meson/meson8b.c .width = 8, width 2518 drivers/clk/meson/meson8b.c .width = 8, width 13 drivers/clk/meson/parm.h #define PMASK(width) GENMASK(width - 1, 0) width 14 drivers/clk/meson/parm.h #define SETPMASK(width, shift) GENMASK(shift + width - 1, shift) width 15 drivers/clk/meson/parm.h #define CLRPMASK(width, shift) (~SETPMASK(width, shift)) width 17 drivers/clk/meson/parm.h #define PARM_GET(width, shift, reg) \ width 18 drivers/clk/meson/parm.h (((reg) & SETPMASK(width, shift)) >> (shift)) width 19 drivers/clk/meson/parm.h #define PARM_SET(width, shift, reg, val) \ width 20 drivers/clk/meson/parm.h (((reg) & CLRPMASK(width, shift)) | ((val) << (shift))) width 22 drivers/clk/meson/parm.h #define MESON_PARM_APPLICABLE(p) (!!((p)->width)) width 27 drivers/clk/meson/parm.h u8 width; width 35 drivers/clk/meson/parm.h return PARM_GET(p->width, p->shift, val); width 41 drivers/clk/meson/parm.h regmap_update_bits(map, p->reg_off, SETPMASK(p->width, p->shift), width 33 drivers/clk/meson/sclk-div.c return (1 << sclk->div.width) - 1; width 138 drivers/clk/mmp/clk-mix.c u8 width, shift; width 156 drivers/clk/mmp/clk-mix.c width = ri->width_div; width 158 drivers/clk/mmp/clk-mix.c mux_div &= ~MMP_CLK_BITS_MASK(width, shift); width 159 drivers/clk/mmp/clk-mix.c mux_div |= MMP_CLK_BITS_SET_VAL(div_val, width, shift); width 163 drivers/clk/mmp/clk-mix.c width = ri->width_mux; width 165 drivers/clk/mmp/clk-mix.c mux_div &= ~MMP_CLK_BITS_MASK(width, shift); width 166 drivers/clk/mmp/clk-mix.c mux_div |= MMP_CLK_BITS_SET_VAL(mux_val, width, shift); width 295 drivers/clk/mmp/clk-mix.c u8 width, shift; width 310 drivers/clk/mmp/clk-mix.c width = mix->reg_info.width_mux; width 313 drivers/clk/mmp/clk-mix.c mux_val = MMP_CLK_BITS_GET_VAL(mux_div, width, shift); width 325 drivers/clk/mmp/clk-mix.c u8 width, shift; width 340 drivers/clk/mmp/clk-mix.c width = mix->reg_info.width_div; width 343 drivers/clk/mmp/clk-mix.c div = _get_div(mix, MMP_CLK_BITS_GET_VAL(mux_div, width, shift)); width 138 drivers/clk/mmp/clk.c clks[i].width, width 165 drivers/clk/mmp/clk.c clks[i].width, width 42 drivers/clk/mmp/clk.h #define MMP_CLK_BITS_MASK(width, shift) \ width 43 drivers/clk/mmp/clk.h (((1 << (width)) - 1) << (shift)) width 44 drivers/clk/mmp/clk.h #define MMP_CLK_BITS_GET_VAL(data, width, shift) \ width 45 drivers/clk/mmp/clk.h ((data & MMP_CLK_BITS_MASK(width, shift)) >> (shift)) width 46 drivers/clk/mmp/clk.h #define MMP_CLK_BITS_SET_VAL(val, width, shift) \ width 47 drivers/clk/mmp/clk.h (((val) << (shift)) & MMP_CLK_BITS_MASK(width, shift)) width 204 drivers/clk/mmp/clk.h u8 width; width 219 drivers/clk/mmp/clk.h u8 width; width 653 drivers/clk/mvebu/armada-37xx-periph.c rate->width = order_base_2(table_size); width 250 drivers/clk/mvebu/kirkwood.c int width; width 320 drivers/clk/mvebu/kirkwood.c desc[n].width, desc[n].flags, ctrl->lock); width 71 drivers/clk/mxs/clk-div.c void __iomem *reg, u8 shift, u8 width, u8 busy) width 92 drivers/clk/mxs/clk-div.c div->divider.width = width; width 27 drivers/clk/mxs/clk-frac.c u8 width; width 41 drivers/clk/mxs/clk-frac.c div &= (1 << frac->width) - 1; width 44 drivers/clk/mxs/clk-frac.c return tmp_rate >> frac->width; width 59 drivers/clk/mxs/clk-frac.c tmp <<= frac->width; width 67 drivers/clk/mxs/clk-frac.c result = tmp_rate >> frac->width; width 68 drivers/clk/mxs/clk-frac.c if ((result << frac->width) < tmp_rate) width 85 drivers/clk/mxs/clk-frac.c tmp <<= frac->width; width 95 drivers/clk/mxs/clk-frac.c val &= ~(((1 << frac->width) - 1) << frac->shift); width 111 drivers/clk/mxs/clk-frac.c void __iomem *reg, u8 shift, u8 width, u8 busy) width 129 drivers/clk/mxs/clk-frac.c frac->width = width; width 28 drivers/clk/mxs/clk.h void __iomem *reg, u8 shift, u8 width, u8 busy); width 31 drivers/clk/mxs/clk.h void __iomem *reg, u8 shift, u8 width, u8 busy); width 47 drivers/clk/mxs/clk.h u8 shift, u8 width, const char *const *parent_names, int num_parents) width 51 drivers/clk/mxs/clk.h reg, shift, width, 0, &mxs_lock); width 221 drivers/clk/nxp/clk-lpc18xx-ccu.c div->width = 1; width 178 drivers/clk/nxp/clk-lpc18xx-cgu.c .width = _width, \ width 354 drivers/clk/nxp/clk-lpc32xx.c u8 width; width 920 drivers/clk/nxp/clk-lpc32xx.c #define div_mask(width) ((1 << (width)) - 1) width 934 drivers/clk/nxp/clk-lpc32xx.c unsigned int val, unsigned long flags, u8 width) width 952 drivers/clk/nxp/clk-lpc32xx.c val &= div_mask(divider->width); width 955 drivers/clk/nxp/clk-lpc32xx.c divider->flags, divider->width); width 968 drivers/clk/nxp/clk-lpc32xx.c bestdiv &= div_mask(divider->width); width 970 drivers/clk/nxp/clk-lpc32xx.c divider->width); width 975 drivers/clk/nxp/clk-lpc32xx.c divider->width, divider->flags); width 985 drivers/clk/nxp/clk-lpc32xx.c divider->width, divider->flags); width 988 drivers/clk/nxp/clk-lpc32xx.c div_mask(divider->width) << divider->shift, width 1140 drivers/clk/nxp/clk-lpc32xx.c .width = (_width), \ width 101 drivers/clk/pistachio/clk.c div[i].width, div[i].div_flags, width 53 drivers/clk/pistachio/clk.h unsigned int width; width 63 drivers/clk/pistachio/clk.h .width = _width, \ width 73 drivers/clk/pistachio/clk.h .width = _width, \ width 71 drivers/clk/qcom/camcc-sdm845.c .width = 4, width 99 drivers/clk/qcom/camcc-sdm845.c .width = 4, width 127 drivers/clk/qcom/camcc-sdm845.c .width = 4, width 155 drivers/clk/qcom/camcc-sdm845.c .width = 4, width 41 drivers/clk/qcom/clk-alpha-pll.c # define PLL_POST_DIV_MASK(p) GENMASK((p)->width, 0) width 957 drivers/clk/qcom/clk-alpha-pll.c if (pll->width == 2) width 963 drivers/clk/qcom/clk-alpha-pll.c pll->width, CLK_DIVIDER_POWER_OF_TWO); width 976 drivers/clk/qcom/clk-alpha-pll.c ctl &= BIT(pll->width) - 1; width 1201 drivers/clk/qcom/clk-alpha-pll.c val &= BIT(pll->width) - 1; width 1242 drivers/clk/qcom/clk-alpha-pll.c pll->width, CLK_DIVIDER_ROUND_CLOSEST); width 1279 drivers/clk/qcom/clk-alpha-pll.c pll->width, CLK_DIVIDER_ROUND_CLOSEST); width 1308 drivers/clk/qcom/clk-alpha-pll.c (BIT(pll->width) - 1) << pll->post_div_shift, width 82 drivers/clk/qcom/clk-alpha-pll.h u8 width; width 92 drivers/clk/qcom/clk-krait.c u32 mask = BIT(d->width) - 1; width 110 drivers/clk/qcom/clk-krait.c u32 mask = BIT(d->width) - 1; width 29 drivers/clk/qcom/clk-krait.h u8 width; width 109 drivers/clk/qcom/clk-rcg.c md &= BIT(mn->width) - 1; width 136 drivers/clk/qcom/clk-rcg.c mask_w = BIT(mn->width) - 1; width 152 drivers/clk/qcom/clk-rcg.c ns &= BIT(mn->width) - 1; width 167 drivers/clk/qcom/clk-rcg.c mask = BIT(mn->width) - 1; width 174 drivers/clk/qcom/clk-rcg.c n &= BIT(mn->width) - 1; width 207 drivers/clk/qcom/clk-rcg.c bool banked_mn = !!rcg->mn[1].width; width 297 drivers/clk/qcom/clk-rcg.c bool banked_mn = !!rcg->mn[1].width; width 351 drivers/clk/qcom/clk-rcg.c if (rcg->mn.width) { width 374 drivers/clk/qcom/clk-rcg.c bool banked_mn = !!rcg->mn[1].width; width 486 drivers/clk/qcom/clk-rcg.c if (rcg->mn.width) { width 38 drivers/clk/qcom/clk-rcg.h u8 width; width 27 drivers/clk/qcom/clk-regmap-divider.c val &= BIT(divider->width) - 1; width 29 drivers/clk/qcom/clk-regmap-divider.c return divider_ro_round_rate(hw, rate, prate, NULL, divider->width, width 38 drivers/clk/qcom/clk-regmap-divider.c return divider_round_rate(hw, rate, prate, NULL, divider->width, width 49 drivers/clk/qcom/clk-regmap-divider.c div = divider_get_val(rate, parent_rate, NULL, divider->width, width 53 drivers/clk/qcom/clk-regmap-divider.c (BIT(divider->width) - 1) << divider->shift, width 66 drivers/clk/qcom/clk-regmap-divider.c div &= BIT(divider->width) - 1; width 69 drivers/clk/qcom/clk-regmap-divider.c CLK_DIVIDER_ROUND_CLOSEST, divider->width); width 15 drivers/clk/qcom/clk-regmap-divider.h u32 width; width 22 drivers/clk/qcom/clk-regmap-mux.c unsigned int mask = GENMASK(mux->width - 1, 0); width 40 drivers/clk/qcom/clk-regmap-mux.c unsigned int mask = GENMASK(mux->width + mux->shift - 1, mux->shift); width 16 drivers/clk/qcom/clk-regmap-mux.h u32 width; width 31 drivers/clk/qcom/clk-rpmh.c __le16 width; width 307 drivers/clk/qcom/dispcc-sdm845.c .width = 2, width 362 drivers/clk/qcom/dispcc-sdm845.c .width = 2, width 1285 drivers/clk/qcom/gcc-ipq4019.c mask = (BIT(pll->cdiv.width) - 1) << pll->cdiv.shift; width 1313 drivers/clk/qcom/gcc-ipq4019.c cdiv = (cdiv >> pll->cdiv.shift) & (BIT(pll->cdiv.width) - 1); width 1358 drivers/clk/qcom/gcc-ipq4019.c .cdiv.width = 4, width 1393 drivers/clk/qcom/gcc-ipq4019.c cdiv = (cdiv >> pll->cdiv.shift) & (BIT(pll->cdiv.width) - 1); width 1497 drivers/clk/qcom/gcc-ipq4019.c .cdiv.width = 2, width 1515 drivers/clk/qcom/gcc-ipq4019.c .cdiv.width = 2, width 349 drivers/clk/qcom/gcc-ipq806x.c .width = 16, width 400 drivers/clk/qcom/gcc-ipq806x.c .width = 16, width 451 drivers/clk/qcom/gcc-ipq806x.c .width = 16, width 502 drivers/clk/qcom/gcc-ipq806x.c .width = 16, width 553 drivers/clk/qcom/gcc-ipq806x.c .width = 16, width 604 drivers/clk/qcom/gcc-ipq806x.c .width = 16, width 668 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 717 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 766 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 815 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 864 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 913 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 1063 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 1112 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 1161 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 1275 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 1323 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 1406 drivers/clk/qcom/gcc-ipq806x.c .width = 16, width 1986 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2056 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2126 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2190 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2305 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2313 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2377 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2385 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2449 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2457 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2521 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2529 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2659 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2667 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2712 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 2720 drivers/clk/qcom/gcc-ipq806x.c .width = 8, width 433 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 465 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 498 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 532 drivers/clk/qcom/gcc-ipq8074.c .width = 2, width 579 drivers/clk/qcom/gcc-ipq8074.c .width = 2, width 611 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 999 drivers/clk/qcom/gcc-ipq8074.c .width = 2, width 1042 drivers/clk/qcom/gcc-ipq8074.c .width = 2, width 1179 drivers/clk/qcom/gcc-ipq8074.c .width = 2, width 1237 drivers/clk/qcom/gcc-ipq8074.c .width = 2, width 1418 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1449 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1557 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1594 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1624 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1654 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1684 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1714 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1744 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1774 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1814 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1854 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1894 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 1934 drivers/clk/qcom/gcc-ipq8074.c .width = 4, width 193 drivers/clk/qcom/gcc-mdm9615.c .width = 16, width 244 drivers/clk/qcom/gcc-mdm9615.c .width = 16, width 295 drivers/clk/qcom/gcc-mdm9615.c .width = 16, width 346 drivers/clk/qcom/gcc-mdm9615.c .width = 16, width 397 drivers/clk/qcom/gcc-mdm9615.c .width = 16, width 460 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 509 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 558 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 607 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 656 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 711 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 760 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 809 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 923 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 971 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 1024 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 1073 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 1128 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 1183 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 1238 drivers/clk/qcom/gcc-mdm9615.c .width = 8, width 109 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 160 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 211 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 262 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 313 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 364 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 415 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 466 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 515 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 564 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 613 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 662 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 724 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 773 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 822 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 871 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 920 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 969 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1018 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1067 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1116 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1165 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1214 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1263 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1325 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1374 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1423 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1534 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1582 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1630 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1678 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1726 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1779 drivers/clk/qcom/gcc-msm8660.c .width = 16, width 1833 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1882 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 1949 drivers/clk/qcom/gcc-msm8660.c .width = 8, width 335 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 386 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 437 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 488 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 539 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 590 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 641 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 692 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 741 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 790 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 839 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 888 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 950 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 999 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1048 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1097 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1146 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1195 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1244 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1293 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1342 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1391 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1440 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1489 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1551 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1600 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1649 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1763 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1811 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1859 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1907 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 1955 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 2008 drivers/clk/qcom/gcc-msm8960.c .width = 16, width 2062 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 2111 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 2160 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 2209 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 2304 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 2371 drivers/clk/qcom/gcc-msm8960.c .width = 8, width 196 drivers/clk/qcom/gcc-sdm845.c .width = 4, width 74 drivers/clk/qcom/gcc-sm8150.c .width = 4, width 88 drivers/clk/qcom/krait-cc.c div->width = 2; width 117 drivers/clk/qcom/lcc-ipq806x.c .width = 8, width 165 drivers/clk/qcom/lcc-ipq806x.c .width = 4, width 197 drivers/clk/qcom/lcc-ipq806x.c .width = 1, width 231 drivers/clk/qcom/lcc-ipq806x.c .width = 16, width 275 drivers/clk/qcom/lcc-ipq806x.c .width = 1, width 311 drivers/clk/qcom/lcc-ipq806x.c .width = 8, width 370 drivers/clk/qcom/lcc-ipq806x.c .width = 8, width 100 drivers/clk/qcom/lcc-mdm9615.c .width = 8, width 148 drivers/clk/qcom/lcc-mdm9615.c .width = 4, width 181 drivers/clk/qcom/lcc-mdm9615.c .width = 1, width 206 drivers/clk/qcom/lcc-mdm9615.c .width = 8, \ width 254 drivers/clk/qcom/lcc-mdm9615.c .width = 8, \ width 287 drivers/clk/qcom/lcc-mdm9615.c .width = 1, \ width 350 drivers/clk/qcom/lcc-mdm9615.c .width = 16, width 394 drivers/clk/qcom/lcc-mdm9615.c .width = 1, width 418 drivers/clk/qcom/lcc-mdm9615.c .width = 8, width 98 drivers/clk/qcom/lcc-msm8960.c .width = 8, width 146 drivers/clk/qcom/lcc-msm8960.c .width = 4, width 179 drivers/clk/qcom/lcc-msm8960.c .width = 1, width 204 drivers/clk/qcom/lcc-msm8960.c .width = 8, \ width 252 drivers/clk/qcom/lcc-msm8960.c .width = 8, \ width 285 drivers/clk/qcom/lcc-msm8960.c .width = 1, \ width 348 drivers/clk/qcom/lcc-msm8960.c .width = 16, width 392 drivers/clk/qcom/lcc-msm8960.c .width = 1, width 416 drivers/clk/qcom/lcc-msm8960.c .width = 8, width 179 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 228 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 277 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 332 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 396 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 460 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 712 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 813 drivers/clk/qcom/mmcc-msm8960.c .width = 4, width 821 drivers/clk/qcom/mmcc-msm8960.c .width = 4, width 873 drivers/clk/qcom/mmcc-msm8960.c .width = 4, width 881 drivers/clk/qcom/mmcc-msm8960.c .width = 4, width 974 drivers/clk/qcom/mmcc-msm8960.c .width = 4, width 982 drivers/clk/qcom/mmcc-msm8960.c .width = 4, width 1052 drivers/clk/qcom/mmcc-msm8960.c .width = 4, width 1060 drivers/clk/qcom/mmcc-msm8960.c .width = 4, width 1140 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 1259 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 1267 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 1430 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 1592 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 1600 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 1720 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 2055 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 2103 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 2305 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 2352 drivers/clk/qcom/mmcc-msm8960.c .width = 8, width 278 drivers/clk/qcom/mmcc-msm8996.c .width = 4, width 308 drivers/clk/qcom/mmcc-msm8996.c .width = 4, width 334 drivers/clk/qcom/mmcc-msm8996.c .width = 4, width 360 drivers/clk/qcom/mmcc-msm8996.c .width = 4, width 386 drivers/clk/qcom/mmcc-msm8996.c .width = 2, width 412 drivers/clk/qcom/mmcc-msm8996.c .width = 4, width 438 drivers/clk/qcom/mmcc-msm8996.c .width = 4, width 464 drivers/clk/qcom/mmcc-msm8996.c .width = 2, width 220 drivers/clk/renesas/clk-rcar-gen2.c div->width = 4; width 79 drivers/clk/renesas/clk-sh73a0.c unsigned int shift, reg, width; width 134 drivers/clk/renesas/clk-sh73a0.c width = 5; width 144 drivers/clk/renesas/clk-sh73a0.c width = 4; width 157 drivers/clk/renesas/clk-sh73a0.c cpg->reg + reg, shift, width, 0, width 219 drivers/clk/renesas/rcar-gen2-cpg.c div->width = 4; width 454 drivers/clk/renesas/rcar-gen3-cpg.c rpc->div.width = 3; width 11 drivers/clk/rockchip/clk-half-divider.c #define div_mask(width) ((1 << (width)) - 1) width 29 drivers/clk/rockchip/clk-half-divider.c val &= div_mask(divider->width); width 36 drivers/clk/rockchip/clk-half-divider.c unsigned long *best_parent_rate, u8 width, width 46 drivers/clk/rockchip/clk-half-divider.c maxdiv = div_mask(width); width 88 drivers/clk/rockchip/clk-half-divider.c bestdiv = div_mask(width); width 102 drivers/clk/rockchip/clk-half-divider.c divider->width, width 118 drivers/clk/rockchip/clk-half-divider.c value = min_t(unsigned int, value, div_mask(divider->width)); width 126 drivers/clk/rockchip/clk-half-divider.c val = div_mask(divider->width) << (divider->shift + 16); width 129 drivers/clk/rockchip/clk-half-divider.c val &= ~(div_mask(divider->width) << divider->shift); width 211 drivers/clk/rockchip/clk-half-divider.c div->width = div_width; width 15 drivers/clk/rockchip/clk-muxgrf.c u32 width; width 24 drivers/clk/rockchip/clk-muxgrf.c unsigned int mask = GENMASK(mux->width - 1, 0); width 38 drivers/clk/rockchip/clk-muxgrf.c unsigned int mask = GENMASK(mux->width + mux->shift - 1, mux->shift); width 59 drivers/clk/rockchip/clk-muxgrf.c int shift, int width, int mux_flags) width 84 drivers/clk/rockchip/clk-muxgrf.c muxgrf_clock->width = width; width 95 drivers/clk/rockchip/clk.c div->width = div_width; width 385 drivers/clk/rockchip/clk.h int shift, int width, int mux_flags); width 188 drivers/clk/samsung/clk.c list->shift, list->width, list->mux_flags, &ctx->lock); width 212 drivers/clk/samsung/clk.c list->shift, list->width, list->div_flags, width 218 drivers/clk/samsung/clk.c list->width, list->div_flags, &ctx->lock); width 124 drivers/clk/samsung/clk.h u8 width; width 137 drivers/clk/samsung/clk.h .width = w, \ width 164 drivers/clk/samsung/clk.h u8 width; width 177 drivers/clk/samsung/clk.h .width = w, \ width 251 drivers/clk/sirf/clk-atlas7.c u8 width; width 265 drivers/clk/sirf/clk-atlas7.c u8 width; width 1646 drivers/clk/sirf/clk-atlas7.c div->shift, div->width, 0, div->lock); width 1659 drivers/clk/sirf/clk-atlas7.c mux->shift, mux->width, width 31 drivers/clk/socfpga/clk-gate-a10.c val &= GENMASK(socfpgaclk->width - 1, 0); width 134 drivers/clk/socfpga/clk-gate-a10.c socfpga_clk->width = div_reg[2]; width 24 drivers/clk/socfpga/clk-gate-s10.c val &= GENMASK(socfpgaclk->width - 1, 0); width 37 drivers/clk/socfpga/clk-gate-s10.c val &= GENMASK(socfpgaclk->width - 1, 0); width 98 drivers/clk/socfpga/clk-gate-s10.c socfpga_clk->width = div_width; width 100 drivers/clk/socfpga/clk-gate.c val &= GENMASK(socfpgaclk->width - 1, 0); width 215 drivers/clk/socfpga/clk-gate.c socfpga_clk->width = div_reg[2]; width 30 drivers/clk/socfpga/clk-periph-a10.c div &= GENMASK(socfpgaclk->width - 1, 0); width 85 drivers/clk/socfpga/clk-periph-a10.c periph_clk->width = div_reg[2]; width 28 drivers/clk/socfpga/clk-periph.c val &= GENMASK(socfpgaclk->width - 1, 0); width 75 drivers/clk/socfpga/clk-periph.c periph_clk->width = div_reg[2]; width 50 drivers/clk/socfpga/clk.h u32 width; /* only valid if div_reg != 0 */ width 62 drivers/clk/socfpga/clk.h u32 width; /* only valid if div_reg != 0 */ width 18 drivers/clk/sprd/div.c NULL, div->width, 0); width 40 drivers/clk/sprd/div.c val &= (1 << div->width) - 1; width 43 drivers/clk/sprd/div.c div->width); width 64 drivers/clk/sprd/div.c div->width, 0); width 67 drivers/clk/sprd/div.c reg &= ~GENMASK(div->width + div->shift - 1, div->shift); width 24 drivers/clk/sprd/div.h u8 width; width 30 drivers/clk/sprd/div.h .width = _width, \ width 24 drivers/clk/sprd/mux.c parent &= (1 << mux->width) - 1; width 56 drivers/clk/sprd/mux.c reg &= ~GENMASK(mux->width + mux->shift - 1, mux->shift); width 23 drivers/clk/sprd/mux.h u8 width; width 35 drivers/clk/sprd/mux.h .width = _width, \ width 25 drivers/clk/sprd/pll.c pll->factors[member].width width 152 drivers/clk/sprd/pll.c u32 mask, shift, width, ibias_val, index; width 165 drivers/clk/sprd/pll.c width = pwidth(pll, PLL_PREDIV); width 166 drivers/clk/sprd/pll.c if (width && (sprd_pll_read(pll, index) & mask)) width 171 drivers/clk/sprd/pll.c width = pwidth(pll, PLL_POSTDIV); width 173 drivers/clk/sprd/pll.c if (width && ((pll->fflag == 1 && fvco <= pll->fvco) || width 177 drivers/clk/sprd/pll.c if (width && fvco <= pll->fvco) width 199 drivers/clk/sprd/pll.c width = pwidth(pll, PLL_KINT); width 20 drivers/clk/sprd/pll.h u8 width; width 127 drivers/clk/sprd/sc9860-clk.c { .shift = 20, .width = 1 }, /* lock_done */ width 128 drivers/clk/sprd/sc9860-clk.c { .shift = 19, .width = 1 }, /* div_s */ width 129 drivers/clk/sprd/sc9860-clk.c { .shift = 18, .width = 1 }, /* mod_en */ width 130 drivers/clk/sprd/sc9860-clk.c { .shift = 17, .width = 1 }, /* sdm_en */ width 131 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* refin */ width 132 drivers/clk/sprd/sc9860-clk.c { .shift = 11, .width = 2 }, /* ibias */ width 133 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 7 }, /* n */ width 134 drivers/clk/sprd/sc9860-clk.c { .shift = 57, .width = 7 }, /* nint */ width 135 drivers/clk/sprd/sc9860-clk.c { .shift = 32, .width = 23}, /* kint */ width 136 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* prediv */ width 137 drivers/clk/sprd/sc9860-clk.c { .shift = 56, .width = 1 }, /* postdiv */ width 144 drivers/clk/sprd/sc9860-clk.c { .shift = 20, .width = 1 }, /* lock_done */ width 145 drivers/clk/sprd/sc9860-clk.c { .shift = 19, .width = 1 }, /* div_s */ width 146 drivers/clk/sprd/sc9860-clk.c { .shift = 18, .width = 1 }, /* mod_en */ width 147 drivers/clk/sprd/sc9860-clk.c { .shift = 17, .width = 1 }, /* sdm_en */ width 148 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* refin */ width 149 drivers/clk/sprd/sc9860-clk.c { .shift = 11, .width = 2 }, /* ibias */ width 150 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 7 }, /* n */ width 151 drivers/clk/sprd/sc9860-clk.c { .shift = 57, .width = 7 }, /* nint */ width 152 drivers/clk/sprd/sc9860-clk.c { .shift = 32, .width = 23}, /* kint */ width 153 drivers/clk/sprd/sc9860-clk.c { .shift = 56, .width = 1 }, /* prediv */ width 154 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* postdiv */ width 160 drivers/clk/sprd/sc9860-clk.c { .shift = 16, .width = 1 }, /* lock_done */ width 161 drivers/clk/sprd/sc9860-clk.c { .shift = 15, .width = 1 }, /* div_s */ width 162 drivers/clk/sprd/sc9860-clk.c { .shift = 14, .width = 1 }, /* mod_en */ width 163 drivers/clk/sprd/sc9860-clk.c { .shift = 13, .width = 1 }, /* sdm_en */ width 164 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* refin */ width 165 drivers/clk/sprd/sc9860-clk.c { .shift = 8, .width = 2 }, /* ibias */ width 166 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 7 }, /* n */ width 167 drivers/clk/sprd/sc9860-clk.c { .shift = 57, .width = 7 }, /* nint */ width 168 drivers/clk/sprd/sc9860-clk.c { .shift = 32, .width = 23}, /* kint */ width 169 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* prediv */ width 170 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* postdiv */ width 179 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 1 }, /* lock_done */ width 180 drivers/clk/sprd/sc9860-clk.c { .shift = 3, .width = 1 }, /* div_s */ width 181 drivers/clk/sprd/sc9860-clk.c { .shift = 80, .width = 1 }, /* mod_en */ width 182 drivers/clk/sprd/sc9860-clk.c { .shift = 81, .width = 1 }, /* sdm_en */ width 183 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* refin */ width 184 drivers/clk/sprd/sc9860-clk.c { .shift = 14, .width = 2 }, /* ibias */ width 185 drivers/clk/sprd/sc9860-clk.c { .shift = 16, .width = 7 }, /* n */ width 186 drivers/clk/sprd/sc9860-clk.c { .shift = 4, .width = 7 }, /* nint */ width 187 drivers/clk/sprd/sc9860-clk.c { .shift = 32, .width = 23}, /* kint */ width 188 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* prediv */ width 189 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* postdiv */ width 198 drivers/clk/sprd/sc9860-clk.c { .shift = 21, .width = 1 }, /* lock_done */ width 199 drivers/clk/sprd/sc9860-clk.c { .shift = 20, .width = 1 }, /* div_s */ width 200 drivers/clk/sprd/sc9860-clk.c { .shift = 19, .width = 1 }, /* mod_en */ width 201 drivers/clk/sprd/sc9860-clk.c { .shift = 18, .width = 1 }, /* sdm_en */ width 202 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* refin */ width 203 drivers/clk/sprd/sc9860-clk.c { .shift = 13, .width = 2 }, /* ibias */ width 204 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 7 }, /* n */ width 205 drivers/clk/sprd/sc9860-clk.c { .shift = 57, .width = 7 }, /* nint */ width 206 drivers/clk/sprd/sc9860-clk.c { .shift = 32, .width = 23}, /* kint */ width 207 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* prediv */ width 208 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* postdiv */ width 214 drivers/clk/sprd/sc9860-clk.c { .shift = 31, .width = 1 }, /* lock_done */ width 215 drivers/clk/sprd/sc9860-clk.c { .shift = 27, .width = 1 }, /* div_s */ width 216 drivers/clk/sprd/sc9860-clk.c { .shift = 26, .width = 1 }, /* mod_en */ width 217 drivers/clk/sprd/sc9860-clk.c { .shift = 25, .width = 1 }, /* sdm_en */ width 218 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* refin */ width 219 drivers/clk/sprd/sc9860-clk.c { .shift = 20, .width = 2 }, /* ibias */ width 220 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 7 }, /* n */ width 221 drivers/clk/sprd/sc9860-clk.c { .shift = 57, .width = 7 }, /* nint */ width 222 drivers/clk/sprd/sc9860-clk.c { .shift = 32, .width = 23}, /* kint */ width 223 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* prediv */ width 224 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* postdiv */ width 234 drivers/clk/sprd/sc9860-clk.c { .shift = 18, .width = 1 }, /* lock_done */ width 235 drivers/clk/sprd/sc9860-clk.c { .shift = 15, .width = 1 }, /* div_s */ width 236 drivers/clk/sprd/sc9860-clk.c { .shift = 14, .width = 1 }, /* mod_en */ width 237 drivers/clk/sprd/sc9860-clk.c { .shift = 13, .width = 1 }, /* sdm_en */ width 238 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* refin */ width 239 drivers/clk/sprd/sc9860-clk.c { .shift = 8, .width = 2 }, /* ibias */ width 240 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 7 }, /* n */ width 241 drivers/clk/sprd/sc9860-clk.c { .shift = 57, .width = 7 }, /* nint */ width 242 drivers/clk/sprd/sc9860-clk.c { .shift = 32, .width = 23}, /* kint */ width 243 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* prediv */ width 244 drivers/clk/sprd/sc9860-clk.c { .shift = 17, .width = 1 }, /* postdiv */ width 251 drivers/clk/sprd/sc9860-clk.c { .shift = 17, .width = 1 }, /* lock_done */ width 252 drivers/clk/sprd/sc9860-clk.c { .shift = 15, .width = 1 }, /* div_s */ width 253 drivers/clk/sprd/sc9860-clk.c { .shift = 14, .width = 1 }, /* mod_en */ width 254 drivers/clk/sprd/sc9860-clk.c { .shift = 13, .width = 1 }, /* sdm_en */ width 255 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* refin */ width 256 drivers/clk/sprd/sc9860-clk.c { .shift = 8, .width = 2 }, /* ibias */ width 257 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 7 }, /* n */ width 258 drivers/clk/sprd/sc9860-clk.c { .shift = 57, .width = 7 }, /* nint */ width 259 drivers/clk/sprd/sc9860-clk.c { .shift = 32, .width = 23}, /* kint */ width 260 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* prediv */ width 261 drivers/clk/sprd/sc9860-clk.c { .shift = 0, .width = 0 }, /* postdiv */ width 238 drivers/clk/st/clk-flexgen.c fgxbar->pdiv.width = 10; width 248 drivers/clk/st/clk-flexgen.c fgxbar->fdiv.width = 6; width 39 drivers/clk/st/clkgen-mux.c u8 width; width 48 drivers/clk/st/clkgen-mux.c .width = 2, width 76 drivers/clk/st/clkgen-mux.c data->shift, data->width, data->mux_flags, width 669 drivers/clk/st/clkgen-pll.c div->width = fls(pll_data->odf[odf].mask); width 224 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .width = 2, width 258 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .width = 2, width 827 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .width = 2, width 846 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .width = 2, width 228 drivers/clk/sunxi-ng/ccu-sun50i-a64.c { .index = 3, .shift = 6, .width = 2 }, width 235 drivers/clk/sunxi-ng/ccu-sun50i-a64.c .width = 2, width 277 drivers/clk/sunxi-ng/ccu-sun50i-a64.c .width = 1, width 28 drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c { .index = 3, .shift = 0, .width = 5 }, width 36 drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c .width = 2, width 71 drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c .width = 2, width 668 drivers/clk/sunxi-ng/ccu-sun50i-h6.c .width = 2, width 183 drivers/clk/sunxi-ng/ccu-sun5i.c .width = 2, width 207 drivers/clk/sunxi-ng/ccu-sun5i.c .width = 2, width 204 drivers/clk/sunxi-ng/ccu-sun6i-a31.c { .index = 3, .shift = 6, .width = 2 }, width 212 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .width = 2, width 667 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .width = 3, width 686 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .width = 3, width 705 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .width = 3, width 748 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .width = 4, width 769 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .width = 4, width 790 drivers/clk/sunxi-ng/ccu-sun6i-a31.c .width = 4, width 178 drivers/clk/sunxi-ng/ccu-sun8i-a23.c { .index = 3, .shift = 6, .width = 2 }, width 185 drivers/clk/sunxi-ng/ccu-sun8i-a23.c .width = 2, width 188 drivers/clk/sunxi-ng/ccu-sun8i-a33.c { .index = 3, .shift = 6, .width = 2 }, width 195 drivers/clk/sunxi-ng/ccu-sun8i-a33.c .width = 2, width 243 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c { .index = 2, .shift = 6, .width = 2 }, width 244 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c { .index = 3, .shift = 6, .width = 2 }, width 250 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .width = 2, width 282 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .width = 2, width 152 drivers/clk/sunxi-ng/ccu-sun8i-h3.c { .index = 3, .shift = 6, .width = 2 }, width 159 drivers/clk/sunxi-ng/ccu-sun8i-h3.c .width = 2, width 200 drivers/clk/sunxi-ng/ccu-sun8i-h3.c .width = 1, width 28 drivers/clk/sunxi-ng/ccu-sun8i-r.c { .index = 2, .shift = 8, .width = 5 }, width 36 drivers/clk/sunxi-ng/ccu-sun8i-r.c .width = 2, width 101 drivers/clk/sunxi-ng/ccu-sun8i-r.c .width = 2, width 260 drivers/clk/sunxi-ng/ccu-sun8i-r40.c { .index = 3, .shift = 6, .width = 2 }, width 267 drivers/clk/sunxi-ng/ccu-sun8i-r40.c .width = 2, width 756 drivers/clk/sunxi-ng/ccu-sun8i-r40.c .width = 2, width 775 drivers/clk/sunxi-ng/ccu-sun8i-r40.c .width = 2, width 137 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c { .index = 3, .shift = 6, .width = 2 }, width 144 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c .width = 2, width 185 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c .width = 1, width 356 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .width = 4, width 376 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .width = 4, width 115 drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c { .index = 3, .shift = 6, .width = 2 }, width 122 drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c .width = 2, width 26 drivers/clk/sunxi-ng/ccu_div.c cd->div.table, cd->div.width, width 65 drivers/clk/sunxi-ng/ccu_div.c val &= (1 << cd->div.width) - 1; width 71 drivers/clk/sunxi-ng/ccu_div.c cd->div.flags, cd->div.width); width 102 drivers/clk/sunxi-ng/ccu_div.c val = divider_get_val(rate, parent_rate, cd->div.table, cd->div.width, width 108 drivers/clk/sunxi-ng/ccu_div.c reg &= ~GENMASK(cd->div.width + cd->div.shift - 1, cd->div.shift); width 33 drivers/clk/sunxi-ng/ccu_div.h u8 width; width 46 drivers/clk/sunxi-ng/ccu_div.h .width = _width, \ width 57 drivers/clk/sunxi-ng/ccu_div.h .width = _width, \ width 108 drivers/clk/sunxi-ng/ccu_mp.c max_m = cmp->m.max ?: 1 << cmp->m.width; width 109 drivers/clk/sunxi-ng/ccu_mp.c max_p = cmp->p.max ?: 1 << ((1 << cmp->p.width) - 1); width 161 drivers/clk/sunxi-ng/ccu_mp.c m &= (1 << cmp->m.width) - 1; width 167 drivers/clk/sunxi-ng/ccu_mp.c p &= (1 << cmp->p.width) - 1; width 198 drivers/clk/sunxi-ng/ccu_mp.c max_m = cmp->m.max ?: 1 << cmp->m.width; width 199 drivers/clk/sunxi-ng/ccu_mp.c max_p = cmp->p.max ?: 1 << ((1 << cmp->p.width) - 1); width 210 drivers/clk/sunxi-ng/ccu_mp.c reg &= ~GENMASK(cmp->m.width + cmp->m.shift - 1, cmp->m.shift); width 211 drivers/clk/sunxi-ng/ccu_mp.c reg &= ~GENMASK(cmp->p.width + cmp->p.shift - 1, cmp->p.shift); width 46 drivers/clk/sunxi-ng/ccu_mult.c _cm.max = (1 << cm->mult.width) + cm->mult.offset - 1; width 86 drivers/clk/sunxi-ng/ccu_mult.c val &= (1 << cm->mult.width) - 1; width 128 drivers/clk/sunxi-ng/ccu_mult.c _cm.max = (1 << cm->mult.width) + cm->mult.offset - 1; width 135 drivers/clk/sunxi-ng/ccu_mult.c reg &= ~GENMASK(cm->mult.width + cm->mult.shift - 1, cm->mult.shift); width 12 drivers/clk/sunxi-ng/ccu_mult.h u8 width; width 23 drivers/clk/sunxi-ng/ccu_mult.h .width = _width, \ width 33 drivers/clk/sunxi-ng/ccu_mux.c parent_index &= (1 << cm->width) - 1; width 52 drivers/clk/sunxi-ng/ccu_mux.c div &= (1 << cm->var_predivs[i].width) - 1; width 164 drivers/clk/sunxi-ng/ccu_mux.c parent &= (1 << cm->width) - 1; width 191 drivers/clk/sunxi-ng/ccu_mux.c reg &= ~GENMASK(cm->width + cm->shift - 1, cm->shift); width 17 drivers/clk/sunxi-ng/ccu_mux.h u8 width; width 22 drivers/clk/sunxi-ng/ccu_mux.h u8 width; width 35 drivers/clk/sunxi-ng/ccu_mux.h .width = _width, \ width 75 drivers/clk/sunxi-ng/ccu_nk.c n &= (1 << nk->n.width) - 1; width 81 drivers/clk/sunxi-ng/ccu_nk.c k &= (1 << nk->k.width) - 1; width 103 drivers/clk/sunxi-ng/ccu_nk.c _nk.max_n = nk->n.max ?: 1 << nk->n.width; width 105 drivers/clk/sunxi-ng/ccu_nk.c _nk.max_k = nk->k.max ?: 1 << nk->k.width; width 128 drivers/clk/sunxi-ng/ccu_nk.c _nk.max_n = nk->n.max ?: 1 << nk->n.width; width 130 drivers/clk/sunxi-ng/ccu_nk.c _nk.max_k = nk->k.max ?: 1 << nk->k.width; width 137 drivers/clk/sunxi-ng/ccu_nk.c reg &= ~GENMASK(nk->n.width + nk->n.shift - 1, nk->n.shift); width 138 drivers/clk/sunxi-ng/ccu_nk.c reg &= ~GENMASK(nk->k.width + nk->k.shift - 1, nk->k.shift); width 81 drivers/clk/sunxi-ng/ccu_nkm.c n &= (1 << nkm->n.width) - 1; width 87 drivers/clk/sunxi-ng/ccu_nkm.c k &= (1 << nkm->k.width) - 1; width 93 drivers/clk/sunxi-ng/ccu_nkm.c m &= (1 << nkm->m.width) - 1; width 116 drivers/clk/sunxi-ng/ccu_nkm.c _nkm.max_n = nkm->n.max ?: 1 << nkm->n.width; width 118 drivers/clk/sunxi-ng/ccu_nkm.c _nkm.max_k = nkm->k.max ?: 1 << nkm->k.width; width 120 drivers/clk/sunxi-ng/ccu_nkm.c _nkm.max_m = nkm->m.max ?: 1 << nkm->m.width; width 156 drivers/clk/sunxi-ng/ccu_nkm.c _nkm.max_n = nkm->n.max ?: 1 << nkm->n.width; width 158 drivers/clk/sunxi-ng/ccu_nkm.c _nkm.max_k = nkm->k.max ?: 1 << nkm->k.width; width 160 drivers/clk/sunxi-ng/ccu_nkm.c _nkm.max_m = nkm->m.max ?: 1 << nkm->m.width; width 167 drivers/clk/sunxi-ng/ccu_nkm.c reg &= ~GENMASK(nkm->n.width + nkm->n.shift - 1, nkm->n.shift); width 168 drivers/clk/sunxi-ng/ccu_nkm.c reg &= ~GENMASK(nkm->k.width + nkm->k.shift - 1, nkm->k.shift); width 169 drivers/clk/sunxi-ng/ccu_nkm.c reg &= ~GENMASK(nkm->m.width + nkm->m.shift - 1, nkm->m.shift); width 101 drivers/clk/sunxi-ng/ccu_nkmp.c n &= (1 << nkmp->n.width) - 1; width 107 drivers/clk/sunxi-ng/ccu_nkmp.c k &= (1 << nkmp->k.width) - 1; width 113 drivers/clk/sunxi-ng/ccu_nkmp.c m &= (1 << nkmp->m.width) - 1; width 119 drivers/clk/sunxi-ng/ccu_nkmp.c p &= (1 << nkmp->p.width) - 1; width 145 drivers/clk/sunxi-ng/ccu_nkmp.c _nkmp.max_n = nkmp->n.max ?: 1 << nkmp->n.width; width 147 drivers/clk/sunxi-ng/ccu_nkmp.c _nkmp.max_k = nkmp->k.max ?: 1 << nkmp->k.width; width 149 drivers/clk/sunxi-ng/ccu_nkmp.c _nkmp.max_m = nkmp->m.max ?: 1 << nkmp->m.width; width 151 drivers/clk/sunxi-ng/ccu_nkmp.c _nkmp.max_p = nkmp->p.max ?: 1 << ((1 << nkmp->p.width) - 1); width 176 drivers/clk/sunxi-ng/ccu_nkmp.c _nkmp.max_n = nkmp->n.max ?: 1 << nkmp->n.width; width 178 drivers/clk/sunxi-ng/ccu_nkmp.c _nkmp.max_k = nkmp->k.max ?: 1 << nkmp->k.width; width 180 drivers/clk/sunxi-ng/ccu_nkmp.c _nkmp.max_m = nkmp->m.max ?: 1 << nkmp->m.width; width 182 drivers/clk/sunxi-ng/ccu_nkmp.c _nkmp.max_p = nkmp->p.max ?: 1 << ((1 << nkmp->p.width) - 1); width 192 drivers/clk/sunxi-ng/ccu_nkmp.c if (nkmp->n.width) width 193 drivers/clk/sunxi-ng/ccu_nkmp.c n_mask = GENMASK(nkmp->n.width + nkmp->n.shift - 1, width 195 drivers/clk/sunxi-ng/ccu_nkmp.c if (nkmp->k.width) width 196 drivers/clk/sunxi-ng/ccu_nkmp.c k_mask = GENMASK(nkmp->k.width + nkmp->k.shift - 1, width 198 drivers/clk/sunxi-ng/ccu_nkmp.c if (nkmp->m.width) width 199 drivers/clk/sunxi-ng/ccu_nkmp.c m_mask = GENMASK(nkmp->m.width + nkmp->m.shift - 1, width 201 drivers/clk/sunxi-ng/ccu_nkmp.c if (nkmp->p.width) width 202 drivers/clk/sunxi-ng/ccu_nkmp.c p_mask = GENMASK(nkmp->p.width + nkmp->p.shift - 1, width 98 drivers/clk/sunxi-ng/ccu_nm.c n &= (1 << nm->n.width) - 1; width 104 drivers/clk/sunxi-ng/ccu_nm.c m &= (1 << nm->m.width) - 1; width 156 drivers/clk/sunxi-ng/ccu_nm.c _nm.max_n = nm->n.max ?: 1 << nm->n.width; width 158 drivers/clk/sunxi-ng/ccu_nm.c _nm.max_m = nm->m.max ?: 1 << nm->m.width; width 186 drivers/clk/sunxi-ng/ccu_nm.c reg &= ~GENMASK(nm->m.width + nm->m.shift - 1, nm->m.shift); width 200 drivers/clk/sunxi-ng/ccu_nm.c _nm.max_n = nm->n.max ?: 1 << nm->n.width; width 202 drivers/clk/sunxi-ng/ccu_nm.c _nm.max_m = nm->m.max ?: 1 << nm->m.width; width 218 drivers/clk/sunxi-ng/ccu_nm.c reg &= ~GENMASK(nm->n.width + nm->n.shift - 1, nm->n.shift); width 219 drivers/clk/sunxi-ng/ccu_nm.c reg &= ~GENMASK(nm->m.width + nm->m.shift - 1, nm->m.shift); width 24 drivers/clk/sunxi-ng/ccu_phase.c delay &= (1 << phase->width) - 1; width 112 drivers/clk/sunxi-ng/ccu_phase.c reg &= ~GENMASK(phase->width + phase->shift - 1, phase->shift); width 15 drivers/clk/sunxi-ng/ccu_phase.h u8 width; width 23 drivers/clk/sunxi-ng/ccu_phase.h .width = _width, \ width 89 drivers/clk/sunxi/clk-a10-pll2.c mult->width = 7; width 117 drivers/clk/sunxi/clk-a10-ve.c div->width = SUN4I_VE_DIVIDER_WIDTH; width 153 drivers/clk/sunxi/clk-sun4i-display.c div->width = data->width_div; width 54 drivers/clk/sunxi/clk-sun4i-pll3.c mult->width = SUN4I_A10_PLL3_DIV_WIDTH; width 68 drivers/clk/sunxi/clk-sun8i-mbus.c div->width = SUN8I_MBUS_DIV_WIDTH; width 727 drivers/clk/sunxi/clk-sunxi.c u8 width; width 734 drivers/clk/sunxi/clk-sunxi.c .width = 2, width 750 drivers/clk/sunxi/clk-sunxi.c .width = 3, width 757 drivers/clk/sunxi/clk-sunxi.c .width = 2, width 771 drivers/clk/sunxi/clk-sunxi.c .width = 2, width 798 drivers/clk/sunxi/clk-sunxi.c reg, data->shift, data->width, width 1067 drivers/clk/sunxi/clk-sunxi.c divider->width = SUNXI_DIVISOR_WIDTH; width 15 drivers/clk/tegra/clk-divider.c #define div_mask(d) ((1 << (d->width)) - 1) width 26 drivers/clk/tegra/clk-divider.c div = div_frac_get(rate, parent_rate, divider->width, width 120 drivers/clk/tegra/clk-divider.c unsigned long flags, u8 clk_divider_flags, u8 shift, u8 width, width 142 drivers/clk/tegra/clk-divider.c divider->width = width; width 28 drivers/clk/tegra/clk-super.c #define super_state_to_src_shift(m, s) ((m->width * s)) width 29 drivers/clk/tegra/clk-super.c #define super_state_to_src_mask(m) (((1 << m->width) - 1)) width 162 drivers/clk/tegra/clk-super.c u8 width, u8 pllx_index, u8 div2_index, spinlock_t *lock) width 182 drivers/clk/tegra/clk-super.c super->width = width; width 216 drivers/clk/tegra/clk-super.c super->width = 4; width 220 drivers/clk/tegra/clk-super.c super->frac_div.width = 8; width 944 drivers/clk/tegra/clk-tegra-periph.c data->periph.divider.width, width 12 drivers/clk/tegra/clk-utils.c int div_frac_get(unsigned long rate, unsigned parent_rate, u8 width, width 39 drivers/clk/tegra/clk-utils.c if (divider_ux1 > div_mask(width)) width 40 drivers/clk/tegra/clk-utils.c return div_mask(width); width 62 drivers/clk/tegra/clk.h u8 width; width 77 drivers/clk/tegra/clk.h unsigned long flags, u8 clk_divider_flags, u8 shift, u8 width, width 596 drivers/clk/tegra/clk.h .width = _div_width, \ width 678 drivers/clk/tegra/clk.h u8 width; width 693 drivers/clk/tegra/clk.h u8 width, u8 pllx_index, u8 div2_index, spinlock_t *lock); width 830 drivers/clk/tegra/clk.h int div_frac_get(unsigned long rate, unsigned parent_rate, u8 width, width 253 drivers/clk/ti/adpll.c u8 shift, u8 width, width 266 drivers/clk/ti/adpll.c reg, shift, width, clk_divider_flags, width 503 drivers/clk/ti/adpll.c int width, err; width 528 drivers/clk/ti/adpll.c width = 5; width 530 drivers/clk/ti/adpll.c width = 4; width 536 drivers/clk/ti/adpll.c ADPLL_MN2DIV_N2, width, 0); width 384 drivers/clk/ti/clkctrl.c &div->width, &div->table)) { width 23 drivers/clk/ti/clock.h u8 width; width 223 drivers/clk/ti/clock.h u8 flags, u8 *width, width 29 drivers/clk/ti/divider.c #define div_mask(d) ((1 << ((d)->width)) - 1) width 317 drivers/clk/ti/divider.c u8 shift, u8 width, s8 latch, width 326 drivers/clk/ti/divider.c if (width + shift > 16) { width 346 drivers/clk/ti/divider.c div->width = width; width 362 drivers/clk/ti/divider.c u8 flags, u8 *width, width 387 drivers/clk/ti/divider.c *width = fls(val); width 412 drivers/clk/ti/divider.c *width = 0; width 419 drivers/clk/ti/divider.c *width = i; width 422 drivers/clk/ti/divider.c *width = fls(*width); width 524 drivers/clk/ti/divider.c u32 *flags, u8 *div_flags, u8 *width, u8 *shift, s8 *latch) width 562 drivers/clk/ti/divider.c *width = _get_divider_width(node, *table, *div_flags); width 579 drivers/clk/ti/divider.c u8 width = 0; width 588 drivers/clk/ti/divider.c &clk_divider_flags, &width, &shift, &latch)) width 592 drivers/clk/ti/divider.c shift, width, latch, clk_divider_flags, table); width 615 drivers/clk/ti/divider.c &div->flags, &div->width, &div->shift, width 197 drivers/clk/zte/clk-zx296702.c void __iomem *reg, u8 shift, u8 width, width 201 drivers/clk/zte/clk-zx296702.c width, 0, table, ®_lock); width 205 drivers/clk/zte/clk-zx296702.c void __iomem *reg, u8 shift, u8 width) width 208 drivers/clk/zte/clk-zx296702.c reg, shift, width, 0, ®_lock); width 212 drivers/clk/zte/clk-zx296702.c int num_parents, void __iomem *reg, u8 shift, u8 width) width 215 drivers/clk/zte/clk-zx296702.c 0, reg, shift, width, 0, ®_lock); width 127 drivers/clk/zte/clk.h .width = _width, \ width 72 drivers/clocksource/sh_cmt.c unsigned long width; /* 16 or 32 bit version of hardware block */ width 177 drivers/clocksource/sh_cmt.c .width = 16, width 187 drivers/clocksource/sh_cmt.c .width = 32, width 198 drivers/clocksource/sh_cmt.c .width = 32, width 209 drivers/clocksource/sh_cmt.c .width = 32, width 220 drivers/clocksource/sh_cmt.c .width = 32, width 333 drivers/clocksource/sh_cmt.c if (ch->cmt->info->width == 16) { width 874 drivers/clocksource/sh_cmt.c if (cmt->info->width == (sizeof(ch->max_match_value) * 8)) width 877 drivers/clocksource/sh_cmt.c ch->max_match_value = (1 << cmt->info->width) - 1; width 998 drivers/clocksource/sh_cmt.c if (cmt->info->width == 16) width 190 drivers/clocksource/timer-stm32.c u32 width; width 194 drivers/clocksource/timer-stm32.c width = readl_relaxed(timer_of_base(to) + TIM_ARR); width 196 drivers/clocksource/timer-stm32.c stm32_timer_of_bits_set(to, width == UINT_MAX ? 32 : 16); width 130 drivers/crypto/mediatek/mtk-platform.c u32 width = MTK_HIA_DATA_WIDTH(cap->hia_opt) + 2; width 132 drivers/crypto/mediatek/mtk-platform.c u32 ipbuf = min((u32)MTK_IN_DBUF_SIZE(cap->hw_opt) + width, len); width 133 drivers/crypto/mediatek/mtk-platform.c u32 opbuf = min((u32)MTK_OUT_DBUF_SIZE(cap->hw_opt) + width, len); width 134 drivers/crypto/mediatek/mtk-platform.c u32 itbuf = min((u32)MTK_IN_TBUF_SIZE(cap->hw_opt) + width, len); width 1413 drivers/dma/amba-pl08x.c size_t lli_len, tsize, width; width 1427 drivers/dma/amba-pl08x.c width = max(mbus->buswidth, sbus->buswidth); width 1428 drivers/dma/amba-pl08x.c lli_len = (lli_len / width) * width; width 1683 drivers/dma/amba-pl08x.c static u32 pl08x_width(enum dma_slave_buswidth width) width 1685 drivers/dma/amba-pl08x.c switch (width) { width 1711 drivers/dma/amba-pl08x.c u32 width, burst, cctl = 0; width 1713 drivers/dma/amba-pl08x.c width = pl08x_width(addr_width); width 1714 drivers/dma/amba-pl08x.c if (width == ~0) width 1717 drivers/dma/amba-pl08x.c cctl |= width << PL080_CONTROL_SWIDTH_SHIFT; width 1718 drivers/dma/amba-pl08x.c cctl |= width << PL080_CONTROL_DWIDTH_SHIFT; width 68 drivers/dma/at_hdmac.c unsigned int width; width 71 drivers/dma/at_hdmac.c width = 2; width 73 drivers/dma/at_hdmac.c width = 1; width 75 drivers/dma/at_hdmac.c width = 0; width 77 drivers/dma/at_hdmac.c return width; width 819 drivers/dma/at_xdmac.c u32 width; width 830 drivers/dma/at_xdmac.c width = AT_XDMAC_CC_DWIDTH_DWORD; width 833 drivers/dma/at_xdmac.c width = AT_XDMAC_CC_DWIDTH_WORD; width 836 drivers/dma/at_xdmac.c width = AT_XDMAC_CC_DWIDTH_HALFWORD; width 839 drivers/dma/at_xdmac.c width = AT_XDMAC_CC_DWIDTH_BYTE; width 843 drivers/dma/at_xdmac.c return width; width 306 drivers/dma/dma-jz4780.c uint32_t width, maxburst, tsz; width 313 drivers/dma/dma-jz4780.c width = config->dst_addr_width; width 320 drivers/dma/dma-jz4780.c width = config->src_addr_width; width 331 drivers/dma/dma-jz4780.c tsz = jz4780_dma_transfer_size(jzchan, addr | len | (width * maxburst), width 334 drivers/dma/dma-jz4780.c switch (width) { width 339 drivers/dma/dma-jz4780.c width = JZ_DMA_WIDTH_32_BIT; width 346 drivers/dma/dma-jz4780.c desc->dcm |= width << JZ_DMA_DCM_SP_SHIFT; width 347 drivers/dma/dma-jz4780.c desc->dcm |= width << JZ_DMA_DCM_DP_SHIFT; width 47 drivers/dma/dw/dw.c size_t bytes, unsigned int width, size_t *len) width 51 drivers/dma/dw/dw.c if ((bytes >> width) > dwc->block_size) { width 53 drivers/dma/dw/dw.c *len = dwc->block_size << width; width 55 drivers/dma/dw/dw.c block = bytes >> width; width 62 drivers/dma/dw/dw.c static size_t dw_dma_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) width 64 drivers/dma/dw/dw.c return DWC_CTLH_BLOCK_TS(block) << width; width 53 drivers/dma/dw/idma32.c size_t bytes, unsigned int width, size_t *len) width 68 drivers/dma/dw/idma32.c static size_t idma32_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) width 329 drivers/dma/dw/regs.h unsigned int width, size_t *len); width 330 drivers/dma/dw/regs.h size_t (*block2bytes)(struct dw_dma_chan *dwc, u32 block, u32 width); width 1245 drivers/dma/ep93xx_dma.c enum dma_slave_buswidth width; width 1254 drivers/dma/ep93xx_dma.c width = config->src_addr_width; width 1259 drivers/dma/ep93xx_dma.c width = config->dst_addr_width; width 1267 drivers/dma/ep93xx_dma.c switch (width) { width 247 drivers/dma/fsldma.h #define FSL_DMA_IN(fsl_dma, addr, width) \ width 249 drivers/dma/fsldma.h fsl_ioread##width##be(addr) : fsl_ioread##width(addr)) width 251 drivers/dma/fsldma.h #define FSL_DMA_OUT(fsl_dma, addr, val, width) \ width 253 drivers/dma/fsldma.h fsl_iowrite##width##be(val, addr) : fsl_iowrite \ width 254 drivers/dma/fsldma.h ##width(val, addr)) width 256 drivers/dma/fsldma.h #define DMA_TO_CPU(fsl_chan, d, width) \ width 258 drivers/dma/fsldma.h be##width##_to_cpu((__force __be##width)(v##width)d) : \ width 259 drivers/dma/fsldma.h le##width##_to_cpu((__force __le##width)(v##width)d)) width 260 drivers/dma/fsldma.h #define CPU_TO_DMA(fsl_chan, c, width) \ width 262 drivers/dma/fsldma.h (__force v##width)cpu_to_be##width(c) : \ width 263 drivers/dma/fsldma.h (__force v##width)cpu_to_le##width(c)) width 343 drivers/dma/img-mdc-dma.c enum dma_slave_buswidth width; width 346 drivers/dma/img-mdc-dma.c width = mchan->config.dst_addr_width; width 348 drivers/dma/img-mdc-dma.c width = mchan->config.src_addr_width; width 350 drivers/dma/img-mdc-dma.c switch (width) { width 360 drivers/dma/img-mdc-dma.c if (width > mchan->mdma->bus_width) width 283 drivers/dma/ipu/ipu_idmac.c uint32_t pixel_fmt, uint16_t width, width 289 drivers/dma/ipu/ipu_idmac.c params->pp.fw = width - 1; width 652 drivers/dma/ipu/ipu_idmac.c uint16_t width, uint16_t height, width 681 drivers/dma/ipu/ipu_idmac.c ipu_ch_param_set_size(¶ms, pixel_fmt, width, height, stride_bytes); width 672 drivers/dma/k3dma.c enum dma_slave_buswidth width = DMA_SLAVE_BUSWIDTH_UNDEFINED; width 678 drivers/dma/k3dma.c width = cfg->src_addr_width; width 683 drivers/dma/k3dma.c width = cfg->dst_addr_width; width 685 drivers/dma/k3dma.c switch (width) { width 690 drivers/dma/k3dma.c val = __ffs(width); width 698 drivers/dma/mmp_pdma.c enum dma_slave_buswidth width = DMA_SLAVE_BUSWIDTH_UNDEFINED; width 706 drivers/dma/mmp_pdma.c width = cfg->src_addr_width; width 711 drivers/dma/mmp_pdma.c width = cfg->dst_addr_width; width 715 drivers/dma/mmp_pdma.c if (width == DMA_SLAVE_BUSWIDTH_1_BYTE) width 717 drivers/dma/mmp_pdma.c else if (width == DMA_SLAVE_BUSWIDTH_2_BYTES) width 719 drivers/dma/mmp_pdma.c else if (width == DMA_SLAVE_BUSWIDTH_4_BYTES) width 457 drivers/dma/nbpfaxi.c enum dma_slave_buswidth width, u32 burst) width 464 drivers/dma/nbpfaxi.c switch (width) { width 478 drivers/dma/nbpfaxi.c pr_warn("%s(): invalid bus width %u\n", __func__, width); width 120 drivers/dma/owl-dma.c #define BIT_FIELD(val, width, shift, newshift) \ width 121 drivers/dma/owl-dma.c ((((val) >> (shift)) & ((BIT(width)) - 1)) << (newshift)) width 606 drivers/dma/pch_dma.c switch (pd_slave->width) { width 222 drivers/dma/pxa_dma.c int i, max_show = 20, burst, width; width 235 drivers/dma/pxa_dma.c width = (1 << ((dcmd >> 14) & 0x3)) >> 1; width 247 drivers/dma/pxa_dma.c PXA_DCMD_STR(ENDIAN), burst, width, width 266 drivers/dma/pxa_dma.c int burst, width; width 274 drivers/dma/pxa_dma.c width = (1 << ((dcmd >> 14) & 0x3)) >> 1; width 297 drivers/dma/pxa_dma.c PXA_DCMD_STR(ENDIAN), burst, width, dcmd & PXA_DCMD_LENGTH); width 871 drivers/dma/pxa_dma.c enum dma_slave_buswidth width = DMA_SLAVE_BUSWIDTH_UNDEFINED; width 877 drivers/dma/pxa_dma.c width = chan->cfg.src_addr_width; width 886 drivers/dma/pxa_dma.c width = chan->cfg.dst_addr_width; width 899 drivers/dma/pxa_dma.c __func__, dev_addr, maxburst, width, dir); width 901 drivers/dma/pxa_dma.c if (width == DMA_SLAVE_BUSWIDTH_1_BYTE) width 903 drivers/dma/pxa_dma.c else if (width == DMA_SLAVE_BUSWIDTH_2_BYTES) width 905 drivers/dma/pxa_dma.c else if (width == DMA_SLAVE_BUSWIDTH_4_BYTES) width 170 drivers/dma/s3c24xx-dma.c u8 width; width 376 drivers/dma/s3c24xx-dma.c return tc * txd->width; width 450 drivers/dma/s3c24xx-dma.c switch (txd->width) { width 858 drivers/dma/s3c24xx-dma.c txd->width = (src_mod == 0 && dest_mod == 0) ? 4 : 1; width 861 drivers/dma/s3c24xx-dma.c txd->width = ((src_mod == 2 || src_mod == 0) && width 865 drivers/dma/s3c24xx-dma.c txd->width = 1; width 939 drivers/dma/s3c24xx-dma.c txd->width = s3cchan->cfg.dst_addr_width; width 945 drivers/dma/s3c24xx-dma.c txd->width = s3cchan->cfg.src_addr_width; width 1028 drivers/dma/s3c24xx-dma.c txd->width = s3cchan->cfg.dst_addr_width; width 1034 drivers/dma/s3c24xx-dma.c txd->width = s3cchan->cfg.src_addr_width; width 669 drivers/dma/sa11x0-dma.c enum dma_slave_buswidth width; width 674 drivers/dma/sa11x0-dma.c width = cfg->src_addr_width; width 678 drivers/dma/sa11x0-dma.c width = cfg->dst_addr_width; width 682 drivers/dma/sa11x0-dma.c if ((width != DMA_SLAVE_BUSWIDTH_1_BYTE && width 683 drivers/dma/sa11x0-dma.c width != DMA_SLAVE_BUSWIDTH_2_BYTES) || width 687 drivers/dma/sa11x0-dma.c if (width == DMA_SLAVE_BUSWIDTH_2_BYTES) width 693 drivers/dma/sa11x0-dma.c &c->vc, &addr, width, maxburst); width 89 drivers/dma/sirf-dma.c int width; /* DMA width */ width 176 drivers/dma/sirf-dma.c writel_relaxed(sdesc->width, base + SIRFSOC_DMA_WIDTH_ATLAS7); width 177 drivers/dma/sirf-dma.c writel_relaxed((sdesc->width*((sdesc->ylen+1)>>1)), width 198 drivers/dma/sirf-dma.c writel_relaxed(sdesc->width, base + SIRFSOC_DMA_WIDTH_0 + cid * 4); width 218 drivers/dma/sirf-dma.c writel_relaxed(sdesc->width, base + SIRFSOC_DMA_WIDTH_0 + cid * 4); width 664 drivers/dma/sirf-dma.c (sdesc->width * SIRFSOC_DMA_WORD_LEN); width 729 drivers/dma/sirf-dma.c sdesc->width = (xt->sgl[0].size + xt->sgl[0].icg) / width 797 drivers/dma/sirf-dma.c sdesc->width = 1; width 1091 drivers/dma/sirf-dma.c writel_relaxed(sdesc->width, width 349 drivers/dma/st_fdma.c enum dma_slave_buswidth width; width 358 drivers/dma/st_fdma.c width = fchan->scfg.src_addr_width; width 365 drivers/dma/st_fdma.c width = fchan->scfg.dst_addr_width; width 375 drivers/dma/st_fdma.c switch (width) { width 13 drivers/dma/ste_dma40_ll.c static u8 d40_width_to_bits(enum dma_slave_buswidth width) width 15 drivers/dma/ste_dma40_ll.c if (width == DMA_SLAVE_BUSWIDTH_1_BYTE) width 17 drivers/dma/ste_dma40_ll.c else if (width == DMA_SLAVE_BUSWIDTH_2_BYTES) width 19 drivers/dma/ste_dma40_ll.c else if (width == DMA_SLAVE_BUSWIDTH_8_BYTES) width 247 drivers/dma/stm32-dma.c enum dma_slave_buswidth width) width 249 drivers/dma/stm32-dma.c switch (width) { width 280 drivers/dma/stm32-dma.c enum dma_slave_buswidth width) width 284 drivers/dma/stm32-dma.c if (width != DMA_SLAVE_BUSWIDTH_UNDEFINED) { width 290 drivers/dma/stm32-dma.c remaining = ((STM32_DMA_FIFO_SIZE / width) * width 314 drivers/dma/stm32-dma.c enum dma_slave_buswidth width) width 321 drivers/dma/stm32-dma.c while ((buf_len < best_burst * width && best_burst > 1) || width 323 drivers/dma/stm32-dma.c width)) { width 1028 drivers/dma/stm32-dma.c u32 dma_scr, width, ndtr; width 1032 drivers/dma/stm32-dma.c width = STM32_DMA_SCR_PSIZE_GET(dma_scr); width 1035 drivers/dma/stm32-dma.c return ndtr << width; width 381 drivers/dma/stm32-mdma.c enum dma_slave_buswidth width) width 383 drivers/dma/stm32-mdma.c switch (width) { width 388 drivers/dma/stm32-mdma.c return ffs(width) - 1; width 391 drivers/dma/stm32-mdma.c width); width 417 drivers/dma/stm32-mdma.c enum dma_slave_buswidth width) width 422 drivers/dma/stm32-mdma.c max_burst * width) / width; width 24 drivers/dma/sun4i-dma.c #define SUN4I_DMA_CFG_DST_DATA_WIDTH(width) ((width) << 25) width 28 drivers/dma/sun4i-dma.c #define SUN4I_DMA_CFG_SRC_DATA_WIDTH(width) ((width) << 9) width 638 drivers/dma/sun6i-dma.c s8 burst, width; width 663 drivers/dma/sun6i-dma.c width = convert_buswidth(DMA_SLAVE_BUSWIDTH_4_BYTES); width 664 drivers/dma/sun6i-dma.c v_lli->cfg = DMA_CHAN_CFG_SRC_WIDTH(width) | width 665 drivers/dma/sun6i-dma.c DMA_CHAN_CFG_DST_WIDTH(width); width 1157 drivers/dma/ti/edma.c unsigned int width, pset_len, array_size; width 1181 drivers/dma/ti/edma.c width = len; width 1196 drivers/dma/ti/edma.c width = array_size; width 1197 drivers/dma/ti/edma.c pset_len = rounddown(len, width); width 1215 drivers/dma/ti/edma.c width, pset_len, DMA_MEM_TO_MEM); width 1244 drivers/dma/ti/edma.c pset_len = width = len % array_size; width 1247 drivers/dma/ti/edma.c width, pset_len, DMA_MEM_TO_MEM); width 2392 drivers/dma/xilinx/xilinx_dma.c u32 value, width; width 2427 drivers/dma/xilinx/xilinx_dma.c width = value >> 3; /* Convert bits to bytes */ width 2430 drivers/dma/xilinx/xilinx_dma.c if (width > 8) width 2434 drivers/dma/xilinx/xilinx_dma.c xdev->common.copy_align = fls(width - 1); width 446 drivers/dma/zx_dma.c static enum zx_dma_burst_width zx_dma_burst_width(enum dma_slave_buswidth width) width 448 drivers/dma/zx_dma.c switch (width) { width 453 drivers/dma/zx_dma.c return ffs(width) - 1; width 74 drivers/edac/armada_xp_edac.c unsigned int width; width 86 drivers/edac/armada_xp_edac.c if (drvdata->width == 8) { width 98 drivers/edac/armada_xp_edac.c } else if (drvdata->width == 4) { width 229 drivers/edac/armada_xp_edac.c drvdata->width = 8; width 232 drivers/edac/armada_xp_edac.c drvdata->width = 4; width 338 drivers/edac/armada_xp_edac.c drvdata->width /= 2; width 335 drivers/edac/i5100_edac.c unsigned width; /* 4 or 8 bits */ width 699 drivers/edac/i5100_edac.c priv->mtr[i][j].width = 4 + 4 * i5100_mtr_width(w); width 868 drivers/edac/i5100_edac.c dimm->dtype = (priv->mtr[chan][rank].width == 4) ? width 594 drivers/edac/synopsys_edac.c u32 width; width 596 drivers/edac/synopsys_edac.c width = readl(base + CTRL_OFST); width 597 drivers/edac/synopsys_edac.c width = (width & CTRL_BW_MASK) >> CTRL_BW_SHIFT; width 599 drivers/edac/synopsys_edac.c switch (width) { width 625 drivers/edac/synopsys_edac.c u32 width; width 627 drivers/edac/synopsys_edac.c width = readl(base + CTRL_OFST); width 628 drivers/edac/synopsys_edac.c width = (width & ECC_CTRL_BUSWIDTH_MASK) >> ECC_CTRL_BUSWIDTH_SHIFT; width 629 drivers/edac/synopsys_edac.c switch (width) { width 1113 drivers/edac/synopsys_edac.c u32 width, memtype; width 1117 drivers/edac/synopsys_edac.c width = (memtype & ECC_CTRL_BUSWIDTH_MASK) >> ECC_CTRL_BUSWIDTH_SHIFT; width 1142 drivers/edac/synopsys_edac.c if (width == DDRCTL_EWDTH_64) { width 1162 drivers/edac/synopsys_edac.c } else if (width == DDRCTL_EWDTH_32) { width 1208 drivers/edac/synopsys_edac.c if (width) { width 1209 drivers/edac/synopsys_edac.c for (index = 9; index > width; index--) { width 1210 drivers/edac/synopsys_edac.c priv->col_shift[index] = priv->col_shift[index - width]; width 1211 drivers/edac/synopsys_edac.c priv->col_shift[index - width] = 0; width 69 drivers/edac/thunderx_edac.c static unsigned long get_bits(unsigned long data, int pos, int width) width 71 drivers/edac/thunderx_edac.c return (data >> pos) & ((1 << width) - 1); width 117 drivers/firmware/arm_scmi/perf.c int width; width 311 drivers/firmware/arm_scmi/perf.c if (db->width == 1) width 313 drivers/firmware/arm_scmi/perf.c else if (db->width == 2) width 315 drivers/firmware/arm_scmi/perf.c else if (db->width == 4) width 552 drivers/firmware/arm_scmi/perf.c db->width = size; width 153 drivers/firmware/efi/earlycon.c linemax = (si->lfb_width - efi_x) / font->width; width 170 drivers/firmware/efi/earlycon.c x += font->width; width 178 drivers/firmware/efi/earlycon.c efi_x += count * font->width; width 188 drivers/firmware/efi/earlycon.c if (efi_x + font->width > si->lfb_width) { width 92 drivers/firmware/efi/libstub/gop.c u16 width, height; width 138 drivers/firmware/efi/libstub/gop.c width = info->horizontal_resolution; width 162 drivers/firmware/efi/libstub/gop.c si->lfb_width = width; width 189 drivers/firmware/efi/libstub/gop.c u16 width, height; width 235 drivers/firmware/efi/libstub/gop.c width = info->horizontal_resolution; width 259 drivers/firmware/efi/libstub/gop.c si->lfb_width = width; width 33 drivers/firmware/google/framebuffer-coreboot.c .width = fb->x_resolution, width 119 drivers/fpga/socfpga-a10.c int width) width 121 drivers/fpga/socfpga-a10.c width <<= A10_FPGAMGR_IMGCFG_CTL_02_CFGWIDTH_SHIFT; width 124 drivers/fpga/socfpga-a10.c A10_FPGAMGR_IMGCFG_CTL_02_CFGWIDTH, width); width 51 drivers/gpio/gpio-brcmstb.c u32 width; width 283 drivers/gpio/gpio-brcmstb.c if (offset >= bank->width) width 437 drivers/gpio/gpio-brcmstb.c if (unlikely(offset >= bank->width)) { width 690 drivers/gpio/gpio-brcmstb.c bank->width = bank_width; width 738 drivers/gpio/gpio-brcmstb.c gc->base, gc->ngpio, bank->width); width 72 drivers/gpio/gpio-omap.c u32 width; width 494 drivers/gpio/gpio-omap.c u32 mask = (BIT(bank->width)) - 1; width 953 drivers/gpio/gpio-omap.c if (bank->width == 16) width 1004 drivers/gpio/gpio-omap.c gpio, gpio + bank->width - 1); width 1010 drivers/gpio/gpio-omap.c bank->chip.ngpio = bank->width; width 1018 drivers/gpio/gpio-omap.c -1, 0, bank->width, 0); width 1051 drivers/gpio/gpio-omap.c gpio += bank->width; width 1394 drivers/gpio/gpio-omap.c bank->width = pdata->bank_width; width 83 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int cpp, bool tiled) width 85 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c int aligned = width; width 142 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c mode_cmd->pitches[0] = amdgpu_align_pitch(adev, mode_cmd->width, cpp, width 210 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c mode_cmd.width = sizes->surface_width; width 765 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->pitch = amdgpu_align_pitch(adev, args->width, width 622 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int bpp, bool tiled); width 518 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c unsigned width = msg[6]; width 524 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c unsigned width_in_mb = width / 16; width 531 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c image_size = width * height; width 667 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c image_size = (ALIGN(width, 16) * ALIGN(height, 16) * 3) / 2; width 672 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c min_ctx_size = ((width + 255) / 16) * ((height + 255) / 16) width 681 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c if (width > pitch) { width 696 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c adev->uvd.decode_image_width = width; width 2038 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); width 2357 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c uint32_t width, width 2374 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if ((width > amdgpu_crtc->max_cursor_width) || width 2376 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c DRM_ERROR("bad cursor width or height %d x %d\n", width, height); width 2404 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (width != amdgpu_crtc->cursor_width || width 2415 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c amdgpu_crtc->cursor_width = width; width 2080 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); width 2436 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c uint32_t width, width 2453 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if ((width > amdgpu_crtc->max_cursor_width) || width 2455 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c DRM_ERROR("bad cursor width or height %d x %d\n", width, height); width 2483 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (width != amdgpu_crtc->cursor_width || width 2494 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c amdgpu_crtc->cursor_width = width; width 1973 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); width 2250 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c uint32_t width, width 2267 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if ((width > amdgpu_crtc->max_cursor_width) || width 2269 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c DRM_ERROR("bad cursor width or height %d x %d\n", width, height); width 2297 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (width != amdgpu_crtc->cursor_width || width 2308 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c amdgpu_crtc->cursor_width = width; width 1947 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); width 2258 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c uint32_t width, width 2275 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if ((width > amdgpu_crtc->max_cursor_width) || width 2277 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c DRM_ERROR("bad cursor width or height %d x %d\n", width, height); width 2305 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (width != amdgpu_crtc->cursor_width || width 2316 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c amdgpu_crtc->cursor_width = width; width 3667 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp, width, row, column, bank, density; width 3676 drivers/gpu/drm/amd/amdgpu/si_dpm.c width = ((RREG32(MC_SEQ_IO_DEBUG_DATA) >> 1) & 1) ? 16 : 32; width 3683 drivers/gpu/drm/amd/amdgpu/si_dpm.c density = (1 << (row + column - 20 + bank)) * width; width 198 drivers/gpu/drm/amd/amdkfd/kfd_crat.c find_subtype_mem(uint32_t heap_type, uint32_t flags, uint32_t width, width 206 drivers/gpu/drm/amd/amdkfd/kfd_crat.c && props->width == width) width 223 drivers/gpu/drm/amd/amdkfd/kfd_crat.c uint32_t width; width 249 drivers/gpu/drm/amd/amdkfd/kfd_crat.c width = mem->width; width 256 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props = find_subtype_mem(heap_type, flags, width, dev); width 269 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->width = width; width 1056 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sub_type_hdr->width = local_mem_info->vram_width; width 139 drivers/gpu/drm/amd/amdkfd/kfd_crat.h uint32_t width; width 311 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "width", mem->width); width 898 drivers/gpu/drm/amd/amdkfd/kfd_topology.c mem->width = mem_width; width 103 drivers/gpu/drm/amd/amdkfd/kfd_topology.h uint32_t width; width 2624 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c scaling_info->src_rect.width = state->src_w >> 16; width 2625 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (scaling_info->src_rect.width == 0) width 2638 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c scaling_info->dst_rect.width = state->crtc_w; width 2649 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c scale_w = scaling_info->dst_rect.width * 1000 / width 2650 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c scaling_info->src_rect.width; width 2732 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c input.surface_size.width = plane_size->surface_size.width; width 2785 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c plane_size->surface_size.width = fb->width; width 2798 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c plane_size->surface_size.width = fb->width; width 2806 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c plane_size->chroma_size.width = fb->width / 2; width 3142 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c src.width = mode->hdisplay; width 3144 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dst.width = stream->timing.h_addressable; width 3150 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (src.width * dst.height < width 3151 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c src.height * dst.width) { width 3153 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dst.width = src.width * width 3158 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dst.width / src.width; width 3164 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dst.x = (stream->timing.h_addressable - dst.width) / 2; width 3170 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dst.width -= dm_state->underscan_hborder; width 3179 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dst.x, dst.y, dst.width, dst.height); width 5458 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c attributes.width = plane->state->crtc_w; width 5464 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c attributes.pitch = attributes.width; width 2640 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c slot_layout_info->width = record->ucWidth; width 1742 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c slot_layout_info->width = record->bracketwidth; width 2799 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.width); width 2854 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_width[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.viewport.width); width 2901 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.width); width 2948 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c } else if (pipe[i].stream->dst.width != 0 && width 2950 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c pipe[i].stream->src.width != 0 && width 2952 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->src.width); width 2955 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->h_taps[num_displays + 4] = pipe[i].stream->src.width == pipe[i].stream->dst.width ? bw_int_to_fixed(1) : bw_int_to_fixed(2); width 2957 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->h_scale_ratio[num_displays + 4] = bw_frc_to_fixed(pipe[i].stream->src.width, pipe[i].stream->dst.width); width 336 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_width = pipe->plane_res.scl_data.viewport.width; width 338 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.data_pitch = pipe->plane_res.scl_data.viewport.width; width 339 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.data_pitch_c = pipe->plane_res.scl_data.viewport.width; width 414 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.recout_width = pipe->plane_res.scl_data.recout.width; width 417 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.full_recout_width = pipe->plane_res.scl_data.recout.width; width 915 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->viewport_width[input_idx] = pipe->plane_res.scl_data.viewport.width; width 916 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->scaler_rec_out_width[input_idx] = pipe->plane_res.scl_data.recout.width; width 920 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c int viewport_end = pipe->plane_res.scl_data.viewport.width width 922 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c int viewport_b_end = pipe->bottom_pipe->plane_res.scl_data.viewport.width width 944 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->scaler_rec_out_width[input_idx] = pipe->plane_res.scl_data.recout.width width 945 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c + pipe->bottom_pipe->plane_res.scl_data.recout.width; width 150 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c cfg->src_width = stream->src.width; width 1473 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->scaling_info->clip_rect.width != u->surface->clip_rect.width width 1475 drivers/gpu/drm/amd/display/dc/core/dc.c || u->scaling_info->dst_rect.width != u->surface->dst_rect.width width 1479 drivers/gpu/drm/amd/display/dc/core/dc.c if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width width 1481 drivers/gpu/drm/amd/display/dc/core/dc.c && (u->scaling_info->dst_rect.width < u->surface->src_rect.width width 1487 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->scaling_info->src_rect.width != u->surface->src_rect.width width 1491 drivers/gpu/drm/amd/display/dc/core/dc.c if (u->scaling_info->src_rect.width > u->surface->src_rect.width width 1600 drivers/gpu/drm/amd/display/dc/core/dc.c (stream_update->src.width != 0)) width 1604 drivers/gpu/drm/amd/display/dc/core/dc.c (stream_update->dst.width != 0)) width 1806 drivers/gpu/drm/amd/display/dc/core/dc.c if (update->src.height && update->src.width) width 1809 drivers/gpu/drm/amd/display/dc/core/dc.c if (update->dst.height && update->dst.width) width 106 drivers/gpu/drm/amd/display/dc/core/dc_debug.c plane_state->src_rect.width, width 110 drivers/gpu/drm/amd/display/dc/core/dc_debug.c plane_state->dst_rect.width, width 114 drivers/gpu/drm/amd/display/dc/core/dc_debug.c plane_state->clip_rect.width, width 125 drivers/gpu/drm/amd/display/dc/core/dc_debug.c plane_state->plane_size.surface_size.width, width 216 drivers/gpu/drm/amd/display/dc/core/dc_debug.c update->plane_info->plane_size.surface_size.width, width 280 drivers/gpu/drm/amd/display/dc/core/dc_debug.c update->scaling_info->src_rect.width, width 284 drivers/gpu/drm/amd/display/dc/core/dc_debug.c update->scaling_info->dst_rect.width, width 288 drivers/gpu/drm/amd/display/dc/core/dc_debug.c update->scaling_info->clip_rect.width, width 3059 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c int width = pipe_ctx->stream->timing.h_addressable + width 3117 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c width /= opp_cnt; width 3127 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c width, width 3134 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c width, width 3158 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c width /= opp_cnt; width 3167 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c width, width 3174 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c width, width 575 drivers/gpu/drm/amd/display/dc/core/dc_resource.c clip.width = stream->src.x + stream->src.width < width 576 drivers/gpu/drm/amd/display/dc/core/dc_resource.c plane_state->clip_rect.x + plane_state->clip_rect.width ? width 577 drivers/gpu/drm/amd/display/dc/core/dc_resource.c stream->src.x + stream->src.width - clip.x : width 578 drivers/gpu/drm/amd/display/dc/core/dc_resource.c plane_state->clip_rect.x + plane_state->clip_rect.width - clip.x ; width 601 drivers/gpu/drm/amd/display/dc/core/dc_resource.c swap(clip.width, clip.height); width 603 drivers/gpu/drm/amd/display/dc/core/dc_resource.c swap(dest.width, dest.height); width 606 drivers/gpu/drm/amd/display/dc/core/dc_resource.c clip.x = dest.x + dest.width - clip.x - clip.width; width 617 drivers/gpu/drm/amd/display/dc/core/dc_resource.c data->viewport.x = surf_src.x + (clip.x - dest.x) * surf_src.width / dest.width; width 618 drivers/gpu/drm/amd/display/dc/core/dc_resource.c data->viewport.width = clip.width * surf_src.width / dest.width; width 635 drivers/gpu/drm/amd/display/dc/core/dc_resource.c data->viewport.width /= 2; width 637 drivers/gpu/drm/amd/display/dc/core/dc_resource.c data->viewport.x += data->viewport.width / 2; width 639 drivers/gpu/drm/amd/display/dc/core/dc_resource.c data->viewport.width = (data->viewport.width + 1) / 2; width 651 drivers/gpu/drm/amd/display/dc/core/dc_resource.c data->viewport_c.width = (data->viewport.width + vpc_div - 1) / vpc_div; width 669 drivers/gpu/drm/amd/display/dc/core/dc_resource.c - stream->src.x) * stream->dst.width width 670 drivers/gpu/drm/amd/display/dc/core/dc_resource.c / stream->src.width; width 672 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->plane_res.scl_data.recout.width = surf_clip.width * width 673 drivers/gpu/drm/amd/display/dc/core/dc_resource.c stream->dst.width / stream->src.width; width 674 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (pipe_ctx->plane_res.scl_data.recout.width + pipe_ctx->plane_res.scl_data.recout.x > width 675 drivers/gpu/drm/amd/display/dc/core/dc_resource.c stream->dst.x + stream->dst.width) width 676 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->plane_res.scl_data.recout.width = width 677 drivers/gpu/drm/amd/display/dc/core/dc_resource.c stream->dst.x + stream->dst.width width 705 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->plane_res.scl_data.recout.width / 2; width 707 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->plane_res.scl_data.recout.width = width 708 drivers/gpu/drm/amd/display/dc/core/dc_resource.c (pipe_ctx->plane_res.scl_data.recout.width + 1) / 2; width 710 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->plane_res.scl_data.recout.width /= 2; width 718 drivers/gpu/drm/amd/display/dc/core/dc_resource.c const int in_w = stream->src.width; width 720 drivers/gpu/drm/amd/display/dc/core/dc_resource.c const int out_w = stream->dst.width; width 726 drivers/gpu/drm/amd/display/dc/core/dc_resource.c swap(surf_src.height, surf_src.width); width 729 drivers/gpu/drm/amd/display/dc/core/dc_resource.c surf_src.width, width 730 drivers/gpu/drm/amd/display/dc/core/dc_resource.c plane_state->dst_rect.width); width 865 drivers/gpu/drm/amd/display/dc/core/dc_resource.c surf_size_h = src.x + src.width; width 873 drivers/gpu/drm/amd/display/dc/core/dc_resource.c swap(src.width, src.height); width 881 drivers/gpu/drm/amd/display/dc/core/dc_resource.c * stream->dst.width / stream->src.width - width 882 drivers/gpu/drm/amd/display/dc/core/dc_resource.c src.x * plane_state->dst_rect.width / src.width width 883 drivers/gpu/drm/amd/display/dc/core/dc_resource.c * stream->dst.width / stream->src.width); width 920 drivers/gpu/drm/amd/display/dc/core/dc_resource.c &data->viewport.width); width 929 drivers/gpu/drm/amd/display/dc/core/dc_resource.c &data->viewport_c.width); width 956 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (dest.width >= src.width && dest.width % src.width == 0 && width 979 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (pipe_ctx->plane_res.scl_data.viewport.height < 16 || pipe_ctx->plane_res.scl_data.viewport.width < 16) width 1040 drivers/gpu/drm/amd/display/dc/core/dc_resource.c pipe_ctx->plane_res.scl_data.viewport.width, width 1044 drivers/gpu/drm/amd/display/dc/core/dc_resource.c plane_state->dst_rect.width, width 642 drivers/gpu/drm/amd/display/dc/core/dc_stream.c stream->src.width, width 646 drivers/gpu/drm/amd/display/dc/core/dc_stream.c stream->dst.width, width 107 drivers/gpu/drm/amd/display/dc/dc_hw_types.h int width; width 114 drivers/gpu/drm/amd/display/dc/dc_hw_types.h int width; width 530 drivers/gpu/drm/amd/display/dc/dc_hw_types.h uint32_t width; width 239 drivers/gpu/drm/amd/display/dc/dc_types.h uint32_t width; width 522 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c cfg->src_width = stream->src.width; width 120 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c CURSOR_WIDTH, attributes->width-1, width 409 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c hw_rect.height = in_rect->width; width 410 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c hw_rect.width = in_rect->height; width 420 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c GRPH_X_END, hw_rect.width); width 154 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c - data->recout.x - data->recout.width; width 245 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c VIEWPORT_WIDTH, view_port->width); width 897 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c int pixel_width = scl_data->viewport.width; width 901 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c (scl_data->viewport.width > scl_data->recout.width)) width 902 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c pixel_width = scl_data->recout.width; width 2550 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c pipe_ctx->plane_state->src_rect.width, width 2554 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c pipe_ctx->plane_state->dst_rect.width, width 2558 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c pipe_ctx->plane_state->clip_rect.width, width 2566 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c pipe_ctx->plane_res.scl_data.viewport.width, width 2570 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c pipe_ctx->plane_res.scl_data.recout.width, width 242 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c swap(local_size.surface_size.width, width 246 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c swap(local_size.chroma_size.width, width 301 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c local_size.surface_size.width, width 310 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c local_size.chroma_size.width, width 967 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c if (((plane_state->dst_rect.width * 2) < plane_state->src_rect.width) || width 993 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c if ((plane->src_rect.width > 1920 || width 2049 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c bool dce110_arm_vert_intr(struct timing_generator *tg, uint8_t width) width 2076 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c v_blank_start + width, width 282 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.h struct timing_generator *tg, uint8_t width); width 57 drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c luma_viewport->width = width 58 drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c scl_data->viewport.width - scl_data->viewport.width % 2; width 64 drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c chroma_viewport->width = luma_viewport->width; width 68 drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c luma_viewport->width += luma_viewport->width % 2; width 75 drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c chroma_viewport->width = luma_viewport->width / 2; width 88 drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c if (luma_view_port->width != 0 && luma_view_port->height != 0) { width 112 drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c luma_view_port->width, width 118 drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c if (chroma_view_port->width != 0 && chroma_view_port->height != 0) { width 142 drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c chroma_view_port->width, width 237 drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.c int overscan_right = data->h_active - data->recout.x - data->recout.width; width 1094 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c uint8_t width) width 1112 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c CRTC_VERTICAL_INTERRUPT0_LINE_END, v_blank_start + width); width 139 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c if (scl_data->viewport.width > scl_data->recout.width) width 140 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c pixel_width = scl_data->recout.width; width 142 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c pixel_width = scl_data->viewport.width; width 151 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c if (scl_data->viewport.width > scl_data->h_active && width 153 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c scl_data->viewport.width > dpp->ctx->dc->debug.max_downscale_src_width) width 452 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c uint32_t width, width 462 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c swap(width, height); width 473 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c if (src_x_offset >= (int)param->viewport.width) width 476 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c if (src_x_offset + (int)width <= 0) width 1377 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h uint32_t width, width 95 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c int right = data->h_active - data->recout.x - data->recout.width; width 420 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c int line_size = scl_data->viewport.width < scl_data->recout.width ? width 421 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c scl_data->viewport.width : scl_data->recout.width; width 422 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? width 423 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c scl_data->viewport_c.width : scl_data->recout.width; width 658 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c RECOUT_WIDTH, recout->width, width 830 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c unsigned int width, width 843 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c swath_bytes_horz_wc = width * blk256_height * bpe; width 880 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c hubbub1_det_request_size(input->surface_size.height, input->surface_size.width, width 820 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c PRI_VIEWPORT_WIDTH, viewport->width, width 829 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c SEC_VIEWPORT_WIDTH, viewport->width, width 838 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c PRI_VIEWPORT_WIDTH_C, viewport_c->width, width 1098 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c attr->width, attr->color_format); width 1108 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c CURSOR_WIDTH, attr->width, width 1153 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c x_hotspot = param->viewport.width - x_hotspot; width 1154 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c src_x_offset = param->viewport.x + param->viewport.width - src_x_offset; width 1168 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c if (src_x_offset >= (int)param->viewport.width) width 1171 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c if (src_x_offset + (int)hubp->curs_attr.width <= 0) width 2985 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c pos_cpy.x = pipe_ctx->plane_res.scl_data.viewport.width - width 3002 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pos_cpy.x >= pipe_ctx->plane_res.scl_data.viewport.width + pipe_ctx->plane_res.scl_data.viewport.x) { width 3003 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c pos_cpy.x = 2 * pipe_ctx->plane_res.scl_data.viewport.width width 3008 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (temp_x >= pipe_ctx->plane_res.scl_data.viewport.x + (int)hubp->curs_attr.width width 3009 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c || pos_cpy.x <= (int)hubp->curs_attr.width + pipe_ctx->plane_state->src_rect.x) { width 3010 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c pos_cpy.x = temp_x + pipe_ctx->plane_res.scl_data.viewport.width; width 3017 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c dpp->funcs->set_cursor_position(dpp, &pos_cpy, ¶m, hubp->curs_attr.width, hubp->curs_attr.height); width 1141 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c && plane_state->src_rect.width > caps->max_video_width) width 1169 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c if (plane->src_rect.width > plane->dst_rect.width || width 1173 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c if (plane->src_rect.width >= 3840) width 1177 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c if (plane->src_rect.width >= 3840) width 273 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c int line_size = scl_data->viewport.width < scl_data->recout.width ? width 274 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c scl_data->viewport.width : scl_data->recout.width; width 275 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? width 276 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c scl_data->viewport_c.width : scl_data->recout.width; width 381 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c if (scl_data->viewport.width > scl_data->recout.width) width 382 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c pixel_width = scl_data->recout.width; width 384 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c pixel_width = scl_data->viewport.width; width 387 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c if (scl_data->viewport.width != scl_data->h_active && width 393 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c if (scl_data->viewport.width > scl_data->h_active && width 395 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c scl_data->viewport.width > dpp->ctx->dc->debug.max_downscale_src_width) width 190 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c unsigned int width, width 203 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c swath_bytes_horz_wc = width * blk256_height * bpe; width 239 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c hubbub2_det_request_size(input->surface_size.height, input->surface_size.width, width 578 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c attr->width, attr->color_format); width 588 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c CURSOR_WIDTH, attr->width, width 949 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c int cursor_width = (int)hubp->curs_attr.width; width 976 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c x_hotspot = param->viewport.width - x_hotspot; width 977 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c src_x_offset = param->viewport.x + param->viewport.width - src_x_offset; width 991 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c if (src_x_offset >= (int)param->viewport.width) width 860 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c int width = stream->timing.h_addressable + stream->timing.h_border_left + stream->timing.h_border_right; width 869 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c width = width / odm_cnt; width 886 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c width, width 896 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c width, width 292 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mmhubbub.c dump_info->width = dest_width; width 46 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c int width, width 91 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c DPG_ACTIVE_WIDTH, width, width 263 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c DPG_ACTIVE_WIDTH, width, width 145 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.h int width, width 1762 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( width 1763 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c sd->ratios.horz, sd->recout.width - new_width)); width 1764 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( width 1765 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c sd->ratios.horz_c, sd->recout.width - new_width)); width 1766 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c sd->recout.width = new_width; width 1775 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c new_width = sd->recout.width + sd->recout.x - sd->h_active; width 1776 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( width 1777 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c sd->ratios.horz, sd->recout.width - new_width)); width 1778 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( width 1779 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c sd->ratios.horz_c, sd->recout.width - new_width)); width 1780 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c sd->recout.width = new_width; width 2083 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_width = scl->viewport.width; width 2084 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.src.viewport_width_c = scl->viewport_c.width; width 2097 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.recout_width = scl->recout.width; width 2099 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[pipe_cnt].pipe.dest.full_recout_width = scl->recout.width; width 2103 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c res_ctx->pipe_ctx[i].bottom_pipe->plane_res.scl_data.recout.width; width 2108 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c res_ctx->pipe_ctx[i].top_pipe->plane_res.scl_data.recout.width; width 210 drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h uint32_t width, width 60 drivers/gpu/drm/amd/display/dc/inc/hw/mcif_wb.h unsigned int width; width 313 drivers/gpu/drm/amd/display/dc/inc/hw/opp.h int width, width 219 drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h bool (*arm_vert_intr)(struct timing_generator *tg, uint8_t width); width 170 drivers/gpu/drm/amd/display/include/grph_object_defs.h unsigned int width; width 79 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c kfb->aligned_w = ALIGN(fb->width, alignment_w); width 121 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c if (komeda_fb_check_src_coords(kfb, 0, 0, fb->width, fb->height)) width 216 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c if ((src_x + src_w > fb->width) || (src_y + src_h > fb->height)) { width 31 drivers/gpu/drm/arm/display/komeda/komeda_kms.c u32 pitch = DIV_ROUND_UP(args->width * args->bpp, 8); width 20 drivers/gpu/drm/arm/display/komeda/komeda_wb_connector.c dflow->out_w = fb->width; width 287 drivers/gpu/drm/arm/malidp_drv.c if ((mode_cmd->width % 16) || (mode_cmd->height % 16)) { width 324 drivers/gpu/drm/arm/malidp_drv.c n_superblocks = (mode_cmd->width / afbc_superblock_width) * width 335 drivers/gpu/drm/arm/malidp_drv.c if ((mode_cmd->width * bpp) != (mode_cmd->pitches[0] * BITS_PER_BYTE)) { width 339 drivers/gpu/drm/arm/malidp_drv.c mode_cmd->width, bpp); width 467 drivers/gpu/drm/arm/malidp_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), alignment); width 138 drivers/gpu/drm/arm/malidp_mw.c if ((fb->width != crtc_state->mode.hdisplay) || width 141 drivers/gpu/drm/arm/malidp_mw.c fb->width, fb->height); width 256 drivers/gpu/drm/arm/malidp_mw.c fb->width, fb->height, width 264 drivers/gpu/drm/arm/malidp_mw.c fb->width, fb->height, mw_state->format, width 540 drivers/gpu/drm/arm/malidp_planes.c if (fb->width % block_w || fb->height % block_h) { width 772 drivers/gpu/drm/arm/malidp_planes.c val = ((fb->width - (src_x + src_w)) << MALIDP_AD_CROP_RIGHT_OFFSET) | width 810 drivers/gpu/drm/arm/malidp_planes.c src_w = fb->width; width 542 drivers/gpu/drm/armada/armada_crtc.c unsigned stride, unsigned width, unsigned height) width 552 drivers/gpu/drm/armada/armada_crtc.c for (x = 0; x < width; x++, p++) { width 32 drivers/gpu/drm/armada/armada_drm.h static inline uint32_t armada_pitch(uint32_t width, uint32_t bpp) width 34 drivers/gpu/drm/armada/armada_drm.h uint32_t pitch = bpp != 4 ? width * ((bpp + 7) / 8) : width / 2; width 96 drivers/gpu/drm/armada/armada_fb.c mode->width, mode->height, mode->pixel_format, width 39 drivers/gpu/drm/armada/armada_fbdev.c mode.width = sizes->surface_width; width 41 drivers/gpu/drm/armada/armada_fbdev.c mode.pitches[0] = armada_pitch(mode.width, sizes->surface_bpp); width 91 drivers/gpu/drm/armada/armada_fbdev.c dfb->fb.width, dfb->fb.height, dfb->fb.format->cpp[0] * 8, width 239 drivers/gpu/drm/armada/armada_gem.c args->pitch = armada_pitch(args->width, args->bpp); width 49 drivers/gpu/drm/ast/ast_mode.c uint32_t width, width 1096 drivers/gpu/drm/ast/ast_mode.c static u32 copy_cursor_image(u8 *src, u8 *dst, int width, int height) width 1113 drivers/gpu/drm/ast/ast_mode.c last_alpha_dst_delta = alpha_dst_delta - (width << 1); width 1117 drivers/gpu/drm/ast/ast_mode.c per_pixel_copy = width & 1; width 1118 drivers/gpu/drm/ast/ast_mode.c two_pixel_copy = width >> 1; width 1155 drivers/gpu/drm/ast/ast_mode.c uint32_t width, width 1173 drivers/gpu/drm/ast/ast_mode.c if (width > AST_MAX_HWC_WIDTH || height > AST_MAX_HWC_HEIGHT) width 1207 drivers/gpu/drm/ast/ast_mode.c csum = copy_cursor_image(src, dst, width, height); width 1216 drivers/gpu/drm/ast/ast_mode.c writel(width, dst + AST_HWC_SIGNATURE_SizeX); width 1229 drivers/gpu/drm/ast/ast_mode.c ast_crtc->offset_x = AST_MAX_HWC_WIDTH - width; width 125 drivers/gpu/drm/cirrus/cirrus.c if (fb->width * 3 <= CIRRUS_MAX_PITCH) width 149 drivers/gpu/drm/cirrus/cirrus.c return convert_cpp * fb->width; width 334 drivers/gpu/drm/cirrus/cirrus.c .x2 = fb->width, width 341 drivers/gpu/drm/cirrus/cirrus.c static int cirrus_check_size(int width, int height, width 344 drivers/gpu/drm/cirrus/cirrus.c int pitch = width * 2; width 409 drivers/gpu/drm/cirrus/cirrus.c return cirrus_check_size(fb->width, fb->height, fb); width 486 drivers/gpu/drm/cirrus/cirrus.c if (cirrus_check_size(mode_cmd->width, mode_cmd->height, NULL) < 0) width 192 drivers/gpu/drm/cirrus/cirrus_drv.h bool cirrus_check_framebuffer(struct cirrus_device *cdev, int width, int height, width 597 drivers/gpu/drm/drm_atomic.c fb_width = fb->width << 16; width 616 drivers/gpu/drm/drm_atomic.c fb->width, fb->height); width 802 drivers/gpu/drm/drm_atomic_helper.c drm_rect_rotate(src, fb->width << 16, fb->height << 16, rotation); width 819 drivers/gpu/drm/drm_atomic_helper.c drm_rect_rotate_inv(src, fb->width << 16, fb->height << 16, rotation); width 249 drivers/gpu/drm/drm_client.c drm_client_buffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format) width 264 drivers/gpu/drm/drm_client.c dumb_args.width = width; width 361 drivers/gpu/drm/drm_client.c u32 width, u32 height, u32 format) width 371 drivers/gpu/drm/drm_client.c fb_req.width = width; width 407 drivers/gpu/drm/drm_client.c drm_client_framebuffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format) width 412 drivers/gpu/drm/drm_client.c buffer = drm_client_buffer_create(client, width, height, format); width 416 drivers/gpu/drm/drm_client.c ret = drm_client_buffer_addfb(buffer, width, height, format); width 118 drivers/gpu/drm/drm_client_modeset.c drm_connector_has_preferred_mode(struct drm_connector *connector, int width, int height) width 123 drivers/gpu/drm/drm_client_modeset.c if (mode->hdisplay > width || width 233 drivers/gpu/drm/drm_client_modeset.c bool *enabled, int width, int height) width 345 drivers/gpu/drm/drm_client_modeset.c bool *enabled, int width, int height) width 395 drivers/gpu/drm/drm_client_modeset.c modes[i] = drm_connector_has_preferred_mode(connector, width, height); width 433 drivers/gpu/drm/drm_client_modeset.c int n, int width, int height) width 449 drivers/gpu/drm/drm_client_modeset.c best_crtcs, modes, n + 1, width, height); width 462 drivers/gpu/drm/drm_client_modeset.c if (drm_connector_has_preferred_mode(connector, width, height)) width 491 drivers/gpu/drm/drm_client_modeset.c crtcs, modes, n + 1, width, height); width 509 drivers/gpu/drm/drm_client_modeset.c bool *enabled, int width, int height) width 606 drivers/gpu/drm/drm_client_modeset.c modes[i] = drm_connector_has_preferred_mode(connector, width, height); width 690 drivers/gpu/drm/drm_client_modeset.c int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width, unsigned int height) width 705 drivers/gpu/drm/drm_client_modeset.c if (!width) width 706 drivers/gpu/drm/drm_client_modeset.c width = dev->mode_config.max_width; width 743 drivers/gpu/drm/drm_client_modeset.c total_modes_count += connectors[i]->funcs->fill_modes(connectors[i], width, height); width 749 drivers/gpu/drm/drm_client_modeset.c modes, offsets, enabled, width, height)) { width 755 drivers/gpu/drm/drm_client_modeset.c offsets, enabled, width, height) && width 757 drivers/gpu/drm/drm_client_modeset.c offsets, enabled, width, height)) width 761 drivers/gpu/drm/drm_client_modeset.c width, height); width 764 drivers/gpu/drm/drm_client_modeset.c crtcs, modes, 0, width, height); width 2007 drivers/gpu/drm/drm_connector.c struct drm_connector *connector, int width, int height) width 2014 drivers/gpu/drm/drm_connector.c orientation_quirk = drm_get_panel_orientation_quirk(width, height); width 66 drivers/gpu/drm/drm_dumb_buffers.c if (!args->width || !args->height || !args->bpp) width 73 drivers/gpu/drm/drm_dumb_buffers.c if (cpp > U32_MAX / args->width) width 75 drivers/gpu/drm/drm_dumb_buffers.c stride = cpp * args->width; width 2774 drivers/gpu/drm/drm_edid.c int uninitialized_var(width), height; width 2783 drivers/gpu/drm/drm_edid.c width = height * 4 / 3; width 2786 drivers/gpu/drm/drm_edid.c width = height * 16 / 9; width 2789 drivers/gpu/drm/drm_edid.c width = height * 16 / 10; width 2792 drivers/gpu/drm/drm_edid.c width = height * 15 / 9; width 2798 drivers/gpu/drm/drm_edid.c newmode = drm_cvt_mode(dev, width, height, width 3402 drivers/gpu/drm/drm_edid.c int width, height, vrefresh; width 3425 drivers/gpu/drm/drm_edid.c return mode->hdisplay == stereo_mode->width && width 629 drivers/gpu/drm/drm_fb_helper.c u32 width, u32 height) width 641 drivers/gpu/drm/drm_fb_helper.c clip->x2 = max_t(u32, clip->x2, x + width); width 775 drivers/gpu/drm/drm_fb_helper.c rect->width, rect->height); width 791 drivers/gpu/drm/drm_fb_helper.c area->width, area->height); width 807 drivers/gpu/drm/drm_fb_helper.c image->width, image->height); width 823 drivers/gpu/drm/drm_fb_helper.c rect->width, rect->height); width 839 drivers/gpu/drm/drm_fb_helper.c area->width, area->height); width 855 drivers/gpu/drm/drm_fb_helper.c image->width, image->height); width 1324 drivers/gpu/drm/drm_fb_helper.c var->xres > fb->width || var->yres > fb->height || width 1325 drivers/gpu/drm/drm_fb_helper.c var->xres_virtual > fb->width || var->yres_virtual > fb->height) { width 1330 drivers/gpu/drm/drm_fb_helper.c fb->width, fb->height, fb->format->cpp[0] * 8); width 1684 drivers/gpu/drm/drm_fb_helper.c info->var.xres_virtual = fb->width; width 1764 drivers/gpu/drm/drm_fb_helper.c info->var.width = connector->display_info.width_mm; width 1801 drivers/gpu/drm/drm_fb_helper.c unsigned int width, height; width 1804 drivers/gpu/drm/drm_fb_helper.c width = dev->mode_config.max_width; width 1807 drivers/gpu/drm/drm_fb_helper.c drm_client_modeset_probe(&fb_helper->client, width, height); width 1954 drivers/gpu/drm/drm_fb_helper.c drm_client_modeset_probe(&fb_helper->client, fb_helper->fb->width, fb_helper->fb->height); width 81 drivers/gpu/drm/drm_framebuffer.c fb_width = fb->width << 16; width 95 drivers/gpu/drm/drm_framebuffer.c fb->width, fb->height); width 133 drivers/gpu/drm/drm_framebuffer.c r.width = or->width; width 153 drivers/gpu/drm/drm_framebuffer.c static int fb_plane_width(int width, width 157 drivers/gpu/drm/drm_framebuffer.c return width; width 159 drivers/gpu/drm/drm_framebuffer.c return DIV_ROUND_UP(width, format->hsub); width 191 drivers/gpu/drm/drm_framebuffer.c if (r->width == 0) { width 192 drivers/gpu/drm/drm_framebuffer.c DRM_DEBUG_KMS("bad framebuffer width %u\n", r->width); width 202 drivers/gpu/drm/drm_framebuffer.c unsigned int width = fb_plane_width(r->width, info, i); width 205 drivers/gpu/drm/drm_framebuffer.c u64 min_pitch = drm_format_info_min_pitch(info, i, width); width 248 drivers/gpu/drm/drm_framebuffer.c width % 128 || height % 32 || width 303 drivers/gpu/drm/drm_framebuffer.c if ((config->min_width > r->width) || (r->width > config->max_width)) { width 305 drivers/gpu/drm/drm_framebuffer.c r->width, config->min_width, config->max_width); width 531 drivers/gpu/drm/drm_framebuffer.c r->width = fb->width; width 1009 drivers/gpu/drm/drm_framebuffer.c int drm_framebuffer_plane_width(int width, width 1015 drivers/gpu/drm/drm_framebuffer.c return fb_plane_width(width, fb->format, plane); width 1050 drivers/gpu/drm/drm_framebuffer.c drm_printf_indent(p, indent, "size=%ux%u\n", fb->width, fb->height); width 1055 drivers/gpu/drm/drm_framebuffer.c drm_framebuffer_plane_width(fb->width, fb, i), width 215 drivers/gpu/drm/drm_gem_cma_helper.c unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); width 254 drivers/gpu/drm/drm_gem_cma_helper.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); width 157 drivers/gpu/drm/drm_gem_framebuffer_helper.c unsigned int width = mode_cmd->width / (i ? info->hsub : 1); width 169 drivers/gpu/drm/drm_gem_framebuffer_helper.c + drm_format_info_min_pitch(info, i, width) width 451 drivers/gpu/drm/drm_gem_shmem_helper.c u32 min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); width 375 drivers/gpu/drm/drm_gem_vram_helper.c pitch = args->width * ((args->bpp + 7) / 8); width 873 drivers/gpu/drm/drm_ioc32.c u32 width; width 247 drivers/gpu/drm/drm_mipi_dbi.c unsigned int width = rect->x2 - rect->x1; width 260 drivers/gpu/drm/drm_mipi_dbi.c full = width == fb->width && height == fb->height; width 282 drivers/gpu/drm/drm_mipi_dbi.c width * height * 2); width 338 drivers/gpu/drm/drm_mipi_dbi.c .x2 = fb->width, width 359 drivers/gpu/drm/drm_mipi_dbi.c u16 width = drm->mode_config.min_width; width 361 drivers/gpu/drm/drm_mipi_dbi.c size_t len = width * height * 2; width 370 drivers/gpu/drm/drm_mipi_dbi.c ((width - 1) >> 8) & 0xFF, (width - 1) & 0xFF); width 87 drivers/gpu/drm/drm_modeset_helper.c fb->width = mode_cmd->width; width 27 drivers/gpu/drm/drm_panel_orientation_quirks.c int width; width 34 drivers/gpu/drm/drm_panel_orientation_quirks.c .width = 800, width 40 drivers/gpu/drm/drm_panel_orientation_quirks.c .width = 800, width 46 drivers/gpu/drm/drm_panel_orientation_quirks.c .width = 720, width 54 drivers/gpu/drm/drm_panel_orientation_quirks.c .width = 1200, width 62 drivers/gpu/drm/drm_panel_orientation_quirks.c .width = 1200, width 70 drivers/gpu/drm/drm_panel_orientation_quirks.c .width = 720, width 79 drivers/gpu/drm/drm_panel_orientation_quirks.c .width = 720, width 87 drivers/gpu/drm/drm_panel_orientation_quirks.c .width = 800, width 94 drivers/gpu/drm/drm_panel_orientation_quirks.c .width = 720, width 100 drivers/gpu/drm/drm_panel_orientation_quirks.c .width = 800, width 106 drivers/gpu/drm/drm_panel_orientation_quirks.c .width = 1200, width 237 drivers/gpu/drm/drm_panel_orientation_quirks.c int drm_get_panel_orientation_quirk(int width, int height) width 249 drivers/gpu/drm/drm_panel_orientation_quirks.c if (data->width != width || width 272 drivers/gpu/drm/drm_panel_orientation_quirks.c int drm_get_panel_orientation_quirk(int width, int height) width 851 drivers/gpu/drm/drm_plane.c .width = req->width, width 854 drivers/gpu/drm/drm_plane.c .pitches = { req->width * 4 }, width 902 drivers/gpu/drm/drm_plane.c crtc_w = fb->width; width 904 drivers/gpu/drm/drm_plane.c src_w = fb->width << 16; width 980 drivers/gpu/drm/drm_plane.c req->width, req->height, req->hot_x, req->hot_y); width 983 drivers/gpu/drm/drm_plane.c req->width, req->height); width 249 drivers/gpu/drm/drm_rect.c int width, int height, width 258 drivers/gpu/drm/drm_rect.c r->x1 = width - tmp.x2; width 259 drivers/gpu/drm/drm_rect.c r->x2 = width - tmp.x1; width 275 drivers/gpu/drm/drm_rect.c r->y1 = width - tmp.x2; width 276 drivers/gpu/drm/drm_rect.c r->y2 = width - tmp.x1; width 280 drivers/gpu/drm/drm_rect.c r->x1 = width - tmp.x2; width 281 drivers/gpu/drm/drm_rect.c r->x2 = width - tmp.x1; width 323 drivers/gpu/drm/drm_rect.c int width, int height, width 333 drivers/gpu/drm/drm_rect.c r->x1 = width - tmp.y2; width 334 drivers/gpu/drm/drm_rect.c r->x2 = width - tmp.y1; width 340 drivers/gpu/drm/drm_rect.c r->x1 = width - tmp.x2; width 341 drivers/gpu/drm/drm_rect.c r->x2 = width - tmp.x1; width 360 drivers/gpu/drm/drm_rect.c r->x1 = width - tmp.x2; width 361 drivers/gpu/drm/drm_rect.c r->x2 = width - tmp.x1; width 370 drivers/gpu/drm/exynos/exynos5433_drm_decon.c if (fb->width < MIN_FB_WIDTH_FOR_16WORD_BURST) { width 324 drivers/gpu/drm/exynos/exynos7_drm_decon.c padding = (fb->pitches[0] / fb->format->cpp[0]) - fb->width; width 325 drivers/gpu/drm/exynos/exynos7_drm_decon.c if (fb->width + padding < MIN_FB_WIDTH_FOR_16WORD_BURST) { width 411 drivers/gpu/drm/exynos/exynos7_drm_decon.c padding = (pitch / cpp) - fb->width; width 414 drivers/gpu/drm/exynos/exynos7_drm_decon.c writel(fb->width + padding, ctx->regs + VIDW_WHOLE_X(win)); width 78 drivers/gpu/drm/exynos/exynos_drm_fbdev.c unsigned int size = fb->width * fb->height * fb->format->cpp[0]; width 128 drivers/gpu/drm/exynos/exynos_drm_fbdev.c mode_cmd.width = sizes->surface_width; width 869 drivers/gpu/drm/exynos/exynos_drm_fimc.c if (buf->buf.width >= FIMC_WIDTH_ITU_709) width 638 drivers/gpu/drm/exynos/exynos_drm_fimd.c struct drm_framebuffer *fb, int width) width 699 drivers/gpu/drm/exynos/exynos_drm_fimd.c if (width < MIN_FB_WIDTH_FOR_16WORD_BURST) { width 638 drivers/gpu/drm/exynos/exynos_drm_g2d.c int width, height; width 649 drivers/gpu/drm/exynos/exynos_drm_g2d.c width = (int)buf_desc->right_x - (int)buf_desc->left_x; width 650 drivers/gpu/drm/exynos/exynos_drm_g2d.c if (width < G2D_LEN_MIN || width > G2D_LEN_MAX) { width 651 drivers/gpu/drm/exynos/exynos_drm_g2d.c DRM_DEV_ERROR(g2d->dev, "width[%d] is out of range!\n", width); width 360 drivers/gpu/drm/exynos/exynos_drm_gem.c args->pitch = args->width * ((args->bpp + 7) / 8); width 567 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (buf->buf.width == 0 || buf->buf.height == 0) width 572 drivers/gpu/drm/exynos/exynos_drm_ipp.c unsigned int width = (i == 0) ? buf->buf.width : width 573 drivers/gpu/drm/exynos/exynos_drm_ipp.c DIV_ROUND_UP(buf->buf.width, buf->format->hsub); width 576 drivers/gpu/drm/exynos/exynos_drm_ipp.c buf->buf.pitch[i] = width * buf->format->cpp[i]; width 577 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (buf->buf.pitch[i] < width * buf->format->cpp[i]) width 614 drivers/gpu/drm/exynos/exynos_drm_ipp.c src->rect.w = src->buf.width; width 618 drivers/gpu/drm/exynos/exynos_drm_ipp.c dst->rect.w = dst->buf.width; width 622 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (src->rect.x + src->rect.w > (src->buf.width) || width 624 drivers/gpu/drm/exynos/exynos_drm_ipp.c dst->rect.x + dst->rect.w > (dst->buf.width) || width 409 drivers/gpu/drm/exynos/exynos_mixer.c static void mixer_cfg_scan(struct mixer_context *ctx, int width, int height) width 419 drivers/gpu/drm/exynos/exynos_mixer.c MXR_MXR_RES_HEIGHT(height) | MXR_MXR_RES_WIDTH(width)); width 1073 drivers/gpu/drm/exynos/exynos_mixer.c int width = mode->hdisplay, height = mode->vdisplay, i; width 1094 drivers/gpu/drm/exynos/exynos_mixer.c if (width <= modes[i].hdisplay && height <= modes[i].vdisplay) { width 1096 drivers/gpu/drm/exynos/exynos_mixer.c if (width < modes[i].hdisplay || width 277 drivers/gpu/drm/gma500/accel_2d.c a->sx, a->sy, a->dx, a->dy, a->width, a->height); width 296 drivers/gpu/drm/gma500/accel_2d.c if (region->width == 8 || region->height == 8 || width 319 drivers/gpu/drm/gma500/framebuffer.c mode_cmd.width = sizes->surface_width; width 334 drivers/gpu/drm/gma500/framebuffer.c mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 4096 >> pitch_lines); width 362 drivers/gpu/drm/gma500/framebuffer.c mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 64); width 422 drivers/gpu/drm/gma500/framebuffer.c psbfb->base.width, psbfb->base.height); width 103 drivers/gpu/drm/gma500/gem.c args->pitch = ALIGN(args->width * ((args->bpp + 7) / 8), 64); width 322 drivers/gpu/drm/gma500/gma_display.c uint32_t width, uint32_t height) width 359 drivers/gpu/drm/gma500/gma_display.c if (width != 64 || height != 64) { width 370 drivers/gpu/drm/gma500/gma_display.c if (obj->size < width * height * 4) { width 63 drivers/gpu/drm/gma500/gma_display.h uint32_t width, uint32_t height); width 691 drivers/gpu/drm/gma500/psb_intel_sdvo.c uint16_t width, width 698 drivers/gpu/drm/gma500/psb_intel_sdvo.c args.width = width; width 703 drivers/gpu/drm/gma500/psb_intel_sdvo.c (psb_intel_sdvo->sdvo_lvds_fixed_mode->hdisplay != width || width 731 drivers/gpu/drm/gma500/psb_intel_sdvo.c uint16_t width, height; width 735 drivers/gpu/drm/gma500/psb_intel_sdvo.c width = mode->crtc_hdisplay; width 749 drivers/gpu/drm/gma500/psb_intel_sdvo.c dtd->part1.h_active = width & 0xff; width 751 drivers/gpu/drm/gma500/psb_intel_sdvo.c dtd->part1.h_high = (((width >> 8) & 0xf) << 4) | width 101 drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h u16 width; width 125 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c reg = state->fb->width * (state->fb->format->cpp[0]); width 129 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c line_l = state->fb->width * state->fb->format->cpp[0]; width 367 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c int width = mode->hsync_end - mode->hsync_start; width 375 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c writel(HIBMC_FIELD(HIBMC_CRT_HORZ_SYNC_WIDTH, width) | width 74 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c mode_cmd.width = sizes->surface_width; width 76 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c mode_cmd.pitches[0] = mode_cmd.width * bytes_per_pixel; width 80 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c args->pitch = ALIGN(args->width * DIV_ROUND_UP(args->bpp, 8), 16); width 149 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c mode_cmd->width, mode_cmd->height, width 175 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c u32 width = mode->hdisplay; width 200 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c writel(((height - 1) << VSIZE_OFST) | (width - 1), width 205 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c writel(((width - 1) << OUTPUT_XSIZE_OFST) | (height - 1), width 211 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c writel(width * height - 1, base + ADE_CTRAN_IMAGE_SIZE(ADE_CTRAN6)); width 216 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c DRM_DEBUG_DRIVER("set mode: %dx%d\n", width, height); width 560 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c addr, fb->width, fb->height, fmt, width 732 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c ade_clip_set(base, ch, fb->width, src_x, in_w, in_h); width 791 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c if (src_x + src_w > fb->width || width 623 drivers/gpu/drm/i810/i810_dma.c unsigned int width = (pbox->x2 - x) * cpp; width 636 drivers/gpu/drm/i810/i810_dma.c OUT_RING((height << 16) | width); width 647 drivers/gpu/drm/i810/i810_dma.c OUT_RING((height << 16) | width); width 658 drivers/gpu/drm/i810/i810_dma.c OUT_RING((height << 16) | width); width 178 drivers/gpu/drm/i915/display/dvo_ivch.c u16 width, height; width 293 drivers/gpu/drm/i915/display/dvo_ivch.c ivch_read(dvo, VR20, &priv->width); width 2397 drivers/gpu/drm/i915/display/intel_ddi.c int width, rate, ln; width 2401 drivers/gpu/drm/i915/display/intel_ddi.c width = 4; width 2406 drivers/gpu/drm/i915/display/intel_ddi.c width = intel_dp->lane_count; width 2433 drivers/gpu/drm/i915/display/intel_ddi.c if ((rate <= 600000 && width == 4 && ln >= 1) || width 2434 drivers/gpu/drm/i915/display/intel_ddi.c (rate <= 600000 && width < 4 && (ln == 1 || ln == 2))) { width 2521 drivers/gpu/drm/i915/display/intel_ddi.c int width = 0; width 2527 drivers/gpu/drm/i915/display/intel_ddi.c width = 4; width 2532 drivers/gpu/drm/i915/display/intel_ddi.c width = intel_dp->lane_count; width 2559 drivers/gpu/drm/i915/display/intel_ddi.c if ((rate <= 600000 && width == 4 && ln >= 1) || width 2560 drivers/gpu/drm/i915/display/intel_ddi.c (rate <= 600000 && width < 4 && (ln == 1 || ln == 2))) { width 1978 drivers/gpu/drm/i915/display/intel_display.c size += rot_info->plane[i].width * rot_info->plane[i].height; width 1989 drivers/gpu/drm/i915/display/intel_display.c size += rem_info->plane[i].width * rem_info->plane[i].height; width 2640 drivers/gpu/drm/i915/display/intel_display.c unsigned int width, height; width 2647 drivers/gpu/drm/i915/display/intel_display.c width = drm_framebuffer_plane_width(fb->width, fb, i); width 2698 drivers/gpu/drm/i915/display/intel_display.c (x + width) * cpp > fb->pitches[i]) { width 2726 drivers/gpu/drm/i915/display/intel_display.c rot_info->plane[i].width = DIV_ROUND_UP(x + width, tile_width); width 2744 drivers/gpu/drm/i915/display/intel_display.c r.x2 = x + width; width 2747 drivers/gpu/drm/i915/display/intel_display.c rot_info->plane[i].width * tile_width, width 2766 drivers/gpu/drm/i915/display/intel_display.c gtt_offset_rotated += rot_info->plane[i].width * rot_info->plane[i].height; width 2833 drivers/gpu/drm/i915/display/intel_display.c unsigned int width, height; width 2842 drivers/gpu/drm/i915/display/intel_display.c width = src_w / hsub; width 2860 drivers/gpu/drm/i915/display/intel_display.c info->plane[i].width = DIV_ROUND_UP(x + width, tile_width); width 2869 drivers/gpu/drm/i915/display/intel_display.c r.x2 = x + width; width 2872 drivers/gpu/drm/i915/display/intel_display.c info->plane[i].width * tile_width, width 2884 drivers/gpu/drm/i915/display/intel_display.c pitch_tiles = info->plane[i].width; width 2897 drivers/gpu/drm/i915/display/intel_display.c gtt_offset += info->plane[i].width * info->plane[i].height; width 2948 drivers/gpu/drm/i915/display/intel_display.c fb->base.width << 16, fb->base.height << 16, width 3091 drivers/gpu/drm/i915/display/intel_display.c mode_cmd.width = fb->width; width 3256 drivers/gpu/drm/i915/display/intel_display.c plane_state->src_w = fb->width << 16; width 3261 drivers/gpu/drm/i915/display/intel_display.c plane_state->crtc_w = fb->width; width 8653 drivers/gpu/drm/i915/display/intel_display.c fb->width = ((val >> 16) & 0xfff) + 1; width 8664 drivers/gpu/drm/i915/display/intel_display.c crtc->base.name, plane->base.name, fb->width, fb->height, width 9896 drivers/gpu/drm/i915/display/intel_display.c fb->width = ((val >> 0) & 0x1fff) + 1; width 9907 drivers/gpu/drm/i915/display/intel_display.c crtc->base.name, plane->base.name, fb->width, fb->height, width 10553 drivers/gpu/drm/i915/display/intel_display.c int width = plane_state->base.crtc_w; width 10556 drivers/gpu/drm/i915/display/intel_display.c return width > 0 && width <= config->cursor_width && width 10651 drivers/gpu/drm/i915/display/intel_display.c int width = plane_state->base.crtc_w; width 10657 drivers/gpu/drm/i915/display/intel_display.c return intel_cursor_size_ok(plane_state) && IS_ALIGNED(width, 64); width 10711 drivers/gpu/drm/i915/display/intel_display.c unsigned int width = plane_state->base.crtc_w; width 10717 drivers/gpu/drm/i915/display/intel_display.c size = (height << 12) | width; width 10839 drivers/gpu/drm/i915/display/intel_display.c int width = plane_state->base.crtc_w; width 10846 drivers/gpu/drm/i915/display/intel_display.c switch (width) { width 10863 drivers/gpu/drm/i915/display/intel_display.c if (height < 8 || height > width) width 10866 drivers/gpu/drm/i915/display/intel_display.c if (height != width) width 12059 drivers/gpu/drm/i915/display/intel_display.c fb->base.id, fb->width, fb->height, width 15698 drivers/gpu/drm/i915/display/intel_display.c if (IS_GEN(dev_priv, 9) && i == 0 && fb->width > 3840 && width 77 drivers/gpu/drm/i915/display/intel_fbc.c int *width, int *height) width 79 drivers/gpu/drm/i915/display/intel_fbc.c if (width) width 80 drivers/gpu/drm/i915/display/intel_fbc.c *width = cache->plane.src_w; width 130 drivers/gpu/drm/i915/display/intel_fbdev.c mode_cmd.width = sizes->surface_width; width 133 drivers/gpu/drm/i915/display/intel_fbdev.c mode_cmd.pitches[0] = ALIGN(mode_cmd.width * width 185 drivers/gpu/drm/i915/display/intel_fbdev.c (sizes->fb_width > intel_fb->base.width || width 189 drivers/gpu/drm/i915/display/intel_fbdev.c intel_fb->base.width, intel_fb->base.height, width 203 drivers/gpu/drm/i915/display/intel_fbdev.c sizes->fb_width = intel_fb->base.width; width 264 drivers/gpu/drm/i915/display/intel_fbdev.c ifbdev->fb->base.width, ifbdev->fb->base.height, width 500 drivers/gpu/drm/i915/display/intel_overlay.c static int packed_width_bytes(u32 format, short width) width 504 drivers/gpu/drm/i915/display/intel_overlay.c return width << 1; width 538 drivers/gpu/drm/i915/display/intel_overlay.c static u32 calc_swidthsw(struct drm_i915_private *dev_priv, u32 offset, u32 width) width 543 drivers/gpu/drm/i915/display/intel_overlay.c sw = ALIGN((offset & 31) + width, 32); width 545 drivers/gpu/drm/i915/display/intel_overlay.c sw = ALIGN((offset & 63) + width, 64); width 182 drivers/gpu/drm/i915/display/intel_panel.c int x = 0, y = 0, width = 0, height = 0; width 192 drivers/gpu/drm/i915/display/intel_panel.c width = pipe_config->pipe_src_w; width 194 drivers/gpu/drm/i915/display/intel_panel.c x = (adjusted_mode->crtc_hdisplay - width + 1)/2; width 206 drivers/gpu/drm/i915/display/intel_panel.c width = scaled_height / pipe_config->pipe_src_h; width 207 drivers/gpu/drm/i915/display/intel_panel.c if (width & 1) width 208 drivers/gpu/drm/i915/display/intel_panel.c width++; width 209 drivers/gpu/drm/i915/display/intel_panel.c x = (adjusted_mode->crtc_hdisplay - width + 1) / 2; width 218 drivers/gpu/drm/i915/display/intel_panel.c width = adjusted_mode->crtc_hdisplay; width 221 drivers/gpu/drm/i915/display/intel_panel.c width = adjusted_mode->crtc_hdisplay; width 229 drivers/gpu/drm/i915/display/intel_panel.c width = adjusted_mode->crtc_hdisplay; width 240 drivers/gpu/drm/i915/display/intel_panel.c pipe_config->pch_pfit.size = (width << 16) | height; width 246 drivers/gpu/drm/i915/display/intel_panel.c int width) width 255 drivers/gpu/drm/i915/display/intel_panel.c border = (adjusted_mode->crtc_hdisplay - width + 1) / 2; width 258 drivers/gpu/drm/i915/display/intel_panel.c adjusted_mode->crtc_hdisplay = width; width 259 drivers/gpu/drm/i915/display/intel_panel.c adjusted_mode->crtc_hblank_start = width + border; width 785 drivers/gpu/drm/i915/display/intel_sdvo.c u16 width, width 792 drivers/gpu/drm/i915/display/intel_sdvo.c args.width = width; width 800 drivers/gpu/drm/i915/display/intel_sdvo.c if (fixed_mode->hdisplay != width || width 829 drivers/gpu/drm/i915/display/intel_sdvo.c u16 width, height; width 836 drivers/gpu/drm/i915/display/intel_sdvo.c width = mode->hdisplay; width 853 drivers/gpu/drm/i915/display/intel_sdvo.c dtd->part1.h_active = width & 0xff; width 855 drivers/gpu/drm/i915/display/intel_sdvo.c dtd->part1.h_high = (((width >> 8) & 0xf) << 4) | width 112 drivers/gpu/drm/i915/display/intel_sdvo_regs.h u16 width; width 16 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c unsigned int width; width 40 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c v += y * tile->width; width 41 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c v += div64_u64_rem(x, tile->width, &x) << tile->size; width 43 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c } else if (tile->width == 128) { width 216 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c tile.width = 1; width 258 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c tile.width = 128; width 263 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c tile.width = 128; width 267 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c tile.width = 512; width 272 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c max_pitch = 8192 / tile.width; width 274 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c max_pitch = 128 * I965_FENCE_MAX_PITCH_VAL / tile.width; width 276 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c max_pitch = 128 * GEN7_FENCE_MAX_PITCH_VAL / tile.width; width 279 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c tile.stride = tile.width * pitch; width 287 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c tile.stride = tile.width * (pitch - 1); width 296 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c tile.stride = tile.width * (pitch + 1); width 307 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c tile.stride = tile.width * pitch; width 200 drivers/gpu/drm/i915/gvt/dmabuf.c if (c && c->x_hot <= c->width && c->y_hot <= c->height) width 223 drivers/gpu/drm/i915/gvt/dmabuf.c info->width = p.width; width 253 drivers/gpu/drm/i915/gvt/dmabuf.c info->width = c.width; width 255 drivers/gpu/drm/i915/gvt/dmabuf.c info->stride = c.width * (c.bpp / 8); width 314 drivers/gpu/drm/i915/gvt/dmabuf.c (fb_info->width == latest_info->width) && width 351 drivers/gpu/drm/i915/gvt/dmabuf.c gvt_dmabuf->width = fb_info->width; width 40 drivers/gpu/drm/i915/gvt/dmabuf.h __u32 width; /* width of plane */ width 263 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->width = (vgpu_vreg_t(vgpu, PIPESRC(pipe)) & _PIPE_H_SRCSZ_MASK) >> width 265 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->width += 1; width 283 drivers/gpu/drm/i915/gvt/fb_decoder.c u32 width; /* In pixel */ width 359 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->width = cursor_pixel_formats[index].width; width 491 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->width = (val & _SPRITE_SIZE_WIDTH_MASK) >> width 494 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->width += 1; /* raw width is one minus the real value */ width 112 drivers/gpu/drm/i915/gvt/fb_decoder.h u32 width; /* in pixels */ width 129 drivers/gpu/drm/i915/gvt/fb_decoder.h u32 width; /* in pixels */ width 145 drivers/gpu/drm/i915/gvt/fb_decoder.h u32 width; /* in pixels */ width 186 drivers/gpu/drm/i915/i915_debugfs.c vma->ggtt_view.rotated.plane[0].width, width 190 drivers/gpu/drm/i915/i915_debugfs.c vma->ggtt_view.rotated.plane[1].width, width 198 drivers/gpu/drm/i915/i915_debugfs.c vma->ggtt_view.remapped.plane[0].width, width 202 drivers/gpu/drm/i915/i915_debugfs.c vma->ggtt_view.remapped.plane[1].width, width 1526 drivers/gpu/drm/i915/i915_debugfs.c fbdev_fb->base.width, width 1544 drivers/gpu/drm/i915/i915_debugfs.c fb->base.width, width 2472 drivers/gpu/drm/i915/i915_debugfs.c plane_state->src_y >> 16, fb->width, fb->height); width 739 drivers/gpu/drm/i915/i915_drv.c return dimm->ranks * 64 / (dimm->width ?: 1); width 822 drivers/gpu/drm/i915/i915_drv.c dimm->width = cnl_get_dimm_width(val); width 826 drivers/gpu/drm/i915/i915_drv.c dimm->width = skl_get_dimm_width(val); width 831 drivers/gpu/drm/i915/i915_drv.c channel, dimm_name, dimm->size, dimm->width, dimm->ranks, width 1044 drivers/gpu/drm/i915/i915_drv.c dimm->width = bxt_get_dimm_width(val); width 1100 drivers/gpu/drm/i915/i915_drv.c dimm.size, dimm.width, dimm.ranks, width 917 drivers/gpu/drm/i915/i915_drv.h u32 width; width 1767 drivers/gpu/drm/i915/i915_drv.h u8 size, width, ranks; width 212 drivers/gpu/drm/i915/i915_gem.c args->pitch = ALIGN(args->width * cpp, 64); width 3358 drivers/gpu/drm/i915/i915_gem_gtt.c unsigned int width, unsigned int height, width 3365 drivers/gpu/drm/i915/i915_gem_gtt.c for (column = 0; column < width; column++) { width 3409 drivers/gpu/drm/i915/i915_gem_gtt.c rot_info->plane[i].width, rot_info->plane[i].height, width 3420 drivers/gpu/drm/i915/i915_gem_gtt.c obj->base.size, rot_info->plane[0].width, rot_info->plane[0].height, size); width 3427 drivers/gpu/drm/i915/i915_gem_gtt.c unsigned int width, unsigned int height, width 3434 drivers/gpu/drm/i915/i915_gem_gtt.c unsigned int left = width * I915_GTT_PAGE_SIZE; width 3460 drivers/gpu/drm/i915/i915_gem_gtt.c offset += stride - width; width 3490 drivers/gpu/drm/i915/i915_gem_gtt.c rem_info->plane[i].width, rem_info->plane[i].height, width 3503 drivers/gpu/drm/i915/i915_gem_gtt.c obj->base.size, rem_info->plane[0].width, rem_info->plane[0].height, size); width 156 drivers/gpu/drm/i915/i915_gem_gtt.h unsigned int width, height, stride, offset; width 5453 drivers/gpu/drm/i915/i915_reg.h #define DP_PORT_WIDTH(width) (((width) - 1) << 19) width 8387 drivers/gpu/drm/i915/i915_reg.h #define FDI_DP_PORT_WIDTH(width) (((width) - 1) << FDI_DP_PORT_WIDTH_SHIFT) width 9478 drivers/gpu/drm/i915/i915_reg.h #define DDI_PORT_WIDTH(width) (((width) - 1) << 1) width 729 drivers/gpu/drm/i915/intel_pm.c unsigned int width, width 743 drivers/gpu/drm/i915/intel_pm.c ret = (ret + 1) * width * cpp; width 942 drivers/gpu/drm/i915/intel_pm.c static unsigned int g4x_tlb_miss_wa(int fifo_size, int width, int cpp) width 944 drivers/gpu/drm/i915/intel_pm.c int tlb_miss = fifo_size * 64 - width * cpp * 8; width 1120 drivers/gpu/drm/i915/intel_pm.c unsigned int clock, htotal, cpp, width, wm; width 1149 drivers/gpu/drm/i915/intel_pm.c width = plane_state->base.crtc_w; width 1151 drivers/gpu/drm/i915/intel_pm.c width = drm_rect_width(&plane_state->base.dst); width 1154 drivers/gpu/drm/i915/intel_pm.c wm = intel_wm_method2(clock, htotal, width, cpp, latency); width 1162 drivers/gpu/drm/i915/intel_pm.c large = intel_wm_method2(clock, htotal, width, cpp, latency); width 1168 drivers/gpu/drm/i915/intel_pm.c width, cpp); width 1592 drivers/gpu/drm/i915/intel_pm.c unsigned int width, width 1599 drivers/gpu/drm/i915/intel_pm.c width, cpp, latency); width 1628 drivers/gpu/drm/i915/intel_pm.c unsigned int clock, htotal, cpp, width, wm; width 1639 drivers/gpu/drm/i915/intel_pm.c width = crtc_state->pipe_src_w; width 1650 drivers/gpu/drm/i915/intel_pm.c wm = vlv_wm_method2(clock, htotal, width, cpp, width 2465 drivers/gpu/drm/i915/intel_pm.c unsigned int width, width 2472 drivers/gpu/drm/i915/intel_pm.c width, cpp, latency); width 3935 drivers/gpu/drm/i915/intel_pm.c int width, const struct drm_format_info *format, width 4208 drivers/gpu/drm/i915/intel_pm.c u32 width = 0, height = 0; width 4230 drivers/gpu/drm/i915/intel_pm.c width = drm_rect_width(&plane_state->base.src) >> 16; width 4235 drivers/gpu/drm/i915/intel_pm.c width /= 2; width 4239 drivers/gpu/drm/i915/intel_pm.c data_rate = width * height; width 4640 drivers/gpu/drm/i915/intel_pm.c int width, const struct drm_format_info *format, width 4664 drivers/gpu/drm/i915/intel_pm.c wp->width = width; width 4666 drivers/gpu/drm/i915/intel_pm.c wp->width /= 2; width 4699 drivers/gpu/drm/i915/intel_pm.c wp->plane_bytes_per_line = wp->width * wp->cpp; width 4736 drivers/gpu/drm/i915/intel_pm.c int width; width 4739 drivers/gpu/drm/i915/intel_pm.c width = plane_state->base.crtc_w; width 4746 drivers/gpu/drm/i915/intel_pm.c width = drm_rect_width(&plane_state->base.src) >> 16; width 4749 drivers/gpu/drm/i915/intel_pm.c return skl_compute_wm_params(crtc_state, width, width 372 drivers/gpu/drm/i915/selftests/i915_vma.c for (x = 0; x < r->plane[n].width; x++) { width 425 drivers/gpu/drm/i915/selftests/i915_vma.c for (x = 0; x < r->plane[n].width; x++) { width 470 drivers/gpu/drm/i915/selftests/i915_vma.c return a->width * a->height + b->width * b->height; width 479 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 1, .height = 1, .stride = 1 }, width 480 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 2, .height = 2, .stride = 2 }, width 481 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 4, .height = 4, .stride = 4 }, width 482 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 8, .height = 8, .stride = 8 }, width 484 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 3, .height = 5, .stride = 3 }, width 485 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 3, .height = 5, .stride = 4 }, width 486 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 3, .height = 5, .stride = 5 }, width 488 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 5, .height = 3, .stride = 5 }, width 489 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 5, .height = 3, .stride = 7 }, width 490 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 5, .height = 3, .stride = 9 }, width 492 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 4, .height = 6, .stride = 6 }, width 493 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 6, .height = 4, .stride = 6 }, width 513 drivers/gpu/drm/i915/selftests/i915_vma.c for (a = planes; a->width; a++) { width 590 drivers/gpu/drm/i915/selftests/i915_vma.c view.rotated.plane[0].width, width 594 drivers/gpu/drm/i915/selftests/i915_vma.c view.rotated.plane[1].width, width 852 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 1, .height = 1, .stride = 1 }, width 853 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 2, .height = 2, .stride = 2 }, width 854 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 4, .height = 4, .stride = 4 }, width 855 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 8, .height = 8, .stride = 8 }, width 857 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 3, .height = 5, .stride = 3 }, width 858 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 3, .height = 5, .stride = 4 }, width 859 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 3, .height = 5, .stride = 5 }, width 861 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 5, .height = 3, .stride = 5 }, width 862 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 5, .height = 3, .stride = 7 }, width 863 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 5, .height = 3, .stride = 9 }, width 865 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 4, .height = 6, .stride = 6 }, width 866 drivers/gpu/drm/i915/selftests/i915_vma.c { .width = 6, .height = 4, .stride = 6 }, width 887 drivers/gpu/drm/i915/selftests/i915_vma.c for (p = planes; p->width; p++) { width 919 drivers/gpu/drm/i915/selftests/i915_vma.c for (x = 0 ; x < p->width; x++) { width 926 drivers/gpu/drm/i915/selftests/i915_vma.c offset = (y * p->width + x) * PAGE_SIZE; width 950 drivers/gpu/drm/i915/selftests/i915_vma.c for (x = 0 ; x < p->width; x++) { width 523 drivers/gpu/drm/imx/ipuv3-plane.c static void ipu_calculate_bursts(u32 width, u32 cpp, u32 stride, width 526 drivers/gpu/drm/imx/ipuv3-plane.c const unsigned int width_bytes = width * cpp; width 559 drivers/gpu/drm/imx/ipuv3-plane.c u32 width, height; width 628 drivers/gpu/drm/imx/ipuv3-plane.c width = drm_rect_width(&state->src) >> 16; width 631 drivers/gpu/drm/imx/ipuv3-plane.c ipu_calculate_bursts(width, info->cpp[0], fb->pitches[0], width 635 drivers/gpu/drm/imx/ipuv3-plane.c ipu_cpmem_set_resolution(ipu_plane->ipu_ch, width, height); width 373 drivers/gpu/drm/ingenic/ingenic-drm.c unsigned int width, height, cpp; width 378 drivers/gpu/drm/ingenic/ingenic-drm.c width = state->crtc->state->adjusted_mode.hdisplay; width 383 drivers/gpu/drm/ingenic/ingenic-drm.c priv->dma_hwdesc->cmd = width * height * cpp / 4; width 200 drivers/gpu/drm/mediatek/mtk_disp_ovl.c unsigned int src_size = (pending->height << 16) | pending->width; width 126 drivers/gpu/drm/mediatek/mtk_disp_rdma.c static void mtk_rdma_config(struct mtk_ddp_comp *comp, unsigned int width, width 134 drivers/gpu/drm/mediatek/mtk_disp_rdma.c rdma_update_bits(comp, DISP_REG_RDMA_SIZE_CON_0, 0xfff, width); width 143 drivers/gpu/drm/mediatek/mtk_disp_rdma.c threshold = width * height * vrefresh * 4 * 7 / 1000000; width 218 drivers/gpu/drm/mediatek/mtk_dpi.c static void mtk_dpi_config_fb_size(struct mtk_dpi *dpi, u32 width, u32 height) width 220 drivers/gpu/drm/mediatek/mtk_dpi.c mtk_dpi_mask(dpi, DPI_SIZE, width << HSIZE, HSIZE_MASK); width 216 drivers/gpu/drm/mediatek/mtk_drm_crtc.c unsigned int width, height, vrefresh, bpc = MTK_MAX_BPC; width 224 drivers/gpu/drm/mediatek/mtk_drm_crtc.c width = crtc->state->adjusted_mode.hdisplay; width 275 drivers/gpu/drm/mediatek/mtk_drm_crtc.c mtk_ddp_comp_config(comp, width, height, vrefresh, bpc); width 60 drivers/gpu/drm/mediatek/mtk_drm_fb.c unsigned int width = cmd->width; width 73 drivers/gpu/drm/mediatek/mtk_drm_fb.c size = (height - 1) * cmd->pitches[0] + width * bpp; width 104 drivers/gpu/drm/mediatek/mtk_drm_gem.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); width 133 drivers/gpu/drm/mediatek/mtk_drm_plane.c state->pending.width = drm_rect_width(&plane->state->dst); width 21 drivers/gpu/drm/mediatek/mtk_drm_plane.h unsigned int width; width 82 drivers/gpu/drm/meson/meson_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), SZ_64); width 31 drivers/gpu/drm/mgag200/mgag200_cursor.c uint32_t width, width 73 drivers/gpu/drm/mgag200/mgag200_cursor.c if (width != 64 || height != 64) { width 226 drivers/gpu/drm/mgag200/mgag200_drv.h uint32_t handle, uint32_t width, uint32_t height); width 1134 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c fb->width, fb->height); width 70 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c timing->width = mode->hdisplay; /* active width */ width 72 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c timing->xres = timing->width; width 582 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c const uint32_t width, width 592 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->width = width; width 609 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_pitch[0] = VENUS_Y_STRIDE(color, width); width 614 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_pitch[1] = VENUS_UV_STRIDE(color, width); width 623 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_pitch[2] = VENUS_Y_META_STRIDE(color, width); width 628 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_pitch[3] = VENUS_UV_META_STRIDE(color, width); width 638 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_pitch[0] = VENUS_RGB_STRIDE(color, width); width 646 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_pitch[2] = VENUS_RGB_META_STRIDE(color, width); width 661 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c const uint32_t width, width 670 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->width = width; width 677 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_size[0] = width * height * layout->format->bpp; width 678 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_pitch[0] = width * layout->format->bpp; width 688 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c if (width % h_subsample || height % v_subsample) { width 696 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_pitch[0] = width * bpp; width 888 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c if ((fb->width > DPU_MAX_IMG_WIDTH) || width 897 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c ret = dpu_format_get_plane_sizes(layout->format, fb->width, fb->height, width 941 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c ret = dpu_format_get_plane_sizes(fmt, cmd->width, cmd->height, width 98 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c hsync_period = p->hsync_pulse_width + p->h_back_porch + p->width + width 116 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c if (p->width != p->xres) { width 17 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.h u32 width; /* active width */ width 384 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h uint32_t width; width 379 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c ot_params.width = drm_rect_width(&pdpu->pipe_cfg.src_rect); width 874 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c fb_rect.x2 = state->fb->width; width 1268 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c plane->base.id, plane->fb->width, width 788 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h "multirect_index:%d", __entry->index, __entry->layout.width, width 77 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c pps *= params->width; width 92 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c params->width, params->height, params->frame_rate, width 13 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.h u32 width; width 823 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h static unsigned int VENUS_Y_STRIDE(int color_fmt, int width) width 827 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h if (!width) width 835 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h stride = MSM_MEDIA_ALIGN(width, 128); width 838 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h stride = MSM_MEDIA_ALIGN(width, 192); width 842 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h stride = MSM_MEDIA_ALIGN(width * 2, 256); width 845 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h stride = MSM_MEDIA_ALIGN(width * 2, 128); width 859 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h static unsigned int VENUS_UV_STRIDE(int color_fmt, int width) width 863 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h if (!width) width 871 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h stride = MSM_MEDIA_ALIGN(width, 128); width 874 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h stride = MSM_MEDIA_ALIGN(width, 192); width 878 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h stride = MSM_MEDIA_ALIGN(width * 2, 256); width 881 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h stride = MSM_MEDIA_ALIGN(width * 2, 128); width 957 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h static unsigned int VENUS_Y_META_STRIDE(int color_fmt, int width) width 961 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h if (!width) width 976 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h y_meta_stride = MSM_MEDIA_ROUNDUP(width, y_tile_width); width 1017 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h static unsigned int VENUS_UV_META_STRIDE(int color_fmt, int width) width 1021 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h if (!width) width 1036 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h uv_meta_stride = MSM_MEDIA_ROUNDUP((width+1)>>1, uv_tile_width); width 1070 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h static unsigned int VENUS_RGB_STRIDE(int color_fmt, int width) width 1074 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h if (!width) width 1093 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h return MSM_MEDIA_ALIGN(width * bpp, alignment); width 1119 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h static unsigned int VENUS_RGB_META_STRIDE(int color_fmt, int width) width 1123 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h if (!width) width 1130 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h rgb_meta_stride = MSM_MEDIA_ROUNDUP(width, 16); width 29 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c uint32_t width, height; width 375 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c MDP4_DMA_CURSOR_SIZE_WIDTH(mdp4_crtc->cursor.width) | width 404 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c uint32_t width, uint32_t height) width 415 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c if ((width > CURSOR_WIDTH) || (height > CURSOR_HEIGHT)) { width 416 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c DRM_DEV_ERROR(dev->dev, "bad cursor size: %dx%d\n", width, height); width 440 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c mdp4_crtc->cursor.width = width; width 59 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c uint32_t width, height; width 776 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c *roi_w = min(mdp5_crtc->cursor.width, xres - width 779 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c *roi_w = mdp5_crtc->cursor.width - abs(mdp5_crtc->cursor.x); width 795 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c uint32_t x, y, src_x, src_y, width, height; width 805 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c width = mdp5_crtc->cursor.width; width 808 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c stride = width * info->cpp[0]; width 837 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c MDP5_LM_CURSOR_IMG_SIZE_SRC_W(width)); width 857 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c uint32_t width, uint32_t height) width 879 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if ((width > CURSOR_WIDTH) || (height > CURSOR_HEIGHT)) { width 880 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c DRM_DEV_ERROR(dev->dev, "bad cursor size: %dx%d\n", width, height); width 915 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_crtc->cursor.width = width; width 968 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_crtc->cursor.x = x = max(x, -(int)mdp5_crtc->cursor.width); width 962 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c src_img_w = min(fb->width, src_w); width 118 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c u32 width, bool hdecim) width 152 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c fetch_stride = width * cpp / (i ? hsub : 1); width 77 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.h u32 width, bool hdecim); width 162 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c u8 width; width 676 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c #define div_mask(width) ((1 << (width)) - 1) width 684 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c u8 width = postdiv->width; width 690 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c val &= div_mask(width); width 693 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c postdiv->flags, width); width 706 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c postdiv->width, width 718 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c u8 width = postdiv->width; width 726 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c value = divider_get_val(rate, parent_rate, NULL, postdiv->width, width 732 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c val &= ~(div_mask(width) << shift); width 930 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll_postdiv->width = 4; width 430 drivers/gpu/drm/msm/msm_drv.h static inline int align_pitch(int width, int bpp) width 434 drivers/gpu/drm/msm/msm_drv.h return bytespp * ALIGN(width, 32); width 39 drivers/gpu/drm/msm/msm_fb.c fb->width, fb->height, (char *)&fb->format->format, width 143 drivers/gpu/drm/msm/msm_fb.c dev, mode_cmd, mode_cmd->width, mode_cmd->height, width 172 drivers/gpu/drm/msm/msm_fb.c unsigned int width = mode_cmd->width / (i ? info->hsub : 1); width 177 drivers/gpu/drm/msm/msm_fb.c + width * info->cpp[i] width 211 drivers/gpu/drm/msm/msm_fb.c .width = w, width 131 drivers/gpu/drm/msm/msm_fbdev.c DBG("allocated %dx%d fb", fbdev->fb->width, fbdev->fb->height); width 525 drivers/gpu/drm/msm/msm_gem.c args->pitch = align_pitch(args->width, args->bpp); width 56 drivers/gpu/drm/nouveau/dispnv04/arb.c int pagemiss, cas, width, bpp; width 68 drivers/gpu/drm/nouveau/dispnv04/arb.c width = arb->memory_width >> 6; width 925 drivers/gpu/drm/nouveau/dispnv04/crtc.c int width = nv_cursor_width(dev); width 929 drivers/gpu/drm/nouveau/dispnv04/crtc.c for (i = 0; i < width; i++) { width 930 drivers/gpu/drm/nouveau/dispnv04/crtc.c for (j = 0; j < width; j++) { width 933 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_wr16(dst, i*width + j, (pixel & 0x80000000) >> 16 width 984 drivers/gpu/drm/nouveau/dispnv04/crtc.c uint32_t buffer_handle, uint32_t width, uint32_t height) width 998 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (width != 64 || height != 64) width 389 drivers/gpu/drm/nouveau/dispnv04/hw.h nv_pitch_align(struct drm_device *dev, uint32_t width, int bpp) width 405 drivers/gpu/drm/nouveau/dispnv04/hw.h return (width + mask) & ~mask; width 209 drivers/gpu/drm/nouveau/dispnv50/base507c.c asyh->base.w = asyw->state.fb->width; width 70 drivers/gpu/drm/nouveau/dispnv50/head917d.c switch (asyw->state.fb->width) { width 244 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->image.w = fb->base.width; width 30 drivers/gpu/drm/nouveau/include/nvkm/subdev/pci.h u8 width; width 55 drivers/gpu/drm/nouveau/include/nvkm/subdev/pci.h int nvkm_pcie_set_link(struct nvkm_pci *, enum nvkm_pcie_speed, u8 width); width 651 drivers/gpu/drm/nouveau/nouveau_display.c args->pitch = roundup(args->width * (args->bpp / 8), 256); width 298 drivers/gpu/drm/nouveau/nouveau_fbcon.c rect.width = info->var.xres_virtual; width 321 drivers/gpu/drm/nouveau/nouveau_fbcon.c mode_cmd.width = sizes->surface_width; width 324 drivers/gpu/drm/nouveau/nouveau_fbcon.c mode_cmd.pitches[0] = mode_cmd.width * (sizes->surface_bpp >> 3); width 396 drivers/gpu/drm/nouveau/nouveau_fbcon.c fb->base.width, fb->base.height, fb->nvbo->bo.offset, nvbo); width 44 drivers/gpu/drm/nouveau/nv04_fbcon.c OUT_RING(chan, (region->height << 16) | region->width); width 71 drivers/gpu/drm/nouveau/nv04_fbcon.c OUT_RING(chan, (rect->width << 16) | rect->height); width 107 drivers/gpu/drm/nouveau/nv04_fbcon.c ((image->dx + image->width) & 0xffff)); width 110 drivers/gpu/drm/nouveau/nv04_fbcon.c OUT_RING(chan, (image->height << 16) | ALIGN(image->width, 8)); width 111 drivers/gpu/drm/nouveau/nv04_fbcon.c OUT_RING(chan, (image->height << 16) | image->width); width 114 drivers/gpu/drm/nouveau/nv04_fbcon.c dsize = ALIGN(ALIGN(image->width, 8) * image->height, 32) >> 5; width 55 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, rect->dx + rect->width); width 82 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, region->width); width 121 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, image->width); width 129 drivers/gpu/drm/nouveau/nv50_fbcon.c dwords = ALIGN(ALIGN(image->width, 8) * image->height, 32) >> 5; width 55 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, rect->dx + rect->width); width 82 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, region->width); width 121 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, image->width); width 129 drivers/gpu/drm/nouveau/nvc0_fbcon.c dwords = ALIGN(ALIGN(image->width, 8) * image->height, 32) >> 5; width 197 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->pcie.width = -1; width 95 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) width 72 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c gf100_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) width 182 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) width 109 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_pcie_set_link(pci, pci->pcie.speed, pci->pcie.width); width 115 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) width 150 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c pci->pcie.width = width; width 158 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_pcie_speeds[speed], width); width 160 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c ret = pci->func->pcie.set_link(pci, speed, width); width 103 drivers/gpu/drm/omapdrm/dss/dispc.c u16 width, u16 height, u16 out_width, u16 out_height, width 108 drivers/gpu/drm/omapdrm/dss/dispc.c u16 width, u16 height, u16 out_width, u16 out_height, width 973 drivers/gpu/drm/omapdrm/dss/dispc.c enum omap_plane_id plane, int width, width 976 drivers/gpu/drm/omapdrm/dss/dispc.c u32 val = FLD_VAL(height - 1, 26, 16) | FLD_VAL(width - 1, 10, 0); width 985 drivers/gpu/drm/omapdrm/dss/dispc.c enum omap_plane_id plane, int width, width 992 drivers/gpu/drm/omapdrm/dss/dispc.c val = FLD_VAL(height - 1, 26, 16) | FLD_VAL(width - 1, 10, 0); width 1360 drivers/gpu/drm/omapdrm/dss/dispc.c enum omap_channel channel, u16 width, u16 height) width 1365 drivers/gpu/drm/omapdrm/dss/dispc.c FLD_VAL(width - 1, dispc->feat->mgr_width_start, 0); width 2096 drivers/gpu/drm/omapdrm/dss/dispc.c static void calc_offset(u16 screen_width, u16 width, width 2106 drivers/gpu/drm/omapdrm/dss/dispc.c DSSDBG("scrw %d, width %d\n", screen_width, width); width 2119 drivers/gpu/drm/omapdrm/dss/dispc.c width *= 2; width 2129 drivers/gpu/drm/omapdrm/dss/dispc.c *row_inc = pixinc(1 + (y_predecim * screen_width - width * x_predecim) + width 2143 drivers/gpu/drm/omapdrm/dss/dispc.c u16 width, u16 height, u16 out_width, u16 out_height, width 2158 drivers/gpu/drm/omapdrm/dss/dispc.c if (out_width < width) width 2177 drivers/gpu/drm/omapdrm/dss/dispc.c val, max(0, ds - 2) * width); width 2178 drivers/gpu/drm/omapdrm/dss/dispc.c if (val < max(0, ds - 2) * width) width 2188 drivers/gpu/drm/omapdrm/dss/dispc.c val, max(0, ds - 1) * width); width 2189 drivers/gpu/drm/omapdrm/dss/dispc.c if (val < max(0, ds - 1) * width) width 2196 drivers/gpu/drm/omapdrm/dss/dispc.c const struct videomode *vm, u16 width, width 2203 drivers/gpu/drm/omapdrm/dss/dispc.c if (height <= out_height && width <= out_width) width 2223 drivers/gpu/drm/omapdrm/dss/dispc.c if (width > out_width) { width 2224 drivers/gpu/drm/omapdrm/dss/dispc.c tmp = (u64)pclk * width; width 2235 drivers/gpu/drm/omapdrm/dss/dispc.c static unsigned long calc_core_clk_24xx(unsigned long pclk, u16 width, width 2238 drivers/gpu/drm/omapdrm/dss/dispc.c if (height > out_height && width > out_width) width 2244 drivers/gpu/drm/omapdrm/dss/dispc.c static unsigned long calc_core_clk_34xx(unsigned long pclk, u16 width, width 2254 drivers/gpu/drm/omapdrm/dss/dispc.c if (width > 3 * out_width) width 2256 drivers/gpu/drm/omapdrm/dss/dispc.c else if (width > 2 * out_width) width 2258 drivers/gpu/drm/omapdrm/dss/dispc.c else if (width > out_width) width 2270 drivers/gpu/drm/omapdrm/dss/dispc.c static unsigned long calc_core_clk_44xx(unsigned long pclk, u16 width, width 2282 drivers/gpu/drm/omapdrm/dss/dispc.c if (width > out_width) width 2283 drivers/gpu/drm/omapdrm/dss/dispc.c return DIV_ROUND_UP(pclk, out_width) * width; width 2291 drivers/gpu/drm/omapdrm/dss/dispc.c u16 width, u16 height, width 2308 drivers/gpu/drm/omapdrm/dss/dispc.c in_width = width / *decim_x; width 2340 drivers/gpu/drm/omapdrm/dss/dispc.c u16 width, u16 height, width 2354 drivers/gpu/drm/omapdrm/dss/dispc.c in_width = width / *decim_x; width 2428 drivers/gpu/drm/omapdrm/dss/dispc.c u16 width, u16 height, width 2449 drivers/gpu/drm/omapdrm/dss/dispc.c *decim_x = DIV_ROUND_UP(width, in_width_max); width 2456 drivers/gpu/drm/omapdrm/dss/dispc.c in_width = width / *decim_x; width 2497 drivers/gpu/drm/omapdrm/dss/dispc.c u16 width, u16 height, width 2510 drivers/gpu/drm/omapdrm/dss/dispc.c if (width == out_width && height == out_height) width 2544 drivers/gpu/drm/omapdrm/dss/dispc.c decim_x = DIV_ROUND_UP(DIV_ROUND_UP(width, out_width), maxhdownscale); width 2547 drivers/gpu/drm/omapdrm/dss/dispc.c if (decim_x > *x_predecim || out_width > width * 8) width 2553 drivers/gpu/drm/omapdrm/dss/dispc.c ret = dispc->feat->calc_scaling(dispc, pclk, lclk, vm, width, height, width 2562 drivers/gpu/drm/omapdrm/dss/dispc.c width, height, width 2564 drivers/gpu/drm/omapdrm/dss/dispc.c out_width / width, DIV_FRAC(out_width, width), width 2568 drivers/gpu/drm/omapdrm/dss/dispc.c width / decim_x, height / decim_y, width 2569 drivers/gpu/drm/omapdrm/dss/dispc.c out_width / (width / decim_x), DIV_FRAC(out_width, width / decim_x), width 2593 drivers/gpu/drm/omapdrm/dss/dispc.c u16 width, u16 height, width 2610 drivers/gpu/drm/omapdrm/dss/dispc.c u16 in_width = width; width 2631 drivers/gpu/drm/omapdrm/dss/dispc.c out_width = out_width == 0 ? width : out_width; width 2775 drivers/gpu/drm/omapdrm/dss/dispc.c oi->pos_y, oi->width, oi->height, oi->out_width, oi->out_height, width 2781 drivers/gpu/drm/omapdrm/dss/dispc.c oi->screen_width, oi->pos_x, oi->pos_y, oi->width, oi->height, width 2811 drivers/gpu/drm/omapdrm/dss/dispc.c in_height, wi->width, wi->height, wi->fourcc, wi->rotation); width 2814 drivers/gpu/drm/omapdrm/dss/dispc.c wi->buf_width, pos_x, pos_y, in_width, in_height, wi->width, width 3066 drivers/gpu/drm/omapdrm/dss/dispc.c u16 width, u16 height) width 3068 drivers/gpu/drm/omapdrm/dss/dispc.c return width <= dispc->feat->mgr_width_max && width 4569 drivers/gpu/drm/omapdrm/dss/dispc.c .width = 1, .height = 1, width 4609 drivers/gpu/drm/omapdrm/dss/dispc.c i734_buf.size = i734.ovli.width * i734.ovli.height * width 233 drivers/gpu/drm/omapdrm/dss/omapdss.h u16 width; width 280 drivers/gpu/drm/omapdrm/dss/omapdss.h u16 width; width 147 drivers/gpu/drm/omapdrm/omap_fb.c info->width = state->src_w >> 16; width 152 drivers/gpu/drm/omapdrm/omap_fb.c swap(info->width, info->height); width 295 drivers/gpu/drm/omapdrm/omap_fb.c seq_printf(m, "fb: %dx%d@%4.4s\n", fb->width, fb->height, width 347 drivers/gpu/drm/omapdrm/omap_fb.c dev, mode_cmd, mode_cmd->width, mode_cmd->height, width 113 drivers/gpu/drm/omapdrm/omap_fbdev.c mode_cmd.width = sizes->surface_width; width 117 drivers/gpu/drm/omapdrm/omap_fbdev.c DIV_ROUND_UP(mode_cmd.width * sizes->surface_bpp, 8); width 197 drivers/gpu/drm/omapdrm/omap_fbdev.c DBG("allocated %dx%d fb", fbdev->fb->width, fbdev->fb->height); width 36 drivers/gpu/drm/omapdrm/omap_gem.c u16 width, height; width 175 drivers/gpu/drm/omapdrm/omap_gem.c const int m = DIV_ROUND_UP(omap_obj->width << fmt, PAGE_SIZE); width 335 drivers/gpu/drm/omapdrm/omap_gem.c omap_obj->width, omap_obj->height); width 400 drivers/gpu/drm/omapdrm/omap_gem.c const int m = DIV_ROUND_UP(omap_obj->width << fmt, PAGE_SIZE); width 412 drivers/gpu/drm/omapdrm/omap_gem.c slots = omap_obj->width >> priv->usergart[fmt].slot_shift; width 596 drivers/gpu/drm/omapdrm/omap_gem.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); width 789 drivers/gpu/drm/omapdrm/omap_gem.c omap_obj->width, width 1037 drivers/gpu/drm/omapdrm/omap_gem.c seq_printf(m, " %dx%d", omap_obj->width, omap_obj->height); width 1182 drivers/gpu/drm/omapdrm/omap_gem.c tiler_align(gem2fmt(flags), &gsize.tiled.width, width 1185 drivers/gpu/drm/omapdrm/omap_gem.c size = tiler_size(gem2fmt(flags), gsize.tiled.width, width 1188 drivers/gpu/drm/omapdrm/omap_gem.c omap_obj->width = gsize.tiled.width; width 66 drivers/gpu/drm/omapdrm/omap_plane.c DBG("%dx%d -> %dx%d (%d)", info.width, info.height, width 171 drivers/gpu/drm/omapdrm/tcm-sita.c area->p0.x = pos % tcm->width; width 172 drivers/gpu/drm/omapdrm/tcm-sita.c area->p0.y = pos / tcm->width; width 173 drivers/gpu/drm/omapdrm/tcm-sita.c area->p1.x = (pos + num_slots - 1) % tcm->width; width 174 drivers/gpu/drm/omapdrm/tcm-sita.c area->p1.y = (pos + num_slots - 1) / tcm->width; width 190 drivers/gpu/drm/omapdrm/tcm-sita.c tcm->map_size, tcm->width); width 193 drivers/gpu/drm/omapdrm/tcm-sita.c area->p0.x = pos % tcm->width; width 194 drivers/gpu/drm/omapdrm/tcm-sita.c area->p0.y = pos / tcm->width; width 213 drivers/gpu/drm/omapdrm/tcm-sita.c pos = area->p0.x + area->p0.y * tcm->width; width 218 drivers/gpu/drm/omapdrm/tcm-sita.c w = area->p1.x + area->p1.y * tcm->width - pos + 1; width 223 drivers/gpu/drm/omapdrm/tcm-sita.c free_slots(pos, w, h, tcm->bitmap, tcm->width); width 228 drivers/gpu/drm/omapdrm/tcm-sita.c struct tcm *sita_init(u16 width, u16 height) width 231 drivers/gpu/drm/omapdrm/tcm-sita.c size_t map_size = BITS_TO_LONGS(width*height) * sizeof(unsigned long); width 233 drivers/gpu/drm/omapdrm/tcm-sita.c if (width == 0 || height == 0) width 242 drivers/gpu/drm/omapdrm/tcm-sita.c tcm->width = width; width 250 drivers/gpu/drm/omapdrm/tcm-sita.c bitmap_clear(tcm->bitmap, 0, width*height); width 252 drivers/gpu/drm/omapdrm/tcm-sita.c tcm->map_size = width*height; width 57 drivers/gpu/drm/omapdrm/tcm.h u16 width, height; /* container dimensions */ width 67 drivers/gpu/drm/omapdrm/tcm.h s32 (*reserve_2d)(struct tcm *tcm, u16 height, u16 width, u16 align, width 91 drivers/gpu/drm/omapdrm/tcm.h struct tcm *sita_init(u16 width, u16 height); width 131 drivers/gpu/drm/omapdrm/tcm.h static inline s32 tcm_reserve_2d(struct tcm *tcm, u16 width, u16 height, width 137 drivers/gpu/drm/omapdrm/tcm.h (area == NULL || width == 0 || height == 0 || width 140 drivers/gpu/drm/omapdrm/tcm.h (height > tcm->height || width > tcm->width) ? -ENOMEM : 0; width 144 drivers/gpu/drm/omapdrm/tcm.h res = tcm->reserve_2d(tcm, height, width, align, offset, width 171 drivers/gpu/drm/omapdrm/tcm.h slots > (tcm->width * (u32) tcm->height) ? -ENOMEM : 0; width 229 drivers/gpu/drm/omapdrm/tcm.h (slice->p0.x || (slice->p1.x != slice->tcm->width - 1))) { width 231 drivers/gpu/drm/omapdrm/tcm.h slice->p1.x = slice->tcm->width - 1; width 247 drivers/gpu/drm/omapdrm/tcm.h area->p1.x < area->tcm->width && width 252 drivers/gpu/drm/omapdrm/tcm.h area->p0.x < area->tcm->width && width 253 drivers/gpu/drm/omapdrm/tcm.h area->p0.x + area->p0.y * area->tcm->width <= width 254 drivers/gpu/drm/omapdrm/tcm.h area->p1.x + area->p1.y * area->tcm->width) || width 269 drivers/gpu/drm/omapdrm/tcm.h i = p->x + p->y * a->tcm->width; width 270 drivers/gpu/drm/omapdrm/tcm.h return i >= a->p0.x + a->p0.y * a->tcm->width && width 271 drivers/gpu/drm/omapdrm/tcm.h i <= a->p1.x + a->p1.y * a->tcm->width; width 293 drivers/gpu/drm/omapdrm/tcm.h area->tcm->width; width 308 drivers/gpu/drm/omapdrm/tcm.h a->p1.x = (a->p0.x + num_pg - 1) % a->tcm->width; width 309 drivers/gpu/drm/omapdrm/tcm.h a->p1.y = a->p0.y + ((a->p0.x + num_pg - 1) / a->tcm->width); width 36 drivers/gpu/drm/panel/panel-innolux-p079zca.c unsigned int width; width 245 drivers/gpu/drm/panel/panel-innolux-p079zca.c .width = 120, width 393 drivers/gpu/drm/panel/panel-innolux-p079zca.c .width = 147, width 424 drivers/gpu/drm/panel/panel-innolux-p079zca.c innolux->desc->size.width; width 31 drivers/gpu/drm/panel/panel-lvds.c unsigned int width; width 123 drivers/gpu/drm/panel/panel-lvds.c connector->display_info.width_mm = lvds->width; width 158 drivers/gpu/drm/panel/panel-lvds.c ret = of_property_read_u32(np, "width-mm", &lvds->width); width 36 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c unsigned int width; width 114 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c connector->display_info.width_mm = panel->desc->size.width; width 329 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c .width = 93, width 70 drivers/gpu/drm/panel/panel-simple.c unsigned int width; width 221 drivers/gpu/drm/panel/panel-simple.c connector->display_info.width_mm = panel->desc->size.width; width 534 drivers/gpu/drm/panel/panel-simple.c .width = 105, width 559 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 584 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 609 drivers/gpu/drm/panel/panel-simple.c .width = 223, width 631 drivers/gpu/drm/panel/panel-simple.c .width = 217, width 655 drivers/gpu/drm/panel/panel-simple.c .width = 223, width 678 drivers/gpu/drm/panel/panel-simple.c .width = 256, width 701 drivers/gpu/drm/panel/panel-simple.c .width = 293, width 724 drivers/gpu/drm/panel/panel-simple.c .width = 293, width 751 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 780 drivers/gpu/drm/panel/panel-simple.c .width = 216, width 804 drivers/gpu/drm/panel/panel-simple.c .width = 211, width 826 drivers/gpu/drm/panel/panel-simple.c .width = 293, width 855 drivers/gpu/drm/panel/panel-simple.c .width = 409, width 884 drivers/gpu/drm/panel/panel-simple.c .width = 698, width 913 drivers/gpu/drm/panel/panel-simple.c .width = 430, width 940 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 967 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 989 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 1026 drivers/gpu/drm/panel/panel-simple.c .width = 217, width 1055 drivers/gpu/drm/panel/panel-simple.c .width = 95, width 1080 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 1104 drivers/gpu/drm/panel/panel-simple.c .width = 94, width 1127 drivers/gpu/drm/panel/panel-simple.c .width = 220, width 1150 drivers/gpu/drm/panel/panel-simple.c .width = 223, width 1174 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 1199 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 1228 drivers/gpu/drm/panel/panel-simple.c .width = 216, width 1259 drivers/gpu/drm/panel/panel-simple.c .width = 70, width 1285 drivers/gpu/drm/panel/panel-simple.c .width = 95, width 1309 drivers/gpu/drm/panel/panel-simple.c .width = 115, width 1335 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 1347 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 1374 drivers/gpu/drm/panel/panel-simple.c .width = 108, width 1399 drivers/gpu/drm/panel/panel-simple.c .width = 108, width 1423 drivers/gpu/drm/panel/panel-simple.c .width = 94, width 1446 drivers/gpu/drm/panel/panel-simple.c .width = 95, width 1470 drivers/gpu/drm/panel/panel-simple.c .width = 60, width 1500 drivers/gpu/drm/panel/panel-simple.c .width = 151, width 1524 drivers/gpu/drm/panel/panel-simple.c .width = 203, width 1548 drivers/gpu/drm/panel/panel-simple.c .width = 195, width 1576 drivers/gpu/drm/panel/panel-simple.c .width = 95, width 1600 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 1624 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 1654 drivers/gpu/drm/panel/panel-simple.c .width = 217, width 1681 drivers/gpu/drm/panel/panel-simple.c .width = 261, width 1710 drivers/gpu/drm/panel/panel-simple.c .width = 246, width 1748 drivers/gpu/drm/panel/panel-simple.c .width = 256, width 1771 drivers/gpu/drm/panel/panel-simple.c .width = 344, width 1795 drivers/gpu/drm/panel/panel-simple.c .width = 254, width 1822 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 1845 drivers/gpu/drm/panel/panel-simple.c .width = 115, width 1868 drivers/gpu/drm/panel/panel-simple.c .width = 292, width 1892 drivers/gpu/drm/panel/panel-simple.c .width = 246, width 1915 drivers/gpu/drm/panel/panel-simple.c .width = 70, width 1940 drivers/gpu/drm/panel/panel-simple.c .width = 151, width 1964 drivers/gpu/drm/panel/panel-simple.c .width = 129, width 1986 drivers/gpu/drm/panel/panel-simple.c .width = 208, width 2009 drivers/gpu/drm/panel/panel-simple.c .width = 267, width 2032 drivers/gpu/drm/panel/panel-simple.c .width = 272, width 2071 drivers/gpu/drm/panel/panel-simple.c .width = 105, width 2090 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 2120 drivers/gpu/drm/panel/panel-simple.c .width = 261, width 2149 drivers/gpu/drm/panel/panel-simple.c .width = 95, width 2173 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 2198 drivers/gpu/drm/panel/panel-simple.c .width = 95, width 2223 drivers/gpu/drm/panel/panel-simple.c .width = 344, width 2249 drivers/gpu/drm/panel/panel-simple.c .width = 156, width 2273 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 2302 drivers/gpu/drm/panel/panel-simple.c .width = 95, width 2336 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 2361 drivers/gpu/drm/panel/panel-simple.c .width = 56, /* 56.16mm */ width 2387 drivers/gpu/drm/panel/panel-simple.c .width = 56, width 2413 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 2437 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 2462 drivers/gpu/drm/panel/panel-simple.c .width = 95, width 2486 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 2515 drivers/gpu/drm/panel/panel-simple.c .width = 263, width 2538 drivers/gpu/drm/panel/panel-simple.c .width = 223, width 2561 drivers/gpu/drm/panel/panel-simple.c .width = 320, width 2585 drivers/gpu/drm/panel/panel-simple.c .width = 260, width 2611 drivers/gpu/drm/panel/panel-simple.c .width = 152, /* 152.4mm */ width 2637 drivers/gpu/drm/panel/panel-simple.c .width = 54, width 2661 drivers/gpu/drm/panel/panel-simple.c .width = 217, width 2685 drivers/gpu/drm/panel/panel-simple.c .width = 259, width 2713 drivers/gpu/drm/panel/panel-simple.c .width = 304, width 2737 drivers/gpu/drm/panel/panel-simple.c .width = 42, width 2763 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 2787 drivers/gpu/drm/panel/panel-simple.c .width = 263, width 2815 drivers/gpu/drm/panel/panel-simple.c .width = 155, width 2840 drivers/gpu/drm/panel/panel-simple.c .width = 151, width 2864 drivers/gpu/drm/panel/panel-simple.c .width = 154, width 2891 drivers/gpu/drm/panel/panel-simple.c .width = 65, width 2920 drivers/gpu/drm/panel/panel-simple.c .width = 71, width 2945 drivers/gpu/drm/panel/panel-simple.c .width = 194, width 2969 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 2992 drivers/gpu/drm/panel/panel-simple.c .width = 223, width 3016 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 3027 drivers/gpu/drm/panel/panel-simple.c .width = 152, width 3052 drivers/gpu/drm/panel/panel-simple.c .width = 120, width 3078 drivers/gpu/drm/panel/panel-simple.c .width = 70, width 3105 drivers/gpu/drm/panel/panel-simple.c .width = 400, width 3503 drivers/gpu/drm/panel/panel-simple.c .width = 108, width 3531 drivers/gpu/drm/panel/panel-simple.c .width = 107, width 3561 drivers/gpu/drm/panel/panel-simple.c .width = 94, width 3589 drivers/gpu/drm/panel/panel-simple.c .width = 62, width 3617 drivers/gpu/drm/panel/panel-simple.c .width = 217, width 3646 drivers/gpu/drm/panel/panel-simple.c .width = 62, width 3675 drivers/gpu/drm/panel/panel-simple.c .width = 217, width 90 drivers/gpu/drm/panel/panel-tpo-tpg110.c u32 width; width 393 drivers/gpu/drm/panel/panel-tpo-tpg110.c connector->display_info.width_mm = tpg->width; width 401 drivers/gpu/drm/panel/panel-tpo-tpg110.c mode->width_mm = tpg->width; width 428 drivers/gpu/drm/panel/panel-tpo-tpg110.c ret = of_property_read_u32(np, "width-mm", &tpg->width); width 346 drivers/gpu/drm/qxl/qxl_cmd.c surface_width = surf->surf.width; width 394 drivers/gpu/drm/qxl/qxl_cmd.c create->width = bo->surf.width; width 491 drivers/gpu/drm/qxl/qxl_cmd.c cmd->u.surface_create.width = surf->surf.width; width 560 drivers/gpu/drm/qxl/qxl_cmd.c rect.right = surf->surf.width; width 315 drivers/gpu/drm/qxl/qxl_dev.h uint32_t width; width 411 drivers/gpu/drm/qxl/qxl_dev.h uint16_t width; width 472 drivers/gpu/drm/qxl/qxl_dev.h uint16_t width; width 575 drivers/gpu/drm/qxl/qxl_dev.h QXLFIXED width; width 742 drivers/gpu/drm/qxl/qxl_dev.h uint32_t width; width 817 drivers/gpu/drm/qxl/qxl_dev.h uint32_t width; width 862 drivers/gpu/drm/qxl/qxl_dev.h uint32_t width; width 41 drivers/gpu/drm/qxl/qxl_display.c return head->width && head->height; width 116 drivers/gpu/drm/qxl/qxl_display.c if (client_head->width != c_rect->right - c_rect->left) { width 117 drivers/gpu/drm/qxl/qxl_display.c client_head->width = c_rect->right - c_rect->left; width 136 drivers/gpu/drm/qxl/qxl_display.c DRM_DEBUG_KMS("read %dx%d+%d+%d\n", client_head->width, client_head->height, width 197 drivers/gpu/drm/qxl/qxl_display.c unsigned int width, width 203 drivers/gpu/drm/qxl/qxl_display.c if (check_mul_overflow(width, 4u, &stride)) width 215 drivers/gpu/drm/qxl/qxl_display.c return qxl_check_mode(qdev, bo->surf.width, bo->surf.height); width 219 drivers/gpu/drm/qxl/qxl_display.c unsigned int width, width 228 drivers/gpu/drm/qxl/qxl_display.c rc = qxl_check_mode(qdev, width, height); width 232 drivers/gpu/drm/qxl/qxl_display.c mode = drm_cvt_mode(dev, width, height, 60, false, false, false); width 235 drivers/gpu/drm/qxl/qxl_display.c mode->hdisplay = width; width 260 drivers/gpu/drm/qxl/qxl_display.c DRM_DEBUG_KMS("head %d is %dx%d\n", h, head->width, head->height); width 262 drivers/gpu/drm/qxl/qxl_display.c return qxl_add_mode(connector, head->width, head->height, true); width 299 drivers/gpu/drm/qxl/qxl_display.c head->width > 8192 || head->height > 8192) { width 301 drivers/gpu/drm/qxl/qxl_display.c i, head->width, head->height, width 332 drivers/gpu/drm/qxl/qxl_display.c head.width = mode->hdisplay; width 341 drivers/gpu/drm/qxl/qxl_display.c head.width = 0; width 352 drivers/gpu/drm/qxl/qxl_display.c if (head.width == qdev->monitors_config->heads[i].width && width 360 drivers/gpu/drm/qxl/qxl_display.c i, head.width, head.height, head.x, head.y, width 436 drivers/gpu/drm/qxl/qxl_display.c norect.x2 = fb->width; width 545 drivers/gpu/drm/qxl/qxl_display.c .x2 = plane->state->fb->width, width 633 drivers/gpu/drm/qxl/qxl_display.c cursor->header.width = 64; width 723 drivers/gpu/drm/qxl/qxl_display.c uint32_t width, height; width 729 drivers/gpu/drm/qxl/qxl_display.c width = bo->surf.width; width 732 drivers/gpu/drm/qxl/qxl_display.c width = 0; width 736 drivers/gpu/drm/qxl/qxl_display.c if (qdev->dumb_heads[index].width == width && width 741 drivers/gpu/drm/qxl/qxl_display.c qdev->dumb_heads[index].width, width 743 drivers/gpu/drm/qxl/qxl_display.c width, height); width 744 drivers/gpu/drm/qxl/qxl_display.c qdev->dumb_heads[index].width = width; width 757 drivers/gpu/drm/qxl/qxl_display.c head->x = surf->width; width 758 drivers/gpu/drm/qxl/qxl_display.c surf->width += head->width; width 762 drivers/gpu/drm/qxl/qxl_display.c if (surf->width < 64) width 763 drivers/gpu/drm/qxl/qxl_display.c surf->width = 64; width 767 drivers/gpu/drm/qxl/qxl_display.c surf->stride = surf->width * 4; width 770 drivers/gpu/drm/qxl/qxl_display.c qdev->dumb_shadow_bo->surf.width != surf->width || width 772 drivers/gpu/drm/qxl/qxl_display.c DRM_DEBUG("%dx%d\n", surf->width, surf->height); width 796 drivers/gpu/drm/qxl/qxl_display.c qdev->dumb_shadow_bo->surf.width != surf.width || width 990 drivers/gpu/drm/qxl/qxl_display.c if (head->width) width 991 drivers/gpu/drm/qxl/qxl_display.c pwidth = head->width; width 138 drivers/gpu/drm/qxl/qxl_draw.c int width, height; width 172 drivers/gpu/drm/qxl/qxl_draw.c width = right - left; width 206 drivers/gpu/drm/qxl/qxl_draw.c top, width, height, depth, stride); width 225 drivers/gpu/drm/qxl/qxl_draw.c drawable->u.copy.src_area.right = width; width 365 drivers/gpu/drm/qxl/qxl_drv.h int x, int y, int width, int height, width 42 drivers/gpu/drm/qxl/qxl_dumb.c pitch = args->width * ((args->bpp + 1) / 8); width 57 drivers/gpu/drm/qxl/qxl_dumb.c surf.width = args->width; width 104 drivers/gpu/drm/qxl/qxl_image.c int width, int height, width 113 drivers/gpu/drm/qxl/qxl_image.c int linesize = width * depth / 8; width 199 drivers/gpu/drm/qxl/qxl_image.c image->descriptor.width = width; width 219 drivers/gpu/drm/qxl/qxl_image.c image->u.bitmap.x = width; width 234 drivers/gpu/drm/qxl/qxl_image.c int x, int y, int width, int height, width 239 drivers/gpu/drm/qxl/qxl_image.c width, height, depth, 0, stride); width 407 drivers/gpu/drm/qxl/qxl_ioctl.c surf.width = param->width; width 844 drivers/gpu/drm/r128/r128_state.c dwords = (blit->width * blit->height) >> dword_shift; width 862 drivers/gpu/drm/r128/r128_state.c data[6] = cpu_to_le32((blit->height << 16) | blit->width); width 1423 drivers/gpu/drm/radeon/atombios_crtc.c WREG32(EVERGREEN_GRPH_X_END + radeon_crtc->crtc_offset, target_fb->width); width 1639 drivers/gpu/drm/radeon/atombios_crtc.c WREG32(AVIVO_D1GRPH_X_END + radeon_crtc->crtc_offset, target_fb->width); width 760 drivers/gpu/drm/radeon/evergreen_cs.c unsigned dim, llevel, mslice, width, height, depth, i; width 775 drivers/gpu/drm/radeon/evergreen_cs.c width = G_030000_TEX_WIDTH(texdw[0]) + 1; width 876 drivers/gpu/drm/radeon/evergreen_cs.c w = r600_mip_minify(width, i); width 919 drivers/gpu/drm/radeon/evergreen_cs.c width, height, depth); width 1796 drivers/gpu/drm/radeon/r100.c track->textures[i].width = (idx_value & RADEON_TEX_USIZE_MASK) + 1; width 1829 drivers/gpu/drm/radeon/r100.c track->textures[i].width = 1 << ((idx_value & RADEON_TXFORMAT_WIDTH_MASK) >> RADEON_TXFORMAT_WIDTH_SHIFT); width 1870 drivers/gpu/drm/radeon/r100.c track->textures[i].cube_info[4].width = 1 << ((idx_value >> 16) & 0xf); width 1880 drivers/gpu/drm/radeon/r100.c track->textures[i].cube_info[face].width = 1 << ((tmp >> (face * 8)) & 0xf); width 2081 drivers/gpu/drm/radeon/r100.c DRM_ERROR("width %d\n", t->width); width 2134 drivers/gpu/drm/radeon/r100.c w = track->textures[idx].cube_info[face].width; width 2181 drivers/gpu/drm/radeon/r100.c w = track->textures[u].width; width 2422 drivers/gpu/drm/radeon/r100.c track->textures[i].width = 16536; width 2444 drivers/gpu/drm/radeon/r100.c track->textures[i].cube_info[face].width = 16536; width 30 drivers/gpu/drm/radeon/r100_track.h unsigned width; width 42 drivers/gpu/drm/radeon/r100_track.h unsigned width; width 398 drivers/gpu/drm/radeon/r200.c track->textures[i].width = (idx_value & RADEON_TEX_USIZE_MASK) + 1; width 479 drivers/gpu/drm/radeon/r200.c track->textures[i].width = 1 << ((idx_value & RADEON_TXFORMAT_WIDTH_MASK) >> RADEON_TXFORMAT_WIDTH_SHIFT); width 521 drivers/gpu/drm/radeon/r200.c track->textures[i].cube_info[4].width = 1 << ((idx_value >> 16) & 0xf); width 534 drivers/gpu/drm/radeon/r200.c track->textures[i].cube_info[face].width = 1 << ((tmp >> (face * 8)) & 0xf); width 1072 drivers/gpu/drm/radeon/r300.c track->textures[i].width = tmp + 1; width 1415 drivers/gpu/drm/radeon/r600_cs.c unsigned width, height, depth, size; width 1427 drivers/gpu/drm/radeon/r600_cs.c width = r600_mip_minify(w0, i); width 1428 drivers/gpu/drm/radeon/r600_cs.c nbx = r600_fmt_get_nblocksx(format, width); width 279 drivers/gpu/drm/radeon/radeon_cursor.c uint32_t width, width 297 drivers/gpu/drm/radeon/radeon_cursor.c if ((width > radeon_crtc->max_cursor_width) || width 299 drivers/gpu/drm/radeon/radeon_cursor.c DRM_ERROR("bad cursor width or height %d x %d\n", width, height); width 328 drivers/gpu/drm/radeon/radeon_cursor.c if (width != radeon_crtc->cursor_width || width 337 drivers/gpu/drm/radeon/radeon_cursor.c radeon_crtc->cursor_width = width; width 87 drivers/gpu/drm/radeon/radeon_fb.c int radeon_align_pitch(struct radeon_device *rdev, int width, int cpp, bool tiled) width 89 drivers/gpu/drm/radeon/radeon_fb.c int aligned = width; width 144 drivers/gpu/drm/radeon/radeon_fb.c mode_cmd->pitches[0] = radeon_align_pitch(rdev, mode_cmd->width, cpp, width 225 drivers/gpu/drm/radeon/radeon_fb.c mode_cmd.width = sizes->surface_width; width 758 drivers/gpu/drm/radeon/radeon_gem.c args->pitch = radeon_align_pitch(rdev, args->width, width 871 drivers/gpu/drm/radeon/radeon_mode.h uint32_t width, width 989 drivers/gpu/drm/radeon/radeon_mode.h int radeon_align_pitch(struct radeon_device *rdev, int width, int bpp, bool tiled); width 357 drivers/gpu/drm/radeon/radeon_uvd.c unsigned width = msg[6]; width 362 drivers/gpu/drm/radeon/radeon_uvd.c unsigned width_in_mb = width / 16; width 367 drivers/gpu/drm/radeon/radeon_uvd.c image_size = width * height; width 426 drivers/gpu/drm/radeon/radeon_uvd.c if (width > pitch) { width 3208 drivers/gpu/drm/radeon/si_dpm.c u32 tmp, width, row, column, bank, density; width 3217 drivers/gpu/drm/radeon/si_dpm.c width = ((RREG32(MC_SEQ_IO_DEBUG_DATA) >> 1) & 1) ? 16 : 32; width 3224 drivers/gpu/drm/radeon/si_dpm.c density = (1 << (row + column - 20 + bank)) * width; width 289 drivers/gpu/drm/rcar-du/rcar_du_kms.c unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); width 52 drivers/gpu/drm/rcar-du/rcar_du_vsp.c .width = mode->hdisplay, width 164 drivers/gpu/drm/rcar-du/rcar_du_vsp.c cfg.src.width = drm_rect_width(&state->state.src) >> 16; width 169 drivers/gpu/drm/rcar-du/rcar_du_vsp.c cfg.dst.width = drm_rect_width(&state->state.dst); width 159 drivers/gpu/drm/rcar-du/rcar_du_writeback.c if (fb->width != mode->hdisplay || fb->height != mode->vdisplay) { width 161 drivers/gpu/drm/rcar-du/rcar_du_writeback.c __func__, fb->width, fb->height); width 70 drivers/gpu/drm/rockchip/rockchip_drm_fb.c unsigned int width = mode_cmd->width / (i ? info->hsub : 1); width 84 drivers/gpu/drm/rockchip/rockchip_drm_fb.c width * info->cpp[i]; width 55 drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c mode_cmd.width = sizes->surface_width; width 99 drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c fb->width, fb->height, fb->format->depth, width 416 drivers/gpu/drm/rockchip/rockchip_drm_gem.c int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); width 354 drivers/gpu/drm/rockchip/rockchip_drm_vop.h static inline int scl_vop_cal_lb_mode(int width, bool is_yuv) width 359 drivers/gpu/drm/rockchip/rockchip_drm_vop.h if (width > 1280) width 364 drivers/gpu/drm/rockchip/rockchip_drm_vop.h if (width > 2560) width 366 drivers/gpu/drm/rockchip/rockchip_drm_vop.h else if (width > 1920) width 81 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 92 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, fb.width << 16, fb.height << 16); width 93 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&state, 0, 0, fb.width << 16, fb.height << 16); width 112 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 145 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 177 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 210 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 239 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 292 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 328 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 363 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 399 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 434 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 472 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 511 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 549 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 586 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 625 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 666 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 709 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 746 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 785 drivers/gpu/drm/selftests/test-drm_damage_helper.c .width = 2048, width 29 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888, width 34 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 39 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 44 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 49 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH + 1, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 54 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 59 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = 0, width 64 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = 0, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 69 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888, width 74 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 79 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 84 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 90 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 96 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 103 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 109 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, width 115 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12, width 120 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_NV12, width 125 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_NV12, width 130 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_NV12, width 136 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_NV12, width 143 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_NV12, width 150 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_NV12, width 157 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_NV12, width 165 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_NV12, width 170 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12, width 175 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420, width 181 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420, width 186 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_YVU420, width 192 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_YVU420, width 198 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_YVU420, width 204 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_YVU420, width 211 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_YVU420, width 217 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_YVU420, width 223 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_YVU420, width 230 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_YVU420, width 237 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_YVU420, width 245 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_YVU420, width 253 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_X0L2, width 258 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_X0L2, width 263 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_X0L2, width 268 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_X0L2, width 273 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_X0L2, width 279 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_X0L2, width 285 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_X0L2, width 291 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_X0L2, width 297 drivers/gpu/drm/selftests/test-drm_framebuffer.c .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, width 91 drivers/gpu/drm/selftests/test-drm_plane_helper.c .width = 2048, width 101 drivers/gpu/drm/selftests/test-drm_plane_helper.c set_src(&plane_state, 0, 0, fb.width << 16, fb.height << 16); width 102 drivers/gpu/drm/selftests/test-drm_plane_helper.c set_crtc(&plane_state, 0, 0, fb.width, fb.height); width 66 drivers/gpu/drm/sti/sti_cursor.c unsigned int width; width 154 drivers/gpu/drm/sti/sti_cursor.c for (j = 0; j < cursor->width; j++) { width 220 drivers/gpu/drm/sti/sti_cursor.c (cursor->width != src_w) || width 222 drivers/gpu/drm/sti/sti_cursor.c cursor->width = src_w; width 229 drivers/gpu/drm/sti/sti_cursor.c cursor->pixmap.size = cursor->width * cursor->height; width 292 drivers/gpu/drm/sti/sti_cursor.c writel(cursor->width, cursor->regs + CUR_PMP); width 293 drivers/gpu/drm/sti/sti_cursor.c writel(cursor->height << 16 | cursor->width, cursor->regs + CUR_SIZE); width 77 drivers/gpu/drm/sti/sti_plane.c state->fb->width, width 42 drivers/gpu/drm/stm/drv.c unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); width 36 drivers/gpu/drm/sun4i/sun4i_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), 2); width 167 drivers/gpu/drm/sun4i/sun4i_frontend.c unsigned int width = state->src_w >> 16; width 177 drivers/gpu/drm/sun4i/sun4i_frontend.c offset = (width - 1) & (32 - 1); width 66 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON0_BASIC0_X(width) ((((width) - 1) & 0xfff) << 16) width 78 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON0_BASIC3_H_SYNC(width) ((((width) - 1) & 0x7ff) << 16) width 132 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON1_BASIC0_X(width) ((((width) - 1) & 0xfff) << 16) width 136 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON1_BASIC1_X(width) ((((width) - 1) & 0xfff) << 16) width 140 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON1_BASIC2_X(width) ((((width) - 1) & 0xfff) << 16) width 152 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON1_BASIC5_H_SYNC(width) ((((width) - 1) & 0x3ff) << 16) width 974 drivers/gpu/drm/tegra/drm.c fb->base.id, fb->width, fb->height, width 141 drivers/gpu/drm/tegra/fb.c unsigned int width = cmd->width / (i ? info->hsub : 1); width 154 drivers/gpu/drm/tegra/fb.c width * bpp + cmd->offsets[i]; width 221 drivers/gpu/drm/tegra/fb.c cmd.width = sizes->surface_width; width 410 drivers/gpu/drm/tegra/gem.c unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); width 25 drivers/gpu/drm/tegra/plane.h unsigned int width; width 83 drivers/gpu/drm/tiny/ili9225.c unsigned int width = rect->x2 - rect->x1; width 98 drivers/gpu/drm/tiny/ili9225.c full = width == fb->width && height == fb->height; width 124 drivers/gpu/drm/tiny/ili9225.c y1 = fb->width - rect->x2; width 125 drivers/gpu/drm/tiny/ili9225.c y2 = fb->width - rect->x1 - 1; width 130 drivers/gpu/drm/tiny/ili9225.c x1 = fb->width - rect->x2; width 131 drivers/gpu/drm/tiny/ili9225.c x2 = fb->width - rect->x1 - 1; width 156 drivers/gpu/drm/tiny/ili9225.c width * height * 2); width 192 drivers/gpu/drm/tiny/ili9225.c .x2 = fb->width, width 78 drivers/gpu/drm/tiny/repaper.c unsigned int width; width 205 drivers/gpu/drm/tiny/repaper.c for (b = 0; b < (epd->width / 8); b++) { width 251 drivers/gpu/drm/tiny/repaper.c for (b = epd->width / 8; b > 0; b--) { width 301 drivers/gpu/drm/tiny/repaper.c for (b = epd->width / 8; b > 0; b--) { width 440 drivers/gpu/drm/tiny/repaper.c &image[line * (epd->width / 8)], width 445 drivers/gpu/drm/tiny/repaper.c size_t n = line * epd->width / 8; width 511 drivers/gpu/drm/tiny/repaper.c static void repaper_gray8_to_mono_reversed(u8 *buf, u32 width, u32 height) width 517 drivers/gpu/drm/tiny/repaper.c for (xb = 0; xb < width / 8; xb++) { width 524 drivers/gpu/drm/tiny/repaper.c if (gray8[y * width + x] >> 7) width 548 drivers/gpu/drm/tiny/repaper.c clip.x2 = fb->width; width 557 drivers/gpu/drm/tiny/repaper.c buf = kmalloc_array(fb->width, fb->height, GFP_KERNEL); width 579 drivers/gpu/drm/tiny/repaper.c repaper_gray8_to_mono_reversed(buf, fb->width, fb->height); width 610 drivers/gpu/drm/tiny/repaper.c memcpy(epd->current_frame, buf, fb->width * fb->height / 8); width 619 drivers/gpu/drm/tiny/repaper.c for (x = 0; x < (fb->width / 8); x++) width 620 drivers/gpu/drm/tiny/repaper.c if (buf[x + (fb->width * (fb->height - 1) / 8)]) { width 1136 drivers/gpu/drm/tiny/repaper.c epd->width = mode->hdisplay; width 1140 drivers/gpu/drm/tiny/repaper.c line_buffer_size = 2 * epd->width / 8 + epd->bytes_per_scan + 2; width 1145 drivers/gpu/drm/tiny/repaper.c epd->current_frame = devm_kzalloc(dev, epd->width * epd->height / 8, width 185 drivers/gpu/drm/tiny/st7586.c .x2 = fb->width, width 147 drivers/gpu/drm/udl/udl_drv.h int width, int height); width 78 drivers/gpu/drm/udl/udl_fb.c int width, int height) width 110 drivers/gpu/drm/udl/udl_fb.c width = DL_ALIGN_UP(width + (x-aligned_x), sizeof(unsigned long)); width 113 drivers/gpu/drm/udl/udl_fb.c if ((width <= 0) || width 114 drivers/gpu/drm/udl/udl_fb.c (x + width > fb->base.width) || width 128 drivers/gpu/drm/udl/udl_fb.c const int dev_byte_offset = (fb->base.width * i + x) << log_bpp; width 132 drivers/gpu/drm/udl/udl_fb.c width << log_bpp, width 151 drivers/gpu/drm/udl/udl_fb.c atomic_add((width * height) << log_bpp, &udl->bytes_rendered); width 366 drivers/gpu/drm/udl/udl_fb.c mode_cmd.width = sizes->surface_width; width 368 drivers/gpu/drm/udl/udl_fb.c mode_cmd.pitches[0] = mode_cmd.width * ((sizes->surface_bpp + 7) / 8); width 408 drivers/gpu/drm/udl/udl_fb.c fb->width, fb->height, width 81 drivers/gpu/drm/udl/udl_gem.c args->pitch = args->width * DIV_ROUND_UP(args->bpp, 8); width 343 drivers/gpu/drm/udl/udl_modeset.c udl_handle_damage(ufb, 0, 0, ufb->base.width, ufb->base.height); width 375 drivers/gpu/drm/udl/udl_modeset.c udl_handle_damage(ufb, 0, 0, fb->width, fb->height); width 462 drivers/gpu/drm/udl/udl_modeset.c udl_handle_damage(ufb, 0, 0, ufb->base.width, ufb->base.height); width 41 drivers/gpu/drm/udl/udl_transfer.c const int width = *width_bytes / sizeof(unsigned long); width 42 drivers/gpu/drm/udl/udl_transfer.c int identical = width; width 43 drivers/gpu/drm/udl/udl_transfer.c int start = width; width 44 drivers/gpu/drm/udl/udl_transfer.c int end = width; width 46 drivers/gpu/drm/udl/udl_transfer.c for (j = 0; j < width; j++) { width 53 drivers/gpu/drm/udl/udl_transfer.c for (k = width - 1; k > j; k--) { width 60 drivers/gpu/drm/udl/udl_transfer.c identical = start + (width - end); width 114 drivers/gpu/drm/vboxvideo/hgsmi_base.c u32 hot_x, u32 hot_y, u32 width, u32 height, width 126 drivers/gpu/drm/vboxvideo/hgsmi_base.c pixel_len = ((((width + 7) / 8) * height + 3) & ~3) + width 127 drivers/gpu/drm/vboxvideo/hgsmi_base.c width * 4 * height; width 147 drivers/gpu/drm/vboxvideo/hgsmi_base.c p->width = width; width 29 drivers/gpu/drm/vboxvideo/modesetting.c u32 pitch, u32 width, u32 height, width 44 drivers/gpu/drm/vboxvideo/modesetting.c p->width = width; width 66 drivers/gpu/drm/vboxvideo/modesetting.c u32 width, u32 height) width 77 drivers/gpu/drm/vboxvideo/modesetting.c p->cx = width; width 97 drivers/gpu/drm/vboxvideo/vbox_drv.h u32 width; width 127 drivers/gpu/drm/vboxvideo/vbox_drv.h u32 width; width 59 drivers/gpu/drm/vboxvideo/vbox_fb.c mode_cmd.width = sizes->surface_width; width 61 drivers/gpu/drm/vboxvideo/vbox_fb.c pitch = mode_cmd.width * ((sizes->surface_bpp + 7) / 8); width 120 drivers/gpu/drm/vboxvideo/vbox_fb.c DRM_DEBUG_KMS("allocated %dx%d\n", fb->width, fb->height); width 138 drivers/gpu/drm/vboxvideo/vbox_irq.c vbox_conn->mode_hint.width = hints->cx; width 34 drivers/gpu/drm/vboxvideo/vbox_mode.c int width, height, bpp, pitch; width 39 drivers/gpu/drm/vboxvideo/vbox_mode.c width = vbox_crtc->width ? vbox_crtc->width : 640; width 42 drivers/gpu/drm/vboxvideo/vbox_mode.c pitch = fb ? fb->pitches[0] : width * bpp / 8; width 55 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_write_ioport(VBE_DISPI_INDEX_XRES, width); width 73 drivers/gpu/drm/vboxvideo/vbox_mode.c pitch, width, height, bpp, flags); width 122 drivers/gpu/drm/vboxvideo/vbox_mode.c u16 width = 0, height = 0; width 147 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox->input_mapping_width = fb1->width; width 158 drivers/gpu/drm/vboxvideo/vbox_mode.c width = max_t(u16, width, vbox_crtc->x_hint + width 159 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_connector->mode_hint.width); width 165 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox->input_mapping_width = width; width 184 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_crtc->width = crtc->state->mode.hdisplay; width 336 drivers/gpu/drm/vboxvideo/vbox_mode.c u32 width = new_state->crtc_w; width 357 drivers/gpu/drm/vboxvideo/vbox_mode.c if (width > VBOX_MAX_CURSOR_WIDTH || height > VBOX_MAX_CURSOR_HEIGHT || width 358 drivers/gpu/drm/vboxvideo/vbox_mode.c width == 0 || height == 0) width 369 drivers/gpu/drm/vboxvideo/vbox_mode.c static void copy_cursor_image(u8 *src, u8 *dst, u32 width, u32 height, width 372 drivers/gpu/drm/vboxvideo/vbox_mode.c size_t line_size = (width + 7) / 8; width 375 drivers/gpu/drm/vboxvideo/vbox_mode.c memcpy(dst + mask_size, src, width * height * 4); width 377 drivers/gpu/drm/vboxvideo/vbox_mode.c for (j = 0; j < width; ++j) width 378 drivers/gpu/drm/vboxvideo/vbox_mode.c if (((u32 *)src)[i * width + j] > 0xf0000000) width 391 drivers/gpu/drm/vboxvideo/vbox_mode.c u32 width = plane->state->crtc_w; width 421 drivers/gpu/drm/vboxvideo/vbox_mode.c mask_size = ((width + 7) / 8 * height + 3) & ~3; width 422 drivers/gpu/drm/vboxvideo/vbox_mode.c data_size = width * height * 4 + mask_size; width 424 drivers/gpu/drm/vboxvideo/vbox_mode.c copy_cursor_image(src, vbox->cursor_data, width, height, mask_size); width 430 drivers/gpu/drm/vboxvideo/vbox_mode.c min_t(u32, max(fb->hot_x, 0), width), width 432 drivers/gpu/drm/vboxvideo/vbox_mode.c width, height, vbox->cursor_data, data_size); width 665 drivers/gpu/drm/vboxvideo/vbox_mode.c static void vbox_set_edid(struct drm_connector *connector, int width, width 711 drivers/gpu/drm/vboxvideo/vbox_mode.c int clock = (width + 6) * (height + 6) * 60 / 10000; width 714 drivers/gpu/drm/vboxvideo/vbox_mode.c edid[12] = width & 0xff; width 715 drivers/gpu/drm/vboxvideo/vbox_mode.c edid[13] = width >> 8; width 720 drivers/gpu/drm/vboxvideo/vbox_mode.c edid[56] = width & 0xff; width 721 drivers/gpu/drm/vboxvideo/vbox_mode.c edid[58] = (width >> 4) & 0xf0; width 747 drivers/gpu/drm/vboxvideo/vbox_mode.c preferred_width = vbox_connector->mode_hint.width ? width 748 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_connector->mode_hint.width : 1024; width 280 drivers/gpu/drm/vboxvideo/vboxvideo.h u32 width; width 326 drivers/gpu/drm/vboxvideo/vboxvideo.h u32 width; width 35 drivers/gpu/drm/vboxvideo/vboxvideo_guest.h u32 hot_x, u32 hot_y, u32 width, u32 height, width 54 drivers/gpu/drm/vboxvideo/vboxvideo_guest.h u32 pitch, u32 width, u32 height, width 57 drivers/gpu/drm/vboxvideo/vboxvideo_guest.h u32 width, u32 height); width 476 drivers/gpu/drm/vc4/vc4_bo.c int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); width 874 drivers/gpu/drm/vc4/vc4_drv.h uint32_t width, uint32_t height, uint8_t cpp); width 105 drivers/gpu/drm/vc4/vc4_render_cl.c (DIV_ROUND_UP(exec->args->width, 32) * y + x); width 361 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u16(setup, args->width); width 388 drivers/gpu/drm/vc4/vc4_render_cl.c u32 render_tiles_stride = DIV_ROUND_UP(exec->args->width, 32); width 526 drivers/gpu/drm/vc4/vc4_render_cl.c exec->args->width, exec->args->height, cpp)) { width 587 drivers/gpu/drm/vc4/vc4_render_cl.c exec->args->width, exec->args->height, cpp)) { width 240 drivers/gpu/drm/vc4/vc4_txp.c if (fb->width != crtc_state->mode.hdisplay || width 243 drivers/gpu/drm/vc4/vc4_txp.c fb->width, fb->height); width 99 drivers/gpu/drm/vc4/vc4_validate.c size_is_lt(uint32_t width, uint32_t height, int cpp) width 101 drivers/gpu/drm/vc4/vc4_validate.c return (width <= 4 * utile_width(cpp) || width 161 drivers/gpu/drm/vc4/vc4_validate.c uint32_t width, uint32_t height, uint8_t cpp) width 174 drivers/gpu/drm/vc4/vc4_validate.c if (width > 4096 || height > 4096) { width 176 drivers/gpu/drm/vc4/vc4_validate.c width, height); width 182 drivers/gpu/drm/vc4/vc4_validate.c aligned_width = round_up(width, utile_w); width 186 drivers/gpu/drm/vc4/vc4_validate.c aligned_width = round_up(width, utile_w * 8); width 190 drivers/gpu/drm/vc4/vc4_validate.c aligned_width = round_up(width, utile_w); width 204 drivers/gpu/drm/vc4/vc4_validate.c width, height, width 576 drivers/gpu/drm/vc4/vc4_validate.c uint32_t width = VC4_GET_FIELD(p1, VC4_TEX_P1_WIDTH); width 603 drivers/gpu/drm/vc4/vc4_validate.c if (width == 0) width 604 drivers/gpu/drm/vc4/vc4_validate.c width = 2048; width 654 drivers/gpu/drm/vc4/vc4_validate.c width = (width + 3) >> 2; width 672 drivers/gpu/drm/vc4/vc4_validate.c if (size_is_lt(width, height, cpp)) width 679 drivers/gpu/drm/vc4/vc4_validate.c tiling_format, width, height, cpp)) { width 687 drivers/gpu/drm/vc4/vc4_validate.c uint32_t level_width = max(width >> i, 1u); width 213 drivers/gpu/drm/vgem/vgem_drv.c pitch = args->width * DIV_ROUND_UP(args->bpp, 8); width 157 drivers/gpu/drm/virtio/virtgpu_display.c int count, width, height; width 165 drivers/gpu/drm/virtio/virtgpu_display.c width = le32_to_cpu(output->info.r.width); width 169 drivers/gpu/drm/virtio/virtgpu_display.c if (width == 0 || height == 0) { width 170 drivers/gpu/drm/virtio/virtgpu_display.c width = XRES_DEF; width 174 drivers/gpu/drm/virtio/virtgpu_display.c DRM_DEBUG("add mode: %dx%d\n", width, height); width 175 drivers/gpu/drm/virtio/virtgpu_display.c mode = drm_cvt_mode(connector->dev, width, height, 60, width 190 drivers/gpu/drm/virtio/virtgpu_display.c int width, height; width 192 drivers/gpu/drm/virtio/virtgpu_display.c width = le32_to_cpu(output->info.r.width); width 199 drivers/gpu/drm/virtio/virtgpu_display.c if (mode->hdisplay <= width && mode->hdisplay >= width - 16 && width 262 drivers/gpu/drm/virtio/virtgpu_display.c output->info.r.width = cpu_to_le32(XRES_DEF); width 55 drivers/gpu/drm/virtio/virtgpu_drv.h uint32_t width; width 266 drivers/gpu/drm/virtio/virtgpu_drv.h __le32 width, __le32 height, width 272 drivers/gpu/drm/virtio/virtgpu_drv.h uint32_t width, uint32_t height); width 275 drivers/gpu/drm/virtio/virtgpu_drv.h uint32_t width, uint32_t height, width 96 drivers/gpu/drm/virtio/virtgpu_gem.c pitch = args->width * 4; width 101 drivers/gpu/drm/virtio/virtgpu_gem.c params.width = args->width; width 299 drivers/gpu/drm/virtio/virtgpu_ioctl.c params.width = rc->width; width 402 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p->width = cpu_to_le32(params->width); width 442 drivers/gpu/drm/virtio/virtgpu_vq.c uint32_t width, uint32_t height, width 454 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p->r.width = cpu_to_le32(width); width 465 drivers/gpu/drm/virtio/virtgpu_vq.c uint32_t width, uint32_t height) width 475 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p->r.width = cpu_to_le32(width); width 486 drivers/gpu/drm/virtio/virtgpu_vq.c __le32 width, __le32 height, width 505 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p->r.width = width; width 548 drivers/gpu/drm/virtio/virtgpu_vq.c le32_to_cpu(resp->pmodes[i].r.width), width 875 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p->width = cpu_to_le32(params->width); width 129 drivers/gpu/drm/vkms/vkms_gem.c pitch = args->width * DIV_ROUND_UP(args->bpp, 8); width 1405 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h uint32 width; width 2100 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h uint32 width; width 561 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h float width; width 662 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h uint32 width; width 884 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h uint32 width; width 1136 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h size.width = max_t(u32, base_level.width >> mip_level, 1); width 1149 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h block_size->width = __KERNEL_DIV_ROUND_UP(pixel_size->width, width 1150 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h desc->block_size.width); width 1172 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h pitch = blocks.width * desc->pitch_bytes_per_block; width 1199 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h total_size = clamped_umul32(image_blocks.width, width 1268 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h u32 width, u32 height, width 1272 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h const u32 bw = desc->block_size.width, bh = desc->block_size.height; width 1274 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h const u32 rowstride = __KERNEL_DIV_ROUND_UP(width, bw) * width 139 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h uint32 *width, /* IN / OUT */ width 147 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h *width = (*width + 1) & ~1; width 156 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h *size = (*width) * (*height); width 159 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h pitches[0] = *width; width 166 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h tmp = *width >> 1; width 184 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h *size = *width * 2; width 1343 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 width; width 1372 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 width; width 1443 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 width; width 1550 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 width; width 1574 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 width; width 1600 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 width; width 1627 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 width; width 1659 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 width; width 1684 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 width; width 1713 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h uint32 width; width 1038 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c args->pitch = args->width * ((args->bpp + 7) / 8); width 528 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c uint32_t width; width 531 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c width = vmw_read(dev_priv, SVGA_REG_WIDTH); width 534 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c width = max_t(uint32_t, width, VMW_MIN_INITIAL_WIDTH); width 537 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c if (width > dev_priv->fb_max_width || width 544 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c width = VMW_MIN_INITIAL_WIDTH; width 548 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c dev_priv->initial_width = width; width 402 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h uint32_t width; width 1083 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h unsigned width, unsigned height, unsigned pitch, width 215 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c max_x = par->fb_x + cur_fb->width; width 269 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c unsigned width, unsigned height) width 272 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c unsigned x2 = x1 + width; width 314 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c vmw_fb_dirty_mark(par, par->fb_x, par->fb_y, par->set_fb->width, width 372 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c rect->width, rect->height); width 379 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c region->width, region->height); width 386 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c image->width, image->height); width 513 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c mode_cmd.width = var->xres; width 515 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c mode_cmd.pitches[0] = ((var->bits_per_pixel + 7) / 8) * mode_cmd.width; width 520 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c if (cur_fb && cur_fb->width == mode_cmd.width && width 609 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c par->set_fb->width, par->set_fb->height); width 731 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c info->var.width = -1; width 58 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c u32 *image, u32 width, u32 height, width 65 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c u32 image_size = width * height * 4; width 81 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c cmd->cursor.width = width; width 93 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c u32 width, u32 height, width 104 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c kmap_num = (width*height*4 + PAGE_SIZE - 1) >> PAGE_SHIFT; width 117 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c ret = vmw_cursor_update_image(dev_priv, virtual, width, height, width 913 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c surface->base_size.width < mode_cmd->width || width 1017 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c norect.x2 = framebuffer->width; width 1178 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c content_base_size.width = mode_cmd->pitches[0] / bytes_pp; width 1287 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_kms_srf_ok(struct vmw_private *dev_priv, uint32_t width, uint32_t height) width 1289 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (width > dev_priv->texture_max_width || width 1324 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (vmw_kms_srf_ok(dev_priv, mode_cmd->width, mode_cmd->height) && width 1326 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c mode_cmd->width > 64 && /* Don't create a proxy for cursor */ width 1408 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c !vmw_kms_srf_ok(dev_priv, mode_cmd->width, mode_cmd->height)) { width 1879 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c unsigned width, unsigned height, unsigned pitch, width 1887 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_write(vmw_priv, SVGA_REG_WIDTH, width); width 1930 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c save->width = vmw_read(vmw_priv, SVGA_REG_DISPLAY_WIDTH); width 1934 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c save->width == 0 && save->height == 0) { width 1941 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c save->width = vmw_priv->vga_width - save->pos_x; width 1973 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_write(vmw_priv, SVGA_REG_DISPLAY_WIDTH, save->width); width 2625 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (clips->x1 > size->width || clips->x2 > size->width || width 111 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c vmw_kms_write_svga(dev_priv, fb->width, fb->height, fb->pitches[0], width 568 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c cmd[i].body.width = clips->x2 - clips->x1; width 152 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c items[SVGA_VIDEO_WIDTH].value = arg->width; width 145 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c cmd->obj.size.width = mode->hdisplay; width 181 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd->body.width = mode->hdisplay; width 577 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c s32 width, height; width 586 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c width = ddirty->right - ddirty->left; width 589 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c if (width == 0 || height == 0) width 593 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c dst_pitch = stdu->display_srf->base_size.width * stdu->cpp; width 610 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c width * stdu->cpp, height, &diff); width 1058 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c if (new_vfbs && new_vfbs->surface->base_size.width == hdisplay && width 1070 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c display_base_size.width = hdisplay; width 1111 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c if (cur_base_size.width != display_base_size.width || width 1175 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vps->cpp = new_fb->pitches[0] / new_fb->width; width 1299 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c s32 width, height; width 1305 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c width = bb->x2 - bb->x1; width 1311 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c dst_pitch = stdu->display_srf->base_size.width * stdu->cpp; width 1320 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c src_offset, src_pitch, width * stdu->cpp, height, width 259 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd_size->width = src_size->width; width 310 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cb->w = cur_size->width; width 823 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c srf->sizes[0].width == 64 && width 1096 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd3->body.size.width = srf->base_size.width; width 1109 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd2->body.size.width = srf->base_size.width; width 1122 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd->body.size.width = srf->base_size.width; width 1388 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c if (size.width > dev_priv->texture_max_width || width 1391 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c size.width, size.height, width 1478 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c for_scanout && size.width <= dev_priv->stdu_max_width && width 123 drivers/gpu/drm/xen/xen_drm_front.c u32 x, u32 y, u32 width, u32 height, width 143 drivers/gpu/drm/xen/xen_drm_front.c req->op.set_config.width = width; width 159 drivers/gpu/drm/xen/xen_drm_front.c u64 dbuf_cookie, u32 width, u32 height, width 198 drivers/gpu/drm/xen/xen_drm_front.c req->op.dbuf_create.width = width; width 274 drivers/gpu/drm/xen/xen_drm_front.c u64 dbuf_cookie, u64 fb_cookie, u32 width, width 299 drivers/gpu/drm/xen/xen_drm_front.c req->op.fb_attach.width = width; width 399 drivers/gpu/drm/xen/xen_drm_front.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); width 410 drivers/gpu/drm/xen/xen_drm_front.c args->width, args->height, args->bpp, width 116 drivers/gpu/drm/xen/xen_drm_front.h int width, height; width 143 drivers/gpu/drm/xen/xen_drm_front.h u32 x, u32 y, u32 width, u32 height, width 147 drivers/gpu/drm/xen/xen_drm_front.h u64 dbuf_cookie, u32 width, u32 height, width 151 drivers/gpu/drm/xen/xen_drm_front.h u64 dbuf_cookie, u64 fb_cookie, u32 width, width 34 drivers/gpu/drm/xen/xen_drm_front_cfg.c &connector->width, &connector->height) < 0) { width 36 drivers/gpu/drm/xen/xen_drm_front_cfg.c connector->width = 0; width 44 drivers/gpu/drm/xen/xen_drm_front_cfg.c connector_path, connector->width, connector->height); width 19 drivers/gpu/drm/xen/xen_drm_front_cfg.h int width; width 66 drivers/gpu/drm/xen/xen_drm_front_conn.c int width, height; width 73 drivers/gpu/drm/xen/xen_drm_front_conn.c videomode.hactive = pipeline->width; width 75 drivers/gpu/drm/xen/xen_drm_front_conn.c width = videomode.hactive + videomode.hfront_porch + width 79 drivers/gpu/drm/xen/xen_drm_front_conn.c videomode.pixelclock = width * height * XEN_DRM_CRTC_VREFRESH_HZ; width 78 drivers/gpu/drm/xen/xen_drm_front_kms.c fb->width, fb->height, width 125 drivers/gpu/drm/xen/xen_drm_front_kms.c fb->width, fb->height, width 279 drivers/gpu/drm/xen/xen_drm_front_kms.c if (mode->hdisplay != pipeline->width) width 308 drivers/gpu/drm/xen/xen_drm_front_kms.c pipeline->width = cfg->width; width 422 drivers/gpu/ipu-v3/ipu-cpmem.c int ipu_cpmem_set_format_passthrough(struct ipuv3_channel *ch, int width) width 426 drivers/gpu/ipu-v3/ipu-cpmem.c switch (width) { width 588 drivers/gpu/ipu-v3/ipu-cpmem.c #define Y_OFFSET(pix, x, y) ((x) + pix->width * (y)) width 589 drivers/gpu/ipu-v3/ipu-cpmem.c #define U_OFFSET(pix, x, y) ((pix->width * pix->height) + \ width 590 drivers/gpu/ipu-v3/ipu-cpmem.c (pix->width * ((y) / 2) / 2) + (x) / 2) width 591 drivers/gpu/ipu-v3/ipu-cpmem.c #define V_OFFSET(pix, x, y) ((pix->width * pix->height) + \ width 592 drivers/gpu/ipu-v3/ipu-cpmem.c (pix->width * pix->height / 4) + \ width 593 drivers/gpu/ipu-v3/ipu-cpmem.c (pix->width * ((y) / 2) / 2) + (x) / 2) width 594 drivers/gpu/ipu-v3/ipu-cpmem.c #define U2_OFFSET(pix, x, y) ((pix->width * pix->height) + \ width 595 drivers/gpu/ipu-v3/ipu-cpmem.c (pix->width * (y) / 2) + (x) / 2) width 596 drivers/gpu/ipu-v3/ipu-cpmem.c #define V2_OFFSET(pix, x, y) ((pix->width * pix->height) + \ width 597 drivers/gpu/ipu-v3/ipu-cpmem.c (pix->width * pix->height / 2) + \ width 598 drivers/gpu/ipu-v3/ipu-cpmem.c (pix->width * (y) / 2) + (x) / 2) width 599 drivers/gpu/ipu-v3/ipu-cpmem.c #define UV_OFFSET(pix, x, y) ((pix->width * pix->height) + \ width 600 drivers/gpu/ipu-v3/ipu-cpmem.c (pix->width * ((y) / 2)) + (x)) width 601 drivers/gpu/ipu-v3/ipu-cpmem.c #define UV2_OFFSET(pix, x, y) ((pix->width * pix->height) + \ width 602 drivers/gpu/ipu-v3/ipu-cpmem.c (pix->width * y) + (x)) width 771 drivers/gpu/ipu-v3/ipu-cpmem.c __func__, pix->width, pix->height, width 774 drivers/gpu/ipu-v3/ipu-cpmem.c ipu_cpmem_set_resolution(ch, image->rect.width, image->rect.height); width 434 drivers/gpu/ipu-v3/ipu-csi.c u32 width, height, data = 0; width 443 drivers/gpu/ipu-v3/ipu-csi.c width = infmt->width; width 473 drivers/gpu/ipu-v3/ipu-csi.c if (width == 720 && height == 480) { width 476 drivers/gpu/ipu-v3/ipu-csi.c } else if (width == 720 && height == 576) { width 505 drivers/gpu/ipu-v3/ipu-csi.c ipu_csi_write(csi, (width - 1) | ((height - 1) << 16), width 559 drivers/gpu/ipu-v3/ipu-csi.c w->width = (reg & 0xFFFF) + 1; width 577 drivers/gpu/ipu-v3/ipu-csi.c ipu_csi_write(csi, (w->width - 1) | ((w->height - 1) << 16), width 161 drivers/gpu/ipu-v3/ipu-dc.c u32 bus_format, u32 width) width 220 drivers/gpu/ipu-v3/ipu-dc.c writel(width, priv->dc_reg + DC_DISP_CONF2(dc->di)); width 135 drivers/gpu/ipu-v3/ipu-dmfc.c void ipu_dmfc_config_wait4eot(struct dmfc_channel *dmfc, int width) width 144 drivers/gpu/ipu-v3/ipu-dmfc.c if ((dmfc->slots * 64 * 4) / width > dmfc->data->max_fifo_lines) width 453 drivers/gpu/ipu-v3/ipu-ic.c u32 width, u32 height, int burst_size, width 469 drivers/gpu/ipu-v3/ipu-ic.c width--; width 497 drivers/gpu/ipu-v3/ipu-ic.c ic_idmac_3 |= width << IC_IDMAC_3_PP_WIDTH_OFFSET; width 530 drivers/gpu/ipu-v3/ipu-ic.c ic_idmac_3 |= width << IC_IDMAC_3_PRPENC_WIDTH_OFFSET; width 551 drivers/gpu/ipu-v3/ipu-ic.c ic_idmac_3 |= width << IC_IDMAC_3_PRPVF_WIDTH_OFFSET; width 95 drivers/gpu/ipu-v3/ipu-image-convert.c u32 width; width 331 drivers/gpu/ipu-v3/ipu-image-convert.c ic_image->base.pix.width, ic_image->base.pix.height, width 395 drivers/gpu/ipu-v3/ipu-image-convert.c u32 downsized_width = in->rect.width; width 399 drivers/gpu/ipu-v3/ipu-image-convert.c u32 resized_width = out->rect.width; width 408 drivers/gpu/ipu-v3/ipu-image-convert.c resized_height = out->rect.width; width 666 drivers/gpu/ipu-v3/ipu-image-convert.c in_tile->width = in_width; width 673 drivers/gpu/ipu-v3/ipu-image-convert.c out_tile->width = out_width; width 702 drivers/gpu/ipu-v3/ipu-image-convert.c out_tile->width = out_height; width 720 drivers/gpu/ipu-v3/ipu-image-convert.c unsigned int resized_width = out->base.rect.width; width 732 drivers/gpu/ipu-v3/ipu-image-convert.c unsigned int in_right = in->base.rect.width; width 734 drivers/gpu/ipu-v3/ipu-image-convert.c unsigned int out_right = out->base.rect.width; width 742 drivers/gpu/ipu-v3/ipu-image-convert.c resized_height = out->base.rect.width; width 748 drivers/gpu/ipu-v3/ipu-image-convert.c out_bottom = out->base.rect.width; width 865 drivers/gpu/ipu-v3/ipu-image-convert.c tile->width; width 868 drivers/gpu/ipu-v3/ipu-image-convert.c tile->stride = tile->width; width 872 drivers/gpu/ipu-v3/ipu-image-convert.c (image->fmt->bpp * tile->width) >> 3; width 882 drivers/gpu/ipu-v3/ipu-image-convert.c tile->width, tile->height, tile->left, tile->top); width 884 drivers/gpu/ipu-v3/ipu-image-convert.c if (!tile->width || tile->width > max_width || width 888 drivers/gpu/ipu-v3/ipu-image-convert.c "output", tile->width, tile->height); width 1133 drivers/gpu/ipu-v3/ipu-image-convert.c resized_width = out_tile->width; width 1135 drivers/gpu/ipu-v3/ipu-image-convert.c resize_coeff_h = calc_resize_coeff(in_tile->width, width 1168 drivers/gpu/ipu-v3/ipu-image-convert.c out_tile->width = resized_width; width 1170 drivers/gpu/ipu-v3/ipu-image-convert.c in_tile->width = in_width; width 1188 drivers/gpu/ipu-v3/ipu-image-convert.c resized_height = out_tile->width; width 1223 drivers/gpu/ipu-v3/ipu-image-convert.c out_tile->width = resized_height; width 1286 drivers/gpu/ipu-v3/ipu-image-convert.c u32 width, height, stride; width 1300 drivers/gpu/ipu-v3/ipu-image-convert.c width = image->tile[tile_idx[0]].height; width 1301 drivers/gpu/ipu-v3/ipu-image-convert.c height = image->tile[tile_idx[0]].width; width 1307 drivers/gpu/ipu-v3/ipu-image-convert.c width = image->tile[tile_idx[0]].width; width 1320 drivers/gpu/ipu-v3/ipu-image-convert.c tile_image.pix.width = tile_image.rect.width = width; width 1350 drivers/gpu/ipu-v3/ipu-image-convert.c burst_size = (width % 16) ? 8 : 16; width 1354 drivers/gpu/ipu-v3/ipu-image-convert.c ipu_ic_task_idma_init(chan->ic, channel, width, height, width 1386 drivers/gpu/ipu-v3/ipu-image-convert.c dest_height = d_image->tile[dst_tile].width; width 1388 drivers/gpu/ipu-v3/ipu-image-convert.c dest_width = d_image->tile[dst_tile].width; width 1401 drivers/gpu/ipu-v3/ipu-image-convert.c __func__, s_image->tile[tile].width, width 1406 drivers/gpu/ipu-v3/ipu-image-convert.c s_image->tile[tile].width, width 1608 drivers/gpu/ipu-v3/ipu-image-convert.c ctx->in.tile[cur_tile].width != ctx->in.tile[next_tile].width || width 1610 drivers/gpu/ipu-v3/ipu-image-convert.c ctx->out.tile[cur_tile].width != ctx->out.tile[next_tile].width || width 1908 drivers/gpu/ipu-v3/ipu-image-convert.c ic_image->stride = ic_image->base.pix.width; width 1959 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.width / 4); width 1960 drivers/gpu/ipu-v3/ipu-image-convert.c out->pix.width = max_t(__u32, out->pix.width, width 1963 drivers/gpu/ipu-v3/ipu-image-convert.c out->pix.width = max_t(__u32, out->pix.width, width 1964 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.width / 4); width 1974 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.width = clamp_align(in->pix.width, MIN_W, MAX_W, width 1984 drivers/gpu/ipu-v3/ipu-image-convert.c out->pix.width = clamp_align(out->pix.width, MIN_W, MAX_W, width 1991 drivers/gpu/ipu-v3/ipu-image-convert.c clamp_align(in->pix.width, 2 << w_align_in, MAX_W, width 1993 drivers/gpu/ipu-v3/ipu-image-convert.c clamp_align((in->pix.width * infmt->bpp) >> 3, width 2000 drivers/gpu/ipu-v3/ipu-image-convert.c out->pix.bytesperline = outfmt->planar ? out->pix.width : width 2001 drivers/gpu/ipu-v3/ipu-image-convert.c (out->pix.width * outfmt->bpp) >> 3; width 2023 drivers/gpu/ipu-v3/ipu-image-convert.c if (testin.pix.width != in->pix.width || width 2025 drivers/gpu/ipu-v3/ipu-image-convert.c testout.pix.width != out->pix.width || width 2158 drivers/gpu/ipu-v3/ipu-image-convert.c if (ctx->in.tile[i].width != ctx->in.tile[0].width || width 2160 drivers/gpu/ipu-v3/ipu-image-convert.c ctx->out.tile[i].width != ctx->out.tile[0].width || width 165 drivers/gpu/ipu-v3/ipu-pre.c void ipu_pre_configure(struct ipu_pre *pre, unsigned int width, width 190 drivers/gpu/ipu-v3/ipu-pre.c val = IPU_PRE_PREFETCH_ENG_INPUT_SIZE_WIDTH(width) | width 202 drivers/gpu/ipu-v3/ipu-pre.c val = IPU_PRE_STORE_ENG_SIZE_INPUT_WIDTH(width) | width 274 drivers/gpu/ipu-v3/ipu-prg.c unsigned int axi_id, unsigned int width, width 299 drivers/gpu/ipu-v3/ipu-prg.c width, height, stride, format, modifier, *eba); width 262 drivers/gpu/ipu-v3/ipu-prv.h void ipu_pre_configure(struct ipu_pre *pre, unsigned int width, width 63 drivers/hid/hid-picolcd_fb.c .width = 103, width 2561 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, max(hid_data->width, hid_data->height)); width 2562 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_TOUCH_MINOR, min(hid_data->width, hid_data->height)); width 2563 drivers/hid/wacom_wac.c if (hid_data->width != hid_data->height) width 2564 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_ORIENTATION, hid_data->width <= hid_data->height ? 0 : 1); width 2588 drivers/hid/wacom_wac.c wacom_wac->hid_data.width = value; width 2895 drivers/hid/wacom_wac.c int width, height; width 2898 drivers/hid/wacom_wac.c width = data[5] * 100; width 2909 drivers/hid/wacom_wac.c width = 2 * int_sqrt(a * WACOM_CONTACT_AREA_SCALE); width 2910 drivers/hid/wacom_wac.c height = width * y_res / x_res; width 2915 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, width); width 306 drivers/hid/wacom_wac.h int width; width 38 drivers/hwtracing/intel_th/pti.c static int pti_width_mode(unsigned int width) width 43 drivers/hwtracing/intel_th/pti.c if (pti_mode[i] == width) width 222 drivers/hwtracing/stm/core.c unsigned int end, unsigned int width) width 227 drivers/hwtracing/stm/core.c for (pos = start; pos < end + 1; pos = ALIGN(pos, width)) { width 229 drivers/hwtracing/stm/core.c if (pos + width > end + 1) width 232 drivers/hwtracing/stm/core.c if (pos & (width - 1)) width 235 drivers/hwtracing/stm/core.c for (i = 1; i < width && !test_bit(pos + i, bitmap); i++) width 237 drivers/hwtracing/stm/core.c if (i == width) width 248 drivers/hwtracing/stm/core.c stm_find_master_chan(struct stm_device *stm, unsigned int width, width 269 drivers/hwtracing/stm/core.c width); width 281 drivers/hwtracing/stm/core.c static int stm_output_assign(struct stm_device *stm, unsigned int width, width 288 drivers/hwtracing/stm/core.c if (width > stm->data->sw_nchannels) width 307 drivers/hwtracing/stm/core.c ret = stm_find_master_chan(stm, width, &midx, mend, &cidx, cend); width 313 drivers/hwtracing/stm/core.c output->nr_chans = width; width 327 drivers/hwtracing/stm/core.c dev_dbg(&stm->dev, "assigned %u:%u (+%u)\n", midx, cidx, width); width 543 drivers/hwtracing/stm/core.c char **ids, unsigned int width) width 560 drivers/hwtracing/stm/core.c err = stm_output_assign(stm, width, pn, output); width 761 drivers/hwtracing/stm/core.c if (id->width < 1 || id->width > wlimit) width 766 drivers/hwtracing/stm/core.c id->width); width 789 drivers/hwtracing/stm/core.c .width = stmf->output.nr_chans, width 671 drivers/iio/adc/meson_saradc.c priv->clk_div.width = MESON_SAR_ADC_REG3_ADC_CLK_DIV_WIDTH; width 144 drivers/iio/buffer/industrialio-buffer-dmaengine.c unsigned int width, src_width, dest_width; width 172 drivers/iio/buffer/industrialio-buffer-dmaengine.c width = max(src_width, dest_width); width 176 drivers/iio/buffer/industrialio-buffer-dmaengine.c dmaengine_buffer->align = width; width 524 drivers/infiniband/core/sysfs.c int width = (tab_attr->index >> 16) & 0xff; width 533 drivers/infiniband/core/sysfs.c switch (width) { width 1732 drivers/infiniband/core/verbs.c int ib_get_eth_speed(struct ib_device *dev, u8 port_num, u8 *speed, u8 *width) width 1761 drivers/infiniband/core/verbs.c *width = IB_WIDTH_1X; width 1764 drivers/infiniband/core/verbs.c *width = IB_WIDTH_1X; width 1767 drivers/infiniband/core/verbs.c *width = IB_WIDTH_4X; width 1770 drivers/infiniband/core/verbs.c *width = IB_WIDTH_1X; width 1773 drivers/infiniband/core/verbs.c *width = IB_WIDTH_4X; width 1776 drivers/infiniband/core/verbs.c *width = IB_WIDTH_4X; width 1003 drivers/infiniband/hw/efa/efa_com.c int width; width 1005 drivers/infiniband/hw/efa/efa_com.c width = (caps & EFA_REGS_CAPS_DMA_ADDR_WIDTH_MASK) >> width 1008 drivers/infiniband/hw/efa/efa_com.c ibdev_dbg(edev->efa_dev, "DMA width: %d\n", width); width 1010 drivers/infiniband/hw/efa/efa_com.c if (width < 32 || width > 64) { width 1011 drivers/infiniband/hw/efa/efa_com.c ibdev_err(edev->efa_dev, "DMA width illegal value: %d\n", width); width 1015 drivers/infiniband/hw/efa/efa_com.c edev->dma_addr_bits = width; width 1017 drivers/infiniband/hw/efa/efa_com.c return width; width 7288 drivers/infiniband/hw/hfi1/chip.c static u16 link_width_to_bits(struct hfi1_devdata *dd, u16 width) width 7290 drivers/infiniband/hw/hfi1/chip.c switch (width) { width 7304 drivers/infiniband/hw/hfi1/chip.c __func__, width); width 96 drivers/infiniband/hw/hfi1/user_sdma.h u8 dw, u8 bit, u8 width, u16 value) width 100 drivers/infiniband/hw/hfi1/user_sdma.h arr[idx++] = sdma_build_ahg_descriptor(value, dw, bit, width); width 358 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h enum ib_port_width width) width 360 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h return (enum pvrdma_port_width)width; width 364 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h enum pvrdma_port_width width) width 366 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h return (enum ib_port_width)width; width 141 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h static inline int pvrdma_width_enum_to_int(enum pvrdma_port_width width) width 143 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h switch (width) { width 182 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c int ret, speed, width; width 195 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c width = ib_width_enum_to_int(attr.active_width); width 197 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c if (speed < 0 || width < 0) width 204 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c cmd->base.speed = speed * width; width 331 drivers/input/misc/xen-kbdfront.c int num_cont, width, height; width 340 drivers/input/misc/xen-kbdfront.c width = xenbus_read_unsigned(info->xbdev->otherend, width 356 drivers/input/misc/xen-kbdfront.c 0, width, 0, 0); width 373 drivers/input/mouse/elantech.c unsigned int width = 0, pres = 0; width 400 drivers/input/mouse/elantech.c width = ((packet[0] & 0x30) >> 2) | ((packet[3] & 0x30) >> 4); width 425 drivers/input/mouse/elantech.c width = 7; width 442 drivers/input/mouse/elantech.c input_report_abs(dev, ABS_TOOL_WIDTH, width); width 511 drivers/input/mouse/elantech.c unsigned int width = 0, pres = 0; width 559 drivers/input/mouse/elantech.c width = ((packet[0] & 0x30) >> 2) | ((packet[3] & 0x30) >> 4); width 578 drivers/input/mouse/elantech.c input_report_abs(dev, ABS_TOOL_WIDTH, width); width 640 drivers/input/mouse/elantech.c input_report_abs(dev, ABS_MT_TOUCH_MAJOR, traces * etd->width); width 1117 drivers/input/mouse/elantech.c width = info->width; width 1191 drivers/input/mouse/elantech.c ETP_WMAX_V2 * width, 0, 0); width 1203 drivers/input/mouse/elantech.c etd->width = width; width 1735 drivers/input/mouse/elantech.c info->width = info->x_max / (traces - 1); width 152 drivers/input/mouse/elantech.h unsigned int width; width 180 drivers/input/mouse/elantech.h unsigned int width; width 104 drivers/input/mouse/focaltech.c unsigned int width; width 140 drivers/input/mouse/focaltech.c input_report_abs(dev, ABS_TOOL_WIDTH, state->width); width 191 drivers/input/mouse/focaltech.c state->width = packet[5] >> 4; width 418 drivers/input/rmi4/rmi_f54.c f->width = rx; width 422 drivers/input/rmi4/rmi_f54.c f->bytesperline = f->width * sizeof(u16); width 423 drivers/input/rmi4/rmi_f54.c f->sizeimage = f->width * f->height * sizeof(u16); width 2448 drivers/input/touchscreen/atmel_mxt_ts.c f->width = data->xy_switch ? data->ysize : data->xsize; width 2452 drivers/input/touchscreen/atmel_mxt_ts.c f->bytesperline = f->width * sizeof(u16); width 2453 drivers/input/touchscreen/atmel_mxt_ts.c f->sizeimage = f->width * f->height * sizeof(u16); width 179 drivers/input/touchscreen/ektf2127.c static int ektf2127_query_dimension(struct i2c_client *client, bool width) width 182 drivers/input/touchscreen/ektf2127.c const char *what = width ? "width" : "height"; width 183 drivers/input/touchscreen/ektf2127.c u8 what_code = width ? EKTF2127_WIDTH : EKTF2127_HEIGHT; width 190 drivers/input/touchscreen/ektf2127.c buf[1] = width ? EKTF2127_WIDTH : EKTF2127_HEIGHT; width 78 drivers/input/touchscreen/mms114.c u8 width; width 178 drivers/input/touchscreen/mms114.c x, y, touch->width, touch->strength); width 185 drivers/input/touchscreen/mms114.c input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, touch->width); width 178 drivers/input/touchscreen/sis_i2c.c u8 height, width; width 196 drivers/input/touchscreen/sis_i2c.c pressure = height = width = 1; width 199 drivers/input/touchscreen/sis_i2c.c width = data[SIS_CONTACT_WIDTH_OFFSET]; width 212 drivers/input/touchscreen/sis_i2c.c width * SIS_AREA_UNIT); width 186 drivers/input/touchscreen/sur40.c .width = SENSOR_RES_X / 2, width 195 drivers/input/touchscreen/sur40.c .width = SENSOR_RES_X / 2, width 1061 drivers/input/touchscreen/sur40.c f->discrete.width = sur40->pix_fmt.width; width 1073 drivers/input/touchscreen/sur40.c || (f->width != sur40->pix_fmt.width) width 45 drivers/input/touchscreen/surface3_spi.c __le16 width; width 88 drivers/input/touchscreen/surface3_spi.c get_unaligned_le16(&finger->width)); width 42 drivers/interconnect/qcom/sdm845.c __le16 width; width 513 drivers/interconnect/qcom/sdm845.c bcm->aux_data.width = le16_to_cpu(data->width); width 604 drivers/interconnect/qcom/sdm845.c temp = bcm->nodes[i]->sum_avg[bucket] * bcm->aux_data.width; width 608 drivers/interconnect/qcom/sdm845.c temp = bcm->nodes[i]->max_peak[bucket] * bcm->aux_data.width; width 640 drivers/iommu/dmar.c if (dmar->width < PAGE_SHIFT - 1) { width 645 drivers/iommu/dmar.c pr_info("Host address width %d\n", dmar->width + 1); width 116 drivers/iommu/intel-iommu.c static inline int width_to_agaw(int width) width 118 drivers/iommu/intel-iommu.c return DIV_ROUND_UP(width - 30, LEVEL_STRIDE); width 51 drivers/irqchip/irq-renesas-intc-irqpin.c int width; width 117 drivers/irqchip/irq-renesas-intc-irqpin.c return BIT((p->iomem[reg].width - 1) - hw_irq); width 130 drivers/irqchip/irq-renesas-intc-irqpin.c int width, int value) width 138 drivers/irqchip/irq-renesas-intc-irqpin.c tmp &= ~(((1 << width) - 1) << shift); width 448 drivers/irqchip/irq-renesas-intc-irqpin.c i->width = 8; width 453 drivers/irqchip/irq-renesas-intc-irqpin.c i->width = 32; width 101 drivers/md/dm-stripe.c sector_t width, tmp_len; width 122 drivers/md/dm-stripe.c width = ti->len; width 123 drivers/md/dm-stripe.c if (sector_div(width, stripes)) { width 129 drivers/md/dm-stripe.c tmp_len = width; width 157 drivers/md/dm-stripe.c sc->stripe_width = width; width 27 drivers/media/common/btcx-risc.h void btcx_calc_skips(int line, int width, int *maxy, width 212 drivers/media/common/cx2341x.c .width = 720, width 1049 drivers/media/common/cx2341x.c CMP_FIELD(old, new, width) || width 1052 drivers/media/common/cx2341x.c u16 w = new->width; width 1224 drivers/media/common/cx2341x.c p->width / (is_mpeg1 ? 2 : 1), p->height / (is_mpeg1 ? 2 : 1), width 1583 drivers/media/common/cx2341x.c cxhdl->width = 720; width 1745 drivers/media/common/cx2341x.c int w = cxhdl->width; width 535 drivers/media/common/saa7146/saa7146_fops.c vv->ov_fb.fmt.width = vv->standard->h_max_out; width 538 drivers/media/common/saa7146/saa7146_fops.c vv->ov_fb.fmt.bytesperline = 2 * vv->ov_fb.fmt.width; width 543 drivers/media/common/saa7146/saa7146_fops.c fmt->width = 384; width 548 drivers/media/common/saa7146/saa7146_fops.c fmt->bytesperline = 3 * fmt->width; width 344 drivers/media/common/saa7146/saa7146_hlp.c int width = vv->ov.win.w.width; width 368 drivers/media/common/saa7146/saa7146_hlp.c w[i] = vv->ov.clips[i].c.width; width 393 drivers/media/common/saa7146/saa7146_hlp.c pixel_list[ 2*i ] = min_t(int, l, width); width 394 drivers/media/common/saa7146/saa7146_hlp.c pixel_list[(2*i)+1] = min_t(int, r, width); width 524 drivers/media/common/saa7146/saa7146_hlp.c static void saa7146_set_window(struct saa7146_dev *dev, int width, int height, enum v4l2_field field) width 542 drivers/media/common/saa7146/saa7146_hlp.c calculate_h_scale_registers(dev, vv->standard->h_pixels, width, vv->hflip, &hps_ctrl, &hps_v_gain, &hps_h_prescale, &hps_h_scale); width 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); width 709 drivers/media/common/saa7146/saa7146_hlp.c int width = buf->fmt->width; width 717 drivers/media/common/saa7146/saa7146_hlp.c width, height, v4l2_field_names[field]); width 722 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch = (width*depth*2)/8; width 768 drivers/media/common/saa7146/saa7146_hlp.c int width = buf->fmt->width; width 770 drivers/media/common/saa7146/saa7146_hlp.c vdma2->pitch = width; width 771 drivers/media/common/saa7146/saa7146_hlp.c vdma3->pitch = width; width 799 drivers/media/common/saa7146/saa7146_hlp.c int width = buf->fmt->width; width 801 drivers/media/common/saa7146/saa7146_hlp.c vdma2->pitch = width/2; width 802 drivers/media/common/saa7146/saa7146_hlp.c vdma3->pitch = width/2; width 834 drivers/media/common/saa7146/saa7146_hlp.c int width = buf->fmt->width; width 843 drivers/media/common/saa7146/saa7146_hlp.c width, height, v4l2_field_names[field]); width 851 drivers/media/common/saa7146/saa7146_hlp.c vdma1.pitch = width*2; width 1012 drivers/media/common/saa7146/saa7146_hlp.c saa7146_set_window(dev, buf->fmt->width, buf->fmt->height, buf->fmt->field); width 246 drivers/media/common/saa7146/saa7146_vbi.c buf->vb.width = llength; width 141 drivers/media/common/saa7146/saa7146_video.c vv->ov.win.w.width, vv->ov.win.w.height, width 213 drivers/media/common/saa7146/saa7146_video.c int size = buf->fmt->width*buf->fmt->height; width 497 drivers/media/common/saa7146/saa7146_video.c if (vv->ov_fb.fmt.bytesperline < vv->ov_fb.fmt.width) { width 498 drivers/media/common/saa7146/saa7146_video.c vv->ov_fb.fmt.bytesperline = vv->ov_fb.fmt.width * fmt->depth / 8; width 655 drivers/media/common/saa7146/saa7146_video.c if (f->fmt.pix.width > maxw) width 656 drivers/media/common/saa7146/saa7146_video.c f->fmt.pix.width = maxw; width 660 drivers/media/common/saa7146/saa7146_video.c calc_bpl = (f->fmt.pix.width * fmt->depth) / 8; width 670 drivers/media/common/saa7146/saa7146_video.c f->fmt.pix.width, f->fmt.pix.height, width 695 drivers/media/common/saa7146/saa7146_video.c if (win->w.width < 48 || win->w.height < 32) { width 697 drivers/media/common/saa7146/saa7146_video.c win->w.width, win->w.height); width 728 drivers/media/common/saa7146/saa7146_video.c if (win->w.width > maxw) width 729 drivers/media/common/saa7146/saa7146_video.c win->w.width = maxw; width 1051 drivers/media/common/saa7146/saa7146_video.c if (vv->video_fmt.width < 48 || width 1053 drivers/media/common/saa7146/saa7146_video.c vv->video_fmt.width > vv->standard->h_max_out || width 1056 drivers/media/common/saa7146/saa7146_video.c vv->video_fmt.width, vv->video_fmt.height); width 1067 drivers/media/common/saa7146/saa7146_video.c vv->video_fmt.width, vv->video_fmt.height, width 1069 drivers/media/common/saa7146/saa7146_video.c if (buf->vb.width != vv->video_fmt.width || width 1083 drivers/media/common/saa7146/saa7146_video.c buf->vb.width = vv->video_fmt.width; width 94 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.width = tpg->compose.width = w; width 476 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->scaled_width = (tpg->src_width * tpg->compose.width + width 477 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.width - 1) / tpg->crop.width; width 487 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height, width 492 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->src_width = width; width 498 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->scaled_width = width; width 500 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->crop.width = width; width 503 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->compose.width = width; width 506 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->bytesperline[p] = (width * tpg->twopixelsize[p]) / width 1682 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->square.width = sq_w; width 1688 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->square.width = ana_sq_w; width 1690 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->square.left = (w - tpg->square.width) / 2; width 1698 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.width = w; width 1706 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.width = ((4 * h) / 3) & ~1; width 1707 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (((w - tpg->border.width) / 2) & ~1) width 1708 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.width -= 2; width 1709 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.left = (w - tpg->border.width) / 2; width 1722 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.width = ((14 * h) / 9) & ~1; width 1723 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (((w - tpg->border.width) / 2) & ~1) width 1724 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.width -= 2; width 1725 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.left = (w - tpg->border.width) / 2; width 1738 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.width = ((16 * h) / 9) & ~1; width 1739 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (((w - tpg->border.width) / 2) & ~1) width 1740 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.width -= 2; width 1741 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.left = (w - tpg->border.width) / 2; width 1969 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (y + 16 >= tpg->compose.height || x + 8 >= tpg->compose.width) width 1972 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (len > (tpg->compose.width - x) / 8) width 1973 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c len = (tpg->compose.width - x) / 8; width 1977 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c x = tpg->compose.width - x - 8; width 2185 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c pr_info("tpg crop: %ux%u@%dx%d\n", tpg->crop.width, tpg->crop.height, width 2187 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c pr_info("tpg compose: %ux%u@%dx%d\n", tpg->compose.width, tpg->compose.height, width 2253 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (params->wss_width > tpg->crop.width) width 2254 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c params->wss_width = tpg->crop.width; width 2261 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (left_pillar_width > tpg->crop.width) width 2262 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c left_pillar_width = tpg->crop.width; width 2267 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (tpg->crop.left + tpg->crop.width > width 2268 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.left + tpg->border.width) { width 2270 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->border.left + tpg->border.width - tpg->crop.left; width 2316 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c b->left < c->left + c->width) width 2319 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (b->left + b->width > c->left && width 2320 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c b->left + b->width <= c->left + c->width) width 2333 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c sq->left < c->left + c->width && width 2334 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c sq->left + sq->width >= c->left) { width 2336 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned width = sq->width; width 2339 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c width -= c->left - left; width 2342 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (c->left + c->width < left + width) width 2343 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c width -= left + width - c->left - c->width; width 2346 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c width = tpg_hscale_div(tpg, p, width); width 2347 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c memcpy(vbuf + left, tpg->contrast_line[p], width); width 2350 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned offset = tpg_hdiv(tpg, p, tpg->compose.width / 3); width 2365 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned offset = tpg_hdiv(tpg, p, tpg->compose.width * 2 / 3); width 2542 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c params.img_width = tpg_hdiv(tpg, p, tpg->compose.width); width 57 drivers/media/dvb-frontends/stb0899_priv.h #define STB0899_SETFIELD(mask, val, width, offset) (mask & (~(((1 << width) - 1) << \ width 59 drivers/media/dvb-frontends/stb0899_priv.h ((1 << width) - 1)) << offset) width 110 drivers/media/dvb-frontends/stv0900_core.c s32 ge2comp(s32 a, s32 width) width 112 drivers/media/dvb-frontends/stv0900_core.c if (width == 32) width 115 drivers/media/dvb-frontends/stv0900_core.c return (a >= (1 << (width - 1))) ? (a - (1 << width)) : a; width 337 drivers/media/dvb-frontends/stv0900_priv.h extern s32 ge2comp(s32 a, s32 width); width 279 drivers/media/i2c/adv7170.c mf->width = 0; width 317 drivers/media/i2c/adv7175.c mf->width = 0; width 654 drivers/media/i2c/adv7180.c fmt->width = 720; width 436 drivers/media/i2c/adv7183.c fmt->width = 720; width 440 drivers/media/i2c/adv7183.c fmt->width = 720; width 603 drivers/media/i2c/adv7183.c fmt.format.width = 720; width 121 drivers/media/i2c/adv748x/adv748x-afe.c fmt->width = 720; width 102 drivers/media/i2c/adv748x/adv748x-hdmi.c fmt->width = hdmi->timings.bt.width; width 299 drivers/media/i2c/adv748x/adv748x-hdmi.c bt->width = hdmi_read16(state, ADV748X_HDMI_LW1, width 575 drivers/media/i2c/adv748x/adv748x-hdmi.c for (i = 0; stds[i].timings.bt.width; i++) width 1255 drivers/media/i2c/adv7511-v4l2.c format->width = state->dv_timings.bt.width; width 224 drivers/media/i2c/adv7604.c for (i = 0; adv76xx_timings_exceptions[i].bt.width; i++) width 918 drivers/media/i2c/adv7604.c for (i = 0; predef_vid_timings[i].timings.bt.width; i++) { width 983 drivers/media/i2c/adv7604.c u32 width = htotal(bt); width 986 drivers/media/i2c/adv7604.c u16 cp_start_eav = width - bt->hfrontporch; width 990 drivers/media/i2c/adv7604.c ((width * (ADV76XX_FSC / 100)) / ((u32)bt->pixelclock / 100)) : 0; width 992 drivers/media/i2c/adv7604.c 0xc0 | ((width >> 8) & 0x1f), width 993 drivers/media/i2c/adv7604.c width & 0xff width 1370 drivers/media/i2c/adv7604.c for (i = 0; v4l2_dv_timings_presets[i].bt.width; i++) { width 1575 drivers/media/i2c/adv7604.c bt->width == w && bt->height == h) width 1580 drivers/media/i2c/adv7604.c bt->width = w; width 1830 drivers/media/i2c/adv7604.c format->width = state->timings.bt.width; width 1928 drivers/media/i2c/adv7604.c sel->r.width = state->timings.bt.width; width 151 drivers/media/i2c/adv7842.c for (i = 0; adv7842_timings_exceptions[i].bt.width; i++) width 984 drivers/media/i2c/adv7842.c for (i = 0; predef_vid_timings[i].timings.bt.width; i++) { width 1055 drivers/media/i2c/adv7842.c u32 width = htotal(bt); width 1058 drivers/media/i2c/adv7842.c u16 cp_start_eav = width - bt->hfrontporch; width 1062 drivers/media/i2c/adv7842.c ((width * (ADV7842_fsc / 100)) / ((u32)bt->pixelclock / 100)) : 0; width 1064 drivers/media/i2c/adv7842.c 0xc0 | ((width >> 8) & 0x1f), width 1065 drivers/media/i2c/adv7842.c width & 0xff width 1424 drivers/media/i2c/adv7842.c for (i = 0; v4l2_dv_timings_presets[i].bt.width; i++) { width 1564 drivers/media/i2c/adv7842.c bt->width = (hdmi_read(sd, 0x07) & 0x0f) * 256 + hdmi_read(sd, 0x08); width 2012 drivers/media/i2c/adv7842.c format->width = state->timings.bt.width; width 2087 drivers/media/i2c/adv7842.c format->format.width = 720; width 104 drivers/media/i2c/ak881x.c v4l_bound_align_image(&mf->width, 0, 720, 2, width 138 drivers/media/i2c/ak881x.c sel->r.width = 720; width 1809 drivers/media/i2c/cx25840/cx25840-core.c fmt->width = clamp(fmt->width, (h_src + 15) / 16, h_src); width 1820 drivers/media/i2c/cx25840/cx25840-core.c hsc = (h_src * (1 << 20)) / fmt->width - (1 << 20); width 1824 drivers/media/i2c/cx25840/cx25840-core.c if (fmt->width >= 385) width 1826 drivers/media/i2c/cx25840/cx25840-core.c else if (fmt->width > 192) width 1828 drivers/media/i2c/cx25840/cx25840-core.c else if (fmt->width > 96) width 1835 drivers/media/i2c/cx25840/cx25840-core.c (unsigned int)fmt->width, (unsigned int)fmt->height, width 397 drivers/media/i2c/et8ek8/et8ek8_driver.c fmt->width = reglist->mode.window_width; width 431 drivers/media/i2c/et8ek8/et8ek8_driver.c dist = min(fmt->width, format.width) width 433 drivers/media/i2c/et8ek8/et8ek8_driver.c dist = format.width * format.height width 434 drivers/media/i2c/et8ek8/et8ek8_driver.c + fmt->width * fmt->height - 2 * dist; width 739 drivers/media/i2c/et8ek8/et8ek8_driver.c pixel_rate = ((mode->pixel_clock + (1 << S) - 1) >> S) + mode->width; width 740 drivers/media/i2c/et8ek8/et8ek8_driver.c pixel_rate = mode->window_width * (pixel_rate - 1) / mode->width; width 942 drivers/media/i2c/et8ek8/et8ek8_driver.c if (format.width == cmp_width && format.height == cmp_height) width 945 drivers/media/i2c/et8ek8/et8ek8_driver.c cmp_width = format.width; width 949 drivers/media/i2c/et8ek8/et8ek8_driver.c fse->min_width = format.width; width 951 drivers/media/i2c/et8ek8/et8ek8_driver.c fse->max_width = format.width; width 979 drivers/media/i2c/et8ek8/et8ek8_driver.c if (fie->width != format.width || fie->height != format.height) width 40 drivers/media/i2c/et8ek8/et8ek8_mode.c .width = 3288, width 141 drivers/media/i2c/et8ek8/et8ek8_mode.c .width = 3072, width 197 drivers/media/i2c/et8ek8/et8ek8_mode.c .width = 3192, width 253 drivers/media/i2c/et8ek8/et8ek8_mode.c .width = 3984, width 309 drivers/media/i2c/et8ek8/et8ek8_mode.c .width = 5304, width 365 drivers/media/i2c/et8ek8/et8ek8_mode.c .width = 3288, width 420 drivers/media/i2c/et8ek8/et8ek8_mode.c .width = 5304, width 476 drivers/media/i2c/et8ek8/et8ek8_mode.c .width = 3288, width 532 drivers/media/i2c/et8ek8/et8ek8_mode.c .width = 3192, width 32 drivers/media/i2c/et8ek8/et8ek8_reg.h u16 width; width 410 drivers/media/i2c/imx214.c u32 width; width 415 drivers/media/i2c/imx214.c .width = 4096, width 420 drivers/media/i2c/imx214.c .width = 1920, width 497 drivers/media/i2c/imx214.c fse->min_width = fse->max_width = imx214_modes[fse->index].width; width 592 drivers/media/i2c/imx214.c ARRAY_SIZE(imx214_modes), width, height, width 593 drivers/media/i2c/imx214.c format->format.width, width 596 drivers/media/i2c/imx214.c __crop->width = mode->width; width 601 drivers/media/i2c/imx214.c __format->width = __crop->width; width 640 drivers/media/i2c/imx214.c fmt.format.width = imx214_modes[0].width; width 732 drivers/media/i2c/imx214.c ARRAY_SIZE(imx214_modes), width, height, width 733 drivers/media/i2c/imx214.c imx214->fmt.width, imx214->fmt.height); width 822 drivers/media/i2c/imx214.c ARRAY_SIZE(imx214_modes), width, height, width 823 drivers/media/i2c/imx214.c fie->width, fie->height); width 826 drivers/media/i2c/imx214.c fie->width = mode->width; width 92 drivers/media/i2c/imx258.c u32 width; width 556 drivers/media/i2c/imx258.c .width = 4208, width 567 drivers/media/i2c/imx258.c .width = 2104, width 578 drivers/media/i2c/imx258.c .width = 1048, width 701 drivers/media/i2c/imx258.c try_fmt->width = supported_modes[0].width; width 814 drivers/media/i2c/imx258.c fse->min_width = supported_modes[fse->index].width; width 825 drivers/media/i2c/imx258.c fmt->format.width = mode->width; width 877 drivers/media/i2c/imx258.c ARRAY_SIZE(supported_modes), width, height, width 878 drivers/media/i2c/imx258.c fmt->format.width, fmt->format.height); width 902 drivers/media/i2c/imx258.c - imx258->cur_mode->width; width 1146 drivers/media/i2c/imx258.c IMX258_PPL_DEFAULT - imx258->cur_mode->width, width 1147 drivers/media/i2c/imx258.c IMX258_PPL_DEFAULT - imx258->cur_mode->width, width 1149 drivers/media/i2c/imx258.c IMX258_PPL_DEFAULT - imx258->cur_mode->width); width 875 drivers/media/i2c/imx274.c u32 *width, width 899 drivers/media/i2c/imx274.c cur_crop->width / ratio, *width, width 909 drivers/media/i2c/imx274.c *width = cur_crop->width / best_mode->bin_ratio; width 918 drivers/media/i2c/imx274.c tgt_fmt->width = *width; width 968 drivers/media/i2c/imx274.c &fmt->width, &fmt->height, 0); width 1005 drivers/media/i2c/imx274.c sel->r.width = IMX274_MAX_WIDTH; width 1027 drivers/media/i2c/imx274.c sel->r.width = src_crop->width; width 1033 drivers/media/i2c/imx274.c sel->r.width = src_fmt->width; width 1061 drivers/media/i2c/imx274.c new_crop.width = min_t(u32, width 1062 drivers/media/i2c/imx274.c IMX274_ROUND(sel->r.width, h_step, sel->flags), width 1066 drivers/media/i2c/imx274.c if (new_crop.width < 144) width 1067 drivers/media/i2c/imx274.c new_crop.width = 144; width 1071 drivers/media/i2c/imx274.c IMX274_MAX_WIDTH - new_crop.width); width 1089 drivers/media/i2c/imx274.c size_changed = (new_crop.width != tgt_crop->width || width 1098 drivers/media/i2c/imx274.c &new_crop.width, &new_crop.height, width 1123 drivers/media/i2c/imx274.c &sel->r.width, &sel->r.height, width 1154 drivers/media/i2c/imx274.c h_end = h_start + imx274->crop.width; width 1159 drivers/media/i2c/imx274.c hmax = max_t(u32, 260, (imx274->crop.width) / 16 + 23); width 1839 drivers/media/i2c/imx274.c imx274->crop.width = IMX274_MAX_WIDTH; width 1841 drivers/media/i2c/imx274.c imx274->format.width = imx274->crop.width / imx274->mode->bin_ratio; width 90 drivers/media/i2c/imx319.c u32 width; width 1665 drivers/media/i2c/imx319.c .width = 3280, width 1677 drivers/media/i2c/imx319.c .width = 3264, width 1689 drivers/media/i2c/imx319.c .width = 1936, width 1701 drivers/media/i2c/imx319.c .width = 1920, width 1713 drivers/media/i2c/imx319.c .width = 1640, width 1725 drivers/media/i2c/imx319.c .width = 1640, width 1737 drivers/media/i2c/imx319.c .width = 1296, width 1749 drivers/media/i2c/imx319.c .width = 1280, width 1868 drivers/media/i2c/imx319.c try_fmt->width = imx319->cur_mode->width; width 1981 drivers/media/i2c/imx319.c fse->min_width = supported_modes[fse->index].width; width 1993 drivers/media/i2c/imx319.c fmt->format.width = mode->width; width 2054 drivers/media/i2c/imx319.c width, height, width 2055 drivers/media/i2c/imx319.c fmt->format.width, fmt->format.height); width 2073 drivers/media/i2c/imx319.c h_blank = mode->llp - imx319->cur_mode->width; width 2307 drivers/media/i2c/imx319.c hblank = mode->llp - mode->width; width 76 drivers/media/i2c/imx355.c u32 width; width 893 drivers/media/i2c/imx355.c .width = 3280, width 905 drivers/media/i2c/imx355.c .width = 3268, width 917 drivers/media/i2c/imx355.c .width = 3264, width 929 drivers/media/i2c/imx355.c .width = 1940, width 941 drivers/media/i2c/imx355.c .width = 1936, width 953 drivers/media/i2c/imx355.c .width = 1924, width 965 drivers/media/i2c/imx355.c .width = 1920, width 977 drivers/media/i2c/imx355.c .width = 1640, width 989 drivers/media/i2c/imx355.c .width = 1640, width 1001 drivers/media/i2c/imx355.c .width = 1300, width 1013 drivers/media/i2c/imx355.c .width = 1296, width 1025 drivers/media/i2c/imx355.c .width = 1284, width 1037 drivers/media/i2c/imx355.c .width = 1280, width 1049 drivers/media/i2c/imx355.c .width = 820, width 1169 drivers/media/i2c/imx355.c try_fmt->width = imx355->cur_mode->width; width 1282 drivers/media/i2c/imx355.c fse->min_width = supported_modes[fse->index].width; width 1294 drivers/media/i2c/imx355.c fmt->format.width = mode->width; width 1355 drivers/media/i2c/imx355.c width, height, width 1356 drivers/media/i2c/imx355.c fmt->format.width, fmt->format.height); width 1374 drivers/media/i2c/imx355.c h_blank = mode->llp - imx355->cur_mode->width; width 1607 drivers/media/i2c/imx355.c hblank = mode->llp - mode->width; width 44 drivers/media/i2c/m5mols/m5mols.h u16 width; width 54 drivers/media/i2c/m5mols/m5mols_core.c .width = 1920, width 61 drivers/media/i2c/m5mols/m5mols_core.c .width = 1920, width 520 drivers/media/i2c/m5mols/m5mols_core.c err = abs(fsize->width - mf->width) width 531 drivers/media/i2c/m5mols/m5mols_core.c mf->width = match->width; width 640 drivers/media/i2c/m5mols/m5mols_core.c mf->width * mf->height, width 216 drivers/media/i2c/ml86v7667.c fmt->width = 720; width 200 drivers/media/i2c/mt9m001.c { MT9M001_WINDOW_WIDTH, mt9m001->rect.width - 1 }, width 275 drivers/media/i2c/mt9m001.c rect.width = ALIGN(rect.width, 2); width 278 drivers/media/i2c/mt9m001.c rect.width = clamp_t(u32, rect.width, MT9M001_MIN_WIDTH, width 281 drivers/media/i2c/mt9m001.c MT9M001_COLUMN_SKIP + MT9M001_MAX_WIDTH - rect.width); width 310 drivers/media/i2c/mt9m001.c sel->r.width = MT9M001_MAX_WIDTH; width 338 drivers/media/i2c/mt9m001.c mf->width = mt9m001->rect.width; width 361 drivers/media/i2c/mt9m001.c .r.width = mf->width, width 369 drivers/media/i2c/mt9m001.c mf->width = mt9m001->rect.width; width 390 drivers/media/i2c/mt9m001.c v4l_bound_align_image(&mf->width, MT9M001_MIN_WIDTH, width 666 drivers/media/i2c/mt9m001.c try_fmt->width = MT9M001_MAX_WIDTH; width 790 drivers/media/i2c/mt9m001.c mt9m001->rect.width = MT9M001_MAX_WIDTH; width 168 drivers/media/i2c/mt9m032.c static u32 mt9m032_row_time(struct mt9m032 *sensor, unsigned int width) width 173 drivers/media/i2c/mt9m032.c effective_width = width + 716; /* empirical value */ width 191 drivers/media/i2c/mt9m032.c row_time = mt9m032_row_time(sensor, crop->width); width 221 drivers/media/i2c/mt9m032.c sensor->crop.width - 1); width 455 drivers/media/i2c/mt9m032.c rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), width 460 drivers/media/i2c/mt9m032.c rect.width = min_t(unsigned int, rect.width, width 467 drivers/media/i2c/mt9m032.c if (rect.width != __crop->width || rect.height != __crop->height) { width 472 drivers/media/i2c/mt9m032.c format->width = rect.width; width 750 drivers/media/i2c/mt9m032.c sensor->crop.width = MT9M032_COLUMN_SIZE_DEF; width 753 drivers/media/i2c/mt9m032.c sensor->format.width = sensor->crop.width; width 236 drivers/media/i2c/mt9m111.c unsigned int width; /* output */ width 385 drivers/media/i2c/mt9m111.c unsigned int width, unsigned int height) width 388 drivers/media/i2c/mt9m111.c int ret = mt9m111_reg_write(client, ctx->reducer_xzoom, rect->width); width 392 drivers/media/i2c/mt9m111.c ret = mt9m111_reg_write(client, ctx->reducer_xsize, width); width 399 drivers/media/i2c/mt9m111.c int width, int height, u32 code) width 409 drivers/media/i2c/mt9m111.c ret = reg_write(WINDOW_WIDTH, rect->width); width 417 drivers/media/i2c/mt9m111.c rect, width, height); width 420 drivers/media/i2c/mt9m111.c rect, width, height); width 424 drivers/media/i2c/mt9m111.c __func__, code, rect->width, rect->height, rect->left, rect->top, width 425 drivers/media/i2c/mt9m111.c width, height, ret); width 458 drivers/media/i2c/mt9m111.c int width, height; width 473 drivers/media/i2c/mt9m111.c v4l_bound_align_image(&rect.width, 2, MT9M111_MAX_WIDTH, align, width 477 drivers/media/i2c/mt9m111.c (__s32)rect.width); width 482 drivers/media/i2c/mt9m111.c width = min(mt9m111->width, rect.width); width 485 drivers/media/i2c/mt9m111.c ret = mt9m111_setup_geometry(mt9m111, &rect, width, height, mt9m111->fmt->code); width 488 drivers/media/i2c/mt9m111.c mt9m111->width = width; width 509 drivers/media/i2c/mt9m111.c sel->r.width = MT9M111_MAX_WIDTH; width 540 drivers/media/i2c/mt9m111.c mf->width = mt9m111->width; width 654 drivers/media/i2c/mt9m111.c rect->width = ALIGN(rect->width, 2); width 660 drivers/media/i2c/mt9m111.c mf->width = rect->width; width 664 drivers/media/i2c/mt9m111.c if (mf->width > rect->width) width 665 drivers/media/i2c/mt9m111.c mf->width = rect->width; width 671 drivers/media/i2c/mt9m111.c mf->width, mf->height, fmt->code); width 685 drivers/media/i2c/mt9m111.c ret = mt9m111_setup_geometry(mt9m111, rect, mf->width, mf->height, mf->code); width 689 drivers/media/i2c/mt9m111.c mt9m111->width = mf->width; width 699 drivers/media/i2c/mt9m111.c unsigned int width, unsigned int height) width 712 drivers/media/i2c/mt9m111.c if (sensor_rect->width != MT9M111_MAX_WIDTH || width 721 drivers/media/i2c/mt9m111.c if (width > MT9M111_MAX_WIDTH / 2 || height > MT9M111_MAX_HEIGHT / 2) { width 942 drivers/media/i2c/mt9m111.c mt9m111->width, mt9m111->height, mt9m111->fmt->code); width 1087 drivers/media/i2c/mt9m111.c mode = mt9m111_find_mode(mt9m111, fps, mt9m111->width, mt9m111->height); width 1128 drivers/media/i2c/mt9m111.c format->width = MT9M111_MAX_WIDTH; width 1331 drivers/media/i2c/mt9m111.c mt9m111->rect.width = MT9M111_MAX_WIDTH; width 1333 drivers/media/i2c/mt9m111.c mt9m111->width = mt9m111->rect.width; width 405 drivers/media/i2c/mt9p031.c ret = mt9p031_write(client, MT9P031_WINDOW_WIDTH, crop->width - 1); width 415 drivers/media/i2c/mt9p031.c xskip = DIV_ROUND_CLOSEST(crop->width, format->width); width 550 drivers/media/i2c/mt9p031.c unsigned int width; width 559 drivers/media/i2c/mt9p031.c width = clamp_t(unsigned int, ALIGN(format->format.width, 2), width 560 drivers/media/i2c/mt9p031.c max_t(unsigned int, __crop->width / 7, width 562 drivers/media/i2c/mt9p031.c __crop->width); width 568 drivers/media/i2c/mt9p031.c hratio = DIV_ROUND_CLOSEST(__crop->width, width); width 573 drivers/media/i2c/mt9p031.c __format->width = __crop->width / hratio; width 613 drivers/media/i2c/mt9p031.c rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), width 620 drivers/media/i2c/mt9p031.c rect.width = min_t(unsigned int, rect.width, width 627 drivers/media/i2c/mt9p031.c if (rect.width != __crop->width || rect.height != __crop->height) { width 633 drivers/media/i2c/mt9p031.c __format->width = rect.width; width 949 drivers/media/i2c/mt9p031.c crop->width = MT9P031_WINDOW_WIDTH_DEF; width 959 drivers/media/i2c/mt9p031.c format->width = MT9P031_WINDOW_WIDTH_DEF; width 1119 drivers/media/i2c/mt9p031.c mt9p031->crop.width = MT9P031_WINDOW_WIDTH_DEF; width 1129 drivers/media/i2c/mt9p031.c mt9p031->format.width = MT9P031_WINDOW_WIDTH_DEF; width 306 drivers/media/i2c/mt9t001.c hratio = DIV_ROUND_CLOSEST(crop->width, format->width); width 325 drivers/media/i2c/mt9t001.c ret = mt9t001_write(client, MT9T001_WINDOW_WIDTH, crop->width - 1); width 381 drivers/media/i2c/mt9t001.c unsigned int width; width 390 drivers/media/i2c/mt9t001.c width = clamp_t(unsigned int, ALIGN(format->format.width, 2), width 391 drivers/media/i2c/mt9t001.c max_t(unsigned int, __crop->width / 8, width 393 drivers/media/i2c/mt9t001.c __crop->width); width 399 drivers/media/i2c/mt9t001.c hratio = DIV_ROUND_CLOSEST(__crop->width, width); width 404 drivers/media/i2c/mt9t001.c __format->width = __crop->width / hratio; width 446 drivers/media/i2c/mt9t001.c rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), width 453 drivers/media/i2c/mt9t001.c rect.width = min_t(unsigned int, rect.width, width 460 drivers/media/i2c/mt9t001.c if (rect.width != __crop->width || rect.height != __crop->height) { width 466 drivers/media/i2c/mt9t001.c __format->width = rect.width; width 804 drivers/media/i2c/mt9t001.c crop->width = MT9T001_WINDOW_WIDTH_DEF + 1; width 809 drivers/media/i2c/mt9t001.c format->width = MT9T001_WINDOW_WIDTH_DEF + 1; width 930 drivers/media/i2c/mt9t001.c mt9t001->crop.width = MT9T001_WINDOW_WIDTH_DEF + 1; width 934 drivers/media/i2c/mt9t001.c mt9t001->format.width = MT9T001_WINDOW_WIDTH_DEF + 1; width 343 drivers/media/i2c/mt9t112.c u16 width, u16 height) width 346 drivers/media/i2c/mt9t112.c u16 wstart = (MAX_WIDTH - width) / 2; width 350 drivers/media/i2c/mt9t112.c mt9t112_mcu_write(ret, client, VAR(26, 0), width); width 354 drivers/media/i2c/mt9t112.c mt9t112_mcu_write(ret, client, VAR(18, 43), 8 + width); width 363 drivers/media/i2c/mt9t112.c mt9t112_mcu_write(ret, client, VAR(18, 8), 11 + width + wstart); width 831 drivers/media/i2c/mt9t112.c mt9t112_set_a_frame_size(client, priv->frame.width, priv->frame.height); width 837 drivers/media/i2c/mt9t112.c priv->frame.width, width 866 drivers/media/i2c/mt9t112.c v4l_bound_align_image(&priv->frame.width, 0, MAX_WIDTH, 0, width 888 drivers/media/i2c/mt9t112.c sel->r.width = MAX_WIDTH; width 925 drivers/media/i2c/mt9t112.c mf->width = priv->frame.width; width 940 drivers/media/i2c/mt9t112.c .width = mf->width, width 978 drivers/media/i2c/mt9t112.c v4l_bound_align_image(&mf->width, 0, MAX_WIDTH, 0, width 56 drivers/media/i2c/mt9v011.c unsigned width, height; width 204 drivers/media/i2c/mt9v011.c unsigned height, width, hblank, vblank, speed; width 210 drivers/media/i2c/mt9v011.c width = mt9v011_read(sd, R04_MT9V011_WIDTH); width 215 drivers/media/i2c/mt9v011.c row_time = (width + 113 + hblank) * (speed + 2); width 234 drivers/media/i2c/mt9v011.c unsigned height, width, hblank, vblank; width 243 drivers/media/i2c/mt9v011.c width = mt9v011_read(sd, R04_MT9V011_WIDTH); width 247 drivers/media/i2c/mt9v011.c row_time = width + 113 + hblank; width 287 drivers/media/i2c/mt9v011.c hstart = 20 + (640 - core->width) / 2; width 289 drivers/media/i2c/mt9v011.c mt9v011_write(sd, R04_MT9V011_WIDTH, core->width); width 290 drivers/media/i2c/mt9v011.c mt9v011_write(sd, R05_MT9V011_HBLANK, 771 - core->width); width 350 drivers/media/i2c/mt9v011.c v4l_bound_align_image(&fmt->width, 48, 639, 1, width 356 drivers/media/i2c/mt9v011.c core->width = fmt->width; width 546 drivers/media/i2c/mt9v011.c core->width = 640; width 254 drivers/media/i2c/mt9v032.c min_hblank = max_t(int, mt9v032->model->data->min_row_time - crop->width, width 411 drivers/media/i2c/mt9v032.c ret = regmap_write(map, MT9V032_WINDOW_WIDTH, crop->width); width 501 drivers/media/i2c/mt9v032.c unsigned int width; width 510 drivers/media/i2c/mt9v032.c width = clamp(ALIGN(format->format.width, 2), width 511 drivers/media/i2c/mt9v032.c max_t(unsigned int, __crop->width / 4, width 513 drivers/media/i2c/mt9v032.c __crop->width); width 519 drivers/media/i2c/mt9v032.c hratio = mt9v032_calc_ratio(__crop->width, width); width 524 drivers/media/i2c/mt9v032.c __format->width = __crop->width / hratio; width 572 drivers/media/i2c/mt9v032.c rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), width 579 drivers/media/i2c/mt9v032.c rect.width = min_t(unsigned int, width 580 drivers/media/i2c/mt9v032.c rect.width, MT9V032_PIXEL_ARRAY_WIDTH - rect.left); width 586 drivers/media/i2c/mt9v032.c if (rect.width != __crop->width || rect.height != __crop->height) { width 592 drivers/media/i2c/mt9v032.c __format->width = rect.width; width 928 drivers/media/i2c/mt9v032.c crop->width = MT9V032_WINDOW_WIDTH_DEF; width 938 drivers/media/i2c/mt9v032.c format->width = MT9V032_WINDOW_WIDTH_DEF; width 1144 drivers/media/i2c/mt9v032.c mt9v032->crop.width = MT9V032_WINDOW_WIDTH_DEF; width 1152 drivers/media/i2c/mt9v032.c mt9v032->format.width = MT9V032_WINDOW_WIDTH_DEF; width 107 drivers/media/i2c/mt9v111.c .width = 640, width 197 drivers/media/i2c/mt9v111.c .width = 640, width 201 drivers/media/i2c/mt9v111.c .width = 352, width 205 drivers/media/i2c/mt9v111.c .width = 320, width 209 drivers/media/i2c/mt9v111.c .width = 176, width 213 drivers/media/i2c/mt9v111.c .width = 160, width 620 drivers/media/i2c/mt9v111.c mt9v111->fmt.width); width 750 drivers/media/i2c/mt9v111.c if (mt9v111->fmt.width < QVGA_WIDTH && width 753 drivers/media/i2c/mt9v111.c else if (mt9v111->fmt.width < CIF_WIDTH && width 834 drivers/media/i2c/mt9v111.c if (fie->width == mt9v111_frame_sizes[i].width && width 854 drivers/media/i2c/mt9v111.c fse->min_width = mt9v111_frame_sizes[fse->index].width; width 855 drivers/media/i2c/mt9v111.c fse->max_width = mt9v111_frame_sizes[fse->index].width; width 912 drivers/media/i2c/mt9v111.c unsigned int fit = abs(mt9v111_frame_sizes[i].width - width 913 drivers/media/i2c/mt9v111.c format->format.width) + width 924 drivers/media/i2c/mt9v111.c new_fmt.width = mt9v111_frame_sizes[idx].width; width 933 drivers/media/i2c/mt9v111.c __fmt->width == new_fmt.width && width 939 drivers/media/i2c/mt9v111.c __fmt->width = new_fmt.width; width 946 drivers/media/i2c/mt9v111.c __func__, __fmt->code, __fmt->width, __fmt->height); width 117 drivers/media/i2c/noon010pc30.c u16 width; width 157 drivers/media/i2c/noon010pc30.c .width = 352, width 161 drivers/media/i2c/noon010pc30.c .width = 176, width 165 drivers/media/i2c/noon010pc30.c .width = 88, width 367 drivers/media/i2c/noon010pc30.c int err = abs(fsize->width - mf->width) width 377 drivers/media/i2c/noon010pc30.c mf->width = match->width; width 518 drivers/media/i2c/noon010pc30.c mf->width = info->curr_win->width; width 642 drivers/media/i2c/noon010pc30.c mf->width = noon010_sizes[0].width; width 105 drivers/media/i2c/ov13858.c u32 width; width 983 drivers/media/i2c/ov13858.c .width = 4224, width 994 drivers/media/i2c/ov13858.c .width = 2112, width 1005 drivers/media/i2c/ov13858.c .width = 2112, width 1016 drivers/media/i2c/ov13858.c .width = 1056, width 1158 drivers/media/i2c/ov13858.c try_fmt->width = ov13858->cur_mode->width; width 1299 drivers/media/i2c/ov13858.c fse->min_width = supported_modes[fse->index].width; width 1310 drivers/media/i2c/ov13858.c fmt->format.width = mode->width; width 1369 drivers/media/i2c/ov13858.c width, height, width 1370 drivers/media/i2c/ov13858.c fmt->format.width, fmt->format.height); width 1394 drivers/media/i2c/ov13858.c - ov13858->cur_mode->width; width 1635 drivers/media/i2c/ov13858.c mode->width; width 290 drivers/media/i2c/ov2640.c u32 width; width 577 drivers/media/i2c/ov2640.c {.name = n, .width = w , .height = h, .regs = r } width 822 drivers/media/i2c/ov2640.c static const struct ov2640_win_size *ov2640_select_win(u32 width, u32 height) width 827 drivers/media/i2c/ov2640.c if (ov2640_supported_win_sizes[i].width >= width && width 936 drivers/media/i2c/ov2640.c mf->width = priv->win->width; width 964 drivers/media/i2c/ov2640.c win = ov2640_select_win(mf->width, mf->height); width 965 drivers/media/i2c/ov2640.c mf->width = win->width; width 1016 drivers/media/i2c/ov2640.c try_fmt->width = win->width; width 1051 drivers/media/i2c/ov2640.c sel->r.width = UXGA_WIDTH; width 198 drivers/media/i2c/ov2659.c u16 width; width 759 drivers/media/i2c/ov2659.c .width = 320, width 764 drivers/media/i2c/ov2659.c .width = 640, width 769 drivers/media/i2c/ov2659.c .width = 800, width 774 drivers/media/i2c/ov2659.c .width = 1024, width 779 drivers/media/i2c/ov2659.c .width = 1280, width 784 drivers/media/i2c/ov2659.c .width = 1280, width 789 drivers/media/i2c/ov2659.c .width = 1600, width 969 drivers/media/i2c/ov2659.c format->width = ov2659_framesizes[2].width; width 1035 drivers/media/i2c/ov2659.c fse->min_width = ov2659_framesizes[fse->index].width; width 1071 drivers/media/i2c/ov2659.c ov2659->format.code, ov2659->format.width, width 1086 drivers/media/i2c/ov2659.c int err = abs(fsize->width - mf->width) width 1098 drivers/media/i2c/ov2659.c mf->width = match->width; width 80 drivers/media/i2c/ov2680.c u32 width; width 715 drivers/media/i2c/ov2680.c ARRAY_SIZE(ov2680_mode_data), width, width 716 drivers/media/i2c/ov2680.c height, fmt->width, fmt->height); width 730 drivers/media/i2c/ov2680.c fmt->width = mode->width; width 752 drivers/media/i2c/ov2680.c .width = 800, width 769 drivers/media/i2c/ov2680.c fse->min_width = ov2680_mode_data[index].width; width 771 drivers/media/i2c/ov2680.c fse->max_width = ov2680_mode_data[index].width; width 783 drivers/media/i2c/ov2680.c if (fie->index >= OV2680_MODE_MAX || fie->width > OV2680_WIDTH_MAX || width 901 drivers/media/i2c/ov2680.c sensor->fmt.width = 800; width 75 drivers/media/i2c/ov2685.c u32 width; width 235 drivers/media/i2c/ov2685.c .width = 1600, width 325 drivers/media/i2c/ov2685.c fmt->width = mode->width; width 378 drivers/media/i2c/ov2685.c fse->min_width = supported_modes[index].width; width 379 drivers/media/i2c/ov2685.c fse->max_width = supported_modes[index].width; width 638 drivers/media/i2c/ov2685.c h_blank = mode->hts_def - mode->width; width 1596 drivers/media/i2c/ov5640.c int width, int height, bool nearest) width 1603 drivers/media/i2c/ov5640.c width, height); width 1606 drivers/media/i2c/ov5640.c (!nearest && (mode->hact != width || mode->vact != height))) width 2106 drivers/media/i2c/ov5640.c u32 width, u32 height) width 2140 drivers/media/i2c/ov5640.c mode = ov5640_find_mode(sensor, rate, width, height, false); width 2178 drivers/media/i2c/ov5640.c mode = ov5640_find_mode(sensor, fr, fmt->width, fmt->height, true); width 2181 drivers/media/i2c/ov5640.c fmt->width = mode->hact; width 2764 drivers/media/i2c/ov5640.c fie->width, fie->height); width 2969 drivers/media/i2c/ov5640.c fmt->width = 640; width 79 drivers/media/i2c/ov5645.c u32 width; width 519 drivers/media/i2c/ov5645.c .width = 1280, width 527 drivers/media/i2c/ov5645.c .width = 1920, width 535 drivers/media/i2c/ov5645.c .width = 2592, width 861 drivers/media/i2c/ov5645.c fse->min_width = ov5645_mode_info_data[fse->index].width; width 862 drivers/media/i2c/ov5645.c fse->max_width = ov5645_mode_info_data[fse->index].width; width 925 drivers/media/i2c/ov5645.c width, height, width 926 drivers/media/i2c/ov5645.c format->format.width, format->format.height); width 928 drivers/media/i2c/ov5645.c __crop->width = new_mode->width; width 947 drivers/media/i2c/ov5645.c __format->width = __crop->width; width 964 drivers/media/i2c/ov5645.c fmt.format.width = 1920; width 997 drivers/media/i2c/ov5645.c ov5645->current_mode->width, width 85 drivers/media/i2c/ov5647.c unsigned int width; width 516 drivers/media/i2c/ov5647.c crop->width = OV5647_WINDOW_WIDTH_DEF; width 521 drivers/media/i2c/ov5647.c format->width = OV5647_WINDOW_WIDTH_DEF; width 86 drivers/media/i2c/ov5670.c u32 width; width 1747 drivers/media/i2c/ov5670.c .width = 2592, width 1758 drivers/media/i2c/ov5670.c .width = 1296, width 1769 drivers/media/i2c/ov5670.c .width = 648, width 1780 drivers/media/i2c/ov5670.c .width = 2560, width 1791 drivers/media/i2c/ov5670.c .width = 1280, width 1802 drivers/media/i2c/ov5670.c .width = 640, width 1944 drivers/media/i2c/ov5670.c try_fmt->width = ov5670->cur_mode->width; width 2098 drivers/media/i2c/ov5670.c OV5670_FIXED_PPL - ov5670->cur_mode->width, width 2099 drivers/media/i2c/ov5670.c OV5670_FIXED_PPL - ov5670->cur_mode->width, 1, width 2100 drivers/media/i2c/ov5670.c OV5670_FIXED_PPL - ov5670->cur_mode->width); width 2165 drivers/media/i2c/ov5670.c fse->min_width = supported_modes[fse->index].width; width 2176 drivers/media/i2c/ov5670.c fmt->format.width = mode->width; width 2224 drivers/media/i2c/ov5670.c width, height, width 2225 drivers/media/i2c/ov5670.c fmt->format.width, fmt->format.height); width 2244 drivers/media/i2c/ov5670.c h_blank = OV5670_FIXED_PPL - ov5670->cur_mode->width; width 88 drivers/media/i2c/ov5675.c u32 width; width 447 drivers/media/i2c/ov5675.c .width = 2592, width 459 drivers/media/i2c/ov5675.c .width = 1296, width 701 drivers/media/i2c/ov5675.c ov5675->cur_mode->link_freq_index) - ov5675->cur_mode->width; width 736 drivers/media/i2c/ov5675.c fmt->width = mode->width; width 868 drivers/media/i2c/ov5675.c ARRAY_SIZE(supported_modes), width, width 869 drivers/media/i2c/ov5675.c height, fmt->format.width, width 890 drivers/media/i2c/ov5675.c mode->width; width 940 drivers/media/i2c/ov5675.c fse->min_width = supported_modes[fse->index].width; width 86 drivers/media/i2c/ov5695.c u32 width; width 645 drivers/media/i2c/ov5695.c .width = 2592, width 654 drivers/media/i2c/ov5695.c .width = 1920, width 663 drivers/media/i2c/ov5695.c .width = 1296, width 672 drivers/media/i2c/ov5695.c .width = 1280, width 681 drivers/media/i2c/ov5695.c .width = 640, width 784 drivers/media/i2c/ov5695.c return abs(mode->width - framefmt->width) + width 820 drivers/media/i2c/ov5695.c fmt->format.width = mode->width; width 829 drivers/media/i2c/ov5695.c h_blank = mode->hts_def - mode->width; width 859 drivers/media/i2c/ov5695.c fmt->format.width = mode->width; width 890 drivers/media/i2c/ov5695.c fse->min_width = supported_modes[fse->index].width; width 891 drivers/media/i2c/ov5695.c fse->max_width = supported_modes[fse->index].width; width 1064 drivers/media/i2c/ov5695.c try_fmt->width = def_mode->width; width 1191 drivers/media/i2c/ov5695.c h_blank = mode->hts_def - mode->width; width 217 drivers/media/i2c/ov6650.c .width = W_CIF, width 462 drivers/media/i2c/ov6650.c sel->r.width = W_CIF; width 485 drivers/media/i2c/ov6650.c v4l_bound_align_image(&sel->r.width, 2, W_CIF, 1, width 488 drivers/media/i2c/ov6650.c (DEF_HSTRT << 1) + W_CIF - (__s32)sel->r.width, 1, width 495 drivers/media/i2c/ov6650.c priv->rect.width += priv->rect.left - sel->r.left; width 498 drivers/media/i2c/ov6650.c (sel->r.left + sel->r.width) >> 1); width 501 drivers/media/i2c/ov6650.c priv->rect.width = sel->r.width; width 532 drivers/media/i2c/ov6650.c mf->width = cfg->try_fmt.width; width 537 drivers/media/i2c/ov6650.c mf->width = priv->rect.width >> priv->half_scale; width 544 drivers/media/i2c/ov6650.c static bool is_unscaled_ok(int width, int height, struct v4l2_rect *rect) width 546 drivers/media/i2c/ov6650.c return width > rect->width >> 1 || height > rect->height >> 1; width 571 drivers/media/i2c/ov6650.c bool half_scale = !is_unscaled_ok(mf->width, mf->height, &priv->rect); width 575 drivers/media/i2c/ov6650.c .r.left = priv->rect.left + (priv->rect.width >> 1) - width 576 drivers/media/i2c/ov6650.c (mf->width >> (1 - half_scale)), width 579 drivers/media/i2c/ov6650.c .r.width = mf->width << half_scale, width 692 drivers/media/i2c/ov6650.c if (is_unscaled_ok(mf->width, mf->height, &priv->rect)) width 693 drivers/media/i2c/ov6650.c v4l_bound_align_image(&mf->width, 2, W_CIF, 1, width 715 drivers/media/i2c/ov6650.c cfg->try_fmt.width = mf->width; width 721 drivers/media/i2c/ov6650.c mf->width = cfg->try_fmt.width; width 734 drivers/media/i2c/ov6650.c mf->width = priv->rect.width >> priv->half_scale; width 1037 drivers/media/i2c/ov6650.c priv->rect.width = W_CIF; width 51 drivers/media/i2c/ov7251.c u32 width; width 527 drivers/media/i2c/ov7251.c .width = 640, width 541 drivers/media/i2c/ov7251.c .width = 640, width 555 drivers/media/i2c/ov7251.c .width = 640, width 922 drivers/media/i2c/ov7251.c fse->min_width = ov7251_mode_info_data[fse->index].width; width 923 drivers/media/i2c/ov7251.c fse->max_width = ov7251_mode_info_data[fse->index].width; width 938 drivers/media/i2c/ov7251.c if (fie->width != ov7251_mode_info_data[i].width || width 1012 drivers/media/i2c/ov7251.c if (mode->width != ov7251_mode_info_data[i].width || width 1045 drivers/media/i2c/ov7251.c width, height, width 1046 drivers/media/i2c/ov7251.c format->format.width, format->format.height); width 1048 drivers/media/i2c/ov7251.c __crop->width = new_mode->width; width 1082 drivers/media/i2c/ov7251.c __format->width = __crop->width; width 1107 drivers/media/i2c/ov7251.c .width = 640, width 1147 drivers/media/i2c/ov7251.c ov7251->current_mode->width, width 196 drivers/media/i2c/ov7670.c int width; width 730 drivers/media/i2c/ov7670.c .width = VGA_WIDTH, width 741 drivers/media/i2c/ov7670.c .width = CIF_WIDTH, width 752 drivers/media/i2c/ov7670.c .width = QVGA_WIDTH, width 763 drivers/media/i2c/ov7670.c .width = QCIF_WIDTH, width 781 drivers/media/i2c/ov7670.c .width = VGA_WIDTH, width 993 drivers/media/i2c/ov7670.c if (wsize->width < info->min_width || width 1005 drivers/media/i2c/ov7670.c if (fmt->width >= wsize->width && fmt->height >= wsize->height) width 1014 drivers/media/i2c/ov7670.c fmt->width = wsize->width; width 1212 drivers/media/i2c/ov7670.c if (info->min_width && win->width < info->min_width) width 1216 drivers/media/i2c/ov7670.c if (fie->width == win->width && fie->height == win->height) width 1248 drivers/media/i2c/ov7670.c if (info->min_width && win->width < info->min_width) width 1253 drivers/media/i2c/ov7670.c fse->min_width = fse->max_width = win->width; width 1700 drivers/media/i2c/ov7670.c format->width = info->devtype->win_sizes[0].width; width 525 drivers/media/i2c/ov772x.c .width = VGA_WIDTH, width 535 drivers/media/i2c/ov772x.c .width = QVGA_WIDTH, width 937 drivers/media/i2c/ov772x.c static const struct ov772x_win_size *ov772x_select_win(u32 width, u32 height) width 944 drivers/media/i2c/ov772x.c u32 diff = abs(width - ov772x_win_sizes[i].rect.width) width 972 drivers/media/i2c/ov772x.c *win = ov772x_select_win(mf->width, mf->height); width 1048 drivers/media/i2c/ov772x.c ret = regmap_write(priv->regmap, HSIZE, win->rect.width >> 2); width 1057 drivers/media/i2c/ov772x.c ret = regmap_write(priv->regmap, HOUTSIZE, win->rect.width >> 2); width 1067 drivers/media/i2c/ov772x.c ((win->rect.width & 3) << HREF_HSIZE_SHIFT)); width 1072 drivers/media/i2c/ov772x.c ((win->rect.width & 3) << EXHCH_HSIZE_SHIFT)); width 1152 drivers/media/i2c/ov772x.c sel->r.width = priv->win->rect.width; width 1170 drivers/media/i2c/ov772x.c mf->width = priv->win->rect.width; width 1195 drivers/media/i2c/ov772x.c mf->width = win->rect.width; width 1308 drivers/media/i2c/ov772x.c if (fie->width != VGA_WIDTH && fie->width != QVGA_WIDTH) width 137 drivers/media/i2c/ov7740.c u16 width; width 262 drivers/media/i2c/ov7740.c .width = VGA_WIDTH, width 733 drivers/media/i2c/ov7740.c if ((fie->width != VGA_WIDTH) || (fie->height != VGA_HEIGHT)) width 780 drivers/media/i2c/ov7740.c if ((fsize->width >= fmt->width) && width 782 drivers/media/i2c/ov7740.c fmt->width = fsize->width; width 791 drivers/media/i2c/ov7740.c fmt->width = fsize->width; width 896 drivers/media/i2c/ov7740.c format->width = ov7740->frmsize->width; width 88 drivers/media/i2c/ov8856.c u32 width; width 539 drivers/media/i2c/ov8856.c .width = 3280, width 551 drivers/media/i2c/ov8856.c .width = 1640, width 792 drivers/media/i2c/ov8856.c ov8856->cur_mode->link_freq_index) - ov8856->cur_mode->width; width 826 drivers/media/i2c/ov8856.c fmt->width = mode->width; width 958 drivers/media/i2c/ov8856.c ARRAY_SIZE(supported_modes), width, width 959 drivers/media/i2c/ov8856.c height, fmt->format.width, width 980 drivers/media/i2c/ov8856.c mode->width; width 1031 drivers/media/i2c/ov8856.c fse->min_width = supported_modes[fse->index].width; width 351 drivers/media/i2c/ov9640.c static void ov9640_res_roundup(u32 *width, u32 *height) width 359 drivers/media/i2c/ov9640.c if (res_x[i] >= *width && res_y[i] >= *height) { width 360 drivers/media/i2c/ov9640.c *width = res_x[i]; width 366 drivers/media/i2c/ov9640.c *width = res_x[SXGA]; width 395 drivers/media/i2c/ov9640.c static int ov9640_write_regs(struct i2c_client *client, u32 width, width 405 drivers/media/i2c/ov9640.c switch (width) { width 518 drivers/media/i2c/ov9640.c return ov9640_write_regs(client, mf->width, mf->code, &alts); width 530 drivers/media/i2c/ov9640.c ov9640_res_roundup(&mf->width, &mf->height); width 579 drivers/media/i2c/ov9640.c sel->r.width = W_SXGA; width 229 drivers/media/i2c/ov9650.c u16 width; width 371 drivers/media/i2c/ov9650.c .width = SXGA_WIDTH, width 376 drivers/media/i2c/ov9650.c .width = VGA_WIDTH, width 381 drivers/media/i2c/ov9650.c .width = QVGA_WIDTH, width 1065 drivers/media/i2c/ov9650.c mf->width = ov965x_framesizes[0].width; width 1098 drivers/media/i2c/ov9650.c fse->min_width = ov965x_framesizes[fse->index].width; width 1135 drivers/media/i2c/ov9650.c if (mbus_fmt->width != iv->size.width || width 1198 drivers/media/i2c/ov9650.c int err = abs(fsize->width - mf->width) width 1208 drivers/media/i2c/ov9650.c mf->width = match->width; width 162 drivers/media/i2c/rj54n1cb0c.c unsigned short width; /* Output window */ width 511 drivers/media/i2c/rj54n1cb0c.c u32 width, u32 height) width 516 drivers/media/i2c/rj54n1cb0c.c ((width >> 4) & 0x70) | width 520 drivers/media/i2c/rj54n1cb0c.c ret = reg_write(client, reg_x, width & 0xff); width 550 drivers/media/i2c/rj54n1cb0c.c int output_w, output_h, input_w = rect->width, input_h = rect->height; width 571 drivers/media/i2c/rj54n1cb0c.c rj54n1->width = output_w; width 574 drivers/media/i2c/rj54n1cb0c.c rj54n1->rect.width = input_w; width 594 drivers/media/i2c/rj54n1cb0c.c sel->r.width = RJ54N1_MAX_WIDTH; width 622 drivers/media/i2c/rj54n1cb0c.c mf->width = rj54n1->width; width 984 drivers/media/i2c/rj54n1cb0c.c input_w = rj54n1->rect.width, input_h = rj54n1->rect.height; width 996 drivers/media/i2c/rj54n1cb0c.c __func__, mf->code, mf->width, mf->height); width 1008 drivers/media/i2c/rj54n1cb0c.c v4l_bound_align_image(&mf->width, 112, RJ54N1_MAX_WIDTH, align, width 1096 drivers/media/i2c/rj54n1cb0c.c max_w = mf->width * (16 * 1024 - 1) / 1024; width 1103 drivers/media/i2c/rj54n1cb0c.c output_w = mf->width; width 1115 drivers/media/i2c/rj54n1cb0c.c rj54n1->rect.width = input_w; width 1117 drivers/media/i2c/rj54n1cb0c.c rj54n1->width = output_w; width 1120 drivers/media/i2c/rj54n1cb0c.c mf->width = output_w; width 1342 drivers/media/i2c/rj54n1cb0c.c rj54n1->rect.width = RJ54N1_MAX_WIDTH; width 1344 drivers/media/i2c/rj54n1cb0c.c rj54n1->width = RJ54N1_MAX_WIDTH; width 118 drivers/media/i2c/s5c73m3/s5c73m3-core.c mf->width = fs->width; width 382 drivers/media/i2c/s5c73m3/s5c73m3-core.c prev_size->width, prev_size->height, prev_size->reg_val); width 389 drivers/media/i2c/s5c73m3/s5c73m3-core.c cap_size->width, cap_size->height, cap_size->reg_val); width 807 drivers/media/i2c/s5c73m3/s5c73m3-core.c int dist = abs(fs->width - fmt->width) + width 906 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (prev_size->width > iv->size.width || width 963 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (fie->width > fi->size.width || fie->height > fi->size.height) width 1115 drivers/media/i2c/s5c73m3/s5c73m3-core.c mf->width = fmt->format.width; width 1235 drivers/media/i2c/s5c73m3/s5c73m3-core.c fse->min_width = s5c73m3_resolutions[idx][fse->index].width; width 1265 drivers/media/i2c/s5c73m3/s5c73m3-core.c w = mf->width; width 1271 drivers/media/i2c/s5c73m3/s5c73m3-core.c w = fs->width; width 1294 drivers/media/i2c/s5c73m3/s5c73m3-core.c fse->min_width = s5c73m3_resolutions[idx][fse->index].width; width 421 drivers/media/i2c/s5c73m3/s5c73m3.h u32 width; width 380 drivers/media/i2c/s5k4ecgx.c ret = s5k4ecgx_write(c, REG_G_PREV_IN_WIDTH, r->width); width 388 drivers/media/i2c/s5k4ecgx.c ret = s5k4ecgx_write(c, REG_G_CAP_IN_WIDTH, r->width); width 405 drivers/media/i2c/s5k4ecgx.c ret = s5k4ecgx_write(c, REG_G_PREVZOOM_IN_WIDTH, r->width); width 413 drivers/media/i2c/s5k4ecgx.c ret = s5k4ecgx_write(c, REG_G_CAPZOOM_IN_WIDTH, r->width); width 430 drivers/media/i2c/s5k4ecgx.c priv->curr_frmsize->size.width); width 508 drivers/media/i2c/s5k4ecgx.c int err = abs(fsize->size.width - mf->width) width 517 drivers/media/i2c/s5k4ecgx.c mf->width = match->size.width; width 555 drivers/media/i2c/s5k4ecgx.c mf->width = priv->curr_frmsize->size.width; width 691 drivers/media/i2c/s5k4ecgx.c mf->width = s5k4ecgx_prev_sizes[0].size.width; width 852 drivers/media/i2c/s5k5baf.c r->left = v->left * n->width / d->width; width 854 drivers/media/i2c/s5k5baf.c r->width = v->width * n->width / d->width; width 865 drivers/media/i2c/s5k5baf.c s5k5baf_write_seq(state, REG_G_PREVREQ_IN_WIDTH, p->width, p->height, width 870 drivers/media/i2c/s5k5baf.c s5k5baf_write_seq(state, REG_G_PREVZOOM_IN_WIDTH, r.width, r.height, width 907 drivers/media/i2c/s5k5baf.c s5k5baf_write_seq(state, REG_P_OUT_WIDTH(0), p->width, p->height); width 920 drivers/media/i2c/s5k5baf.c r->width, r->height, reg_fmt, width 1191 drivers/media/i2c/s5k5baf.c v4l_bound_align_image(&fie->width, S5K5BAF_WIN_WIDTH_MIN, width 1253 drivers/media/i2c/s5k5baf.c mf->width = S5K5BAF_CIS_WIDTH; width 1264 drivers/media/i2c/s5k5baf.c v4l_bound_align_image(&mf->width, S5K5BAF_WIN_WIDTH_MIN, width 1299 drivers/media/i2c/s5k5baf.c mf->width = state->crop_source.width; width 1339 drivers/media/i2c/s5k5baf.c mf->width = state->crop_source.width; width 1433 drivers/media/i2c/s5k5baf.c static void s5k5baf_bound_rect(struct v4l2_rect *r, u32 width, u32 height) width 1435 drivers/media/i2c/s5k5baf.c s5k5baf_bound_range(&r->left, &r->width, width); width 1450 drivers/media/i2c/s5k5baf.c s5k5baf_bound_rect(r, br->width, br->height); width 1501 drivers/media/i2c/s5k5baf.c if (sel->r.width < state->crop_source.width) width 1502 drivers/media/i2c/s5k5baf.c sel->r.width = state->crop_source.width; width 1506 drivers/media/i2c/s5k5baf.c sel->r.width = state->crop_source.width; width 1712 drivers/media/i2c/s5k5baf.c mf->width = s5k5baf_cis_rect.width; width 119 drivers/media/i2c/s5k6a3.c v4l_bound_align_image(&mf->width, S5K6A3_SENSOR_MIN_WIDTH, width 179 drivers/media/i2c/s5k6a3.c format->width = S5K6A3_DEFAULT_WIDTH; width 330 drivers/media/i2c/s5k6a3.c sensor->format.width = S5K6A3_DEFAULT_WIDTH; width 317 drivers/media/i2c/s5k6aa.c preset->mbus_fmt.width = S5K6AA_OUT_WIDTH_DEF; width 636 drivers/media/i2c/s5k6aa.c preset->mbus_fmt.width); width 652 drivers/media/i2c/s5k6aa.c ret = s5k6aa_write(c, REG_G_PREVZOOM_IN_WIDTH, r->width); width 962 drivers/media/i2c/s5k6aa.c if (mbus_fmt->width > iv->size.width || width 1010 drivers/media/i2c/s5k6aa.c v4l_bound_align_image(&fie->width, S5K6AA_WIN_WIDTH_MIN, width 1017 drivers/media/i2c/s5k6aa.c if (fie->width > fi->size.width || fie->height > fi->size.height) width 1075 drivers/media/i2c/s5k6aa.c v4l_bound_align_image(&mf->width, S5K6AA_WIN_WIDTH_MIN, width 1148 drivers/media/i2c/s5k6aa.c crop->width = clamp_t(unsigned int, crop->width, mf->width, width 1153 drivers/media/i2c/s5k6aa.c S5K6AA_WIN_WIDTH_MAX - crop->width); width 1183 drivers/media/i2c/s5k6aa.c rect->left, rect->top, rect->width, rect->height); width 1209 drivers/media/i2c/s5k6aa.c v4l_bound_align_image(&sel->r.width, mf->width, width 1214 drivers/media/i2c/s5k6aa.c max_x = (S5K6AA_WIN_WIDTH_MAX - sel->r.width) & ~1; width 1225 drivers/media/i2c/s5k6aa.c crop_r->left, crop_r->top, crop_r->width, crop_r->height); width 1433 drivers/media/i2c/s5k6aa.c format->width = S5K6AA_OUT_WIDTH_DEF; width 1437 drivers/media/i2c/s5k6aa.c crop->width = S5K6AA_WIN_WIDTH_MAX; width 1607 drivers/media/i2c/s5k6aa.c s5k6aa->ccd_rect.width = S5K6AA_WIN_WIDTH_MAX; width 70 drivers/media/i2c/saa6752hs.c { .fmt = { .pix = { .width = 720, .height = 576 }}}, width 72 drivers/media/i2c/saa6752hs.c { .fmt = { .pix = { .width = 480, .height = 576 }}}, width 74 drivers/media/i2c/saa6752hs.c { .fmt = { .pix = { .width = 352, .height = 576 }}}, width 76 drivers/media/i2c/saa6752hs.c { .fmt = { .pix = { .width = 352, .height = 288 }}}, width 78 drivers/media/i2c/saa6752hs.c { .fmt = { .pix = { .width = 0, .height = 0}}}, width 557 drivers/media/i2c/saa6752hs.c f->width = v4l2_format_table[h->video_format].fmt.pix.width; width 578 drivers/media/i2c/saa6752hs.c dist_352 = abs(f->width - 352); width 579 drivers/media/i2c/saa6752hs.c dist_480 = abs(f->width - 480); width 580 drivers/media/i2c/saa6752hs.c dist_720 = abs(f->width - 720); width 582 drivers/media/i2c/saa6752hs.c f->width = 720; width 585 drivers/media/i2c/saa6752hs.c f->width = 480; width 588 drivers/media/i2c/saa6752hs.c f->width = 352; width 617 drivers/media/i2c/saa6752hs.c if (f->width == 720) width 619 drivers/media/i2c/saa6752hs.c else if (f->width == 480) width 86 drivers/media/i2c/saa7115.c int width; width 864 drivers/media/i2c/saa7115.c static int saa711x_set_size(struct v4l2_subdev *sd, int width, int height) width 873 drivers/media/i2c/saa7115.c v4l2_dbg(1, debug, sd, "decoder set size to %ix%i\n", width, height); width 876 drivers/media/i2c/saa7115.c if ((width < 1) || (width > 1440)) width 883 drivers/media/i2c/saa7115.c if (width != 720) width 889 drivers/media/i2c/saa7115.c state->width = width; width 900 drivers/media/i2c/saa7115.c (u8) (width & 0xff)); width 902 drivers/media/i2c/saa7115.c (u8) ((width >> 8) & 0xff)); width 919 drivers/media/i2c/saa7115.c HPSC = (int)(720 / width); width 922 drivers/media/i2c/saa7115.c HFSC = (int)((1024 * 720) / (HPSC * width)); width 1181 drivers/media/i2c/saa7115.c return saa711x_set_size(sd, fmt->width, fmt->height); width 1566 drivers/media/i2c/saa7115.c v4l2_info(sd, "Width, Height: %d, %d\n", state->width, state->height); width 995 drivers/media/i2c/saa717x.c if (fmt->width < 1 || fmt->width > 1440) width 1008 drivers/media/i2c/saa717x.c prescale = SAA717X_NTSC_WIDTH / fmt->width; width 1011 drivers/media/i2c/saa717x.c h_scale = 1024 * SAA717X_NTSC_WIDTH / prescale / fmt->width; width 1034 drivers/media/i2c/saa717x.c saa717x_write(sd, 0x5C, (u8)(fmt->width & 0xFF)); width 1035 drivers/media/i2c/saa717x.c saa717x_write(sd, 0x5D, (u8)((fmt->width >> 8) & 0xFF)); width 1037 drivers/media/i2c/saa717x.c saa717x_write(sd, 0x9C, (u8)(fmt->width & 0xFF)); width 1038 drivers/media/i2c/saa717x.c saa717x_write(sd, 0x9D, (u8)((fmt->width >> 8) & 0xFF)); width 472 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].width width 622 drivers/media/i2c/smiapp/smiapp-core.c int max_value = (1 << sensor->csi_format->width) - 1; width 807 drivers/media/i2c/smiapp/smiapp-core.c if (f->width != fmt >> 8 || f->compressed != (u8)fmt) width 872 drivers/media/i2c/smiapp/smiapp-core.c || f->width > sensor->csi_format->width width 873 drivers/media/i2c/smiapp/smiapp-core.c || (f->width == sensor->csi_format->width width 907 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].width, width 910 drivers/media/i2c/smiapp/smiapp-core.c sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].width; width 960 drivers/media/i2c/smiapp/smiapp-core.c ((sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].width width 1395 drivers/media/i2c/smiapp/smiapp-core.c (sensor->csi_format->width << 8) | width 1419 drivers/media/i2c/smiapp/smiapp-core.c + sensor->pixel_array->crop[SMIAPP_PA_PAD_SRC].width - 1); width 1452 drivers/media/i2c/smiapp/smiapp-core.c sensor->scaler->crop[SMIAPP_PAD_SINK].width); width 1479 drivers/media/i2c/smiapp/smiapp-core.c sensor->src->crop[SMIAPP_PAD_SRC].width); width 1641 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.width = r->width; width 1705 drivers/media/i2c/smiapp/smiapp-core.c comp->width = crops[SMIAPP_PAD_SINK]->width; width 1774 drivers/media/i2c/smiapp/smiapp-core.c if (csi_format->width != old_csi_format->width) width 1778 drivers/media/i2c/smiapp/smiapp-core.c (1 << csi_format->width) - 1, 1, 0); width 1817 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.width &= ~1; width 1821 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.width = width 1822 drivers/media/i2c/smiapp/smiapp-core.c clamp(fmt->format.width, width 1834 drivers/media/i2c/smiapp/smiapp-core.c crops[ssd->sink_pad]->width = fmt->format.width; width 1901 drivers/media/i2c/smiapp/smiapp-core.c crops[SMIAPP_PAD_SINK]->width, sel->r.width, width 1907 drivers/media/i2c/smiapp/smiapp-core.c crops[SMIAPP_PAD_SINK]->width width 1909 drivers/media/i2c/smiapp/smiapp-core.c sel->r.width, width 1925 drivers/media/i2c/smiapp/smiapp-core.c sel->r.width = (crops[SMIAPP_PAD_SINK]->width / binh) & ~1; width 1954 drivers/media/i2c/smiapp/smiapp-core.c sel->r.width = min_t(unsigned int, sel->r.width, width 1955 drivers/media/i2c/smiapp/smiapp-core.c crops[SMIAPP_PAD_SINK]->width); width 1959 drivers/media/i2c/smiapp/smiapp-core.c a = crops[SMIAPP_PAD_SINK]->width width 1960 drivers/media/i2c/smiapp/smiapp-core.c * sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN] / sel->r.width; width 1963 drivers/media/i2c/smiapp/smiapp-core.c max_m = crops[SMIAPP_PAD_SINK]->width width 1997 drivers/media/i2c/smiapp/smiapp-core.c crops[SMIAPP_PAD_SINK]->width width 2000 drivers/media/i2c/smiapp/smiapp-core.c sel->r.width, width 2018 drivers/media/i2c/smiapp/smiapp-core.c subdev, crops[SMIAPP_PAD_SINK]->width width 2021 drivers/media/i2c/smiapp/smiapp-core.c sel->r.width, width 2035 drivers/media/i2c/smiapp/smiapp-core.c sel->r.width = width 2036 drivers/media/i2c/smiapp/smiapp-core.c (crops[SMIAPP_PAD_SINK]->width width 2144 drivers/media/i2c/smiapp/smiapp-core.c _r.width = v4l2_subdev_get_try_format(subdev, cfg, sel->pad) width 2145 drivers/media/i2c/smiapp/smiapp-core.c ->width; width 2160 drivers/media/i2c/smiapp/smiapp-core.c sel->r.width = min(sel->r.width, src_size->width); width 2163 drivers/media/i2c/smiapp/smiapp-core.c sel->r.left = min_t(int, sel->r.left, src_size->width - sel->r.width); width 2180 drivers/media/i2c/smiapp/smiapp-core.c r->width = ssd->sensor->limits[SMIAPP_LIMIT_X_ADDR_MAX] + 1; width 2208 drivers/media/i2c/smiapp/smiapp-core.c sink_fmt.width = fmt->width; width 2262 drivers/media/i2c/smiapp/smiapp-core.c sel->r.width = SMIAPP_ALIGN_DIM(sel->r.width, sel->flags); width 2265 drivers/media/i2c/smiapp/smiapp-core.c sel->r.width = max_t(unsigned int, width 2267 drivers/media/i2c/smiapp/smiapp-core.c sel->r.width); width 2614 drivers/media/i2c/smiapp/smiapp-core.c ssd->compose.width = ssd->sink_fmt.width; width 2651 drivers/media/i2c/smiapp/smiapp-core.c try_fmt->width = try_crop->width; width 133 drivers/media/i2c/smiapp/smiapp.h u8 width; width 170 drivers/media/i2c/sr030pc30.c u16 width; width 183 drivers/media/i2c/sr030pc30.c .width = 640, width 187 drivers/media/i2c/sr030pc30.c .width = 320, width 191 drivers/media/i2c/sr030pc30.c .width = 160, width 401 drivers/media/i2c/sr030pc30.c int err = abs(fsize->width - mf->width) width 410 drivers/media/i2c/sr030pc30.c mf->width = match->width; width 497 drivers/media/i2c/sr030pc30.c mf->width = info->curr_win->width; width 187 drivers/media/i2c/st-mipid02.c fmt->width = 640; width 308 drivers/media/i2c/tc358743.c unsigned width, height, frame_width, frame_height, frame_interval, fps; width 325 drivers/media/i2c/tc358743.c width = ((i2c_rd8(sd, DE_WIDTH_H_HI) & 0x1f) << 8) + width 340 drivers/media/i2c/tc358743.c bt->width = width; width 343 drivers/media/i2c/tc358743.c bt->hsync = frame_width - width; width 673 drivers/media/i2c/tc358743.c u32 bps = bt->width * bt->height * fps(bt) * bits_pr_pixel; width 1676 drivers/media/i2c/tc358743.c format->format.width = state->timings.bt.width; width 747 drivers/media/i2c/tda1997x.c int width, lines; width 756 drivers/media/i2c/tda1997x.c href_end = href_start + bt->width; width 775 drivers/media/i2c/tda1997x.c width = V4L2_DV_BT_FRAME_WIDTH(bt); width 790 drivers/media/i2c/tda1997x.c io_write16(sd, REG_PXCNT_NPIX, width & MASK_VHREF); width 1113 drivers/media/i2c/tda1997x.c for (i = 0; v4l2_dv_timings_presets[i].bt.width; i++) { width 1115 drivers/media/i2c/tda1997x.c u32 lines, width, _hper, _hsper; width 1120 drivers/media/i2c/tda1997x.c width = V4L2_DV_BT_FRAME_WIDTH(bt); width 1122 drivers/media/i2c/tda1997x.c _hper = (u32)bt->pixelclock / width; width 1757 drivers/media/i2c/tda1997x.c format->width = bt->width; width 295 drivers/media/i2c/ths7303.c bt->width, bt->height, bt->interlaced ? "i" : "p", width 68 drivers/media/i2c/tvp514x.c unsigned long width; width 233 drivers/media/i2c/tvp514x.c .width = NTSC_NUM_ACTIVE_PIXELS, width 246 drivers/media/i2c/tvp514x.c .width = PAL_NUM_ACTIVE_PIXELS, width 904 drivers/media/i2c/tvp514x.c format->format.width = tvp514x_std_list[decoder->current_std].width; width 929 drivers/media/i2c/tvp514x.c fmt->format.width != tvp514x_std_list[decoder->current_std].width || width 964 drivers/media/i2c/tvp514x.c .width = NTSC_NUM_ACTIVE_PIXELS, width 982 drivers/media/i2c/tvp5150.c crop->width = TVP5150_H_MAX; width 1001 drivers/media/i2c/tvp5150.c f->width = decoder->rect.width; width 1008 drivers/media/i2c/tvp5150.c dev_dbg_lvl(sd->dev, 1, debug, "width = %d, height = %d\n", f->width, width 1027 drivers/media/i2c/tvp5150.c __func__, rect.left, rect.top, rect.width, rect.height); width 1049 drivers/media/i2c/tvp5150.c v4l_bound_align_image(&rect.width, width 1063 drivers/media/i2c/tvp5150.c (rect.left + rect.width - TVP5150_MAX_CROP_LEFT) >> width 1066 drivers/media/i2c/tvp5150.c rect.left + rect.width - TVP5150_MAX_CROP_LEFT); width 1087 drivers/media/i2c/tvp5150.c sel->r.width = TVP5150_H_MAX; width 1164 drivers/media/i2c/tvp5150.c fse->min_width = decoder->rect.width; width 1165 drivers/media/i2c/tvp5150.c fse->max_width = decoder->rect.width; width 561 drivers/media/i2c/tvp7002.c if (!memcmp(bt, t, &bt->standards - &bt->width)) { width 754 drivers/media/i2c/tvp7002.c v4l2_info(sd, "Selected DV Timings: %ux%u\n", bt->width, bt->height); width 760 drivers/media/i2c/tvp7002.c bt->width, bt->height); width 825 drivers/media/i2c/tvp7002.c fmt->format.width = tvp7002->current_timings->timings.bt.width; width 222 drivers/media/i2c/tw9910.c unsigned short width; width 242 drivers/media/i2c/tw9910.c .width = 640, width 249 drivers/media/i2c/tw9910.c .width = 720, width 256 drivers/media/i2c/tw9910.c .width = 320, width 263 drivers/media/i2c/tw9910.c .width = 360, width 270 drivers/media/i2c/tw9910.c .width = 160, width 277 drivers/media/i2c/tw9910.c .width = 180, width 287 drivers/media/i2c/tw9910.c .width = 768, width 294 drivers/media/i2c/tw9910.c .width = 720, width 301 drivers/media/i2c/tw9910.c .width = 384, width 308 drivers/media/i2c/tw9910.c .width = 360, width 315 drivers/media/i2c/tw9910.c .width = 192, width 322 drivers/media/i2c/tw9910.c .width = 180, width 429 drivers/media/i2c/tw9910.c u32 width, u32 height) width 447 drivers/media/i2c/tw9910.c tmp = abs(width - scale[i].width) + width 490 drivers/media/i2c/tw9910.c priv->scale->width, width 649 drivers/media/i2c/tw9910.c static int tw9910_set_frame(struct v4l2_subdev *sd, u32 *width, u32 *height) width 657 drivers/media/i2c/tw9910.c priv->scale = tw9910_select_norm(priv->norm, *width, *height); width 709 drivers/media/i2c/tw9910.c *width = priv->scale->width; width 738 drivers/media/i2c/tw9910.c sel->r.width = 640; width 741 drivers/media/i2c/tw9910.c sel->r.width = 768; width 765 drivers/media/i2c/tw9910.c mf->width = priv->scale->width; width 777 drivers/media/i2c/tw9910.c u32 width = mf->width, height = mf->height; width 789 drivers/media/i2c/tw9910.c ret = tw9910_set_frame(sd, &width, &height); width 793 drivers/media/i2c/tw9910.c mf->width = width; width 822 drivers/media/i2c/tw9910.c scale = tw9910_select_norm(priv->norm, mf->width, mf->height); width 826 drivers/media/i2c/tw9910.c mf->width = scale->width; width 67 drivers/media/i2c/video-i2c.c .width = 8, width 76 drivers/media/i2c/video-i2c.c .width = 32, width 635 drivers/media/i2c/video-i2c.c fsize->discrete.width = size->width; width 650 drivers/media/i2c/video-i2c.c if (fe->width != size->width || fe->height != size->height) width 667 drivers/media/i2c/video-i2c.c pix->width = size->width; width 671 drivers/media/i2c/video-i2c.c pix->bytesperline = pix->width * bpp; width 54 drivers/media/i2c/vs6624.c .width = VGA_WIDTH, width 580 drivers/media/i2c/vs6624.c if (fmt->width > VGA_WIDTH) width 581 drivers/media/i2c/vs6624.c fmt->width = VGA_WIDTH; width 584 drivers/media/i2c/vs6624.c fmt->width = fmt->width & (~3); width 613 drivers/media/i2c/vs6624.c if ((fmt->width == VGA_WIDTH) && (fmt->height == VGA_HEIGHT)) width 615 drivers/media/i2c/vs6624.c else if ((fmt->width == QVGA_WIDTH) && (fmt->height == QVGA_HEIGHT)) width 617 drivers/media/i2c/vs6624.c else if ((fmt->width == QQVGA_WIDTH) && (fmt->height == QQVGA_HEIGHT)) width 619 drivers/media/i2c/vs6624.c else if ((fmt->width == CIF_WIDTH) && (fmt->height == CIF_HEIGHT)) width 621 drivers/media/i2c/vs6624.c else if ((fmt->width == QCIF_WIDTH) && (fmt->height == QCIF_HEIGHT)) width 623 drivers/media/i2c/vs6624.c else if ((fmt->width == QQCIF_WIDTH) && (fmt->height == QQCIF_HEIGHT)) width 627 drivers/media/i2c/vs6624.c vs6624_write(sd, VS6624_MAN_HSIZE0_MSB, fmt->width >> 8); width 628 drivers/media/i2c/vs6624.c vs6624_write(sd, VS6624_MAN_HSIZE0_LSB, fmt->width & 0xFF); width 91 drivers/media/pci/bt8xx/btcx-risc.c clips[n].c.width = -win->left; width 95 drivers/media/pci/bt8xx/btcx-risc.c if (win->left + win->width > swidth) { width 99 drivers/media/pci/bt8xx/btcx-risc.c clips[n].c.width = win->width - clips[n].c.left; width 107 drivers/media/pci/bt8xx/btcx-risc.c clips[n].c.width = win->width; width 115 drivers/media/pci/bt8xx/btcx-risc.c clips[n].c.width = win->width; width 130 drivers/media/pci/bt8xx/btcx-risc.c nw = (win->width) & ~mask; width 131 drivers/media/pci/bt8xx/btcx-risc.c if (nx + nw > win->left + win->width) width 135 drivers/media/pci/bt8xx/btcx-risc.c win->width = nw; width 137 drivers/media/pci/bt8xx/btcx-risc.c win->width, win->height, win->left, win->top, dx); width 142 drivers/media/pci/bt8xx/btcx-risc.c nw = (clips[i].c.width) & ~mask; width 143 drivers/media/pci/bt8xx/btcx-risc.c if (nx + nw < clips[i].c.left-dx + clips[i].c.width) width 146 drivers/media/pci/bt8xx/btcx-risc.c clips[i].c.width = nw; width 148 drivers/media/pci/bt8xx/btcx-risc.c clips[i].c.width, clips[i].c.height, width 174 drivers/media/pci/bt8xx/btcx-risc.c btcx_calc_skips(int line, int width, int *maxy, width 186 drivers/media/pci/bt8xx/btcx-risc.c if (clips[clip].c.left + clips[clip].c.width <= 0) width 188 drivers/media/pci/bt8xx/btcx-risc.c if (clips[clip].c.left > (signed)width) width 208 drivers/media/pci/bt8xx/btcx-risc.c skips[skip].end = clips[clip].c.left + clips[clip].c.width; width 209 drivers/media/pci/bt8xx/btcx-risc.c if (skips[skip].end > width) width 210 drivers/media/pci/bt8xx/btcx-risc.c skips[skip].end = width; width 214 drivers/media/pci/bt8xx/btcx-risc.c end = clips[clip].c.left + clips[clip].c.width; width 217 drivers/media/pci/bt8xx/btcx-risc.c if (skips[skip-1].end > width) width 218 drivers/media/pci/bt8xx/btcx-risc.c skips[skip-1].end = width; width 25 drivers/media/pci/bt8xx/btcx-risc.h void btcx_calc_skips(int line, int width, int *maxy, width 262 drivers/media/pci/bt8xx/bttv-driver.c .cropcap.bounds.width = (totalwidth) - (minhdelayx1) - 4, \ width 267 drivers/media/pci/bt8xx/bttv-driver.c .cropcap.defrect.width = swidth, \ width 1098 drivers/media/pci/bt8xx/bttv-driver.c (max_t(unsigned int, 48, c->rect.width >> 4) + 3) & ~3; width 1103 drivers/media/pci/bt8xx/bttv-driver.c c->max_scaled_width = c->rect.width & ~3; width 1531 drivers/media/pci/bt8xx/bttv-driver.c unsigned int width, unsigned int height, width 1544 drivers/media/pci/bt8xx/bttv-driver.c width = RAW_BPL; width 1546 drivers/media/pci/bt8xx/bttv-driver.c if (width*height > buf->vb.bsize) width 1566 drivers/media/pci/bt8xx/bttv-driver.c if (width < c.min_scaled_width || width 1567 drivers/media/pci/bt8xx/bttv-driver.c width > c.max_scaled_width || width 1587 drivers/media/pci/bt8xx/bttv-driver.c buf->vb.size = (width * height * fmt->depth) >> 3; width 1593 drivers/media/pci/bt8xx/bttv-driver.c if (buf->vb.width != width || buf->vb.height != height || width 1598 drivers/media/pci/bt8xx/bttv-driver.c buf->crop.width != c.rect.width || width 1600 drivers/media/pci/bt8xx/bttv-driver.c buf->vb.width = width; width 1633 drivers/media/pci/bt8xx/bttv-driver.c *size = fh->fmt->depth*fh->width*fh->height >> 3; width 1649 drivers/media/pci/bt8xx/bttv-driver.c fh->width, fh->height, field); width 1900 drivers/media/pci/bt8xx/bttv-driver.c __s32 width, width 1908 drivers/media/pci/bt8xx/bttv-driver.c if (width < c->min_scaled_width) { width 1910 drivers/media/pci/bt8xx/bttv-driver.c c->rect.width = width * 16; width 1911 drivers/media/pci/bt8xx/bttv-driver.c } else if (width > c->max_scaled_width) { width 1913 drivers/media/pci/bt8xx/bttv-driver.c c->rect.width = width; width 1915 drivers/media/pci/bt8xx/bttv-driver.c max_left = b->left + b->width - width; width 1946 drivers/media/pci/bt8xx/bttv-driver.c __s32 * width, width 1984 drivers/media/pci/bt8xx/bttv-driver.c max_width = min_t(unsigned int, b->width, MAX_HACTIVE); width 2017 drivers/media/pci/bt8xx/bttv-driver.c *width = clamp(*width, min_width, max_width); width 2021 drivers/media/pci/bt8xx/bttv-driver.c *width = (*width + width_bias) & width_mask; width 2024 drivers/media/pci/bt8xx/bttv-driver.c bttv_crop_adjust(c, b, *width, *height, field); width 2033 drivers/media/pci/bt8xx/bttv-driver.c if (*width < min_width || width 2035 drivers/media/pci/bt8xx/bttv-driver.c *width > max_width || width 2037 drivers/media/pci/bt8xx/bttv-driver.c 0 != (*width & ~width_mask)) width 2063 drivers/media/pci/bt8xx/bttv-driver.c if (win->w.width < 48) width 2064 drivers/media/pci/bt8xx/bttv-driver.c win->w.width = 48; width 2111 drivers/media/pci/bt8xx/bttv-driver.c win->w.width -= win->w.left & ~width_mask; width 2114 drivers/media/pci/bt8xx/bttv-driver.c rc = limit_scaled_size_lock(fh, &win->w.width, &win->w.height, width 2155 drivers/media/pci/bt8xx/bttv-driver.c n = btcx_screen_clips(btv->fbuf.fmt.width, btv->fbuf.fmt.height, width 2183 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.w.width = win->w.width; width 2252 drivers/media/pci/bt8xx/bttv-driver.c unsigned int width, width 2255 drivers/media/pci/bt8xx/bttv-driver.c f->width = width; width 2259 drivers/media/pci/bt8xx/bttv-driver.c f->bytesperline = width; /* Y plane */ width 2260 drivers/media/pci/bt8xx/bttv-driver.c f->sizeimage = (width * height * fmt->depth) >> 3; width 2262 drivers/media/pci/bt8xx/bttv-driver.c f->bytesperline = (width * fmt->depth) >> 3; width 2273 drivers/media/pci/bt8xx/bttv-driver.c fh->width, fh->height); width 2312 drivers/media/pci/bt8xx/bttv-driver.c __s32 width, height; width 2344 drivers/media/pci/bt8xx/bttv-driver.c width = f->fmt.pix.width; width 2348 drivers/media/pci/bt8xx/bttv-driver.c rc = limit_scaled_size_lock(fh, &width, &height, field, width 2357 drivers/media/pci/bt8xx/bttv-driver.c pix_format_set_size(&f->fmt.pix, fmt, width, height); width 2381 drivers/media/pci/bt8xx/bttv-driver.c __s32 width, height; width 2393 drivers/media/pci/bt8xx/bttv-driver.c width = f->fmt.pix.width; width 2399 drivers/media/pci/bt8xx/bttv-driver.c retval = limit_scaled_size_lock(fh, &width, &height, f->fmt.pix.field, width 2412 drivers/media/pci/bt8xx/bttv-driver.c fh->width = f->fmt.pix.width; width 2415 drivers/media/pci/bt8xx/bttv-driver.c btv->init.width = f->fmt.pix.width; width 2593 drivers/media/pci/bt8xx/bttv-driver.c __s32 width = fb->fmt.width; width 2596 drivers/media/pci/bt8xx/bttv-driver.c retval = limit_scaled_size_lock(fh, &width, &height, width 2608 drivers/media/pci/bt8xx/bttv-driver.c btv->fbuf.fmt.width = fb->fmt.width; width 2613 drivers/media/pci/bt8xx/bttv-driver.c btv->fbuf.fmt.bytesperline = btv->fbuf.fmt.width*fmt->depth/8; width 2621 drivers/media/pci/bt8xx/bttv-driver.c fh->ov.w.width = fb->fmt.width; width 2623 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.w.width = fb->fmt.width; width 2818 drivers/media/pci/bt8xx/bttv-driver.c b_right = b_left + b->width; width 2830 drivers/media/pci/bt8xx/bttv-driver.c c.rect.width = clamp_t(s32, sel->r.width, width 2849 drivers/media/pci/bt8xx/bttv-driver.c if (fh->width < c.min_scaled_width) { width 2850 drivers/media/pci/bt8xx/bttv-driver.c fh->width = c.min_scaled_width; width 2851 drivers/media/pci/bt8xx/bttv-driver.c btv->init.width = c.min_scaled_width; width 2852 drivers/media/pci/bt8xx/bttv-driver.c } else if (fh->width > c.max_scaled_width) { width 2853 drivers/media/pci/bt8xx/bttv-driver.c fh->width = c.max_scaled_width; width 2854 drivers/media/pci/bt8xx/bttv-driver.c btv->init.width = c.max_scaled_width; width 4094 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.w.width = 320; width 4097 drivers/media/pci/bt8xx/bttv-driver.c btv->init.width = 320; width 4099 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.w.width = 320; width 283 drivers/media/pci/bt8xx/bttv-risc.c btcx_calc_skips(line, ov->w.width, &maxy, width 287 drivers/media/pci/bt8xx/bttv-risc.c for (start = 0, skip = 0; start < ov->w.width; start = end) { width 290 drivers/media/pci/bt8xx/bttv-risc.c end = ov->w.width; width 306 drivers/media/pci/bt8xx/bttv-risc.c if (ov->w.width == end) width 327 drivers/media/pci/bt8xx/bttv-risc.c int width, int height, int interleaved, width 345 drivers/media/pci/bt8xx/bttv-risc.c xsf = (width*scaledtwidth)/swidth; width 348 drivers/media/pci/bt8xx/bttv-risc.c geo->hdelay = (geo->hdelay*width)/swidth; width 352 drivers/media/pci/bt8xx/bttv-risc.c geo->crop = ((width>>8)&0x03) | ((geo->hdelay>>6)&0x0c) | width 356 drivers/media/pci/bt8xx/bttv-risc.c geo->width = width; width 361 drivers/media/pci/bt8xx/bttv-risc.c geo->vtc = (width < 193) ? 2 : ((width < 385) ? 1 : 0); width 362 drivers/media/pci/bt8xx/bttv-risc.c geo->comb = (width < 769) ? 1 : 0; width 372 drivers/media/pci/bt8xx/bttv-risc.c unsigned int width, width 384 drivers/media/pci/bt8xx/bttv-risc.c && crop->width == tvnorm->cropcap.defrect.width width 386 drivers/media/pci/bt8xx/bttv-risc.c && width <= tvnorm->swidth /* see PAL-Nc et al */) width 388 drivers/media/pci/bt8xx/bttv-risc.c bttv_calc_geo_old(btv, geo, width, height, width 395 drivers/media/pci/bt8xx/bttv-risc.c c_width = min((unsigned int) crop->width, width * 16); width 398 drivers/media/pci/bt8xx/bttv-risc.c geo->width = width; width 399 drivers/media/pci/bt8xx/bttv-risc.c geo->hscale = (c_width * 4096U + (width >> 1)) / width - 4096; width 401 drivers/media/pci/bt8xx/bttv-risc.c geo->hdelay = ((crop->left * width + c_width) / c_width) & ~1; width 411 drivers/media/pci/bt8xx/bttv-risc.c geo->crop = (((geo->width >> 8) & 0x03) | width 417 drivers/media/pci/bt8xx/bttv-risc.c geo->vtc = (width < 193) ? 2 : ((width < 385) ? 1 : 0); width 418 drivers/media/pci/bt8xx/bttv-risc.c geo->comb = (width < 769) ? 1 : 0; width 440 drivers/media/pci/bt8xx/bttv-risc.c btwrite(geo->width & 0xff, BT848_E_HACTIVE_LO+off); width 704 drivers/media/pci/bt8xx/bttv-risc.c buf->fmt->fourcc, buf->vb.width, buf->vb.height); width 708 drivers/media/pci/bt8xx/bttv-risc.c int bpl = (buf->fmt->depth >> 3) * buf->vb.width; width 711 drivers/media/pci/bt8xx/bttv-risc.c bttv_calc_geo(btv,&buf->geo,buf->vb.width,buf->vb.height, width 749 drivers/media/pci/bt8xx/bttv-risc.c uoffset = buf->vb.width * buf->vb.height; width 750 drivers/media/pci/bt8xx/bttv-risc.c voffset = buf->vb.width * buf->vb.height; width 765 drivers/media/pci/bt8xx/bttv-risc.c bttv_calc_geo(btv,&buf->geo,buf->vb.width, width 769 drivers/media/pci/bt8xx/bttv-risc.c 0,buf->vb.width,0,buf->vb.height, width 774 drivers/media/pci/bt8xx/bttv-risc.c bttv_calc_geo(btv,&buf->geo,buf->vb.width, width 778 drivers/media/pci/bt8xx/bttv-risc.c 0,buf->vb.width,0,buf->vb.height, width 783 drivers/media/pci/bt8xx/bttv-risc.c bttv_calc_geo(btv,&buf->geo,buf->vb.width, width 787 drivers/media/pci/bt8xx/bttv-risc.c ypadding = buf->vb.width; width 788 drivers/media/pci/bt8xx/bttv-risc.c cpadding = buf->vb.width >> buf->fmt->hshift; width 791 drivers/media/pci/bt8xx/bttv-risc.c 0,buf->vb.width,ypadding,lines, width 798 drivers/media/pci/bt8xx/bttv-risc.c ypadding,buf->vb.width,ypadding,lines, width 806 drivers/media/pci/bt8xx/bttv-risc.c bttv_calc_geo(btv,&buf->geo,buf->vb.width, width 810 drivers/media/pci/bt8xx/bttv-risc.c ypadding = buf->vb.width; width 811 drivers/media/pci/bt8xx/bttv-risc.c cpadding = buf->vb.width >> buf->fmt->hshift; width 814 drivers/media/pci/bt8xx/bttv-risc.c 0,buf->vb.width,0,lines, width 822 drivers/media/pci/bt8xx/bttv-risc.c lines * ypadding,buf->vb.width,0,lines, width 865 drivers/media/pci/bt8xx/bttv-risc.c fmt->fourcc, ov->w.width, ov->w.height); width 868 drivers/media/pci/bt8xx/bttv-risc.c bttv_calc_geo(btv,&buf->geo,ov->w.width,ov->w.height, width 140 drivers/media/pci/bt8xx/bttvp.h u16 width,hscale,hdelay; width 216 drivers/media/pci/bt8xx/bttvp.h int width; width 220 drivers/media/pci/cobalt/cobalt-driver.h u32 width, height, bpp; width 73 drivers/media/pci/cobalt/cobalt-irq.c ioread32(&vmr->hactive_area) != s->timings.bt.width) { width 151 drivers/media/pci/cobalt/cobalt-omnitek.c unsigned size, unsigned width, unsigned stride, width 157 drivers/media/pci/cobalt/cobalt-omnitek.c unsigned copy_bytes = width; width 166 drivers/media/pci/cobalt/cobalt-omnitek.c WARN_ON(stride < width); width 167 drivers/media/pci/cobalt/cobalt-omnitek.c if (width >= stride) width 36 drivers/media/pci/cobalt/cobalt-omnitek.h unsigned size, unsigned width, unsigned stride, width 82 drivers/media/pci/cobalt/cobalt-v4l2.c s->width * s->bpp, s->stride, desc); width 165 drivers/media/pci/cobalt/cobalt-v4l2.c sd_fmt.format.width = bt->width; width 183 drivers/media/pci/cobalt/cobalt-v4l2.c iowrite32(bt->width, &vo->sync_generator_h_active_length); width 309 drivers/media/pci/cobalt/cobalt-v4l2.c iowrite32(bt->width, &cvi->frame_width); width 322 drivers/media/pci/cobalt/cobalt-v4l2.c iowrite32(bt->width * bt->height, &fw->active_length); width 643 drivers/media/pci/cobalt/cobalt-v4l2.c s->width = timings->bt.width; width 645 drivers/media/pci/cobalt/cobalt-v4l2.c s->stride = timings->bt.width * s->bpp; width 713 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width = s->width; width 741 drivers/media/pci/cobalt/cobalt-v4l2.c if ((pix->width < 176) || (pix->height < 144)) { width 742 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width = 176; width 746 drivers/media/pci/cobalt/cobalt-v4l2.c if ((pix->width > 1920) || (pix->height > 1080)) { width 747 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width = 1920; width 752 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width &= ~0x3; width 759 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width = 1920; width 773 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width * COBALT_BYTES_PER_PIXEL_YUYV); width 778 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width * COBALT_BYTES_PER_PIXEL_RGB24); width 782 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width * COBALT_BYTES_PER_PIXEL_RGB32); width 804 drivers/media/pci/cobalt/cobalt-v4l2.c s->width = pix->width; width 832 drivers/media/pci/cobalt/cobalt-v4l2.c if ((pix->width < 176) || (pix->height < 144)) { width 833 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width = 176; width 837 drivers/media/pci/cobalt/cobalt-v4l2.c if ((pix->width > 1920) || (pix->height > 1080)) { width 838 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width = 1920; width 843 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width &= ~0x3; width 852 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width * COBALT_BYTES_PER_PIXEL_YUYV); width 857 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width * COBALT_BYTES_PER_PIXEL_RGB32); width 873 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width = s->width; width 916 drivers/media/pci/cobalt/cobalt-v4l2.c pix->width != s->width || pix->height != s->height || width 932 drivers/media/pci/cobalt/cobalt-v4l2.c s->width = pix->width; width 1111 drivers/media/pci/cobalt/cobalt-v4l2.c sel->r.width = timings.bt.width; width 1213 drivers/media/pci/cobalt/cobalt-v4l2.c s->width = 1920; width 1228 drivers/media/pci/cobalt/cobalt-v4l2.c s->stride = s->width * s->bpp; width 970 drivers/media/pci/cx18/cx18-av-core.c if ((fmt->width * 16 < Hsrc) || (Hsrc < fmt->width) || width 973 drivers/media/pci/cx18/cx18-av-core.c fmt->width, fmt->height); width 980 drivers/media/pci/cx18/cx18-av-core.c HSC = (Hsrc * (1 << 20)) / fmt->width - (1 << 20); width 984 drivers/media/pci/cx18/cx18-av-core.c if (fmt->width >= 385) width 986 drivers/media/pci/cx18/cx18-av-core.c else if (fmt->width > 192) width 988 drivers/media/pci/cx18/cx18-av-core.c else if (fmt->width > 96) width 995 drivers/media/pci/cx18/cx18-av-core.c fmt->width, fmt->height, HSC, VSC); width 85 drivers/media/pci/cx18/cx18-controls.c fmt->width = cxhdl->width / (is_mpeg1 ? 2 : 1); width 142 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->width = cx->cxhdl.width; width 207 drivers/media/pci/cx18/cx18-ioctl.c int w = fmt->fmt.pix.width; width 221 drivers/media/pci/cx18/cx18-ioctl.c fmt->fmt.pix.width = w; width 266 drivers/media/pci/cx18/cx18-ioctl.c w = fmt->fmt.pix.width; width 269 drivers/media/pci/cx18/cx18-ioctl.c if (cx->cxhdl.width == w && cx->cxhdl.height == h && width 287 drivers/media/pci/cx18/cx18-ioctl.c format.format.width = cx->cxhdl.width = w; width 456 drivers/media/pci/cx18/cx18-ioctl.c sel->r.width = 720; width 589 drivers/media/pci/cx18/cx18-ioctl.c cx->cxhdl.width = 720; width 107 drivers/media/pci/cx18/cx18-streams.c unsigned int width, unsigned int height, width 116 drivers/media/pci/cx18/cx18-streams.c if ((width < 48) || (height < 32)) width 119 drivers/media/pci/cx18/cx18-streams.c buf->vb.size = (width * height * 2); width 124 drivers/media/pci/cx18/cx18-streams.c if (buf->vb.width != width || buf->vb.height != height || width 128 drivers/media/pci/cx18/cx18-streams.c buf->vb.width = width; width 150 drivers/media/pci/cx18/cx18-streams.c buf->vb.width = width; width 187 drivers/media/pci/cx18/cx18-streams.c *size = 2 * cx->cxhdl.width * cx->cxhdl.height; width 210 drivers/media/pci/cx18/cx18-streams.c cx->cxhdl.width, cx->cxhdl.height, field); width 1019 drivers/media/pci/cx23885/cx23885-417.c dev->ts1.height, dev->ts1.width); width 1021 drivers/media/pci/cx23885/cx23885-417.c dev->cxhdl.width = dev->ts1.width; width 1357 drivers/media/pci/cx23885/cx23885-417.c f->fmt.pix.width = dev->ts1.width; width 1361 drivers/media/pci/cx23885/cx23885-417.c dev->ts1.width, dev->ts1.height); width 1377 drivers/media/pci/cx23885/cx23885-417.c dev->ts1.width, dev->ts1.height); width 1393 drivers/media/pci/cx23885/cx23885-417.c f->fmt.pix.width, f->fmt.pix.height, f->fmt.pix.field); width 1511 drivers/media/pci/cx23885/cx23885-417.c tsport->width = 720; width 1401 drivers/media/pci/cx23885/cx23885-core.c dev->width, dev->height, dev->field); width 128 drivers/media/pci/cx23885/cx23885-video.c dev->width = 720; width 134 drivers/media/pci/cx23885/cx23885-video.c format.format.width = dev->width; width 336 drivers/media/pci/cx23885/cx23885-video.c sizes[0] = (dev->fmt->depth * dev->width * dev->height) >> 3; width 350 drivers/media/pci/cx23885/cx23885-video.c buf->bpl = (dev->width * dev->fmt->depth) >> 3; width 416 drivers/media/pci/cx23885/cx23885-video.c dev->width, dev->height, dev->fmt->depth, dev->fmt->fourcc, width 532 drivers/media/pci/cx23885/cx23885-video.c f->fmt.pix.width = dev->width; width 537 drivers/media/pci/cx23885/cx23885-video.c (f->fmt.pix.width * dev->fmt->depth) >> 3; width 582 drivers/media/pci/cx23885/cx23885-video.c v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2, width 585 drivers/media/pci/cx23885/cx23885-video.c (f->fmt.pix.width * fmt->depth) >> 3; width 613 drivers/media/pci/cx23885/cx23885-video.c dev->width = f->fmt.pix.width; width 617 drivers/media/pci/cx23885/cx23885-video.c dev->width, dev->height, dev->field); width 683 drivers/media/pci/cx23885/cx23885-video.c sel->r.width = 720; width 1197 drivers/media/pci/cx23885/cx23885-video.c dev->width = 720; width 266 drivers/media/pci/cx23885/cx23885.h int width; width 424 drivers/media/pci/cx23885/cx23885.h unsigned int width, height; width 406 drivers/media/pci/cx25821/cx25821-medusa-video.c void medusa_set_resolution(struct cx25821_dev *dev, int width, width 416 drivers/media/pci/cx25821/cx25821-medusa-video.c if (width > MAX_WIDTH) { width 418 drivers/media/pci/cx25821/cx25821-medusa-video.c __func__, width, MAX_WIDTH); width 419 drivers/media/pci/cx25821/cx25821-medusa-video.c width = MAX_WIDTH; width 430 drivers/media/pci/cx25821/cx25821-medusa-video.c switch (width) { width 132 drivers/media/pci/cx25821/cx25821-video.c unsigned size = (chan->fmt->depth * chan->width * chan->height) >> 3; width 155 drivers/media/pci/cx25821/cx25821-video.c buf->bpl = (chan->fmt->depth * chan->width) >> 3; width 157 drivers/media/pci/cx25821/cx25821-video.c buf->bpl = (chan->fmt->depth >> 3) * chan->width; width 217 drivers/media/pci/cx25821/cx25821-video.c buf, buf->vb.vb2_buf.index, chan->width, chan->height, width 322 drivers/media/pci/cx25821/cx25821-video.c f->fmt.pix.width = chan->width; width 326 drivers/media/pci/cx25821/cx25821-video.c f->fmt.pix.bytesperline = (chan->width * chan->fmt->depth) >> 3; width 348 drivers/media/pci/cx25821/cx25821-video.c w = f->fmt.pix.width; width 363 drivers/media/pci/cx25821/cx25821-video.c f->fmt.pix.width = w; width 364 drivers/media/pci/cx25821/cx25821-video.c f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; width 386 drivers/media/pci/cx25821/cx25821-video.c chan->width = f->fmt.pix.width; width 397 drivers/media/pci/cx25821/cx25821-video.c if (chan->width == 320 || chan->width == 352) width 402 drivers/media/pci/cx25821/cx25821-video.c chan->cif_width = chan->width; width 403 drivers/media/pci/cx25821/cx25821-video.c medusa_set_resolution(dev, chan->width, SRAM_CH00); width 454 drivers/media/pci/cx25821/cx25821-video.c chan->width = 720; width 543 drivers/media/pci/cx25821/cx25821-video.c f->fmt.pix.width = 720; width 546 drivers/media/pci/cx25821/cx25821-video.c f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; width 565 drivers/media/pci/cx25821/cx25821-video.c chan->width = f->fmt.pix.width; width 710 drivers/media/pci/cx25821/cx25821-video.c chan->width = 720; width 210 drivers/media/pci/cx25821/cx25821.h unsigned int width, height; width 381 drivers/media/pci/cx25821/cx25821.h extern void medusa_set_resolution(struct cx25821_dev *dev, int width, width 541 drivers/media/pci/cx88/cx88-blackbird.c core->height, core->width); width 543 drivers/media/pci/cx88/cx88-blackbird.c dev->cxhdl.width = core->width; width 822 drivers/media/pci/cx88/cx88-blackbird.c f->fmt.pix.width = core->width; width 862 drivers/media/pci/cx88/cx88-blackbird.c v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2, width 880 drivers/media/pci/cx88/cx88-blackbird.c core->width = f->fmt.pix.width; width 883 drivers/media/pci/cx88/cx88-blackbird.c cx88_set_scale(core, f->fmt.pix.width, f->fmt.pix.height, width 886 drivers/media/pci/cx88/cx88-blackbird.c f->fmt.pix.height, f->fmt.pix.width); width 907 drivers/media/pci/cx88/cx88-blackbird.c cx88_set_scale(core, core->width, core->height, core->field); width 1172 drivers/media/pci/cx88/cx88-blackbird.c dev->cxhdl.width = core->width; width 3683 drivers/media/pci/cx88/cx88-cards.c core->width = 320; width 668 drivers/media/pci/cx88/cx88-core.c int cx88_set_scale(struct cx88_core *core, unsigned int width, width 675 drivers/media/pci/cx88/cx88-core.c dprintk(1, "set_scale: %dx%d [%s%s,%s]\n", width, height, width 683 drivers/media/pci/cx88/cx88-core.c value = (width * norm_hdelay(core->tvnorm)) / swidth; width 689 drivers/media/pci/cx88/cx88-core.c value = (swidth * 4096 / width) - 4096; width 694 drivers/media/pci/cx88/cx88-core.c cx_write(MO_HACTIVE_EVEN, width); width 695 drivers/media/pci/cx88/cx88-core.c cx_write(MO_HACTIVE_ODD, width); width 696 drivers/media/pci/cx88/cx88-core.c dprintk(1, "set_scale: hactive 0x%04x\n", width); width 723 drivers/media/pci/cx88/cx88-core.c if (width < 385) width 725 drivers/media/pci/cx88/cx88-core.c if (width < 193) width 79 drivers/media/pci/cx88/cx88-mpeg.c core->width, core->height, core->field); width 358 drivers/media/pci/cx88/cx88-video.c cx88_set_scale(core, core->width, core->height, core->field); width 430 drivers/media/pci/cx88/cx88-video.c sizes[0] = (dev->fmt->depth * core->width * core->height) >> 3; width 442 drivers/media/pci/cx88/cx88-video.c buf->bpl = core->width * dev->fmt->depth >> 3; width 484 drivers/media/pci/cx88/cx88-video.c core->width, core->height, dev->fmt->depth, dev->fmt->fourcc, width 712 drivers/media/pci/cx88/cx88-video.c f->fmt.pix.width = core->width; width 717 drivers/media/pci/cx88/cx88-video.c (f->fmt.pix.width * dev->fmt->depth) >> 3; width 758 drivers/media/pci/cx88/cx88-video.c v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2, width 762 drivers/media/pci/cx88/cx88-video.c (f->fmt.pix.width * fmt->depth) >> 3; width 784 drivers/media/pci/cx88/cx88-video.c core->width = f->fmt.pix.width; width 377 drivers/media/pci/cx88/cx88.h unsigned int width, height; width 638 drivers/media/pci/cx88/cx88.h int cx88_set_scale(struct cx88_core *core, unsigned int width, width 129 drivers/media/pci/dt3155/dt3155.c unsigned size = pd->width * pd->height; width 144 drivers/media/pci/dt3155/dt3155.c vb2_set_plane_payload(vb, 0, pd->width * pd->height); width 157 drivers/media/pci/dt3155/dt3155.c iowrite32(dma_addr + pd->width, pd->regs + ODD_DMA_START); width 158 drivers/media/pci/dt3155/dt3155.c iowrite32(pd->width, pd->regs + EVEN_DMA_STRIDE); width 159 drivers/media/pci/dt3155/dt3155.c iowrite32(pd->width, pd->regs + ODD_DMA_STRIDE); width 270 drivers/media/pci/dt3155/dt3155.c iowrite32(dma_addr + ipd->width, ipd->regs + ODD_DMA_START); width 271 drivers/media/pci/dt3155/dt3155.c iowrite32(ipd->width, ipd->regs + EVEN_DMA_STRIDE); width 272 drivers/media/pci/dt3155/dt3155.c iowrite32(ipd->width, ipd->regs + ODD_DMA_STRIDE); width 316 drivers/media/pci/dt3155/dt3155.c f->fmt.pix.width = pd->width; width 320 drivers/media/pci/dt3155/dt3155.c f->fmt.pix.bytesperline = f->fmt.pix.width; width 321 drivers/media/pci/dt3155/dt3155.c f->fmt.pix.sizeimage = f->fmt.pix.width * f->fmt.pix.height; width 345 drivers/media/pci/dt3155/dt3155.c pd->width = 640; width 349 drivers/media/pci/dt3155/dt3155.c pd->width = 768; width 514 drivers/media/pci/dt3155/dt3155.c pd->width = 768; width 180 drivers/media/pci/dt3155/dt3155.h unsigned width, height; width 85 drivers/media/pci/intel/ipu3/ipu3-cio2.c static inline u32 cio2_bytesperline(const unsigned int width) width 91 drivers/media/pci/intel/ipu3/ipu3-cio2.c return DIV_ROUND_UP(width, 50) * 64; width 1106 drivers/media/pci/intel/ipu3/ipu3-cio2.c if (mpix->width > CIO2_IMAGE_MAX_WIDTH) width 1107 drivers/media/pci/intel/ipu3/ipu3-cio2.c mpix->width = CIO2_IMAGE_MAX_WIDTH; width 1116 drivers/media/pci/intel/ipu3/ipu3-cio2.c mpix->plane_fmt[0].bytesperline = cio2_bytesperline(mpix->width); width 1213 drivers/media/pci/intel/ipu3/ipu3-cio2.c .width = 1936, width 1297 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->subdev_fmt.width = fmt->format.width; width 1351 drivers/media/pci/intel/ipu3/ipu3-cio2.c if (source_fmt.format.width != q->format.width || width 1355 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.width, q->format.height, width 1356 drivers/media/pci/intel/ipu3/ipu3-cio2.c source_fmt.format.width, source_fmt.format.height); width 1564 drivers/media/pci/intel/ipu3/ipu3-cio2.c fmt->width = default_width; width 1569 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.width = default_width; width 1576 drivers/media/pci/intel/ipu3/ipu3-cio2.c cio2_bytesperline(q->format.width); width 60 drivers/media/pci/ivtv/ivtv-controls.c format.format.width = cxhdl->width / (is_mpeg1 ? 2 : 1); width 239 drivers/media/pci/ivtv/ivtv-firmware.c data[1] = itv->cxhdl.width; /* YUV source width */ width 342 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->width = itv->cxhdl.width; width 408 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->width = itv->main_rect.width; width 427 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->width = itv->yuv_info.v4l2_src_w; width 457 drivers/media/pci/ivtv/ivtv-ioctl.c winfmt->w.width = itv->osd_rect.width; width 471 drivers/media/pci/ivtv/ivtv-ioctl.c int w = fmt->fmt.pix.width; width 485 drivers/media/pci/ivtv/ivtv-ioctl.c fmt->fmt.pix.width = w; width 519 drivers/media/pci/ivtv/ivtv-ioctl.c s32 w = fmt->fmt.pix.width; width 545 drivers/media/pci/ivtv/ivtv-ioctl.c fmt->fmt.pix.width = w; width 580 drivers/media/pci/ivtv/ivtv-ioctl.c int w = fmt->fmt.pix.width; width 586 drivers/media/pci/ivtv/ivtv-ioctl.c if (itv->cxhdl.width == w && itv->cxhdl.height == h) width 592 drivers/media/pci/ivtv/ivtv-ioctl.c itv->cxhdl.width = w; width 595 drivers/media/pci/ivtv/ivtv-ioctl.c fmt->fmt.pix.width /= 2; width 596 drivers/media/pci/ivtv/ivtv-ioctl.c format.format.width = fmt->fmt.pix.width; width 651 drivers/media/pci/ivtv/ivtv-ioctl.c yi->v4l2_src_w = fmt->fmt.pix.width; width 854 drivers/media/pci/ivtv/ivtv-ioctl.c r.width = yi->osd_full_w; width 857 drivers/media/pci/ivtv/ivtv-ioctl.c sel->r.width = clamp(sel->r.width, 16U, r.width); width 859 drivers/media/pci/ivtv/ivtv-ioctl.c sel->r.left = clamp_t(unsigned, sel->r.left, 0, r.width - sel->r.width); width 867 drivers/media/pci/ivtv/ivtv-ioctl.c sel->r.width, sel->r.height, sel->r.left, sel->r.top)) { width 888 drivers/media/pci/ivtv/ivtv-ioctl.c sel->r.width = 720; width 911 drivers/media/pci/ivtv/ivtv-ioctl.c r.width = yi->osd_full_w; width 1103 drivers/media/pci/ivtv/ivtv-ioctl.c itv->cxhdl.width = 720; width 1151 drivers/media/pci/ivtv/ivtv-ioctl.c itv->main_rect.width = 720; width 1402 drivers/media/pci/ivtv/ivtv-ioctl.c fb->fmt.width = itv->osd_rect.width; width 1405 drivers/media/pci/ivtv/ivtv-ioctl.c fb->fmt.bytesperline = fb->fmt.width; width 663 drivers/media/pci/ivtv/ivtv-streams.c u16 width; width 671 drivers/media/pci/ivtv/ivtv-streams.c width = itv->cxhdl.width; width 701 drivers/media/pci/ivtv/ivtv-streams.c width = 720; width 712 drivers/media/pci/ivtv/ivtv-streams.c width, height, itv->cxhdl.audio_properties)) { width 980 drivers/media/pci/ivtv/ivtv-yuv.c nf->src_w = args->src.width; width 984 drivers/media/pci/ivtv/ivtv-yuv.c nf->dst_w = args->dst.width; width 1121 drivers/media/pci/ivtv/ivtv-yuv.c dma_args.src.width = yi->v4l2_src_w; width 242 drivers/media/pci/ivtv/ivtvfb.c if ((ivtv_window->height > osd_height_limit) || (ivtv_window->width > IVTV_OSD_MAX_WIDTH)) width 252 drivers/media/pci/ivtv/ivtvfb.c if (ivtv_window->left + ivtv_window->width > IVTV_OSD_MAX_WIDTH) { width 254 drivers/media/pci/ivtv/ivtvfb.c ivtv_window->left, ivtv_window->width); width 255 drivers/media/pci/ivtv/ivtvfb.c ivtv_window->left = IVTV_OSD_MAX_WIDTH - ivtv_window->width; width 262 drivers/media/pci/ivtv/ivtvfb.c write_reg(((ivtv_window->top+ivtv_window->height) << 16) | (ivtv_window->left+ivtv_window->width), 0x02a08); width 265 drivers/media/pci/ivtv/ivtvfb.c itv->yuv_info.osd_vis_w = ivtv_window->width; width 576 drivers/media/pci/ivtv/ivtvfb.c ivtv_window.width = var->xres; width 796 drivers/media/pci/ivtv/ivtvfb.c itv->osd_rect.width = var->xres; width 986 drivers/media/pci/ivtv/ivtvfb.c start_window.width = osd_xres ? osd_xres : 640; width 989 drivers/media/pci/ivtv/ivtvfb.c if (osd_left && osd_left + start_window.width > 721) { width 998 drivers/media/pci/ivtv/ivtvfb.c osd_left : ((IVTV_OSD_MAX_WIDTH - start_window.width) / 2); width 1001 drivers/media/pci/ivtv/ivtvfb.c start_window.width * oi->bytes_per_pixel; width 1024 drivers/media/pci/ivtv/ivtvfb.c oi->display_width = start_window.width; width 1129 drivers/media/pci/meye/meye.c if (f->fmt.pix.width <= 320) { width 1130 drivers/media/pci/meye/meye.c f->fmt.pix.width = 320; width 1133 drivers/media/pci/meye/meye.c f->fmt.pix.width = 640; width 1137 drivers/media/pci/meye/meye.c f->fmt.pix.bytesperline = f->fmt.pix.width * 2; width 1159 drivers/media/pci/meye/meye.c f->fmt.pix.width = mchip_hsize(); width 1161 drivers/media/pci/meye/meye.c f->fmt.pix.bytesperline = f->fmt.pix.width * 2; width 1182 drivers/media/pci/meye/meye.c if (f->fmt.pix.width <= 320) { width 1183 drivers/media/pci/meye/meye.c f->fmt.pix.width = 320; width 1187 drivers/media/pci/meye/meye.c f->fmt.pix.width = 640; width 1202 drivers/media/pci/meye/meye.c f->fmt.pix.bytesperline = f->fmt.pix.width * 2; width 618 drivers/media/pci/ngene/ngene.h int width; width 369 drivers/media/pci/saa7134/saa7134-video.c dev->crop_bounds.width = norm->h_stop - norm->h_start +1; width 370 drivers/media/pci/saa7134/saa7134-video.c dev->crop_defrect.width = norm->h_stop - norm->h_start +1; width 525 drivers/media/pci/saa7134/saa7134-video.c int width, int height, int interlace) width 534 drivers/media/pci/saa7134/saa7134-video.c h_stop = (dev->crop_current.left + dev->crop_current.width -1); width 546 drivers/media/pci/saa7134/saa7134-video.c prescale = dev->crop_current.width / width; width 549 drivers/media/pci/saa7134/saa7134-video.c xscale = 1024 * dev->crop_current.width / prescale / width; width 558 drivers/media/pci/saa7134/saa7134-video.c saa_writeb(SAA7134_VIDEO_PIXELS1(task), width & 0xff); width 559 drivers/media/pci/saa7134/saa7134-video.c saa_writeb(SAA7134_VIDEO_PIXELS2(task), width >> 8); width 638 drivers/media/pci/saa7134/saa7134-video.c col[cols].position = clip_range(clips[i].c.left+clips[i].c.width); width 663 drivers/media/pci/saa7134/saa7134-video.c if (win->w.width < 48) width 664 drivers/media/pci/saa7134/saa7134-video.c win->w.width = 48; width 673 drivers/media/pci/saa7134/saa7134-video.c maxw = dev->crop_current.width; width 692 drivers/media/pci/saa7134/saa7134-video.c if (win->w.width > maxw) width 693 drivers/media/pci/saa7134/saa7134-video.c win->w.width = maxw; width 710 drivers/media/pci/saa7134/saa7134-video.c dev->win.w.width, dev->win.w.height, width 715 drivers/media/pci/saa7134/saa7134-video.c set_size(dev, TASK_B, dev->win.w.width, dev->win.w.height, width 831 drivers/media/pci/saa7134/saa7134-video.c set_size(dev, TASK_A, dev->width, dev->height, width 842 drivers/media/pci/saa7134/saa7134-video.c bpl = dev->width; width 844 drivers/media/pci/saa7134/saa7134-video.c bpl = (dev->width * dev->fmt->depth) / 8; width 926 drivers/media/pci/saa7134/saa7134-video.c size = (dev->width * dev->height * dev->fmt->depth) >> 3; width 943 drivers/media/pci/saa7134/saa7134-video.c int size = dev->fmt->depth * dev->width * dev->height >> 3; width 945 drivers/media/pci/saa7134/saa7134-video.c if (dev->width < 48 || width 947 drivers/media/pci/saa7134/saa7134-video.c dev->width/4 > dev->crop_current.width || width 949 drivers/media/pci/saa7134/saa7134-video.c dev->width > dev->crop_bounds.width || width 1250 drivers/media/pci/saa7134/saa7134-video.c f->fmt.pix.width = dev->width; width 1255 drivers/media/pci/saa7134/saa7134-video.c f->fmt.pix.bytesperline = f->fmt.pix.width; width 1258 drivers/media/pci/saa7134/saa7134-video.c (f->fmt.pix.width * dev->fmt->depth) / 8; width 1260 drivers/media/pci/saa7134/saa7134-video.c (f->fmt.pix.height * f->fmt.pix.width * dev->fmt->depth) / 8; width 1308 drivers/media/pci/saa7134/saa7134-video.c maxw = min(dev->crop_current.width*4, dev->crop_bounds.width); width 1327 drivers/media/pci/saa7134/saa7134-video.c if (f->fmt.pix.width < 48) width 1328 drivers/media/pci/saa7134/saa7134-video.c f->fmt.pix.width = 48; width 1331 drivers/media/pci/saa7134/saa7134-video.c if (f->fmt.pix.width > maxw) width 1332 drivers/media/pci/saa7134/saa7134-video.c f->fmt.pix.width = maxw; width 1335 drivers/media/pci/saa7134/saa7134-video.c f->fmt.pix.width &= ~0x03; width 1337 drivers/media/pci/saa7134/saa7134-video.c f->fmt.pix.bytesperline = f->fmt.pix.width; width 1340 drivers/media/pci/saa7134/saa7134-video.c (f->fmt.pix.width * fmt->depth) / 8; width 1342 drivers/media/pci/saa7134/saa7134-video.c (f->fmt.pix.height * f->fmt.pix.width * fmt->depth) / 8; width 1374 drivers/media/pci/saa7134/saa7134-video.c dev->width = f->fmt.pix.width; width 1672 drivers/media/pci/saa7134/saa7134-video.c if (c->left > b->left + b->width) width 1673 drivers/media/pci/saa7134/saa7134-video.c c->left = b->left + b->width; width 1674 drivers/media/pci/saa7134/saa7134-video.c if (c->width > b->left - c->left + b->width) width 1675 drivers/media/pci/saa7134/saa7134-video.c c->width = b->left - c->left + b->width; width 1821 drivers/media/pci/saa7134/saa7134-video.c dev->ovbuf.fmt.width*fmt->depth/8; width 2094 drivers/media/pci/saa7134/saa7134-video.c dev->width = 720; width 2097 drivers/media/pci/saa7134/saa7134-video.c dev->win.w.width = dev->width; width 2100 drivers/media/pci/saa7134/saa7134-video.c dev->ovbuf.fmt.width = dev->width; width 609 drivers/media/pci/saa7134/saa7134.h unsigned int width, height; width 280 drivers/media/pci/saa7164/saa7164-api.c ar.width = 0; width 305 drivers/media/pci/saa7164/saa7164-api.c ar.width, ar.height); width 321 drivers/media/pci/saa7164/saa7164-api.c ar.width = 1; width 325 drivers/media/pci/saa7164/saa7164-api.c ar.width = 4; width 329 drivers/media/pci/saa7164/saa7164-api.c ar.width = 16; width 333 drivers/media/pci/saa7164/saa7164-api.c ar.width = 221; width 342 drivers/media/pci/saa7164/saa7164-api.c ar.width, ar.height); width 44 drivers/media/pci/saa7164/saa7164-encoder.c port->encoder_params.width = port->width; width 522 drivers/media/pci/saa7164/saa7164-encoder.c f->fmt.pix.width = port->width; width 1017 drivers/media/pci/saa7164/saa7164-encoder.c port->width = 720; width 309 drivers/media/pci/saa7164/saa7164-types.h u8 width; width 18 drivers/media/pci/saa7164/saa7164-vbi.c port->vbi_params.width = port->enc_port->width; width 260 drivers/media/pci/saa7164/saa7164.h u32 width; width 277 drivers/media/pci/saa7164/saa7164.h u32 width; width 375 drivers/media/pci/saa7164/saa7164.h u32 width; width 27 drivers/media/pci/solo6x10/solo6x10-enc.c unsigned long width; width 50 drivers/media/pci/solo6x10/solo6x10-enc.c width = solo_dev->video_hsize; width 53 drivers/media/pci/solo6x10/solo6x10-enc.c SOLO_DIM_H_MB_NUM(width / 16) | width 58 drivers/media/pci/solo6x10/solo6x10-enc.c width = solo_dev->video_hsize / 2; width 61 drivers/media/pci/solo6x10/solo6x10-enc.c SOLO_DIM_H_MB_NUM(width / 16) | width 66 drivers/media/pci/solo6x10/solo6x10-enc.c width = solo_dev->video_hsize / 2; width 69 drivers/media/pci/solo6x10/solo6x10-enc.c SOLO_DIM_H_MB_NUM(width / 16) | width 74 drivers/media/pci/solo6x10/solo6x10-enc.c width = solo_dev->video_hsize / 3; width 77 drivers/media/pci/solo6x10/solo6x10-enc.c SOLO_DIM_H_MB_NUM(width / 16) | width 82 drivers/media/pci/solo6x10/solo6x10-enc.c width = solo_dev->video_hsize / 4; width 85 drivers/media/pci/solo6x10/solo6x10-enc.c SOLO_DIM_H_MB_NUM(width / 16) | width 90 drivers/media/pci/solo6x10/solo6x10-enc.c width = VI_PROG_HSIZE; width 93 drivers/media/pci/solo6x10/solo6x10-enc.c SOLO_DIM_H_MB_NUM(width / 16) | width 149 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c solo_enc->width = solo_dev->video_hsize >> 1; width 169 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c solo_enc->width = solo_dev->video_hsize; width 214 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c vop[SOF0_START + 7] = 0xff & (solo_enc->width >> 8); width 215 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c vop[SOF0_START + 8] = 0xff & solo_enc->width; width 857 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c if (pix->width < solo_dev->video_hsize || width 860 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c pix->width = solo_dev->video_hsize >> 1; width 864 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c pix->width = solo_dev->video_hsize; width 901 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c if (pix->width == solo_dev->video_hsize) width 929 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c pix->width = solo_enc->width; width 970 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c fsize->discrete.width = solo_dev->video_hsize >> 1; width 974 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c fsize->discrete.width = solo_dev->video_hsize; width 996 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c if ((fintv->width != solo_dev->video_hsize >> 1 || width 998 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c (fintv->width != solo_dev->video_hsize || width 474 drivers/media/pci/solo6x10/solo6x10-v4l2.c pix->width = solo_dev->video_hsize; width 502 drivers/media/pci/solo6x10/solo6x10-v4l2.c pix->width = solo_dev->video_hsize; width 154 drivers/media/pci/solo6x10/solo6x10.h u16 width; width 149 drivers/media/pci/sta2x11/sta2x11_vip.c .width = 720, width 157 drivers/media/pci/sta2x11/sta2x11_vip.c .width = 720, width 165 drivers/media/pci/sta2x11/sta2x11_vip.c .width = 720, width 177 drivers/media/pci/sta2x11/sta2x11_vip.c .width = 720, width 185 drivers/media/pci/sta2x11/sta2x11_vip.c .width = 720, width 193 drivers/media/pci/sta2x11/sta2x11_vip.c .width = 720, width 218 drivers/media/pci/sta2x11/sta2x11_vip.c offset = vip->format.width * 2; width 623 drivers/media/pci/sta2x11/sta2x11_vip.c f->fmt.pix.width = 720; width 624 drivers/media/pci/sta2x11/sta2x11_vip.c f->fmt.pix.bytesperline = f->fmt.pix.width * 2; width 625 drivers/media/pci/sta2x11/sta2x11_vip.c f->fmt.pix.sizeimage = f->fmt.pix.width * 2 * f->fmt.pix.height; width 661 drivers/media/pci/sta2x11/sta2x11_vip.c (2 * vip->format.width - 1); width 663 drivers/media/pci/sta2x11/sta2x11_vip.c pitch = 4 * vip->format.width; width 667 drivers/media/pci/sta2x11/sta2x11_vip.c (2 * vip->format.width - 1); width 668 drivers/media/pci/sta2x11/sta2x11_vip.c b_stop = (0 << 16) | (2 * vip->format.width - 1); width 669 drivers/media/pci/sta2x11/sta2x11_vip.c pitch = 2 * vip->format.width; width 672 drivers/media/pci/sta2x11/sta2x11_vip.c t_stop = (0 << 16) | (2 * vip->format.width - 1); width 674 drivers/media/pci/sta2x11/sta2x11_vip.c (2 * vip->format.width - 1); width 675 drivers/media/pci/sta2x11/sta2x11_vip.c pitch = 2 * vip->format.width; width 826 drivers/media/pci/ttpci/av7110_hw.c u16 width, u16 height) width 829 drivers/media/pci/ttpci/av7110_hw.c windownr, disptype, width, height); width 101 drivers/media/pci/tw5864/tw5864-h264.c static int tw5864_h264_gen_sps_rbsp(u8 *buf, size_t size, int width, int height) width 120 drivers/media/pci/tw5864/tw5864-h264.c bs_write_ue(s, width / 16 - 1); /* pic_width_in_mbs_minus1 */ width 198 drivers/media/pci/tw5864/tw5864-h264.c int width, int height) width 211 drivers/media/pci/tw5864/tw5864-h264.c nal_len = tw5864_h264_gen_sps_rbsp(*buf, *space_left, width, height); width 258 drivers/media/pci/tw5864/tw5864-video.c input->width = d1_width; width 278 drivers/media/pci/tw5864/tw5864-video.c input->width /= 2; width 292 drivers/media/pci/tw5864/tw5864-video.c input->width /= 2; width 304 drivers/media/pci/tw5864/tw5864-video.c input->width /= 4; width 321 drivers/media/pci/tw5864/tw5864-video.c tw_indir_writeb(TW5864_INDIR_OUT_PIC_WIDTH(nr), input->width / 4); width 328 drivers/media/pci/tw5864/tw5864-video.c input->width = 704; width 334 drivers/media/pci/tw5864/tw5864-video.c ((input->width / 16) << 8) | (input->height / 16)); width 535 drivers/media/pci/tw5864/tw5864-video.c f->fmt.pix.width = 704; width 743 drivers/media/pci/tw5864/tw5864-video.c fsize->discrete.width = 704; width 763 drivers/media/pci/tw5864/tw5864-video.c if (fintv->width != fsize.discrete.width || width 1253 drivers/media/pci/tw5864/tw5864-video.c input->width, input->height); width 94 drivers/media/pci/tw5864/tw5864.h unsigned int width, height; width 191 drivers/media/pci/tw5864/tw5864.h int width, int height); width 214 drivers/media/pci/tw68/tw68-video.c dev->width = 720; width 250 drivers/media/pci/tw68/tw68-video.c static int tw68_set_scale(struct tw68_dev *dev, unsigned int width, width 264 drivers/media/pci/tw68/tw68-video.c __func__, width, height, V4L2_FIELD_HAS_BOTH(field), width 281 drivers/media/pci/tw68/tw68-video.c hscale = (hactive * 256) / (width); width 288 drivers/media/pci/tw68/tw68-video.c width, height, width 323 drivers/media/pci/tw68/tw68-video.c tw68_set_scale(dev, dev->width, dev->height, dev->field); width 364 drivers/media/pci/tw68/tw68-video.c unsigned size = (dev->fmt->depth * dev->width * dev->height) >> 3; width 447 drivers/media/pci/tw68/tw68-video.c size = (dev->width * dev->height * dev->fmt->depth) >> 3; width 452 drivers/media/pci/tw68/tw68-video.c bpl = (dev->width * dev->fmt->depth) >> 3; width 576 drivers/media/pci/tw68/tw68-video.c f->fmt.pix.width = dev->width; width 581 drivers/media/pci/tw68/tw68-video.c (f->fmt.pix.width * (dev->fmt->depth)) >> 3; width 620 drivers/media/pci/tw68/tw68-video.c if (f->fmt.pix.width < 48) width 621 drivers/media/pci/tw68/tw68-video.c f->fmt.pix.width = 48; width 624 drivers/media/pci/tw68/tw68-video.c if (f->fmt.pix.width > 720) width 625 drivers/media/pci/tw68/tw68-video.c f->fmt.pix.width = 720; width 628 drivers/media/pci/tw68/tw68-video.c f->fmt.pix.width &= ~0x03; width 630 drivers/media/pci/tw68/tw68-video.c (f->fmt.pix.width * (fmt->depth)) >> 3; width 654 drivers/media/pci/tw68/tw68-video.c dev->width = f->fmt.pix.width; width 941 drivers/media/pci/tw68/tw68-video.c dev->width = 720; width 153 drivers/media/pci/tw68/tw68.h unsigned width, height; width 112 drivers/media/pci/tw686x/tw686x-video.c len = (vc->width * vc->height * vc->format->depth) >> 3; width 237 drivers/media/pci/tw686x/tw686x-video.c buf_len = (vc->width * vc->height * vc->format->depth) >> 3; width 428 drivers/media/pci/tw686x/tw686x-video.c (vc->width * vc->height * vc->format->depth) >> 3; width 568 drivers/media/pci/tw686x/tw686x-video.c (vc->width * vc->height * vc->format->depth) >> 3; width 629 drivers/media/pci/tw686x/tw686x-video.c f->fmt.pix.width = vc->width; width 634 drivers/media/pci/tw686x/tw686x-video.c f->fmt.pix.bytesperline = (f->fmt.pix.width * vc->format->depth) / 8; width 653 drivers/media/pci/tw686x/tw686x-video.c if (f->fmt.pix.width <= TW686X_VIDEO_WIDTH / 2) width 654 drivers/media/pci/tw686x/tw686x-video.c f->fmt.pix.width = TW686X_VIDEO_WIDTH / 2; width 656 drivers/media/pci/tw686x/tw686x-video.c f->fmt.pix.width = TW686X_VIDEO_WIDTH; width 663 drivers/media/pci/tw686x/tw686x-video.c f->fmt.pix.bytesperline = (f->fmt.pix.width * format->depth) / 8; width 672 drivers/media/pci/tw686x/tw686x-video.c unsigned int pixelformat, unsigned int width, width 680 drivers/media/pci/tw686x/tw686x-video.c vc->width = width; width 700 drivers/media/pci/tw686x/tw686x-video.c if (vc->width <= TW686X_VIDEO_WIDTH / 2) width 728 drivers/media/pci/tw686x/tw686x-video.c dma_width = (vc->width * 2) & 0x7ff; width 730 drivers/media/pci/tw686x/tw686x-video.c dma_line_width = (vc->width * 2) & 0x7ff; width 747 drivers/media/pci/tw686x/tw686x-video.c area = vc->width * vc->height; width 752 drivers/media/pci/tw686x/tw686x-video.c realloc = area != (f->fmt.pix.width * f->fmt.pix.height); width 754 drivers/media/pci/tw686x/tw686x-video.c f->fmt.pix.width, f->fmt.pix.height, width 93 drivers/media/pci/tw686x/tw686x.h unsigned int width, height; width 61 drivers/media/platform/am437x/am437x-vpfe.c unsigned int width; width 73 drivers/media/platform/am437x/am437x-vpfe.c unsigned int width; width 100 drivers/media/platform/am437x/am437x-vpfe.c .l.width = 10, width 102 drivers/media/platform/am437x/am437x-vpfe.c .s.width = 8, width 108 drivers/media/platform/am437x/am437x-vpfe.c .l.width = 10, width 110 drivers/media/platform/am437x/am437x-vpfe.c .s.width = 8, width 116 drivers/media/platform/am437x/am437x-vpfe.c .l.width = 10, width 118 drivers/media/platform/am437x/am437x-vpfe.c .s.width = 8, width 124 drivers/media/platform/am437x/am437x-vpfe.c .l.width = 10, width 126 drivers/media/platform/am437x/am437x-vpfe.c .s.width = 8, width 132 drivers/media/platform/am437x/am437x-vpfe.c .l.width = 10, width 134 drivers/media/platform/am437x/am437x-vpfe.c .s.width = 8, width 140 drivers/media/platform/am437x/am437x-vpfe.c .l.width = 10, width 142 drivers/media/platform/am437x/am437x-vpfe.c .s.width = 8, width 148 drivers/media/platform/am437x/am437x-vpfe.c .l.width = 10, width 150 drivers/media/platform/am437x/am437x-vpfe.c .s.width = 8, width 156 drivers/media/platform/am437x/am437x-vpfe.c .l.width = 10, width 158 drivers/media/platform/am437x/am437x-vpfe.c .s.width = 8, width 164 drivers/media/platform/am437x/am437x-vpfe.c .l.width = 10, width 166 drivers/media/platform/am437x/am437x-vpfe.c .s.width = 8, width 172 drivers/media/platform/am437x/am437x-vpfe.c .l.width = 10, width 174 drivers/media/platform/am437x/am437x-vpfe.c .s.width = 8, width 234 drivers/media/platform/am437x/am437x-vpfe.c pix->bytesperline = ALIGN(pix->width * *bpp, 32); width 274 drivers/media/platform/am437x/am437x-vpfe.c lhs->fmt.pix.width == rhs->fmt.pix.width && width 339 drivers/media/platform/am437x/am437x-vpfe.c horz_nr_pixels = (image_win->width * bpp) - 1; width 822 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.bayer.bytesperline = ALIGN(win->width * bpp, 32); width 826 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.ycbcr.bytesperline = ALIGN(win->width * bpp, 32); width 977 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.ycbcr.win.width = 720; width 989 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.bayer.win.width = 800; width 1009 drivers/media/platform/am437x/am437x-vpfe.c f->fmt.pix.width = image_win.width; width 1103 drivers/media/platform/am437x/am437x-vpfe.c vpfe_standards[i].width; width 1120 drivers/media/platform/am437x/am437x-vpfe.c vpfe->crop.width = vpfe->std_info.active_pixels; width 1122 drivers/media/platform/am437x/am437x-vpfe.c pix->width = vpfe->crop.width; width 1137 drivers/media/platform/am437x/am437x-vpfe.c vpfe->crop.width = pix->width; width 1444 drivers/media/platform/am437x/am437x-vpfe.c __func__, format->fmt.pix.width, format->fmt.pix.height, width 1481 drivers/media/platform/am437x/am437x-vpfe.c __func__, format->fmt.pix.width, format->fmt.pix.height, width 1583 drivers/media/platform/am437x/am437x-vpfe.c vpfe->crop.width = fmt->fmt.pix.width; width 1620 drivers/media/platform/am437x/am437x-vpfe.c pix.width = 640; width 1640 drivers/media/platform/am437x/am437x-vpfe.c fsize->discrete.width = fse.max_width; width 1645 drivers/media/platform/am437x/am437x-vpfe.c fsize->discrete.width, fsize->discrete.height); width 1882 drivers/media/platform/am437x/am437x-vpfe.c vpfe->field_off = image_win.height * image_win.width; width 2100 drivers/media/platform/am437x/am437x-vpfe.c s->r.width = vpfe_standards[vpfe->std_index].width; width 2120 drivers/media/platform/am437x/am437x-vpfe.c if (a->left + a->width > b->left + b->width) width 2146 drivers/media/platform/am437x/am437x-vpfe.c v4l_bound_align_image(&r.width, 0, cr.width, 0, width 2149 drivers/media/platform/am437x/am437x-vpfe.c r.left = clamp_t(unsigned int, r.left, 0, cr.width - r.width); width 2161 drivers/media/platform/am437x/am437x-vpfe.c vpfe->fmt.fmt.pix.width = r.width; width 2168 drivers/media/platform/am437x/am437x-vpfe.c r.left, r.top, r.width, r.height, cr.width, cr.height); width 131 drivers/media/platform/am437x/am437x-vpfe.h static inline u8 ccdc_gamma_width_max_bit(enum vpfe_ccdc_gamma_width width) width 133 drivers/media/platform/am437x/am437x-vpfe.h return 15 - width; width 742 drivers/media/platform/aspeed-video.c det->width = MIN_WIDTH; width 819 drivers/media/platform/aspeed-video.c det->width = (video->frame_right - video->frame_left) + 1; width 831 drivers/media/platform/aspeed-video.c dev_dbg(video->dev, "Got resolution: %dx%d\n", det->width, width 838 drivers/media/platform/aspeed-video.c unsigned int size = act->width * act->height; width 843 drivers/media/platform/aspeed-video.c if (video->active_timings.width == 1680) { width 857 drivers/media/platform/aspeed-video.c act->width << 16 | act->height); width 860 drivers/media/platform/aspeed-video.c act->width << 16 | act->height); width 861 drivers/media/platform/aspeed-video.c aspeed_video_write(video, VE_SRC_SCANLINE_OFFSET, act->width * 4); width 961 drivers/media/platform/aspeed-video.c video->pix_fmt.width = video->active_timings.width; width 1101 drivers/media/platform/aspeed-video.c fsize->discrete.width = video->pix_fmt.width; width 1116 drivers/media/platform/aspeed-video.c if (fival->width != video->detected_timings.width || width 1139 drivers/media/platform/aspeed-video.c if (timings->bt.width == video->active_timings.width && width 1150 drivers/media/platform/aspeed-video.c video->pix_fmt.width = timings->bt.width; width 1330 drivers/media/platform/aspeed-video.c if (video->detected_timings.width != video->active_timings.width || width 577 drivers/media/platform/atmel/atmel-isc-base.c w = isc->fmt.fmt.pix.width; width 1260 drivers/media/platform/atmel/atmel-isc-base.c if (pixfmt->width > ISC_MAX_SUPPORT_WIDTH) width 1261 drivers/media/platform/atmel/atmel-isc-base.c pixfmt->width = ISC_MAX_SUPPORT_WIDTH; width 1302 drivers/media/platform/atmel/atmel-isc-base.c pixfmt->bytesperline = (pixfmt->width * isc->try_config.bpp) >> 3; width 1442 drivers/media/platform/atmel/atmel-isc-base.c fsize->discrete.width = fse.max_width; width 1454 drivers/media/platform/atmel/atmel-isc-base.c .width = fival->width, width 1997 drivers/media/platform/atmel/atmel-isc-base.c .width = VGA_WIDTH, width 158 drivers/media/platform/atmel/atmel-isi.c cfg2 |= ((isi->fmt.fmt.pix.width - 1) << ISI_CFG2_IM_HSIZE_OFFSET) & width 166 drivers/media/platform/atmel/atmel-isi.c psize = ((isi->fmt.fmt.pix.width - 1) << ISI_PSIZE_PREV_HSIZE_OFFSET) & width 575 drivers/media/platform/atmel/atmel-isi.c pixfmt->width = clamp(pixfmt->width, 0U, MAX_SUPPORT_WIDTH); width 587 drivers/media/platform/atmel/atmel-isi.c pixfmt->bytesperline = pixfmt->width * isi_fmt->bpp; width 722 drivers/media/platform/atmel/atmel-isi.c fsize->discrete.width = fse.max_width; width 735 drivers/media/platform/atmel/atmel-isi.c .width = fival->width, width 936 drivers/media/platform/atmel/atmel-isi.c .width = VGA_WIDTH, width 134 drivers/media/platform/cadence/cdns-csi2tx.c .width = 1280, width 366 drivers/media/platform/cadence/cdns-csi2tx.c writel(CSI2TX_DT_FORMAT_BYTES_PER_LINE(mfmt->width * fmt->bpp) | width 487 drivers/media/platform/coda/coda-bit.c ysize = round_up(q_data->rect.width, 16) * width 490 drivers/media/platform/coda/coda-bit.c ysize = round_up(q_data->rect.width, 8) * q_data->rect.height; width 586 drivers/media/platform/coda/coda-bit.c size = (DIV_ROUND_UP(q_data->rect.width, 16) * width 646 drivers/media/platform/coda/coda-bit.c if (r->width % 16 || r->height % 16) { width 647 drivers/media/platform/coda/coda-bit.c u32 crop_right = round_up(r->width, 16) - r->width; width 834 drivers/media/platform/coda/coda-bit.c mb_width = DIV_ROUND_UP(q_data_src->rect.width, 16); width 874 drivers/media/platform/coda/coda-bit.c mb_width = DIV_ROUND_UP(q_data_dst->width, 16); width 1130 drivers/media/platform/coda/coda-bit.c value = (q_data_src->rect.width & CODADX6_PICWIDTH_MASK) width 1138 drivers/media/platform/coda/coda-bit.c value = (round_up(q_data_src->rect.width, 16) & width 1146 drivers/media/platform/coda/coda-bit.c value = (q_data_src->rect.width & CODA7_PICWIDTH_MASK) width 1372 drivers/media/platform/coda/coda-bit.c q_data_src->rect.width, q_data_src->rect.height, width 1401 drivers/media/platform/coda/coda-bit.c ((q_data_src->rect.width % 16) || width 1403 drivers/media/platform/coda/coda-bit.c ret = coda_h264_sps_fixup(ctx, q_data_src->rect.width, width 1837 drivers/media/platform/coda/coda-bit.c int width, height; width 1930 drivers/media/platform/coda/coda-bit.c width = (val >> CODADX6_PICWIDTH_OFFSET) & CODADX6_PICWIDTH_MASK; width 1933 drivers/media/platform/coda/coda-bit.c width = (val >> CODA7_PICWIDTH_OFFSET) & CODA7_PICWIDTH_MASK; width 1937 drivers/media/platform/coda/coda-bit.c if (width > q_data_dst->bytesperline || height > q_data_dst->height) { width 1939 drivers/media/platform/coda/coda-bit.c width, height, q_data_dst->bytesperline, width 1944 drivers/media/platform/coda/coda-bit.c width = round_up(width, 16); width 1947 drivers/media/platform/coda/coda-bit.c coda_dbg(1, ctx, "start decoding: %dx%d\n", width, height); width 1975 drivers/media/platform/coda/coda-bit.c q_data_dst->rect.width = width - q_data_dst->rect.left - width 2047 drivers/media/platform/coda/coda-bit.c coda_write(dev, round_up(q_data_dst->rect.width, 16), width 2259 drivers/media/platform/coda/coda-bit.c int width, height; width 2305 drivers/media/platform/coda/coda-bit.c width = (val >> 16) & 0xffff; width 2325 drivers/media/platform/coda/coda-bit.c rect->width = width - rect->left - width 436 drivers/media/platform/coda/coda-common.c f->fmt.pix.width = q_data->width; width 497 drivers/media/platform/coda/coda-common.c err = vdoa_context_configure(NULL, round_up(f->fmt.pix.width, 16), width 509 drivers/media/platform/coda/coda-common.c u32 width, u32 height) width 516 drivers/media/platform/coda/coda-common.c return round_up(clamp(sizeimage, width * height / 8, width 517 drivers/media/platform/coda/coda-common.c width * height * 2), PAGE_SIZE); width 538 drivers/media/platform/coda/coda-common.c v4l_bound_align_image(&f->fmt.pix.width, MIN_W, max_w, W_ALIGN, width 550 drivers/media/platform/coda/coda-common.c f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16); width 555 drivers/media/platform/coda/coda-common.c f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16) * 2; width 560 drivers/media/platform/coda/coda-common.c f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16); width 571 drivers/media/platform/coda/coda-common.c f->fmt.pix.width, width 603 drivers/media/platform/coda/coda-common.c f->fmt.pix.width = q_data_src->width; width 625 drivers/media/platform/coda/coda-common.c f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16); width 637 drivers/media/platform/coda/coda-common.c f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 16) * 2; width 652 drivers/media/platform/coda/coda-common.c else if (fmt->width <= 720 && fmt->height <= 576) width 706 drivers/media/platform/coda/coda-common.c q_data->width = f->fmt.pix.width; width 715 drivers/media/platform/coda/coda-common.c q_data->rect.width = f->fmt.pix.width; width 741 drivers/media/platform/coda/coda-common.c round_up(f->fmt.pix.width, 16), width 748 drivers/media/platform/coda/coda-common.c v4l2_type_names[f->type], q_data->width, q_data->height, width 771 drivers/media/platform/coda/coda-common.c r.width = q_data_src->width; width 848 drivers/media/platform/coda/coda-common.c f_cap.fmt.pix.width = f->fmt.pix.width; width 926 drivers/media/platform/coda/coda-common.c r.width = q_data->width; width 973 drivers/media/platform/coda/coda-common.c s->r.width = clamp(s->r.width, 2U, q_data->width); width 977 drivers/media/platform/coda/coda-common.c s->r.width = round_up(s->r.width, 2); width 980 drivers/media/platform/coda/coda-common.c s->r.width = round_down(s->r.width, 2); width 987 drivers/media/platform/coda/coda-common.c s->r.width, s->r.height); width 1545 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_SRC].width = max_w; width 1547 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_DST].width = max_w; width 1560 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_SRC].rect.width = max_w; width 1562 drivers/media/platform/coda/coda-common.c ctx->q_data[V4L2_M2M_DST].rect.width = max_w; width 1886 drivers/media/platform/coda/coda-common.c if ((q_data_src->rect.width != q_data_dst->width && width 1887 drivers/media/platform/coda/coda-common.c round_up(q_data_src->rect.width, 16) != q_data_dst->width) || width 1891 drivers/media/platform/coda/coda-common.c q_data_src->rect.width, q_data_src->rect.height, width 1892 drivers/media/platform/coda/coda-common.c q_data_dst->width, q_data_dst->height); width 250 drivers/media/platform/coda/coda-h264.c int coda_h264_sps_fixup(struct coda_ctx *ctx, int width, int height, char *buf, width 392 drivers/media/platform/coda/coda-h264.c crop_right = round_up(width, 16) - width; width 160 drivers/media/platform/coda/coda.h unsigned int width; width 351 drivers/media/platform/coda/coda.h int coda_h264_sps_fixup(struct coda_ctx *ctx, int width, int height, char *buf, width 85 drivers/media/platform/coda/imx-vdoa.c unsigned int width; width 172 drivers/media/platform/coda/imx-vdoa.c writel(dst_q_data->height << 16 | dst_q_data->width, width 236 drivers/media/platform/coda/imx-vdoa.c unsigned int width, unsigned int height, width 242 drivers/media/platform/coda/imx-vdoa.c if (width < 16 || width > 8192 || width % 16 != 0 || width 257 drivers/media/platform/coda/imx-vdoa.c src_q_data->width = width; width 259 drivers/media/platform/coda/imx-vdoa.c src_q_data->bytesperline = width; width 264 drivers/media/platform/coda/imx-vdoa.c dst_q_data->width = width; width 269 drivers/media/platform/coda/imx-vdoa.c dst_q_data->bytesperline = width * 2; width 274 drivers/media/platform/coda/imx-vdoa.c dst_q_data->bytesperline = width; width 16 drivers/media/platform/coda/imx-vdoa.h unsigned int width, unsigned int height, width 31 drivers/media/platform/coda/imx-vdoa.h unsigned int width, width 220 drivers/media/platform/davinci/dm355_ccdc.c horz_nr_pixels = ((image_win->width) << (ppc - 1)) - 1; width 300 drivers/media/platform/davinci/dm355_ccdc.c regw(((params->win.width * 2 + 31) >> 5), HSIZE); width 627 drivers/media/platform/davinci/dm355_ccdc.c val |= (((params->win.width) + 31) >> 5) & width 632 drivers/media/platform/davinci/dm355_ccdc.c (((params->win.width) + 31) >> 5) & width 636 drivers/media/platform/davinci/dm355_ccdc.c val |= (((params->win.width * 2) + 31) >> 5) & width 640 drivers/media/platform/davinci/dm355_ccdc.c (((params->win.width * 2) + 31) >> 5) & width 780 drivers/media/platform/davinci/dm355_ccdc.c len = ccdc_cfg.bayer.win.width; width 782 drivers/media/platform/davinci/dm355_ccdc.c len = ccdc_cfg.bayer.win.width * 2; width 784 drivers/media/platform/davinci/dm355_ccdc.c len = ccdc_cfg.ycbcr.win.width * 2; width 131 drivers/media/platform/davinci/dm644x_ccdc.c horz_nr_pixels = (image_win->width << (ppc - 1)) - 1; width 312 drivers/media/platform/davinci/dm644x_ccdc.c regw(((params->win.width * 2 + 31) & ~0x1f), CCDC_HSIZE_OFF); width 450 drivers/media/platform/davinci/dm644x_ccdc.c (params->win.width & CCDC_FMT_HORZ_FMTLNH_MASK); width 475 drivers/media/platform/davinci/dm644x_ccdc.c regw((params->win.width + CCDC_32BYTE_ALIGN_VAL) & width 479 drivers/media/platform/davinci/dm644x_ccdc.c regw(((params->win.width * CCDC_TWO_BYTES_PER_PIXEL) + width 514 drivers/media/platform/davinci/dm644x_ccdc.c val |= ((((params->win.width))) & CCDC_VP_OUT_HORZ_NUM_MASK) width 634 drivers/media/platform/davinci/dm644x_ccdc.c len = ccdc_cfg.bayer.win.width; width 636 drivers/media/platform/davinci/dm644x_ccdc.c len = ccdc_cfg.bayer.win.width * 2; width 638 drivers/media/platform/davinci/dm644x_ccdc.c len = ccdc_cfg.ycbcr.win.width * 2; width 282 drivers/media/platform/davinci/isif.c horz_nr_pixels = ((image_win->width) << (ppc - 1)) - 1; width 621 drivers/media/platform/davinci/isif.c val |= ((params->win.width + 31) >> 5); width 623 drivers/media/platform/davinci/isif.c val |= (((params->win.width + width 624 drivers/media/platform/davinci/isif.c (params->win.width >> 2)) + 31) >> 5); width 626 drivers/media/platform/davinci/isif.c val |= (((params->win.width * 2) + 31) >> 5); width 681 drivers/media/platform/davinci/isif.c frame_size.hlpfr = isif_cfg.bayer.win.width; width 784 drivers/media/platform/davinci/isif.c isif_cfg.bayer.win.width = win->width; width 789 drivers/media/platform/davinci/isif.c isif_cfg.ycbcr.win.width = win->width; width 809 drivers/media/platform/davinci/isif.c len = ((isif_cfg.bayer.win.width)); width 811 drivers/media/platform/davinci/isif.c len = (((isif_cfg.bayer.win.width * 2) + width 812 drivers/media/platform/davinci/isif.c (isif_cfg.bayer.win.width >> 2))); width 814 drivers/media/platform/davinci/isif.c len = (((isif_cfg.bayer.win.width * 2))); width 816 drivers/media/platform/davinci/isif.c len = (((isif_cfg.ycbcr.win.width * 2))); width 958 drivers/media/platform/davinci/isif.c regw(((((params->win.width * 2) + 31) & 0xffffffe0) >> 5), HSIZE); width 448 drivers/media/platform/davinci/vpbe_display.c cfg->xsize = pixfmt->width; width 455 drivers/media/platform/davinci/vpbe_display.c if (pixfmt->width < expected_xsize) { width 456 drivers/media/platform/davinci/vpbe_display.c h_scale = vpbe_dev->current_timings.xres / pixfmt->width; width 544 drivers/media/platform/davinci/vpbe_display.c if ((c->width == 0) || width 545 drivers/media/platform/davinci/vpbe_display.c ((c->width + c->left) > vpbe_dev->current_timings.xres)) width 546 drivers/media/platform/davinci/vpbe_display.c c->width = vpbe_dev->current_timings.xres - c->left; width 601 drivers/media/platform/davinci/vpbe_display.c if (!pixfmt->width || (pixfmt->width < min_width) || width 602 drivers/media/platform/davinci/vpbe_display.c (pixfmt->width > max_width)) { width 603 drivers/media/platform/davinci/vpbe_display.c pixfmt->width = vpbe_dev->current_timings.xres; width 611 drivers/media/platform/davinci/vpbe_display.c if (pixfmt->bytesperline < (pixfmt->width * bpp)) width 612 drivers/media/platform/davinci/vpbe_display.c pixfmt->bytesperline = pixfmt->width * bpp; width 615 drivers/media/platform/davinci/vpbe_display.c pixfmt->bytesperline = ((pixfmt->width * bpp + 31) & ~31); width 670 drivers/media/platform/davinci/vpbe_display.c rect.width, width 731 drivers/media/platform/davinci/vpbe_display.c rect->width = cfg->xsize; width 738 drivers/media/platform/davinci/vpbe_display.c rect->width = vpbe_dev->current_timings.xres; width 858 drivers/media/platform/davinci/vpbe_display.c cfg->xsize = pixfmt->width; width 84 drivers/media/platform/davinci/vpfe_capture.c unsigned int width; width 308 drivers/media/platform/davinci/vpfe_capture.c vpfe_standards[i].width; width 325 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->crop.width = vpfe_dev->std_info.active_pixels; width 327 drivers/media/platform/davinci/vpfe_capture.c pix->width = vpfe_dev->crop.width; width 355 drivers/media/platform/davinci/vpfe_capture.c pix->bytesperline = pix->width * 2; width 816 drivers/media/platform/davinci/vpfe_capture.c pixfmt->width, pixfmt->height, vpfe_pix_fmt->bpp); width 818 drivers/media/platform/davinci/vpfe_capture.c pixfmt->width = clamp((pixfmt->width), min_width, max_width); width 828 drivers/media/platform/davinci/vpfe_capture.c pixfmt->bytesperline = (((pixfmt->width * vpfe_pix_fmt->bpp) + 31) width 838 drivers/media/platform/davinci/vpfe_capture.c pixfmt->width, pixfmt->height, vpfe_pix_fmt->bpp, width 1188 drivers/media/platform/davinci/vpfe_capture.c vb->width = vpfe_dev->fmt.fmt.pix.width; width 1370 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->field_off = image_win.height * image_win.width; width 1549 drivers/media/platform/davinci/vpfe_capture.c sel->r.width = vpfe_standards[vpfe_dev->std_index].width; width 1590 drivers/media/platform/davinci/vpfe_capture.c rect.width = ((rect.width + 15) & ~0xf); width 1593 drivers/media/platform/davinci/vpfe_capture.c if ((rect.left + rect.width > width 1602 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->fmt.fmt.pix.width = rect.width; width 59 drivers/media/platform/davinci/vpif.c .width = 720, width 76 drivers/media/platform/davinci/vpif.c .width = 720, width 93 drivers/media/platform/davinci/vpif.c .width = 1280, width 110 drivers/media/platform/davinci/vpif.c .width = 1280, width 127 drivers/media/platform/davinci/vpif.c .width = 1920, width 147 drivers/media/platform/davinci/vpif.c .width = 1920, width 167 drivers/media/platform/davinci/vpif.c .width = 1920, width 186 drivers/media/platform/davinci/vpif.c .width = 720, width 206 drivers/media/platform/davinci/vpif.c .width = 720, width 622 drivers/media/platform/davinci/vpif.h u16 width; /* Indicates width of the image */ width 475 drivers/media/platform/davinci/vpif_capture.c if (pixfmt->width && pixfmt->height) { width 521 drivers/media/platform/davinci/vpif_capture.c common->fmt.fmt.pix.width = std_info->width; width 522 drivers/media/platform/davinci/vpif_capture.c common->width = std_info->width; width 525 drivers/media/platform/davinci/vpif_capture.c common->fmt.fmt.pix.sizeimage = common->height * common->width * 2; width 526 drivers/media/platform/davinci/vpif_capture.c common->fmt.fmt.pix.bytesperline = std_info->width; width 527 drivers/media/platform/davinci/vpif_capture.c vpifparams->video_params.hpitch = std_info->width; width 967 drivers/media/platform/davinci/vpif_capture.c pixfmt->bytesperline = common->fmt.fmt.pix.width; width 968 drivers/media/platform/davinci/vpif_capture.c pixfmt->width = common->fmt.fmt.pix.width; width 972 drivers/media/platform/davinci/vpif_capture.c pixfmt->bytesperline = common->fmt.fmt.pix.width * 2; width 977 drivers/media/platform/davinci/vpif_capture.c pixfmt->width, pixfmt->height, width 1015 drivers/media/platform/davinci/vpif_capture.c pix_fmt->bytesperline = pix_fmt->width; width 1019 drivers/media/platform/davinci/vpif_capture.c pix_fmt->bytesperline = pix_fmt->width * 2; width 1023 drivers/media/platform/davinci/vpif_capture.c pix_fmt->bytesperline = pix_fmt->width * 2; width 1030 drivers/media/platform/davinci/vpif_capture.c pix_fmt->width, pix_fmt->height, width 1200 drivers/media/platform/davinci/vpif_capture.c if (!(timings->bt.width && timings->bt.height && width 1216 drivers/media/platform/davinci/vpif_capture.c std_info->sav2eav = bt->width; width 1240 drivers/media/platform/davinci/vpif_capture.c std_info->width = bt->width; width 73 drivers/media/platform/davinci/vpif_capture.h u32 width; width 473 drivers/media/platform/davinci/vpif_display.c common->fmt.fmt.pix.width = std_info->width; width 476 drivers/media/platform/davinci/vpif_display.c common->fmt.fmt.pix.width, common->fmt.fmt.pix.height); width 480 drivers/media/platform/davinci/vpif_display.c common->width = std_info->width; width 481 drivers/media/platform/davinci/vpif_display.c common->fmt.fmt.pix.sizeimage = common->height * common->width * 2; width 643 drivers/media/platform/davinci/vpif_display.c pixfmt->bytesperline = common->fmt.fmt.pix.width; width 644 drivers/media/platform/davinci/vpif_display.c pixfmt->width = common->fmt.fmt.pix.width; width 707 drivers/media/platform/davinci/vpif_display.c common->fmt.fmt.pix.bytesperline = common->fmt.fmt.pix.width; width 946 drivers/media/platform/davinci/vpif_display.c if (!(timings->bt.width && timings->bt.height && width 962 drivers/media/platform/davinci/vpif_display.c std_info->sav2eav = bt->width; width 986 drivers/media/platform/davinci/vpif_display.c std_info->width = bt->width; width 96 drivers/media/platform/davinci/vpif_display.h u32 width; width 230 drivers/media/platform/exynos-gsc/gsc-core.c void gsc_set_frame_size(struct gsc_frame *frame, int width, int height) width 232 drivers/media/platform/exynos-gsc/gsc-core.c frame->f_width = width; width 234 drivers/media/platform/exynos-gsc/gsc-core.c frame->crop.width = width; width 292 drivers/media/platform/exynos-gsc/gsc-core.c remainder = s_frame->crop.width % (*wratio * walign); width 294 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.width -= remainder; width 295 drivers/media/platform/exynos-gsc/gsc-core.c gsc_cal_prescaler_ratio(var, s_frame->crop.width, tx, wratio); width 297 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.width + remainder, s_frame->crop.width); width 400 drivers/media/platform/exynos-gsc/gsc-core.c pr_debug("user put w: %d, h: %d", pix_mp->width, pix_mp->height); width 439 drivers/media/platform/exynos-gsc/gsc-core.c tmp_w = pix_mp->width; width 442 drivers/media/platform/exynos-gsc/gsc-core.c v4l_bound_align_image(&pix_mp->width, min_w, max_w, mod_x, width 444 drivers/media/platform/exynos-gsc/gsc-core.c if (tmp_w != pix_mp->width || tmp_h != pix_mp->height) width 446 drivers/media/platform/exynos-gsc/gsc-core.c tmp_w, tmp_h, pix_mp->width, pix_mp->height); width 458 drivers/media/platform/exynos-gsc/gsc-core.c (bpl == 0 || (bpl * 8 / fmt->depth[i]) < pix_mp->width)) width 459 drivers/media/platform/exynos-gsc/gsc-core.c bpl = pix_mp->width * fmt->depth[i] / 8; width 462 drivers/media/platform/exynos-gsc/gsc-core.c (bpl == 0 || bpl < pix_mp->width)) width 463 drivers/media/platform/exynos-gsc/gsc-core.c bpl = pix_mp->width; width 469 drivers/media/platform/exynos-gsc/gsc-core.c plane_fmt->sizeimage = max(pix_mp->width * pix_mp->height * width 491 drivers/media/platform/exynos-gsc/gsc-core.c pix_mp->width = frame->f_width; width 530 drivers/media/platform/exynos-gsc/gsc-core.c pr_debug("user put w: %d, h: %d", s->r.width, s->r.height); width 541 drivers/media/platform/exynos-gsc/gsc-core.c tmp_w = s->r.width; width 567 drivers/media/platform/exynos-gsc/gsc-core.c tmp_h = s->r.width; width 584 drivers/media/platform/exynos-gsc/gsc-core.c &s->r.width, &s->r.height); width 587 drivers/media/platform/exynos-gsc/gsc-core.c &s->r.width, &s->r.height); width 602 drivers/media/platform/exynos-gsc/gsc-core.c s->r.left, s->r.top, s->r.width, s->r.height, max_w, max_h); width 644 drivers/media/platform/exynos-gsc/gsc-core.c ret = gsc_check_scaler_ratio(variant, s_frame->crop.width, width 645 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.height, d_frame->crop.width, d_frame->crop.height, width 654 drivers/media/platform/exynos-gsc/gsc-core.c ty = d_frame->crop.width; width 657 drivers/media/platform/exynos-gsc/gsc-core.c tx = d_frame->crop.width; width 666 drivers/media/platform/exynos-gsc/gsc-core.c ret = gsc_cal_prescaler_ratio(variant, s_frame->crop.width, width 686 drivers/media/platform/exynos-gsc/gsc-core.c sc->main_hratio = (s_frame->crop.width << 16) / tx; width 690 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.width, s_frame->crop.height, tx, ty); width 721 drivers/media/platform/exynos-gsc/gsc-core.c ctx->s_frame.crop.width, width 723 drivers/media/platform/exynos-gsc/gsc-core.c ctx->d_frame.crop.width, width 388 drivers/media/platform/exynos-gsc/gsc-core.h void gsc_set_frame_size(struct gsc_frame *frame, int width, int height); width 356 drivers/media/platform/exynos-gsc/gsc-m2m.c gsc_set_frame_size(frame, pix->width, pix->height); width 440 drivers/media/platform/exynos-gsc/gsc-m2m.c if (a->left + a->width > b->left + b->width) width 470 drivers/media/platform/exynos-gsc/gsc-m2m.c s->r.width = frame->f_width; width 478 drivers/media/platform/exynos-gsc/gsc-m2m.c s->r.width = frame->crop.width; width 533 drivers/media/platform/exynos-gsc/gsc-m2m.c ret = gsc_check_scaler_ratio(variant, sel.r.width, width 534 drivers/media/platform/exynos-gsc/gsc-m2m.c sel.r.height, ctx->d_frame.crop.width, width 539 drivers/media/platform/exynos-gsc/gsc-m2m.c ctx->s_frame.crop.width, width 540 drivers/media/platform/exynos-gsc/gsc-m2m.c ctx->s_frame.crop.height, sel.r.width, width 137 drivers/media/platform/exynos-gsc/gsc-regs.c cfg = GSC_CROPPED_WIDTH(frame->crop.width); width 254 drivers/media/platform/exynos-gsc/gsc-regs.c cfg |= GSC_SCALED_HEIGHT(frame->crop.width); width 256 drivers/media/platform/exynos-gsc/gsc-regs.c cfg = GSC_SCALED_WIDTH(frame->crop.width); width 573 drivers/media/platform/exynos4-is/fimc-capture.c u32 *width, u32 *height, width 609 drivers/media/platform/exynos4-is/fimc-capture.c v4l_bound_align_image(width, max_t(u32, *width, 32), max_w, 4, width 619 drivers/media/platform/exynos4-is/fimc-capture.c *width = ctx->s_frame.f_width; width 626 drivers/media/platform/exynos4-is/fimc-capture.c min_w = dst->offs_h + dst->width; width 636 drivers/media/platform/exynos4-is/fimc-capture.c v4l_bound_align_image(width, min_w, max_w, width 643 drivers/media/platform/exynos4-is/fimc-capture.c pad, code ? *code : 0, *width, *height, width 664 drivers/media/platform/exynos4-is/fimc-capture.c r->width = sink->f_width; width 670 drivers/media/platform/exynos4-is/fimc-capture.c u32 tmp_min_h = ffs(sink->width) - 3; width 707 drivers/media/platform/exynos4-is/fimc-capture.c v4l_bound_align_image(&r->width, min_w, max_w, ffs(min_sz) - 1, width 711 drivers/media/platform/exynos4-is/fimc-capture.c r->left = clamp_t(u32, r->left, 0, sink->f_width - r->width); width 716 drivers/media/platform/exynos4-is/fimc-capture.c target, r->left, r->top, r->width, r->height, width 833 drivers/media/platform/exynos4-is/fimc-capture.c tfmt->width = mf->width; width 835 drivers/media/platform/exynos4-is/fimc-capture.c ffmt = fimc_capture_try_format(ctx, &tfmt->width, &tfmt->height, width 837 drivers/media/platform/exynos4-is/fimc-capture.c ffmt = fimc_capture_try_format(ctx, &tfmt->width, &tfmt->height, width 841 drivers/media/platform/exynos4-is/fimc-capture.c if (mf->width != tfmt->width || mf->height != tfmt->height) width 922 drivers/media/platform/exynos4-is/fimc-capture.c unsigned int width = 0, height = 0; width 927 drivers/media/platform/exynos4-is/fimc-capture.c fimc_capture_try_format(ctx, &pix->width, &pix->height, width 931 drivers/media/platform/exynos4-is/fimc-capture.c width = pix->width; width 934 drivers/media/platform/exynos4-is/fimc-capture.c ctx->s_frame.f_width = pix->width; width 940 drivers/media/platform/exynos4-is/fimc-capture.c *out_fmt = fimc_capture_try_format(ctx, &pix->width, &pix->height, width 948 drivers/media/platform/exynos4-is/fimc-capture.c pix->width = width; width 960 drivers/media/platform/exynos4-is/fimc-capture.c mf->width = pix->width; width 970 drivers/media/platform/exynos4-is/fimc-capture.c pix->width = mf->width; width 974 drivers/media/platform/exynos4-is/fimc-capture.c fimc_adjust_mplane_format(*out_fmt, pix->width, pix->height, pix); width 1042 drivers/media/platform/exynos4-is/fimc-capture.c set_frame_bounds(ff, pix->width, pix->height); width 1045 drivers/media/platform/exynos4-is/fimc-capture.c set_frame_crop(ff, 0, 0, pix->width, pix->height); width 1052 drivers/media/platform/exynos4-is/fimc-capture.c set_frame_bounds(&ctx->s_frame, pix->width, pix->height); width 1053 drivers/media/platform/exynos4-is/fimc-capture.c set_frame_crop(&ctx->s_frame, 0, 0, pix->width, pix->height); width 1140 drivers/media/platform/exynos4-is/fimc-capture.c sink_fmt.format.width = ff->f_width; width 1159 drivers/media/platform/exynos4-is/fimc-capture.c if (src_fmt.format.width != sink_fmt.format.width || width 1284 drivers/media/platform/exynos4-is/fimc-capture.c s->r.width = f->o_width; width 1294 drivers/media/platform/exynos4-is/fimc-capture.c s->r.width = f->width; width 1307 drivers/media/platform/exynos4-is/fimc-capture.c if (a->left + a->width > b->left + b->width) width 1346 drivers/media/platform/exynos4-is/fimc-capture.c set_frame_crop(f, s->r.left, s->r.top, s->r.width, width 1512 drivers/media/platform/exynos4-is/fimc-capture.c mf->width = ff->width; width 1542 drivers/media/platform/exynos4-is/fimc-capture.c fmt->pad, mf->code, mf->width, mf->height); width 1548 drivers/media/platform/exynos4-is/fimc-capture.c ffmt = fimc_capture_try_format(ctx, &mf->width, &mf->height, width 1569 drivers/media/platform/exynos4-is/fimc-capture.c mf->width = ctx->s_frame.width; width 1576 drivers/media/platform/exynos4-is/fimc-capture.c set_frame_bounds(ff, mf->width, mf->height); width 1587 drivers/media/platform/exynos4-is/fimc-capture.c set_frame_crop(ff, 0, 0, mf->width, mf->height); width 1616 drivers/media/platform/exynos4-is/fimc-capture.c r->width = f->o_width; width 1640 drivers/media/platform/exynos4-is/fimc-capture.c r->width = f->width; width 1645 drivers/media/platform/exynos4-is/fimc-capture.c sel->pad, r->left, r->top, r->width, r->height, width 1686 drivers/media/platform/exynos4-is/fimc-capture.c set_frame_crop(f, r->left, r->top, r->width, r->height); width 1694 drivers/media/platform/exynos4-is/fimc-capture.c r->width, r->height); width 1718 drivers/media/platform/exynos4-is/fimc-capture.c .width = FIMC_DEFAULT_WIDTH, width 1789 drivers/media/platform/exynos4-is/fimc-capture.c vid_cap->ci_fmt.width = FIMC_DEFAULT_WIDTH; width 1793 drivers/media/platform/exynos4-is/fimc-capture.c ctx->s_frame.width = FIMC_DEFAULT_WIDTH; width 236 drivers/media/platform/exynos4-is/fimc-core.c ty = d_frame->width; width 239 drivers/media/platform/exynos4-is/fimc-core.c tx = d_frame->width; width 247 drivers/media/platform/exynos4-is/fimc-core.c sx = s_frame->width; width 281 drivers/media/platform/exynos4-is/fimc-core.c && s_frame->width == d_frame->width width 336 drivers/media/platform/exynos4-is/fimc-core.c pix_size = frame->width * frame->height; width 527 drivers/media/platform/exynos4-is/fimc-core.c ret = fimc_check_scaler_ratio(ctx, ctx->s_frame.width, width 528 drivers/media/platform/exynos4-is/fimc-core.c ctx->s_frame.height, ctx->d_frame.width, width 679 drivers/media/platform/exynos4-is/fimc-core.c pixm->width = frame->o_width; width 699 drivers/media/platform/exynos4-is/fimc-core.c void fimc_adjust_mplane_format(struct fimc_fmt *fmt, u32 width, u32 height, width 710 drivers/media/platform/exynos4-is/fimc-core.c pix->width = width; width 717 drivers/media/platform/exynos4-is/fimc-core.c if (fmt->colplanes > 1 && (bpl == 0 || bpl < pix->width)) width 718 drivers/media/platform/exynos4-is/fimc-core.c bpl = pix->width; /* Planar */ width 721 drivers/media/platform/exynos4-is/fimc-core.c (bpl == 0 || ((bpl * 8) / fmt->depth[i]) < pix->width)) width 722 drivers/media/platform/exynos4-is/fimc-core.c bpl = (pix->width * fmt->depth[0]) / 8; width 735 drivers/media/platform/exynos4-is/fimc-core.c sizeimage = pix->width * pix->height * fmt->depth[i] / 8; width 253 drivers/media/platform/exynos4-is/fimc-core.h u32 width; width 504 drivers/media/platform/exynos4-is/fimc-core.h static inline void set_frame_bounds(struct fimc_frame *f, u32 width, u32 height) width 506 drivers/media/platform/exynos4-is/fimc-core.h f->o_width = width; width 508 drivers/media/platform/exynos4-is/fimc-core.h f->f_width = width; width 513 drivers/media/platform/exynos4-is/fimc-core.h u32 left, u32 top, u32 width, u32 height) width 517 drivers/media/platform/exynos4-is/fimc-core.h f->width = width; width 623 drivers/media/platform/exynos4-is/fimc-core.h void fimc_adjust_mplane_format(struct fimc_fmt *fmt, u32 width, u32 height, width 212 drivers/media/platform/exynos4-is/fimc-is-param.c mf->width = isp->otf_input.width; width 228 drivers/media/platform/exynos4-is/fimc-is-param.c isp->otf_input.width = mf->width; width 230 drivers/media/platform/exynos4-is/fimc-is-param.c isp->otf_output.width = mf->width; width 233 drivers/media/platform/exynos4-is/fimc-is-param.c drc->otf_input.width = mf->width; width 235 drivers/media/platform/exynos4-is/fimc-is-param.c drc->otf_output.width = mf->width; width 238 drivers/media/platform/exynos4-is/fimc-is-param.c fd->otf_input.width = mf->width; width 692 drivers/media/platform/exynos4-is/fimc-is-param.c isp->otf_input.width = DEFAULT_PREVIEW_STILL_WIDTH; width 707 drivers/media/platform/exynos4-is/fimc-is-param.c isp->dma1_input.width = 0; width 714 drivers/media/platform/exynos4-is/fimc-is-param.c isp->dma1_input.width = 0; width 719 drivers/media/platform/exynos4-is/fimc-is-param.c isp->dma2_input.width = 0; width 726 drivers/media/platform/exynos4-is/fimc-is-param.c isp->dma2_input.width = 0; width 771 drivers/media/platform/exynos4-is/fimc-is-param.c isp->otf_output.width = DEFAULT_PREVIEW_STILL_WIDTH; width 782 drivers/media/platform/exynos4-is/fimc-is-param.c isp->dma1_output.width = 0; width 798 drivers/media/platform/exynos4-is/fimc-is-param.c isp->dma2_output.width = 0; width 824 drivers/media/platform/exynos4-is/fimc-is-param.c drc->otf_input.width = DEFAULT_PREVIEW_STILL_WIDTH; width 834 drivers/media/platform/exynos4-is/fimc-is-param.c drc->dma_input.width = 0; width 841 drivers/media/platform/exynos4-is/fimc-is-param.c drc->dma_input.width = 0; width 847 drivers/media/platform/exynos4-is/fimc-is-param.c drc->otf_output.width = DEFAULT_PREVIEW_STILL_WIDTH; width 862 drivers/media/platform/exynos4-is/fimc-is-param.c fd->otf_input.width = DEFAULT_PREVIEW_STILL_WIDTH; width 873 drivers/media/platform/exynos4-is/fimc-is-param.c fd->dma_input.width = 0; width 880 drivers/media/platform/exynos4-is/fimc-is-param.c fd->dma_input.width = 0; width 461 drivers/media/platform/exynos4-is/fimc-is-param.h u32 width; width 478 drivers/media/platform/exynos4-is/fimc-is-param.h u32 width; width 492 drivers/media/platform/exynos4-is/fimc-is-param.h u32 width; width 503 drivers/media/platform/exynos4-is/fimc-is-param.h u32 width; width 880 drivers/media/platform/exynos4-is/fimc-is-param.h u32 width; width 157 drivers/media/platform/exynos4-is/fimc-is.h u32 width; width 47 drivers/media/platform/exynos4-is/fimc-isp-video.c wh = vid_fmt->width * vid_fmt->height; width 398 drivers/media/platform/exynos4-is/fimc-isp-video.c v4l_bound_align_image(&pixm->width, FIMC_ISP_SOURCE_WIDTH_MIN, width 431 drivers/media/platform/exynos4-is/fimc-isp-video.c dma->width = pixm->width; width 476 drivers/media/platform/exynos4-is/fimc-isp-video.c if (src_fmt.format.width != sink_fmt.format.width || width 582 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->pixfmt.width = IS_DEFAULT_WIDTH; width 153 drivers/media/platform/exynos4-is/fimc-isp.c fmt->pad, mf->code, mf->width, mf->height); width 168 drivers/media/platform/exynos4-is/fimc-isp.c v4l_bound_align_image(&mf->width, FIMC_ISP_SINK_WIDTH_MIN, width 181 drivers/media/platform/exynos4-is/fimc-isp.c mf->width = format->width - FIMC_ISP_CAC_MARGIN_WIDTH; width 203 drivers/media/platform/exynos4-is/fimc-isp.c __func__, fmt->pad, mf->code, mf->width, mf->height); width 367 drivers/media/platform/exynos4-is/fimc-isp.c .width = DEFAULT_PREVIEW_STILL_WIDTH + FIMC_ISP_CAC_MARGIN_WIDTH, width 376 drivers/media/platform/exynos4-is/fimc-isp.c fmt.width = DEFAULT_PREVIEW_STILL_WIDTH; width 673 drivers/media/platform/exynos4-is/fimc-isp.c isp->sink_fmt.width = DEFAULT_PREVIEW_STILL_WIDTH + width 679 drivers/media/platform/exynos4-is/fimc-isp.c isp->src_fmt.width = DEFAULT_PREVIEW_STILL_WIDTH; width 61 drivers/media/platform/exynos4-is/fimc-isp.h u16 width; width 169 drivers/media/platform/exynos4-is/fimc-lite-reg.c hoff2 = f->f_width - f->rect.width - f->rect.left; width 559 drivers/media/platform/exynos4-is/fimc-lite.c v4l_bound_align_image(&mf->width, 8, dd->max_width, width 590 drivers/media/platform/exynos4-is/fimc-lite.c mf->width = rect->width; width 597 drivers/media/platform/exynos4-is/fimc-lite.c mf->code, mf->colorspace, mf->width, mf->height); width 606 drivers/media/platform/exynos4-is/fimc-lite.c v4l_bound_align_image(&r->width, 0, frame->f_width, 0, width 610 drivers/media/platform/exynos4-is/fimc-lite.c r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); width 615 drivers/media/platform/exynos4-is/fimc-lite.c r->left, r->top, r->width, r->height, width 626 drivers/media/platform/exynos4-is/fimc-lite.c r->width = crop_rect->width; width 630 drivers/media/platform/exynos4-is/fimc-lite.c r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); width 635 drivers/media/platform/exynos4-is/fimc-lite.c r->left, r->top, r->width, r->height, width 682 drivers/media/platform/exynos4-is/fimc-lite.c pixm->width = frame->f_width; width 715 drivers/media/platform/exynos4-is/fimc-lite.c v4l_bound_align_image(&pixm->width, 8, dd->max_width, width 719 drivers/media/platform/exynos4-is/fimc-lite.c if ((bpl == 0 || ((bpl * 8) / fmt->depth[0]) < pixm->width)) width 720 drivers/media/platform/exynos4-is/fimc-lite.c pixm->plane_fmt[0].bytesperline = (pixm->width * width 724 drivers/media/platform/exynos4-is/fimc-lite.c pixm->plane_fmt[0].sizeimage = (pixm->width * pixm->height * width 757 drivers/media/platform/exynos4-is/fimc-lite.c fimc->payload[0] = max((pixm->width * pixm->height * fmt->depth[0]) / 8, width 759 drivers/media/platform/exynos4-is/fimc-lite.c frame->f_width = pixm->width; width 780 drivers/media/platform/exynos4-is/fimc-lite.c sink_fmt.format.width = ff->f_width; width 803 drivers/media/platform/exynos4-is/fimc-lite.c if (src_fmt.format.width != sink_fmt.format.width || width 876 drivers/media/platform/exynos4-is/fimc-lite.c if (a->left + a->width > b->left + b->width) width 898 drivers/media/platform/exynos4-is/fimc-lite.c sel->r.width = f->f_width; width 1058 drivers/media/platform/exynos4-is/fimc-lite.c mf->width = f->f_width; width 1062 drivers/media/platform/exynos4-is/fimc-lite.c mf->width = f->rect.width; width 1080 drivers/media/platform/exynos4-is/fimc-lite.c fmt->pad, mf->code, mf->width, mf->height); width 1111 drivers/media/platform/exynos4-is/fimc-lite.c sink->f_width = mf->width; width 1115 drivers/media/platform/exynos4-is/fimc-lite.c sink->rect.width = mf->width; width 1121 drivers/media/platform/exynos4-is/fimc-lite.c source->f_width = mf->width; width 1152 drivers/media/platform/exynos4-is/fimc-lite.c sel->r.width = f->f_width; width 1158 drivers/media/platform/exynos4-is/fimc-lite.c __func__, f->rect.left, f->rect.top, f->rect.width, width 1192 drivers/media/platform/exynos4-is/fimc-lite.c __func__, f->rect.left, f->rect.top, f->rect.width, width 1386 drivers/media/platform/exynos4-is/fimc-lite.c sink->rect.width = FLITE_DEFAULT_WIDTH; width 306 drivers/media/platform/exynos4-is/fimc-m2m.c v4l_bound_align_image(&pix->width, 16, max_w, mod_x, width 309 drivers/media/platform/exynos4-is/fimc-m2m.c fimc_adjust_mplane_format(fmt, pix->width, pix->height, &f->fmt.pix_mp); width 330 drivers/media/platform/exynos4-is/fimc-m2m.c frame->f_width = pixm->width; width 332 drivers/media/platform/exynos4-is/fimc-m2m.c frame->o_width = pixm->width; width 334 drivers/media/platform/exynos4-is/fimc-m2m.c frame->width = pixm->width; width 412 drivers/media/platform/exynos4-is/fimc-m2m.c s->r.width = frame->width; width 421 drivers/media/platform/exynos4-is/fimc-m2m.c s->r.width = frame->o_width; width 467 drivers/media/platform/exynos4-is/fimc-m2m.c v4l_bound_align_image(&s->r.width, min_size, f->o_width, width 473 drivers/media/platform/exynos4-is/fimc-m2m.c if (s->r.left + s->r.width > f->o_width) width 474 drivers/media/platform/exynos4-is/fimc-m2m.c s->r.left = f->o_width - s->r.width; width 482 drivers/media/platform/exynos4-is/fimc-m2m.c s->r.left, s->r.top, s->r.width, s->r.height, width 505 drivers/media/platform/exynos4-is/fimc-m2m.c ret = fimc_check_scaler_ratio(ctx, s->r.width, width 506 drivers/media/platform/exynos4-is/fimc-m2m.c s->r.height, ctx->d_frame.width, width 509 drivers/media/platform/exynos4-is/fimc-m2m.c ret = fimc_check_scaler_ratio(ctx, ctx->s_frame.width, width 510 drivers/media/platform/exynos4-is/fimc-m2m.c ctx->s_frame.height, s->r.width, width 520 drivers/media/platform/exynos4-is/fimc-m2m.c f->width = s->r.width; width 587 drivers/media/platform/exynos4-is/fimc-m2m.c .width = 800, width 110 drivers/media/platform/exynos4-is/fimc-reg.c dbg("w= %d, h= %d color: %d", frame->width, width 135 drivers/media/platform/exynos4-is/fimc-reg.c cfg |= (frame->height << 16) | frame->width; width 137 drivers/media/platform/exynos4-is/fimc-reg.c cfg |= (frame->width << 16) | frame->height; width 143 drivers/media/platform/exynos4-is/fimc-reg.c cfg |= (frame->width * frame->height); width 414 drivers/media/platform/exynos4-is/fimc-reg.c cfg_r |= (frame->height << 16) | frame->width; width 659 drivers/media/platform/exynos4-is/fimc-reg.c hoff2 = f->o_width - f->width - f->offs_h; width 335 drivers/media/platform/exynos4-is/mipi-csis.c mf->code, mf->width, mf->height); width 343 drivers/media/platform/exynos4-is/mipi-csis.c val = (mf->width << 16) | mf->height; width 560 drivers/media/platform/exynos4-is/mipi-csis.c v4l_bound_align_image(&mf->width, 1, CSIS_MAX_PIX_WIDTH, width 848 drivers/media/platform/exynos4-is/mipi-csis.c state->format.width = S5PCSIS_DEF_PIX_WIDTH; width 171 drivers/media/platform/fsl-viu.c int width, height, sizeimage; width 329 drivers/media/platform/fsl-viu.c } else if (prev->vb.width == buf->vb.width && width 368 drivers/media/platform/fsl-viu.c *size = fh->width * fh->height * fh->fmt->depth >> 3; width 414 drivers/media/platform/fsl-viu.c reg_val.dma_inc = buf->vb.width * 2; width 418 drivers/media/platform/fsl-viu.c reg_val.dma_inc = buf->vb.width * 4; width 428 drivers/media/platform/fsl-viu.c buf->vb.width; width 456 drivers/media/platform/fsl-viu.c if (fh->width < 48 || fh->width > norm_maxw() || width 459 drivers/media/platform/fsl-viu.c buf->vb.size = (fh->width * fh->height * fh->fmt->depth) >> 3; width 464 drivers/media/platform/fsl-viu.c buf->vb.width != fh->width || width 468 drivers/media/platform/fsl-viu.c buf->vb.width = fh->width; width 478 drivers/media/platform/fsl-viu.c buf->vb.width = fh->width; width 523 drivers/media/platform/fsl-viu.c if (prev->vb.width == buf->vb.width && width 586 drivers/media/platform/fsl-viu.c f->fmt.pix.width = fh->width; width 591 drivers/media/platform/fsl-viu.c (f->fmt.pix.width * fh->fmt->depth) >> 3; width 618 drivers/media/platform/fsl-viu.c if (f->fmt.pix.width < 48) width 619 drivers/media/platform/fsl-viu.c f->fmt.pix.width = 48; width 620 drivers/media/platform/fsl-viu.c if (f->fmt.pix.width > maxw) width 621 drivers/media/platform/fsl-viu.c f->fmt.pix.width = maxw; width 622 drivers/media/platform/fsl-viu.c f->fmt.pix.width &= ~0x03; width 624 drivers/media/platform/fsl-viu.c (f->fmt.pix.width * fmt->depth) >> 3; width 642 drivers/media/platform/fsl-viu.c fh->width = f->fmt.pix.width; width 668 drivers/media/platform/fsl-viu.c if (win->w.width < 48 || win->w.height < 32) width 672 drivers/media/platform/fsl-viu.c maxw = dev->crop_current.width; width 692 drivers/media/platform/fsl-viu.c if (win->w.width > maxw) width 693 drivers/media/platform/fsl-viu.c win->w.width = maxw; width 711 drivers/media/platform/fsl-viu.c fh->win.w.width, fh->win.w.height); width 717 drivers/media/platform/fsl-viu.c fh->win.w.width; width 724 drivers/media/platform/fsl-viu.c reg_val.dma_inc = fh->win.w.width * 2; width 728 drivers/media/platform/fsl-viu.c reg_val.dma_inc = fh->win.w.width * 4; width 827 drivers/media/platform/fsl-viu.c dev->ovbuf.fmt.width * fmt->depth / 8; width 1197 drivers/media/platform/fsl-viu.c fh->width = norm_maxw(); width 1199 drivers/media/platform/fsl-viu.c dev->crop_current.width = fh->width; width 156 drivers/media/platform/imx-pxp.c unsigned int width; width 737 drivers/media/platform/imx-pxp.c src_width = ctx->q_data[V4L2_M2M_SRC].width; width 738 drivers/media/platform/imx-pxp.c dst_width = ctx->q_data[V4L2_M2M_DST].width; width 1089 drivers/media/platform/imx-pxp.c f->fmt.pix.width = q_data->width; width 1115 drivers/media/platform/imx-pxp.c static inline u32 pxp_bytesperline(struct pxp_fmt *fmt, u32 width) width 1124 drivers/media/platform/imx-pxp.c return width; width 1126 drivers/media/platform/imx-pxp.c return (width * fmt->depth) >> 3; width 1130 drivers/media/platform/imx-pxp.c static inline u32 pxp_sizeimage(struct pxp_fmt *fmt, u32 width, u32 height) width 1132 drivers/media/platform/imx-pxp.c return (fmt->depth * width * height) >> 3; width 1137 drivers/media/platform/imx-pxp.c v4l_bound_align_image(&f->fmt.pix.width, MIN_W, MAX_W, ALIGN_W, width 1140 drivers/media/platform/imx-pxp.c f->fmt.pix.bytesperline = pxp_bytesperline(fmt, f->fmt.pix.width); width 1141 drivers/media/platform/imx-pxp.c f->fmt.pix.sizeimage = pxp_sizeimage(fmt, f->fmt.pix.width, width 1242 drivers/media/platform/imx-pxp.c q_data->width = f->fmt.pix.width; width 1249 drivers/media/platform/imx-pxp.c f->type, q_data->width, q_data->height, q_data->fmt->fourcc); width 1539 drivers/media/platform/imx-pxp.c ctx->q_data[V4L2_M2M_SRC].width = 640; width 60 drivers/media/platform/m2m-deinterlace.c unsigned int width; width 220 drivers/media/platform/m2m-deinterlace.c s_width = s_q_data->width; width 492 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.width = q_data->width; width 499 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.bytesperline = q_data->width * 3 / 2; width 503 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.bytesperline = q_data->width * 2; width 528 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.bytesperline = f->fmt.pix.width * 3 / 2; width 532 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.bytesperline = f->fmt.pix.width * 2; width 600 drivers/media/platform/m2m-deinterlace.c f->type, f->fmt.pix.width, f->fmt.pix.height, width 605 drivers/media/platform/m2m-deinterlace.c q_data->width = f->fmt.pix.width; width 611 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.bytesperline = f->fmt.pix.width * 3 / 2; width 612 drivers/media/platform/m2m-deinterlace.c q_data->sizeimage = (q_data->width * q_data->height * 3) / 2; width 616 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.bytesperline = f->fmt.pix.width * 2; width 617 drivers/media/platform/m2m-deinterlace.c q_data->sizeimage = q_data->width * q_data->height * 2; width 622 drivers/media/platform/m2m-deinterlace.c f->type, q_data->width, q_data->height, q_data->fmt->fourcc, width 743 drivers/media/platform/m2m-deinterlace.c size = q_data->width * q_data->height * 3 / 2; width 747 drivers/media/platform/m2m-deinterlace.c size = q_data->width * q_data->height * 2; width 811 drivers/media/platform/m2m-deinterlace.c q_data[V4L2_M2M_SRC].width = 640; width 830 drivers/media/platform/m2m-deinterlace.c q_data[V4L2_M2M_DST].width = 640; width 166 drivers/media/platform/marvell-ccic/mcam-core.c .width = VGA_WIDTH, width 327 drivers/media/platform/marvell-ccic/mcam-core.c u32 pixel_count = fmt->width * fmt->height; width 728 drivers/media/platform/marvell-ccic/mcam-core.c imgsz_w = (fmt->width * 2) & IMGSZ_H_MASK; width 733 drivers/media/platform/marvell-ccic/mcam-core.c widthy = fmt->width * 2; width 738 drivers/media/platform/marvell-ccic/mcam-core.c widthy = fmt->width; width 739 drivers/media/platform/marvell-ccic/mcam-core.c widthuv = fmt->width / 2; width 1382 drivers/media/platform/marvell-ccic/mcam-core.c pix->bytesperline = pix->width * f->bpp; width 1526 drivers/media/platform/marvell-ccic/mcam-core.c sizes->discrete.width = fse.min_width; width 1547 drivers/media/platform/marvell-ccic/mcam-core.c .width = interval->width, width 165 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c int width, height, w_step, h_step; width 167 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c width = *w; width 173 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c if (*w < width && (*w + w_step) <= wmax) width 188 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c pix_mp->width = q_data->w; width 221 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c mtk_jpeg_bound_align_image(&pix_mp->width, MTK_JPEG_MIN_WIDTH, width 236 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c mtk_jpeg_bound_align_image(&pix_mp->width, MTK_JPEG_MIN_WIDTH, width 243 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c u32 stride = pix_mp->width * fmt->h_sample[i] / 4; width 252 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c pix_mp->width, pix_mp->height); width 280 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c pix_mp->width = q_data->w; width 296 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c pix_mp->width, pix_mp->height); width 381 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c q_data->w = pix_mp->width; width 465 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c s->r.width = ctx->out_q.w; width 472 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c s->r.width = ctx->cap_q.w; width 495 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c s->r.width = ctx->out_q.w; width 104 drivers/media/platform/mtk-mdp/mtk_mdp_core.h u32 width; width 225 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->id, f->type, pix_mp->width, pix_mp->height, width 231 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c org_w = pix_mp->width; width 234 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c mtk_mdp_bound_align_image(&pix_mp->width, min_w, max_w, align_w, width 237 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c if (org_w != pix_mp->width || org_h != pix_mp->height) width 239 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c org_w, org_h, pix_mp->width, pix_mp->height); width 243 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c int bpl = (pix_mp->width * fmt->row_depth[i]) / 8; width 244 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c int sizeimage = (pix_mp->width * pix_mp->height * width 294 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c r->width, r->height); width 297 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c max_w = frame->width; width 299 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c new_w = r->width; width 313 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c max_h = frame->width; width 317 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c new_h = r->width; width 334 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c &r->width, &r->height); width 337 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c &r->width, &r->height); width 350 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c r->left, r->top, r->width, width 389 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static void mtk_mdp_set_frame_size(struct mtk_mdp_frame *frame, int width, width 392 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->width = width; width 394 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->crop.width = width; width 444 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c pix_size = frame->width * frame->height; width 653 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c pix_mp->width = frame->width; width 663 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c pix_mp->width, pix_mp->height); width 666 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c pix_mp->plane_fmt[i].bytesperline = (frame->width * width 668 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c pix_mp->plane_fmt[i].sizeimage = (frame->width * width 721 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c mtk_mdp_set_frame_size(frame, pix_mp->width, pix_mp->height); width 735 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->width, frame->height); width 830 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c s->r.width = frame->width; width 838 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c s->r.width = frame->crop.width; width 904 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ret = mtk_mdp_check_scaler_ratio(variant, new_r.width, width 905 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c new_r.height, ctx->d_frame.crop.width, width 910 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->s_frame.crop.width, width 911 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->s_frame.crop.height, new_r.width, width 1008 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->s_frame.crop.width, width 1010 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->d_frame.crop.width, width 1072 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->width = mdp->variant->pix_min->org_w; width 1074 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->payload[0] = frame->width * frame->height; width 1080 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->width = mdp->variant->pix_min->target_rot_dis_w; width 1082 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame->payload[0] = frame->width * frame->height; width 78 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->crop_w = frame->crop.width; width 84 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->w = frame->width; width 111 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->crop_w = frame->crop.width; width 115 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c config->w = frame->width; width 669 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c pix_fmt_mp->width = clamp(pix_fmt_mp->width, width 679 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c tmp_w = pix_fmt_mp->width; width 681 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c v4l_bound_align_image(&pix_fmt_mp->width, width 688 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c if (pix_fmt_mp->width < tmp_w && width 689 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c (pix_fmt_mp->width + 64) <= MTK_VDEC_MAX_W) width 690 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c pix_fmt_mp->width += 64; width 697 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c tmp_w, tmp_h, pix_fmt_mp->width, width 699 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c pix_fmt_mp->width * pix_fmt_mp->height); width 703 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c pix_fmt_mp->width * pix_fmt_mp->height; width 704 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c pix_fmt_mp->plane_fmt[0].bytesperline = pix_fmt_mp->width; width 708 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c (pix_fmt_mp->width * pix_fmt_mp->height) / 2; width 710 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c pix_fmt_mp->width; width 772 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c s->r.width = ctx->picinfo.pic_w; width 778 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c s->r.width = ctx->picinfo.buf_w; width 786 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c s->r.width = q_data->visible_width; width 798 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c s->r.width = q_data->visible_width; width 818 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c s->r.width = ctx->picinfo.pic_w; width 873 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c q_data->coded_width = pix_mp->width; width 1015 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c pix_mp->width = q_data->coded_width; width 1036 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c pix_mp->width = q_data->visible_width; width 1043 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c pix_mp->width = q_data->coded_width; width 303 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c pix_fmt_mp->width = clamp(pix_fmt_mp->width, width 310 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c tmp_w = pix_fmt_mp->width; width 312 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c v4l_bound_align_image(&pix_fmt_mp->width, width 319 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c if (pix_fmt_mp->width < tmp_w && width 320 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c (pix_fmt_mp->width + 16) <= MTK_VENC_MAX_W) width 321 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c pix_fmt_mp->width += 16; width 328 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c tmp_w, tmp_h, pix_fmt_mp->width, width 335 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c pix_fmt_mp->width * pix_fmt_mp->height + width 336 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c ((ALIGN(pix_fmt_mp->width, 16) * 2) * 16); width 337 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c pix_fmt_mp->plane_fmt[0].bytesperline = pix_fmt_mp->width; width 341 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c (pix_fmt_mp->width * pix_fmt_mp->height) / 2 + width 342 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c (ALIGN(pix_fmt_mp->width, 16) * 16); width 345 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c pix_fmt_mp->width; width 350 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c (pix_fmt_mp->width * pix_fmt_mp->height) / 4 + width 351 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c ((ALIGN(pix_fmt_mp->width, 16) / 2) * 16); width 354 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c pix_fmt_mp->width / 2; width 396 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->width = q_data_src->visible_width; width 410 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c param->h264_level, param->width, param->height, width 453 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c q_data->coded_width = f->fmt.pix_mp.width; width 514 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c pix_fmt_mp->width = clamp(pix_fmt_mp->width, width 518 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c q_data->visible_width = f->fmt.pix_mp.width; width 525 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c q_data->coded_width = f->fmt.pix_mp.width; width 560 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c pix->width = q_data->coded_width; width 638 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c s->r.width = q_data->coded_width; width 644 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c s->r.width = q_data->visible_width; width 672 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c s->r.width = min(s->r.width, q_data->coded_width); width 674 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c q_data->visible_width = s->r.width; width 135 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c static unsigned int get_mv_buf_size(unsigned int width, unsigned int height) width 137 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c return HW_MB_STORE_SZ * (width/MB_UNIT_LEN) * (height/MB_UNIT_LEN); width 259 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->width = inst->vsi->crop.width; width 263 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->left, cr->top, cr->width, cr->height); width 562 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c cr->width = inst->vsi->pic.pic_w; width 565 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c cr->left, cr->top, cr->width, cr->height); width 966 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c cr->width = inst->vsi->pic_w; width 969 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c cr->left, cr->top, cr->width, cr->height); width 600 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c inst->vsi->config.pic_w = enc_prm->width; width 407 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c inst->vsi->config.pic_w = enc_prm->width; width 85 drivers/media/platform/mtk-vcodec/venc_drv_if.h unsigned int width; width 166 drivers/media/platform/mx2_emmaprp.c unsigned int width; width 282 drivers/media/platform/mx2_emmaprp.c s_width = s_q_data->width; width 286 drivers/media/platform/mx2_emmaprp.c d_width = d_q_data->width; width 438 drivers/media/platform/mx2_emmaprp.c f->fmt.pix.width = q_data->width; width 443 drivers/media/platform/mx2_emmaprp.c f->fmt.pix.bytesperline = q_data->width * 3 / 2; width 445 drivers/media/platform/mx2_emmaprp.c f->fmt.pix.bytesperline = q_data->width * 2; width 482 drivers/media/platform/mx2_emmaprp.c v4l_bound_align_image(&f->fmt.pix.width, MIN_W, MAX_W, width 485 drivers/media/platform/mx2_emmaprp.c f->fmt.pix.bytesperline = f->fmt.pix.width * 3 / 2; width 487 drivers/media/platform/mx2_emmaprp.c v4l_bound_align_image(&f->fmt.pix.width, MIN_W, MAX_W, width 490 drivers/media/platform/mx2_emmaprp.c f->fmt.pix.bytesperline = f->fmt.pix.width * 2; width 555 drivers/media/platform/mx2_emmaprp.c q_data->width = f->fmt.pix.width; width 558 drivers/media/platform/mx2_emmaprp.c q_data->sizeimage = q_data->width * q_data->height * 3 / 2; width 560 drivers/media/platform/mx2_emmaprp.c q_data->sizeimage = q_data->width * q_data->height * 2; width 564 drivers/media/platform/mx2_emmaprp.c f->type, q_data->width, q_data->height, q_data->fmt->fourcc); width 631 drivers/media/platform/mx2_emmaprp.c size = q_data->width * q_data->height * 3 / 2; width 633 drivers/media/platform/mx2_emmaprp.c size = q_data->width * q_data->height * 2; width 130 drivers/media/platform/omap/omap_vout.c pix->width = clamp(pix->width, (u32)VID_MIN_WIDTH, (u32)VID_MAX_WIDTH); width 165 drivers/media/platform/omap/omap_vout.c pix->bytesperline = pix->width * bpp; width 213 drivers/media/platform/omap/omap_vout.c vout->line_length = line_length = pix->width; width 287 drivers/media/platform/omap/omap_vout.c (outw != vout->pix.width || outh != vout->pix.height)) { width 302 drivers/media/platform/omap/omap_vout.c cropheight = vout->crop.width; width 307 drivers/media/platform/omap/omap_vout.c cropwidth = vout->crop.width; width 308 drivers/media/platform/omap/omap_vout.c pixwidth = vout->pix.width; width 313 drivers/media/platform/omap/omap_vout.c info.width = cropwidth; width 336 drivers/media/platform/omap/omap_vout.c ovl->is_enabled(ovl), &info.paddr, info.width, info.height, width 376 drivers/media/platform/omap/omap_vout.c outw = win->w.width; width 384 drivers/media/platform/omap/omap_vout.c posy = (timing->y_res - win->w.width) - win->w.left; width 389 drivers/media/platform/omap/omap_vout.c posx = (timing->x_res - win->w.width) - win->w.left; width 626 drivers/media/platform/omap/omap_vout.c vout->fbuf.fmt.width = timing->x_res; width 668 drivers/media/platform/omap/omap_vout.c vout->fbuf.fmt.width = timing->y_res; width 671 drivers/media/platform/omap/omap_vout.c vout->fbuf.fmt.width = timing->x_res; width 677 drivers/media/platform/omap/omap_vout.c f->fmt.pix.sizeimage = f->fmt.pix.width * f->fmt.pix.height * bpp; width 806 drivers/media/platform/omap/omap_vout.c sel->r.width = pix->width & ~1; width 847 drivers/media/platform/omap/omap_vout.c vout->fbuf.fmt.width = timing->y_res; width 850 drivers/media/platform/omap/omap_vout.c vout->fbuf.fmt.width = timing->x_res; width 1208 drivers/media/platform/omap/omap_vout.c vout->fbuf.fmt.width = timing->x_res; width 1213 drivers/media/platform/omap/omap_vout.c a->fmt.width = vout->fbuf.fmt.width; width 1214 drivers/media/platform/omap/omap_vout.c a->fmt.bytesperline = vout->fbuf.fmt.width * 4; width 1320 drivers/media/platform/omap/omap_vout.c pix->width = QQVGA_WIDTH; width 1326 drivers/media/platform/omap/omap_vout.c pix->bytesperline = pix->width * 2; width 1331 drivers/media/platform/omap/omap_vout.c vout->fbuf.fmt.width = display->panel.timings.x_res; width 224 drivers/media/platform/omap/omap_vout_vrfb.c vout->smsshado_phy_addr[i], vout->pix.width, width 254 drivers/media/platform/omap/omap_vout_vrfb.c dst_icg = MAX_PIXELS_PER_LINE * pixsize - vout->pix.width * vout->bpp; width 261 drivers/media/platform/omap/omap_vout_vrfb.c xt->sgl[0].size = vout->pix.width * vout->bpp; width 355 drivers/media/platform/omap/omap_vout_vrfb.c cleft = (pix->width - crop->width) - crop->left; width 357 drivers/media/platform/omap/omap_vout_vrfb.c line_length = pix->width; width 371 drivers/media/platform/omap/omap_vout_vrfb.c ((crop->width / (vr_ps)) - 1) * ps); width 399 drivers/media/platform/omap/omap_vout_vrfb.c (line_length * ((crop->width / vr_ps) - 1) * width 416 drivers/media/platform/omap/omap_vout_vrfb.c ((crop->width / vr_ps) - 1) * ps; width 46 drivers/media/platform/omap/omap_voutlib.c crop->width = (pix->width < fbuf->fmt.width) ? width 47 drivers/media/platform/omap/omap_voutlib.c pix->width : fbuf->fmt.width; width 50 drivers/media/platform/omap/omap_voutlib.c crop->width &= ~1; width 52 drivers/media/platform/omap/omap_voutlib.c crop->left = ((pix->width - crop->width) >> 1) & ~1; width 75 drivers/media/platform/omap/omap_voutlib.c try_win.width += try_win.left; width 82 drivers/media/platform/omap/omap_voutlib.c try_win.width = (try_win.width < fbuf->fmt.width) ? width 83 drivers/media/platform/omap/omap_voutlib.c try_win.width : fbuf->fmt.width; width 86 drivers/media/platform/omap/omap_voutlib.c if (try_win.left + try_win.width > fbuf->fmt.width) width 87 drivers/media/platform/omap/omap_voutlib.c try_win.width = fbuf->fmt.width - try_win.left; width 90 drivers/media/platform/omap/omap_voutlib.c try_win.width &= ~1; width 93 drivers/media/platform/omap/omap_voutlib.c if (try_win.width <= 0 || try_win.height <= 0) width 136 drivers/media/platform/omap/omap_voutlib.c if ((crop->width/win->w.width) >= 2) width 137 drivers/media/platform/omap/omap_voutlib.c crop->width = win->w.width * 2; width 139 drivers/media/platform/omap/omap_voutlib.c if (crop->width > 768) { width 145 drivers/media/platform/omap/omap_voutlib.c crop->width = 768; width 152 drivers/media/platform/omap/omap_voutlib.c if ((crop->width/win->w.width) >= 4) width 153 drivers/media/platform/omap/omap_voutlib.c crop->width = win->w.width * 4; width 181 drivers/media/platform/omap/omap_voutlib.c try_crop.width += try_crop.left; width 188 drivers/media/platform/omap/omap_voutlib.c try_crop.width = (try_crop.width < pix->width) ? width 189 drivers/media/platform/omap/omap_voutlib.c try_crop.width : pix->width; width 192 drivers/media/platform/omap/omap_voutlib.c if (try_crop.left + try_crop.width > pix->width) width 193 drivers/media/platform/omap/omap_voutlib.c try_crop.width = pix->width - try_crop.left; width 197 drivers/media/platform/omap/omap_voutlib.c try_crop.width &= ~1; width 200 drivers/media/platform/omap/omap_voutlib.c if (try_crop.width <= 0 || try_crop.height <= 0) width 208 drivers/media/platform/omap/omap_voutlib.c if (try_crop.width > 768) width 209 drivers/media/platform/omap/omap_voutlib.c try_crop.width = 768; width 232 drivers/media/platform/omap/omap_voutlib.c hresize = (1024 * try_crop.width) / win->w.width; width 238 drivers/media/platform/omap/omap_voutlib.c win->w.width = ((1024 * try_crop.width) / hresize) & ~1; width 239 drivers/media/platform/omap/omap_voutlib.c if (win->w.width == 0) width 240 drivers/media/platform/omap/omap_voutlib.c win->w.width = 2; width 241 drivers/media/platform/omap/omap_voutlib.c if (win->w.width + win->w.left > fbuf->fmt.width) { width 246 drivers/media/platform/omap/omap_voutlib.c win->w.width = (fbuf->fmt.width - win->w.left) & ~1; width 247 drivers/media/platform/omap/omap_voutlib.c if (try_crop.width == 0) width 248 drivers/media/platform/omap/omap_voutlib.c try_crop.width = 2; width 254 drivers/media/platform/omap/omap_voutlib.c if ((try_crop.width/win->w.width) >= 2) width 255 drivers/media/platform/omap/omap_voutlib.c try_crop.width = win->w.width * 2; width 257 drivers/media/platform/omap/omap_voutlib.c if (try_crop.width > 768) { width 263 drivers/media/platform/omap/omap_voutlib.c try_crop.width = 768; width 269 drivers/media/platform/omap/omap_voutlib.c if ((try_crop.width/win->w.width) >= 4) width 270 drivers/media/platform/omap/omap_voutlib.c try_crop.width = win->w.width * 4; width 295 drivers/media/platform/omap/omap_voutlib.c win->w.width = crop->width; width 297 drivers/media/platform/omap/omap_voutlib.c win->w.left = ((fbuf->fmt.width - win->w.width) >> 1) & ~1; width 163 drivers/media/platform/omap3isp/ispccdc.c input_width = format->width; width 618 drivers/media/platform/omap3isp/ispccdc.c switch (info->width) { width 825 drivers/media/platform/omap3isp/ispccdc.c (format->width << ISPCCDC_FMT_HORZ_FMTLNH_SHIFT), width 831 drivers/media/platform/omap3isp/ispccdc.c isp_reg_writel(isp, (format->width << ISPCCDC_VP_OUT_HORZ_NUM_SHIFT) | width 837 drivers/media/platform/omap3isp/ispccdc.c switch (info->width) { width 1156 drivers/media/platform/omap3isp/ispccdc.c depth_in = fmt_info->width; width 1160 drivers/media/platform/omap3isp/ispccdc.c depth_out = fmt_info->width; width 1233 drivers/media/platform/omap3isp/ispccdc.c nph = crop->width * 2 - 1; width 1236 drivers/media/platform/omap3isp/ispccdc.c nph = crop->width - 1; width 1275 drivers/media/platform/omap3isp/ispccdc.c if (omap3isp_video_format_info(format->code)->width <= 8 || ccdc->bt656) width 1965 drivers/media/platform/omap3isp/ispccdc.c unsigned int width = fmt->width; width 1983 drivers/media/platform/omap3isp/ispccdc.c fmt->width = clamp_t(u32, width, 32, 4096); width 2021 drivers/media/platform/omap3isp/ispccdc.c fmt->width = crop->width; width 2052 drivers/media/platform/omap3isp/ispccdc.c fmt->width = clamp_t(u32, width, 32, fmt->width); width 2085 drivers/media/platform/omap3isp/ispccdc.c crop->left = clamp_t(u32, crop->left, 0, sink->width - CCDC_MIN_WIDTH); width 2093 drivers/media/platform/omap3isp/ispccdc.c max_width = (sink->width - crop->left + 15) & ~15; width 2094 drivers/media/platform/omap3isp/ispccdc.c crop->width = clamp_t(u32, crop->width, CCDC_MIN_WIDTH, max_width) width 2101 drivers/media/platform/omap3isp/ispccdc.c crop->width &= ~1; width 2190 drivers/media/platform/omap3isp/ispccdc.c format.width = 1; width 2193 drivers/media/platform/omap3isp/ispccdc.c fse->min_width = format.width; width 2200 drivers/media/platform/omap3isp/ispccdc.c format.width = -1; width 2203 drivers/media/platform/omap3isp/ispccdc.c fse->max_width = format.width; width 2233 drivers/media/platform/omap3isp/ispccdc.c sel->r.width = INT_MAX; width 2348 drivers/media/platform/omap3isp/ispccdc.c crop->width = fmt->format.width; width 2396 drivers/media/platform/omap3isp/ispccdc.c return in_info->width - out_info->width + additional_shift <= 6; width 2408 drivers/media/platform/omap3isp/ispccdc.c if (source_fmt->format.width != sink_fmt->format.width || width 2448 drivers/media/platform/omap3isp/ispccdc.c format.format.width = 4096; width 410 drivers/media/platform/omap3isp/ispccp2.c area = ofmt->width * ofmt->height; width 651 drivers/media/platform/omap3isp/ispccp2.c fmt->width = clamp_t(u32, fmt->width, width 658 drivers/media/platform/omap3isp/ispccp2.c fmt->width = clamp_t(u32, fmt->width, width 725 drivers/media/platform/omap3isp/ispccp2.c format.width = 1; width 728 drivers/media/platform/omap3isp/ispccp2.c fse->min_width = format.width; width 735 drivers/media/platform/omap3isp/ispccp2.c format.width = -1; width 738 drivers/media/platform/omap3isp/ispccp2.c fse->max_width = format.width; width 813 drivers/media/platform/omap3isp/ispccp2.c format.format.width = 4096; width 865 drivers/media/platform/omap3isp/ispccp2.c ccp2->mem_cfg.hsize_count = format->width; width 861 drivers/media/platform/omap3isp/ispcsi2.c fmt->width = clamp_t(u32, fmt->width, 1, 8191); width 943 drivers/media/platform/omap3isp/ispcsi2.c format.width = 1; width 946 drivers/media/platform/omap3isp/ispcsi2.c fse->min_width = format.width; width 953 drivers/media/platform/omap3isp/ispcsi2.c format.width = -1; width 956 drivers/media/platform/omap3isp/ispcsi2.c fse->max_width = format.width; width 1031 drivers/media/platform/omap3isp/ispcsi2.c format.format.width = 4096; width 48 drivers/media/platform/omap3isp/isph3a_af.c pax1 = ((conf->paxel.width >> 1) - 1) << AF_PAXW_SHIFT; width 179 drivers/media/platform/omap3isp/isph3a_af.c if (IS_OUT_OF_BOUNDS(paxel_cfg->width, OMAP3ISP_AF_PAXEL_WIDTH_MIN, width 181 drivers/media/platform/omap3isp/isph3a_af.c paxel_cfg->width % 2) width 213 drivers/media/platform/omap3isp/isph3a_af.c (paxel_cfg->width * paxel_cfg->height == 12)) width 275 drivers/media/platform/omap3isp/isph3a_af.c if ((cur_cfg->paxel.width != user_cfg->paxel.width) || width 376 drivers/media/platform/omap3isp/isph3a_af.c af_recover_cfg->paxel.width = OMAP3ISP_AF_PAXEL_WIDTH_MIN; width 1014 drivers/media/platform/omap3isp/isppreview.c if (info->width == 8) width 1067 drivers/media/platform/omap3isp/isppreview.c unsigned int eph = prev->crop.left + prev->crop.width - 1; width 1197 drivers/media/platform/omap3isp/isppreview.c requests_per_frame = DIV_ROUND_UP(ifmt->width * 2, 256) * ifmt->height; width 1405 drivers/media/platform/omap3isp/isppreview.c preview_config_inlineoffset(prev, ALIGN(format->width, 0x20) * width 1429 drivers/media/platform/omap3isp/isppreview.c ALIGN(format->width, 0x10) * 2); width 1752 drivers/media/platform/omap3isp/isppreview.c fmt->width = clamp_t(u32, fmt->width, PREV_MIN_IN_WIDTH, width 1792 drivers/media/platform/omap3isp/isppreview.c fmt->width = crop->width; width 1819 drivers/media/platform/omap3isp/isppreview.c unsigned int right = sink->width - PREV_MARGIN_RIGHT; width 1851 drivers/media/platform/omap3isp/isppreview.c crop->width = clamp_t(u32, crop->width, PREV_MIN_OUT_WIDTH, width 1899 drivers/media/platform/omap3isp/isppreview.c format.width = 1; width 1902 drivers/media/platform/omap3isp/isppreview.c fse->min_width = format.width; width 1909 drivers/media/platform/omap3isp/isppreview.c format.width = -1; width 1912 drivers/media/platform/omap3isp/isppreview.c fse->max_width = format.width; width 1942 drivers/media/platform/omap3isp/isppreview.c sel->r.width = INT_MAX; width 2054 drivers/media/platform/omap3isp/isppreview.c crop->width = fmt->format.width; width 2087 drivers/media/platform/omap3isp/isppreview.c format.format.width = 4096; width 351 drivers/media/platform/omap3isp/ispresizer.c u32 width, u32 height) width 356 drivers/media/platform/omap3isp/ispresizer.c rgval = (width << ISPRSZ_OUT_SIZE_HORZ_SHIFT) width 414 drivers/media/platform/omap3isp/ispresizer.c u32 width, u32 height) width 419 drivers/media/platform/omap3isp/ispresizer.c rgval = (width << ISPRSZ_IN_SIZE_HORZ_SHIFT) width 507 drivers/media/platform/omap3isp/ispresizer.c *max_rate = div_u64((u64)clock * res->crop.active.width, ofmt->width); width 586 drivers/media/platform/omap3isp/ispresizer.c requests_per_frame = DIV_ROUND_UP(res->crop.active.width * 2, 256) width 792 drivers/media/platform/omap3isp/ispresizer.c unsigned int width; width 827 drivers/media/platform/omap3isp/ispresizer.c min_width = ((input->width - 7) * 256 - 32 - 64 * sph) / 1024 + 1; width 861 drivers/media/platform/omap3isp/ispresizer.c max_width = min(((input->width - 7) * 256 + 255 - 16 - 32 * sph) / 64 width 872 drivers/media/platform/omap3isp/ispresizer.c output->width = clamp(output->width, min_width, width 874 drivers/media/platform/omap3isp/ispresizer.c output->width = ALIGN(output->width, width_alignment); width 876 drivers/media/platform/omap3isp/ispresizer.c ratio->horz = ((input->width - 7) * 256 + 255 - 16 - 32 * sph) width 877 drivers/media/platform/omap3isp/ispresizer.c / (output->width - 1); width 879 drivers/media/platform/omap3isp/ispresizer.c ratio->horz = ((input->width - 7) * 256 + 255 - 32 - 64 * sph) width 880 drivers/media/platform/omap3isp/ispresizer.c / (output->width - 1); width 885 drivers/media/platform/omap3isp/ispresizer.c upscaled_width = (output->width - 1) * ratio->horz width 887 drivers/media/platform/omap3isp/ispresizer.c width = (upscaled_width >> 8) + 7; width 889 drivers/media/platform/omap3isp/ispresizer.c upscaled_width = (output->width - 1) * ratio->horz width 891 drivers/media/platform/omap3isp/ispresizer.c width = (upscaled_width >> 8) + 7; width 895 drivers/media/platform/omap3isp/ispresizer.c input->left += (input->width - width) / 2; width 897 drivers/media/platform/omap3isp/ispresizer.c input->width = width; width 924 drivers/media/platform/omap3isp/ispresizer.c res->crop_offset = (res->crop.active.top * input->width + width 952 drivers/media/platform/omap3isp/ispresizer.c resizer_set_input_size(res, res->crop.active.width, width 970 drivers/media/platform/omap3isp/ispresizer.c resizer_set_input_offset(res, ALIGN(informat->width, 0x10) * 2); width 979 drivers/media/platform/omap3isp/ispresizer.c resizer_set_output_offset(res, ALIGN(outformat->width * 2, 32)); width 980 drivers/media/platform/omap3isp/ispresizer.c resizer_set_output_size(res, outformat->width, outformat->height); width 1192 drivers/media/platform/omap3isp/ispresizer.c ((32 * sph + (source->width - 1) * 64 + 16) >> 8) + 7; width 1196 drivers/media/platform/omap3isp/ispresizer.c ((64 * sph + (source->width - 1) * 1024 + 32) >> 8) + 7; width 1200 drivers/media/platform/omap3isp/ispresizer.c crop->width = clamp_t(u32, crop->width, min_width, max_width); width 1204 drivers/media/platform/omap3isp/ispresizer.c crop->left = clamp_t(u32, crop->left, 0, sink->width - MIN_IN_WIDTH); width 1205 drivers/media/platform/omap3isp/ispresizer.c crop->width = clamp_t(u32, crop->width, MIN_IN_WIDTH, width 1206 drivers/media/platform/omap3isp/ispresizer.c sink->width - crop->left); width 1243 drivers/media/platform/omap3isp/ispresizer.c sel->r.width = INT_MAX; width 1297 drivers/media/platform/omap3isp/ispresizer.c format_sink->width, format_sink->height, width 1298 drivers/media/platform/omap3isp/ispresizer.c sel->r.left, sel->r.top, sel->r.width, sel->r.height, width 1299 drivers/media/platform/omap3isp/ispresizer.c format_source.width, format_source.height); width 1315 drivers/media/platform/omap3isp/ispresizer.c format_sink->width, format_sink->height, width 1316 drivers/media/platform/omap3isp/ispresizer.c sel->r.left, sel->r.top, sel->r.width, sel->r.height, width 1317 drivers/media/platform/omap3isp/ispresizer.c format_source.width, format_source.height); width 1388 drivers/media/platform/omap3isp/ispresizer.c fmt->width = clamp_t(u32, fmt->width, MIN_IN_WIDTH, width 1449 drivers/media/platform/omap3isp/ispresizer.c format.width = 1; width 1452 drivers/media/platform/omap3isp/ispresizer.c fse->min_width = format.width; width 1459 drivers/media/platform/omap3isp/ispresizer.c format.width = -1; width 1462 drivers/media/platform/omap3isp/ispresizer.c fse->max_width = format.width; width 1515 drivers/media/platform/omap3isp/ispresizer.c crop->width = fmt->format.width; width 1571 drivers/media/platform/omap3isp/ispresizer.c format.format.width = 4096; width 149 drivers/media/platform/omap3isp/ispvideo.c pix->width = mbus->width; width 160 drivers/media/platform/omap3isp/ispvideo.c min_bpl = pix->width * formats[i].bpp; width 189 drivers/media/platform/omap3isp/ispvideo.c mbus->width = pix->width; width 316 drivers/media/platform/omap3isp/ispvideo.c vfh->format.fmt.pix.width != format.fmt.pix.width || width 818 drivers/media/platform/omap3isp/ispvideo.c sel->r.width = format.format.width; width 1014 drivers/media/platform/omap3isp/ispvideo.c omap3isp_video_format_info(fmt.format.code)->width; width 49 drivers/media/platform/omap3isp/ispvideo.h unsigned int width; width 559 drivers/media/platform/pxa_camera.c static s32 pxa_mbus_bytes_per_line(u32 width, const struct pxa_mbus_pixelfmt *mf) width 562 drivers/media/platform/pxa_camera.c return width * mf->bits_per_sample / 8; width 566 drivers/media/platform/pxa_camera.c return width * mf->bits_per_sample / 8; width 569 drivers/media/platform/pxa_camera.c return width * 2; width 1307 drivers/media/platform/pxa_camera.c cicr1 = CICR1_PPL_VAL(pcdev->current_pix.width - 1) | bpp | dw; width 1807 drivers/media/platform/pxa_camera.c static int pxa_camera_check_frame(u32 width, u32 height) width 1810 drivers/media/platform/pxa_camera.c return height < 32 || height > 2048 || width < 48 || width > 2048 || width 1811 drivers/media/platform/pxa_camera.c (width & 0x01); width 1864 drivers/media/platform/pxa_camera.c pix->width = pcdev->current_pix.width; width 1902 drivers/media/platform/pxa_camera.c v4l_bound_align_image(&pix->width, 48, 2048, 1, width 1926 drivers/media/platform/pxa_camera.c ret = pxa_mbus_bytes_per_line(pix->width, xlate->host_fmt); width 1954 drivers/media/platform/pxa_camera.c pix->width, pix->height, pix->pixelformat); width 1975 drivers/media/platform/pxa_camera.c } else if (pxa_camera_check_frame(pix->width, pix->height)) { width 1978 drivers/media/platform/pxa_camera.c pix->width, pix->height); width 2167 drivers/media/platform/pxa_camera.c pix->width = DEFAULT_WIDTH; width 2170 drivers/media/platform/pxa_camera.c pxa_mbus_bytes_per_line(pix->width, width 651 drivers/media/platform/qcom/camss/camss-csid.c f->width * format->bpp * format->spp / 8; width 801 drivers/media/platform/qcom/camss/camss-csid.c fmt->width = clamp_t(u32, fmt->width, 1, 8191); width 830 drivers/media/platform/qcom/camss/camss-csid.c fmt->width = clamp_t(u32, fmt->width, 1, 8191); width 900 drivers/media/platform/qcom/camss/camss-csid.c format.width = 1; width 903 drivers/media/platform/qcom/camss/camss-csid.c fse->min_width = format.width; width 910 drivers/media/platform/qcom/camss/camss-csid.c format.width = -1; width 913 drivers/media/platform/qcom/camss/camss-csid.c fse->max_width = format.width; width 995 drivers/media/platform/qcom/camss/camss-csid.c .width = 1920, width 357 drivers/media/platform/qcom/camss/camss-csiphy.c fmt->width = clamp_t(u32, fmt->width, 1, 8191); width 425 drivers/media/platform/qcom/camss/camss-csiphy.c format.width = 1; width 428 drivers/media/platform/qcom/camss/camss-csiphy.c fse->min_width = format.width; width 435 drivers/media/platform/qcom/camss/camss-csiphy.c format.width = -1; width 438 drivers/media/platform/qcom/camss/camss-csiphy.c fse->max_width = format.width; width 521 drivers/media/platform/qcom/camss/camss-csiphy.c .width = 1920, width 883 drivers/media/platform/qcom/camss/camss-ispif.c fmt->width = clamp_t(u32, fmt->width, 1, 8191); width 953 drivers/media/platform/qcom/camss/camss-ispif.c format.width = 1; width 956 drivers/media/platform/qcom/camss/camss-ispif.c fse->min_width = format.width; width 963 drivers/media/platform/qcom/camss/camss-ispif.c format.width = -1; width 966 drivers/media/platform/qcom/camss/camss-ispif.c fse->max_width = format.width; width 1048 drivers/media/platform/qcom/camss/camss-ispif.c .width = 1920, width 286 drivers/media/platform/qcom/camss/camss-vfe-4-1.c #define CALC_WORD(width, M, N) (((width) * (M) + (N) - 1) / (N)) width 311 drivers/media/platform/qcom/camss/camss-vfe-4-1.c u16 *width, u16 *height, u16 *bytesperline) width 316 drivers/media/platform/qcom/camss/camss-vfe-4-1.c *width = pix->width; width 324 drivers/media/platform/qcom/camss/camss-vfe-4-1.c *width = pix->width; width 338 drivers/media/platform/qcom/camss/camss-vfe-4-1.c u16 width = 0, height = 0, bytesperline = 0, wpl; width 340 drivers/media/platform/qcom/camss/camss-vfe-4-1.c vfe_get_wm_sizes(pix, plane, &width, &height, &bytesperline); width 342 drivers/media/platform/qcom/camss/camss-vfe-4-1.c wpl = vfe_word_per_line(pix->pixelformat, width); width 692 drivers/media/platform/qcom/camss/camss-vfe-4-1.c input = line->fmt[MSM_VFE_PAD_SINK].width; width 693 drivers/media/platform/qcom/camss/camss-vfe-4-1.c output = line->compose.width; width 714 drivers/media/platform/qcom/camss/camss-vfe-4-1.c input = line->fmt[MSM_VFE_PAD_SINK].width; width 715 drivers/media/platform/qcom/camss/camss-vfe-4-1.c output = line->compose.width / 2; width 744 drivers/media/platform/qcom/camss/camss-vfe-4-1.c last = line->crop.left + line->crop.width - 1; width 754 drivers/media/platform/qcom/camss/camss-vfe-4-1.c last = line->crop.left / 2 + line->crop.width / 2 - 1; width 837 drivers/media/platform/qcom/camss/camss-vfe-4-1.c val = line->fmt[MSM_VFE_PAD_SINK].width * 2; width 841 drivers/media/platform/qcom/camss/camss-vfe-4-1.c val = line->fmt[MSM_VFE_PAD_SINK].width * 2 - 1; width 322 drivers/media/platform/qcom/camss/camss-vfe-4-7.c #define CALC_WORD(width, M, N) (((width) * (M) + (N) - 1) / (N)) width 352 drivers/media/platform/qcom/camss/camss-vfe-4-7.c u16 *width, u16 *height, u16 *bytesperline) width 357 drivers/media/platform/qcom/camss/camss-vfe-4-7.c *width = pix->width; width 365 drivers/media/platform/qcom/camss/camss-vfe-4-7.c *width = pix->width; width 373 drivers/media/platform/qcom/camss/camss-vfe-4-7.c *width = pix->width; width 388 drivers/media/platform/qcom/camss/camss-vfe-4-7.c u16 width = 0, height = 0, bytesperline = 0, wpl; width 390 drivers/media/platform/qcom/camss/camss-vfe-4-7.c vfe_get_wm_sizes(pix, plane, &width, &height, &bytesperline); width 392 drivers/media/platform/qcom/camss/camss-vfe-4-7.c wpl = vfe_word_per_line_by_pixel(pix->pixelformat, width); width 795 drivers/media/platform/qcom/camss/camss-vfe-4-7.c input = line->fmt[MSM_VFE_PAD_SINK].width - 1; width 796 drivers/media/platform/qcom/camss/camss-vfe-4-7.c output = line->compose.width - 1; width 817 drivers/media/platform/qcom/camss/camss-vfe-4-7.c input = line->fmt[MSM_VFE_PAD_SINK].width - 1; width 818 drivers/media/platform/qcom/camss/camss-vfe-4-7.c output = line->compose.width / 2 - 1; width 847 drivers/media/platform/qcom/camss/camss-vfe-4-7.c last = line->crop.left + line->crop.width - 1; width 857 drivers/media/platform/qcom/camss/camss-vfe-4-7.c last = line->crop.left / 2 + line->crop.width / 2 - 1; width 953 drivers/media/platform/qcom/camss/camss-vfe-4-7.c val = line->fmt[MSM_VFE_PAD_SINK].width * 2 - 1; width 957 drivers/media/platform/qcom/camss/camss-vfe-4-7.c val = line->fmt[MSM_VFE_PAD_SINK].width * 2 - 1; width 1550 drivers/media/platform/qcom/camss/camss-vfe.c fmt->width = clamp_t(u32, fmt->width, 1, 8191); width 1571 drivers/media/platform/qcom/camss/camss-vfe.c fmt->width = rect->width; width 1597 drivers/media/platform/qcom/camss/camss-vfe.c if (rect->width > fmt->width) width 1598 drivers/media/platform/qcom/camss/camss-vfe.c rect->width = fmt->width; width 1603 drivers/media/platform/qcom/camss/camss-vfe.c if (fmt->width > rect->width * SCALER_RATIO_MAX) width 1604 drivers/media/platform/qcom/camss/camss-vfe.c rect->width = (fmt->width + SCALER_RATIO_MAX - 1) / width 1607 drivers/media/platform/qcom/camss/camss-vfe.c rect->width &= ~0x1; width 1613 drivers/media/platform/qcom/camss/camss-vfe.c if (rect->width < 16) width 1614 drivers/media/platform/qcom/camss/camss-vfe.c rect->width = 16; width 1636 drivers/media/platform/qcom/camss/camss-vfe.c if (rect->width > compose->width) width 1637 drivers/media/platform/qcom/camss/camss-vfe.c rect->width = compose->width; width 1639 drivers/media/platform/qcom/camss/camss-vfe.c if (rect->width + rect->left > compose->width) width 1640 drivers/media/platform/qcom/camss/camss-vfe.c rect->left = compose->width - rect->width; width 1649 drivers/media/platform/qcom/camss/camss-vfe.c rect->left += (rect->width & 0xf) >> 1; width 1650 drivers/media/platform/qcom/camss/camss-vfe.c rect->width &= ~0xf; width 1652 drivers/media/platform/qcom/camss/camss-vfe.c if (rect->width < 16) { width 1654 drivers/media/platform/qcom/camss/camss-vfe.c rect->width = 16; width 1716 drivers/media/platform/qcom/camss/camss-vfe.c format.width = 1; width 1719 drivers/media/platform/qcom/camss/camss-vfe.c fse->min_width = format.width; width 1726 drivers/media/platform/qcom/camss/camss-vfe.c format.width = -1; width 1729 drivers/media/platform/qcom/camss/camss-vfe.c fse->max_width = format.width; width 1804 drivers/media/platform/qcom/camss/camss-vfe.c sel.r.width = fmt->format.width; width 1845 drivers/media/platform/qcom/camss/camss-vfe.c sel->r.width = fmt.format.width; width 1867 drivers/media/platform/qcom/camss/camss-vfe.c sel->r.width = rect->width; width 1938 drivers/media/platform/qcom/camss/camss-vfe.c fmt.format.width = rect->width; width 1965 drivers/media/platform/qcom/camss/camss-vfe.c .width = 1920, width 257 drivers/media/platform/qcom/camss/camss-video.c bytesperline = pix->width / f->hsub[i].numerator * width 422 drivers/media/platform/qcom/camss/camss-video.c pix->width != sd_pix->width || width 583 drivers/media/platform/qcom/camss/camss-video.c u32 width, height; width 607 drivers/media/platform/qcom/camss/camss-video.c width = pix_mp->width; width 613 drivers/media/platform/qcom/camss/camss-video.c pix_mp->width = clamp_t(u32, width, 1, 8191); width 617 drivers/media/platform/qcom/camss/camss-video.c bpl = pix_mp->width / fi->hsub[i].numerator * width 822 drivers/media/platform/qcom/camss/camss-video.c .width = 1920, width 304 drivers/media/platform/qcom/venus/core.h u32 width; width 369 drivers/media/platform/qcom/venus/helpers.c mbs = (ALIGN(inst->width, 16) / 16) * (ALIGN(inst->height, 16) / 16); width 666 drivers/media/platform/qcom/venus/helpers.c static u32 get_framesize_raw_nv12(u32 width, u32 height) width 672 drivers/media/platform/qcom/venus/helpers.c y_stride = ALIGN(width, 128); width 673 drivers/media/platform/qcom/venus/helpers.c uv_stride = ALIGN(width, 128); width 684 drivers/media/platform/qcom/venus/helpers.c static u32 get_framesize_raw_nv12_ubwc(u32 width, u32 height) width 692 drivers/media/platform/qcom/venus/helpers.c y_meta_stride = ALIGN(DIV_ROUND_UP(width, 32), 64); width 696 drivers/media/platform/qcom/venus/helpers.c y_stride = ALIGN(width, 128); width 699 drivers/media/platform/qcom/venus/helpers.c uv_meta_stride = ALIGN(DIV_ROUND_UP(width / 2, 16), 64); width 703 drivers/media/platform/qcom/venus/helpers.c uv_stride = ALIGN(width, 128); width 710 drivers/media/platform/qcom/venus/helpers.c u32 venus_helper_get_framesz_raw(u32 hfi_fmt, u32 width, u32 height) width 715 drivers/media/platform/qcom/venus/helpers.c return get_framesize_raw_nv12(width, height); width 717 drivers/media/platform/qcom/venus/helpers.c return get_framesize_raw_nv12_ubwc(width, height); width 724 drivers/media/platform/qcom/venus/helpers.c u32 venus_helper_get_framesz(u32 v4l2_fmt, u32 width, u32 height) width 752 drivers/media/platform/qcom/venus/helpers.c sz = ALIGN(height, 32) * ALIGN(width, 32) * 3 / 2 / 2; width 760 drivers/media/platform/qcom/venus/helpers.c return venus_helper_get_framesz_raw(hfi_fmt, width, height); width 765 drivers/media/platform/qcom/venus/helpers.c unsigned int width, unsigned int height) width 771 drivers/media/platform/qcom/venus/helpers.c fs.width = width; width 779 drivers/media/platform/qcom/venus/helpers.c unsigned int width, unsigned int height, width 786 drivers/media/platform/qcom/venus/helpers.c fs.width = width; width 28 drivers/media/platform/qcom/venus/helpers.h u32 venus_helper_get_framesz_raw(u32 hfi_fmt, u32 width, u32 height); width 29 drivers/media/platform/qcom/venus/helpers.h u32 venus_helper_get_framesz(u32 v4l2_fmt, u32 width, u32 height); width 31 drivers/media/platform/qcom/venus/helpers.h unsigned int width, unsigned int height); width 33 drivers/media/platform/qcom/venus/helpers.h unsigned int width, unsigned int height, width 61 drivers/media/platform/qcom/venus/hfi.h u32 width; width 76 drivers/media/platform/qcom/venus/hfi.h u32 width, height; width 440 drivers/media/platform/qcom/venus/hfi_cmds.c fsize->width = in->width; width 527 drivers/media/platform/qcom/venus/hfi_cmds.c multi->width = in->width; width 668 drivers/media/platform/qcom/venus/hfi_helper.h u32 width; width 769 drivers/media/platform/qcom/venus/hfi_helper.h u32 width; width 819 drivers/media/platform/qcom/venus/hfi_helper.h u32 width; width 935 drivers/media/platform/qcom/venus/hfi_helper.h u32 width; width 59 drivers/media/platform/qcom/venus/hfi_msgs.c event.width = frame_sz->width; width 104 drivers/media/platform/qcom/venus/hfi_msgs.c event.input_crop.width = crop->width; width 162 drivers/media/platform/qcom/venus/vdec.c pixmp->width = clamp(pixmp->width, frame_width_min(inst), width 175 drivers/media/platform/qcom/venus/vdec.c szimage = venus_helper_get_framesz(pixmp->pixelformat, pixmp->width, width 180 drivers/media/platform/qcom/venus/vdec.c pfmt[0].bytesperline = ALIGN(pixmp->width, 128); width 254 drivers/media/platform/qcom/venus/vdec.c pixmp->width = inst->width; width 261 drivers/media/platform/qcom/venus/vdec.c pixmp->width = inst->out_width; width 295 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.width = orig_pixmp.width; width 300 drivers/media/platform/qcom/venus/vdec.c inst->out_width = format.fmt.pix_mp.width; width 313 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.width = orig_pixmp.width; width 317 drivers/media/platform/qcom/venus/vdec.c inst->width = format.fmt.pix_mp.width; width 343 drivers/media/platform/qcom/venus/vdec.c s->r.width = inst->out_width; width 350 drivers/media/platform/qcom/venus/vdec.c s->r.width = inst->width; width 357 drivers/media/platform/qcom/venus/vdec.c s->r.width = inst->out_width; width 570 drivers/media/platform/qcom/venus/vdec.c u32 width = inst->out_width; width 593 drivers/media/platform/qcom/venus/vdec.c if (width > 1920 && height > ALIGN(1080, 32)) width 606 drivers/media/platform/qcom/venus/vdec.c venus_helper_get_framesz_raw(out_fmt, width, height); width 608 drivers/media/platform/qcom/venus/vdec.c venus_helper_get_framesz_raw(out2_fmt, width, height); width 642 drivers/media/platform/qcom/venus/vdec.c ret = venus_helper_set_output_resolution(inst, width, height, width 771 drivers/media/platform/qcom/venus/vdec.c inst->width, width 1179 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.width = ev_data->width; width 1184 drivers/media/platform/qcom/venus/vdec.c inst->width = format.fmt.pix_mp.width; width 1187 drivers/media/platform/qcom/venus/vdec.c inst->out_width = ev_data->width; width 1191 drivers/media/platform/qcom/venus/vdec.c sufficient ? "" : "not", ev_data->width, ev_data->height); width 1256 drivers/media/platform/qcom/venus/vdec.c inst->width = frame_width_min(inst); width 313 drivers/media/platform/qcom/venus/venc.c pixmp->width = clamp(pixmp->width, frame_width_min(inst), width 321 drivers/media/platform/qcom/venus/venc.c pixmp->width = ALIGN(pixmp->width, 2); width 330 drivers/media/platform/qcom/venus/venc.c pixmp->width, width 335 drivers/media/platform/qcom/venus/venc.c pfmt[0].bytesperline = ALIGN(pixmp->width, 128); width 378 drivers/media/platform/qcom/venus/venc.c format.fmt.pix_mp.width = orig_pixmp.width; width 383 drivers/media/platform/qcom/venus/venc.c inst->out_width = format.fmt.pix_mp.width; width 395 drivers/media/platform/qcom/venus/venc.c format.fmt.pix_mp.width = orig_pixmp.width; width 399 drivers/media/platform/qcom/venus/venc.c inst->width = format.fmt.pix_mp.width; width 428 drivers/media/platform/qcom/venus/venc.c pixmp->width = inst->width; width 435 drivers/media/platform/qcom/venus/venc.c pixmp->width = inst->out_width; width 455 drivers/media/platform/qcom/venus/venc.c s->r.width = inst->width; width 459 drivers/media/platform/qcom/venus/venc.c s->r.width = inst->out_width; width 482 drivers/media/platform/qcom/venus/venc.c if (s->r.width != inst->out_width || width 593 drivers/media/platform/qcom/venus/venc.c if (!fival->width || !fival->height) width 596 drivers/media/platform/qcom/venus/venc.c if (fival->width > frame_width_max(inst) || width 597 drivers/media/platform/qcom/venus/venc.c fival->width < frame_width_min(inst) || width 830 drivers/media/platform/qcom/venus/venc.c ret = venus_helper_set_input_resolution(inst, inst->width, width 835 drivers/media/platform/qcom/venus/venc.c ret = venus_helper_set_output_resolution(inst, inst->width, width 914 drivers/media/platform/qcom/venus/venc.c inst->width, width 923 drivers/media/platform/qcom/venus/venc.c inst->width, width 1130 drivers/media/platform/qcom/venus/venc.c inst->width = 1280; width 487 drivers/media/platform/rcar-vin/rcar-csi2.c priv->mf.width, priv->mf.height, width 541 drivers/media/platform/rcar-vin/rcar-dma.c if (vin->crop.width != vin->compose.width) width 542 drivers/media/platform/rcar-vin/rcar-dma.c xs = (4096 * vin->crop.width) / vin->compose.width; width 559 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->format.width - 1, VNEPPOC_REG); width 573 drivers/media/platform/rcar-vin/rcar-dma.c vin->crop.width, vin->crop.height, vin->crop.left, width 574 drivers/media/platform/rcar-vin/rcar-dma.c vin->crop.top, ys, xs, vin->format.width, vin->format.height, width 585 drivers/media/platform/rcar-vin/rcar-dma.c rvin_write(vin, vin->crop.left + vin->crop.width - 1, VNEPPRC_REG); width 715 drivers/media/platform/rcar-vin/rcar-dma.c ALIGN(vin->format.width * vin->format.height, 0x80), width 1095 drivers/media/platform/rcar-vin/rcar-dma.c if (fmt.format.width != vin->format.width || width 95 drivers/media/platform/rcar-vin/rcar-v4l2.c return ALIGN(pix->width, align) * fmt->bpp; width 139 drivers/media/platform/rcar-vin/rcar-v4l2.c v4l_bound_align_image(&pix->width, 2, vin->info->max_width, walign, width 146 drivers/media/platform/rcar-vin/rcar-v4l2.c pix->width, pix->height, pix->bytesperline, pix->sizeimage); width 171 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->source.width = vin->format.width; width 191 drivers/media/platform/rcar-vin/rcar-v4l2.c u32 width, height; width 205 drivers/media/platform/rcar-vin/rcar-v4l2.c width = pix->width; width 218 drivers/media/platform/rcar-vin/rcar-v4l2.c crop->width = pix->width; width 232 drivers/media/platform/rcar-vin/rcar-v4l2.c pix->width = width; width 240 drivers/media/platform/rcar-vin/rcar-v4l2.c compose->width = pix->width; width 326 drivers/media/platform/rcar-vin/rcar-v4l2.c s->r.width = vin->source.width; width 335 drivers/media/platform/rcar-vin/rcar-v4l2.c s->r.width = vin->format.width; width 356 drivers/media/platform/rcar-vin/rcar-v4l2.c .width = 6, width 369 drivers/media/platform/rcar-vin/rcar-v4l2.c max_rect.width = vin->source.width; width 373 drivers/media/platform/rcar-vin/rcar-v4l2.c v4l_bound_align_image(&r.width, 6, vin->source.width, 0, width 377 drivers/media/platform/rcar-vin/rcar-v4l2.c r.left = clamp_t(s32, r.left, 0, vin->source.width - r.width); width 382 drivers/media/platform/rcar-vin/rcar-v4l2.c r.width, r.height, r.left, r.top, width 383 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->source.width, vin->source.height); width 388 drivers/media/platform/rcar-vin/rcar-v4l2.c max_rect.width = vin->format.width; width 407 drivers/media/platform/rcar-vin/rcar-v4l2.c r.width, r.height, r.left, r.top, width 408 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->format.width, vin->format.height); width 716 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->crop.width = vin->format.width; width 911 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->format.width = RVIN_DEFAULT_WIDTH; width 817 drivers/media/platform/rcar_fdp1.c unsigned int hsize = src_q_data->format.width; width 891 drivers/media/platform/rcar_fdp1.c picture_size = (q_data->format.width << FD1_RPF_SIZE_H_SHIFT) width 1435 drivers/media/platform/rcar_fdp1.c pix->width / hsub * fmt->bpp[i] / 8, width 1461 drivers/media/platform/rcar_fdp1.c unsigned int width; width 1500 drivers/media/platform/rcar_fdp1.c width = round_down(pix->width, fmt->hsub); width 1501 drivers/media/platform/rcar_fdp1.c pix->width = clamp(width, FDP1_MIN_W, FDP1_MAX_W); width 1580 drivers/media/platform/rcar_fdp1.c pix->width = src_data->format.width; width 1601 drivers/media/platform/rcar_fdp1.c f->fmt.pix_mp.width, f->fmt.pix_mp.height, f->fmt.pix_mp.field); width 1676 drivers/media/platform/rcar_fdp1.c f->fmt.pix_mp.width, f->fmt.pix_mp.height, f->fmt.pix_mp.field); width 1945 drivers/media/platform/rcar_fdp1.c stride = round_up(q_data->format.width, 8); width 602 drivers/media/platform/rcar_jpu.c static u8 jpu_parse_hdr(void *buffer, unsigned long size, unsigned int *width, width 637 drivers/media/platform/rcar_jpu.c get_word_be(&jpeg_buffer, width) || width 752 drivers/media/platform/rcar_jpu.c unsigned int width, height, w_step, h_step; width 754 drivers/media/platform/rcar_jpu.c width = *w; width 762 drivers/media/platform/rcar_jpu.c if (*w < width && *w + w_step < w_max) width 798 drivers/media/platform/rcar_jpu.c jpu_bound_align_image(&pix->width, JPU_WIDTH_MIN, JPU_WIDTH_MAX, width 802 drivers/media/platform/rcar_jpu.c w = pix->width; width 931 drivers/media/platform/rcar_jpu.c adj.format.width = ref->format.width; width 936 drivers/media/platform/rcar_jpu.c if (adj.format.width != orig->format.width || width 1086 drivers/media/platform/rcar_jpu.c unsigned int width, height; width 1088 drivers/media/platform/rcar_jpu.c u8 subsampling = jpu_parse_hdr(buffer, buf_size, &width, width 1098 drivers/media/platform/rcar_jpu.c adjust.format.width = width; width 1104 drivers/media/platform/rcar_jpu.c if (adjust.format.width != q_data->format.width || width 1147 drivers/media/platform/rcar_jpu.c cpu_to_be16(q_data->format.width); width 1383 drivers/media/platform/rcar_jpu.c w = q_data->format.width; width 364 drivers/media/platform/renesas-ceu.c capwr = (pix->height << 16) | pix->width * mbus_fmt->bpp / 8; width 401 drivers/media/platform/renesas-ceu.c cfzsr = (pix->height << 16) | pix->width; width 415 drivers/media/platform/renesas-ceu.c cfzsr = (pix->height << 16) | pix->width; width 416 drivers/media/platform/renesas-ceu.c cdwdr = pix->width; width 429 drivers/media/platform/renesas-ceu.c cfzsr = (pix->height << 16) | pix->width; width 430 drivers/media/platform/renesas-ceu.c cdwdr = pix->width; width 590 drivers/media/platform/renesas-ceu.c bpl = pix->width * ceu_fmt->bpp / 8; width 598 drivers/media/platform/renesas-ceu.c bpl = pix->width; width 599 drivers/media/platform/renesas-ceu.c szimage = pix->height * pix->width; width 608 drivers/media/platform/renesas-ceu.c bpl = pix->width; width 609 drivers/media/platform/renesas-ceu.c szimage = pix->height * pix->width; width 842 drivers/media/platform/renesas-ceu.c v4l_bound_align_image(&pix->width, 2, CEU_MAX_WIDTH, 4, width 933 drivers/media/platform/renesas-ceu.c .width = VGA_WIDTH, width 1300 drivers/media/platform/renesas-ceu.c fsize->discrete.width = CEU_W_MAX(fse.max_width); width 1318 drivers/media/platform/renesas-ceu.c .width = fival->width, width 63 drivers/media/platform/rockchip/rga/rga-hw.c pixel_width = frm->stride / frm->width; width 67 drivers/media/platform/rockchip/rga/rga-hw.c frm->width * frm->height + (y / y_div) * uv_stride + x / x_div; width 68 drivers/media/platform/rockchip/rga/rga-hw.c lt->v_off = lt->u_off + frm->width * frm->height / uv_factor; width 181 drivers/media/platform/rockchip/rga/rga-hw.c src_w = ctx->in.crop.width; width 185 drivers/media/platform/rockchip/rga/rga-hw.c dst_w = ctx->out.crop.width; width 419 drivers/media/platform/rockchip/rga/rga-hw.h unsigned int width:8; width 348 drivers/media/platform/rockchip/rga/rga.c .width = DEFAULT_WIDTH, width 353 drivers/media/platform/rockchip/rga/rga.c .crop.width = DEFAULT_WIDTH, width 475 drivers/media/platform/rockchip/rga/rga.c f->fmt.pix.width = frm->width; width 498 drivers/media/platform/rockchip/rga/rga.c if (f->fmt.pix.width > MAX_WIDTH) width 499 drivers/media/platform/rockchip/rga/rga.c f->fmt.pix.width = MAX_WIDTH; width 503 drivers/media/platform/rockchip/rga/rga.c if (f->fmt.pix.width < MIN_WIDTH) width 504 drivers/media/platform/rockchip/rga/rga.c f->fmt.pix.width = MIN_WIDTH; width 509 drivers/media/platform/rockchip/rga/rga.c f->fmt.pix.bytesperline = f->fmt.pix.width; width 511 drivers/media/platform/rockchip/rga/rga.c f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; width 514 drivers/media/platform/rockchip/rga/rga.c f->fmt.pix.height * (f->fmt.pix.width * fmt->depth) >> 3; width 545 drivers/media/platform/rockchip/rga/rga.c frm->width = f->fmt.pix.width; width 555 drivers/media/platform/rockchip/rga/rga.c frm->crop.width = frm->width; width 602 drivers/media/platform/rockchip/rga/rga.c s->r.width = f->width; width 652 drivers/media/platform/rockchip/rga/rga.c if (s->r.left + s->r.width > f->width || width 654 drivers/media/platform/rockchip/rga/rga.c s->r.width < MIN_WIDTH || s->r.height < MIN_HEIGHT) { width 889 drivers/media/platform/rockchip/rga/rga.c def_frame.stride = (def_frame.width * def_frame.fmt->depth) >> 3; width 28 drivers/media/platform/rockchip/rga/rga.h u32 width; width 58 drivers/media/platform/s3c-camif/camif-capture.c f->dma_offset.line = f->f_width - (f->rect.left + f->rect.width); width 250 drivers/media/platform/s3c-camif/camif-capture.c pix_size = frame->rect.width * frame->rect.height; width 700 drivers/media/platform/s3c-camif/camif-capture.c pix->width = frame->f_width; width 729 drivers/media/platform/s3c-camif/camif-capture.c pix->width, pix->height, crop->width, crop->height, width 735 drivers/media/platform/s3c-camif/camif-capture.c sc_hrmax = min(SCALER_MAX_RATIO, 1 << (ffs(crop->width) - 3)); width 738 drivers/media/platform/s3c-camif/camif-capture.c wmin = max_t(u32, pix_lim->min_out_width, crop->width / sc_hrmax); width 743 drivers/media/platform/s3c-camif/camif-capture.c v4l_bound_align_image(&pix->width, wmin, pix_lim->max_sc_out_width, width 747 drivers/media/platform/s3c-camif/camif-capture.c pix->bytesperline = pix->width * fmt->ybpp; width 748 drivers/media/platform/s3c-camif/camif-capture.c pix->sizeimage = (pix->width * pix->height * fmt->depth) / 8; width 754 drivers/media/platform/s3c-camif/camif-capture.c pix->width, pix->height, wmin, hmin, sc_hrmax, sc_vrmax); width 786 drivers/media/platform/s3c-camif/camif-capture.c out_frame->f_width = pix->width; width 790 drivers/media/platform/s3c-camif/camif-capture.c out_frame->rect.width = pix->width; width 800 drivers/media/platform/s3c-camif/camif-capture.c fmt->fourcc, pix->width * pix->height * fmt->depth, width 824 drivers/media/platform/s3c-camif/camif-capture.c if (src_fmt.format.width != camif->mbus_fmt.width || width 990 drivers/media/platform/s3c-camif/camif-capture.c sel->r.width = vp->out_frame.f_width; width 1036 drivers/media/platform/s3c-camif/camif-capture.c sel->r.left, sel->r.top, sel->r.width, sel->r.height); width 1235 drivers/media/platform/s3c-camif/camif-capture.c mf->width = camif->camif_crop.width; width 1265 drivers/media/platform/s3c-camif/camif-capture.c v4l_bound_align_image(&mf->width, 8, CAMIF_MAX_PIX_WIDTH, width 1271 drivers/media/platform/s3c-camif/camif-capture.c v4l_bound_align_image(&mf->width, 8, crop->width, width 1277 drivers/media/platform/s3c-camif/camif-capture.c v4l2_dbg(1, debug, &camif->subdev, "%ux%u\n", mf->width, mf->height); width 1290 drivers/media/platform/s3c-camif/camif-capture.c fmt->pad, mf->code, mf->width, mf->height); width 1319 drivers/media/platform/s3c-camif/camif-capture.c crop->width = mf->width; width 1330 drivers/media/platform/s3c-camif/camif-capture.c frame->f_width = mf->width; width 1338 drivers/media/platform/s3c-camif/camif-capture.c mf->width = crop->width; width 1370 drivers/media/platform/s3c-camif/camif-capture.c sel->r.width = mf->width; width 1379 drivers/media/platform/s3c-camif/camif-capture.c __func__, crop->left, crop->top, crop->width, width 1380 drivers/media/platform/s3c-camif/camif-capture.c crop->height, mf->width, mf->height); width 1399 drivers/media/platform/s3c-camif/camif-capture.c v4l_bound_align_image(&r->width, 0, mf->width, width 1403 drivers/media/platform/s3c-camif/camif-capture.c v4l_bound_align_image(&left, 0, mf->width - r->width, width 1409 drivers/media/platform/s3c-camif/camif-capture.c r->width = mf->width - left; width 1422 drivers/media/platform/s3c-camif/camif-capture.c if ((or->width > r->width) == (or->height > r->height)) width 1431 drivers/media/platform/s3c-camif/camif-capture.c r->left, r->top, r->width, r->height, mf->width, mf->height); width 1471 drivers/media/platform/s3c-camif/camif-capture.c __func__, crop->left, crop->top, crop->width, crop->height, width 1472 drivers/media/platform/s3c-camif/camif-capture.c camif->mbus_fmt.width, camif->mbus_fmt.height); width 1632 drivers/media/platform/s3c-camif/camif-capture.c f->rect.width = CAMIF_DEF_WIDTH; width 1643 drivers/media/platform/s3c-camif/camif-capture.c camif->mbus_fmt.width = CAMIF_DEF_WIDTH; width 1648 drivers/media/platform/s3c-camif/camif-capture.c camif->camif_crop.width = CAMIF_DEF_WIDTH; width 146 drivers/media/platform/s3c-camif/camif-core.c int source_x = camif_crop->width; width 148 drivers/media/platform/s3c-camif/camif-core.c int target_x = vp->out_frame.rect.width; width 232 drivers/media/platform/s3c-camif/camif-core.c format.format.width, format.format.height, width 122 drivers/media/platform/s3c-camif/camif-regs.c cfg |= (mf->width << 16) | mf->height; width 144 drivers/media/platform/s3c-camif/camif-regs.c hoff2 = mf->width - crop->width - crop->left; width 229 drivers/media/platform/s3c-camif/camif-regs.c static void camif_get_dma_burst(u32 width, u32 ybpp, u32 *mburst, u32 *rburst) width 231 drivers/media/platform/s3c-camif/camif-regs.c unsigned int nwords = width * ybpp / 4; width 234 drivers/media/platform/s3c-camif/camif-regs.c if (WARN_ON(width < 8 || (width * ybpp) & 7)) width 276 drivers/media/platform/s3c-camif/camif-regs.c camif_get_dma_burst(frame->rect.width, fmt->ybpp, &ymburst, &yrburst); width 60 drivers/media/platform/s5p-g2d/g2d.c .width = DEFAULT_WIDTH, width 318 drivers/media/platform/s5p-g2d/g2d.c f->fmt.pix.width = frm->width; width 322 drivers/media/platform/s5p-g2d/g2d.c f->fmt.pix.bytesperline = (frm->width * frm->fmt->depth) >> 3; width 342 drivers/media/platform/s5p-g2d/g2d.c if (f->fmt.pix.width > MAX_WIDTH) width 343 drivers/media/platform/s5p-g2d/g2d.c f->fmt.pix.width = MAX_WIDTH; width 347 drivers/media/platform/s5p-g2d/g2d.c if (f->fmt.pix.width < 1) width 348 drivers/media/platform/s5p-g2d/g2d.c f->fmt.pix.width = 1; width 352 drivers/media/platform/s5p-g2d/g2d.c f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; width 382 drivers/media/platform/s5p-g2d/g2d.c frm->width = f->fmt.pix.width; width 388 drivers/media/platform/s5p-g2d/g2d.c frm->c_width = frm->width; width 390 drivers/media/platform/s5p-g2d/g2d.c frm->right = frm->width; width 429 drivers/media/platform/s5p-g2d/g2d.c s->r.width = f->c_width; width 438 drivers/media/platform/s5p-g2d/g2d.c s->r.width = f->width; width 489 drivers/media/platform/s5p-g2d/g2d.c f->c_width = s->r.width; width 715 drivers/media/platform/s5p-g2d/g2d.c def_frame.stride = (def_frame.width * def_frame.fmt->depth) >> 3; width 34 drivers/media/platform/s5p-g2d/g2d.h u32 width; width 1115 drivers/media/platform/s5p-jpeg/jpeg-core.c unsigned int height = 0, width = 0, word, subsampling = 0; width 1155 drivers/media/platform/s5p-jpeg/jpeg-core.c if (get_word_be(&jpeg_buffer, &width)) width 1224 drivers/media/platform/s5p-jpeg/jpeg-core.c result->w = width; width 1348 drivers/media/platform/s5p-jpeg/jpeg-core.c pix->width = q_data->w; width 1398 drivers/media/platform/s5p-jpeg/jpeg-core.c int width, height, w_step, h_step; width 1400 drivers/media/platform/s5p-jpeg/jpeg-core.c width = *w; width 1414 drivers/media/platform/s5p-jpeg/jpeg-core.c if (w_step == 4 && ((width & 3) == 1)) { width 1415 drivers/media/platform/s5p-jpeg/jpeg-core.c wmax = width; width 1422 drivers/media/platform/s5p-jpeg/jpeg-core.c if (*w < width && (*w + w_step) < wmax) width 1442 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg_bound_align_image(ctx, &pix->width, S5P_JPEG_MIN_WIDTH, width 1447 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg_bound_align_image(ctx, &pix->width, S5P_JPEG_MIN_WIDTH, width 1459 drivers/media/platform/s5p-jpeg/jpeg-core.c if (fmt->colplanes > 1 && bpl < pix->width) width 1460 drivers/media/platform/s5p-jpeg/jpeg-core.c bpl = pix->width; /* planar */ width 1463 drivers/media/platform/s5p-jpeg/jpeg-core.c (bpl << 3) / fmt->depth < pix->width) width 1464 drivers/media/platform/s5p-jpeg/jpeg-core.c bpl = (pix->width * fmt->depth) >> 3; width 1467 drivers/media/platform/s5p-jpeg/jpeg-core.c pix->sizeimage = (pix->width * pix->height * fmt->depth) >> 3; width 1556 drivers/media/platform/s5p-jpeg/jpeg-core.c int w = pix->width, h = pix->height, wh_align; width 1612 drivers/media/platform/s5p-jpeg/jpeg-core.c q_data->w = pix->width; width 1651 drivers/media/platform/s5p-jpeg/jpeg-core.c ct->crop_rect.width = pix->width; width 1665 drivers/media/platform/s5p-jpeg/jpeg-core.c scale_rect.width = ct->out_q.w / 2; width 1711 drivers/media/platform/s5p-jpeg/jpeg-core.c w_ratio = ctx->out_q.w / r->width; width 1726 drivers/media/platform/s5p-jpeg/jpeg-core.c r->width = round_down(ctx->out_q.w / ctx->scale_factor, 2); width 1729 drivers/media/platform/s5p-jpeg/jpeg-core.c ctx->crop_rect.width = r->width; width 1744 drivers/media/platform/s5p-jpeg/jpeg-core.c if (a->left + a->width > b->left + b->width) width 1776 drivers/media/platform/s5p-jpeg/jpeg-core.c base_rect.width = ctx->out_q.w; width 1779 drivers/media/platform/s5p-jpeg/jpeg-core.c r->width = round_down(r->width, w_step); width 1789 drivers/media/platform/s5p-jpeg/jpeg-core.c ctx->crop_rect.width = r->width; width 1816 drivers/media/platform/s5p-jpeg/jpeg-core.c s->r.width = ctx->out_q.w; width 1824 drivers/media/platform/s5p-jpeg/jpeg-core.c s->r.width = ctx->crop_rect.width; width 2381 drivers/media/platform/s5p-jpeg/jpeg-core.c exynos3250_jpeg_set_x(jpeg->regs, ctx->crop_rect.width); width 329 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c unsigned int width) width 335 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c reg_luma = 4 * width; width 343 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c reg_luma = 2 * width; width 347 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c reg_luma = width; width 351 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c reg_luma = width; width 39 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.h unsigned int width); width 304 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c unsigned int *width, unsigned int *height) width 306 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c *width = (readl(base + EXYNOS4_DECODE_XY_SIZE_REG) & width 39 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.h unsigned int *width, unsigned int *height); width 486 drivers/media/platform/s5p-mfc/s5p_mfc_common.h u16 width; width 324 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c pix_mp->width = ctx->buf_width; width 339 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c pix_mp->width = 0; width 421 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c pix_mp->width = 0; width 755 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c u32 width, height; width 774 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c width = ctx->img_width - left - right; width 777 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c left, top, s->r.width, s->r.height, right, bottom, width 782 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c width = ctx->img_width; width 785 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c s->r.width, s->r.height, ctx->buf_width, width 795 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c s->r.width = width; width 1354 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c pix_fmt_mp->width = 0; width 1364 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c pix_fmt_mp->width = ctx->img_width; width 1412 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c v4l_bound_align_image(&pix_fmt_mp->width, 8, 1920, 1, width 1449 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c ctx->img_width = pix_fmt_mp->width; width 1453 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c pix_fmt_mp->width, pix_fmt_mp->height, width 422 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c static int calc_plane(int width, int height) width 426 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c mbX = DIV_ROUND_UP(width, S5P_FIMV_NUM_PIXELS_IN_MB_ROW_V6); width 429 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c if (width * height < S5P_FIMV_MAX_FRAME_SIZE_V6) width 159 drivers/media/platform/sh_veu.c .width = VGA_WIDTH, \ width 168 drivers/media/platform/sh_veu.c .width = VGA_WIDTH, \ width 396 drivers/media/platform/sh_veu.c pix->width = vfmt->frame.width; width 405 drivers/media/platform/sh_veu.c f->type, pix->sizeimage, pix->width, pix->height, pix->pixelformat); width 440 drivers/media/platform/sh_veu.c v4l_bound_align_image(&pix->width, MIN_W, MAX_W, ALIGN_W, width 443 drivers/media/platform/sh_veu.c y_bytes_used = (pix->width * fmt->ydepth) >> 3; width 520 drivers/media/platform/sh_veu.c y_line = ALIGN(vfmt->frame.width, 16); width 559 drivers/media/platform/sh_veu.c vfmt->frame.width = pix->width; width 574 drivers/media/platform/sh_veu.c f->type, pix->width, pix->height, vfmt->fmt->fourcc); width 754 drivers/media/platform/sh_veu.c src_width = veu->vfmt_in.frame.width; width 756 drivers/media/platform/sh_veu.c src_stride = ALIGN(veu->vfmt_in.frame.width, 16); width 758 drivers/media/platform/sh_veu.c dst_width = real_w = veu->vfmt_out.frame.width; width 196 drivers/media/platform/sh_vou.c addr2 = addr1 + vou_dev->pix.width * vou_dev->pix.height; width 233 drivers/media/platform/sh_vou.c sh_vou_reg_ab_write(vou_dev, VOUAIR, vou_dev->pix.width * row_coeff); width 243 drivers/media/platform/sh_vou.c int bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; width 258 drivers/media/platform/sh_vou.c unsigned bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; width 461 drivers/media/platform/sh_vou.c dsr_h = rect->width + rect->left; width 466 drivers/media/platform/sh_vou.c pix->width, frame_in_height, black_left, black_top, width 470 drivers/media/platform/sh_vou.c sh_vou_reg_ab_write(vou_dev, VOUISR, (pix->width << 16) | frame_in_height); width 526 drivers/media/platform/sh_vou.c unsigned int found = geo->output.width * vou_scale_h_den[i] / width 602 drivers/media/platform/sh_vou.c err = abs(found - geo->output.width); width 612 drivers/media/platform/sh_vou.c geo->output.width = best; width 677 drivers/media/platform/sh_vou.c v4l_bound_align_image(&pix->width, width 681 drivers/media/platform/sh_vou.c pix->bytesperline = pix->width * vou_fmt[pix_idx].bpl; width 682 drivers/media/platform/sh_vou.c pix->sizeimage = pix->height * ((pix->width * vou_fmt[pix_idx].bpp) >> 3); width 710 drivers/media/platform/sh_vou.c geo.in_width = pix->width; width 716 drivers/media/platform/sh_vou.c mbfmt->width = geo.output.width; width 725 drivers/media/platform/sh_vou.c geo.output.width, geo.output.height, mbfmt->width, mbfmt->height); width 733 drivers/media/platform/sh_vou.c if ((unsigned)mbfmt->width > VOU_MAX_IMAGE_WIDTH || width 738 drivers/media/platform/sh_vou.c if (mbfmt->width != geo.output.width || width 740 drivers/media/platform/sh_vou.c geo.output.width = mbfmt->width; width 748 drivers/media/platform/sh_vou.c pix->width = geo.in_width; width 752 drivers/media/platform/sh_vou.c pix->width, pix->height); width 835 drivers/media/platform/sh_vou.c vou_dev->rect.width = VOU_MAX_IMAGE_WIDTH; width 845 drivers/media/platform/sh_vou.c vou_dev->pix.width = vou_dev->rect.width; width 848 drivers/media/platform/sh_vou.c vou_dev->pix.width * vou_fmt[vou_dev->pix_idx].bpl; width 850 drivers/media/platform/sh_vou.c ((vou_dev->pix.width * vou_fmt[vou_dev->pix_idx].bpp) >> 3); width 910 drivers/media/platform/sh_vou.c sel->r.width = VOU_MAX_IMAGE_WIDTH; width 956 drivers/media/platform/sh_vou.c v4l_bound_align_image(&rect->width, width 961 drivers/media/platform/sh_vou.c if (rect->width + rect->left > VOU_MAX_IMAGE_WIDTH) width 962 drivers/media/platform/sh_vou.c rect->left = VOU_MAX_IMAGE_WIDTH - rect->width; width 968 drivers/media/platform/sh_vou.c geo.in_width = pix->width; width 972 drivers/media/platform/sh_vou.c sd_sel.r.width = geo.output.width; width 980 drivers/media/platform/sh_vou.c format.format.width = geo.output.width; width 989 drivers/media/platform/sh_vou.c if ((unsigned)format.format.width > VOU_MAX_IMAGE_WIDTH || width 994 drivers/media/platform/sh_vou.c geo.output.width = format.format.width; width 1005 drivers/media/platform/sh_vou.c pix->width = geo.in_width; width 1253 drivers/media/platform/sh_vou.c rect->width = VOU_MAX_IMAGE_WIDTH; width 1255 drivers/media/platform/sh_vou.c pix->width = VOU_MAX_IMAGE_WIDTH; width 459 drivers/media/platform/sti/bdisp/bdisp-debug.c src.crop.width, src.crop.height, width 461 drivers/media/platform/sti/bdisp/bdisp-debug.c dst.crop.width, dst.crop.height, width 464 drivers/media/platform/sti/bdisp/bdisp-debug.c src.width, src.height, dst.width, dst.height); width 632 drivers/media/platform/sti/bdisp/bdisp-hw.c src_w = ctx->src.crop.width; width 634 drivers/media/platform/sti/bdisp/bdisp-hw.c dst_w = ctx->dst.crop.width; width 664 drivers/media/platform/sti/bdisp/bdisp-hw.c if (src->width > MAX_SRC_WIDTH * MAX_VERTICAL_STRIDES) { width 669 drivers/media/platform/sti/bdisp/bdisp-hw.c c->wide = src->width > MAX_SRC_WIDTH; width 768 drivers/media/platform/sti/bdisp/bdisp-hw.c s32 dst_width = dst->crop.width; width 778 drivers/media/platform/sti/bdisp/bdisp-hw.c src_rect.width -= src_x_offset; width 779 drivers/media/platform/sti/bdisp/bdisp-hw.c src_rect.width = min_t(__s32, MAX_SRC_WIDTH, src_rect.width); width 781 drivers/media/platform/sti/bdisp/bdisp-hw.c dst_x_offset = (src_x_offset * dst_width) / ctx->src.crop.width; width 783 drivers/media/platform/sti/bdisp/bdisp-hw.c dst_rect.width = (src_rect.width * dst_width) / ctx->src.crop.width; width 840 drivers/media/platform/sti/bdisp/bdisp-hw.c dst_rect.width /= 2; width 852 drivers/media/platform/sti/bdisp/bdisp-hw.c node->tsz = dst_rect.height << 16 | dst_rect.width; width 871 drivers/media/platform/sti/bdisp/bdisp-hw.c node->s2sz = src_rect.height << 16 | src_rect.width; width 878 drivers/media/platform/sti/bdisp/bdisp-hw.c src_rect.width /= 2; width 893 drivers/media/platform/sti/bdisp/bdisp-hw.c node->s2sz = src_rect.height << 16 | src_rect.width; width 1028 drivers/media/platform/sti/bdisp/bdisp-hw.c if (src_x_offset >= ctx->src.crop.width) width 109 drivers/media/platform/sti/bdisp/bdisp-v4l2.c .width = BDISP_DEF_WIDTH, width 729 drivers/media/platform/sti/bdisp/bdisp-v4l2.c pix->width = frame->width; width 768 drivers/media/platform/sti/bdisp/bdisp-v4l2.c in_w = pix->width; width 770 drivers/media/platform/sti/bdisp/bdisp-v4l2.c v4l_bound_align_image(&pix->width, width 777 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if ((pix->width != in_w) || (pix->height != in_h)) width 780 drivers/media/platform/sti/bdisp/bdisp-v4l2.c in_w, in_h, pix->width, pix->height); width 782 drivers/media/platform/sti/bdisp/bdisp-v4l2.c pix->bytesperline = (pix->width * format->bpp_plane0) / 8; width 783 drivers/media/platform/sti/bdisp/bdisp-v4l2.c pix->sizeimage = (pix->width * pix->height * format->bpp) / 8; width 822 drivers/media/platform/sti/bdisp/bdisp-v4l2.c frame->width = pix->width; width 830 drivers/media/platform/sti/bdisp/bdisp-v4l2.c frame->crop.width = frame->width; width 867 drivers/media/platform/sti/bdisp/bdisp-v4l2.c s->r.width = frame->width; width 888 drivers/media/platform/sti/bdisp/bdisp-v4l2.c s->r.width = frame->width; width 912 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if (a->left + a->width > b->left + b->width) width 955 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if ((out.left < 0) || (out.left >= frame->width) || width 959 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.width, out.height, out.left, out.top, width 960 drivers/media/platform/sti/bdisp/bdisp-v4l2.c frame->width, frame->height); width 965 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.width = ALIGN(in->width, frame->fmt->w_align); width 968 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if (((out.left + out.width) > frame->width) || width 972 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.width, out.height, out.left, out.top, width 973 drivers/media/platform/sti/bdisp/bdisp-v4l2.c frame->width, frame->height); width 985 drivers/media/platform/sti/bdisp/bdisp-v4l2.c (out.width != in->width) || (out.height != in->height)) { width 988 drivers/media/platform/sti/bdisp/bdisp-v4l2.c __func__, in->width, in->height, in->left, in->top, width 989 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.width, out.height, out.left, out.top); width 69 drivers/media/platform/sti/bdisp/bdisp.h u32 width; width 20 drivers/media/platform/sti/delta/delta-debug.c (char *)&s->streamformat, s->width, s->height, width 25 drivers/media/platform/sti/delta/delta-debug.c s->crop.width, s->crop.height, width 42 drivers/media/platform/sti/delta/delta-debug.c (char *)&f->pixelformat, f->width, f->height, width 46 drivers/media/platform/sti/delta/delta-debug.c f->crop.width, f->crop.height, width 358 drivers/media/platform/sti/delta/delta-mjpeg-dec.c streaminfo->width = ctx->header->frame_width; width 249 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo->width = DELTA_DEFAULT_WIDTH; width 251 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo->aligned_width = ALIGN(frameinfo->width, width 266 drivers/media/platform/sti/delta/delta-v4l2.c streaminfo->width = DELTA_DEFAULT_WIDTH; width 274 drivers/media/platform/sti/delta/delta-v4l2.c ctx->max_au_size = estimated_au_size(streaminfo->width, width 440 drivers/media/platform/sti/delta/delta-v4l2.c pix->width = streaminfo->width; width 469 drivers/media/platform/sti/delta/delta-v4l2.c pix->width = frameinfo->aligned_width; width 499 drivers/media/platform/sti/delta/delta-v4l2.c u32 width, height; width 511 drivers/media/platform/sti/delta/delta-v4l2.c width = pix->width; width 514 drivers/media/platform/sti/delta/delta-v4l2.c (&pix->width, width 523 drivers/media/platform/sti/delta/delta-v4l2.c if ((pix->width != width) || (pix->height != height)) width 526 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, width, height, width 527 drivers/media/platform/sti/delta/delta-v4l2.c pix->width, pix->height); width 529 drivers/media/platform/sti/delta/delta-v4l2.c au_size = estimated_au_size(pix->width, pix->height); width 553 drivers/media/platform/sti/delta/delta-v4l2.c u32 width, height; width 565 drivers/media/platform/sti/delta/delta-v4l2.c width = pix->width; width 567 drivers/media/platform/sti/delta/delta-v4l2.c v4l_bound_align_image(&pix->width, width 574 drivers/media/platform/sti/delta/delta-v4l2.c if ((pix->width != width) || (pix->height != height)) width 577 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, width, height, pix->width, pix->height); width 580 drivers/media/platform/sti/delta/delta-v4l2.c width = ALIGN(pix->width, DELTA_WIDTH_ALIGNMENT); width 582 drivers/media/platform/sti/delta/delta-v4l2.c if ((pix->width != width) || (pix->height != height)) width 585 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, width, height, pix->width, pix->height); width 594 drivers/media/platform/sti/delta/delta-v4l2.c pix->width = width; width 596 drivers/media/platform/sti/delta/delta-v4l2.c pix->bytesperline = frame_stride(pix->width, pixelformat); width 597 drivers/media/platform/sti/delta/delta-v4l2.c pix->sizeimage = frame_size(pix->width, pix->height, pixelformat); width 630 drivers/media/platform/sti/delta/delta-v4l2.c ctx->streaminfo.width = pix->width; width 681 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo.width = pix->width; width 683 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo.aligned_width = pix->width; width 708 drivers/media/platform/sti/delta/delta-v4l2.c pix->width = frameinfo.aligned_width; width 710 drivers/media/platform/sti/delta/delta-v4l2.c pix->bytesperline = frame_stride(pix->width, pix->pixelformat); width 738 drivers/media/platform/sti/delta/delta-v4l2.c crop.width = frameinfo->width; width 753 drivers/media/platform/sti/delta/delta-v4l2.c s->r.width = frameinfo->aligned_width; width 1185 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo->width = streaminfo->width; width 1187 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo->aligned_width = ALIGN(streaminfo->width, width 69 drivers/media/platform/sti/delta/delta.h u32 width; width 135 drivers/media/platform/sti/delta/delta.h u32 width; width 30 drivers/media/platform/sti/hva/hva-debugfs.c frame->width, frame->height, width 41 drivers/media/platform/sti/hva/hva-debugfs.c stream->width, stream->height, width 97 drivers/media/platform/sti/hva/hva-v4l2.c frameinfo->width = HVA_DEFAULT_WIDTH; width 99 drivers/media/platform/sti/hva/hva-v4l2.c frameinfo->aligned_width = ALIGN(frameinfo->width, width 108 drivers/media/platform/sti/hva/hva-v4l2.c streaminfo->width = HVA_DEFAULT_WIDTH; width 116 drivers/media/platform/sti/hva/hva-v4l2.c ctx->max_stream_size = estimated_stream_size(streaminfo->width, width 242 drivers/media/platform/sti/hva/hva-v4l2.c stream->width, stream->height, width 301 drivers/media/platform/sti/hva/hva-v4l2.c f->fmt.pix.width = streaminfo->width; width 320 drivers/media/platform/sti/hva/hva-v4l2.c f->fmt.pix.width = frameinfo->width; width 343 drivers/media/platform/sti/hva/hva-v4l2.c u32 width, height; width 354 drivers/media/platform/sti/hva/hva-v4l2.c width = pix->width; width 361 drivers/media/platform/sti/hva/hva-v4l2.c pix->width = ctx->frameinfo.width; width 363 drivers/media/platform/sti/hva/hva-v4l2.c if ((pix->width != width) || (pix->height != height)) width 366 drivers/media/platform/sti/hva/hva-v4l2.c ctx->name, width, height, width 367 drivers/media/platform/sti/hva/hva-v4l2.c pix->width, pix->height); width 370 drivers/media/platform/sti/hva/hva-v4l2.c v4l_bound_align_image(&pix->width, width 378 drivers/media/platform/sti/hva/hva-v4l2.c if ((pix->width != width) || (pix->height != height)) width 381 drivers/media/platform/sti/hva/hva-v4l2.c ctx->name, width, height, width 382 drivers/media/platform/sti/hva/hva-v4l2.c pix->width, pix->height); width 385 drivers/media/platform/sti/hva/hva-v4l2.c stream_size = estimated_stream_size(pix->width, pix->height); width 407 drivers/media/platform/sti/hva/hva-v4l2.c u32 width, height; width 418 drivers/media/platform/sti/hva/hva-v4l2.c width = pix->width; width 420 drivers/media/platform/sti/hva/hva-v4l2.c v4l_bound_align_image(&pix->width, width 428 drivers/media/platform/sti/hva/hva-v4l2.c if ((pix->width != width) || (pix->height != height)) width 431 drivers/media/platform/sti/hva/hva-v4l2.c ctx->name, width, height, pix->width, pix->height); width 433 drivers/media/platform/sti/hva/hva-v4l2.c width = ALIGN(pix->width, HVA_WIDTH_ALIGNMENT); width 443 drivers/media/platform/sti/hva/hva-v4l2.c pix->bytesperline = frame_stride(width, pixelformat); width 444 drivers/media/platform/sti/hva/hva-v4l2.c pix->sizeimage = frame_size(width, height, pixelformat); width 472 drivers/media/platform/sti/hva/hva-v4l2.c ctx->streaminfo.width = f->fmt.pix.width; width 506 drivers/media/platform/sti/hva/hva-v4l2.c ctx->frameinfo.aligned_width = ALIGN(pix->width, HVA_WIDTH_ALIGNMENT); width 511 drivers/media/platform/sti/hva/hva-v4l2.c ctx->frameinfo.width = pix->width; width 42 drivers/media/platform/sti/hva/hva.h u32 width; width 60 drivers/media/platform/sti/hva/hva.h u32 width; width 116 drivers/media/platform/stm32/stm32-dcmi.c u32 width; width 389 drivers/media/platform/stm32/stm32-dcmi.c ((dcmi->crop.width << 1) - 1); width 398 drivers/media/platform/stm32/stm32-dcmi.c dcmi->crop.width, dcmi->crop.height, width 648 drivers/media/platform/stm32/stm32-dcmi.c format->format.width, format->format.height); width 655 drivers/media/platform/stm32/stm32-dcmi.c format->format.width, format->format.height, width 661 drivers/media/platform/stm32/stm32-dcmi.c fmt.format.width != format->format.width || width 665 drivers/media/platform/stm32/stm32-dcmi.c fmt.format.width, fmt.format.height); width 948 drivers/media/platform/stm32/stm32-dcmi.c int w_err = (fsize->width - pix->width); width 987 drivers/media/platform/stm32/stm32-dcmi.c pix->width = clamp(pix->width, MIN_WIDTH, MAX_WIDTH); width 1000 drivers/media/platform/stm32/stm32-dcmi.c pix->width = outer_sd_fsize.width; width 1014 drivers/media/platform/stm32/stm32-dcmi.c sd_fsize.width = pix->width; width 1027 drivers/media/platform/stm32/stm32-dcmi.c max_rect.width = pix->width; width 1031 drivers/media/platform/stm32/stm32-dcmi.c c.left = clamp_t(s32, c.left, 0, pix->width - c.width); width 1035 drivers/media/platform/stm32/stm32-dcmi.c pix->width = dcmi->crop.width; width 1040 drivers/media/platform/stm32/stm32-dcmi.c pix->bytesperline = pix->width * sd_fmt->bpp; width 1079 drivers/media/platform/stm32/stm32-dcmi.c mf->width = sd_framesize.width; width 1087 drivers/media/platform/stm32/stm32-dcmi.c mf->code, mf->width, mf->height); width 1090 drivers/media/platform/stm32/stm32-dcmi.c pix->width, pix->height); width 1207 drivers/media/platform/stm32/stm32-dcmi.c unsigned int pixsize = fsize->width * fsize->height; width 1211 drivers/media/platform/stm32/stm32-dcmi.c max_width = fsize->width; width 1218 drivers/media/platform/stm32/stm32-dcmi.c r->width = max_width; width 1233 drivers/media/platform/stm32/stm32-dcmi.c r->width = pix.width; width 1258 drivers/media/platform/stm32/stm32-dcmi.c s->r.width = dcmi->fmt.fmt.pix.width; width 1283 drivers/media/platform/stm32/stm32-dcmi.c pix.width = dcmi->sd_bounds.width; width 1294 drivers/media/platform/stm32/stm32-dcmi.c max_rect.width = pix.width; width 1298 drivers/media/platform/stm32/stm32-dcmi.c r.left = clamp_t(s32, r.left, 0, pix.width - r.width); width 1302 drivers/media/platform/stm32/stm32-dcmi.c r.width == dcmi->sd_bounds.width && width 1308 drivers/media/platform/stm32/stm32-dcmi.c r.width, r.height, r.left, r.top, width 1309 drivers/media/platform/stm32/stm32-dcmi.c pix.width, pix.height); width 1377 drivers/media/platform/stm32/stm32-dcmi.c fsize->discrete.width = fse.max_width; width 1406 drivers/media/platform/stm32/stm32-dcmi.c .width = fival->width, width 1540 drivers/media/platform/stm32/stm32-dcmi.c .width = CIF_WIDTH, width 1674 drivers/media/platform/stm32/stm32-dcmi.c dcmi->sd_framesizes[fse.index].width = fse.max_width; width 276 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c writel(CSI_WIN_CTRL_W_ACTIVE(csi->fmt.width * 2), width 99 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c unsigned int height, width; width 119 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c width = ALIGN(pix->width, _fmt->hsub); width 123 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c pix->width = clamp(width, _fmt->hsub, CSI_MAX_WIDTH); width 131 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c bpl = pix->width / hsub * _fmt->bpp[i] / 8; width 266 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c .width = CSI_DEFAULT_WIDTH, width 319 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c subdev_fmt->width = fmt->format.width; width 368 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c csi->fmt.width = CSI_DEFAULT_WIDTH; width 503 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c u32 width = config->width; width 505 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c u32 hor_len = width; width 514 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c hor_len = width * 2; width 534 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c bytesperline_y = width; width 535 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c bytesperline_c = width; width 541 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c bytesperline_y = width; width 542 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c bytesperline_c = width / 2; width 548 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c bytesperline_y = width; width 549 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c bytesperline_c = width / 2; width 559 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c config->width) / 8; width 31 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h u32 width; width 160 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c config.width = video->fmt.fmt.pix.width; width 359 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c v4l_bound_align_image(&pixfmt->width, MIN_WIDTH, MAX_WIDTH, 1, width 363 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c pixfmt->bytesperline = (pixfmt->width * bpp) >> 3; width 577 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c if (source_fmt.format.width != video->fmt.fmt.pix.width || width 581 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c video->fmt.fmt.pix.width, video->fmt.fmt.pix.height, width 582 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c source_fmt.format.width, source_fmt.format.height); width 622 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c fmt.fmt.pix.width = 1280; width 681 drivers/media/platform/ti-vpe/cal.c unsigned int width) width 704 drivers/media/platform/ti-vpe/cal.c (width / 16), width 717 drivers/media/platform/ti-vpe/cal.c set_field(&val, (width / 8), CAL_WR_DMA_XSIZE_MASK); width 950 drivers/media/platform/ti-vpe/cal.c fmt->width, fmt->height, fmt->code); width 971 drivers/media/platform/ti-vpe/cal.c fmt->width, fmt->height, fmt->code); width 985 drivers/media/platform/ti-vpe/cal.c v4l_bound_align_image(&f->fmt.pix.width, 48, MAX_WIDTH, 2, width 987 drivers/media/platform/ti-vpe/cal.c f->fmt.pix.bytesperline = bytes_per_line(f->fmt.pix.width, width 994 drivers/media/platform/ti-vpe/cal.c f->fmt.pix.width, f->fmt.pix.height, width 1042 drivers/media/platform/ti-vpe/cal.c if ((f->fmt.pix.width == fse.max_width) && width 1046 drivers/media/platform/ti-vpe/cal.c } else if ((f->fmt.pix.width >= fse.min_width) && width 1047 drivers/media/platform/ti-vpe/cal.c (f->fmt.pix.width <= fse.max_width) && width 1057 drivers/media/platform/ti-vpe/cal.c f->fmt.pix.width = ctx->v_fmt.fmt.pix.width; width 1143 drivers/media/platform/ti-vpe/cal.c fsize->discrete.width = fse.max_width; width 1187 drivers/media/platform/ti-vpe/cal.c .width = fival->width, width 583 drivers/media/platform/ti-vpe/vpdma.c u32 width, u32 height) width 589 drivers/media/platform/ti-vpe/vpdma.c write_field_reg(vpdma, reg_addr, width - 1, width 802 drivers/media/platform/ti-vpe/vpdma.c void vpdma_add_out_dtd(struct vpdma_desc_list *list, int width, width 807 drivers/media/platform/ti-vpe/vpdma.c vpdma_rawchan_add_out_dtd(list, width, stride, c_rect, fmt, dma_addr, width 812 drivers/media/platform/ti-vpe/vpdma.c void vpdma_rawchan_add_out_dtd(struct vpdma_desc_list *list, int width, width 880 drivers/media/platform/ti-vpe/vpdma.c void vpdma_add_in_dtd(struct vpdma_desc_list *list, int width, width 915 drivers/media/platform/ti-vpe/vpdma.c dtd->xfer_length_height = dtd_xfer_length_height(rect.width, width 242 drivers/media/platform/ti-vpe/vpdma.h void vpdma_add_out_dtd(struct vpdma_desc_list *list, int width, width 246 drivers/media/platform/ti-vpe/vpdma.h void vpdma_rawchan_add_out_dtd(struct vpdma_desc_list *list, int width, width 251 drivers/media/platform/ti-vpe/vpdma.h void vpdma_add_in_dtd(struct vpdma_desc_list *list, int width, width 273 drivers/media/platform/ti-vpe/vpdma.h u32 width, u32 height); width 277 drivers/media/platform/ti-vpe/vpdma_priv.h static inline u32 dtd_frame_width_height(int width, int height) width 279 drivers/media/platform/ti-vpe/vpdma_priv.h return (width << DTD_FRAME_WIDTH_SHFT) | height; width 314 drivers/media/platform/ti-vpe/vpe.c unsigned int width; /* frame width */ width 782 drivers/media/platform/ti-vpe/vpe.c unsigned int src_w = s_q_data->c_rect.width; width 851 drivers/media/platform/ti-vpe/vpe.c unsigned int src_w = s_q_data->c_rect.width; width 853 drivers/media/platform/ti-vpe/vpe.c unsigned int dst_w = d_q_data->c_rect.width; width 874 drivers/media/platform/ti-vpe/vpe.c bytes_per_line = ALIGN((s_q_data->width * mv->depth) >> 3, width 1027 drivers/media/platform/ti-vpe/vpe.c stride = ALIGN((q_data->width * vpdma_fmt->depth) >> 3, width 1066 drivers/media/platform/ti-vpe/vpe.c vpdma_add_out_dtd(&ctx->desc_list, q_data->width, width 1091 drivers/media/platform/ti-vpe/vpe.c stride = ALIGN((q_data->width * vpdma_fmt->depth) >> 3, width 1139 drivers/media/platform/ti-vpe/vpe.c dma_addr += q_data->width * height * bpp; width 1149 drivers/media/platform/ti-vpe/vpe.c frame_width = q_data->c_rect.width; width 1155 drivers/media/platform/ti-vpe/vpe.c vpdma_add_in_dtd(&ctx->desc_list, q_data->width, stride, width 1547 drivers/media/platform/ti-vpe/vpe.c pix->width = q_data->width; width 1628 drivers/media/platform/ti-vpe/vpe.c v4l_bound_align_image(&pix->width, MIN_W, MAX_W, w_align, width 1667 drivers/media/platform/ti-vpe/vpe.c stride = (pix->width * fmt->vpdma_fmt[VPE_LUMA]->depth) >> 3; width 1731 drivers/media/platform/ti-vpe/vpe.c q_data->width = pix->width; width 1746 drivers/media/platform/ti-vpe/vpe.c q_data->c_rect.width = q_data->width; width 1761 drivers/media/platform/ti-vpe/vpe.c f->type, q_data->width, q_data->height, q_data->fmt->fourcc, width 1843 drivers/media/platform/ti-vpe/vpe.c v4l_bound_align_image(&s->r.width, MIN_W, q_data->width, 1, width 1847 drivers/media/platform/ti-vpe/vpe.c if (s->r.left + s->r.width > q_data->width) width 1848 drivers/media/platform/ti-vpe/vpe.c s->r.left = q_data->width - s->r.width; width 1908 drivers/media/platform/ti-vpe/vpe.c s->r.width = q_data->width; width 1934 drivers/media/platform/ti-vpe/vpe.c (q_data->c_rect.width == sel.r.width) && width 2079 drivers/media/platform/ti-vpe/vpe.c unsigned int src_w = s_q_data->c_rect.width; width 2081 drivers/media/platform/ti-vpe/vpe.c unsigned int dst_w = d_q_data->c_rect.width; width 2296 drivers/media/platform/ti-vpe/vpe.c s_q_data->width = 1920; width 2299 drivers/media/platform/ti-vpe/vpe.c s_q_data->bytesperline[VPE_LUMA] = (s_q_data->width * width 2307 drivers/media/platform/ti-vpe/vpe.c s_q_data->c_rect.width = s_q_data->width; width 463 drivers/media/platform/via-camera.c if (cam->user_format.width == VGA_WIDTH) width 466 drivers/media/platform/via-camera.c sf = (cam->user_format.width*2048)/VGA_WIDTH; width 781 drivers/media/platform/via-camera.c .width = VGA_WIDTH, width 809 drivers/media/platform/via-camera.c if (userfmt->width < QCIF_WIDTH || userfmt->height < QCIF_HEIGHT) { width 810 drivers/media/platform/via-camera.c userfmt->width = QCIF_WIDTH; width 813 drivers/media/platform/via-camera.c if (userfmt->width > VGA_WIDTH || userfmt->height > VGA_HEIGHT) { width 814 drivers/media/platform/via-camera.c userfmt->width = VGA_WIDTH; width 817 drivers/media/platform/via-camera.c sensorfmt->width = VGA_WIDTH; width 826 drivers/media/platform/via-camera.c sensorfmt->bytesperline = sensorfmt->width * f->bpp; width 830 drivers/media/platform/via-camera.c userfmt->bytesperline = 2 * userfmt->width; width 970 drivers/media/platform/via-camera.c .width = cam->sensor_format.width, width 982 drivers/media/platform/via-camera.c if (interval->width < QCIF_WIDTH || interval->width > VGA_WIDTH || width 684 drivers/media/platform/vicodec/codec-fwht.c struct fwht_cframe *cf, u32 height, u32 width, width 696 drivers/media/platform/vicodec/codec-fwht.c width = round_up(width, 8); width 701 drivers/media/platform/vicodec/codec-fwht.c for (i = 0; i < width / 8; i++) { width 766 drivers/media/platform/vicodec/codec-fwht.c for (i = 0, p = input; i < width; i++, p += input_step) width 780 drivers/media/platform/vicodec/codec-fwht.c unsigned int width, unsigned int height, width 783 drivers/media/platform/vicodec/codec-fwht.c unsigned int size = height * width; width 790 drivers/media/platform/vicodec/codec-fwht.c height, width, stride, width 798 drivers/media/platform/vicodec/codec-fwht.c u32 chroma_w = width / frm->width_div; width 822 drivers/media/platform/vicodec/codec-fwht.c rlco_max, cf, height, width, width 835 drivers/media/platform/vicodec/codec-fwht.c u32 height, u32 width, const u8 *ref, u32 ref_stride, width 846 drivers/media/platform/vicodec/codec-fwht.c width = round_up(width, 8); width 852 drivers/media/platform/vicodec/codec-fwht.c if (end_of_rlco_buf + 1 < *rlco + width * height / 2) width 855 drivers/media/platform/vicodec/codec-fwht.c memcpy(dst, *rlco, width); width 857 drivers/media/platform/vicodec/codec-fwht.c *rlco += width / 2; width 869 drivers/media/platform/vicodec/codec-fwht.c for (i = 0; i < width / 8; i++) { width 910 drivers/media/platform/vicodec/codec-fwht.c unsigned int components_num, unsigned int width, width 920 drivers/media/platform/vicodec/codec-fwht.c if (!decode_plane(cf, &rlco, height, width, ref->luma, ref_stride, width 929 drivers/media/platform/vicodec/codec-fwht.c u32 w = width; width 951 drivers/media/platform/vicodec/codec-fwht.c if (!decode_plane(cf, &rlco, height, width, ref->alpha, ref_stride, width 102 drivers/media/platform/vicodec/codec-fwht.h __be32 width, height; width 142 drivers/media/platform/vicodec/codec-fwht.h unsigned int width, unsigned int height, width 145 drivers/media/platform/vicodec/codec-fwht.h unsigned int components_num, unsigned int width, width 255 drivers/media/platform/vicodec/codec-v4l2-fwht.c p_hdr->width = htonl(state->visible_width); width 313 drivers/media/platform/vicodec/codec-v4l2-fwht.c if (ntohl(state->header.width) != state->visible_width || width 250 drivers/media/platform/vicodec/vicodec-core.c ctx->state.visible_width = ntohl(p_hdr->width); width 506 drivers/media/platform/vicodec/vicodec-core.c unsigned int w = ntohl(p_hdr->width); width 540 drivers/media/platform/vicodec/vicodec-core.c q_dst->visible_width = ntohl(p_hdr->width); width 668 drivers/media/platform/vicodec/vicodec-core.c if (ntohl(ctx->state.header.width) != q_dst->visible_width || width 789 drivers/media/platform/vicodec/vicodec-core.c pix->width = q_data->coded_width; width 807 drivers/media/platform/vicodec/vicodec-core.c pix_mp->width = q_data->coded_width; width 857 drivers/media/platform/vicodec/vicodec-core.c pix->width = clamp(pix->width, MIN_WIDTH, MAX_WIDTH); width 858 drivers/media/platform/vicodec/vicodec-core.c pix->width = vic_round_dim(pix->width, info->width_div); width 865 drivers/media/platform/vicodec/vicodec-core.c pix->width * info->bytesperline_mult; width 866 drivers/media/platform/vicodec/vicodec-core.c pix->sizeimage = pix->width * pix->height * width 880 drivers/media/platform/vicodec/vicodec-core.c pix_mp->width = clamp(pix_mp->width, MIN_WIDTH, MAX_WIDTH); width 881 drivers/media/platform/vicodec/vicodec-core.c pix_mp->width = vic_round_dim(pix_mp->width, info->width_div); width 889 drivers/media/platform/vicodec/vicodec-core.c pix_mp->width * info->bytesperline_mult; width 890 drivers/media/platform/vicodec/vicodec-core.c plane->sizeimage = pix_mp->width * pix_mp->height * width 1006 drivers/media/platform/vicodec/vicodec-core.c q_data->coded_width != pix->width || width 1018 drivers/media/platform/vicodec/vicodec-core.c q_data->coded_width = pix->width; width 1029 drivers/media/platform/vicodec/vicodec-core.c q_data->coded_width != pix_mp->width || width 1041 drivers/media/platform/vicodec/vicodec-core.c q_data->coded_width = pix_mp->width; width 1096 drivers/media/platform/vicodec/vicodec-core.c coded_w = f->fmt.pix.width; width 1099 drivers/media/platform/vicodec/vicodec-core.c coded_w = f->fmt.pix_mp.width; width 1164 drivers/media/platform/vicodec/vicodec-core.c s->r.width = q_data->visible_width; width 1171 drivers/media/platform/vicodec/vicodec-core.c s->r.width = q_data->coded_width; width 1180 drivers/media/platform/vicodec/vicodec-core.c s->r.width = q_data->visible_width; width 1187 drivers/media/platform/vicodec/vicodec-core.c s->r.width = q_data->coded_width; width 1213 drivers/media/platform/vicodec/vicodec-core.c q_data->visible_width = clamp(s->r.width, MIN_WIDTH, width 1215 drivers/media/platform/vicodec/vicodec-core.c s->r.width = q_data->visible_width; width 1811 drivers/media/platform/vicodec/vicodec-core.c if (params->width > q_dst->coded_width || width 1812 drivers/media/platform/vicodec/vicodec-core.c params->width < MIN_WIDTH || width 1835 drivers/media/platform/vicodec/vicodec-core.c p_hdr->width = htonl(params->width); width 32 drivers/media/platform/video-mux.c .width = 1, width 185 drivers/media/platform/video-mux.c v4l_bound_align_image(&sdformat->format.width, 1, 65536, 0, width 140 drivers/media/platform/vim2m.c unsigned int width; width 275 drivers/media/platform/vim2m.c memcpy(dst, src, q_data_out->width * depth); width 277 drivers/media/platform/vim2m.c for (x = 0; x < q_data_out->width >> 1; x++) { width 452 drivers/media/platform/vim2m.c unsigned int width, height, bytesperline, bytes_per_pixel; width 459 drivers/media/platform/vim2m.c bytesperline = (q_data_in->width * q_data_in->fmt->depth) >> 3; width 468 drivers/media/platform/vim2m.c width = q_data_out->width; width 498 drivers/media/platform/vim2m.c q_data_in->width == q_data_out->width && width 516 drivers/media/platform/vim2m.c x_int = q_data_in->width / q_data_out->width; width 517 drivers/media/platform/vim2m.c x_fract = q_data_in->width % q_data_out->width; width 529 drivers/media/platform/vim2m.c for (x = 0; x < width >> 1; x++) { width 532 drivers/media/platform/vim2m.c if (x_err > width) { width 534 drivers/media/platform/vim2m.c x_err -= width; width 549 drivers/media/platform/vim2m.c if (x_err > width) { width 551 drivers/media/platform/vim2m.c x_err -= width; width 746 drivers/media/platform/vim2m.c f->fmt.pix.width = q_data->width; width 750 drivers/media/platform/vim2m.c f->fmt.pix.bytesperline = (q_data->width * q_data->fmt->depth) >> 3; width 784 drivers/media/platform/vim2m.c if (f->fmt.pix.width < MIN_W) width 785 drivers/media/platform/vim2m.c f->fmt.pix.width = MIN_W; width 786 drivers/media/platform/vim2m.c else if (f->fmt.pix.width > MAX_W) width 787 drivers/media/platform/vim2m.c f->fmt.pix.width = MAX_W; width 790 drivers/media/platform/vim2m.c f->fmt.pix.width &= ~(walign - 1); width 792 drivers/media/platform/vim2m.c f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; width 866 drivers/media/platform/vim2m.c q_data->width = f->fmt.pix.width; width 868 drivers/media/platform/vim2m.c q_data->sizeimage = q_data->width * q_data->height width 873 drivers/media/platform/vim2m.c type_name(f->type), q_data->width, q_data->height, width 1004 drivers/media/platform/vim2m.c size = q_data->width * q_data->height * q_data->fmt->depth >> 3; width 1217 drivers/media/platform/vim2m.c ctx->q_data[V4L2_M2M_SRC].width = 640; width 1220 drivers/media/platform/vim2m.c ctx->q_data[V4L2_M2M_SRC].width * width 42 drivers/media/platform/vimc/vimc-capture.c .width = 640, width 96 drivers/media/platform/vimc/vimc-capture.c format->width = clamp_t(u32, format->width, VIMC_FRAME_MIN_WIDTH, width 108 drivers/media/platform/vimc/vimc-capture.c format->bytesperline = format->width * vpix->bpp; width 137 drivers/media/platform/vimc/vimc-capture.c vcap->format.width, vcap->format.height, width 142 drivers/media/platform/vimc/vimc-capture.c f->fmt.pix.width, f->fmt.pix.height, width 455 drivers/media/platform/vimc/vimc-capture.c vcap->format.bytesperline = vcap->format.width * vpix->bpp; width 304 drivers/media/platform/vimc/vimc-common.c source_fmt.format.width, source_fmt.format.height, width 310 drivers/media/platform/vimc/vimc-common.c sink_fmt.format.width, sink_fmt.format.height, width 316 drivers/media/platform/vimc/vimc-common.c if (source_fmt.format.width != sink_fmt.format.width width 27 drivers/media/platform/vimc/vimc-common.h #define VIMC_FRAME_INDEX(lin, col, width, bpp) ((lin * width + col) * bpp) width 57 drivers/media/platform/vimc/vimc-debayer.c .width = 640, width 233 drivers/media/platform/vimc/vimc-debayer.c fmt->width = clamp_t(u32, fmt->width, VIMC_FRAME_MIN_WIDTH, width 277 drivers/media/platform/vimc/vimc-debayer.c sink_fmt->width, sink_fmt->height, sink_fmt->code, width 281 drivers/media/platform/vimc/vimc-debayer.c fmt->format.width, fmt->format.height, fmt->format.code, width 306 drivers/media/platform/vimc/vimc-debayer.c index = VIMC_FRAME_INDEX(lin, col, vdeb->sink_fmt.width, 3); width 324 drivers/media/platform/vimc/vimc-debayer.c frame_size = vdeb->sink_fmt.width * vdeb->sink_fmt.height * width 417 drivers/media/platform/vimc/vimc-debayer.c wcol < col + seek + 1 && wcol < vdeb->sink_fmt.width; width 426 drivers/media/platform/vimc/vimc-debayer.c vdeb->sink_fmt.width, width 473 drivers/media/platform/vimc/vimc-debayer.c for (j = 0; j < vdeb->sink_fmt.width; j++) { width 43 drivers/media/platform/vimc/vimc-scaler.c .width = 640, width 62 drivers/media/platform/vimc/vimc-scaler.c mf->width = mf->width * sca_mult; width 125 drivers/media/platform/vimc/vimc-scaler.c format->format.width = vsca->sink_fmt.width * sca_mult; width 141 drivers/media/platform/vimc/vimc-scaler.c fmt->width = clamp_t(u32, fmt->width, VIMC_FRAME_MIN_WIDTH, width 175 drivers/media/platform/vimc/vimc-scaler.c fmt->format.width = sink_fmt->width * sca_mult; width 185 drivers/media/platform/vimc/vimc-scaler.c sink_fmt->width, sink_fmt->height, sink_fmt->code, width 189 drivers/media/platform/vimc/vimc-scaler.c fmt->format.width, fmt->format.height, fmt->format.code, width 223 drivers/media/platform/vimc/vimc-scaler.c vsca->src_line_size = vsca->sink_fmt.width * width 277 drivers/media/platform/vimc/vimc-scaler.c vsca->sink_fmt.width, width 289 drivers/media/platform/vimc/vimc-scaler.c vsca->sink_fmt.width * sca_mult, vsca->bpp); width 322 drivers/media/platform/vimc/vimc-scaler.c for (j = 0; j < vsca->sink_fmt.width; j++) width 35 drivers/media/platform/vimc/vimc-sensor.c .width = 640, width 112 drivers/media/platform/vimc/vimc-sensor.c tpg_reset_source(&vsen->tpg, vsen->mbus_format.width, width 114 drivers/media/platform/vimc/vimc-sensor.c tpg_s_bytesperline(&vsen->tpg, 0, vsen->mbus_format.width * vpix->bpp); width 134 drivers/media/platform/vimc/vimc-sensor.c fmt->width = clamp_t(u32, fmt->width, VIMC_FRAME_MIN_WIDTH, width 170 drivers/media/platform/vimc/vimc-sensor.c mf->width, mf->height, mf->code, width 174 drivers/media/platform/vimc/vimc-sensor.c fmt->format.width, fmt->format.height, fmt->format.code, width 212 drivers/media/platform/vimc/vimc-sensor.c frame_size = vsen->mbus_format.width * vpix->bpp * width 382 drivers/media/platform/vimc/vimc-sensor.c tpg_init(&vsen->tpg, vsen->mbus_format.width, width 898 drivers/media/platform/vivid/vivid-core.c while (v4l2_dv_timings_presets[dev->query_dv_timings_size].bt.width) width 928 drivers/media/platform/vivid/vivid-core.c bt->width, bt->height, bt->interlaced ? "i" : "p", width 1068 drivers/media/platform/vivid/vivid-core.c dev->fb_cap.fmt.width = dev->src_rect.width; width 1071 drivers/media/platform/vivid/vivid-core.c dev->fb_cap.fmt.bytesperline = dev->src_rect.width * tpg_g_twopixelsize(&dev->tpg, 0) / 2; width 949 drivers/media/platform/vivid/vivid-ctrls.c if (bt->width == 720 && bt->height <= 576) width 64 drivers/media/platform/vivid/vivid-kthread-cap.c unsigned stride = (dev->compose_out.width + 7) / 8; width 76 drivers/media/platform/vivid/vivid-kthread-cap.c fb_x >= r->left && fb_x < r->left + r->width) width 101 drivers/media/platform/vivid/vivid-kthread-cap.c unsigned width, unsigned pixsize) width 105 drivers/media/platform/vivid/vivid-kthread-cap.c for (x = 0; x < width; x++, vcapbuf += pixsize, vosdbuf += pixsize) { width 173 drivers/media/platform/vivid/vivid-kthread-cap.c dev->compose_out.width, dev->compose_out.height width 188 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_copy.width, dev->loop_vid_copy.height, width 190 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_out.width, dev->loop_vid_out.height, width 192 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_cap.width, dev->loop_vid_cap.height, width 213 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_fb_copy.width, dev->loop_fb_copy.height, width 215 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_overlay.width, dev->loop_vid_overlay.height, width 217 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_overlay_cap.width, dev->loop_vid_overlay_cap.height, width 243 drivers/media/platform/vivid/vivid-kthread-cap.c unsigned img_width = tpg_hdiv(tpg, p, dev->compose_cap.width); width 286 drivers/media/platform/vivid/vivid-kthread-cap.c if (dev->loop_vid_copy.width == 0 || dev->loop_vid_copy.height == 0) { width 297 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_overlay.width && dev->loop_vid_overlay.height) { width 307 drivers/media/platform/vivid/vivid-kthread-cap.c vid_cap_right = tpg_hdiv(tpg, p, dev->loop_vid_cap.left + dev->loop_vid_cap.width); width 309 drivers/media/platform/vivid/vivid-kthread-cap.c quick = dev->loop_vid_out.width == dev->loop_vid_cap.width; width 339 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); width 344 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); width 349 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_hdiv(tpg, p, dev->loop_vid_out.width), width 350 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_hdiv(tpg, p, dev->loop_vid_cap.width), width 363 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_out.width, dev->loop_vid_copy.width, width 369 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_overlay.width, twopixsize / 2); width 372 drivers/media/platform/vivid/vivid-kthread-cap.c osd, (dev->loop_vid_overlay.width * twopixsize) / 2); width 374 drivers/media/platform/vivid/vivid-kthread-cap.c dev->loop_vid_copy.width, dev->loop_vid_cap.width, width 379 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_hdiv(tpg, p, dev->loop_vid_cap.width)); width 493 drivers/media/platform/vivid/vivid-kthread-cap.c dev->src_rect.width, dev->src_rect.height, dev->input); width 567 drivers/media/platform/vivid/vivid-kthread-cap.c unsigned stride = (dev->compose_cap.width + 7) / 8; width 581 drivers/media/platform/vivid/vivid-kthread-cap.c fb_x >= r->left && fb_x < r->left + r->width) width 597 drivers/media/platform/vivid/vivid-kthread-cap.c unsigned img_width = dev->compose_cap.width; width 623 drivers/media/platform/vivid/vivid-kthread-cap.c w = dev->fb_cap.fmt.width - x; width 274 drivers/media/platform/vivid/vivid-osd.c start_window.width = MAX_OSD_WIDTH; width 277 drivers/media/platform/vivid/vivid-osd.c dev->display_byte_stride = start_window.width * dev->bytes_per_pixel; width 284 drivers/media/platform/vivid/vivid-osd.c dev->display_width = start_window.width; width 370 drivers/media/platform/vivid/vivid-vid-cap.c dev->src_rect.width == 720 && dev->src_rect.height <= 576) width 390 drivers/media/platform/vivid/vivid-vid-cap.c dev->src_rect.width = webcam_sizes[dev->webcam_size_idx].width; width 399 drivers/media/platform/vivid/vivid-vid-cap.c dev->src_rect.width = 720; width 412 drivers/media/platform/vivid/vivid-vid-cap.c dev->src_rect.width = bt->width; width 437 drivers/media/platform/vivid/vivid-vid-cap.c if (bt->width == 720 && bt->height <= 576) width 452 drivers/media/platform/vivid/vivid-vid-cap.c tpg_reset_source(&dev->tpg, dev->src_rect.width, dev->src_rect.height, dev->field_cap); width 530 drivers/media/platform/vivid/vivid-vid-cap.c mp->width = dev->fmt_cap_rect.width; width 576 drivers/media/platform/vivid/vivid-vid-cap.c VIVID_WEBCAM_SIZES, width, width 577 drivers/media/platform/vivid/vivid-vid-cap.c height, mp->width, mp->height); width 579 drivers/media/platform/vivid/vivid-vid-cap.c w = sz->width; width 585 drivers/media/platform/vivid/vivid-vid-cap.c w = dev->src_rect.width; width 592 drivers/media/platform/vivid/vivid-vid-cap.c mp->width = w; width 595 drivers/media/platform/vivid/vivid-vid-cap.c struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; width 608 drivers/media/platform/vivid/vivid-vid-cap.c mp->width = r.width; width 617 drivers/media/platform/vivid/vivid-vid-cap.c bytesperline = (mp->width * fmt->bit_depth[p]) >> 3; width 681 drivers/media/platform/vivid/vivid-vid-cap.c struct v4l2_rect r = { 0, 0, mp->width, mp->height }; width 691 drivers/media/platform/vivid/vivid-vid-cap.c r.width / MAX_ZOOM, width 696 drivers/media/platform/vivid/vivid-vid-cap.c r.width * MAX_ZOOM, width 706 drivers/media/platform/vivid/vivid-vid-cap.c compose->width / MAX_ZOOM, width 711 drivers/media/platform/vivid/vivid-vid-cap.c compose->width * MAX_ZOOM, width 742 drivers/media/platform/vivid/vivid-vid-cap.c if (webcam_sizes[i].width == mp->width && width 750 drivers/media/platform/vivid/vivid-vid-cap.c struct v4l2_rect r = { 0, 0, mp->width, mp->height }; width 757 drivers/media/platform/vivid/vivid-vid-cap.c dev->fmt_cap_rect.width = mp->width; width 912 drivers/media/platform/vivid/vivid-vid-cap.c s->r.width * MAX_ZOOM, width 917 drivers/media/platform/vivid/vivid-vid-cap.c s->r.width / MAX_ZOOM, width 968 drivers/media/platform/vivid/vivid-vid-cap.c dev->src_rect.width * MAX_ZOOM, width 976 drivers/media/platform/vivid/vivid-vid-cap.c s->r.width / MAX_ZOOM, width 981 drivers/media/platform/vivid/vivid-vid-cap.c s->r.width * MAX_ZOOM, width 1002 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->bitmap_cap && (compose->width != s->r.width || width 1071 drivers/media/platform/vivid/vivid-vid-cap.c win->w.width = compose->width; width 1081 drivers/media/platform/vivid/vivid-vid-cap.c ((compose->width + 7) / 8) * compose->height)) width 1104 drivers/media/platform/vivid/vivid-vid-cap.c -dev->fb_cap.fmt.width, dev->fb_cap.fmt.width); width 1107 drivers/media/platform/vivid/vivid-vid-cap.c win->w.width = compose->width; width 1126 drivers/media/platform/vivid/vivid-vid-cap.c r->left = clamp_t(u32, r->left, 0, dev->fb_cap.fmt.width - 1); width 1127 drivers/media/platform/vivid/vivid-vid-cap.c r->width = clamp_t(u32, r->width, 1, dev->fb_cap.fmt.width - r->left); width 1157 drivers/media/platform/vivid/vivid-vid-cap.c unsigned bitmap_size = ((compose->width + 7) / 8) * compose->height; width 1246 drivers/media/platform/vivid/vivid-vid-cap.c if (a->fmt.width < 48 || a->fmt.height < 32) width 1251 drivers/media/platform/vivid/vivid-vid-cap.c if (a->fmt.bytesperline < (a->fmt.width * fmt->bit_depth[0]) / 8) width 1259 drivers/media/platform/vivid/vivid-vid-cap.c -dev->fb_cap.fmt.width, dev->fb_cap.fmt.width); width 1382 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->src_rect.width == 720 && dev->src_rect.height <= 576) width 1627 drivers/media/platform/vivid/vivid-vid-cap.c static void find_aspect_ratio(u32 width, u32 height, width 1630 drivers/media/platform/vivid/vivid-vid-cap.c if (!(height % 3) && ((height * 4 / 3) == width)) { width 1633 drivers/media/platform/vivid/vivid-vid-cap.c } else if (!(height % 9) && ((height * 16 / 9) == width)) { width 1636 drivers/media/platform/vivid/vivid-vid-cap.c } else if (!(height % 10) && ((height * 16 / 10) == width)) { width 1639 drivers/media/platform/vivid/vivid-vid-cap.c } else if (!(height % 4) && ((height * 5 / 4) == width)) { width 1642 drivers/media/platform/vivid/vivid-vid-cap.c } else if (!(height % 9) && ((height * 15 / 9) == width)) { width 1668 drivers/media/platform/vivid/vivid-vid-cap.c if (v4l2_detect_cvt(total_v_lines, h_freq, bt->vsync, bt->width, width 1676 drivers/media/platform/vivid/vivid-vid-cap.c find_aspect_ratio(bt->width, bt->height, width 1843 drivers/media/platform/vivid/vivid-vid-cap.c if (fival->width < MIN_WIDTH || fival->width > MAX_WIDTH * MAX_ZOOM) width 1853 drivers/media/platform/vivid/vivid-vid-cap.c if (fival->width == webcam_sizes[i].width && width 759 drivers/media/platform/vivid/vivid-vid-common.c if (dev->src_rect.width != dev->sink_rect.width || width 817 drivers/media/platform/vivid/vivid-vid-common.c mp->width = pix->width; width 847 drivers/media/platform/vivid/vivid-vid-common.c pix->width = mp->width; width 864 drivers/media/platform/vivid/vivid-vid-common.c unsigned w = r->width; width 903 drivers/media/platform/vivid/vivid-vid-common.c (r->width != w || r->height != h)) width 905 drivers/media/platform/vivid/vivid-vid-common.c r->width = w; width 227 drivers/media/platform/vivid/vivid-vid-out.c dev->sink_rect.width = 720; width 240 drivers/media/platform/vivid/vivid-vid-out.c dev->sink_rect.width = bt->width; width 257 drivers/media/platform/vivid/vivid-vid-out.c if (bt->width == 720 && bt->height <= 576) width 278 drivers/media/platform/vivid/vivid-vid-out.c (dev->sink_rect.width * dev->fmt_out->bit_depth[p]) / 8; width 310 drivers/media/platform/vivid/vivid-vid-out.c dev->sink_rect.width == 720 && dev->sink_rect.height <= 576) width 325 drivers/media/platform/vivid/vivid-vid-out.c mp->width = dev->fmt_out_rect.width; width 375 drivers/media/platform/vivid/vivid-vid-out.c w = dev->sink_rect.width; width 381 drivers/media/platform/vivid/vivid-vid-out.c mp->width = w; width 384 drivers/media/platform/vivid/vivid-vid-out.c struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; width 397 drivers/media/platform/vivid/vivid-vid-out.c mp->width = r.width; width 406 drivers/media/platform/vivid/vivid-vid-out.c bytesperline = (mp->width * fmt->bit_depth[p]) >> 3; width 434 drivers/media/platform/vivid/vivid-vid-out.c } else if (bt->width == 720 && bt->height <= 576) { width 464 drivers/media/platform/vivid/vivid-vid-out.c mp->width != dev->fmt_out_rect.width || width 485 drivers/media/platform/vivid/vivid-vid-out.c struct v4l2_rect r = { 0, 0, mp->width, mp->height }; width 495 drivers/media/platform/vivid/vivid-vid-out.c r.width / MAX_ZOOM, width 500 drivers/media/platform/vivid/vivid-vid-out.c r.width * MAX_ZOOM, width 510 drivers/media/platform/vivid/vivid-vid-out.c crop->width / MAX_ZOOM, width 515 drivers/media/platform/vivid/vivid-vid-out.c crop->width * MAX_ZOOM, width 544 drivers/media/platform/vivid/vivid-vid-out.c struct v4l2_rect r = { 0, 0, mp->width, mp->height }; width 551 drivers/media/platform/vivid/vivid-vid-out.c dev->fmt_out_rect.width = mp->width; width 704 drivers/media/platform/vivid/vivid-vid-out.c dev->sink_rect.width * MAX_ZOOM, width 712 drivers/media/platform/vivid/vivid-vid-out.c s->r.width / MAX_ZOOM, width 717 drivers/media/platform/vivid/vivid-vid-out.c s->r.width * MAX_ZOOM, width 755 drivers/media/platform/vivid/vivid-vid-out.c s->r.width * MAX_ZOOM, width 760 drivers/media/platform/vivid/vivid-vid-out.c s->r.width / MAX_ZOOM, width 796 drivers/media/platform/vivid/vivid-vid-out.c if (dev->bitmap_out && (compose->width != s->r.width || width 845 drivers/media/platform/vivid/vivid-vid-out.c win->w.width = compose->width; width 857 drivers/media/platform/vivid/vivid-vid-out.c ((dev->compose_out.width + 7) / 8) * dev->compose_out.height)) width 882 drivers/media/platform/vivid/vivid-vid-out.c win->w.width = compose->width; width 903 drivers/media/platform/vivid/vivid-vid-out.c r->width = clamp_t(u32, r->width, 1, dev->display_width - r->left); width 933 drivers/media/platform/vivid/vivid-vid-out.c unsigned bitmap_size = ((compose->width + 7) / 8) * compose->height; width 991 drivers/media/platform/vivid/vivid-vid-out.c a->fmt.width = dev->display_width; width 128 drivers/media/platform/vsp1/vsp1_brx.c fmt->width = clamp(fmt->width, BRX_MIN_SIZE, BRX_MAX_SIZE); width 163 drivers/media/platform/vsp1/vsp1_brx.c compose->width = format->width; width 197 drivers/media/platform/vsp1/vsp1_brx.c sel->r.width = BRX_MAX_SIZE; width 247 drivers/media/platform/vsp1/vsp1_brx.c sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); width 255 drivers/media/platform/vsp1/vsp1_brx.c sel->r.width = format->width; width 318 drivers/media/platform/vsp1/vsp1_brx.c (format->width << VI6_BRU_VIRRPF_SIZE_HSIZE_SHIFT) | width 100 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, width 135 drivers/media/platform/vsp1/vsp1_drm.c format.format.width = crop->width + crop->left; width 147 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, width 163 drivers/media/platform/vsp1/vsp1_drm.c __func__, sel.r.left, sel.r.top, sel.r.width, sel.r.height, width 179 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, width 204 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, width 217 drivers/media/platform/vsp1/vsp1_drm.c __func__, sel.r.left, sel.r.top, sel.r.width, sel.r.height, width 339 drivers/media/platform/vsp1/vsp1_drm.c format.format.width = drm_pipe->width; width 349 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, width 352 drivers/media/platform/vsp1/vsp1_drm.c if (format.format.width != drm_pipe->width || width 485 drivers/media/platform/vsp1/vsp1_drm.c format.format.width = drm_pipe->width; width 496 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, width 506 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, width 516 drivers/media/platform/vsp1/vsp1_drm.c __func__, format.format.width, format.format.height, width 523 drivers/media/platform/vsp1/vsp1_drm.c if (format.format.width != drm_pipe->width || width 709 drivers/media/platform/vsp1/vsp1_drm.c drm_pipe->width = cfg->width; width 714 drivers/media/platform/vsp1/vsp1_drm.c __func__, pipe_index, cfg->width, cfg->height, width 835 drivers/media/platform/vsp1/vsp1_drm.c cfg->src.left, cfg->src.top, cfg->src.width, cfg->src.height, width 836 drivers/media/platform/vsp1/vsp1_drm.c cfg->dst.left, cfg->dst.top, cfg->dst.width, cfg->dst.height, width 35 drivers/media/platform/vsp1/vsp1_drm.h unsigned int width; width 326 drivers/media/platform/vsp1/vsp1_entity.c fse->min_width = format->width; width 327 drivers/media/platform/vsp1/vsp1_entity.c fse->max_width = format->width; width 395 drivers/media/platform/vsp1/vsp1_entity.c format->width = clamp_t(unsigned int, fmt->format.width, width 413 drivers/media/platform/vsp1/vsp1_entity.c selection->width = format->width; width 420 drivers/media/platform/vsp1/vsp1_entity.c selection->width = format->width; width 155 drivers/media/platform/vsp1/vsp1_hgo.c (crop->width << VI6_HGO_SIZE_HSIZE_SHIFT) | width 164 drivers/media/platform/vsp1/vsp1_hgo.c hratio = crop->width * 2 / compose->width / 3; width 154 drivers/media/platform/vsp1/vsp1_hgt.c (crop->width << VI6_HGT_SIZE_HSIZE_SHIFT) | width 167 drivers/media/platform/vsp1/vsp1_hgt.c hratio = crop->width * 2 / compose->width / 3; width 228 drivers/media/platform/vsp1/vsp1_histo.c sel->r.width = crop->width; width 238 drivers/media/platform/vsp1/vsp1_histo.c sel->r.width = format->width; width 269 drivers/media/platform/vsp1/vsp1_histo.c sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); width 271 drivers/media/platform/vsp1/vsp1_histo.c sel->r.width = clamp_t(unsigned int, sel->r.width, HISTO_MIN_SIZE, width 272 drivers/media/platform/vsp1/vsp1_histo.c format->width - sel->r.left); width 323 drivers/media/platform/vsp1/vsp1_histo.c sel->r.width = clamp(sel->r.width, crop->width / 4, crop->width); width 324 drivers/media/platform/vsp1/vsp1_histo.c ratio = 1 << (crop->width * 2 / sel->r.width / 3); width 325 drivers/media/platform/vsp1/vsp1_histo.c sel->r.width = crop->width / ratio; width 377 drivers/media/platform/vsp1/vsp1_histo.c fmt->format.width = 0; width 93 drivers/media/platform/vsp1/vsp1_hsit.c format->width = clamp_t(unsigned int, fmt->format.width, width 103 drivers/media/platform/vsp1/vsp1_lif.c obth = min(128U, (format->width + 1) / 2 * format->height - 4); width 64 drivers/media/platform/vsp1/vsp1_pipe.h unsigned int width; width 274 drivers/media/platform/vsp1/vsp1_rpf.c crop.width = pipe->partition->rpf.width; width 284 drivers/media/platform/vsp1/vsp1_rpf.c (crop.width << VI6_RPF_SRC_BSIZE_BHSIZE_SHIFT) | width 287 drivers/media/platform/vsp1/vsp1_rpf.c (crop.width << VI6_RPF_SRC_ESIZE_EHSIZE_SHIFT) | width 95 drivers/media/platform/vsp1/vsp1_rwpf.c format->width = clamp_t(unsigned int, fmt->format.width, width 111 drivers/media/platform/vsp1/vsp1_rwpf.c crop->width = fmt->format.width; width 121 drivers/media/platform/vsp1/vsp1_rwpf.c format->width = fmt->format.height; width 122 drivers/media/platform/vsp1/vsp1_rwpf.c format->height = fmt->format.width; width 164 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.width = format->width; width 217 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.width = round_down(sel->r.width, 2); width 221 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.left = min_t(unsigned int, sel->r.left, format->width - 2); width 223 drivers/media/platform/vsp1/vsp1_rwpf.c sel->r.width = min_t(unsigned int, sel->r.width, width 224 drivers/media/platform/vsp1/vsp1_rwpf.c format->width - sel->r.left); width 234 drivers/media/platform/vsp1/vsp1_rwpf.c format->width = crop->width; width 149 drivers/media/platform/vsp1/vsp1_sru.c fse->min_width = format->width; width 151 drivers/media/platform/vsp1/vsp1_sru.c if (format->width <= SRU_MAX_SIZE / 2 && width 153 drivers/media/platform/vsp1/vsp1_sru.c fse->max_width = format->width * 2; width 156 drivers/media/platform/vsp1/vsp1_sru.c fse->max_width = format->width; width 181 drivers/media/platform/vsp1/vsp1_sru.c fmt->width = clamp(fmt->width, SRU_MIN_SIZE, SRU_MAX_SIZE); width 198 drivers/media/platform/vsp1/vsp1_sru.c input_area = format->width * format->height; width 199 drivers/media/platform/vsp1/vsp1_sru.c output_area = min(fmt->width, SRU_MAX_SIZE) width 202 drivers/media/platform/vsp1/vsp1_sru.c if (fmt->width <= SRU_MAX_SIZE / 2 && width 205 drivers/media/platform/vsp1/vsp1_sru.c fmt->width = format->width * 2; width 208 drivers/media/platform/vsp1/vsp1_sru.c fmt->width = format->width; width 292 drivers/media/platform/vsp1/vsp1_sru.c if (input->width != output->width) width 321 drivers/media/platform/vsp1/vsp1_sru.c if (input->width != output->width) width 343 drivers/media/platform/vsp1/vsp1_sru.c if (input->width != output->width) { width 344 drivers/media/platform/vsp1/vsp1_sru.c window->width /= 2; width 155 drivers/media/platform/vsp1/vsp1_uds.c uds_output_limits(format->width, &fse->min_width, width 181 drivers/media/platform/vsp1/vsp1_uds.c fmt->width = clamp(fmt->width, UDS_MIN_SIZE, UDS_MAX_SIZE); width 191 drivers/media/platform/vsp1/vsp1_uds.c uds_output_limits(format->width, &minimum, &maximum); width 192 drivers/media/platform/vsp1/vsp1_uds.c fmt->width = clamp(fmt->width, minimum, maximum); width 275 drivers/media/platform/vsp1/vsp1_uds.c hscale = uds_compute_ratio(input->width, output->width); width 321 drivers/media/platform/vsp1/vsp1_uds.c (partition->uds_sink.width width 326 drivers/media/platform/vsp1/vsp1_uds.c (partition->uds_source.width width 344 drivers/media/platform/vsp1/vsp1_uds.c hscale = output->width / input->width; width 387 drivers/media/platform/vsp1/vsp1_uds.c partition->uds_sink.width = window->width * input->width width 388 drivers/media/platform/vsp1/vsp1_uds.c / output->width; width 389 drivers/media/platform/vsp1/vsp1_uds.c partition->uds_sink.left = window->left * input->width width 390 drivers/media/platform/vsp1/vsp1_uds.c / output->width; width 110 drivers/media/platform/vsp1/vsp1_uif.c sel->r.width = format->width; width 154 drivers/media/platform/vsp1/vsp1_uif.c sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); width 156 drivers/media/platform/vsp1/vsp1_uif.c sel->r.width = clamp_t(unsigned int, sel->r.width, UIF_MIN_SIZE, width 157 drivers/media/platform/vsp1/vsp1_uif.c format->width - sel->r.left); width 201 drivers/media/platform/vsp1/vsp1_uif.c unsigned int width; width 210 drivers/media/platform/vsp1/vsp1_uif.c width = crop->width; width 215 drivers/media/platform/vsp1/vsp1_uif.c width /= 2; width 220 drivers/media/platform/vsp1/vsp1_uif.c vsp1_uif_write(uif, dlb, VI6_UIF_DISCOM_DOCMSZXR, width); width 80 drivers/media/platform/vsp1/vsp1_video.c video->rwpf->format.width != fmt.format.width) width 98 drivers/media/platform/vsp1/vsp1_video.c unsigned int width = pix->width; width 133 drivers/media/platform/vsp1/vsp1_video.c width = round_down(width, info->hsub); width 137 drivers/media/platform/vsp1/vsp1_video.c pix->width = clamp(width, info->hsub, VSP1_VIDEO_MAX_WIDTH); width 152 drivers/media/platform/vsp1/vsp1_video.c pix->width / hsub * info->bpp[i] / 8, width 206 drivers/media/platform/vsp1/vsp1_video.c window.width = format->width; width 215 drivers/media/platform/vsp1/vsp1_video.c window.width = div_size; width 217 drivers/media/platform/vsp1/vsp1_video.c modulus = format->width % div_size; width 238 drivers/media/platform/vsp1/vsp1_video.c window.width = div_size / 2; width 241 drivers/media/platform/vsp1/vsp1_video.c window.width = (div_size / 2) + modulus; width 245 drivers/media/platform/vsp1/vsp1_video.c window.width = modulus; width 267 drivers/media/platform/vsp1/vsp1_video.c div_size = format->width; width 286 drivers/media/platform/vsp1/vsp1_video.c pipe->partitions = DIV_ROUND_UP(format->width, div_size); width 1287 drivers/media/platform/vsp1/vsp1_video.c rwpf->format.width = VSP1_VIDEO_DEF_WIDTH; width 78 drivers/media/platform/vsp1/vsp1_wpf.c source_format->width = sink_format->height; width 79 drivers/media/platform/vsp1/vsp1_wpf.c source_format->height = sink_format->width; width 81 drivers/media/platform/vsp1/vsp1_wpf.c source_format->width = sink_format->width; width 402 drivers/media/platform/vsp1/vsp1_wpf.c unsigned int width; width 412 drivers/media/platform/vsp1/vsp1_wpf.c width = sink_format->width; width 421 drivers/media/platform/vsp1/vsp1_wpf.c width = pipe->partition->wpf.width; width 427 drivers/media/platform/vsp1/vsp1_wpf.c (width << VI6_WPF_SZCLIP_SIZE_SHIFT)); width 458 drivers/media/platform/vsp1/vsp1_wpf.c offset = format->width - left - width; width 460 drivers/media/platform/vsp1/vsp1_wpf.c offset = format->height - left - width; width 484 drivers/media/platform/vsp1/vsp1_wpf.c height = width; width 500 drivers/media/platform/vsp1/vsp1_wpf.c unsigned int hoffset = max(0, (int)format->width - 16); width 75 drivers/media/platform/xilinx/xilinx-dma.c dma->format.width != fmt.format.width || width 367 drivers/media/platform/xilinx/xilinx-dma.c dma->sgl[0].size = dma->format.width * dma->fmtinfo->bpp; width 544 drivers/media/platform/xilinx/xilinx-dma.c unsigned int width; width 565 drivers/media/platform/xilinx/xilinx-dma.c width = rounddown(pix->width * info->bpp, align); width 567 drivers/media/platform/xilinx/xilinx-dma.c pix->width = clamp(width, min_width, max_width) / info->bpp; width 575 drivers/media/platform/xilinx/xilinx-dma.c min_bpl = pix->width * info->bpp; width 667 drivers/media/platform/xilinx/xilinx-dma.c dma->format.width = XVIP_DMA_DEF_WIDTH; width 669 drivers/media/platform/xilinx/xilinx-dma.c dma->format.bytesperline = dma->format.width * dma->fmtinfo->bpp; width 170 drivers/media/platform/xilinx/xilinx-tpg.c unsigned int width = xtpg->formats[0].width; width 189 drivers/media/platform/xilinx/xilinx-tpg.c .hblank_start = width, width 190 drivers/media/platform/xilinx/xilinx-tpg.c .hsync_start = width + 1, width 198 drivers/media/platform/xilinx/xilinx-tpg.c v4l2_ctrl_g_ctrl(xtpg->hblank) + width); width 340 drivers/media/platform/xilinx/xilinx-tpg.c fse->min_width = format->width; width 341 drivers/media/platform/xilinx/xilinx-tpg.c fse->max_width = format->width; width 107 drivers/media/platform/xilinx/xilinx-vip.c u32 width; width 114 drivers/media/platform/xilinx/xilinx-vip.c ret = of_property_read_u32(node, "xlnx,video-width", &width); width 124 drivers/media/platform/xilinx/xilinx-vip.c if (format->vf_code != vf_code || format->width != width) width 150 drivers/media/platform/xilinx/xilinx-vip.c format->width = clamp_t(unsigned int, fmt->format.width, width 312 drivers/media/platform/xilinx/xilinx-vip.c fse->min_width = format->width; width 313 drivers/media/platform/xilinx/xilinx-vip.c fse->max_width = format->width; width 115 drivers/media/platform/xilinx/xilinx-vip.h unsigned int width; width 194 drivers/media/platform/xilinx/xilinx-vip.h (format->width << XVIP_ACTIVE_HSIZE_SHIFT)); width 203 drivers/media/platform/xilinx/xilinx-vip.h format->width = (reg & XVIP_ACTIVE_HSIZE_MASK) >> width 60 drivers/media/spi/gs1662.c __u32 width; width 118 drivers/media/usb/au0828/au0828-input.c int prv_bit, bit, width; width 149 drivers/media/usb/au0828/au0828-input.c width = 0; width 154 drivers/media/usb/au0828/au0828-input.c width++; width 171 drivers/media/usb/au0828/au0828-input.c if (width > NEC_START_SPACE - 2 && width 172 drivers/media/usb/au0828/au0828-input.c width < NEC_START_SPACE + 2) { width 189 drivers/media/usb/au0828/au0828-input.c rawir.duration = AU8522_UNIT * width; width 195 drivers/media/usb/au0828/au0828-input.c width = 1; width 201 drivers/media/usb/au0828/au0828-input.c rawir.duration = AU8522_UNIT * width; width 317 drivers/media/usb/au0828/au0828-video.c int bytesperline = dev->width << 1; /* Assumes 16-bit depth @@@@ */ width 767 drivers/media/usb/au0828/au0828-video.c w = d->width * 2; width 1135 drivers/media/usb/au0828/au0828-video.c int width = format->fmt.pix.width; width 1144 drivers/media/usb/au0828/au0828-video.c if (width != 720) width 1145 drivers/media/usb/au0828/au0828-video.c width = 720; width 1149 drivers/media/usb/au0828/au0828-video.c format->fmt.pix.width = width; width 1152 drivers/media/usb/au0828/au0828-video.c format->fmt.pix.bytesperline = width * 2; width 1153 drivers/media/usb/au0828/au0828-video.c format->fmt.pix.sizeimage = width * height * 2; width 1161 drivers/media/usb/au0828/au0828-video.c dev->width = width; width 1163 drivers/media/usb/au0828/au0828-video.c dev->frame_size = width * height * 2; width 1164 drivers/media/usb/au0828/au0828-video.c dev->field_size = width * height; width 1165 drivers/media/usb/au0828/au0828-video.c dev->bytesperline = width * 2; width 1222 drivers/media/usb/au0828/au0828-video.c f->fmt.pix.width = dev->width; width 1633 drivers/media/usb/au0828/au0828-video.c s->r.width = dev->width; width 1959 drivers/media/usb/au0828/au0828-video.c dev->width = NTSC_STD_W; width 1961 drivers/media/usb/au0828/au0828-video.c dev->field_size = dev->width * dev->height; width 1963 drivers/media/usb/au0828/au0828-video.c dev->bytesperline = dev->width << 1; width 221 drivers/media/usb/au0828/au0828.h int width; width 301 drivers/media/usb/cpia2/cpia2.h int width; /* actual window width */ width 379 drivers/media/usb/cpia2/cpia2.h u32 width; width 419 drivers/media/usb/cpia2/cpia2.h int cpia2_match_video_size(int width, int height); width 627 drivers/media/usb/cpia2/cpia2_core.c cam->params.roi.width, width 807 drivers/media/usb/cpia2/cpia2_core.c target_kb = (cam->width * cam->height * 2 / 16384) * width 956 drivers/media/usb/cpia2/cpia2_core.c int width = cam->params.roi.width; width 964 drivers/media/usb/cpia2/cpia2_core.c if ((width > STV_IMAGE_QCIF_COLS) width 973 drivers/media/usb/cpia2/cpia2_core.c if ((width > STV_IMAGE_CIF_COLS) width 1017 drivers/media/usb/cpia2/cpia2_core.c int cpia2_match_video_size(int width, int height) width 1019 drivers/media/usb/cpia2/cpia2_core.c if (width >= STV_IMAGE_VGA_COLS && height >= STV_IMAGE_VGA_ROWS) width 1022 drivers/media/usb/cpia2/cpia2_core.c if (width >= STV_IMAGE_CIF_COLS && height >= STV_IMAGE_CIF_ROWS) width 1025 drivers/media/usb/cpia2/cpia2_core.c if (width >= STV_IMAGE_QVGA_COLS && height >= STV_IMAGE_QVGA_ROWS) width 1028 drivers/media/usb/cpia2/cpia2_core.c if (width >= 288 && height >= 216) width 1031 drivers/media/usb/cpia2/cpia2_core.c if (width >= 256 && height >= 192) width 1034 drivers/media/usb/cpia2/cpia2_core.c if (width >= 224 && height >= 168) width 1037 drivers/media/usb/cpia2/cpia2_core.c if (width >= 192 && height >= 144) width 1040 drivers/media/usb/cpia2/cpia2_core.c if (width >= STV_IMAGE_QCIF_COLS && height >= STV_IMAGE_QCIF_ROWS) width 1060 drivers/media/usb/cpia2/cpia2_core.c cam->params.roi.width = STV_IMAGE_VGA_COLS; width 1062 drivers/media/usb/cpia2/cpia2_core.c cam->width = STV_IMAGE_VGA_COLS; width 1067 drivers/media/usb/cpia2/cpia2_core.c cam->params.roi.width = STV_IMAGE_CIF_COLS; width 1069 drivers/media/usb/cpia2/cpia2_core.c cam->width = STV_IMAGE_CIF_COLS; width 1074 drivers/media/usb/cpia2/cpia2_core.c cam->params.roi.width = STV_IMAGE_QVGA_COLS; width 1076 drivers/media/usb/cpia2/cpia2_core.c cam->width = STV_IMAGE_QVGA_COLS; width 1080 drivers/media/usb/cpia2/cpia2_core.c cam->params.roi.width = 288; width 1082 drivers/media/usb/cpia2/cpia2_core.c cam->width = 288; width 1086 drivers/media/usb/cpia2/cpia2_core.c cam->width = 256; width 1088 drivers/media/usb/cpia2/cpia2_core.c cam->params.roi.width = 256; width 1092 drivers/media/usb/cpia2/cpia2_core.c cam->width = 224; width 1094 drivers/media/usb/cpia2/cpia2_core.c cam->params.roi.width = 224; width 1098 drivers/media/usb/cpia2/cpia2_core.c cam->width = 192; width 1100 drivers/media/usb/cpia2/cpia2_core.c cam->params.roi.width = 192; width 1105 drivers/media/usb/cpia2/cpia2_core.c cam->params.roi.width = STV_IMAGE_QCIF_COLS; width 1107 drivers/media/usb/cpia2/cpia2_core.c cam->width = STV_IMAGE_QCIF_COLS; width 1155 drivers/media/usb/cpia2/cpia2_core.c int width = req_width; width 1161 drivers/media/usb/cpia2/cpia2_core.c if (width > STV_IMAGE_CIF_COLS) width 1162 drivers/media/usb/cpia2/cpia2_core.c width = STV_IMAGE_CIF_COLS; width 1166 drivers/media/usb/cpia2/cpia2_core.c image_size = cpia2_match_video_size(width, height); width 1168 drivers/media/usb/cpia2/cpia2_core.c DBG("Config 410: width = %d, height = %d\n", width, height); width 1172 drivers/media/usb/cpia2/cpia2_core.c width = cam->params.roi.width; width 1176 drivers/media/usb/cpia2/cpia2_core.c width, height); width 1177 drivers/media/usb/cpia2/cpia2_core.c if (width <= 176 && height <= 144) { width 1181 drivers/media/usb/cpia2/cpia2_core.c else if (width <= 320 && height <= 240) { width 1274 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = cam->params.roi.width / 4; width 1283 drivers/media/usb/cpia2/cpia2_core.c (u8) (((STV_IMAGE_QCIF_COLS / 4) - (width / 4)) / 2); width 1286 drivers/media/usb/cpia2/cpia2_core.c (u8) (((STV_IMAGE_CIF_COLS / 4) - (width / 4)) / 2); width 1341 drivers/media/usb/cpia2/cpia2_core.c int width = req_width; width 1345 drivers/media/usb/cpia2/cpia2_core.c image_size = cpia2_match_video_size(width, height); width 1347 drivers/media/usb/cpia2/cpia2_core.c if (width > STV_IMAGE_CIF_COLS || height > STV_IMAGE_CIF_ROWS) width 1349 drivers/media/usb/cpia2/cpia2_core.c else if (width > STV_IMAGE_QVGA_COLS || height > STV_IMAGE_QVGA_ROWS) width 1351 drivers/media/usb/cpia2/cpia2_core.c else if (width > STV_IMAGE_QCIF_COLS || height > STV_IMAGE_QCIF_ROWS) width 1358 drivers/media/usb/cpia2/cpia2_core.c width = cam->params.roi.width; width 1366 drivers/media/usb/cpia2/cpia2_core.c image_size, width, height, image_type); width 1447 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i++].value = width / 4; width 1459 drivers/media/usb/cpia2/cpia2_core.c (u8) (((STV_IMAGE_VGA_COLS / 4) - (width / 4)) / 2); width 1462 drivers/media/usb/cpia2/cpia2_core.c (u8) (((STV_IMAGE_QVGA_COLS / 4) - (width / 4)) / 2); width 1465 drivers/media/usb/cpia2/cpia2_core.c (u8) (((STV_IMAGE_CIF_COLS / 4) - (width / 4)) / 2); width 1468 drivers/media/usb/cpia2/cpia2_core.c (u8) (((STV_IMAGE_QCIF_COLS / 4) - (width / 4)) / 2); width 2153 drivers/media/usb/cpia2/cpia2_core.c cam->params.roi.width = STV_IMAGE_VGA_COLS; width 2158 drivers/media/usb/cpia2/cpia2_core.c cam->params.roi.width = STV_IMAGE_CIF_COLS; width 2162 drivers/media/usb/cpia2/cpia2_core.c cam->width = cam->params.roi.width; width 327 drivers/media/usb/cpia2/cpia2_v4l.c switch (cpia2_match_video_size(f->fmt.pix.width, f->fmt.pix.height)) { width 329 drivers/media/usb/cpia2/cpia2_v4l.c f->fmt.pix.width = 640; width 333 drivers/media/usb/cpia2/cpia2_v4l.c f->fmt.pix.width = 352; width 337 drivers/media/usb/cpia2/cpia2_v4l.c f->fmt.pix.width = 320; width 341 drivers/media/usb/cpia2/cpia2_v4l.c f->fmt.pix.width = 288; width 345 drivers/media/usb/cpia2/cpia2_v4l.c f->fmt.pix.width = 256; width 349 drivers/media/usb/cpia2/cpia2_v4l.c f->fmt.pix.width = 224; width 353 drivers/media/usb/cpia2/cpia2_v4l.c f->fmt.pix.width = 192; width 358 drivers/media/usb/cpia2/cpia2_v4l.c f->fmt.pix.width = 176; width 395 drivers/media/usb/cpia2/cpia2_v4l.c f->fmt.pix.width, f->fmt.pix.height); width 396 drivers/media/usb/cpia2/cpia2_v4l.c if (f->fmt.pix.width != cam->width || width 398 drivers/media/usb/cpia2/cpia2_v4l.c cam->width = f->fmt.pix.width; width 400 drivers/media/usb/cpia2/cpia2_v4l.c cam->params.roi.width = f->fmt.pix.width; width 429 drivers/media/usb/cpia2/cpia2_v4l.c f->fmt.pix.width = cam->width; width 462 drivers/media/usb/cpia2/cpia2_v4l.c s->r.width = cam->width; width 537 drivers/media/usb/cpia2/cpia2_v4l.c u32 width; width 560 drivers/media/usb/cpia2/cpia2_v4l.c fsize->discrete.width = cpia2_framesizes[fsize->index].width; width 584 drivers/media/usb/cpia2/cpia2_v4l.c if (fival->width == cpia2_framesizes[i].width && width 987 drivers/media/usb/cpia2/cpia2_v4l.c cam->width = cam->params.roi.width; width 1099 drivers/media/usb/cx231xx/cx231xx-417.c dev->ts1.height, dev->ts1.width); width 1101 drivers/media/usb/cx231xx/cx231xx-417.c dev->mpeg_ctrl_handler.width = dev->ts1.width; width 1409 drivers/media/usb/cx231xx/cx231xx-417.c buf->vb.width = fh->dev->ts1.ts_packet_size; width 1525 drivers/media/usb/cx231xx/cx231xx-417.c s->r.width = dev->ts1.width; width 1612 drivers/media/usb/cx231xx/cx231xx-417.c f->fmt.pix.width = dev->ts1.width; width 1616 drivers/media/usb/cx231xx/cx231xx-417.c dev->ts1.width, dev->ts1.height); width 1634 drivers/media/usb/cx231xx/cx231xx-417.c dev->ts1.width, dev->ts1.height); width 1927 drivers/media/usb/cx231xx/cx231xx-417.c format.format.width = cxhdl->width / (is_mpeg1 ? 2 : 1); width 1994 drivers/media/usb/cx231xx/cx231xx-417.c tsport->width = 720; width 1470 drivers/media/usb/cx231xx/cx231xx-cards.c dev->width = maxw; width 461 drivers/media/usb/cx231xx/cx231xx-core.c unsigned int min_pkt_size = dev->width * 2 + 4; width 468 drivers/media/usb/cx231xx/cx231xx-core.c if (dev->width * 2 * dev->height > 720 * 240 * 2) width 471 drivers/media/usb/cx231xx/cx231xx-core.c if (dev->width > 360) { width 474 drivers/media/usb/cx231xx/cx231xx-core.c } else if (dev->width > 180) { width 477 drivers/media/usb/cx231xx/cx231xx-core.c } else if (dev->width > 0) { width 1013 drivers/media/usb/cx231xx/cx231xx-core.c dma_q->bytes_left_in_line = dev->width << 1; width 1149 drivers/media/usb/cx231xx/cx231xx-core.c dma_q->bytes_left_in_line = dev->width << 1; width 167 drivers/media/usb/cx231xx/cx231xx-vbi.c *size = (dev->width * height * 2 * 2); width 216 drivers/media/usb/cx231xx/cx231xx-vbi.c buf->vb.size = ((dev->width << 1) * height * 2); width 221 drivers/media/usb/cx231xx/cx231xx-vbi.c buf->vb.width = dev->width; width 400 drivers/media/usb/cx231xx/cx231xx-vbi.c dma_q->bytes_left_in_line = dev->width << 1; width 532 drivers/media/usb/cx231xx/cx231xx-vbi.c u32 _line_size = dev->width * 2; width 640 drivers/media/usb/cx231xx/cx231xx-vbi.c dma_q->bytes_left_in_line = dev->width << 1; width 650 drivers/media/usb/cx231xx/cx231xx-vbi.c u32 _line_size = dev->width << 1; width 671 drivers/media/usb/cx231xx/cx231xx-vbi.c offset += (dev->width * 2 * dma_q->lines_per_field); width 547 drivers/media/usb/cx231xx/cx231xx-video.c u32 _line_size = dev->width * 2; width 634 drivers/media/usb/cx231xx/cx231xx-video.c dma_q->bytes_left_in_line = dev->width << 1; width 644 drivers/media/usb/cx231xx/cx231xx-video.c u32 _line_size = dev->width << 1; width 717 drivers/media/usb/cx231xx/cx231xx-video.c *size = (fh->dev->width * fh->dev->height * dev->format->depth + 7)>>3; width 773 drivers/media/usb/cx231xx/cx231xx-video.c buf->vb.size = (fh->dev->width * fh->dev->height * dev->format->depth width 778 drivers/media/usb/cx231xx/cx231xx-video.c buf->vb.width = dev->width; width 937 drivers/media/usb/cx231xx/cx231xx-video.c f->fmt.pix.width = dev->width; width 940 drivers/media/usb/cx231xx/cx231xx-video.c f->fmt.pix.bytesperline = (dev->width * dev->format->depth + 7) >> 3; width 965 drivers/media/usb/cx231xx/cx231xx-video.c unsigned int width = f->fmt.pix.width; width 980 drivers/media/usb/cx231xx/cx231xx-video.c v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh, 1, 0); width 982 drivers/media/usb/cx231xx/cx231xx-video.c f->fmt.pix.width = width; width 985 drivers/media/usb/cx231xx/cx231xx-video.c f->fmt.pix.bytesperline = (width * fmt->depth + 7) >> 3; width 1026 drivers/media/usb/cx231xx/cx231xx-video.c dev->width = f->fmt.pix.width; width 1068 drivers/media/usb/cx231xx/cx231xx-video.c dev->width = 720; width 1077 drivers/media/usb/cx231xx/cx231xx-video.c format.format.width = dev->width; width 1502 drivers/media/usb/cx231xx/cx231xx-video.c s->r.width = dev->width; width 2184 drivers/media/usb/cx231xx/cx231xx-video.c dev->width = norm_maxw(dev); width 540 drivers/media/usb/cx231xx/cx231xx.h int width; width 634 drivers/media/usb/cx231xx/cx231xx.h int width; /* current frame width */ width 47 drivers/media/usb/dvb-usb/cxusb-analog.c unsigned int size = cxdev->width * cxdev->height * 2; width 70 drivers/media/usb/dvb-usb/cxusb-analog.c if (vb2_plane_size(vb, 0) < cxdev->width * cxdev->height * 2) width 484 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->width * 2)) width 501 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->width * 2)) width 510 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->width * cxdev->height * 2); width 694 drivers/media/usb/dvb-usb/cxusb-analog.c framelen = (cxdev->width * 2 + 4 + 4) * width 710 drivers/media/usb/dvb-usb/cxusb-analog.c *npackets, urblen, (unsigned int)cxdev->width, width 999 drivers/media/usb/dvb-usb/cxusb-analog.c f->fmt.pix.width = cxdev->width; width 1004 drivers/media/usb/dvb-usb/cxusb-analog.c f->fmt.pix.bytesperline = cxdev->width * 2; width 1030 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.width = f->fmt.pix.width & ~1; width 1040 drivers/media/usb/dvb-usb/cxusb-analog.c f->fmt.pix.width = subfmt.format.width; width 1044 drivers/media/usb/dvb-usb/cxusb-analog.c f->fmt.pix.bytesperline = f->fmt.pix.width * 2; width 1049 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->width = f->fmt.pix.width; width 1512 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.width = cxdev->width; width 1524 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->width = subfmt.format.width; width 1809 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->width = 320; width 134 drivers/media/usb/dvb-usb/cxusb.h u32 width, height; width 403 drivers/media/usb/em28xx/em28xx-camera.c format.format.width = 640; width 270 drivers/media/usb/em28xx/em28xx-video.c u16 width, u16 height) width 272 drivers/media/usb/em28xx/em28xx-video.c u8 cwidth = width >> 2; width 274 drivers/media/usb/em28xx/em28xx-video.c u8 overflow = (height >> 9 & 0x02) | (width >> 10 & 0x01); width 291 drivers/media/usb/em28xx/em28xx-video.c em28xx_write_reg(dev, 0x34, width >> 4); width 326 drivers/media/usb/em28xx/em28xx-video.c int width = norm_maxw(dev); width 338 drivers/media/usb/em28xx/em28xx-video.c em28xx_accumulator_set(dev, 1, (width - 4) >> 2, 1, (height - 4) >> 2); width 350 drivers/media/usb/em28xx/em28xx-video.c em28xx_capture_area_set(dev, 0, 2, width, height); width 352 drivers/media/usb/em28xx/em28xx-video.c em28xx_capture_area_set(dev, 0, 0, width, height); width 364 drivers/media/usb/em28xx/em28xx-video.c unsigned int min_pkt_size = v4l2->width * 2 + 4; width 384 drivers/media/usb/em28xx/em28xx-video.c if (v4l2->width * 2 * v4l2->height > 720 * 240 * 2) width 463 drivers/media/usb/em28xx/em28xx-video.c int bytesperline = v4l2->width << 1; width 1045 drivers/media/usb/em28xx/em28xx-video.c (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3; width 1067 drivers/media/usb/em28xx/em28xx-video.c size = (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3; width 1386 drivers/media/usb/em28xx/em28xx-video.c unsigned int width, unsigned int height, width 1392 drivers/media/usb/em28xx/em28xx-video.c *hscale = (((unsigned long)maxw) << 12) / width - 4096L; width 1403 drivers/media/usb/em28xx/em28xx-video.c unsigned int *width, unsigned int *height) width 1408 drivers/media/usb/em28xx/em28xx-video.c *width = (((unsigned long)maxw) << 12) / (hscale + 4096L); width 1412 drivers/media/usb/em28xx/em28xx-video.c if (*width < 1) width 1413 drivers/media/usb/em28xx/em28xx-video.c *width = 1; width 1428 drivers/media/usb/em28xx/em28xx-video.c f->fmt.pix.width = v4l2->width; width 1431 drivers/media/usb/em28xx/em28xx-video.c f->fmt.pix.bytesperline = (v4l2->width * v4l2->format->depth + 7) >> 3; width 1460 drivers/media/usb/em28xx/em28xx-video.c unsigned int width = f->fmt.pix.width; width 1477 drivers/media/usb/em28xx/em28xx-video.c width = width > (3 * maxw / 4) ? maxw : maxw / 2; width 1483 drivers/media/usb/em28xx/em28xx-video.c if (width == maxw && height == maxh) width 1484 drivers/media/usb/em28xx/em28xx-video.c width /= 2; width 1490 drivers/media/usb/em28xx/em28xx-video.c v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh, width 1494 drivers/media/usb/em28xx/em28xx-video.c if (width < 1) width 1495 drivers/media/usb/em28xx/em28xx-video.c width = 1; width 1499 drivers/media/usb/em28xx/em28xx-video.c size_to_scale(dev, width, height, &hscale, &vscale); width 1500 drivers/media/usb/em28xx/em28xx-video.c scale_to_size(dev, hscale, vscale, &width, &height); width 1502 drivers/media/usb/em28xx/em28xx-video.c f->fmt.pix.width = width; width 1505 drivers/media/usb/em28xx/em28xx-video.c f->fmt.pix.bytesperline = (width * fmt->depth + 7) >> 3; width 1518 drivers/media/usb/em28xx/em28xx-video.c unsigned int width, unsigned int height) width 1528 drivers/media/usb/em28xx/em28xx-video.c v4l2->width = width; width 1532 drivers/media/usb/em28xx/em28xx-video.c size_to_scale(dev, v4l2->width, v4l2->height, width 1552 drivers/media/usb/em28xx/em28xx-video.c f->fmt.pix.width, f->fmt.pix.height); width 1588 drivers/media/usb/em28xx/em28xx-video.c f.fmt.pix.width = 720; width 1593 drivers/media/usb/em28xx/em28xx-video.c v4l2->width = f.fmt.pix.width; width 1595 drivers/media/usb/em28xx/em28xx-video.c size_to_scale(dev, v4l2->width, v4l2->height, width 2030 drivers/media/usb/em28xx/em28xx-video.c fsize->discrete.width = maxw / (1 + fsize->index); width 586 drivers/media/usb/em28xx/em28xx.h int width; /* current frame width */ width 339 drivers/media/usb/go7007/go7007-driver.c for (x = 0; x < go->width / 16; x++) { width 340 drivers/media/usb/go7007/go7007-driver.c int idx = y * go->width / 16 + x; width 415 drivers/media/usb/go7007/go7007-driver.c unsigned stride = (go->width + 7) >> 3; width 422 drivers/media/usb/go7007/go7007-driver.c for (x = 0; x < go->width / 16; x++) { width 425 drivers/media/usb/go7007/go7007-driver.c motion[go->modet_map[y * (go->width / 16) + x]]++; width 479 drivers/media/usb/go7007/go7007-driver.c int x, y, i, stride = ((go->width >> 4) + 7) >> 3; width 482 drivers/media/usb/go7007/go7007-driver.c y = (((go->parse_length - 1) << 3) + i) / (go->width >> 4); width 483 drivers/media/usb/go7007/go7007-driver.c x = (((go->parse_length - 1) << 3) + i) % (go->width >> 4); width 749 drivers/media/usb/go7007/go7007-driver.c go->width = 720; width 754 drivers/media/usb/go7007/go7007-driver.c go->width = board->sensor_width; width 312 drivers/media/usb/go7007/go7007-fw.c buf[p++] = go->width >> 8; width 313 drivers/media/usb/go7007/go7007-fw.c buf[p++] = go->width & 0xff; width 495 drivers/media/usb/go7007/go7007-fw.c for (j = (go->width >> 4) - 2; j >= 33; j -= 33) width 575 drivers/media/usb/go7007/go7007-fw.c CODE_ADD(c, go->width, 12); width 610 drivers/media/usb/go7007/go7007-fw.c CODE_ADD(c, go->width, 14); width 722 drivers/media/usb/go7007/go7007-fw.c int mb_count = (go->width >> 4) * (go->height >> 4); width 801 drivers/media/usb/go7007/go7007-fw.c CODE_ADD(c, go->width, 13); width 938 drivers/media/usb/go7007/go7007-fw.c 2 * go->width * go->height * (go->ipb ? 6 : 4) / 32, width 940 drivers/media/usb/go7007/go7007-fw.c 2 * go->width * go->height * (go->ipb ? 6 : 4) / 32, width 942 drivers/media/usb/go7007/go7007-fw.c 2 * go->width * go->height * (go->ipb ? 6 : 4) / 32, width 944 drivers/media/usb/go7007/go7007-fw.c 2 * go->width * go->height * (go->ipb ? 6 : 4) / 32, width 1008 drivers/media/usb/go7007/go7007-fw.c 0xBF46, (go->width >> 4) * (go->height >> 4), width 1133 drivers/media/usb/go7007/go7007-fw.c 0xc40a, (go->width << 4) | rows, width 1329 drivers/media/usb/go7007/go7007-fw.c (go->encoder_h_halve ? go->width >> 3 : go->width >> 4), width 1340 drivers/media/usb/go7007/go7007-fw.c (rows << 8) | (go->width >> 4), width 1365 drivers/media/usb/go7007/go7007-fw.c (go->height >> 4) * (go->width >> 4) * 110 / 100, width 189 drivers/media/usb/go7007/go7007-priv.h int width; width 80 drivers/media/usb/go7007/go7007-v4l2.c static void get_resolution(struct go7007 *go, int *width, int *height) width 84 drivers/media/usb/go7007/go7007-v4l2.c *width = 720; width 88 drivers/media/usb/go7007/go7007-v4l2.c *width = 720; width 93 drivers/media/usb/go7007/go7007-v4l2.c *width = go->board_info->sensor_width; width 179 drivers/media/usb/go7007/go7007-v4l2.c int width, height; width 187 drivers/media/usb/go7007/go7007-v4l2.c width = sensor_width; width 190 drivers/media/usb/go7007/go7007-v4l2.c if (fmt->fmt.pix.width > sensor_width) width 191 drivers/media/usb/go7007/go7007-v4l2.c width = sensor_width; width 192 drivers/media/usb/go7007/go7007-v4l2.c else if (fmt->fmt.pix.width < 144) width 193 drivers/media/usb/go7007/go7007-v4l2.c width = 144; width 195 drivers/media/usb/go7007/go7007-v4l2.c width = fmt->fmt.pix.width & ~0x0f; width 204 drivers/media/usb/go7007/go7007-v4l2.c width = fmt->fmt.pix.width; width 206 drivers/media/usb/go7007/go7007-v4l2.c if (width <= sensor_width / 4) { width 207 drivers/media/usb/go7007/go7007-v4l2.c width = sensor_width / 4; width 209 drivers/media/usb/go7007/go7007-v4l2.c } else if (width <= sensor_width / 2) { width 210 drivers/media/usb/go7007/go7007-v4l2.c width = sensor_width / 2; width 213 drivers/media/usb/go7007/go7007-v4l2.c width = sensor_width; width 216 drivers/media/usb/go7007/go7007-v4l2.c width &= ~0xf; width 225 drivers/media/usb/go7007/go7007-v4l2.c fmt->fmt.pix.width = width; width 239 drivers/media/usb/go7007/go7007-v4l2.c go->width = width; width 250 drivers/media/usb/go7007/go7007-v4l2.c format.format.width = fmt ? fmt->fmt.pix.width : width; width 257 drivers/media/usb/go7007/go7007-v4l2.c if (width <= sensor_width / 4) { width 261 drivers/media/usb/go7007/go7007-v4l2.c } else if (width <= sensor_width / 2) { width 313 drivers/media/usb/go7007/go7007-v4l2.c fmt->fmt.pix.width = go->width; width 516 drivers/media/usb/go7007/go7007-v4l2.c int width, height; width 524 drivers/media/usb/go7007/go7007-v4l2.c get_resolution(go, &width, &height); width 526 drivers/media/usb/go7007/go7007-v4l2.c fsize->discrete.width = (width >> fsize->index) & ~0xf; width 535 drivers/media/usb/go7007/go7007-v4l2.c int width, height; width 545 drivers/media/usb/go7007/go7007-v4l2.c get_resolution(go, &width, &height); width 547 drivers/media/usb/go7007/go7007-v4l2.c if (fival->width == ((width >> i) & ~0xf) && width 823 drivers/media/usb/go7007/go7007-v4l2.c for (y = 0; y < go->height / 16; y++, mt += go->width / 16) width 824 drivers/media/usb/go7007/go7007-v4l2.c memcpy(mt, ctrl->p_new.p_u8 + y * (720 / 16), go->width / 16); width 775 drivers/media/usb/gspca/conex.c gspca_dev->pixfmt.width, width 1554 drivers/media/usb/gspca/cpia1.c (gspca_dev->pixfmt.width >> 3); width 538 drivers/media/usb/gspca/gspca.c bandwidth < gspca_dev->pixfmt.width * width 553 drivers/media/usb/gspca/gspca.c if (gspca_dev->pixfmt.width >= 640 width 910 drivers/media/usb/gspca/gspca.c int width, int height, u32 pixelformat) width 915 drivers/media/usb/gspca/gspca.c if (width == gspca_dev->cam.cam_mode[i].width width 924 drivers/media/usb/gspca/gspca.c int width, int height, u32 pixelformat) width 929 drivers/media/usb/gspca/gspca.c if (width >= gspca_dev->cam.cam_mode[i].width width 935 drivers/media/usb/gspca/gspca.c if (width >= gspca_dev->cam.cam_mode[i].width width 1047 drivers/media/usb/gspca/gspca.c w = fmt->fmt.pix.width; width 1069 drivers/media/usb/gspca/gspca.c fmt->fmt.pix.width = w; width 1131 drivers/media/usb/gspca/gspca.c fsize->discrete.width = width 1132 drivers/media/usb/gspca/gspca.c gspca_dev->cam.cam_mode[i].width; width 1150 drivers/media/usb/gspca/gspca.c mode = wxh_to_mode(gspca_dev, fival->width, fival->height, width 370 drivers/media/usb/gspca/jeilinj.c gspca_dev->pixfmt.width, width 374 drivers/media/usb/gspca/jeilinj.c gspca_dev->pixfmt.height, gspca_dev->pixfmt.width); width 444 drivers/media/usb/gspca/jl2005bcd.c switch (gspca_dev->pixfmt.width) { width 124 drivers/media/usb/gspca/jpeg.h int width, width 131 drivers/media/usb/gspca/jpeg.h jpeg_hdr[JPEG_HEIGHT_OFFSET + 2] = width >> 8; width 132 drivers/media/usb/gspca/jpeg.h jpeg_hdr[JPEG_HEIGHT_OFFSET + 3] = width; width 317 drivers/media/usb/gspca/m5602/m5602_mt9m111.c int width = cam->cam_mode[sd->gspca_dev.curr_mode].width - 1; width 362 drivers/media/usb/gspca/m5602/m5602_mt9m111.c (width >> 8) & 0xff); width 366 drivers/media/usb/gspca/m5602/m5602_mt9m111.c err = m5602_write_bridge(sd, M5602_XB_HSYNC_PARA, width & 0xff); width 374 drivers/media/usb/gspca/m5602/m5602_mt9m111.c switch (width) { width 412 drivers/media/usb/gspca/m5602/m5602_mt9m111.c if (gspca_dev->pixfmt.width == 640) { width 416 drivers/media/usb/gspca/m5602/m5602_ov9650.c int width = cam->cam_mode[sd->gspca_dev.curr_mode].width; width 428 drivers/media/usb/gspca/m5602/m5602_ov9650.c if (width <= 320) width 489 drivers/media/usb/gspca/m5602/m5602_ov9650.c ((width + hor_offs) >> 8) & 0xff); width 494 drivers/media/usb/gspca/m5602/m5602_ov9650.c ((width + hor_offs) & 0xff)); width 502 drivers/media/usb/gspca/m5602/m5602_ov9650.c switch (width) { width 284 drivers/media/usb/gspca/m5602/m5602_po1030.c int width = cam->cam_mode[sd->gspca_dev.curr_mode].width; width 289 drivers/media/usb/gspca/m5602/m5602_po1030.c switch (width) { width 296 drivers/media/usb/gspca/m5602/m5602_po1030.c data = ((width + 3) >> 8) & 0xff; width 301 drivers/media/usb/gspca/m5602/m5602_po1030.c data = (width + 3) & 0xff; width 315 drivers/media/usb/gspca/m5602/m5602_po1030.c width -= 1; width 324 drivers/media/usb/gspca/m5602/m5602_po1030.c data = ((width + 7) >> 8) & 0xff; width 329 drivers/media/usb/gspca/m5602/m5602_po1030.c data = (width + 7) & 0xff; width 343 drivers/media/usb/gspca/m5602/m5602_po1030.c width -= 2; width 395 drivers/media/usb/gspca/m5602/m5602_po1030.c err = m5602_write_bridge(sd, M5602_XB_HSYNC_PARA, (width >> 8) & 0xff); width 399 drivers/media/usb/gspca/m5602/m5602_po1030.c err = m5602_write_bridge(sd, M5602_XB_HSYNC_PARA, (width & 0xff)); width 416 drivers/media/usb/gspca/m5602/m5602_s5k4aa.c switch (cam->cam_mode[sd->gspca_dev.curr_mode].width) { width 245 drivers/media/usb/gspca/mars.c gspca_dev->pixfmt.width, width 261 drivers/media/usb/gspca/mars.c data[3] = gspca_dev->pixfmt.width / 8; /* h_size , reg 2 */ width 511 drivers/media/usb/gspca/mr97310a.c switch (gspca_dev->pixfmt.width) { width 608 drivers/media/usb/gspca/mr97310a.c switch (gspca_dev->pixfmt.width) { width 837 drivers/media/usb/gspca/mr97310a.c if (clockdiv < min_clockdiv && gspca_dev->pixfmt.width >= 320) width 1704 drivers/media/usb/gspca/nw80x.c sd->ae_res = gspca_dev->pixfmt.width * gspca_dev->pixfmt.height; width 1713 drivers/media/usb/gspca/nw80x.c sd->ae_res = gspca_dev->pixfmt.width * width 1854 drivers/media/usb/gspca/nw80x.c if (gspca_dev->pixfmt.width == 320) width 1861 drivers/media/usb/gspca/nw80x.c if (gspca_dev->pixfmt.width == 320) width 1868 drivers/media/usb/gspca/nw80x.c if (gspca_dev->pixfmt.width == 320) width 3451 drivers/media/usb/gspca/ov519.c if (gspca_dev->pixfmt.width != 800) width 3495 drivers/media/usb/gspca/ov519.c hsegs = (sd->gspca_dev.pixfmt.width >> 3) - 1; width 3529 drivers/media/usb/gspca/ov519.c if (sd->gspca_dev.pixfmt.width == 320) width 3539 drivers/media/usb/gspca/ov519.c if (sd->gspca_dev.pixfmt.width != 640) { width 3573 drivers/media/usb/gspca/ov519.c needed = fps * sd->gspca_dev.pixfmt.width * width 3641 drivers/media/usb/gspca/ov519.c hsegs = sd->gspca_dev.pixfmt.width / 16; width 3682 drivers/media/usb/gspca/ov519.c sd->gspca_dev.pixfmt.width == 640) { width 3808 drivers/media/usb/gspca/ov519.c reg_w(sd, OV519_R10_H_SIZE, sd->gspca_dev.pixfmt.width >> 4); width 3943 drivers/media/usb/gspca/ov519.c xstart = (1040 - gspca_dev->pixfmt.width) / 2 + width 3947 drivers/media/usb/gspca/ov519.c xstart = (2076 - gspca_dev->pixfmt.width) / 2 + width 3951 drivers/media/usb/gspca/ov519.c xend = xstart + gspca_dev->pixfmt.width; width 4227 drivers/media/usb/gspca/ov519.c sd->sensor_width = sd->gspca_dev.pixfmt.width; width 4343 drivers/media/usb/gspca/ov519.c if ((in[9] + 1) * 8 != gspca_dev->pixfmt.width || width 4347 drivers/media/usb/gspca/ov519.c gspca_dev->pixfmt.width, width 4468 drivers/media/usb/gspca/ov519.c sd->gspca_dev.pixfmt.width * width 288 drivers/media/usb/gspca/pac207.c if (gspca_dev->pixfmt.width == 176) width 306 drivers/media/usb/gspca/pac207.c if (gspca_dev->pixfmt.width == 176) { /* 176x144 */ width 316 drivers/media/usb/gspca/pac7311.c if (gspca_dev->pixfmt.width != 640 && val <= 3) width 327 drivers/media/usb/gspca/pac7311.c if (gspca_dev->pixfmt.width == 640 && val == 2) width 605 drivers/media/usb/gspca/pac7311.c gspca_dev->pixfmt.height, gspca_dev->pixfmt.width); width 256 drivers/media/usb/gspca/se401.c sd->fmts[i].width = widths[i]; width 348 drivers/media/usb/gspca/se401.c gspca_dev->pixfmt.width * mult, 0); width 474 drivers/media/usb/gspca/se401.c int imagesize = gspca_dev->pixfmt.width * gspca_dev->pixfmt.height; width 1955 drivers/media/usb/gspca/sn9c20x.c switch (gspca_dev->pixfmt.width) { width 1976 drivers/media/usb/gspca/sn9c20x.c #define CLR_WIN(width, height) \ width 1978 drivers/media/usb/gspca/sn9c20x.c {0, width >> 2, 0, height >> 1,\ width 1979 drivers/media/usb/gspca/sn9c20x.c ((width >> 10) & 0x01) | ((height >> 8) & 0x6)}) width 1985 drivers/media/usb/gspca/sn9c20x.c int width = gspca_dev->pixfmt.width; width 1989 drivers/media/usb/gspca/sn9c20x.c jpeg_define(sd->jpeg_hdr, height, width, width 2023 drivers/media/usb/gspca/sn9c20x.c reg_w(gspca_dev, 0x10fb, CLR_WIN(width, height), 5); width 745 drivers/media/usb/gspca/sonixb.c if (gspca_dev->pixfmt.width == 640 && reg11 < 4) width 2201 drivers/media/usb/gspca/sonixj.c gspca_dev->pixfmt.width, width 252 drivers/media/usb/gspca/spca1528.c gspca_dev->pixfmt.width, width 600 drivers/media/usb/gspca/spca500.c gspca_dev->pixfmt.width, width 260 drivers/media/usb/gspca/sq905c.c switch (gspca_dev->pixfmt.width) { width 902 drivers/media/usb/gspca/sq930x.c gspca_dev->cam.bulk_size = gspca_dev->pixfmt.width * width 241 drivers/media/usb/gspca/stk014.c gspca_dev->pixfmt.width, width 252 drivers/media/usb/gspca/stk014.c if (gspca_dev->pixfmt.width > 320) width 301 drivers/media/usb/gspca/stk1135.c u16 width, height; width 307 drivers/media/usb/gspca/stk1135.c width = gspca_dev->pixfmt.width; width 309 drivers/media/usb/gspca/stk1135.c if (width <= 640 && height <= 512) { /* context A (half readout speed)*/ width 310 drivers/media/usb/gspca/stk1135.c sensor_write(gspca_dev, 0x1a7, width); width 317 drivers/media/usb/gspca/stk1135.c sensor_write(gspca_dev, 0x1a1, width); width 433 drivers/media/usb/gspca/stk1135.c u16 width, height; width 447 drivers/media/usb/gspca/stk1135.c width = gspca_dev->pixfmt.width; width 449 drivers/media/usb/gspca/stk1135.c reg_w(gspca_dev, STK1135_REG_CIEPO + 0, width & 0xff); width 450 drivers/media/usb/gspca/stk1135.c reg_w(gspca_dev, STK1135_REG_CIEPO + 1, width >> 8); width 608 drivers/media/usb/gspca/stk1135.c fmt->fmt.pix.width = clamp(fmt->fmt.pix.width, 32U, 1280U); width 611 drivers/media/usb/gspca/stk1135.c fmt->fmt.pix.width += (fmt->fmt.pix.width & 1); width 614 drivers/media/usb/gspca/stk1135.c fmt->fmt.pix.bytesperline = fmt->fmt.pix.width; width 615 drivers/media/usb/gspca/stk1135.c fmt->fmt.pix.sizeimage = fmt->fmt.pix.width * fmt->fmt.pix.height; width 201 drivers/media/usb/gspca/stv0680.c sd->mode.width = (gspca_dev->usb_buf[4] << 8) | width 207 drivers/media/usb/gspca/stv0680.c sd->mode.bytesperline = sd->mode.width; width 461 drivers/media/usb/gspca/stv06xx/stv06xx.c sd->to_skip = gspca_dev->pixfmt.width * 4; width 64 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c int width, height; width 276 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c unsigned int width, unsigned int height) width 284 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c width = (width + 3) & ~0x3; width 287 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c if (width > hdcs->array.width) width 288 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c width = hdcs->array.width; width 306 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c x = hdcs->array.left + (hdcs->array.width - width) / 2; width 311 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c win[3] = (x + width) / 4 - 1; width 318 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->w = width; width 377 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.width = HDCS_1X00_DEF_WIDTH; width 439 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c hdcs->array.width = HDCS_1020_DEF_WIDTH; width 517 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c return hdcs_set_size(sd, hdcs->array.width, hdcs->array.height); width 419 drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c totalpixels = gspca_dev->pixfmt.width * gspca_dev->pixfmt.height; width 712 drivers/media/usb/gspca/sunplus.c gspca_dev->pixfmt.width, width 946 drivers/media/usb/gspca/topro.c int width) width 951 drivers/media/usb/gspca/topro.c jpeg_hdr[JPEG_HEIGHT_OFFSET + 2] = width >> 8; width 952 drivers/media/usb/gspca/topro.c jpeg_hdr[JPEG_HEIGHT_OFFSET + 3] = width; width 3850 drivers/media/usb/gspca/topro.c if (gspca_dev->pixfmt.width == 640) width 3874 drivers/media/usb/gspca/topro.c if (gspca_dev->pixfmt.width == 320) { width 3918 drivers/media/usb/gspca/topro.c && gspca_dev->pixfmt.width == 640) width 3929 drivers/media/usb/gspca/topro.c && gspca_dev->pixfmt.width == 640) width 4549 drivers/media/usb/gspca/topro.c gspca_dev->pixfmt.width); width 4740 drivers/media/usb/gspca/topro.c if (gspca_dev->pixfmt.width == 640) width 239 drivers/media/usb/gspca/touptek.c unsigned int w = gspca_dev->pixfmt.width; width 328 drivers/media/usb/gspca/touptek.c unsigned int w = gspca_dev->pixfmt.width; width 420 drivers/media/usb/gspca/touptek.c gspca_dev->pixfmt.width); width 273 drivers/media/usb/gspca/tv8532.c data + 2, gspca_dev->pixfmt.width); width 275 drivers/media/usb/gspca/tv8532.c data + gspca_dev->pixfmt.width + 5, width 276 drivers/media/usb/gspca/tv8532.c gspca_dev->pixfmt.width); width 110 drivers/media/usb/gspca/vicam.c if (gspca_dev->pixfmt.width == 256) width 433 drivers/media/usb/gspca/w996Xcf.c fw = SC(sd->gspca_dev.pixfmt.width) / max_width; width 436 drivers/media/usb/gspca/w996Xcf.c cw = (fw >= fh) ? max_width : SC(sd->gspca_dev.pixfmt.width) / fh; width 457 drivers/media/usb/gspca/w996Xcf.c reg_w(sd, 0x14, sd->gspca_dev.pixfmt.width); width 461 drivers/media/usb/gspca/w996Xcf.c reg_w(sd, 0x30, sd->gspca_dev.pixfmt.width); width 467 drivers/media/usb/gspca/w996Xcf.c reg_w(sd, 0x2c, sd->gspca_dev.pixfmt.width / 2); width 468 drivers/media/usb/gspca/w996Xcf.c reg_w(sd, 0x2d, sd->gspca_dev.pixfmt.width / 4); width 470 drivers/media/usb/gspca/w996Xcf.c reg_w(sd, 0x2c, sd->gspca_dev.pixfmt.width); width 476 drivers/media/usb/gspca/w996Xcf.c val = sd->gspca_dev.pixfmt.width * sd->gspca_dev.pixfmt.height; width 484 drivers/media/usb/gspca/w996Xcf.c sd->gspca_dev.pixfmt.width, 0x22); /* JPEG 420 */ width 1464 drivers/media/usb/gspca/xirlink_cit.c gspca_dev->pixfmt.width * gspca_dev->pixfmt.height * width 1471 drivers/media/usb/gspca/xirlink_cit.c gspca_dev->pixfmt.width, gspca_dev->pixfmt.height, width 1496 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 1637 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 1694 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 1747 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 1788 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 1836 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 1897 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 2023 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 2134 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 2211 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 2531 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 2636 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 2669 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 2793 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { width 6716 drivers/media/usb/gspca/zc3xx.c gspca_dev->pixfmt.width, width 68 drivers/media/usb/hdpvr/hdpvr-control.c vidinf->width = dev->usbc_buf[1] << 8 | dev->usbc_buf[0]; width 71 drivers/media/usb/hdpvr/hdpvr-control.c vidinf->valid = vidinf->width && vidinf->height && vidinf->fps; width 293 drivers/media/usb/hdpvr/hdpvr-video.c "video signal: %dx%d@%dhz\n", vidinf.width, width 604 drivers/media/usb/hdpvr/hdpvr-video.c dev->width = 720; width 633 drivers/media/usb/hdpvr/hdpvr-video.c if (vid_info.valid && vid_info.width == 720 && width 659 drivers/media/usb/hdpvr/hdpvr-video.c dev->width = hdpvr_dv_timings[i].bt.width; width 705 drivers/media/usb/hdpvr/hdpvr-video.c if (bt->width != vid_info.width || width 1020 drivers/media/usb/hdpvr/hdpvr-video.c f->fmt.pix.width = vid_info.width; width 1023 drivers/media/usb/hdpvr/hdpvr-video.c f->fmt.pix.width = dev->width; width 1029 drivers/media/usb/hdpvr/hdpvr-video.c if (f->fmt.pix.width == 720) { width 1169 drivers/media/usb/hdpvr/hdpvr-video.c dev->width = 720; width 78 drivers/media/usb/hdpvr/hdpvr.h uint width, height; width 148 drivers/media/usb/hdpvr/hdpvr.h u16 width; width 412 drivers/media/usb/pvrusb2/pvrusb2-encoder.c hdw->enc_ctl_state.width = hdw->res_hor_val; width 458 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (cap->bounds.width > cptr->hdw->cropw_val) { width 459 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *left += cap->bounds.width - cptr->hdw->cropw_val; width 489 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_cropw_max_get(struct pvr2_ctrl *cptr, int *width) width 498 drivers/media/usb/pvrusb2/pvrusb2-hdw.c bleftend = cap->bounds.left+cap->bounds.width; width 501 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *width = cleft < bleftend ? bleftend-cleft : 0; width 550 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *val = cap->bounds.width; width 594 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *val = cap->defrect.width; width 2921 drivers/media/usb/pvrusb2/pvrusb2-hdw.c format.format.width = hdw->res_hor_val; width 2925 drivers/media/usb/pvrusb2/pvrusb2-hdw.c format.format.width, format.format.height); width 79 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c .width = 720, width 403 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vf->fmt.pix.width = val; width 419 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c int w = vf->fmt.pix.width; width 445 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vf->fmt.pix.width = w; width 461 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_ctrl_set_value(hcp, vf->fmt.pix.width); width 731 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c sel->r.width = val; width 774 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c sel->r.width); width 193 drivers/media/usb/pwc/pwc-ctrl.c pdev->width = pwc_image_sizes[size][0]; width 195 drivers/media/usb/pwc/pwc-ctrl.c pdev->frame_size = (pdev->width * pdev->height * 3) / 2; width 256 drivers/media/usb/pwc/pwc-ctrl.c pdev->width = pwc_image_sizes[size][0]; width 262 drivers/media/usb/pwc/pwc-ctrl.c pdev->frame_size = (pdev->width * pdev->height * 12) / 8; width 307 drivers/media/usb/pwc/pwc-ctrl.c pdev->width = pwc_image_sizes[size][0]; width 313 drivers/media/usb/pwc/pwc-ctrl.c pdev->frame_size = (pdev->width * pdev->height * 12) / 8; width 319 drivers/media/usb/pwc/pwc-ctrl.c int pwc_set_video_mode(struct pwc_device *pdev, int width, int height, width 325 drivers/media/usb/pwc/pwc-ctrl.c width, height, frames, pixfmt); width 326 drivers/media/usb/pwc/pwc-ctrl.c size = pwc_get_size(pdev, width, height); width 344 drivers/media/usb/pwc/pwc-ctrl.c PWC_DEBUG_SIZE("Set resolution to %dx%d\n", pdev->width, pdev->height); width 661 drivers/media/usb/pwc/pwc-dec23.c bytes_per_block = pdev->width * 4; width 662 drivers/media/usb/pwc/pwc-dec23.c plane_size = pdev->height * pdev->width; width 671 drivers/media/usb/pwc/pwc-dec23.c pdev->width, pdev->width); width 674 drivers/media/usb/pwc/pwc-dec23.c pout_planar_u += pdev->width; width 675 drivers/media/usb/pwc/pwc-dec23.c pout_planar_v += pdev->width; width 407 drivers/media/usb/pwc/pwc-if.c ret = pwc_set_video_mode(pdev, pdev->width, pdev->height, pdev->pixfmt, width 29 drivers/media/usb/pwc/pwc-misc.c int pwc_get_size(struct pwc_device *pdev, int width, int height) width 39 drivers/media/usb/pwc/pwc-misc.c if (pwc_image_sizes[i][0] <= width && width 52 drivers/media/usb/pwc/pwc-uncompress.c pdev->width * pdev->height * 3 / 2); width 61 drivers/media/usb/pwc/pwc-uncompress.c n = pdev->width * pdev->height; width 67 drivers/media/usb/pwc/pwc-uncompress.c for (col = 0; col < pdev->width; col += 4) { width 387 drivers/media/usb/pwc/pwc-v4l.c int width, int height, u32 pixfmt) width 390 drivers/media/usb/pwc/pwc-v4l.c f->fmt.pix.width = width; width 394 drivers/media/usb/pwc/pwc-v4l.c f->fmt.pix.bytesperline = f->fmt.pix.width; width 395 drivers/media/usb/pwc/pwc-v4l.c f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.width * 3 / 2; width 398 drivers/media/usb/pwc/pwc-v4l.c f->fmt.pix.width, width 438 drivers/media/usb/pwc/pwc-v4l.c size = pwc_get_size(pdev, f->fmt.pix.width, f->fmt.pix.height); width 464 drivers/media/usb/pwc/pwc-v4l.c f->fmt.pix.width, f->fmt.pix.height, pdev->vframes, width 470 drivers/media/usb/pwc/pwc-v4l.c ret = pwc_set_video_mode(pdev, f->fmt.pix.width, f->fmt.pix.height, width 475 drivers/media/usb/pwc/pwc-v4l.c pwc_vidioc_fill_fmt(f, pdev->width, pdev->height, pdev->pixfmt); width 894 drivers/media/usb/pwc/pwc-v4l.c pdev->width, pdev->height); width 895 drivers/media/usb/pwc/pwc-v4l.c pwc_vidioc_fill_fmt(f, pdev->width, pdev->height, pdev->pixfmt); width 922 drivers/media/usb/pwc/pwc-v4l.c fsize->discrete.width = pwc_image_sizes[i][0]; width 939 drivers/media/usb/pwc/pwc-v4l.c if (pwc_image_sizes[i][0] == fival->width && width 1003 drivers/media/usb/pwc/pwc-v4l.c ret = pwc_set_video_mode(pdev, pdev->width, pdev->height, pdev->pixfmt, width 276 drivers/media/usb/pwc/pwc.h int width, height; /* current resolution */ width 351 drivers/media/usb/pwc/pwc.h int pwc_get_size(struct pwc_device *pdev, int width, int height); width 356 drivers/media/usb/pwc/pwc.h extern int pwc_set_video_mode(struct pwc_device *pdev, int width, int height, width 236 drivers/media/usb/s2255/s2255drv.c unsigned int width; width 440 drivers/media/usb/s2255/s2255drv.c int width, int height, width 446 drivers/media/usb/s2255/s2255drv.c unsigned long size = height * width; width 449 drivers/media/usb/s2255/s2255drv.c pCr = (unsigned char *)in + height * width; width 450 drivers/media/usb/s2255/s2255drv.c pCb = (unsigned char *)in + height * width + (height * width / 2); width 611 drivers/media/usb/s2255/s2255drv.c vbuf, vc->width, width 616 drivers/media/usb/s2255/s2255drv.c memcpy(vbuf, tmpbuf, vc->width * vc->height); width 625 drivers/media/usb/s2255/s2255drv.c vc->width * vc->height * 2); width 652 drivers/media/usb/s2255/s2255drv.c sizes[0] = vc->width * vc->height * (vc->fmt->depth >> 3); width 661 drivers/media/usb/s2255/s2255drv.c int w = vc->width; width 743 drivers/media/usb/s2255/s2255drv.c f->fmt.pix.width = vc->width; width 751 drivers/media/usb/s2255/s2255drv.c f->fmt.pix.bytesperline = f->fmt.pix.width * (vc->fmt->depth >> 3); width 773 drivers/media/usb/s2255/s2255drv.c __func__, is_ntsc, f->fmt.pix.width, f->fmt.pix.height); width 783 drivers/media/usb/s2255/s2255drv.c if (f->fmt.pix.width >= LINE_SZ_4CIFS_NTSC) width 784 drivers/media/usb/s2255/s2255drv.c f->fmt.pix.width = LINE_SZ_4CIFS_NTSC; width 786 drivers/media/usb/s2255/s2255drv.c f->fmt.pix.width = LINE_SZ_1CIFS_NTSC; width 796 drivers/media/usb/s2255/s2255drv.c if (f->fmt.pix.width >= LINE_SZ_4CIFS_PAL) width 797 drivers/media/usb/s2255/s2255drv.c f->fmt.pix.width = LINE_SZ_4CIFS_PAL; width 799 drivers/media/usb/s2255/s2255drv.c f->fmt.pix.width = LINE_SZ_1CIFS_PAL; width 802 drivers/media/usb/s2255/s2255drv.c f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; width 806 drivers/media/usb/s2255/s2255drv.c f->fmt.pix.width, f->fmt.pix.height, f->fmt.pix.field); width 836 drivers/media/usb/s2255/s2255drv.c vc->width = f->fmt.pix.width; width 839 drivers/media/usb/s2255/s2255drv.c if (vc->width > norm_minw(vc)) { width 1117 drivers/media/usb/s2255/s2255drv.c vc->width = LINE_SZ_4CIFS_NTSC; width 1126 drivers/media/usb/s2255/s2255drv.c vc->width = LINE_SZ_4CIFS_PAL; width 1389 drivers/media/usb/s2255/s2255drv.c if (fe->width == sizes->width && width 2002 drivers/media/usb/s2255/s2255drv.c vc->width = LINE_SZ_4CIFS_NTSC; width 357 drivers/media/usb/stk1160/stk1160-v4l.c f->fmt.pix.width = dev->width; width 361 drivers/media/usb/stk1160/stk1160-v4l.c f->fmt.pix.bytesperline = dev->width * 2; width 371 drivers/media/usb/stk1160/stk1160-v4l.c unsigned int width, height; width 381 drivers/media/usb/stk1160/stk1160-v4l.c width = clamp_t(unsigned int, f->fmt.pix.width, width 391 drivers/media/usb/stk1160/stk1160-v4l.c f->fmt.pix.width = base_width; width 396 drivers/media/usb/stk1160/stk1160-v4l.c if (width < base_width && width > base_width / 2) { width 407 drivers/media/usb/stk1160/stk1160-v4l.c col_n = div_round_integer(width, base_width - width); width 411 drivers/media/usb/stk1160/stk1160-v4l.c f->fmt.pix.width = (base_width * col_n) / (col_n + 1); width 414 drivers/media/usb/stk1160/stk1160-v4l.c } else if (width <= base_width / 2) { width 426 drivers/media/usb/stk1160/stk1160-v4l.c col_n = div_round_integer(base_width, width) - 1; width 430 drivers/media/usb/stk1160/stk1160-v4l.c f->fmt.pix.width = base_width / (col_n + 1); width 453 drivers/media/usb/stk1160/stk1160-v4l.c f->fmt.pix.bytesperline = f->fmt.pix.width * 2; width 467 drivers/media/usb/stk1160/stk1160-v4l.c f->fmt.pix.width, f->fmt.pix.height); width 493 drivers/media/usb/stk1160/stk1160-v4l.c dev->width = f->fmt.pix.width; width 531 drivers/media/usb/stk1160/stk1160-v4l.c dev->width = 720; width 657 drivers/media/usb/stk1160/stk1160-v4l.c size = dev->width * dev->height * 2; width 706 drivers/media/usb/stk1160/stk1160-v4l.c if (buf->length < dev->width * dev->height * 2) width 822 drivers/media/usb/stk1160/stk1160-v4l.c dev->width = 720; width 103 drivers/media/usb/stk1160/stk1160-video.c int bytesperline = dev->width * 2; width 138 drivers/media/usb/stk1160/stk1160.h int width; /* current frame width */ width 904 drivers/media/usb/stkwebcam/stk-webcam.c pix_format->width = stk_sizes[i].w; width 910 drivers/media/usb/stkwebcam/stk-webcam.c pix_format->bytesperline = pix_format->width; width 912 drivers/media/usb/stkwebcam/stk-webcam.c pix_format->bytesperline = 2 * pix_format->width; width 933 drivers/media/usb/stkwebcam/stk-webcam.c if (fmtd->fmt.pix.width > stk_sizes[i].w) width 937 drivers/media/usb/stkwebcam/stk-webcam.c || (abs(fmtd->fmt.pix.width - stk_sizes[i-1].w) width 938 drivers/media/usb/stkwebcam/stk-webcam.c < abs(fmtd->fmt.pix.width - stk_sizes[i].w))) { width 940 drivers/media/usb/stkwebcam/stk-webcam.c fmtd->fmt.pix.width = stk_sizes[i-1].w; width 945 drivers/media/usb/stkwebcam/stk-webcam.c fmtd->fmt.pix.width = stk_sizes[i].w; width 953 drivers/media/usb/stkwebcam/stk-webcam.c fmtd->fmt.pix.bytesperline = fmtd->fmt.pix.width; width 955 drivers/media/usb/stkwebcam/stk-webcam.c fmtd->fmt.pix.bytesperline = 2 * fmtd->fmt.pix.width; width 1187 drivers/media/usb/stkwebcam/stk-webcam.c frms->discrete.width = stk_sizes[frms->index].w; width 1100 drivers/media/usb/tm6000/tm6000-cards.c dev->width = 720; width 442 drivers/media/usb/tm6000/tm6000-stds.c dev->width = 720; width 207 drivers/media/usb/tm6000/tm6000-video.c linewidth = vbuf->vb.width << 1; width 676 drivers/media/usb/tm6000/tm6000-video.c *size = fh->fmt->depth * fh->width * fh->height >> 3; width 729 drivers/media/usb/tm6000/tm6000-video.c buf->vb.size = fh->fmt->depth*fh->width*fh->height >> 3; width 734 drivers/media/usb/tm6000/tm6000-video.c buf->vb.width != fh->width || width 738 drivers/media/usb/tm6000/tm6000-video.c buf->vb.width = fh->width; width 884 drivers/media/usb/tm6000/tm6000-video.c f->fmt.pix.width = fh->width; width 890 drivers/media/usb/tm6000/tm6000-video.c (f->fmt.pix.width * fh->fmt->depth) >> 3; width 927 drivers/media/usb/tm6000/tm6000-video.c f->fmt.pix.width = dev->width; width 930 drivers/media/usb/tm6000/tm6000-video.c f->fmt.pix.width &= ~0x01; width 935 drivers/media/usb/tm6000/tm6000-video.c (f->fmt.pix.width * fmt->depth) >> 3; width 954 drivers/media/usb/tm6000/tm6000-video.c fh->width = f->fmt.pix.width; width 1038 drivers/media/usb/tm6000/tm6000-video.c fh->width = dev->width; width 1342 drivers/media/usb/tm6000/tm6000-video.c fh->width = dev->width; width 171 drivers/media/usb/tm6000/tm6000.h int width, height; /* Selected resolution */ width 287 drivers/media/usb/tm6000/tm6000.h unsigned int width, height; width 76 drivers/media/usb/usbtv/usbtv-video.c usbtv->width = params->cap_width; width 78 drivers/media/usb/usbtv/usbtv-video.c usbtv->n_chunks = usbtv->width * usbtv->height width 645 drivers/media/usb/usbtv/usbtv-video.c f->fmt.pix.width = usbtv->width; width 649 drivers/media/usb/usbtv/usbtv-video.c f->fmt.pix.bytesperline = usbtv->width * 2; width 112 drivers/media/usb/usbtv/usbtv.h int width, height; width 695 drivers/media/usb/usbvision/usbvision-core.c f = frame->data + (frame->width * frame->curline); width 706 drivers/media/usb/usbvision/usbvision-core.c v = frame->data + image_size + ((frame->curline * (frame->width)) >> 2); width 1652 drivers/media/usb/usbvision/usbvision-core.c int usbvision_set_output(struct usb_usbvision *usbvision, int width, width 1663 drivers/media/usb/usbvision/usbvision-core.c if (width > MAX_USB_WIDTH) { width 1664 drivers/media/usb/usbvision/usbvision-core.c usb_width = width / 2; width 1667 drivers/media/usb/usbvision/usbvision-core.c usb_width = width; width 1685 drivers/media/usb/usbvision/usbvision-core.c usb_width, usb_height, width, height, width 1781 drivers/media/usb/usbvision/usbvision-core.c usbvision->frame[i].width = usbvision->curwidth; width 816 drivers/media/usb/usbvision/usbvision-video.c vf->fmt.pix.width = usbvision->curwidth; width 845 drivers/media/usb/usbvision/usbvision-video.c RESTRICT_TO_RANGE(vf->fmt.pix.width, MIN_FRAME_WIDTH, MAX_FRAME_WIDTH); width 848 drivers/media/usb/usbvision/usbvision-video.c vf->fmt.pix.bytesperline = vf->fmt.pix.width* width 879 drivers/media/usb/usbvision/usbvision-video.c usbvision_set_output(usbvision, vf->fmt.pix.width, vf->fmt.pix.height); width 291 drivers/media/usb/usbvision/usbvision.h int width; /* Width application is expecting */ width 495 drivers/media/usb/usbvision/usbvision.h int usbvision_set_output(struct usb_usbvision *usbvision, int width, int height); width 170 drivers/media/usb/uvc/uvc_v4l2.c fmt->fmt.pix.width, fmt->fmt.pix.height); width 190 drivers/media/usb/uvc/uvc_v4l2.c rw = fmt->fmt.pix.width; width 211 drivers/media/usb/uvc/uvc_v4l2.c fmt->fmt.pix.width, fmt->fmt.pix.height); width 250 drivers/media/usb/uvc/uvc_v4l2.c fmt->fmt.pix.width = frame->wWidth; width 286 drivers/media/usb/uvc/uvc_v4l2.c fmt->fmt.pix.width = frame->wWidth; width 1134 drivers/media/usb/uvc/uvc_v4l2.c sel->r.width = stream->cur_frame->wWidth; width 1199 drivers/media/usb/uvc/uvc_v4l2.c fsize->discrete.width = frame->wWidth; width 1227 drivers/media/usb/uvc/uvc_v4l2.c if (format->frame[i].wWidth == fival->width && width 167 drivers/media/usb/zr364xx/zr364xx.c int width; width 346 drivers/media/usb/zr364xx/zr364xx.c *size = cam->width * cam->height * (cam->fmt->depth >> 3); width 379 drivers/media/usb/zr364xx/zr364xx.c buf->vb.size = cam->width * cam->height * (cam->fmt->depth >> 3); width 387 drivers/media/usb/zr364xx/zr364xx.c buf->vb.width = cam->width; width 778 drivers/media/usb/zr364xx/zr364xx.c if (!(f->fmt.pix.width == 160 && f->fmt.pix.height == 120) && width 779 drivers/media/usb/zr364xx/zr364xx.c !(f->fmt.pix.width == 640 && f->fmt.pix.height == 480)) { width 780 drivers/media/usb/zr364xx/zr364xx.c f->fmt.pix.width = 320; width 785 drivers/media/usb/zr364xx/zr364xx.c f->fmt.pix.bytesperline = f->fmt.pix.width * 2; width 805 drivers/media/usb/zr364xx/zr364xx.c f->fmt.pix.width = cam->width; width 807 drivers/media/usb/zr364xx/zr364xx.c f->fmt.pix.bytesperline = f->fmt.pix.width * 2; width 839 drivers/media/usb/zr364xx/zr364xx.c cam->width = f->fmt.pix.width; width 842 drivers/media/usb/zr364xx/zr364xx.c cam->width, cam->height); width 843 drivers/media/usb/zr364xx/zr364xx.c f->fmt.pix.bytesperline = f->fmt.pix.width * 2; width 848 drivers/media/usb/zr364xx/zr364xx.c if (f->fmt.pix.width == 160 && f->fmt.pix.height == 120) width 850 drivers/media/usb/zr364xx/zr364xx.c else if (f->fmt.pix.width == 640 && f->fmt.pix.height == 480) width 876 drivers/media/usb/zr364xx/zr364xx.c header2[439] = cam->width / 256; width 877 drivers/media/usb/zr364xx/zr364xx.c header2[440] = cam->width % 256; width 1439 drivers/media/usb/zr364xx/zr364xx.c cam->width = 160; width 1444 drivers/media/usb/zr364xx/zr364xx.c cam->width = 640; width 1449 drivers/media/usb/zr364xx/zr364xx.c cam->width = 320; width 1475 drivers/media/usb/zr364xx/zr364xx.c header2[439] = cam->width / 256; width 1476 drivers/media/usb/zr364xx/zr364xx.c header2[440] = cam->width % 256; width 160 drivers/media/v4l2-core/v4l2-common.c size_t height_offset, s32 width, s32 height) width 173 drivers/media/v4l2-core/v4l2-common.c error = abs(*entry_width - width) + abs(*entry_height - height); width 334 drivers/media/v4l2-core/v4l2-common.c void v4l2_apply_frmsize_constraints(u32 *width, u32 *height, width 344 drivers/media/v4l2-core/v4l2-common.c *width = clamp_roundup(*width, frmsize->min_width, frmsize->max_width, width 352 drivers/media/v4l2-core/v4l2-common.c u32 pixelformat, u32 width, u32 height) width 362 drivers/media/v4l2-core/v4l2-common.c pixfmt->width = width; width 369 drivers/media/v4l2-core/v4l2-common.c plane->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0]; width 378 drivers/media/v4l2-core/v4l2-common.c aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); width 392 drivers/media/v4l2-core/v4l2-common.c aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); width 407 drivers/media/v4l2-core/v4l2-common.c u32 width, u32 height) width 420 drivers/media/v4l2-core/v4l2-common.c pixfmt->width = width; width 423 drivers/media/v4l2-core/v4l2-common.c pixfmt->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0]; width 432 drivers/media/v4l2-core/v4l2-common.c aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); width 769 drivers/media/v4l2-core/v4l2-compat-ioctl32.c __u32 width; width 154 drivers/media/v4l2-core/v4l2-dv-timings.c bt->width < cap->min_width || width 155 drivers/media/v4l2-core/v4l2-dv-timings.c bt->width > cap->max_width || width 176 drivers/media/v4l2-core/v4l2-dv-timings.c for (i = idx = 0; v4l2_dv_timings_presets[i].bt.width; i++) { width 199 drivers/media/v4l2-core/v4l2-dv-timings.c for (i = 0; i < v4l2_dv_timings_presets[i].bt.width; i++) { width 221 drivers/media/v4l2-core/v4l2-dv-timings.c for (i = 0; i < v4l2_dv_timings_presets[i].bt.width; i++) { width 251 drivers/media/v4l2-core/v4l2-dv-timings.c if (t1->bt.width == t2->bt.width && width 297 drivers/media/v4l2-core/v4l2-dv-timings.c bt->width, bt->height, bt->interlaced ? "i" : "p", width 366 drivers/media/v4l2-core/v4l2-dv-timings.c ratio.numerator = t->bt.width * t->bt.picture_aspect.denominator; width 608 drivers/media/v4l2-core/v4l2-dv-timings.c fmt->bt.width = image_width; width 766 drivers/media/v4l2-core/v4l2-dv-timings.c fmt->bt.width = image_width; width 295 drivers/media/v4l2-core/v4l2-ioctl.c pix->width, pix->height, width 309 drivers/media/v4l2-core/v4l2-ioctl.c mp->width, mp->height, width 330 drivers/media/v4l2-core/v4l2-ioctl.c win->w.width, win->w.height, win->w.left, win->w.top, width 386 drivers/media/v4l2-core/v4l2-ioctl.c p->fmt.width, p->fmt.height, width 612 drivers/media/v4l2-core/v4l2-ioctl.c p->bounds.width, p->bounds.height, width 614 drivers/media/v4l2-core/v4l2-ioctl.c p->defrect.width, p->defrect.height, width 625 drivers/media/v4l2-core/v4l2-ioctl.c p->c.width, p->c.height, width 636 drivers/media/v4l2-core/v4l2-ioctl.c p->r.width, p->r.height, p->r.left, p->r.top); width 712 drivers/media/v4l2-core/v4l2-ioctl.c p->bt.width, p->bt.height, width 766 drivers/media/v4l2-core/v4l2-ioctl.c p->discrete.width, p->discrete.height); width 795 drivers/media/v4l2-core/v4l2-ioctl.c p->width, p->height, p->type); width 681 drivers/media/v4l2-core/v4l2-subdev.c if (source_fmt->format.width != sink_fmt->format.width width 230 drivers/memory/emif.c u32 width; width 233 drivers/memory/emif.c width = (readl(base + EMIF_SDRAM_CONFIG) & NARROW_MODE_MASK) width 235 drivers/memory/emif.c width = width == 0 ? 32 : 16; width 237 drivers/memory/emif.c return width; width 70 drivers/memory/samsung/exynos-srom.c u32 bank, width, pmc = 0; width 76 drivers/memory/samsung/exynos-srom.c if (of_property_read_u32(np, "reg-io-width", &width)) width 77 drivers/memory/samsung/exynos-srom.c width = 1; width 87 drivers/memory/samsung/exynos-srom.c if (width == 2) width 115 drivers/message/fusion/mptspi.c u8 width = MPT_NARROW; width 124 drivers/message/fusion/mptspi.c width = 0; width 130 drivers/message/fusion/mptspi.c width = 1; width 179 drivers/message/fusion/mptspi.c if (width) width 180 drivers/message/fusion/mptspi.c width = nvram & MPT_NVRAM_WIDE_DISABLE ? 0 : 1; width 204 drivers/message/fusion/mptspi.c if ((!width) && (factor < MPT_ULTRA2)) width 211 drivers/message/fusion/mptspi.c target->maxWidth = width; width 215 drivers/message/fusion/mptspi.c spi_max_width(scsi_target(sdev)) = width; width 221 drivers/message/fusion/mptspi.c if (!width) width 1082 drivers/message/fusion/mptspi.c static void mptspi_write_width(struct scsi_target *starget, int width) width 1087 drivers/message/fusion/mptspi.c if (!width) { width 1093 drivers/message/fusion/mptspi.c spi_width(starget) = width; width 185 drivers/misc/eeprom/eeprom_93cx6.c command = (PCI_EEPROM_READ_OPCODE << eeprom->width) | word; width 187 drivers/misc/eeprom/eeprom_93cx6.c PCI_EEPROM_WIDTH_OPCODE + eeprom->width); width 251 drivers/misc/eeprom/eeprom_93cx6.c command = (PCI_EEPROM_READ_OPCODE << (eeprom->width + 1)) | byte; width 253 drivers/misc/eeprom/eeprom_93cx6.c PCI_EEPROM_WIDTH_OPCODE + eeprom->width + 1); width 306 drivers/misc/eeprom/eeprom_93cx6.c command <<= (eeprom->width - 2); width 309 drivers/misc/eeprom/eeprom_93cx6.c PCI_EEPROM_WIDTH_OPCODE + eeprom->width); width 336 drivers/misc/eeprom/eeprom_93cx6.c command = PCI_EEPROM_WRITE_OPCODE << eeprom->width; width 341 drivers/misc/eeprom/eeprom_93cx6.c PCI_EEPROM_WIDTH_OPCODE + eeprom->width); width 977 drivers/mmc/core/core.c void mmc_set_bus_width(struct mmc_host *host, unsigned int width) width 979 drivers/mmc/core/core.c host->ios.bus_width = width; width 45 drivers/mmc/core/core.h void mmc_set_bus_width(struct mmc_host *host, unsigned int width); width 784 drivers/mmc/core/mmc_ops.c int width; width 787 drivers/mmc/core/mmc_ops.c width = 8; width 789 drivers/mmc/core/mmc_ops.c width = 4; width 799 drivers/mmc/core/mmc_ops.c mmc_send_bus_test(card, card->host, MMC_BUS_TEST_W, width); width 800 drivers/mmc/core/mmc_ops.c return mmc_send_bus_test(card, card->host, MMC_BUS_TEST_R, width); width 96 drivers/mmc/core/sd_ops.c int mmc_app_set_bus_width(struct mmc_card *card, int width) width 103 drivers/mmc/core/sd_ops.c switch (width) { width 16 drivers/mmc/core/sd_ops.h int mmc_app_set_bus_width(struct mmc_card *card, int width); width 3164 drivers/mmc/host/dw_mmc.c int width, i, ret = 0; width 3247 drivers/mmc/host/dw_mmc.c width = 16; width 3252 drivers/mmc/host/dw_mmc.c width = 64; width 3261 drivers/mmc/host/dw_mmc.c width = 32; width 3338 drivers/mmc/host/dw_mmc.c host->irq, width, fifo_size); width 475 drivers/mmc/host/meson-gx-mmc.c div->width = __builtin_popcountl(CLK_DIV_MASK); width 615 drivers/mmc/host/meson-mx-sdio.c host->cfg_div.width = MESON_MX_SDIO_CONF_CMD_CLK_DIV_WIDTH; width 1307 drivers/mmc/host/mtk-sd.c static void msdc_set_buswidth(struct msdc_host *host, u32 width) width 1313 drivers/mmc/host/mtk-sd.c switch (width) { width 1327 drivers/mmc/host/mtk-sd.c dev_dbg(host->dev, "Bus Width = %d", width); width 54 drivers/mmc/host/renesas_sdhi_core.c static void renesas_sdhi_sdbuf_width(struct tmio_mmc_host *host, int width) width 64 drivers/mmc/host/renesas_sdhi_core.c val = (width == 32) ? 0x0001 : 0x0000; width 67 drivers/mmc/host/renesas_sdhi_core.c val = (width == 32) ? 0x0000 : 0x0001; width 71 drivers/mmc/host/renesas_sdhi_core.c if (width == 64) width 73 drivers/mmc/host/renesas_sdhi_core.c else if (width == 32) width 610 drivers/mmc/host/renesas_sdhi_core.c int width = (host->bus_shift == 2) ? 64 : 32; width 613 drivers/mmc/host/renesas_sdhi_core.c renesas_sdhi_sdbuf_width(host, enable ? width : 16); width 882 drivers/mmc/host/rtsx_pci_sdmmc.c u8 width[] = { width 890 drivers/mmc/host/rtsx_pci_sdmmc.c 0x03, width[bus_width]); width 890 drivers/mmc/host/rtsx_usb_sdmmc.c static const u8 width[] = { width 898 drivers/mmc/host/rtsx_usb_sdmmc.c 0x03, width[bus_width]); width 834 drivers/mmc/host/sdhci-esdhc-imx.c static void esdhc_pltfm_set_bus_width(struct sdhci_host *host, int width) width 838 drivers/mmc/host/sdhci-esdhc-imx.c switch (width) { width 53 drivers/mmc/host/sdhci-of-arasan.c u16 width; width 112 drivers/mmc/host/sdhci-of-arasan.c .baseclkfreq = { .reg = 0xf000, .width = 8, .shift = 8 }, width 113 drivers/mmc/host/sdhci-of-arasan.c .clockmultiplier = { .reg = 0xf02c, .width = 8, .shift = 0}, width 118 drivers/mmc/host/sdhci-of-arasan.c .baseclkfreq = { .reg = 0xa0, .width = 8, .shift = 2 }, width 119 drivers/mmc/host/sdhci-of-arasan.c .clockmultiplier = { .reg = 0, .width = -1, .shift = -1 }, width 143 drivers/mmc/host/sdhci-of-arasan.c u16 width = fld->width; width 158 drivers/mmc/host/sdhci-of-arasan.c HIWORD_UPDATE(val, GENMASK(width, 0), width 162 drivers/mmc/host/sdhci-of-arasan.c GENMASK(shift + width, shift), width 90 drivers/mmc/host/sdhci-of-aspeed.c static void aspeed_sdhci_set_bus_width(struct sdhci_host *host, int width) width 103 drivers/mmc/host/sdhci-of-aspeed.c width == MMC_BUS_WIDTH_8); width 107 drivers/mmc/host/sdhci-of-aspeed.c if (width == MMC_BUS_WIDTH_4) width 711 drivers/mmc/host/sdhci-of-esdhc.c static void esdhc_pltfm_set_bus_width(struct sdhci_host *host, int width) width 717 drivers/mmc/host/sdhci-of-esdhc.c switch (width) { width 701 drivers/mmc/host/sdhci-omap.c static void sdhci_omap_set_bus_width(struct sdhci_host *host, int width) width 708 drivers/mmc/host/sdhci-omap.c if (width == MMC_BUS_WIDTH_8) width 714 drivers/mmc/host/sdhci-omap.c sdhci_set_bus_width(host, width); width 58 drivers/mmc/host/sdhci-pic32.c static void pic32_sdhci_set_bus_width(struct sdhci_host *host, int width) width 63 drivers/mmc/host/sdhci-pic32.c if (width == MMC_BUS_WIDTH_8) { width 70 drivers/mmc/host/sdhci-pic32.c if (width == MMC_BUS_WIDTH_4) width 83 drivers/mmc/host/sdhci-pxav2.c static void pxav2_mmc_set_bus_width(struct sdhci_host *host, int width) width 90 drivers/mmc/host/sdhci-pxav2.c if (width == MMC_BUS_WIDTH_8) { width 95 drivers/mmc/host/sdhci-pxav2.c if (width == MMC_BUS_WIDTH_4) width 20 drivers/mmc/host/sdhci-sirf.c static void sdhci_sirf_set_bus_width(struct sdhci_host *host, int width) width 32 drivers/mmc/host/sdhci-sirf.c if (width == MMC_BUS_WIDTH_8) width 34 drivers/mmc/host/sdhci-sirf.c else if (width == MMC_BUS_WIDTH_4) width 1845 drivers/mmc/host/sdhci.c void sdhci_set_bus_width(struct sdhci_host *host, int width) width 1850 drivers/mmc/host/sdhci.c if (width == MMC_BUS_WIDTH_8) { width 1856 drivers/mmc/host/sdhci.c if (width == MMC_BUS_WIDTH_4) width 636 drivers/mmc/host/sdhci.h void (*set_bus_width)(struct sdhci_host *host, int width); width 767 drivers/mmc/host/sdhci.h void sdhci_set_bus_width(struct sdhci_host *host, int width); width 865 drivers/mmc/host/sunxi-mmc.c unsigned char width) width 867 drivers/mmc/host/sunxi-mmc.c switch (width) { width 320 drivers/mtd/devices/docg3.h TP_PROTO(int op, int width, u16 reg, int val), width 321 drivers/mtd/devices/docg3.h TP_ARGS(op, width, reg, val), width 324 drivers/mtd/devices/docg3.h __field(unsigned char, width) width 329 drivers/mtd/devices/docg3.h __entry->width = width; width 333 drivers/mtd/devices/docg3.h __entry->op ? "write" : "read", __entry->width, width 431 drivers/mtd/maps/physmap-core.c info->maps[i].bankwidth = physmap_data->width; width 610 drivers/mtd/maps/physmap-core.c .width = CONFIG_MTD_PHYSMAP_BANKWIDTH, width 22 drivers/mtd/maps/pismo.c u8 width; width 39 drivers/mtd/maps/pismo.c u8 width; width 58 drivers/mtd/maps/pismo.c static unsigned int pismo_width_to_bytes(unsigned int width) width 60 drivers/mtd/maps/pismo.c width &= 15; width 61 drivers/mtd/maps/pismo.c if (width > 2) width 63 drivers/mtd/maps/pismo.c return 1 << width; width 134 drivers/mtd/maps/pismo.c .width = region->width, width 148 drivers/mtd/maps/pismo.c .bankwidth = region->width, width 163 drivers/mtd/maps/pismo.c region.width = pismo_width_to_bytes(cs->width); width 167 drivers/mtd/maps/pismo.c if (region.width == 0) { width 168 drivers/mtd/maps/pismo.c dev_err(dev, "cs%u: bad width: %02x, ignoring\n", i, cs->width); width 61 drivers/mtd/maps/pxa2xx-flash.c info->map.bankwidth = flash->width; width 77 drivers/mtd/maps/rbtx4939-flash.c info->map.bankwidth = pdata->width; width 29 drivers/mtd/maps/scx200_docflash.c static unsigned width = 8; /* Default to 8 bits wide */ width 36 drivers/mtd/maps/scx200_docflash.c module_param(width, int, 0); width 37 drivers/mtd/maps/scx200_docflash.c MODULE_PARM_DESC(width, "Data width of the flash mapping (8/16)"); width 118 drivers/mtd/maps/scx200_docflash.c width = 16; width 120 drivers/mtd/maps/scx200_docflash.c width = 8; width 138 drivers/mtd/maps/scx200_docflash.c if (width != 8 && width != 16) { width 159 drivers/mtd/maps/scx200_docflash.c if (width == 8) { width 168 drivers/mtd/maps/scx200_docflash.c &docmem, width); width 171 drivers/mtd/maps/scx200_docflash.c if (width == 8) width 98 drivers/mtd/nand/raw/fsl_upm.c mar = (cmd << (32 - fun->upm.width)) | width 1853 drivers/mtd/nand/raw/mxc_nand.c if (host->pdata.width == 2) width 125 drivers/mtd/nand/raw/orion_nand.c board->width = (u8)val * 8; width 127 drivers/mtd/nand/raw/orion_nand.c board->width = 8; width 148 drivers/mtd/nand/raw/orion_nand.c WARN(board->width > 16, width 150 drivers/mtd/nand/raw/orion_nand.c board->width); width 152 drivers/mtd/nand/raw/orion_nand.c if (board->width == 16) width 314 drivers/net/dsa/microchip/ksz_common.h #define KSZ_REGMAP_ENTRY(width, swp, regbits, regpad, regalign) \ width 316 drivers/net/dsa/microchip/ksz_common.h .name = #width, \ width 317 drivers/net/dsa/microchip/ksz_common.h .val_bits = (width), \ width 723 drivers/net/ethernet/8390/ax88796.c eeprom.width = PCI_EEPROM_WIDTH_93C56; width 1562 drivers/net/ethernet/amazon/ena/ena_com.c int width; width 1569 drivers/net/ethernet/amazon/ena/ena_com.c width = (caps & ENA_REGS_CAPS_DMA_ADDR_WIDTH_MASK) >> width 1572 drivers/net/ethernet/amazon/ena/ena_com.c pr_debug("ENA dma width: %d\n", width); width 1574 drivers/net/ethernet/amazon/ena/ena_com.c if ((width < 32) || width > ENA_MAX_PHYS_ADDR_SIZE_BITS) { width 1575 drivers/net/ethernet/amazon/ena/ena_com.c pr_err("DMA width illegal value: %d\n", width); width 1579 drivers/net/ethernet/amazon/ena/ena_com.c ena_dev->dma_addr_bits = width; width 1581 drivers/net/ethernet/amazon/ena/ena_com.c return width; width 1612 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c #define mask(width) ((u64)~0 >> (64 - (width))) width 162 drivers/net/ethernet/chelsio/cxgb/common.h unsigned char width; width 1162 drivers/net/ethernet/chelsio/cxgb/cxgb2.c adapter->params.pci.speed, adapter->params.pci.width); width 1001 drivers/net/ethernet/chelsio/cxgb/subr.c p->width = (pci_mode & F_PCI_MODE_64BIT) ? 64 : 32; width 369 drivers/net/ethernet/chelsio/cxgb3/common.h unsigned char width; width 459 drivers/net/ethernet/chelsio/cxgb3/common.h unsigned int width; /* MC7 interface width */ width 3151 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c adap->params.pci.width); width 3155 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c adap->params.pci.speed, adap->params.pci.width); width 157 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c start *= (8 << mc7->width); width 162 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c for (i = (1 << mc7->width) - 1; i >= 0; --i) { width 176 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c if (mc7->width == 0) { width 182 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c if (mc7->width > 1) width 183 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c val >>= shift[mc7->width]; width 184 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c val64 |= (u64) val << (step[mc7->width] * i); width 3208 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int width, density, slow, attempts; width 3217 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c width = G_WIDTH(val); width 3285 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c (mc7->size << width) - 1); width 3342 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c log2_width = fls(adap->params.pci.width) - 1; width 3465 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c p->width = (val >> 4) & 0x3f; width 3471 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c p->width = (pci_mode & F_64BIT) ? 64 : 32; width 3517 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int width = G_WIDTH(cfg); width 3521 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int MBs = ((256 << density) * banks) / (org << width); width 3536 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c mc7->width = G_WIDTH(cfg); width 343 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned char width; width 57 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c return pos >= tb->rows ? NULL : &tb->data[pos * tb->width]; width 85 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c return tb->show(seq, v, ((char *)v - tb->data) / tb->width); width 96 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c unsigned int width, unsigned int have_header, width 101 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c p = __seq_open_private(f, &seq_tab_ops, sizeof(*p) + rows * width); width 105 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c p->width = width; width 450 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c unsigned int width; width 460 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c u64 mask = (1ULL << p->width) - 1; width 50 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.h unsigned char width; /* size in bytes of each entry */ width 61 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.h unsigned int width, unsigned int have_header, width 8877 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c p->width = (val & PCI_EXP_LNKSTA_NLW) >> 4; width 330 drivers/net/ethernet/freescale/gianfar.c int width = priv->hash_width; width 331 drivers/net/ethernet/freescale/gianfar.c u8 whichbit = (result >> (32 - width)) & 0x1f; width 332 drivers/net/ethernet/freescale/gianfar.c u8 whichreg = result >> (32 - width + 5); width 622 drivers/net/ethernet/intel/e1000e/hw.h enum e1000_bus_width width; width 4625 drivers/net/ethernet/intel/e1000e/ich8lan.c if (bus->width == e1000_bus_width_unknown) width 4626 drivers/net/ethernet/intel/e1000e/ich8lan.c bus->width = e1000_bus_width_pcie_x1; width 23 drivers/net/ethernet/intel/e1000e/mac.c bus->width = e1000_bus_width_unknown; width 28 drivers/net/ethernet/intel/e1000e/mac.c bus->width = (enum e1000_bus_width)((pcie_link_status & width 6932 drivers/net/ethernet/intel/e1000e/netdev.c ((hw->bus.width == e1000_bus_width_pcie_x4) ? "Width x4" : width 22 drivers/net/ethernet/intel/fm10k/fm10k_common.c hw->bus_caps.width = fm10k_bus_width_pcie_x1; width 25 drivers/net/ethernet/intel/fm10k/fm10k_common.c hw->bus_caps.width = fm10k_bus_width_pcie_x2; width 28 drivers/net/ethernet/intel/fm10k/fm10k_common.c hw->bus_caps.width = fm10k_bus_width_pcie_x4; width 31 drivers/net/ethernet/intel/fm10k/fm10k_common.c hw->bus_caps.width = fm10k_bus_width_pcie_x8; width 34 drivers/net/ethernet/intel/fm10k/fm10k_common.c hw->bus_caps.width = fm10k_bus_width_unknown; width 76 drivers/net/ethernet/intel/fm10k/fm10k_common.c hw->bus.width = fm10k_bus_width_pcie_x1; width 79 drivers/net/ethernet/intel/fm10k/fm10k_common.c hw->bus.width = fm10k_bus_width_pcie_x2; width 82 drivers/net/ethernet/intel/fm10k/fm10k_common.c hw->bus.width = fm10k_bus_width_pcie_x4; width 85 drivers/net/ethernet/intel/fm10k/fm10k_common.c hw->bus.width = fm10k_bus_width_pcie_x8; width 88 drivers/net/ethernet/intel/fm10k/fm10k_common.c hw->bus.width = fm10k_bus_width_unknown; width 408 drivers/net/ethernet/intel/fm10k/fm10k_type.h enum fm10k_bus_width width; width 4481 drivers/net/ethernet/intel/i40e/i40e_common.c hw->bus.width = i40e_bus_width_pcie_x1; width 4484 drivers/net/ethernet/intel/i40e/i40e_common.c hw->bus.width = i40e_bus_width_pcie_x2; width 4487 drivers/net/ethernet/intel/i40e/i40e_common.c hw->bus.width = i40e_bus_width_pcie_x4; width 4490 drivers/net/ethernet/intel/i40e/i40e_common.c hw->bus.width = i40e_bus_width_pcie_x8; width 4493 drivers/net/ethernet/intel/i40e/i40e_common.c hw->bus.width = i40e_bus_width_unknown; width 667 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c u16 width; width 743 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c mask = (u8)(BIT(ce_info->width) - 1); width 784 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c mask = BIT(ce_info->width) - 1; width 833 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (ce_info->width < 32) width 834 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c mask = BIT(ce_info->width) - 1; width 885 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c if (ce_info->width < 64) width 886 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c mask = BIT_ULL(ce_info->width) - 1; width 940 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c for (f = 0; ce_info[f].width != 0; f++) { width 15204 drivers/net/ethernet/intel/i40e/i40e_main.c char width[PCI_WIDTH_SIZE] = "Unknown"; width 15224 drivers/net/ethernet/intel/i40e/i40e_main.c switch (hw->bus.width) { width 15226 drivers/net/ethernet/intel/i40e/i40e_main.c strlcpy(width, "8", PCI_WIDTH_SIZE); break; width 15228 drivers/net/ethernet/intel/i40e/i40e_main.c strlcpy(width, "4", PCI_WIDTH_SIZE); break; width 15230 drivers/net/ethernet/intel/i40e/i40e_main.c strlcpy(width, "2", PCI_WIDTH_SIZE); break; width 15232 drivers/net/ethernet/intel/i40e/i40e_main.c strlcpy(width, "1", PCI_WIDTH_SIZE); break; width 15238 drivers/net/ethernet/intel/i40e/i40e_main.c speed, width); width 15240 drivers/net/ethernet/intel/i40e/i40e_main.c if (hw->bus.width < i40e_bus_width_pcie_x8 || width 489 drivers/net/ethernet/intel/i40e/i40e_type.h enum i40e_bus_width width; width 158 drivers/net/ethernet/intel/iavf/iavf_type.h enum iavf_bus_width width; width 2948 drivers/net/ethernet/intel/ice/ice_common.c mask = (u8)(BIT(ce_info->width) - 1); width 2988 drivers/net/ethernet/intel/ice/ice_common.c mask = BIT(ce_info->width) - 1; width 3036 drivers/net/ethernet/intel/ice/ice_common.c if (ce_info->width < 32) width 3037 drivers/net/ethernet/intel/ice/ice_common.c mask = BIT(ce_info->width) - 1; width 3087 drivers/net/ethernet/intel/ice/ice_common.c if (ce_info->width < 64) width 3088 drivers/net/ethernet/intel/ice/ice_common.c mask = BIT_ULL(ce_info->width) - 1; width 3125 drivers/net/ethernet/intel/ice/ice_common.c for (f = 0; ce_info[f].width; f++) { width 299 drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h u16 width; width 306 drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h .width = _width, \ width 456 drivers/net/ethernet/intel/igb/e1000_hw.h enum e1000_bus_width width; width 38 drivers/net/ethernet/intel/igb/e1000_mac.c bus->width = e1000_bus_width_unknown; width 53 drivers/net/ethernet/intel/igb/e1000_mac.c bus->width = (enum e1000_bus_width)((pcie_link_status & width 3391 drivers/net/ethernet/intel/igb/igb_main.c ((hw->bus.width == e1000_bus_width_pcie_x4) ? width 3393 drivers/net/ethernet/intel/igb/igb_main.c (hw->bus.width == e1000_bus_width_pcie_x2) ? width 3395 drivers/net/ethernet/intel/igb/igb_main.c (hw->bus.width == e1000_bus_width_pcie_x1) ? width 1089 drivers/net/ethernet/intel/ixgb/ixgb_hw.c hw->bus.width = (status_reg & IXGB_STATUS_BUS64) ? width 634 drivers/net/ethernet/intel/ixgb/ixgb_hw.h ixgb_bus_width width; width 665 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c hw->bus.width = ixgbe_convert_bus_width(link_status); width 223 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hw->bus.width = ixgbe_convert_bus_width(link_status); width 3283 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h enum ixgbe_bus_width width; width 1242 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c hw->bus.width = ixgbe_bus_width_unknown; width 141 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c static inline int mlx5_ptys_width_enum_to_int(enum mlx5_ptys_width width) width 143 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c switch (width) { width 197 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c int rate, width; width 202 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c width = mlx5_ptys_width_enum_to_int(ib_link_width_oper); width 203 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c if (width < 0) width 206 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c return rate * width; width 534 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c u8 width; width 555 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c width = mlxsw_reg_pmlp_width_get(pmlp_pl); width 556 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c if (!width) width 797 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c u8 width, module; width 805 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c width = mlxsw_reg_pmlp_width_get(pmlp_pl); width 806 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c if (!width) width 228 drivers/net/ethernet/mellanox/mlxsw/minimal.c u8 module, width; width 233 drivers/net/ethernet/mellanox/mlxsw/minimal.c &width); width 237 drivers/net/ethernet/mellanox/mlxsw/minimal.c if (!width) width 3974 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pmlp, width, 0x00, 0, 8); width 756 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 module, u8 width, u8 lane) width 763 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_pmlp_width_set(pmlp_pl, width); width 764 drivers/net/ethernet/mellanox/mlxsw/spectrum.c for (i = 0; i < width; i++) { width 2670 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 width, unsigned long *mode) width 2711 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp1_to_ptys_advert_link(struct mlxsw_sp *mlxsw_sp, u8 width, width 2725 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static u32 mlxsw_sp1_to_ptys_speed(struct mlxsw_sp *mlxsw_sp, u8 width, width 2918 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static u8 mlxsw_sp_port_mask_width_get(u8 width) width 2920 drivers/net/ethernet/mellanox/mlxsw/spectrum.c switch (width) { width 3064 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 width, unsigned long *mode) width 3066 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 mask_width = mlxsw_sp_port_mask_width_get(width); width 3122 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp2_to_ptys_advert_link(struct mlxsw_sp *mlxsw_sp, u8 width, width 3125 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 mask_width = mlxsw_sp_port_mask_width_get(width); width 3139 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 width, u32 speed) width 3141 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 mask_width = mlxsw_sp_port_mask_width_get(width); width 3231 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 width, struct ethtool_link_ksettings *cmd) width 3242 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ops->from_ptys_link(mlxsw_sp, eth_proto_cap, width, width 3248 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u32 eth_proto_admin, bool autoneg, u8 width, width 3259 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ops->from_ptys_link(mlxsw_sp, eth_proto_admin, width, width 3315 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->mapping.width, cmd); width 3318 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->mapping.width, cmd); width 3352 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ops->to_ptys_advert_link(mlxsw_sp, mlxsw_sp_port->mapping.width, width 3354 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ops->to_ptys_speed(mlxsw_sp, mlxsw_sp_port->mapping.width, width 3435 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_speed_by_width_set(struct mlxsw_sp_port *mlxsw_sp_port, u8 width) width 3451 drivers/net/ethernet/mellanox/mlxsw/spectrum.c upper_speed = base_speed * width; width 3612 drivers/net/ethernet/mellanox/mlxsw/spectrum.c bool split, u8 module, u8 width, u8 lane) width 3620 drivers/net/ethernet/mellanox/mlxsw/spectrum.c module + 1, split, lane / width, width 3642 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->mapping.width = width; width 3668 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_sp_port_module_map(mlxsw_sp_port, module, width, lane); width 3710 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_sp_port_speed_by_width_set(mlxsw_sp_port, width); width 3941 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 module, width, lane; width 3967 drivers/net/ethernet/mellanox/mlxsw/spectrum.c &width, &lane); width 3970 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (!width) width 3974 drivers/net/ethernet/mellanox/mlxsw/spectrum.c module, width, lane); width 4004 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 width = MLXSW_PORT_MODULE_MAX_WIDTH / count; width 4009 drivers/net/ethernet/mellanox/mlxsw/spectrum.c true, module, width, i * width); width 4026 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 local_port, module, width = MLXSW_PORT_MODULE_MAX_WIDTH; width 4041 drivers/net/ethernet/mellanox/mlxsw/spectrum.c width, 0); width 4080 drivers/net/ethernet/mellanox/mlxsw/spectrum.c cur_width = mlxsw_sp_port->mapping.width; width 4163 drivers/net/ethernet/mellanox/mlxsw/spectrum.c cur_width = mlxsw_sp_port->mapping.width; width 260 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u8 width; width 293 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u8 width, unsigned long *mode); width 298 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u32 (*to_ptys_advert_link)(struct mlxsw_sp *mlxsw_sp, u8 width, width 300 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u32 (*to_ptys_speed)(struct mlxsw_sp *mlxsw_sp, u8 width, u32 speed); width 300 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c [0] = MLXSW_SP_PB_HEADROOM * mlxsw_sp_port->mapping.width, width 191 drivers/net/ethernet/mellanox/mlxsw/switchib.c u16 speed, u16 width) width 197 drivers/net/ethernet/mellanox/mlxsw/switchib.c width); width 207 drivers/net/ethernet/mellanox/mlxsw/switchib.c u8 module, u8 width) width 279 drivers/net/ethernet/mellanox/mlxsw/switchib.c u8 module, u8 width) width 291 drivers/net/ethernet/mellanox/mlxsw/switchib.c err = __mlxsw_sib_port_create(mlxsw_sib, local_port, module, width); width 332 drivers/net/ethernet/mellanox/mlxsw/switchib.c u8 module, width; width 343 drivers/net/ethernet/mellanox/mlxsw/switchib.c &width); width 346 drivers/net/ethernet/mellanox/mlxsw/switchib.c if (!width) width 348 drivers/net/ethernet/mellanox/mlxsw/switchib.c err = mlxsw_sib_port_create(mlxsw_sib, i, module, width); width 944 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u16 speed, u16 width) width 950 drivers/net/ethernet/mellanox/mlxsw/switchx2.c width); width 955 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port_speed_by_width_set(struct mlxsw_sx_port *mlxsw_sx_port, u8 width) width 958 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u32 upper_speed = MLXSW_SX_PORT_BASE_SPEED * width; width 980 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u8 module, u8 width) width 1040 drivers/net/ethernet/mellanox/mlxsw/switchx2.c err = mlxsw_sx_port_speed_by_width_set(mlxsw_sx_port, width); width 1104 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u8 module, u8 width) width 1116 drivers/net/ethernet/mellanox/mlxsw/switchx2.c err = __mlxsw_sx_port_eth_create(mlxsw_sx, local_port, module, width); width 1145 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u8 module, u8 width) width 1268 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u8 module, width; width 1279 drivers/net/ethernet/mellanox/mlxsw/switchx2.c &width); width 1282 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (!width) width 1284 drivers/net/ethernet/mellanox/mlxsw/switchx2.c err = mlxsw_sx_port_eth_create(mlxsw_sx, i, module, width); width 1377 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u8 module, width; width 1391 drivers/net/ethernet/mellanox/mlxsw/switchx2.c &width); width 1397 drivers/net/ethernet/mellanox/mlxsw/switchx2.c width); width 1400 drivers/net/ethernet/mellanox/mlxsw/switchx2.c width); width 1500 drivers/net/ethernet/micrel/ks8851.c ks->eeprom.width = PCI_EEPROM_WIDTH_93C46; width 29 drivers/net/ethernet/mscc/ocelot_ace.c u16 width; /* Action type width (in bits) */ width 52 drivers/net/ethernet/mscc/ocelot_ace.c .width = (IS2_AO_ACL_ID + IS2_AL_ACL_ID), width 56 drivers/net/ethernet/mscc/ocelot_ace.c .width = 6, width 158 drivers/net/ethernet/mscc/ocelot_ace.c u32 i, width, mask; width 161 drivers/net/ethernet/mscc/ocelot_ace.c width = vcap_is2.action_type_width; width 162 drivers/net/ethernet/mscc/ocelot_ace.c if (width) { width 163 drivers/net/ethernet/mscc/ocelot_ace.c mask = GENMASK(width, 0); width 176 drivers/net/ethernet/mscc/ocelot_ace.c u32 i, width; width 185 drivers/net/ethernet/mscc/ocelot_ace.c width = vcap_is2.action_type_width; width 186 drivers/net/ethernet/mscc/ocelot_ace.c data->type = (width ? (data->action[0] & GENMASK(width, 0)) : 0); width 192 drivers/net/ethernet/mscc/ocelot_ace.c u32 i, col, offset, count, cnt, base, width = vcap_is2.tg_width; width 201 drivers/net/ethernet/mscc/ocelot_ace.c offset = ((base + i) * width); width 203 drivers/net/ethernet/mscc/ocelot_ace.c data->tg_mask |= GENMASK(offset + width - 1, offset); width 211 drivers/net/ethernet/mscc/ocelot_ace.c width = vcap_is2.action_table[i].width; width 214 drivers/net/ethernet/mscc/ocelot_ace.c (((cnt * col * width) / count) + vcap_is2.action_type_width); width 245 drivers/net/ethernet/mscc/ocelot_ace.c static void vcap_key_set(struct vcap_data *data, u32 offset, u32 width, width 248 drivers/net/ethernet/mscc/ocelot_ace.c vcap_data_set(data->entry, offset + data->key_offset, width, value); width 249 drivers/net/ethernet/mscc/ocelot_ace.c vcap_data_set(data->mask, offset + data->key_offset, width, mask); width 297 drivers/net/ethernet/mscc/ocelot_ace.c static void vcap_action_set(struct vcap_data *data, u32 offset, u32 width, width 300 drivers/net/ethernet/mscc/ocelot_ace.c vcap_data_set(data->action, offset + data->action_offset, width, value); width 273 drivers/net/ethernet/netronome/nfp/bpf/jit.c enum immed_width width, bool invert, width 283 drivers/net/ethernet/netronome/nfp/bpf/jit.c FIELD_PREP(OP_IMMED_WIDTH, width) | width 295 drivers/net/ethernet/netronome/nfp/bpf/jit.c enum immed_width width, bool invert, enum immed_shift shift) width 314 drivers/net/ethernet/netronome/nfp/bpf/jit.c reg.breg, imm >> 8, width, invert, shift, width 198 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c int tgt, int act, int tok, u64 offset, size_t size, int width) width 206 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c switch (width) { width 295 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c int tgt, int act, int tok, u64 offset, size_t size, int width) width 302 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c tgt, act, tok, offset, size, width); width 313 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c u64 offset, size_t size, int width) width 357 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (barwidth != width) width 373 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c u32 tgt, u32 act, u32 tok, u64 offset, size_t size, int width) width 380 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (matching_bar(bar, tgt, act, tok, offset, size, width)) width 391 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c u64 offset, size_t size, int width) width 404 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c tgt, act, tok, offset, size, width); width 415 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c tgt, act, tok, offset, size, width)) width 424 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c u64 offset, size_t size, int width) width 431 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c n = find_unused_bar_noblock(nfp, tgt, act, tok, offset, size, width); width 453 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c u32 tgt, u32 act, u32 tok, u64 offset, size_t size, int width) width 457 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c offset, size, width)) width 464 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c u64 offset, size_t size, int width, int nonblocking) width 473 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c barnum = find_matching_bar(nfp, tgt, act, tok, offset, size, width); width 482 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c offset, size, width); width 493 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c offset, size, width); width 501 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c tgt, act, tok, offset, size, width); width 743 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c } width; width 764 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c priv->width.read = PUSH_WIDTH(pp); width 765 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c priv->width.write = PULL_WIDTH(pp); width 766 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (priv->width.read > 0 && width 767 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c priv->width.write > 0 && width 768 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c priv->width.read != priv->width.write) { width 772 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (priv->width.read > 0) width 773 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c priv->width.bar = priv->width.read; width 775 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c priv->width.bar = priv->width.write; width 824 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c priv->offset, priv->size, priv->width.bar, 1); width 931 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c int n, width; width 940 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c width = priv->width.read; width 941 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (width <= 0) width 948 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c width = TARGET_WIDTH_32; width 951 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if ((priv->offset + offset) & (width - 1)) width 957 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c kernel_vaddr, length, width); width 962 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c switch (width) { width 994 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c int n, width; width 1003 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c width = priv->width.write; width 1004 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (width <= 0) width 1011 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c width = TARGET_WIDTH_32; width 1014 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if ((priv->offset + offset) & (width - 1)) width 1020 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c kernel_vaddr, length, width); width 1025 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c switch (width) { width 139 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c static u8 nfp_bytemask(int width, u64 addr) width 141 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c if (width == 8) width 143 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c else if (width == 4) width 145 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c else if (width == 2) width 147 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c else if (width == 1) width 109 drivers/net/ethernet/qlogic/qed/qed_dev.c u32 width = (db_width == DB_REC_WIDTH_32B) ? 32 : 64; width 113 drivers/net/ethernet/qlogic/qed/qed_dev.c (u8 __iomem *)db_addr + width > width 58 drivers/net/ethernet/sfc/bitfield.h #define EFX_MASK64(width) \ width 59 drivers/net/ethernet/sfc/bitfield.h ((width) == 64 ? ~((u64) 0) : \ width 60 drivers/net/ethernet/sfc/bitfield.h (((((u64) 1) << (width))) - 1)) width 69 drivers/net/ethernet/sfc/bitfield.h #define EFX_MASK32(width) \ width 70 drivers/net/ethernet/sfc/bitfield.h ((width) == 32 ? ~((u32) 0) : \ width 71 drivers/net/ethernet/sfc/bitfield.h (((((u32) 1) << (width))) - 1)) width 533 drivers/net/ethernet/sfc/bitfield.h #define EFX_DMA_TYPE_WIDTH(width) \ width 534 drivers/net/ethernet/sfc/bitfield.h (((width) < DMA_ADDR_T_WIDTH) ? (width) : DMA_ADDR_T_WIDTH) width 58 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_MASK64(width) \ width 59 drivers/net/ethernet/sfc/falcon/bitfield.h ((width) == 64 ? ~((u64) 0) : \ width 60 drivers/net/ethernet/sfc/falcon/bitfield.h (((((u64) 1) << (width))) - 1)) width 69 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_MASK32(width) \ width 70 drivers/net/ethernet/sfc/falcon/bitfield.h ((width) == 32 ? ~((u32) 0) : \ width 71 drivers/net/ethernet/sfc/falcon/bitfield.h (((((u32) 1) << (width))) - 1)) width 530 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_DMA_TYPE_WIDTH(width) \ width 531 drivers/net/ethernet/sfc/falcon/bitfield.h (((width) < DMA_ADDR_T_WIDTH) ? (width) : DMA_ADDR_T_WIDTH) width 766 drivers/net/ethernet/smsc/smc91c92_cs.c int width; width 777 drivers/net/ethernet/smsc/smc91c92_cs.c width = (link->resource[0]->flags == IO_DATA_PATH_WIDTH_AUTO); width 779 drivers/net/ethernet/smsc/smc91c92_cs.c if (width) width 794 drivers/net/ethernet/smsc/smc91c92_cs.c if (width) { width 2374 drivers/net/ethernet/smsc/smsc911x.c u32 width = 0; width 2384 drivers/net/ethernet/smsc/smsc911x.c err = device_property_read_u32(dev, "reg-io-width", &width); width 2387 drivers/net/ethernet/smsc/smsc911x.c if (!err && width == 4) width 157 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c clk_configs->m250_div.width = PRG_ETH0_CLK_M250_DIV_WIDTH; width 118 drivers/net/wireless/admtek/adm8211.c eeprom.width = PCI_EEPROM_WIDTH_93C66; width 122 drivers/net/wireless/admtek/adm8211.c eeprom.width = PCI_EEPROM_WIDTH_93C46; width 556 drivers/net/wireless/ath/ath10k/mac.c switch (chandef->width) { width 579 drivers/net/wireless/ath/ath10k/mac.c switch (chandef->width) { width 7800 drivers/net/wireless/ath/ath10k/mac.c vifs[i].old_ctx->def.width, width 7801 drivers/net/wireless/ath/ath10k/mac.c vifs[i].new_ctx->def.width); width 7871 drivers/net/wireless/ath/ath10k/mac.c ctx->def.chan->center_freq, ctx->def.width, ctx); width 7895 drivers/net/wireless/ath/ath10k/mac.c ctx->def.chan->center_freq, ctx->def.width, ctx); width 7960 drivers/net/wireless/ath/ath10k/mac.c ctx->def.chan->center_freq, ctx->def.width, ctx, changed); width 3960 drivers/net/wireless/ath/ath10k/wmi.c u8 rssi, width; width 4006 drivers/net/wireless/ath/ath10k/wmi.c width = MS(reg1, RADAR_REPORT_REG1_PULSE_DUR); width 4017 drivers/net/wireless/ath/ath10k/wmi.c pe.width = width; width 4022 drivers/net/wireless/ath/ath10k/wmi.c pe.freq, pe.width, pe.rssi, pe.ts); width 453 drivers/net/wireless/ath/ath5k/base.c switch (chandef->width) { width 593 drivers/net/wireless/ath/ath9k/ath9k.h int width, int half_gi, bool shortPreamble); width 43 drivers/net/wireless/ath/ath9k/channel.c chan->center_freq, chandef->width); width 312 drivers/net/wireless/ath/ath9k/common.c switch (chandef->width) { width 266 drivers/net/wireless/ath/ath9k/dfs.c pe->width = dur_to_usecs(sc->sc_ah, dur); width 336 drivers/net/wireless/ath/ath9k/dfs.c if (pe.width > MIN_CHIRP_PULSE_WIDTH && width 337 drivers/net/wireless/ath/ath9k/dfs.c pe.width < MAX_CHIRP_PULSE_WIDTH) { width 349 drivers/net/wireless/ath/ath9k/dfs.c ard.pulse_bw_info, pe.freq, pe.ts, pe.width, pe.rssi, width 413 drivers/net/wireless/ath/ath9k/recv.c if (sc->cur_chandef.width != NL80211_CHAN_WIDTH_20_NOHT) width 831 drivers/net/wireless/ath/ath9k/xmit.c int width, streams, half_gi, ndelim, mindelim; width 870 drivers/net/wireless/ath/ath9k/xmit.c width = (flags & IEEE80211_TX_RC_40_MHZ_WIDTH) ? 1 : 0; width 882 drivers/net/wireless/ath/ath9k/xmit.c nsymbits = bits_per_symbol[rix % 8][width] * streams; width 1070 drivers/net/wireless/ath/ath9k/xmit.c int width, int half_gi, bool shortPreamble) width 1078 drivers/net/wireless/ath/ath9k/xmit.c nsymbits = bits_per_symbol[rix % 8][width] * streams; width 53 drivers/net/wireless/ath/dfs_pattern_detector.h u8 width; width 391 drivers/net/wireless/ath/dfs_pri_detector.c if ((rs->width_min > event->width) || (rs->width_max < event->width)) width 559 drivers/net/wireless/broadcom/b43/phy_common.c return dev->phy.chandef->width == NL80211_CHAN_WIDTH_40; width 252 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ch->chan->center_freq, ch->center_freq1, ch->width); width 255 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c switch (ch->width) { width 4484 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c settings->chandef.center_freq1, settings->chandef.width, width 5000 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c enum nl80211_chan_width width = 0; width 5027 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c width = NL80211_CHAN_WIDTH_80; width 5030 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c width = NL80211_CHAN_WIDTH_40; width 5033 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c width = NL80211_CHAN_WIDTH_20; width 5036 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c width = NL80211_CHAN_WIDTH_80P80; width 5039 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c width = NL80211_CHAN_WIDTH_160; width 5045 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c chandef->width = width; width 567 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c if (conf->chandef.width == NL80211_CHAN_WIDTH_20 || width 568 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c conf->chandef.width == NL80211_CHAN_WIDTH_20_NOHT) width 57 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h #define BITFIELD_MASK(width) \ width 58 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h (((unsigned)1 << (width)) - 1) width 838 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c void wlc_phy_table_data_write(struct brcms_phy *pi, uint width, u32 val) width 850 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c if (width == 32) { width 37 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h #define PHY_GET_RFGAINID(rfattn, padmix, width) ((rfattn) + ((padmix)*(width))) width 922 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h void wlc_phy_table_data_write(struct brcms_phy *pi, uint width, u32 val); width 14151 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c u32 width, const void *data) width 14158 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tbl.tbl_width = width; width 14165 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c u32 width, void *data) width 14172 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tbl.tbl_width = width; width 3903 drivers/net/wireless/intel/iwlwifi/dvm/commands.h __le16 width; width 591 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c cmd.slots[0].width = cpu_to_le16(slot0); width 592 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c cmd.slots[1].width = cpu_to_le16(slot1); width 110 drivers/net/wireless/intel/iwlwifi/fw/api/phy-ctxt.h u8 width; width 126 drivers/net/wireless/intel/iwlwifi/fw/api/phy-ctxt.h u8 width; width 493 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (chan->def.width < NL80211_CHAN_WIDTH_40) { width 516 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (chan->def.width < NL80211_CHAN_WIDTH_40) { width 222 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c switch (peer->chandef.width) { width 237 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c peer->chandef.width); width 241 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c *ctrl_ch_position = (peer->chandef.width > NL80211_CHAN_WIDTH_20) ? width 82 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c switch (chandef->width) { width 480 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->bss_conf.chandef.width > NL80211_CHAN_WIDTH_20) width 582 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->bss_conf.chandef.width != NL80211_CHAN_WIDTH_20_NOHT) width 3981 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (phy_ctxt->width == def->width) width 3985 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (phy_ctxt->width <= NL80211_CHAN_WIDTH_20 && width 3986 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c def->width <= NL80211_CHAN_WIDTH_20) width 152 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h enum nl80211_chan_width width; width 2104 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h u32 chan, u8 band, u8 width, width 2110 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h ci->width = width; width 2118 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h ci_v1->width = width; width 71 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c switch (chandef->width) { width 82 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c WARN(1, "Invalid channel width=%u", chandef->width); width 269 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c ctxt->width = chandef->width; width 564 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c sta->addr, chandef->chan->center_freq, chandef->width); width 1634 drivers/net/wireless/mac80211_hwsim.c hwsim_chanwidths[conf->chandef.width], width 2242 drivers/net/wireless/mac80211_hwsim.c ctx->def.chan->center_freq, ctx->def.width, width 2252 drivers/net/wireless/mac80211_hwsim.c ctx->def.chan->center_freq, ctx->def.width, width 2265 drivers/net/wireless/mac80211_hwsim.c ctx->def.chan->center_freq, ctx->def.width, width 158 drivers/net/wireless/marvell/mwifiex/11h.c cr_req->chan_desc.chan_width = radar_params->chandef->width; width 2042 drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_set_vht_width(priv, params->chandef.width, width 1238 drivers/net/wireless/marvell/mwifiex/main.h enum nl80211_chan_width width, width 225 drivers/net/wireless/marvell/mwifiex/uap_cmd.c enum nl80211_chan_width width, width 244 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (ap_11ac_enable && width >= NL80211_CHAN_WIDTH_80) width 831 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (chandef.width > NL80211_CHAN_WIDTH_20_NOHT) width 837 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (chandef.width > NL80211_CHAN_WIDTH_20_NOHT) width 840 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (chandef.width > NL80211_CHAN_WIDTH_40) width 844 drivers/net/wireless/marvell/mwifiex/uap_cmd.c switch (chandef.width) { width 865 drivers/net/wireless/marvell/mwifiex/uap_cmd.c chandef.width); width 144 drivers/net/wireless/mediatek/mt76/mt7603/main.c if (def->width == NL80211_CHAN_WIDTH_40) width 455 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c if (dev->mt76.chandef.width == NL80211_CHAN_WIDTH_40) { width 82 drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c &dev->radar_pattern.width); width 1293 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (chandef->width == NL80211_CHAN_WIDTH_160 || width 1294 drivers/net/wireless/mediatek/mt76/mt7615/mac.c chandef->width == NL80211_CHAN_WIDTH_80P80) width 1329 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (chandef->width == NL80211_CHAN_WIDTH_160 || width 1330 drivers/net/wireless/mediatek/mt76/mt7615/mac.c chandef->width == NL80211_CHAN_WIDTH_80P80) { width 1245 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c u16 width; width 1259 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c req.pattern[i].width = dev->radar_pattern.width; width 1306 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c switch (dev->mt76.chandef.width) { width 87 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h u16 width; width 212 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h enum nl80211_chan_width width = dev->mt76.chandef.width; width 217 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h hw->conf.chandef.width != width) width 135 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c if (chandef->width == NL80211_CHAN_WIDTH_80) { width 137 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c } else if (chandef->width == NL80211_CHAN_WIDTH_40) { width 473 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_bbp_set_bw(struct mt76x02_dev *dev, enum nl80211_chan_width width) width 478 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c switch (width) { width 948 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c switch (chandef->width) { width 971 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_bbp_set_bw(dev, chandef->width); width 973 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (chandef->width == NL80211_CHAN_WIDTH_80 || width 974 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c chandef->width == NL80211_CHAN_WIDTH_40) width 980 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x02_phy_set_bw(dev, chandef->width, ch_group_index); width 384 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c event->width = MT_DFS_EVENT_WIDTH(data); width 402 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c event_buff->data[last_event_idx].width >= 200) width 446 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c with_sum = event->width + cur_event->width; width 471 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c if (abs(event->width - cur_event->width) > width_delta || width 705 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c switch (dev->mt76.chandef.width) { width 65 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h u16 width; width 124 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c void mt76x02_phy_set_bw(struct mt76x02_dev *dev, int width, u8 ctrl) width 128 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c switch (width) { width 14 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h switch (dev->mt76.chandef.width) { width 27 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h switch (dev->mt76.chandef.width) { width 43 drivers/net/wireless/mediatek/mt76/mt76x02_phy.h void mt76x02_phy_set_bw(struct mt76x02_dev *dev, int width, u8 ctrl); width 157 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c switch (chandef->width) { width 190 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76x02_phy_set_bw(dev, chandef->width, ch_group_index); width 139 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c enum nl80211_chan_width width = dev->mt76.chandef.width; width 148 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c if (width == NL80211_CHAN_WIDTH_40) width 150 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c else if (width == NL80211_CHAN_WIDTH_80) width 255 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c dev->mt76.chandef.width >= NL80211_CHAN_WIDTH_40) width 260 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c dev->mt76.chandef.width < NL80211_CHAN_WIDTH_40) width 300 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c if (dev->mt76.chandef.width == NL80211_CHAN_WIDTH_80) { width 322 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c else if (dev->mt76.chandef.width == NL80211_CHAN_WIDTH_80) width 94 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c switch (chandef->width) { width 127 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76x02_phy_set_bw(dev, chandef->width, ch_group_index); width 384 drivers/net/wireless/mediatek/mt7601u/phy.c if (chandef->width == NL80211_CHAN_WIDTH_40) { width 822 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c chandef->width); width 188 drivers/net/wireless/quantenna/qtnfmac/event.c chandef.width); width 487 drivers/net/wireless/quantenna/qtnfmac/event.c chandef.width); width 493 drivers/net/wireless/quantenna/qtnfmac/event.c chandef.center_freq2, chandef.width); width 537 drivers/net/wireless/quantenna/qtnfmac/event.c chandef.width); width 544 drivers/net/wireless/quantenna/qtnfmac/event.c chandef.width); width 164 drivers/net/wireless/quantenna/qtnfmac/qlink.h u8 width; width 126 drivers/net/wireless/quantenna/qtnfmac/qlink_util.c chdef->width = qlink_chanwidth_to_nl(qch->width); width 140 drivers/net/wireless/quantenna/qtnfmac/qlink_util.c qch->width = qlink_chanwidth_nl_to_qlink(chdef->width); width 1440 drivers/net/wireless/ralink/rt2x00/rt2400pci.c eeprom.width = rt2x00_get_field32(reg, CSR21_TYPE_93C46) ? width 1566 drivers/net/wireless/ralink/rt2x00/rt2500pci.c eeprom.width = rt2x00_get_field32(reg, CSR21_TYPE_93C46) ? width 122 drivers/net/wireless/ralink/rt2x00/rt2800pci.c eeprom.width = PCI_EEPROM_WIDTH_93C46; width 125 drivers/net/wireless/ralink/rt2x00/rt2800pci.c eeprom.width = PCI_EEPROM_WIDTH_93C66; width 128 drivers/net/wireless/ralink/rt2x00/rt2800pci.c eeprom.width = PCI_EEPROM_WIDTH_93C86; width 2308 drivers/net/wireless/ralink/rt2x00/rt61pci.c eeprom.width = rt2x00_get_field32(reg, E2PROM_CSR_TYPE_93C46) ? width 1655 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c eeprom.width = PCI_EEPROM_WIDTH_93C66; width 1657 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c eeprom.width = PCI_EEPROM_WIDTH_93C46; width 1490 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c eeprom.width = PCI_EEPROM_WIDTH_93C66; width 1492 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c eeprom.width = PCI_EEPROM_WIDTH_93C46; width 1145 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c switch (hw->conf.chandef.width) { width 1247 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c if (hw->conf.chandef.width == NL80211_CHAN_WIDTH_40) width 1273 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c switch (hw->conf.chandef.width) { width 1371 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c switch(hw->conf.chandef.width) { width 5508 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c changed, hw->conf.chandef.width); width 5519 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c switch (hw->conf.chandef.width) { width 652 drivers/net/wireless/realtek/rtlwifi/core.c enum nl80211_chan_width width = hw->conf.chandef.width; width 657 drivers/net/wireless/realtek/rtlwifi/core.c if (width < NL80211_CHAN_WIDTH_80) width 680 drivers/net/wireless/realtek/rtlwifi/core.c if (width >= NL80211_CHAN_WIDTH_80) { width 681 drivers/net/wireless/realtek/rtlwifi/core.c if (width == NL80211_CHAN_WIDTH_80) { width 210 drivers/net/wireless/realtek/rtw88/main.c enum nl80211_chan_width width = chandef->width; width 225 drivers/net/wireless/realtek/rtw88/main.c switch (width) { width 1065 drivers/net/wireless/rsi/rsi_91x_mgmt.c if ((hw->conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT) || width 1066 drivers/net/wireless/rsi/rsi_91x_mgmt.c (hw->conf.chandef.width == NL80211_CHAN_WIDTH_20)) width 4285 drivers/net/wireless/ti/wlcore/main.c (bss_conf->chandef.width != NL80211_CHAN_WIDTH_20_NOHT)) { width 4558 drivers/net/wireless/ti/wlcore/main.c bss_conf->chandef.width != NL80211_CHAN_WIDTH_20_NOHT; width 224 drivers/ntb/hw/amd/ntb_hw_amd.c enum ntb_width *width) width 232 drivers/ntb/hw/amd/ntb_hw_amd.c if (width) width 233 drivers/ntb/hw/amd/ntb_hw_amd.c *width = NTB_LNK_STA_WIDTH(ndev->lnk_sta); width 241 drivers/ntb/hw/amd/ntb_hw_amd.c if (width) width 242 drivers/ntb/hw/amd/ntb_hw_amd.c *width = NTB_WIDTH_NONE; width 880 drivers/ntb/hw/idt/ntb_hw_idt.c enum ntb_speed *speed, enum ntb_width *width) width 888 drivers/ntb/hw/idt/ntb_hw_idt.c if (speed != NULL || width != NULL) { width 892 drivers/ntb/hw/idt/ntb_hw_idt.c if (width != NULL) width 893 drivers/ntb/hw/idt/ntb_hw_idt.c *width = GET_FIELD(PCIELCTLSTS_NLW, data); width 921 drivers/ntb/hw/idt/ntb_hw_idt.c enum ntb_width width) width 2342 drivers/ntb/hw/idt/ntb_hw_idt.c enum ntb_width width; width 2372 drivers/ntb/hw/idt/ntb_hw_idt.c data = idt_ntb_link_is_up(&ndev->ntb, &speed, &width); width 2376 drivers/ntb/hw/idt/ntb_hw_idt.c speed, width); width 941 drivers/ntb/hw/intel/ntb_hw_gen1.c enum ntb_width *width) width 948 drivers/ntb/hw/intel/ntb_hw_gen1.c if (width) width 949 drivers/ntb/hw/intel/ntb_hw_gen1.c *width = NTB_LNK_STA_WIDTH(ndev->lnk_sta); width 956 drivers/ntb/hw/intel/ntb_hw_gen1.c if (width) width 957 drivers/ntb/hw/intel/ntb_hw_gen1.c *width = NTB_WIDTH_NONE; width 165 drivers/ntb/hw/intel/ntb_hw_gen1.h enum ntb_width *width); width 419 drivers/ntb/hw/mscc/ntb_hw_switchtec.c enum ntb_width *width) width 429 drivers/ntb/hw/mscc/ntb_hw_switchtec.c if (width) width 430 drivers/ntb/hw/mscc/ntb_hw_switchtec.c *width = (linksta >> 20) & 0x3F; width 559 drivers/ntb/hw/mscc/ntb_hw_switchtec.c enum ntb_width *width) width 565 drivers/ntb/hw/mscc/ntb_hw_switchtec.c if (width) width 566 drivers/ntb/hw/mscc/ntb_hw_switchtec.c *width = sndev->link_width; width 293 drivers/ntb/test/ntb_tool.c enum ntb_width width; width 296 drivers/ntb/test/ntb_tool.c up = ntb_link_is_up(tc->ntb, &speed, &width); width 299 drivers/ntb/test/ntb_tool.c up ? "up" : "down", speed, width); width 5729 drivers/pci/pci.c enum pcie_link_width *width) width 5738 drivers/pci/pci.c if (width) width 5739 drivers/pci/pci.c *width = PCIE_LNK_WIDTH_UNKNOWN; width 5760 drivers/pci/pci.c if (width) width 5761 drivers/pci/pci.c *width = next_width; width 5846 drivers/pci/pci.c enum pcie_link_width *width) width 5849 drivers/pci/pci.c *width = pcie_get_width_cap(dev); width 5851 drivers/pci/pci.c if (*speed == PCI_SPEED_UNKNOWN || *width == PCIE_LNK_WIDTH_UNKNOWN) width 5854 drivers/pci/pci.c return *width * PCIE_SPEED2MBS_ENC(*speed); width 5869 drivers/pci/pci.c enum pcie_link_width width, width_cap; width 5875 drivers/pci/pci.c bw_avail = pcie_bandwidth_available(dev, &limiting_dev, &speed, &width); width 5884 drivers/pci/pci.c PCIE_SPEED2STR(speed), width, width 312 drivers/pci/pci.h enum pcie_link_width *width); width 55 drivers/phy/marvell/phy-mvebu-a3700-comphy.c #define COMPHY_FW_PCIE(mode, idx, speed, width) (COMPHY_FW_NET(mode, idx, speed) | \ width 56 drivers/phy/marvell/phy-mvebu-a3700-comphy.c ((width) << 18)) width 153 drivers/phy/marvell/phy-mvebu-cp110-comphy.c #define COMPHY_FW_PARAM_FULL(mode, port, speed, pol, width) \ width 158 drivers/phy/marvell/phy-mvebu-cp110-comphy.c (((width) << COMPHY_FW_WIDTH_OFFSET) & COMPHY_FW_WIDTH_MASK)) width 166 drivers/phy/marvell/phy-mvebu-cp110-comphy.c #define COMPHY_FW_PARAM_PCIE(mode, port, width) \ width 167 drivers/phy/marvell/phy-mvebu-cp110-comphy.c COMPHY_FW_PARAM_FULL(mode, port, COMPHY_FW_SPEED_5000, 0, width) width 66 drivers/pinctrl/actions/pinctrl-owl.c u32 bit, u32 width) width 71 drivers/pinctrl/actions/pinctrl-owl.c mask = (1 << width) - 1; width 77 drivers/pinctrl/actions/pinctrl-owl.c u32 bit, u32 width) width 81 drivers/pinctrl/actions/pinctrl-owl.c mask = (1 << width) - 1; width 222 drivers/pinctrl/actions/pinctrl-owl.c u32 *width) width 233 drivers/pinctrl/actions/pinctrl-owl.c *width = info->pullctl->width; width 240 drivers/pinctrl/actions/pinctrl-owl.c *width = info->st->width; width 257 drivers/pinctrl/actions/pinctrl-owl.c u32 reg, bit, width, arg; width 261 drivers/pinctrl/actions/pinctrl-owl.c ret = owl_pad_pinconf_reg(info, param, ®, &bit, &width); width 265 drivers/pinctrl/actions/pinctrl-owl.c arg = owl_read_field(pctrl, reg, bit, width); width 288 drivers/pinctrl/actions/pinctrl-owl.c u32 reg, bit, width, arg; width 297 drivers/pinctrl/actions/pinctrl-owl.c ret = owl_pad_pinconf_reg(info, param, ®, &bit, &width); width 310 drivers/pinctrl/actions/pinctrl-owl.c owl_write_field(pctrl, reg, arg, bit, width); width 322 drivers/pinctrl/actions/pinctrl-owl.c u32 *width) width 330 drivers/pinctrl/actions/pinctrl-owl.c *width = g->drv_width; width 337 drivers/pinctrl/actions/pinctrl-owl.c *width = g->sr_width; width 425 drivers/pinctrl/actions/pinctrl-owl.c u32 reg, bit, width, arg; width 430 drivers/pinctrl/actions/pinctrl-owl.c ret = owl_group_pinconf_reg(g, param, ®, &bit, &width); width 434 drivers/pinctrl/actions/pinctrl-owl.c arg = owl_read_field(pctrl, reg, bit, width); width 455 drivers/pinctrl/actions/pinctrl-owl.c u32 reg, bit, width, arg; width 464 drivers/pinctrl/actions/pinctrl-owl.c ret = owl_group_pinconf_reg(g, param, ®, &bit, &width); width 475 drivers/pinctrl/actions/pinctrl-owl.c owl_write_field(pctrl, reg, arg, bit, width); width 18 drivers/pinctrl/actions/pinctrl-owl.h #define MUX_PG(group_name, reg, shift, width) \ width 27 drivers/pinctrl/actions/pinctrl-owl.h .mfpctl_width = width, \ width 36 drivers/pinctrl/actions/pinctrl-owl.h #define DRV_PG(group_name, reg, shift, width) \ width 46 drivers/pinctrl/actions/pinctrl-owl.h .drv_width = width, \ width 52 drivers/pinctrl/actions/pinctrl-owl.h #define SR_PG(group_name, reg, shift, width) \ width 65 drivers/pinctrl/actions/pinctrl-owl.h .sr_width = width, \ width 80 drivers/pinctrl/actions/pinctrl-owl.h .width = pull_wdt, \ width 91 drivers/pinctrl/actions/pinctrl-owl.h .width = st_wdt, \ width 176 drivers/pinctrl/actions/pinctrl-owl.h unsigned int width; width 188 drivers/pinctrl/actions/pinctrl-owl.h unsigned int width; width 210 drivers/pinctrl/freescale/pinctrl-imx.c u8 width = (val >> 8) & 0xff; width 212 drivers/pinctrl/freescale/pinctrl-imx.c u32 mask = ((1 << width) - 1) << shift; width 1013 drivers/pinctrl/pinctrl-bm1880.c static int bm1880_pinconf_drv_set(unsigned int mA, u32 width, width 1024 drivers/pinctrl/pinctrl-bm1880.c if (width == 0x03) { width 1027 drivers/pinctrl/pinctrl-bm1880.c _regval &= ~(width << bit_offset); width 1031 drivers/pinctrl/pinctrl-bm1880.c _regval &= ~(width << bit_offset); width 1035 drivers/pinctrl/pinctrl-bm1880.c _regval &= ~(width << bit_offset); width 1039 drivers/pinctrl/pinctrl-bm1880.c _regval &= ~(width << bit_offset); width 1043 drivers/pinctrl/pinctrl-bm1880.c _regval &= ~(width << bit_offset); width 1047 drivers/pinctrl/pinctrl-bm1880.c _regval &= ~(width << bit_offset); width 1051 drivers/pinctrl/pinctrl-bm1880.c _regval &= ~(width << bit_offset); width 1055 drivers/pinctrl/pinctrl-bm1880.c _regval &= ~(width << bit_offset); width 1064 drivers/pinctrl/pinctrl-bm1880.c _regval &= ~(width << bit_offset); width 1068 drivers/pinctrl/pinctrl-bm1880.c _regval &= ~(width << bit_offset); width 1072 drivers/pinctrl/pinctrl-bm1880.c _regval &= ~(width << bit_offset); width 1076 drivers/pinctrl/pinctrl-bm1880.c _regval &= ~(width << bit_offset); width 1089 drivers/pinctrl/pinctrl-bm1880.c static int bm1880_pinconf_drv_get(u32 width, u32 drv) width 1097 drivers/pinctrl/pinctrl-bm1880.c if (width == 0x03) { width 190 drivers/pinctrl/pinctrl-single.c unsigned width; width 281 drivers/pinctrl/pinctrl-single.c mux_bytes = pcs->width / BITS_PER_BYTE; width 396 drivers/pinctrl/pinctrl-single.c mux_bytes = pcs->width / BITS_PER_BYTE; width 403 drivers/pinctrl/pinctrl-single.c pin_shift = pin % (pcs->width / pcs->bits_per_pin) * width 484 drivers/pinctrl/pinctrl-single.c offset = pin * (pcs->width / BITS_PER_BYTE); width 542 drivers/pinctrl/pinctrl-single.c offset = pin * (pcs->width / BITS_PER_BYTE); width 704 drivers/pinctrl/pinctrl-single.c mux_bytes = pcs->width / BITS_PER_BYTE; width 709 drivers/pinctrl/pinctrl-single.c num_pins_in_register = pcs->width / pcs->bits_per_pin; width 810 drivers/pinctrl/pinctrl-single.c index = offset / (pcs->width / BITS_PER_BYTE); width 1102 drivers/pinctrl/pinctrl-single.c npins_in_row = pcs->width / pcs->bits_per_pin; width 1610 drivers/pinctrl/pinctrl-single.c mux_bytes = pcs->width / BITS_PER_BYTE; width 1618 drivers/pinctrl/pinctrl-single.c switch (pcs->width) { width 1646 drivers/pinctrl/pinctrl-single.c mux_bytes = pcs->width / BITS_PER_BYTE; width 1648 drivers/pinctrl/pinctrl-single.c switch (pcs->width) { width 1777 drivers/pinctrl/pinctrl-single.c &pcs->width); width 1833 drivers/pinctrl/pinctrl-single.c switch (pcs->width) { width 1003 drivers/pinctrl/pinctrl-sx150x.c const int width = sx150x_regmap_reg_width(pctl, reg); width 1035 drivers/pinctrl/pinctrl-sx150x.c for (n = width, val = 0, idx = reg; n > 0; n -= 8, idx++) { width 1056 drivers/pinctrl/pinctrl-sx150x.c const int width = sx150x_regmap_reg_width(pctl, reg); width 1060 drivers/pinctrl/pinctrl-sx150x.c n = (width - 1) & ~7; width 439 drivers/pinctrl/samsung/pinctrl-samsung.c u32 data, width, pin_offset, mask, shift; width 451 drivers/pinctrl/samsung/pinctrl-samsung.c width = type->fld_width[cfg_type]; width 456 drivers/pinctrl/samsung/pinctrl-samsung.c mask = (1 << width) - 1; width 457 drivers/pinctrl/samsung/pinctrl-samsung.c shift = pin_offset * width; width 29 drivers/pinctrl/sprd/pinctrl-sprd.c #define PINCTRL_BIT_MASK(width) (~(~0UL << (width))) width 17 drivers/pinctrl/sprd/pinctrl-sprd.h #define SPRD_PIN_INFO(num, type, offset, width, reg) \ width 21 drivers/pinctrl/sprd/pinctrl-sprd.h ((width) & 0xF) << WIDTH_OFFSET | \ width 289 drivers/pinctrl/tegra/pinctrl-tegra.c s8 *bank, s32 *reg, s8 *bit, s8 *width) width 296 drivers/pinctrl/tegra/pinctrl-tegra.c *width = 2; width 302 drivers/pinctrl/tegra/pinctrl-tegra.c *width = 1; width 308 drivers/pinctrl/tegra/pinctrl-tegra.c *width = 1; width 314 drivers/pinctrl/tegra/pinctrl-tegra.c *width = 1; width 320 drivers/pinctrl/tegra/pinctrl-tegra.c *width = 1; width 326 drivers/pinctrl/tegra/pinctrl-tegra.c *width = 1; width 332 drivers/pinctrl/tegra/pinctrl-tegra.c *width = 1; width 343 drivers/pinctrl/tegra/pinctrl-tegra.c *width = 1; width 354 drivers/pinctrl/tegra/pinctrl-tegra.c *width = 1; width 360 drivers/pinctrl/tegra/pinctrl-tegra.c *width = 2; width 366 drivers/pinctrl/tegra/pinctrl-tegra.c *width = g->drvdn_width; width 372 drivers/pinctrl/tegra/pinctrl-tegra.c *width = g->drvup_width; width 378 drivers/pinctrl/tegra/pinctrl-tegra.c *width = g->slwf_width; width 384 drivers/pinctrl/tegra/pinctrl-tegra.c *width = g->slwr_width; width 395 drivers/pinctrl/tegra/pinctrl-tegra.c *width = 2; width 447 drivers/pinctrl/tegra/pinctrl-tegra.c s8 bank, bit, width; width 454 drivers/pinctrl/tegra/pinctrl-tegra.c &width); width 459 drivers/pinctrl/tegra/pinctrl-tegra.c mask = (1 << width) - 1; width 476 drivers/pinctrl/tegra/pinctrl-tegra.c s8 bank, bit, width; width 487 drivers/pinctrl/tegra/pinctrl-tegra.c &width); width 502 drivers/pinctrl/tegra/pinctrl-tegra.c if (width == 1) width 506 drivers/pinctrl/tegra/pinctrl-tegra.c mask = (1 << width) - 1; width 510 drivers/pinctrl/tegra/pinctrl-tegra.c configs[i], arg, width); width 544 drivers/pinctrl/tegra/pinctrl-tegra.c s8 bank, bit, width; width 552 drivers/pinctrl/tegra/pinctrl-tegra.c &bank, ®, &bit, &width); width 558 drivers/pinctrl/tegra/pinctrl-tegra.c val &= (1 << width) - 1; width 158 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c unsigned int width = 0; width 166 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c width = 1; width 172 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c width = 2; width 178 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c width = 3; width 199 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c *mask = (1U << width) - 1; width 742 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c unsigned int width) width 750 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c nregs = DIV_ROUND_UP(count * width, 32); width 75 drivers/pinctrl/zte/pinctrl-zx.c mask = (1 << data->width) - 1; width 40 drivers/pinctrl/zte/pinctrl-zx.h u16 width; width 58 drivers/pinctrl/zte/pinctrl-zx.h .width = wd, \ width 73 drivers/pinctrl/zte/pinctrl-zx.h .width = wd, \ width 391 drivers/ps3/ps3av_cmd.c video_mode->width = (u16) x; width 393 drivers/ps3/ps3av_cmd.c video_mode->pitch = video_mode->width * 4; /* line_length */ width 403 drivers/ps3/ps3av_cmd.c __func__, video_vid, video_mode->width, video_mode->height, width 819 drivers/scsi/FlashPoint.c static void FPT_siwidr(u32 port, unsigned char width); width 3431 drivers/scsi/FlashPoint.c unsigned char width; width 3438 drivers/scsi/FlashPoint.c width = FPT_sfm(port, currSCCB); width 3440 drivers/scsi/FlashPoint.c if ((width == 0x00) && (currSCCB->Sccb_scsimsg == SMPARITY)) { width 3447 drivers/scsi/FlashPoint.c width = 0; width 3449 drivers/scsi/FlashPoint.c if (width) { width 3451 drivers/scsi/FlashPoint.c width = 0; width 3453 drivers/scsi/FlashPoint.c width = NARROW_SCSI; width 3457 drivers/scsi/FlashPoint.c FPT_sssyncv(port, currSCCB->TargID, width, currTar_Info); width 3483 drivers/scsi/FlashPoint.c width = SM16BIT; width 3485 drivers/scsi/FlashPoint.c width = SM8BIT; width 3487 drivers/scsi/FlashPoint.c FPT_siwidr(port, width); width 3500 drivers/scsi/FlashPoint.c static void FPT_siwidr(u32 port, unsigned char width) width 3507 drivers/scsi/FlashPoint.c WRW_HARPOON((port + SYNC_MSGS + 8), (MPM_OP + AMSG_OUT + width)); width 746 drivers/scsi/aic7xxx/aic79xx.h uint8_t width; /* Bus width */ width 1410 drivers/scsi/aic7xxx/aic79xx.h u_int width, u_int type, int paused); width 3721 drivers/scsi/aic7xxx/aic79xx_core.c if (transinfo->width == MSG_EXT_WDTR_BUS_8_BIT) { width 3827 drivers/scsi/aic7xxx/aic79xx_core.c *bus_width = min((u_int)tinfo->user.width, *bus_width); width 3829 drivers/scsi/aic7xxx/aic79xx_core.c *bus_width = min((u_int)tinfo->goal.width, *bus_width); width 3855 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->curr.width = AHD_WIDTH_UNKNOWN; width 3860 drivers/scsi/aic7xxx/aic79xx_core.c || tinfo->curr.width != tinfo->goal.width width 3865 drivers/scsi/aic7xxx/aic79xx_core.c || tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT width 4030 drivers/scsi/aic7xxx/aic79xx_core.c u_int width, u_int type, int paused) width 4044 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->user.width = width; width 4047 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.width = width; width 4049 drivers/scsi/aic7xxx/aic79xx_core.c oldwidth = tinfo->curr.width; width 4050 drivers/scsi/aic7xxx/aic79xx_core.c if ((type & AHD_TRANS_CUR) != 0 && oldwidth != width) { width 4054 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->curr.width = width; width 4060 drivers/scsi/aic7xxx/aic79xx_core.c 8 * (0x01 << width)); width 4183 drivers/scsi/aic7xxx/aic79xx_core.c if (tinfo->width == MSG_EXT_WDTR_BUS_16_BIT) width 4548 drivers/scsi/aic7xxx/aic79xx_core.c dowide = tinfo->curr.width != tinfo->goal.width; width 4558 drivers/scsi/aic7xxx/aic79xx_core.c dowide = tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT; width 4593 drivers/scsi/aic7xxx/aic79xx_core.c doppr ? tinfo->goal.width width 4594 drivers/scsi/aic7xxx/aic79xx_core.c : tinfo->curr.width, width 4598 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->goal.width, ppr_options); width 4603 drivers/scsi/aic7xxx/aic79xx_core.c ahd_construct_wdtr(ahd, devinfo, tinfo->goal.width); width 5173 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->curr.width, devinfo->role); width 7631 drivers/scsi/aic7xxx/aic79xx_core.c tinfo->user.width = MSG_EXT_WDTR_BUS_16_BIT; width 7737 drivers/scsi/aic7xxx/aic79xx_core.c user_tinfo->width = MSG_EXT_WDTR_BUS_16_BIT; width 7739 drivers/scsi/aic7xxx/aic79xx_core.c user_tinfo->width = MSG_EXT_WDTR_BUS_8_BIT; width 7742 drivers/scsi/aic7xxx/aic79xx_core.c printk("(%d): %x:%x:%x:%x\n", targ, user_tinfo->width, width 482 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_pci_read_config(ahd_dev_softc_t pci, int reg, int width) width 484 drivers/scsi/aic7xxx/aic79xx_osm.c switch (width) { width 512 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_pci_write_config(ahd_dev_softc_t pci, int reg, uint32_t value, int width) width 514 drivers/scsi/aic7xxx/aic79xx_osm.c switch (width) { width 1707 drivers/scsi/aic7xxx/aic79xx_osm.c || tinfo->curr.width != tinfo->goal.width width 1732 drivers/scsi/aic7xxx/aic79xx_osm.c && tinfo->curr.width == spi_width(starget) width 1739 drivers/scsi/aic7xxx/aic79xx_osm.c spi_width(starget) = tinfo->curr.width; width 2386 drivers/scsi/aic7xxx/aic79xx_osm.c static void ahd_linux_set_width(struct scsi_target *starget, int width) width 2396 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_set_width(ahd, &devinfo, width, AHD_TRANS_GOAL, FALSE); width 2501 drivers/scsi/aic7xxx/aic79xx_osm.c unsigned int width = tinfo->goal.width; width 2511 drivers/scsi/aic7xxx/aic79xx_osm.c if (!width) width 461 drivers/scsi/aic7xxx/aic79xx_osm.h int reg, int width); width 464 drivers/scsi/aic7xxx/aic79xx_osm.h int width); width 109 drivers/scsi/aic7xxx/aic79xx_proc.c speed *= (0x01 << tinfo->width); width 143 drivers/scsi/aic7xxx/aic79xx_proc.c if (tinfo->width > 0) { width 149 drivers/scsi/aic7xxx/aic79xx_proc.c seq_printf(m, "%dbit)", 8 * (0x01 << tinfo->width)); width 691 drivers/scsi/aic7xxx/aic7xxx.h uint8_t width; /* Bus width */ width 1220 drivers/scsi/aic7xxx/aic7xxx.h u_int width, u_int type, int paused); width 2245 drivers/scsi/aic7xxx/aic7xxx_core.c if (transinfo->width == MSG_EXT_WDTR_BUS_8_BIT) { width 2430 drivers/scsi/aic7xxx/aic7xxx_core.c *bus_width = min((u_int)tinfo->user.width, *bus_width); width 2432 drivers/scsi/aic7xxx/aic7xxx_core.c *bus_width = min((u_int)tinfo->goal.width, *bus_width); width 2458 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->curr.width = AHC_WIDTH_UNKNOWN; width 2463 drivers/scsi/aic7xxx/aic7xxx_core.c || tinfo->curr.width != tinfo->goal.width width 2468 drivers/scsi/aic7xxx/aic7xxx_core.c || tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT width 2614 drivers/scsi/aic7xxx/aic7xxx_core.c u_int width, u_int type, int paused) width 2628 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->user.width = width; width 2631 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.width = width; width 2633 drivers/scsi/aic7xxx/aic7xxx_core.c oldwidth = tinfo->curr.width; width 2634 drivers/scsi/aic7xxx/aic7xxx_core.c if ((type & AHC_TRANS_CUR) != 0 && oldwidth != width) { width 2640 drivers/scsi/aic7xxx/aic7xxx_core.c if (width == MSG_EXT_WDTR_BUS_16_BIT) width 2648 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->curr.width = width; width 2655 drivers/scsi/aic7xxx/aic7xxx_core.c 8 * (0x01 << width)); width 2988 drivers/scsi/aic7xxx/aic7xxx_core.c dowide = tinfo->curr.width != tinfo->goal.width; width 2998 drivers/scsi/aic7xxx/aic7xxx_core.c dowide = tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT; width 3034 drivers/scsi/aic7xxx/aic7xxx_core.c doppr ? tinfo->goal.width width 3035 drivers/scsi/aic7xxx/aic7xxx_core.c : tinfo->curr.width, width 3039 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->goal.width, ppr_options); width 3044 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_construct_wdtr(ahc, devinfo, tinfo->goal.width); width 5472 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->user.width = MSG_EXT_WDTR_BUS_16_BIT; width 5538 drivers/scsi/aic7xxx/aic7xxx_core.c tinfo->user.width = MSG_EXT_WDTR_BUS_16_BIT; width 1629 drivers/scsi/aic7xxx/aic7xxx_osm.c || tinfo->curr.width != tinfo->goal.width width 1653 drivers/scsi/aic7xxx/aic7xxx_osm.c && tinfo->curr.width == spi_width(starget) width 1660 drivers/scsi/aic7xxx/aic7xxx_osm.c spi_width(starget) = tinfo->curr.width; width 2329 drivers/scsi/aic7xxx/aic7xxx_osm.c static void ahc_linux_set_width(struct scsi_target *starget, int width) width 2339 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_set_width(ahc, &devinfo, width, AHC_TRANS_GOAL, FALSE); width 2428 drivers/scsi/aic7xxx/aic7xxx_osm.c unsigned int width = tinfo->goal.width; width 2434 drivers/scsi/aic7xxx/aic7xxx_osm.c if (!width) width 470 drivers/scsi/aic7xxx/aic7xxx_osm.h int reg, int width); width 474 drivers/scsi/aic7xxx/aic7xxx_osm.h int width); width 274 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c ahc_pci_read_config(ahc_dev_softc_t pci, int reg, int width) width 276 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c switch (width) { width 304 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c ahc_pci_write_config(ahc_dev_softc_t pci, int reg, uint32_t value, int width) width 306 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c switch (width) { width 106 drivers/scsi/aic7xxx/aic7xxx_proc.c speed *= (0x01 << tinfo->width); width 120 drivers/scsi/aic7xxx/aic7xxx_proc.c if (tinfo->width > 0) { width 126 drivers/scsi/aic7xxx/aic7xxx_proc.c seq_printf(m, "%dbit)", 8 * (0x01 << tinfo->width)); width 31 drivers/scsi/aic94xx/aic94xx_dump.c u8 width; width 449 drivers/scsi/aic94xx/aic94xx_dump.c switch (LSEQmCIOREGS[i].width) { width 249 drivers/scsi/csiostor/csio_hw.h uint8_t width; width 2727 drivers/scsi/esp_scsi.c static void esp_set_width(struct scsi_target *target, int width) width 2733 drivers/scsi/esp_scsi.c tp->nego_goal_width = (width ? 1 : 0); width 183 drivers/scsi/ipr.h #define IPR_MAX_SCSI_RATE(width) ((320 * 10) / ((width) / 8)) width 8559 drivers/scsi/ncr53c8xx.c static void ncr53c8xx_set_width(struct scsi_target *starget, int width) width 8565 drivers/scsi/ncr53c8xx.c if (width > np->maxwide) width 8566 drivers/scsi/ncr53c8xx.c width = np->maxwide; width 8567 drivers/scsi/ncr53c8xx.c else if (width < 0) width 8568 drivers/scsi/ncr53c8xx.c width = 0; width 8570 drivers/scsi/ncr53c8xx.c tp->usrwide = width; width 77 drivers/scsi/qla2xxx/qla_tmpl.c static inline void (*qla27xx_read_vector(uint width))(void __iomem*, void *, ulong *) width 80 drivers/scsi/qla2xxx/qla_tmpl.c (width == 1) ? qla27xx_read8 : width 81 drivers/scsi/qla2xxx/qla_tmpl.c (width == 2) ? qla27xx_read16 : width 107 drivers/scsi/qla2xxx/qla_tmpl.c uint32_t addr, uint offset, uint count, uint width, void *buf, width 111 drivers/scsi/qla2xxx/qla_tmpl.c void (*readn)(void __iomem*, void *, ulong *) = qla27xx_read_vector(width); width 117 drivers/scsi/qla2xxx/qla_tmpl.c window += width; width 165 drivers/scsi/qla2xxx/qla_tmpl.c uint width = ent->t256.reg_width; width 169 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_read_window(ISPREG(vha), addr, offset, count, width, buf, len); width 199 drivers/scsi/qla2xxx/qla_tmpl.c uint width = ent->t258.reg_width; width 204 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_read_window(ISPREG(vha), addr, offset, count, width, buf, len); width 375 drivers/scsi/scsi_transport_spi.c spi_transport_max_attr(width, "%d\n"); width 860 drivers/scsi/scsi_transport_spi.c DV_SET(width, 0); width 946 drivers/scsi/scsi_transport_spi.c DV_SET(width, max_width); width 1149 drivers/scsi/scsi_transport_spi.c if (tp->width) width 1155 drivers/scsi/scsi_transport_spi.c scsi, tp->width ? "WIDE " : "", kb100/10, kb100 % 10, width 1167 drivers/scsi/scsi_transport_spi.c tp->width ? "wide " : ""); width 1172 drivers/scsi/scsi_transport_spi.c int spi_populate_width_msg(unsigned char *msg, int width) width 1177 drivers/scsi/scsi_transport_spi.c msg[3] = width; width 1194 drivers/scsi/scsi_transport_spi.c int width, int options) width 1202 drivers/scsi/scsi_transport_spi.c msg[6] = width; width 1253 drivers/scsi/scsi_transport_spi.c static void print_nego(const unsigned char *msg, int per, int off, int width) width 1263 drivers/scsi/scsi_transport_spi.c if (width) width 1264 drivers/scsi/scsi_transport_spi.c printk("width = %d ", 8 << msg[width]); width 1479 drivers/scsi/scsi_transport_spi.c return TARGET_ATTRIBUTE_HELPER(width); width 1482 drivers/scsi/scsi_transport_spi.c return TARGET_ATTRIBUTE_HELPER(width); width 935 drivers/scsi/sym53c8xx_2/sym_glue.c tp->tgoal.width = 1; width 949 drivers/scsi/sym53c8xx_2/sym_glue.c tp->tgoal.width = uc->data ? 1 : 0; width 1912 drivers/scsi/sym53c8xx_2/sym_glue.c static void sym2_set_width(struct scsi_target *starget, int width) width 1920 drivers/scsi/sym53c8xx_2/sym_glue.c if (width == 0) width 1923 drivers/scsi/sym53c8xx_2/sym_glue.c tp->tgoal.width = width; width 1355 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->width = 0; width 1381 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->width = 1; width 1423 drivers/scsi/sym53c8xx_2/sym_hipd.c } else if (goal->renego == NS_WIDE || goal->width) { width 1438 drivers/scsi/sym53c8xx_2/sym_hipd.c msglen += spi_populate_width_msg(msgptr + msglen, goal->width); width 1442 drivers/scsi/sym53c8xx_2/sym_hipd.c goal->offset, goal->width, width 2041 drivers/scsi/sym53c8xx_2/sym_hipd.c tp->tprint.width != spi_width(starget) || width 2048 drivers/scsi/sym53c8xx_2/sym_hipd.c tp->tprint.width = spi_width(starget); width 2074 drivers/scsi/sym53c8xx_2/sym_hipd.c tp->tgoal.width = wide; width 2136 drivers/scsi/sym53c8xx_2/sym_hipd.c spi_width(starget) = tp->tgoal.width = wide; width 4153 drivers/scsi/sym53c8xx_2/sym_hipd.c tp->tgoal.width = wide; width 339 drivers/scsi/sym53c8xx_2/sym_hipd.h unsigned int width:1; width 64 drivers/scsi/sym53c8xx_2/sym_nvram.c if (nvram->data.parisc.width != -1) width 65 drivers/scsi/sym53c8xx_2/sym_nvram.c np->maxwide = nvram->data.parisc.width; width 746 drivers/scsi/wd719x.c eeprom.width = PCI_EEPROM_WIDTH_93C46; width 58 drivers/sh/intc/access.c unsigned int width = _INTC_WIDTH(handle); width 61 drivers/sh/intc/access.c value &= ~(((1 << width) - 1) << shift); width 68 drivers/sh/intc/access.c unsigned int width = _INTC_WIDTH(handle); width 70 drivers/sh/intc/access.c unsigned int mask = ((1 << width) - 1) << shift; width 11 drivers/sh/intc/internals.h #define _INTC_MK(fn, mode, addr_e, addr_d, width, shift) \ width 12 drivers/sh/intc/internals.h ((shift) | ((width) << 5) | ((fn) << 9) | ((mode) << 13) | \ width 34 drivers/soc/sunxi/sunxi_sram.c u8 width; width 56 drivers/soc/sunxi/sunxi_sram.c .width = _width, \ width 143 drivers/soc/sunxi/sunxi_sram.c val &= GENMASK(sram_data->width - 1, 0); width 250 drivers/soc/sunxi/sunxi_sram.c mask = GENMASK(sram_data->offset + sram_data->width - 1, width 155 drivers/spi/spi-bcm-qspi.c unsigned int width; width 346 drivers/spi/spi-bcm-qspi.c int width = op->data.buswidth ? op->data.buswidth : SPI_NBITS_SINGLE; width 351 drivers/spi/spi-bcm-qspi.c width, addrlen, hp); width 358 drivers/spi/spi-bcm-qspi.c switch (width) { width 390 drivers/spi/spi-bcm-qspi.c int width = op->data.buswidth ? op->data.buswidth : SPI_NBITS_SINGLE; width 395 drivers/spi/spi-bcm-qspi.c width, addrlen, hp); width 397 drivers/spi/spi-bcm-qspi.c switch (width) { width 436 drivers/spi/spi-bcm-qspi.c int width = op->data.buswidth ? op->data.buswidth : SPI_NBITS_SINGLE; width 460 drivers/spi/spi-bcm-qspi.c width, addrlen, hp); width 461 drivers/spi/spi-bcm-qspi.c } else if (qspi->xfer_mode.width != width || width 464 drivers/spi/spi-bcm-qspi.c qspi->xfer_mode.width = width; width 470 drivers/spi/spi-bcm-qspi.c qspi->xfer_mode.width, width 1356 drivers/spi/spi-bcm-qspi.c qspi->xfer_mode.width = -1; width 344 drivers/spi/spi-fsl-qspi.c static int fsl_qspi_check_buswidth(struct fsl_qspi *q, u8 width) width 346 drivers/spi/spi-fsl-qspi.c switch (width) { width 379 drivers/spi/spi-nxp-fspi.c static int nxp_fspi_check_buswidth(struct nxp_fspi *f, u8 width) width 381 drivers/spi/spi-nxp-fspi.c switch (width) { width 590 drivers/spi/spi-omap2-mcspi.c enum dma_slave_buswidth width; width 600 drivers/spi/spi-omap2-mcspi.c width = DMA_SLAVE_BUSWIDTH_1_BYTE; width 603 drivers/spi/spi-omap2-mcspi.c width = DMA_SLAVE_BUSWIDTH_2_BYTES; width 606 drivers/spi/spi-omap2-mcspi.c width = DMA_SLAVE_BUSWIDTH_4_BYTES; width 615 drivers/spi/spi-omap2-mcspi.c cfg.src_addr_width = width; width 616 drivers/spi/spi-omap2-mcspi.c cfg.dst_addr_width = width; width 75 drivers/spi/spi-pxa2xx-dma.c enum dma_slave_buswidth width; width 83 drivers/spi/spi-pxa2xx-dma.c width = DMA_SLAVE_BUSWIDTH_1_BYTE; width 86 drivers/spi/spi-pxa2xx-dma.c width = DMA_SLAVE_BUSWIDTH_2_BYTES; width 89 drivers/spi/spi-pxa2xx-dma.c width = DMA_SLAVE_BUSWIDTH_4_BYTES; width 98 drivers/spi/spi-pxa2xx-dma.c cfg.dst_addr_width = width; width 105 drivers/spi/spi-pxa2xx-dma.c cfg.src_addr_width = width; width 81 drivers/spi/spi-sh.c int width; width 87 drivers/spi/spi-sh.c if (ss->width == 8) width 89 drivers/spi/spi-sh.c else if (ss->width == 32) width 95 drivers/spi/spi-sh.c if (ss->width == 8) width 97 drivers/spi/spi-sh.c else if (ss->width == 32) width 454 drivers/spi/spi-sh.c ss->width = 8; width 457 drivers/spi/spi-sh.c ss->width = 32; width 146 drivers/spi/spi-sprd.c enum dma_slave_buswidth width; width 522 drivers/spi/spi-sprd.c .src_addr_width = ss->dma.width, width 523 drivers/spi/spi-sprd.c .dst_addr_width = ss->dma.width, width 540 drivers/spi/spi-sprd.c .src_addr_width = ss->dma.width, width 541 drivers/spi/spi-sprd.c .dst_addr_width = ss->dma.width, width 744 drivers/spi/spi-sprd.c ss->dma.width = DMA_SLAVE_BUSWIDTH_1_BYTE; width 751 drivers/spi/spi-sprd.c ss->dma.width = DMA_SLAVE_BUSWIDTH_2_BYTES; width 758 drivers/spi/spi-sprd.c ss->dma.width = DMA_SLAVE_BUSWIDTH_4_BYTES; width 848 drivers/spi/spi-topcliff-pch.c unsigned int width; width 851 drivers/spi/spi-topcliff-pch.c width = PCH_DMA_WIDTH_1_BYTE; width 853 drivers/spi/spi-topcliff-pch.c width = PCH_DMA_WIDTH_2_BYTES; width 868 drivers/spi/spi-topcliff-pch.c param->width = width; width 883 drivers/spi/spi-topcliff-pch.c param->width = width; width 259 drivers/ssb/driver_mipscore.c ssb_pflash_data.width = pflash->buswidth; width 46 drivers/staging/board/armadillo800eva.c .width = 111, width 434 drivers/staging/fbtft/fb_agm1264k-fl.c .width = TOTALWIDTH, width 156 drivers/staging/fbtft/fb_bd663474.c .width = WIDTH, width 202 drivers/staging/fbtft/fb_hx8340bn.c .width = WIDTH, width 139 drivers/staging/fbtft/fb_hx8347d.c .width = WIDTH, width 126 drivers/staging/fbtft/fb_hx8353d.c .width = 128, width 181 drivers/staging/fbtft/fb_hx8357d.c .width = WIDTH, width 236 drivers/staging/fbtft/fb_ili9163.c .width = WIDTH, width 247 drivers/staging/fbtft/fb_ili9320.c .width = WIDTH, width 241 drivers/staging/fbtft/fb_ili9325.c .width = WIDTH, width 122 drivers/staging/fbtft/fb_ili9340.c .width = WIDTH, width 134 drivers/staging/fbtft/fb_ili9341.c .width = WIDTH, width 85 drivers/staging/fbtft/fb_ili9481.c .width = WIDTH, width 85 drivers/staging/fbtft/fb_ili9486.c .width = WIDTH, width 145 drivers/staging/fbtft/fb_pcd8544.c .width = WIDTH, width 148 drivers/staging/fbtft/fb_s6d02a1.c .width = 128, width 162 drivers/staging/fbtft/fb_s6d1121.c .width = WIDTH, width 160 drivers/staging/fbtft/fb_sh1106.c .width = WIDTH, width 161 drivers/staging/fbtft/fb_ssd1289.c .width = WIDTH, width 183 drivers/staging/fbtft/fb_ssd1305.c .width = WIDTH, width 205 drivers/staging/fbtft/fb_ssd1306.c .width = WIDTH, width 172 drivers/staging/fbtft/fb_ssd1325.c .width = WIDTH, width 183 drivers/staging/fbtft/fb_ssd1331.c .width = WIDTH, width 177 drivers/staging/fbtft/fb_ssd1351.c .width = WIDTH, width 164 drivers/staging/fbtft/fb_st7735r.c .width = 128, width 233 drivers/staging/fbtft/fb_st7789v.c .width = 240, width 87 drivers/staging/fbtft/fb_tinylcd.c .width = WIDTH, width 138 drivers/staging/fbtft/fb_tls8204.c .width = WIDTH, width 309 drivers/staging/fbtft/fb_uc1611.c .width = WIDTH, width 153 drivers/staging/fbtft/fb_uc1701.c .width = WIDTH, width 170 drivers/staging/fbtft/fb_upd161704.c .width = WIDTH, width 275 drivers/staging/fbtft/fb_watterott.c .width = WIDTH, width 380 drivers/staging/fbtft/fbtft-core.c __func__, rect->dx, rect->dy, rect->width, rect->height); width 393 drivers/staging/fbtft/fbtft-core.c __func__, area->dx, area->dy, area->width, area->height); width 406 drivers/staging/fbtft/fbtft-core.c __func__, image->dx, image->dy, image->width, image->height); width 556 drivers/staging/fbtft/fbtft-core.c unsigned int width; width 598 drivers/staging/fbtft/fbtft-core.c if (pdata->display.width) width 599 drivers/staging/fbtft/fbtft-core.c display->width = pdata->display.width; width 613 drivers/staging/fbtft/fbtft-core.c width = display->height; width 614 drivers/staging/fbtft/fbtft-core.c height = display->width; width 617 drivers/staging/fbtft/fbtft-core.c width = display->width; width 621 drivers/staging/fbtft/fbtft-core.c vmem_size = display->width * display->height * bpp / 8; width 675 drivers/staging/fbtft/fbtft-core.c info->fix.line_length = width * bpp / 8; width 680 drivers/staging/fbtft/fbtft-core.c info->var.xres = width; width 1168 drivers/staging/fbtft/fbtft-core.c pdata->display.width = fbtft_of_value(node, "width"); width 107 drivers/staging/fbtft/fbtft.h unsigned int width; width 68 drivers/staging/greybus/camera.c unsigned int width; width 250 drivers/staging/greybus/camera.c pkt_size = le16_to_cpu(cfg->width) * fmt_info->bpp / 8; width 556 drivers/staging/greybus/camera.c cfg->width = cpu_to_le16(streams[i].width); width 592 drivers/staging/greybus/camera.c streams[i].width = le16_to_cpu(cfg->width); width 804 drivers/staging/greybus/camera.c gb_streams[i].width = streams[i].width; width 827 drivers/staging/greybus/camera.c streams[i].width = gb_streams[i].width; width 953 drivers/staging/greybus/camera.c ret = kstrtouint(token, 10, &stream->width); width 988 drivers/staging/greybus/camera.c stream->width, stream->height, width 31 drivers/staging/greybus/gb-camera.h unsigned int width; width 176 drivers/staging/media/allegro-dvt/allegro-core.c unsigned int width; width 317 drivers/staging/media/allegro-dvt/allegro-core.c u16 width; width 578 drivers/staging/media/allegro-dvt/allegro-core.c static unsigned int estimate_stream_size(unsigned int width, width 582 drivers/staging/media/allegro-dvt/allegro-core.c unsigned int num_blocks = DIV_ROUND_UP(width, SIZE_MACROBLOCK) * width 591 drivers/staging/media/allegro-dvt/allegro-core.c select_minimum_h264_level(unsigned int width, unsigned int height) width 593 drivers/staging/media/allegro-dvt/allegro-core.c unsigned int pic_width_in_mb = DIV_ROUND_UP(width, SIZE_MACROBLOCK); width 1018 drivers/staging/media/allegro-dvt/allegro-core.c msg.width = channel->width; width 1339 drivers/staging/media/allegro-dvt/allegro-core.c DIV_ROUND_UP(channel->width, size_mb) - 1; width 1346 drivers/staging/media/allegro-dvt/allegro-core.c (channel->width % size_mb) || (channel->height % size_mb); width 1349 drivers/staging/media/allegro-dvt/allegro-core.c sps->crop_right = (round_up(channel->width, size_mb) - channel->width) / crop_unit_x; width 2006 drivers/staging/media/allegro-dvt/allegro-core.c (char *)&channel->codec, channel->width, channel->height, 25); width 2008 drivers/staging/media/allegro-dvt/allegro-core.c min_level = select_minimum_h264_level(channel->width, channel->height); width 2049 drivers/staging/media/allegro-dvt/allegro-core.c channel->width = ALLEGRO_WIDTH_DEFAULT; width 2051 drivers/staging/media/allegro-dvt/allegro-core.c channel->stride = round_up(channel->width, 32); width 2064 drivers/staging/media/allegro-dvt/allegro-core.c select_minimum_h264_level(channel->width, channel->height); width 2066 drivers/staging/media/allegro-dvt/allegro-core.c estimate_stream_size(channel->width, channel->height); width 2406 drivers/staging/media/allegro-dvt/allegro-core.c f->fmt.pix.width = channel->width; width 2426 drivers/staging/media/allegro-dvt/allegro-core.c f->fmt.pix.width = clamp_t(__u32, f->fmt.pix.width, width 2434 drivers/staging/media/allegro-dvt/allegro-core.c estimate_stream_size(f->fmt.pix.width, f->fmt.pix.height); width 2446 drivers/staging/media/allegro-dvt/allegro-core.c f->fmt.pix.width = channel->width; width 2473 drivers/staging/media/allegro-dvt/allegro-core.c f->fmt.pix.width = clamp_t(__u32, f->fmt.pix.width, width 2479 drivers/staging/media/allegro-dvt/allegro-core.c f->fmt.pix.bytesperline = round_up(f->fmt.pix.width, 32); width 2496 drivers/staging/media/allegro-dvt/allegro-core.c channel->width = f->fmt.pix.width; width 2507 drivers/staging/media/allegro-dvt/allegro-core.c select_minimum_h264_level(channel->width, channel->height); width 2509 drivers/staging/media/allegro-dvt/allegro-core.c estimate_stream_size(channel->width, channel->height); width 256 drivers/staging/media/hantro/hantro_g1_h264_dec.c mv_offset += 32 * H264_MB_WIDTH(ctx->dst_fmt.width); width 131 drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c addr += ALIGN(ctx->dst_fmt.width, 16); width 210 drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c reg = G1_REG_PIC_MB_WIDTH(MPEG2_MB_WIDTH(ctx->dst_fmt.width)) | width 435 drivers/staging/media/hantro/hantro_g1_vp8_dec.c size_t width = ctx->dst_fmt.width; width 473 drivers/staging/media/hantro/hantro_g1_vp8_dec.c mb_width = VP8_MB_WIDTH(width); width 24 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c reg = H1_REG_IN_IMG_CTRL_ROW_LEN(pix_fmt->width) width 99 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c jpeg_ctx.width = ctx->dst_fmt.width; width 124 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c reg = H1_REG_ENC_CTRL_WIDTH(JPEG_MB_WIDTH(ctx->src_fmt.width)) width 635 drivers/staging/media/hantro/hantro_h264.c ctx->dst_fmt.width, ctx->dst_fmt.height); width 281 drivers/staging/media/hantro/hantro_jpeg.c buf[WIDTH_OFF + 0] = ctx->width >> 8; width 282 drivers/staging/media/hantro/hantro_jpeg.c buf[WIDTH_OFF + 1] = ctx->width; width 6 drivers/staging/media/hantro/hantro_jpeg.h int width; width 229 drivers/staging/media/hantro/hantro_v4l2.c pix_mp->width = ctx->src_fmt.width; width 235 drivers/staging/media/hantro/hantro_v4l2.c v4l2_apply_frmsize_constraints(&pix_mp->width, &pix_mp->height, width 240 drivers/staging/media/hantro/hantro_v4l2.c v4l2_fill_pixfmt_mp(pix_mp, fmt->fourcc, pix_mp->width, width 249 drivers/staging/media/hantro/hantro_v4l2.c 128 * DIV_ROUND_UP(pix_mp->width, 16) * width 258 drivers/staging/media/hantro/hantro_v4l2.c pix_mp->width * pix_mp->height * fmt->max_depth; width 310 drivers/staging/media/hantro/hantro_v4l2.c fmt->width = vpu_fmt->frmsize.min_width; width 313 drivers/staging/media/hantro/hantro_v4l2.c fmt->width * fmt->height * vpu_fmt->max_depth; width 338 drivers/staging/media/hantro/hantro_v4l2.c encoded_fmt->width, width 435 drivers/staging/media/hantro/hantro_v4l2.c pix_mp->width, pix_mp->height); width 467 drivers/staging/media/hantro/hantro_v4l2.c pix_mp->width != ctx->dst_fmt.width)) width 500 drivers/staging/media/hantro/hantro_v4l2.c pix_mp->width, pix_mp->height); width 154 drivers/staging/media/hantro/hantro_vp8.c mb_width = DIV_ROUND_UP(ctx->dst_fmt.width, 16); width 46 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c reg = VEPU_REG_IN_IMG_CTRL_ROW_LEN(pix_fmt->width); width 130 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c jpeg_ctx.width = ctx->dst_fmt.width; width 157 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c reg = VEPU_REG_MB_WIDTH(JPEG_MB_WIDTH(ctx->src_fmt.width)) width 133 drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c addr += ALIGN(ctx->dst_fmt.width, 16); width 226 drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c reg = VDPU_REG_PIC_MB_WIDTH(MPEG2_MB_WIDTH(ctx->dst_fmt.width)) | width 514 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c size_t width = ctx->dst_fmt.width; width 566 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c mb_width = VP8_MB_WIDTH(width); width 178 drivers/staging/media/imx/imx-ic-prp.c v4l_bound_align_image(&sdformat->format.width, MIN_W, MAX_W, width 379 drivers/staging/media/imx/imx-ic-prpencvf.c swap(image.pix.width, image.pix.height); width 380 drivers/staging/media/imx/imx-ic-prpencvf.c swap(image.rect.width, image.rect.height); width 383 drivers/staging/media/imx/imx-ic-prpencvf.c image.pix.width : width 384 drivers/staging/media/imx/imx-ic-prpencvf.c (image.pix.width * outcc->bpp) >> 3; width 420 drivers/staging/media/imx/imx-ic-prpencvf.c burst_size = (image.pix.width & 0xf) ? 8 : 16; width 436 drivers/staging/media/imx/imx-ic-prpencvf.c image.pix.width, image.pix.height, width 489 drivers/staging/media/imx/imx-ic-prpencvf.c infmt->width, infmt->height, width 490 drivers/staging/media/imx/imx-ic-prpencvf.c outfmt->height, outfmt->width); width 605 drivers/staging/media/imx/imx-ic-prpencvf.c infmt->width, infmt->height, width 606 drivers/staging/media/imx/imx-ic-prpencvf.c outfmt->width, outfmt->height); width 821 drivers/staging/media/imx/imx-ic-prpencvf.c u32 orig_width = outfmt->width; width 825 drivers/staging/media/imx/imx-ic-prpencvf.c v4l_bound_align_image(&outfmt->width, width 829 drivers/staging/media/imx/imx-ic-prpencvf.c infmt->width / 4, MAX_W_SRC, width 832 drivers/staging/media/imx/imx-ic-prpencvf.c v4l_bound_align_image(&outfmt->width, width 833 drivers/staging/media/imx/imx-ic-prpencvf.c infmt->width / 4, MAX_W_SRC, width 839 drivers/staging/media/imx/imx-ic-prpencvf.c return outfmt->width != orig_width || outfmt->height != orig_height; width 909 drivers/staging/media/imx/imx-ic-prpencvf.c v4l_bound_align_image(&sdformat->format.width, width 989 drivers/staging/media/imx/imx-ic-prpencvf.c format.format.width = 1; width 992 drivers/staging/media/imx/imx-ic-prpencvf.c fse->min_width = format.format.width; width 1001 drivers/staging/media/imx/imx-ic-prpencvf.c format.format.width = -1; width 1004 drivers/staging/media/imx/imx-ic-prpencvf.c fse->max_width = format.format.width; width 107 drivers/staging/media/imx/imx-media-capture.c fsize->discrete.width = fse.min_width; width 130 drivers/staging/media/imx/imx-media-capture.c .width = fival->width, width 256 drivers/staging/media/imx/imx-media-capture.c compose->width = fmt_src->format.width; width 351 drivers/staging/media/imx/imx-media-capture.c s->r.width = priv->vdev.fmt.fmt.pix.width; width 552 drivers/staging/media/imx/imx-media-capture.c return (priv->vdev.fmt.fmt.pix.width != f.fmt.pix.width || width 555 drivers/staging/media/imx/imx-media-capture.c priv->vdev.compose.width != compose.width || width 797 drivers/staging/media/imx/imx-media-capture.c vdev->compose.width = fmt_src.format.width; width 258 drivers/staging/media/imx/imx-media-csc-scaler.c q_data->cur_fmt.width = f->fmt.pix.width; width 268 drivers/staging/media/imx/imx-media-csc-scaler.c q_data->rect.width = q_data->cur_fmt.width; width 324 drivers/staging/media/imx/imx-media-csc-scaler.c s->r.width = q_data->cur_fmt.width; width 361 drivers/staging/media/imx/imx-media-csc-scaler.c s->r.width = round_up(s->r.width, 8); width 363 drivers/staging/media/imx/imx-media-csc-scaler.c s->r.width = round_down(s->r.width, 8); width 364 drivers/staging/media/imx/imx-media-csc-scaler.c s->r.width = clamp_t(unsigned int, s->r.width, 8, width 365 drivers/staging/media/imx/imx-media-csc-scaler.c round_down(q_data->cur_fmt.width, 8)); width 369 drivers/staging/media/imx/imx-media-csc-scaler.c q_data->cur_fmt.width - s->r.width); width 658 drivers/staging/media/imx/imx-media-csc-scaler.c test_out.pix.width = out_fmt->height; width 659 drivers/staging/media/imx/imx-media-csc-scaler.c test_out.pix.height = out_fmt->width; width 665 drivers/staging/media/imx/imx-media-csc-scaler.c if (test_in.pix.width != in_fmt->width || width 678 drivers/staging/media/imx/imx-media-csc-scaler.c if (test_out.pix.width != out_fmt->width || width 732 drivers/staging/media/imx/imx-media-csc-scaler.c .width = DEFAULT_WIDTH, width 741 drivers/staging/media/imx/imx-media-csc-scaler.c .width = DEFAULT_WIDTH, width 467 drivers/staging/media/imx/imx-media-csi.c burst_size = (image.pix.width & 0x3f) ? width 468 drivers/staging/media/imx/imx-media-csi.c ((image.pix.width & 0x1f) ? width 469 drivers/staging/media/imx/imx-media-csi.c ((image.pix.width & 0xf) ? 8 : 16) : 32) : 64; width 480 drivers/staging/media/imx/imx-media-csi.c burst_size = (image.pix.width & 0x1f) ? width 481 drivers/staging/media/imx/imx-media-csi.c ((image.pix.width & 0xf) ? 8 : 16) : 32; width 493 drivers/staging/media/imx/imx-media-csi.c burst_size = (image.pix.width & 0xf) ? 8 : 16; width 506 drivers/staging/media/imx/imx-media-csi.c image.rect.width * passthrough_cycles, width 731 drivers/staging/media/imx/imx-media-csi.c if_fmt.width *= incc->cycles; width 732 drivers/staging/media/imx/imx-media-csi.c crop.width *= incc->cycles; width 738 drivers/staging/media/imx/imx-media-csi.c priv->crop.width == 2 * priv->compose.width, width 1191 drivers/staging/media/imx/imx-media-csi.c crop->width = min_t(__u32, infmt->width, crop->width); width 1192 drivers/staging/media/imx/imx-media-csi.c if (crop->left + crop->width > infmt->width) width 1193 drivers/staging/media/imx/imx-media-csi.c crop->left = infmt->width - crop->width; width 1197 drivers/staging/media/imx/imx-media-csi.c crop->width &= ~0x7; /* multiple of 8 pixels (IC burst) */ width 1199 drivers/staging/media/imx/imx-media-csi.c crop->width &= ~0x1; /* multiple of 2 pixels */ width 1297 drivers/staging/media/imx/imx-media-csi.c crop->width / 2 : crop->width; width 1327 drivers/staging/media/imx/imx-media-csi.c if ((fie->width != crop->width && fie->width != crop->width / 2) || width 1438 drivers/staging/media/imx/imx-media-csi.c sdformat->format.width = compose->width; width 1465 drivers/staging/media/imx/imx-media-csi.c v4l_bound_align_image(&sdformat->format.width, MIN_W, MAX_W, width 1484 drivers/staging/media/imx/imx-media-csi.c crop->width = sdformat->format.width; width 1491 drivers/staging/media/imx/imx-media-csi.c compose->width = crop->width; width 1589 drivers/staging/media/imx/imx-media-csi.c sel->r.width = infmt->width; width 1600 drivers/staging/media/imx/imx-media-csi.c sel->r.width = crop->width; width 1680 drivers/staging/media/imx/imx-media-csi.c compose->width = crop->width; width 1698 drivers/staging/media/imx/imx-media-csi.c ret = csi_set_scale(&sel->r.width, crop->width, sel->flags); width 1717 drivers/staging/media/imx/imx-media-csi.c outfmt->width = compose->width; width 1785 drivers/staging/media/imx/imx-media-csi.c priv->crop.width = 640; width 1787 drivers/staging/media/imx/imx-media-csi.c priv->compose.width = 640; width 458 drivers/staging/media/imx/imx-media-utils.c u32 width, u32 height, u32 code, u32 field, width 463 drivers/staging/media/imx/imx-media-utils.c mbus->width = width; width 578 drivers/staging/media/imx/imx-media-utils.c u32 width; width 602 drivers/staging/media/imx/imx-media-utils.c width = round_up(mbus->width, 8); width 606 drivers/staging/media/imx/imx-media-utils.c stride = round_up(width, 16); width 608 drivers/staging/media/imx/imx-media-utils.c stride = round_up((width * cc->bpp) >> 3, 8); width 610 drivers/staging/media/imx/imx-media-utils.c pix->width = width; width 637 drivers/staging/media/imx/imx-media-utils.c image->rect.width = mbus->width; width 654 drivers/staging/media/imx/imx-media-utils.c mbus->width = image->pix.width; width 261 drivers/staging/media/imx/imx-media-vdic.c burst_size = (image.pix.width & 0xf) ? 8 : 16; width 303 drivers/staging/media/imx/imx-media-vdic.c in_size = (infmt->width * incc->bpp * infmt->height) >> 3; width 308 drivers/staging/media/imx/imx-media-vdic.c infmt->width : (infmt->width * incc->bpp) >> 3; width 380 drivers/staging/media/imx/imx-media-vdic.c infmt->width, infmt->height); width 606 drivers/staging/media/imx/imx-media-vdic.c v4l_bound_align_image(&sdformat->format.width, width 171 drivers/staging/media/imx/imx-media.h u32 width, u32 height, u32 code, u32 field, width 358 drivers/staging/media/imx/imx7-media-csi.c static void imx7_csi_set_imagpara(struct imx7_csi *csi, int width, int height) width 363 drivers/staging/media/imx/imx7-media-csi.c rx_count = (width * height) >> 2; width 366 drivers/staging/media/imx/imx7-media-csi.c imag_para = (width << 16) | height; width 768 drivers/staging/media/imx/imx7-media-csi.c int width = out_pix->width; width 772 drivers/staging/media/imx/imx7-media-csi.c imx7_csi_buf_stride_set(csi, out_pix->width); width 783 drivers/staging/media/imx/imx7-media-csi.c width *= 2; width 785 drivers/staging/media/imx/imx7-media-csi.c imx7_csi_set_imagpara(csi, width, out_pix->height); width 794 drivers/staging/media/imx/imx7-media-csi.c imx7_csi_set_imagpara(csi, width, out_pix->height); width 1009 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.width = in_fmt->width; width 401 drivers/staging/media/imx/imx7-mipi-csis.c val = mf->width | (mf->height << 16); width 670 drivers/staging/media/imx/imx7-mipi-csis.c v4l_bound_align_image(&mf->width, 1, CSIS_MAX_PIX_WIDTH, width 676 drivers/staging/media/imx/imx7-mipi-csis.c state->format_mbus.width = mf->width; width 891 drivers/staging/media/imx/imx7-mipi-csis.c state->format_mbus.width = MIPI_CSIS_DEF_PIX_WIDTH; width 51 drivers/staging/media/ipu3/include/intel-ipu3.h __u8 width; width 166 drivers/staging/media/ipu3/include/intel-ipu3.h __u8 width; width 1098 drivers/staging/media/ipu3/include/intel-ipu3.h __u8 width; width 741 drivers/staging/media/ipu3/ipu3-abi.h u16 width; width 753 drivers/staging/media/ipu3/ipu3-abi.h u16 width; width 1026 drivers/staging/media/ipu3/ipu3-abi.h u32 width; width 1197 drivers/staging/media/ipu3/ipu3-abi.h u16 width; width 1337 drivers/staging/media/ipu3/ipu3-abi.h u16 width; /* Width of valid data in pixels */ width 1426 drivers/staging/media/ipu3/ipu3-abi.h u32 width; width 1803 drivers/staging/media/ipu3/ipu3-abi.h u32 width; width 1857 drivers/staging/media/ipu3/ipu3-abi.h u16 width; width 59 drivers/staging/media/ipu3/ipu3-css-fw.c unsigned int width = DIV_ROUND_UP(bi->info.isp.sp.internal.max_width, width 65 drivers/staging/media/ipu3/ipu3-css-fw.c width = ALIGN(width, IPU3_UAPI_ISP_VEC_ELEMS / 4); width 66 drivers/staging/media/ipu3/ipu3-css-fw.c obgrid_size = PAGE_ALIGN(width * height * width 317 drivers/staging/media/ipu3/ipu3-css-params.c unsigned int width; width 377 drivers/staging/media/ipu3/ipu3-css-params.c input_width = css_pipe->rect[IPU3_CSS_RECT_GDC].width; width 379 drivers/staging/media/ipu3/ipu3-css-params.c target_width = css_pipe->queue[IPU3_CSS_QUEUE_VF].fmt.mpix.width; width 385 drivers/staging/media/ipu3/ipu3-css-params.c reso.input_width = css_pipe->rect[IPU3_CSS_RECT_GDC].width; width 394 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->queue[IPU3_CSS_QUEUE_OUT].fmt.mpix.width; width 403 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->queue[IPU3_CSS_QUEUE_VF].fmt.mpix.width; width 413 drivers/staging/media/ipu3/ipu3-css-params.c frame_params[IMGU_ABI_OSYS_PIN_OUT].width = width 414 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->queue[IPU3_CSS_QUEUE_OUT].fmt.mpix.width; width 417 drivers/staging/media/ipu3/ipu3-css-params.c frame_params[IMGU_ABI_OSYS_PIN_VF].width = width 418 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->queue[IPU3_CSS_QUEUE_VF].fmt.mpix.width; width 516 drivers/staging/media/ipu3/ipu3-css-params.c frame_params[IMGU_ABI_OSYS_PIN_VF].width; width 1004 drivers/staging/media/ipu3/ipu3-css-params.c fr_pr->width = frame_params[pin].width; width 1189 drivers/staging/media/ipu3/ipu3-css-params.c block_stripes[0].width = stripe_params[0].input_width; width 1198 drivers/staging/media/ipu3/ipu3-css-params.c block_stripes[0].width = roundup(stripe_params[0].input_width, width 1201 drivers/staging/media/ipu3/ipu3-css-params.c rounddown(css_pipe->rect[IPU3_CSS_RECT_GDC].width - width 1203 drivers/staging/media/ipu3/ipu3-css-params.c block_stripes[1].width = width 1204 drivers/staging/media/ipu3/ipu3-css-params.c roundup(css_pipe->rect[IPU3_CSS_RECT_GDC].width - width 1716 drivers/staging/media/ipu3/ipu3-css-params.c static u16 imgu_css_grid_end(u16 start, u8 width, u8 block_width_log2) width 1719 drivers/staging/media/ipu3/ipu3-css-params.c (width << block_width_log2) - 1; width 1724 drivers/staging/media/ipu3/ipu3-css-params.c grid_cfg->x_end = imgu_css_grid_end(grid_cfg->x_start, grid_cfg->width, width 1763 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.input_frame.width = width 1764 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->queue[IPU3_CSS_QUEUE_IN].fmt.mpix.width; width 1775 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width = width 1776 drivers/staging/media/ipu3/ipu3-css-params.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, f); width 1779 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width = width 1780 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[1].width = width 1781 drivers/staging/media/ipu3/ipu3-css-params.c (css_pipe->rect[IPU3_CSS_RECT_BDS].width / 2 & ~(f - 1)) + f; width 1787 drivers/staging/media/ipu3/ipu3-css-params.c if ((css_pipe->rect[IPU3_CSS_RECT_BDS].width / f & 1) != width 1788 drivers/staging/media/ipu3/ipu3-css-params.c !!(css_pipe->rect[IPU3_CSS_RECT_BDS].width & (f - 1))) width 1789 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width += f; width 1790 drivers/staging/media/ipu3/ipu3-css-params.c if ((css_pipe->rect[IPU3_CSS_RECT_BDS].width / f & 1) && width 1791 drivers/staging/media/ipu3/ipu3-css-params.c (css_pipe->rect[IPU3_CSS_RECT_BDS].width & (f - 1))) { width 1792 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width += f; width 1793 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[1].width += f; width 1797 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width - 2 * f; width 1810 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[0].width = width 1811 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->rect[IPU3_CSS_RECT_BDS].width; width 1816 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.effective_stripes[0].width = width 1817 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->rect[IPU3_CSS_RECT_EFFECTIVE].width; width 1818 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes_no_overlap[0].width = width 1819 drivers/staging/media/ipu3/ipu3-css-params.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, f); width 1821 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_stripes[0].width = width 1822 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->queue[IPU3_CSS_QUEUE_OUT].fmt.mpix.width; width 1824 drivers/staging/media/ipu3/ipu3-css-params.c bds_ds = css_pipe->rect[IPU3_CSS_RECT_EFFECTIVE].width * width 1826 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->rect[IPU3_CSS_RECT_BDS].width; width 1832 drivers/staging/media/ipu3/ipu3-css-params.c if (!IS_ALIGNED(css_pipe->rect[IPU3_CSS_RECT_BDS].width, f)) width 1833 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].width += width 1834 drivers/staging/media/ipu3/ipu3-css-params.c (css_pipe->rect[IPU3_CSS_RECT_BDS].width width 1837 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.effective_stripes[0].width = bds_ds * width 1838 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[0].width / width 1840 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.effective_stripes[1].width = bds_ds * width 1841 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].width / width 1849 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes_no_overlap[0].width = width 1851 drivers/staging/media/ipu3/ipu3-css-params.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, 2 * f) / 2; width 1852 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes_no_overlap[1].width = width 1853 drivers/staging/media/ipu3/ipu3-css-params.c DIV_ROUND_UP(css_pipe->rect[IPU3_CSS_RECT_BDS].width, f) width 1858 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_stripes[0].width = width 1859 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[0].width - f; width 1860 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_stripes[1].width = width 1861 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[1].width - f; width 1865 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.output_stripes[0].width; width 1869 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->rect[IPU3_CSS_RECT_GDC].width; width 1874 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->rect[IPU3_CSS_RECT_EFFECTIVE].width; width 1875 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_frame_width = css_pipe->rect[IPU3_CSS_RECT_BDS].width; width 1877 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->queue[IPU3_CSS_QUEUE_OUT].fmt.mpix.width; width 1888 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->queue[IPU3_CSS_QUEUE_VF].fmt.mpix.width; width 1892 drivers/staging/media/ipu3/ipu3-css-params.c roundup(css_pipe->rect[IPU3_CSS_RECT_BDS].width, width 1935 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[i].width; width 1937 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.down_scaled_stripes[i].width; width 1966 drivers/staging/media/ipu3/ipu3-css-params.c unsigned int bds_ds, ofs_x, ofs_y, i, width, height; width 1976 drivers/staging/media/ipu3/ipu3-css-params.c ofs_x = ((pixm->width - width 1977 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->rect[IPU3_CSS_RECT_EFFECTIVE].width) >> 1) & ~1; width 2127 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->shd.shd.grid.width <= 0) width 2131 drivers/staging/media/ipu3/ipu3-css-params.c IMGU_ABI_SHD_MAX_CELLS_PER_SET / acc->shd.shd.grid.width; width 2304 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->rect[IPU3_CSS_RECT_BDS].width; width 2317 drivers/staging/media/ipu3/ipu3-css-params.c css_pipe->rect[IPU3_CSS_RECT_BDS].width; width 2351 drivers/staging/media/ipu3/ipu3-css-params.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, IMGU_ISP_VMEM_ALIGN); width 2358 drivers/staging/media/ipu3/ipu3-css-params.c width = ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, IMGU_ISP_VMEM_ALIGN); width 2361 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->anr.transform.xreset + width > IPU3_UAPI_ANR_MAX_RESET) width 2362 drivers/staging/media/ipu3/ipu3-css-params.c acc->anr.transform.xreset = IPU3_UAPI_ANR_MAX_RESET - width; width 2386 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->awb_fr.config.grid_cfg.width <= 0) width 2391 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.config.grid_cfg.width; width 2402 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width - min_overlap) { width 2410 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[0].grid_cfg.width = width 2411 drivers/staging/media/ipu3/ipu3-css-params.c (acc->stripe.bds_out_stripes[0].width - min_overlap - width 2414 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[1].grid_cfg.width = width 2415 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.config.grid_cfg.width - width 2416 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[0].grid_cfg.width; width 2420 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[0].grid_cfg.width, width 2430 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb_fr.stripes[1].grid_cfg.width, width 2473 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.grid_cfg.width, width 2488 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width) { width 2495 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[0].grid.width = width 2496 drivers/staging/media/ipu3/ipu3-css-params.c (acc->stripe.bds_out_stripes[0].width - width 2500 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[1].grid.width = width 2501 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.grid_cfg.width - acc->ae.stripes[0].grid.width; width 2506 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[0].grid.width, width 2516 drivers/staging/media/ipu3/ipu3-css-params.c acc->ae.stripes[1].grid.width, width 2538 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->af.config.grid_cfg.width <= 0) width 2542 drivers/staging/media/ipu3/ipu3-css-params.c IMGU_ABI_AF_MAX_CELLS_PER_SET / acc->af.config.grid_cfg.width; width 2543 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config.frame_size.width = width 2544 drivers/staging/media/ipu3/ipu3-css-params.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, IMGU_ISP_VMEM_ALIGN); width 2548 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->stripe.bds_out_stripes[0].width <= min_overlap) width 2555 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[i].frame_size.width = width 2556 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[i].width; width 2565 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width - min_overlap) { width 2572 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[0].grid_cfg.width = width 2573 drivers/staging/media/ipu3/ipu3-css-params.c (acc->stripe.bds_out_stripes[0].width - min_overlap - width 2576 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[1].grid_cfg.width = width 2577 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.config.grid_cfg.width - width 2578 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[0].grid_cfg.width; width 2583 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[0].grid_cfg.width, width 2594 drivers/staging/media/ipu3/ipu3-css-params.c acc->af.stripes[1].grid_cfg.width, width 2621 drivers/staging/media/ipu3/ipu3-css-params.c if (acc->awb.config.grid.width <= 0) width 2625 drivers/staging/media/ipu3/ipu3-css-params.c IMGU_ABI_AWB_MAX_CELLS_PER_SET / acc->awb.config.grid.width, width 2636 drivers/staging/media/ipu3/ipu3-css-params.c acc->stripe.bds_out_stripes[0].width - min_overlap) { width 2642 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[0].grid.width = width 2643 drivers/staging/media/ipu3/ipu3-css-params.c (acc->stripe.bds_out_stripes[0].width - width 2646 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[1].grid.width = acc->awb.config.grid.width - width 2647 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[0].grid.width; width 2652 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[0].grid.width, width 2663 drivers/staging/media/ipu3/ipu3-css-params.c acc->awb.stripes[1].grid.width, width 148 drivers/staging/media/ipu3/ipu3-css.c f->width = ALIGN(clamp_t(u32, f->width, width 152 drivers/staging/media/ipu3/ipu3-css.c queue->width_pad = ALIGN(f->width, queue->css_fmt->width_align); width 160 drivers/staging/media/ipu3/ipu3-css.c DIV_ROUND_UP(f->width, width 715 drivers/staging/media/ipu3/ipu3-css.c ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, width 734 drivers/staging/media/ipu3/ipu3-css.c cfg_iter->input_info.res.width = width 735 drivers/staging/media/ipu3/ipu3-css.c css_pipe->queue[IPU3_CSS_QUEUE_IN].fmt.mpix.width; width 748 drivers/staging/media/ipu3/ipu3-css.c cfg_iter->internal_info.res.width = css_pipe->rect[IPU3_CSS_RECT_BDS].width; width 760 drivers/staging/media/ipu3/ipu3-css.c cfg_iter->output_info.res.width = width 761 drivers/staging/media/ipu3/ipu3-css.c css_pipe->queue[IPU3_CSS_QUEUE_OUT].fmt.mpix.width; width 774 drivers/staging/media/ipu3/ipu3-css.c cfg_iter->vf_info.res.width = width 775 drivers/staging/media/ipu3/ipu3-css.c css_pipe->queue[IPU3_CSS_QUEUE_VF].fmt.mpix.width; width 788 drivers/staging/media/ipu3/ipu3-css.c cfg_iter->dvs_envelope.width = css_pipe->rect[IPU3_CSS_RECT_ENVELOPE].width; width 802 drivers/staging/media/ipu3/ipu3-css.c cfg_ref->port_b.width = width 803 drivers/staging/media/ipu3/ipu3-css.c css_pipe->aux_frames[IPU3_CSS_AUX_FRAME_REF].width; width 831 drivers/staging/media/ipu3/ipu3-css.c ALIGN(DIV_ROUND_UP(css_pipe->rect[IPU3_CSS_RECT_GDC].width, width 849 drivers/staging/media/ipu3/ipu3-css.c cfg_tnr->port_b.width = width 850 drivers/staging/media/ipu3/ipu3-css.c css_pipe->aux_frames[IPU3_CSS_AUX_FRAME_TNR].width; width 934 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.effective_in_res.width = width 935 drivers/staging/media/ipu3/ipu3-css.c css_pipe->rect[IPU3_CSS_RECT_EFFECTIVE].width; width 938 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.in.info.res.width = width 939 drivers/staging/media/ipu3/ipu3-css.c css_pipe->queue[IPU3_CSS_QUEUE_IN].fmt.mpix.width; width 955 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.out[0].info.res.width = width 956 drivers/staging/media/ipu3/ipu3-css.c css_pipe->queue[IPU3_CSS_QUEUE_OUT].fmt.mpix.width; width 978 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.internal_frame_info.res.width = width 979 drivers/staging/media/ipu3/ipu3-css.c css_pipe->rect[IPU3_CSS_RECT_BDS].width; width 992 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.out_vf.info.res.width = width 993 drivers/staging/media/ipu3/ipu3-css.c css_pipe->queue[IPU3_CSS_QUEUE_VF].fmt.mpix.width; width 1021 drivers/staging/media/ipu3/ipu3-css.c sp_stage->dvs_envelope.width = css_pipe->rect[IPU3_CSS_RECT_ENVELOPE].width; width 1028 drivers/staging/media/ipu3/ipu3-css.c clamp(max(fls(css_pipe->rect[IPU3_CSS_RECT_BDS].width / width 1283 drivers/staging/media/ipu3/ipu3-css.c css_pipe->aux_frames[IPU3_CSS_AUX_FRAME_REF].width = width 1284 drivers/staging/media/ipu3/ipu3-css.c css_pipe->rect[IPU3_CSS_RECT_BDS].width; width 1289 drivers/staging/media/ipu3/ipu3-css.c w = ALIGN(css_pipe->rect[IPU3_CSS_RECT_BDS].width, width 1303 drivers/staging/media/ipu3/ipu3-css.c css_pipe->aux_frames[IPU3_CSS_AUX_FRAME_TNR].width = width 1304 drivers/staging/media/ipu3/ipu3-css.c roundup(css_pipe->rect[IPU3_CSS_RECT_GDC].width, width 1311 drivers/staging/media/ipu3/ipu3-css.c w = css_pipe->aux_frames[IPU3_CSS_AUX_FRAME_TNR].width; width 1656 drivers/staging/media/ipu3/ipu3-css.c if (in->width < bi->info.isp.sp.input.min_width || width 1657 drivers/staging/media/ipu3/ipu3-css.c in->width > bi->info.isp.sp.input.max_width || width 1673 drivers/staging/media/ipu3/ipu3-css.c if (out->width < bi->info.isp.sp.output.min_width || width 1674 drivers/staging/media/ipu3/ipu3-css.c out->width > bi->info.isp.sp.output.max_width || width 1679 drivers/staging/media/ipu3/ipu3-css.c if (out->width > bi->info.isp.sp.internal.max_width || width 1695 drivers/staging/media/ipu3/ipu3-css.c if (vf->width < bi->info.isp.sp.output.min_width || width 1696 drivers/staging/media/ipu3/ipu3-css.c vf->width > bi->info.isp.sp.output.max_width || width 1763 drivers/staging/media/ipu3/ipu3-css.c qnames[i], fmts[i]->width, fmts[i]->height, width 1779 drivers/staging/media/ipu3/ipu3-css.c rnames[i], rects[i]->width, rects[i]->height); width 1780 drivers/staging/media/ipu3/ipu3-css.c r[i].width = rects[i]->width; width 1800 drivers/staging/media/ipu3/ipu3-css.c out->width = in->width; width 1803 drivers/staging/media/ipu3/ipu3-css.c if (eff->width <= 0 || eff->height <= 0) { width 1804 drivers/staging/media/ipu3/ipu3-css.c eff->width = in->width; width 1807 drivers/staging/media/ipu3/ipu3-css.c if (bds->width <= 0 || bds->height <= 0) { width 1808 drivers/staging/media/ipu3/ipu3-css.c bds->width = out->width; width 1811 drivers/staging/media/ipu3/ipu3-css.c if (gdc->width <= 0 || gdc->height <= 0) { width 1812 drivers/staging/media/ipu3/ipu3-css.c gdc->width = out->width; width 1816 drivers/staging/media/ipu3/ipu3-css.c in->width = imgu_css_adjust(in->width, 1); width 1818 drivers/staging/media/ipu3/ipu3-css.c eff->width = imgu_css_adjust(eff->width, EFF_ALIGN_W); width 1820 drivers/staging/media/ipu3/ipu3-css.c bds->width = imgu_css_adjust(bds->width, BDS_ALIGN_W); width 1822 drivers/staging/media/ipu3/ipu3-css.c gdc->width = imgu_css_adjust(gdc->width, OUT_ALIGN_W); width 1824 drivers/staging/media/ipu3/ipu3-css.c out->width = imgu_css_adjust(out->width, OUT_ALIGN_W); width 1826 drivers/staging/media/ipu3/ipu3-css.c vf->width = imgu_css_adjust(vf->width, VF_ALIGN_W); width 1829 drivers/staging/media/ipu3/ipu3-css.c s = (bds->width - gdc->width) / 2; width 1830 drivers/staging/media/ipu3/ipu3-css.c env->width = s < MIN_ENVELOPE ? MIN_ENVELOPE : s; width 1865 drivers/staging/media/ipu3/ipu3-css.c in->width, in->height, eff->width, eff->height, width 1866 drivers/staging/media/ipu3/ipu3-css.c bds->width, bds->height, gdc->width, gdc->height, width 1867 drivers/staging/media/ipu3/ipu3-css.c out->width, out->height, vf->width, vf->height); width 2251 drivers/staging/media/ipu3/ipu3-css.c css_pipe->rect[g].width, width 2253 drivers/staging/media/ipu3/ipu3-css.c css_pipe->rect[e].width, width 130 drivers/staging/media/ipu3/ipu3-css.h unsigned int width; width 9381 drivers/staging/media/ipu3/ipu3-tables.c .width = 73, width 9550 drivers/staging/media/ipu3/ipu3-tables.c .width = 16, width 9564 drivers/staging/media/ipu3/ipu3-tables.c .width = 16, width 9588 drivers/staging/media/ipu3/ipu3-tables.c .width = 16, width 9602 drivers/staging/media/ipu3/ipu3-tables.c .width = 16, width 31 drivers/staging/media/ipu3/ipu3-v4l2.c try_crop.width = width 32 drivers/staging/media/ipu3/ipu3-v4l2.c imgu_pipe->nodes[IMGU_NODE_IN].vdev_fmt.fmt.pix_mp.width; width 41 drivers/staging/media/ipu3/ipu3-v4l2.c try_fmt->width = try_crop.width; width 161 drivers/staging/media/ipu3/ipu3-v4l2.c pipe, pad, fmt->format.width, fmt->format.height); width 172 drivers/staging/media/ipu3/ipu3-v4l2.c fmt->format.width = clamp(fmt->format.width, width 179 drivers/staging/media/ipu3/ipu3-v4l2.c fmt->format.width = clamp(fmt->format.width, width 238 drivers/staging/media/ipu3/ipu3-v4l2.c sel->r.width, sel->r.height); width 713 drivers/staging/media/ipu3/ipu3-v4l2.c rects[IPU3_CSS_RECT_GDC]->width = pad_fmt.width; width 781 drivers/staging/media/ipu3/ipu3-v4l2.c pix_mp->width, pix_mp->height, node->id); width 799 drivers/staging/media/ipu3/ipu3-v4l2.c pix_mp->width, pix_mp->height, node->id); width 1165 drivers/staging/media/ipu3/ipu3-v4l2.c def_bus_fmt.width = 1920; width 1174 drivers/staging/media/ipu3/ipu3-v4l2.c def_pix_fmt.width = def_bus_fmt.width; width 1178 drivers/staging/media/ipu3/ipu3-v4l2.c def_pix_fmt.plane_fmt[0].bytesperline = def_pix_fmt.width * 2; width 98 drivers/staging/media/meson/vdec/codec_mpeg12.c amvdec_write_dos(core, MREG_CMD, (sess->width << 16) | sess->height); width 35 drivers/staging/media/meson/vdec/vdec.c static u32 get_output_size(u32 width, u32 height) width 37 drivers/staging/media/meson/vdec/vdec.c return ALIGN(width * height, SZ_64K); width 42 drivers/staging/media/meson/vdec/vdec.c return get_output_size(sess->width, sess->height); width 492 drivers/staging/media/meson/vdec/vdec.c get_output_size(pixmp->width, pixmp->height); width 503 drivers/staging/media/meson/vdec/vdec.c get_output_size(pixmp->width, pixmp->height); width 504 drivers/staging/media/meson/vdec/vdec.c pfmt[0].bytesperline = ALIGN(pixmp->width, 64); width 507 drivers/staging/media/meson/vdec/vdec.c get_output_size(pixmp->width, pixmp->height) / 2; width 508 drivers/staging/media/meson/vdec/vdec.c pfmt[1].bytesperline = ALIGN(pixmp->width, 64); width 512 drivers/staging/media/meson/vdec/vdec.c get_output_size(pixmp->width, pixmp->height); width 513 drivers/staging/media/meson/vdec/vdec.c pfmt[0].bytesperline = ALIGN(pixmp->width, 64); width 516 drivers/staging/media/meson/vdec/vdec.c get_output_size(pixmp->width, pixmp->height) / 4; width 517 drivers/staging/media/meson/vdec/vdec.c pfmt[1].bytesperline = ALIGN(pixmp->width, 64) / 2; width 520 drivers/staging/media/meson/vdec/vdec.c get_output_size(pixmp->width, pixmp->height) / 4; width 521 drivers/staging/media/meson/vdec/vdec.c pfmt[2].bytesperline = ALIGN(pixmp->width, 64) / 2; width 528 drivers/staging/media/meson/vdec/vdec.c pixmp->width = clamp(pixmp->width, (u32)256, fmt_out->max_width); width 559 drivers/staging/media/meson/vdec/vdec.c pixmp->width = sess->width; width 566 drivers/staging/media/meson/vdec/vdec.c pixmp->width = sess->width; width 602 drivers/staging/media/meson/vdec/vdec.c format.fmt.pix_mp.width = orig_pixmp.width; width 607 drivers/staging/media/meson/vdec/vdec.c sess->width = format.fmt.pix_mp.width; width 619 drivers/staging/media/meson/vdec/vdec.c format.fmt.pix_mp.width = orig_pixmp.width; width 623 drivers/staging/media/meson/vdec/vdec.c sess->width = format.fmt.pix_mp.width; width 882 drivers/staging/media/meson/vdec/vdec.c sess->width = 1280; width 224 drivers/staging/media/meson/vdec/vdec.h u32 width; width 71 drivers/staging/media/meson/vdec/vdec_helpers.c struct vb2_buffer *vb, u32 width, width 90 drivers/staging/media/meson/vdec/vdec_helpers.c width, height, MESON_CANVAS_WRAP_NONE, width 96 drivers/staging/media/meson/vdec/vdec_helpers.c width / 2, height / 2, MESON_CANVAS_WRAP_NONE, width 102 drivers/staging/media/meson/vdec/vdec_helpers.c width / 2, height / 2, MESON_CANVAS_WRAP_NONE, width 115 drivers/staging/media/meson/vdec/vdec_helpers.c struct vb2_buffer *vb, u32 width, width 134 drivers/staging/media/meson/vdec/vdec_helpers.c width, height, MESON_CANVAS_WRAP_NONE, width 140 drivers/staging/media/meson/vdec/vdec_helpers.c width, height / 2, MESON_CANVAS_WRAP_NONE, width 157 drivers/staging/media/meson/vdec/vdec_helpers.c u32 width = ALIGN(sess->width, 64); width 173 drivers/staging/media/meson/vdec/vdec_helpers.c ret = set_canvas_nv12m(sess, &buf->vb.vb2_buf, width, width 179 drivers/staging/media/meson/vdec/vdec_helpers.c ret = set_canvas_yuv420m(sess, &buf->vb.vb2_buf, width, width 407 drivers/staging/media/meson/vdec/vdec_helpers.c sess->pixelaspect.denominator = sess->width * dar_den; width 414 drivers/staging/media/meson/vdec/vdec_helpers.c void amvdec_src_change(struct amvdec_session *sess, u32 width, width 426 drivers/staging/media/meson/vdec/vdec_helpers.c if (sess->width == width && width 433 drivers/staging/media/meson/vdec/vdec_helpers.c sess->width = width; width 438 drivers/staging/media/meson/vdec/vdec_helpers.c width, height, dpb_size); width 74 drivers/staging/media/meson/vdec/vdec_helpers.h void amvdec_src_change(struct amvdec_session *sess, u32 width, width 862 drivers/staging/media/omap4iss/iss_csi2.c fmt->width = clamp_t(u32, fmt->width, 1, 8191); width 944 drivers/staging/media/omap4iss/iss_csi2.c format.width = 1; width 947 drivers/staging/media/omap4iss/iss_csi2.c fse->min_width = format.width; width 954 drivers/staging/media/omap4iss/iss_csi2.c format.width = -1; width 957 drivers/staging/media/omap4iss/iss_csi2.c fse->max_width = format.width; width 1051 drivers/staging/media/omap4iss/iss_csi2.c format.format.width = 4096; width 103 drivers/staging/media/omap4iss/iss_ipipe.c (format->width - 1) & IPIPE_SRC_HSZ_MASK); width 203 drivers/staging/media/omap4iss/iss_ipipe.c unsigned int width = fmt->width; width 219 drivers/staging/media/omap4iss/iss_ipipe.c fmt->width = clamp_t(u32, width, 1, 8192); width 229 drivers/staging/media/omap4iss/iss_ipipe.c fmt->width = clamp_t(u32, width, 32, fmt->width); width 283 drivers/staging/media/omap4iss/iss_ipipe.c format.width = 1; width 286 drivers/staging/media/omap4iss/iss_ipipe.c fse->min_width = format.width; width 293 drivers/staging/media/omap4iss/iss_ipipe.c format.width = -1; width 296 drivers/staging/media/omap4iss/iss_ipipe.c fse->max_width = format.width; width 366 drivers/staging/media/omap4iss/iss_ipipe.c if (source_fmt->format.width != sink_fmt->format.width || width 393 drivers/staging/media/omap4iss/iss_ipipe.c format.format.width = 4096; width 195 drivers/staging/media/omap4iss/iss_ipipeif.c (format->width - 1) & ISIF_LNH_MASK); width 382 drivers/staging/media/omap4iss/iss_ipipeif.c unsigned int width = fmt->width; width 401 drivers/staging/media/omap4iss/iss_ipipeif.c fmt->width = clamp_t(u32, width, 1, 8192); width 415 drivers/staging/media/omap4iss/iss_ipipeif.c fmt->width = clamp_t(u32, width, 32, (fmt->width + 15) & ~15); width 416 drivers/staging/media/omap4iss/iss_ipipeif.c fmt->width &= ~15; width 425 drivers/staging/media/omap4iss/iss_ipipeif.c fmt->width = clamp_t(u32, width, 32, fmt->width); width 489 drivers/staging/media/omap4iss/iss_ipipeif.c format.width = 1; width 492 drivers/staging/media/omap4iss/iss_ipipeif.c fse->min_width = format.width; width 499 drivers/staging/media/omap4iss/iss_ipipeif.c format.width = -1; width 502 drivers/staging/media/omap4iss/iss_ipipeif.c fse->max_width = format.width; width 581 drivers/staging/media/omap4iss/iss_ipipeif.c if (source_fmt->format.width != sink_fmt->format.width || width 609 drivers/staging/media/omap4iss/iss_ipipeif.c format.format.width = 4096; width 219 drivers/staging/media/omap4iss/iss_resizer.c informat->width - 1); width 227 drivers/staging/media/omap4iss/iss_resizer.c outformat->width - 1); width 442 drivers/staging/media/omap4iss/iss_resizer.c unsigned int width = fmt->width; width 458 drivers/staging/media/omap4iss/iss_resizer.c fmt->width = clamp_t(u32, width, 1, 8192); width 477 drivers/staging/media/omap4iss/iss_resizer.c fmt->width = clamp_t(u32, width, 32, (fmt->width + 15) & ~15); width 478 drivers/staging/media/omap4iss/iss_resizer.c fmt->width &= ~15; width 550 drivers/staging/media/omap4iss/iss_resizer.c format.width = 1; width 553 drivers/staging/media/omap4iss/iss_resizer.c fse->min_width = format.width; width 560 drivers/staging/media/omap4iss/iss_resizer.c format.width = -1; width 563 drivers/staging/media/omap4iss/iss_resizer.c fse->max_width = format.width; width 635 drivers/staging/media/omap4iss/iss_resizer.c if (source_fmt->format.width != sink_fmt->format.width || width 663 drivers/staging/media/omap4iss/iss_resizer.c format.format.width = 4096; width 125 drivers/staging/media/omap4iss/iss_video.c pix->width = mbus->width; width 137 drivers/staging/media/omap4iss/iss_video.c min_bpl = pix->width * ALIGN(formats[i].bpp, 8) / 8; width 171 drivers/staging/media/omap4iss/iss_video.c mbus->width = pix->width; width 287 drivers/staging/media/omap4iss/iss_video.c vfh->format.fmt.pix.width != pixfmt.width || width 696 drivers/staging/media/omap4iss/iss_video.c sel->r.width = format.format.width; width 174 drivers/staging/media/soc_camera/imx074.c mf->width = IMX074_WIDTH; width 201 drivers/staging/media/soc_camera/imx074.c mf->width = IMX074_WIDTH; width 217 drivers/staging/media/soc_camera/imx074.c sel->r.width = IMX074_WIDTH; width 237 drivers/staging/media/soc_camera/mt9t031.c xskip, yskip, rect->width, rect->height, rect->left, rect->top); width 270 drivers/staging/media/soc_camera/mt9t031.c ret = reg_write(client, MT9T031_WINDOW_WIDTH, rect->width - 1); width 305 drivers/staging/media/soc_camera/mt9t031.c rect.width = ALIGN(rect.width, 2); width 308 drivers/staging/media/soc_camera/mt9t031.c soc_camera_limit_side(&rect.left, &rect.width, width 331 drivers/staging/media/soc_camera/mt9t031.c sel->r.width = MT9T031_MAX_WIDTH; width 353 drivers/staging/media/soc_camera/mt9t031.c mf->width = mt9t031->rect.width / mt9t031->xskip; width 382 drivers/staging/media/soc_camera/mt9t031.c &mf->width, MT9T031_MIN_WIDTH, MT9T031_MAX_WIDTH, 1, width 394 drivers/staging/media/soc_camera/mt9t031.c xskip = mt9t031_skip(&rect.width, mf->width, MT9T031_MAX_WIDTH); width 801 drivers/staging/media/soc_camera/mt9t031.c mt9t031->rect.width = MT9T031_MAX_WIDTH; width 253 drivers/staging/media/soc_camera/soc_camera.c pixfmtstr(pix->pixelformat), pix->width, pix->height); width 269 drivers/staging/media/soc_camera/soc_camera.c ret = soc_mbus_bytes_per_line(pix->width, xlate->host_fmt); width 537 drivers/staging/media/soc_camera/soc_camera.c pixfmtstr(pix->pixelformat), pix->width, pix->height); width 554 drivers/staging/media/soc_camera/soc_camera.c icd->user_width = pix->width; width 662 drivers/staging/media/soc_camera/soc_camera.c .width = icd->user_width, width 887 drivers/staging/media/soc_camera/soc_camera.c pix->width = icd->user_width; width 989 drivers/staging/media/soc_camera/soc_camera.c (icd->user_width != s->r.width || width 1009 drivers/staging/media/soc_camera/soc_camera.c icd->user_width = s->r.width; width 1202 drivers/staging/media/soc_camera/soc_camera.c icd->user_width = mf->width; width 1839 drivers/staging/media/soc_camera/soc_camera.c fsize->discrete.width = fse.min_width; width 415 drivers/staging/media/soc_camera/soc_mediabus.c s32 soc_mbus_bytes_per_line(u32 width, const struct soc_mbus_pixelfmt *mf) width 418 drivers/staging/media/soc_camera/soc_mediabus.c return width * mf->bits_per_sample / 8; width 422 drivers/staging/media/soc_camera/soc_mediabus.c return width * mf->bits_per_sample / 8; width 426 drivers/staging/media/soc_camera/soc_mediabus.c return width * 2; width 428 drivers/staging/media/soc_camera/soc_mediabus.c return width * 3 / 2; width 432 drivers/staging/media/soc_camera/soc_mediabus.c return width * 4; width 291 drivers/staging/media/soc_camera/soc_mt9v022.c rect.width = ALIGN(rect.width, 2); width 296 drivers/staging/media/soc_camera/soc_mt9v022.c soc_camera_limit_side(&rect.left, &rect.width, width 335 drivers/staging/media/soc_camera/soc_mt9v022.c rect.width > min_row - min_blank ? width 336 drivers/staging/media/soc_camera/soc_mt9v022.c min_blank : min_row - rect.width); width 340 drivers/staging/media/soc_camera/soc_mt9v022.c ret = reg_write(client, MT9V022_WINDOW_WIDTH, rect.width); width 348 drivers/staging/media/soc_camera/soc_mt9v022.c dev_dbg(&client->dev, "Frame %dx%d pixel\n", rect.width, rect.height); width 369 drivers/staging/media/soc_camera/soc_mt9v022.c sel->r.width = MT9V022_MAX_WIDTH; width 391 drivers/staging/media/soc_camera/soc_mt9v022.c mf->width = mt9v022->rect.width; width 411 drivers/staging/media/soc_camera/soc_mt9v022.c .r.width = mf->width, width 438 drivers/staging/media/soc_camera/soc_mt9v022.c mf->width = mt9v022->rect.width; width 461 drivers/staging/media/soc_camera/soc_mt9v022.c v4l_bound_align_image(&mf->width, MT9V022_MIN_WIDTH, width 957 drivers/staging/media/soc_camera/soc_mt9v022.c mt9v022->rect.width = MT9V022_MAX_WIDTH; width 738 drivers/staging/media/soc_camera/soc_ov5642.c int width = priv->crop_rect.width; width 742 drivers/staging/media/soc_camera/soc_ov5642.c int start_x = (OV5642_SENSOR_SIZE_X - width) / 2; width 759 drivers/staging/media/soc_camera/soc_ov5642.c ret = reg_write16(client, REG_WINDOW_WIDTH_HIGH, width); width 764 drivers/staging/media/soc_camera/soc_ov5642.c priv->crop_rect.width = width; width 768 drivers/staging/media/soc_camera/soc_ov5642.c ret = reg_write16(client, REG_OUT_WIDTH_HIGH, width); width 780 drivers/staging/media/soc_camera/soc_ov5642.c ret = reg_write16(client, REG_AVG_WINDOW_END_X_HIGH, width); width 799 drivers/staging/media/soc_camera/soc_ov5642.c mf->width = priv->crop_rect.width; width 833 drivers/staging/media/soc_camera/soc_ov5642.c mf->width = priv->crop_rect.width; width 864 drivers/staging/media/soc_camera/soc_ov5642.c v4l_bound_align_image(&rect.width, 48, OV5642_MAX_WIDTH, 1, width 867 drivers/staging/media/soc_camera/soc_ov5642.c priv->crop_rect.width = rect.width; width 869 drivers/staging/media/soc_camera/soc_ov5642.c priv->total_width = rect.width + BLANKING_EXTRA_WIDTH; width 873 drivers/staging/media/soc_camera/soc_ov5642.c priv->crop_rect.width = rect.width; width 899 drivers/staging/media/soc_camera/soc_ov5642.c sel->r.width = OV5642_MAX_WIDTH; width 1027 drivers/staging/media/soc_camera/soc_ov5642.c priv->crop_rect.width = OV5642_DEFAULT_WIDTH; width 543 drivers/staging/media/soc_camera/soc_ov9740.c static void ov9740_res_roundup(u32 *width, u32 *height) width 546 drivers/staging/media/soc_camera/soc_ov9740.c *width = ALIGN(*width, 4); width 549 drivers/staging/media/soc_camera/soc_ov9740.c if (*width > OV9740_MAX_WIDTH) width 550 drivers/staging/media/soc_camera/soc_ov9740.c *width = OV9740_MAX_WIDTH; width 557 drivers/staging/media/soc_camera/soc_ov9740.c static int ov9740_set_res(struct i2c_client *client, u32 width, u32 height) width 568 drivers/staging/media/soc_camera/soc_ov9740.c if ((width != OV9740_MAX_WIDTH) || (height != OV9740_MAX_HEIGHT)) width 578 drivers/staging/media/soc_camera/soc_ov9740.c if ((OV9740_MAX_WIDTH * height) > (OV9740_MAX_HEIGHT * width)) { width 579 drivers/staging/media/soc_camera/soc_ov9740.c scale_input_x = (OV9740_MAX_HEIGHT * width) / height; width 583 drivers/staging/media/soc_camera/soc_ov9740.c scale_input_y = (OV9740_MAX_WIDTH * height) / width; width 618 drivers/staging/media/soc_camera/soc_ov9740.c ret = ov9740_reg_write(client, OV9740_X_OUTPUT_SIZE_HI, width >> 8); width 621 drivers/staging/media/soc_camera/soc_ov9740.c ret = ov9740_reg_write(client, OV9740_X_OUTPUT_SIZE_LO, width & 0xff); width 645 drivers/staging/media/soc_camera/soc_ov9740.c (scale_input_x - width) >> 8); width 649 drivers/staging/media/soc_camera/soc_ov9740.c (scale_input_x - width) & 0xff); width 679 drivers/staging/media/soc_camera/soc_ov9740.c ret = ov9740_set_res(client, mf->width, mf->height); width 696 drivers/staging/media/soc_camera/soc_ov9740.c ov9740_res_roundup(&mf->width, &mf->height); width 732 drivers/staging/media/soc_camera/soc_ov9740.c sel->r.width = OV9740_MAX_WIDTH; width 504 drivers/staging/media/sunxi/cedrus/cedrus_h264.c field_size = DIV_ROUND_UP(ctx->src_fmt.width, 16) * width 70 drivers/staging/media/sunxi/cedrus/cedrus_hw.c unsigned int width = fmt->width; width 77 drivers/staging/media/sunxi/cedrus/cedrus_hw.c chroma_size = ALIGN(width, 16) * ALIGN(height, 16) / 2; width 85 drivers/staging/media/sunxi/cedrus/cedrus_hw.c reg = VE_PRIMARY_FB_LINE_STRIDE_LUMA(ALIGN(width, 16)) | width 86 drivers/staging/media/sunxi/cedrus/cedrus_hw.c VE_PRIMARY_FB_LINE_STRIDE_CHROMA(ALIGN(width, 16) / 2); width 156 drivers/staging/media/sunxi/cedrus/cedrus_mpeg2.c reg = VE_DEC_MPEG_PICBOUNDSIZE_WIDTH(ctx->src_fmt.width); width 94 drivers/staging/media/sunxi/cedrus/cedrus_video.c unsigned int width = pix_fmt->width; width 102 drivers/staging/media/sunxi/cedrus/cedrus_video.c width = clamp(width, CEDRUS_MIN_WIDTH, CEDRUS_MAX_WIDTH); width 115 drivers/staging/media/sunxi/cedrus/cedrus_video.c bytesperline = ALIGN(width, 32); width 130 drivers/staging/media/sunxi/cedrus/cedrus_video.c bytesperline = ALIGN(width, 16); width 144 drivers/staging/media/sunxi/cedrus/cedrus_video.c pix_fmt->width = width; width 218 drivers/staging/media/sunxi/cedrus/cedrus_video.c if (!ctx->dst_fmt.width || !ctx->dst_fmt.height) { width 236 drivers/staging/media/sunxi/cedrus/cedrus_video.c if (!ctx->dst_fmt.width || !ctx->dst_fmt.height) { width 379 drivers/staging/most/sound/sound.c int width = snd_pcm_format_physical_width(runtime->format); width 384 drivers/staging/most/sound/sound.c if (snd_pcm_format_big_endian(runtime->format) || width == 8) width 386 drivers/staging/most/sound/sound.c else if (width == 16) width 388 drivers/staging/most/sound/sound.c else if (width == 24) width 390 drivers/staging/most/sound/sound.c else if (width == 32) width 393 drivers/staging/most/sound/sound.c if (snd_pcm_format_big_endian(runtime->format) || width == 8) width 395 drivers/staging/most/sound/sound.c else if (width == 16) width 397 drivers/staging/most/sound/sound.c else if (width == 24) width 399 drivers/staging/most/sound/sound.c else if (width == 32) width 219 drivers/staging/most/video/video.c f->fmt.pix.width = 8; width 575 drivers/staging/rtl8712/rtl871x_mp_ioctl.c switch (RegRWStruct->width) { width 615 drivers/staging/rtl8712/rtl871x_mp_ioctl.c switch (RegRWStruct->width) { width 631 drivers/staging/rtl8712/rtl871x_mp_ioctl.c switch (RegRWStruct->width) { width 38 drivers/staging/rtl8712/rtl871x_mp_ioctl.h uint width; width 287 drivers/staging/rtl8712/rtl871x_mp_ioctl.h unsigned int width; width 2633 drivers/staging/rts5208/sd.c static int mmc_test_switch_bus(struct rtsx_chip *chip, u8 width) width 2646 drivers/staging/rts5208/sd.c if (width == MMC_8BIT_BUS) { width 2681 drivers/staging/rts5208/sd.c if (width == MMC_8BIT_BUS) width 2702 drivers/staging/rts5208/sd.c if (width == MMC_8BIT_BUS) width 2713 drivers/staging/rts5208/sd.c if (width == MMC_8BIT_BUS) { width 115 drivers/staging/sm750fb/sm750.c if (fbcursor->image.width > cursor->maxW || width 124 drivers/staging/sm750fb/sm750.c fbcursor->image.width, width 197 drivers/staging/sm750fb/sm750.c region->width, region->height, width 231 drivers/staging/sm750fb/sm750.c region->width, region->height, width 278 drivers/staging/sm750fb/sm750.c image->data, image->width >> 3, 0, width 281 drivers/staging/sm750fb/sm750.c image->width, image->height, width 368 drivers/staging/sm750fb/sm750.c var->height = var->width = -1; width 563 drivers/staging/sm750fb/sm750.c var->height = var->width = -1; width 90 drivers/staging/sm750fb/sm750_accel.c u32 x, u32 y, u32 width, u32 height, width 122 drivers/staging/sm750fb/sm750_accel.c ((width << DE_DIMENSION_X_SHIFT) & DE_DIMENSION_X_MASK) | width 144 drivers/staging/sm750fb/sm750_accel.c unsigned int width, width 211 drivers/staging/sm750fb/sm750_accel.c sx += width - 1; width 213 drivers/staging/sm750fb/sm750_accel.c dx += width - 1; width 268 drivers/staging/sm750fb/sm750_accel.c ((width << DE_DIMENSION_X_SHIFT) & DE_DIMENSION_X_MASK) | width 300 drivers/staging/sm750fb/sm750_accel.c u32 width, width 314 drivers/staging/sm750fb/sm750_accel.c ulBytesPerScan = (width + startBit + 7) / 8; width 367 drivers/staging/sm750fb/sm750_accel.c ((width << DE_DIMENSION_X_SHIFT) & DE_DIMENSION_X_MASK) | width 194 drivers/staging/sm750fb/sm750_accel.h u32 x, u32 y, u32 width, u32 height, width 208 drivers/staging/sm750fb/sm750_accel.h unsigned int width, width 221 drivers/staging/sm750fb/sm750_accel.h u32 width, width 674 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c .width = dev->overlay.w.width, width 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, width 729 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.win.w.width, f->fmt.win.w.height, width 828 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c a->fmt.width = preview_port->es.video.width; width 831 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c a->fmt.bytesperline = preview_port->es.video.width; width 832 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c a->fmt.sizeimage = (preview_port->es.video.width * width 905 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.pix.width = dev->capture.width; width 944 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.pix.width, f->fmt.pix.height, f->fmt.pix.pixelformat); width 946 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l_bound_align_image(&f->fmt.pix.width, MIN_WIDTH, dev->max_width, 1, width 949 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.pix.bytesperline = f->fmt.pix.width * mfmt->ybbp; width 957 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c ((f->fmt.pix.width + 15) & ~15) * 3; width 978 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c (((f->fmt.pix.width + 31) & ~31) * mfmt->depth) >> 3; width 994 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.pix.width, f->fmt.pix.height, f->fmt.pix.pixelformat); width 1034 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (f->fmt.pix.width <= max_video_width && width 1081 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c camera_port->es.video.width = f->fmt.pix.width; width 1085 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c camera_port->es.video.crop.width = f->fmt.pix.width; width 1115 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c preview_port->es.video.width = f->fmt.pix.width; width 1119 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c preview_port->es.video.crop.width = f->fmt.pix.width; width 1141 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.pix.width, f->fmt.pix.height, width 1169 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c port->es.video.width = f->fmt.pix.width; width 1173 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c port->es.video.crop.width = f->fmt.pix.width; width 1201 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.pix.width, width 1251 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->capture.width = camera_port->es.video.crop.width; width 1263 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->capture.width, dev->capture.height, width 1357 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (fival->width < MIN_WIDTH || fival->width > dev->max_width || width 1613 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.width = 1024; width 1617 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.width = 1024; width 1627 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.width = 1024; width 1631 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.width = 1024; width 1640 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.width = 2592; width 1644 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c format->es->video.crop.width = 2592; width 1649 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->capture.width = format->es->video.width; width 1831 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c .fmt.pix.width = 1024, width 1880 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->overlay.w.width = 1024; width 70 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h unsigned int width; /* width */ width 129 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h (pix_fmt)->width, (pix_fmt)->height, (pix_fmt)->field, \ width 140 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h (win_fmt)->w.width, (win_fmt)->w.height, \ width 39 drivers/staging/vc04_services/bcm2835-camera/mmal-msg-common.h s32 width; /**< width */ width 30 drivers/staging/vc04_services/bcm2835-camera/mmal-msg-format.h u32 width; /* Width of frame in pixels */ width 629 drivers/staging/vc04_services/bcm2835-camera/mmal-parameters.h s32 width; width 730 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->es.video.width, port->es.video.height, width 736 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->es.video.crop.width, port->es.video.crop.height); width 1527 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c dst->es.video.width = src->es.video.width; width 1531 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c dst->es.video.crop.width = src->es.video.crop.width; width 1149 drivers/tty/vt/vt.c static inline int resize_screen(struct vc_data *vc, int width, int height, width 1156 drivers/tty/vt/vt.c err = vc->vc_sw->con_resize(vc, width, height, user); width 2592 drivers/tty/vt/vt.c uint8_t width; width 2633 drivers/tty/vt/vt.c width = 1; width 2737 drivers/tty/vt/vt.c width = 2; width 2806 drivers/tty/vt/vt.c if (!--width) break; width 2820 drivers/tty/vt/vt.c width = 1; width 4491 drivers/tty/vt/vt.c c = (font.width+7)/8 * 32 * font.charcount; width 4496 drivers/tty/vt/vt.c if (font.width > op->width || font.height > op->height) width 4499 drivers/tty/vt/vt.c if (font.width != 8) width 4509 drivers/tty/vt/vt.c op->width = font.width; width 4532 drivers/tty/vt/vt.c if (op->width <= 0 || op->width > 32 || op->height > 32) width 4534 drivers/tty/vt/vt.c size = (op->width+7)/8 * 32 * op->charcount; width 4568 drivers/tty/vt/vt.c font.width = op->width; width 4585 drivers/tty/vt/vt.c struct console_font font = {.width = op->width, .height = op->height}; width 4609 drivers/tty/vt/vt.c op->width = font.width; width 261 drivers/tty/vt/vt_ioctl.c op->width = 8; width 269 drivers/tty/vt/vt_ioctl.c op->width = 8; width 913 drivers/tty/vt/vt_ioctl.c op.width = 8; width 924 drivers/tty/vt/vt_ioctl.c op.width = 8; width 1108 drivers/tty/vt/vt_ioctl.c op->width = 8; width 1116 drivers/tty/vt/vt_ioctl.c op->width = 8; width 1135 drivers/tty/vt/vt_ioctl.c compat_uint_t width, height; /* font size */ width 516 drivers/usb/dwc2/params.c int width = hsotg->hw_params.utmi_phy_data_width; width 518 drivers/usb/dwc2/params.c switch (width) { width 748 drivers/usb/dwc2/params.c unsigned int width; width 805 drivers/usb/dwc2/params.c width = (hwcfg3 & GHWCFG3_XFER_SIZE_CNTR_WIDTH_MASK) >> width 807 drivers/usb/dwc2/params.c hw->max_transfer_size = (1 << (width + 11)) - 1; width 808 drivers/usb/dwc2/params.c width = (hwcfg3 & GHWCFG3_PACKET_SIZE_CNTR_WIDTH_MASK) >> width 810 drivers/usb/dwc2/params.c hw->max_packet_count = (1 << (width + 4)) - 1; width 83 drivers/usb/gadget/function/uvc.h unsigned int width; width 85 drivers/usb/gadget/function/uvc_v4l2.c fmt->fmt.pix.width = video->width; width 88 drivers/usb/gadget/function/uvc_v4l2.c fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; width 119 drivers/usb/gadget/function/uvc_v4l2.c bpl = format->bpp * fmt->fmt.pix.width / 8; width 124 drivers/usb/gadget/function/uvc_v4l2.c video->width = fmt->fmt.pix.width; width 401 drivers/usb/gadget/function/uvc_video.c video->width = 320; width 49 drivers/usb/host/isp1362.h #define ISP1362_REG(name, addr, width, rw) \ width 50 drivers/usb/host/isp1362.h static isp1362_reg_t ISP1362_REG_##name = ((addr) | (width) | (rw)) width 58 drivers/usb/host/isp1362.h #define ISP1362_REG(name, addr, width, rw) \ width 110 drivers/usb/misc/ftdi-elan.c u8 width; width 374 drivers/usb/misc/ftdi-elan.c command->width = 0x00; width 396 drivers/usb/misc/ftdi-elan.c command->width = 0x00; width 432 drivers/usb/misc/ftdi-elan.c command->width = 0x00; width 749 drivers/usb/misc/ftdi-elan.c buf[b++] = command->width; width 1196 drivers/usb/misc/ftdi-elan.c command->width = 0x00; width 1213 drivers/usb/misc/ftdi-elan.c u8 width, u32 data) width 1228 drivers/usb/misc/ftdi-elan.c command->width = 0x00 | (width & 0x0F); width 1245 drivers/usb/misc/ftdi-elan.c u8 width, u32 data) width 1260 drivers/usb/misc/ftdi-elan.c command->width = 0x00 | (width & 0x0F); width 1277 drivers/usb/misc/ftdi-elan.c u8 width, u32 data) width 1280 drivers/usb/misc/ftdi-elan.c return ftdi_elan_write_pcimem(ftdi, mem_offset, width, data); width 1306 drivers/usb/misc/ftdi-elan.c command->width = 0x00; width 1327 drivers/usb/misc/ftdi-elan.c u8 width, u32 *data) width 1350 drivers/usb/misc/ftdi-elan.c command->width = 0x00 | (width & 0x0F); width 1371 drivers/usb/misc/ftdi-elan.c u8 width, u32 *data) width 1394 drivers/usb/misc/ftdi-elan.c command->width = 0x00 | (width & 0x0F); width 1415 drivers/usb/misc/ftdi-elan.c u8 width, u32 *data) width 1421 drivers/usb/misc/ftdi-elan.c return ftdi_elan_read_pcimem(ftdi, mem_offset, width, data); width 1449 drivers/usb/misc/ftdi-elan.c command->width = usb_maxpacket(urb->dev, urb->pipe, width 1514 drivers/usb/misc/ftdi-elan.c command->width = usb_maxpacket(urb->dev, urb->pipe, width 1571 drivers/usb/misc/ftdi-elan.c command->width = usb_maxpacket(urb->dev, urb->pipe, width 1634 drivers/usb/misc/ftdi-elan.c command->width = usb_maxpacket(urb->dev, urb->pipe, width 1715 drivers/usb/misc/ftdi-elan.c command->width = usb_maxpacket(urb->dev, urb->pipe, width 1776 drivers/usb/misc/ftdi-elan.c command->width = 0x00; width 419 drivers/usb/misc/sisusbvga/sisusb_con.c sisusbcon_clear(struct vc_data *c, int y, int x, int height, int width) width 426 drivers/usb/misc/sisusbvga/sisusb_con.c if (width <= 0 || height <= 0) width 443 drivers/usb/misc/sisusbvga/sisusb_con.c if (width > cols) width 444 drivers/usb/misc/sisusbvga/sisusb_con.c width = cols; width 446 drivers/usb/misc/sisusbvga/sisusb_con.c if (x == 0 && width >= c->vc_cols) { width 453 drivers/usb/misc/sisusbvga/sisusb_con.c sisusbcon_memsetw(dest, eattr, width * 2); width 462 drivers/usb/misc/sisusbvga/sisusb_con.c length = ((height * cols) - x - (cols - width - x)) * 2; width 1205 drivers/usb/misc/sisusbvga/sisusb_con.c if (font->width != 8 || (charcount != 256 && charcount != 512)) width 1255 drivers/usb/misc/sisusbvga/sisusb_con.c font->width = 8; width 1323 drivers/usb/misc/sisusbvga/sisusb_con.c int height, int width) { } width 95 drivers/usb/misc/usb_u132.h u8 width, u32 *data); width 97 drivers/usb/misc/usb_u132.h u8 width, u32 data); width 300 drivers/usb/usbip/vhci_hcd.c int width; width 309 drivers/usb/usbip/vhci_hcd.c width = desc->bNbrPorts / 8 + 1; width 310 drivers/usb/usbip/vhci_hcd.c desc->bDescLength = USB_DT_HUB_NONVAR_SIZE + 2 * width; width 311 drivers/usb/usbip/vhci_hcd.c memset(&desc->u.hs.DeviceRemovable[0], 0, width); width 312 drivers/usb/usbip/vhci_hcd.c memset(&desc->u.hs.DeviceRemovable[width], 0xff, width); width 112 drivers/video/console/dummycon.c int width) { } width 444 drivers/video/console/mdacon.c int height, int width) width 449 drivers/video/console/mdacon.c if (width <= 0 || height <= 0) width 452 drivers/video/console/mdacon.c if (x==0 && width==mda_num_columns) { width 453 drivers/video/console/mdacon.c scr_memsetw(dest, eattr, height*width*2); width 456 drivers/video/console/mdacon.c scr_memsetw(dest, eattr, width*2); width 124 drivers/video/console/newport_con.c npregs->set.xystarti = ((newport_xsize - logo->width) << 16) | (0); width 128 drivers/video/console/newport_con.c for (i = 0; i < logo->width*logo->height; i++) width 352 drivers/video/console/newport_con.c int width) width 354 drivers/video/console/newport_con.c int xend = ((sx + width) << 3) - 1; width 504 drivers/video/console/newport_con.c int w = op->width; width 207 drivers/video/console/sticon.c int width) width 209 drivers/video/console/sticon.c if (!height || !width) width 212 drivers/video/console/sticon.c sti_clear(sticon_sti, sy, sx, height, width, conp->vc_video_erase_char); width 168 drivers/video/console/sticore.c int height, int width, u8 color) width 178 drivers/video/console/sticore.c .width = width, width 196 drivers/video/console/sticore.c int height, int width, int c) width 206 drivers/video/console/sticore.c .width = width * sti->font_width, width 228 drivers/video/console/sticore.c int dst_y, int dst_x, int height, int width) width 236 drivers/video/console/sticore.c .width = width * sti->font_width, width 510 drivers/video/console/sticore.c fbfont->width, fbfont->height, fbfont->name); width 512 drivers/video/console/sticore.c bpc = ((fbfont->width+7)/8) * fbfont->height; width 522 drivers/video/console/sticore.c nf->width = fbfont->width; width 632 drivers/video/console/sticore.c static int sti_search_font(struct sti_cooked_rom *rom, int height, int width) width 638 drivers/video/console/sticore.c if ((font->raw->width == width) && width 772 drivers/video/console/sticore.c sti->font_width = sti->font->raw->width; width 776 drivers/video/console/vgacon.c unsigned int width, unsigned int height) width 784 drivers/video/console/vgacon.c vgacon_xres = width * VGA_FONTWIDTH; width 818 drivers/video/console/vgacon.c outb_p(width - 1, vga_video_port_val); width 820 drivers/video/console/vgacon.c outb_p(width >> 1, vga_video_port_val); width 1290 drivers/video/console/vgacon.c if (font->width != VGA_FONTWIDTH || width 1308 drivers/video/console/vgacon.c font->width = VGA_FONTWIDTH; width 1316 drivers/video/console/vgacon.c static int vgacon_resize(struct vc_data *c, unsigned int width, width 1319 drivers/video/console/vgacon.c if ((width << 1) * height > vga_vram_size) width 1322 drivers/video/console/vgacon.c if (width % 2 || width > screen_info.orig_video_cols || width 1330 drivers/video/console/vgacon.c vgacon_doresize(c, width, height); width 1421 drivers/video/console/vgacon.c int width) { } width 64 drivers/video/fbdev/68328fb.c .width = -1, width 315 drivers/video/fbdev/68328fb.c #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) width 724 drivers/video/fbdev/acornfb.c fb_info.var.width = -1; width 791 drivers/video/fbdev/acornfb.c fb_info.var.width = simple_strtoul(p + 1, &p, 0); width 506 drivers/video/fbdev/amba-clcd.c fb->fb.var.width = fb->panel->width; width 750 drivers/video/fbdev/amba-clcd.c fb->panel->width = -1; width 680 drivers/video/fbdev/amifb.c __u16 width; width 741 drivers/video/fbdev/amifb.c u_short width; width 1499 drivers/video/fbdev/amifb.c par->crsr.height = par->crsr.width = 0; width 1546 drivers/video/fbdev/amifb.c var->width = -1; width 1828 drivers/video/fbdev/amifb.c fix->crsr_width = fix->crsr_xsize = par->crsr.width; width 1847 drivers/video/fbdev/amifb.c short height, width, bits, words; width 1850 drivers/video/fbdev/amifb.c size = par->crsr.height * par->crsr.width; width 1851 drivers/video/fbdev/amifb.c alloc = var->height * var->width; width 1853 drivers/video/fbdev/amifb.c var->width = par->crsr.width; width 1856 drivers/video/fbdev/amifb.c if (size > var->height * var->width) width 1868 drivers/video/fbdev/amifb.c for (width = (short)var->width - 1; width >= 0; width--) { width 1922 drivers/video/fbdev/amifb.c short height, width, bits, words; width 1924 drivers/video/fbdev/amifb.c if (!var->width) width 1926 drivers/video/fbdev/amifb.c else if (var->width <= 16) width 1928 drivers/video/fbdev/amifb.c else if (var->width <= 32) width 1930 drivers/video/fbdev/amifb.c else if (var->width <= 64) width 1938 drivers/video/fbdev/amifb.c if (!access_ok(data, var->width * var->height)) width 1957 drivers/video/fbdev/amifb.c for (width = (short)var->width - 1; width >= 0; width--) { width 2017 drivers/video/fbdev/amifb.c par->crsr.width = var->width; width 2066 drivers/video/fbdev/amifb.c mx > -(short)par->crsr.width && mx < par->xres && width 3170 drivers/video/fbdev/amifb.c u32 width, height; width 3172 drivers/video/fbdev/amifb.c if (!rect->width || !rect->height) width 3179 drivers/video/fbdev/amifb.c x2 = rect->dx + rect->width; width 3183 drivers/video/fbdev/amifb.c width = x2 - rect->dx; width 3194 drivers/video/fbdev/amifb.c par->next_plane, dst, dst_idx, width, width 3200 drivers/video/fbdev/amifb.c dst, dst_idx, width, rect->color); width 3247 drivers/video/fbdev/amifb.c u32 dx, dy, sx, sy, width, height; width 3253 drivers/video/fbdev/amifb.c x2 = area->dx + area->width; width 3259 drivers/video/fbdev/amifb.c width = x2 - dx; width 3270 drivers/video/fbdev/amifb.c if (sx + width > info->var.xres_virtual || width 3292 drivers/video/fbdev/amifb.c src_idx, width); width 3298 drivers/video/fbdev/amifb.c src_idx, width); width 3343 drivers/video/fbdev/amifb.c u32 dx, dy, width, height, pitch; width 3350 drivers/video/fbdev/amifb.c x2 = image->dx + image->width; width 3356 drivers/video/fbdev/amifb.c width = x2 - dx; width 3365 drivers/video/fbdev/amifb.c pitch = (image->width + 7) / 8; width 3368 drivers/video/fbdev/amifb.c par->next_plane, dst, dst_idx, width, width 3375 drivers/video/fbdev/amifb.c c2p_planar(info->screen_base, image->data, dx, dy, width, width 3377 drivers/video/fbdev/amifb.c image->width, info->var.bits_per_pixel); width 373 drivers/video/fbdev/arcfb.c arcfb_lcd_update(par, rect->dx, rect->dy, rect->width, rect->height); width 384 drivers/video/fbdev/arcfb.c arcfb_lcd_update(par, area->dx, area->dy, area->width, area->height); width 394 drivers/video/fbdev/arcfb.c arcfb_lcd_update(par, image->dx, image->dy, image->width, width 125 drivers/video/fbdev/arkfb.c if ((map->width != 8) || (map->height != 16) || width 128 drivers/video/fbdev/arkfb.c map->width, map->height, map->depth, map->length); width 191 drivers/video/fbdev/arkfb.c for (x = 0; x < image->width; x += 8) { width 196 drivers/video/fbdev/arkfb.c src1 += image->width / 8; width 215 drivers/video/fbdev/arkfb.c for (x = 0; x < rect->width; x += 8) { width 249 drivers/video/fbdev/arkfb.c for (x = 0; x < image->width; x += 8) { width 254 drivers/video/fbdev/arkfb.c src1 += image->width / 8; width 263 drivers/video/fbdev/arkfb.c && ((image->width % 8) == 0) && ((image->dx % 8) == 0)) { width 275 drivers/video/fbdev/arkfb.c && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0) width 496 drivers/video/fbdev/asiliantfb.c .width = -1, width 686 drivers/video/fbdev/atafb.c var->width = -1; width 1384 drivers/video/fbdev/atafb.c var->width = -1; width 1894 drivers/video/fbdev/atafb.c var->width = -1; width 2169 drivers/video/fbdev/atafb.c var->width = -1; width 2481 drivers/video/fbdev/atafb.c u32 width, height; width 2483 drivers/video/fbdev/atafb.c if (!rect->width || !rect->height) width 2497 drivers/video/fbdev/atafb.c x2 = rect->dx + rect->width; width 2501 drivers/video/fbdev/atafb.c width = x2 - rect->dx; width 2506 drivers/video/fbdev/atafb.c rect->dy, rect->dx, height, width); width 2509 drivers/video/fbdev/atafb.c rect->dy, rect->dx, height, width); width 2512 drivers/video/fbdev/atafb.c rect->dy, rect->dx, height, width); width 2515 drivers/video/fbdev/atafb.c rect->dy, rect->dx, height, width); width 2524 drivers/video/fbdev/atafb.c u32 dx, dy, sx, sy, width, height; width 2535 drivers/video/fbdev/atafb.c x2 = area->dx + area->width; width 2541 drivers/video/fbdev/atafb.c width = x2 - dx; width 2552 drivers/video/fbdev/atafb.c if (sx + width > info->var.xres_virtual || width 2563 drivers/video/fbdev/atafb.c atafb_mfb_copyarea(info, par->next_line, sy, sx, dy, dx, height, width); width 2565 drivers/video/fbdev/atafb.c atafb_iplan2p2_copyarea(info, par->next_line, sy, sx, dy, dx, height, width); width 2567 drivers/video/fbdev/atafb.c atafb_iplan2p4_copyarea(info, par->next_line, sy, sx, dy, dx, height, width); width 2569 drivers/video/fbdev/atafb.c atafb_iplan2p8_copyarea(info, par->next_line, sy, sx, dy, dx, height, width); width 2581 drivers/video/fbdev/atafb.c u32 dx, dy, width, height, pitch; width 2595 drivers/video/fbdev/atafb.c x2 = image->dx + image->width; width 2601 drivers/video/fbdev/atafb.c width = x2 - dx; width 2611 drivers/video/fbdev/atafb.c pitch = (image->width + 7) / 8; width 2616 drivers/video/fbdev/atafb.c dy, dx, width, src, width 2620 drivers/video/fbdev/atafb.c dy, dx, width, src, width 2624 drivers/video/fbdev/atafb.c dy, dx, width, src, width 2628 drivers/video/fbdev/atafb.c dy, dx, width, src, width 2634 drivers/video/fbdev/atafb.c c2p_iplan2(info->screen_base, image->data, dx, dy, width, width 2635 drivers/video/fbdev/atafb.c height, par->next_line, image->width, width 6 drivers/video/fbdev/atafb.h int dx, int height, int width); width 8 drivers/video/fbdev/atafb.h int sy, int sx, int height, int width); width 10 drivers/video/fbdev/atafb.h int dy, int dx, u32 width, width 14 drivers/video/fbdev/atafb.h int dx, int height, int width); width 16 drivers/video/fbdev/atafb.h int sy, int sx, int height, int width); width 18 drivers/video/fbdev/atafb.h int dy, int dx, u32 width, width 22 drivers/video/fbdev/atafb.h int dx, int height, int width); width 24 drivers/video/fbdev/atafb.h int sy, int sx, int height, int width); width 26 drivers/video/fbdev/atafb.h int dy, int dx, u32 width, width 30 drivers/video/fbdev/atafb.h int dx, int height, int width); width 32 drivers/video/fbdev/atafb.h int sy, int sx, int height, int width); width 34 drivers/video/fbdev/atafb.h int dy, int dx, u32 width, width 25 drivers/video/fbdev/atafb_iplan2p2.c int height, int width) width 56 drivers/video/fbdev/atafb_iplan2p2.c width -= 8; width 58 drivers/video/fbdev/atafb_iplan2p2.c w = width >> 4; width 71 drivers/video/fbdev/atafb_iplan2p2.c if (width & 15) width 72 drivers/video/fbdev/atafb_iplan2p2.c memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), width 75 drivers/video/fbdev/atafb_iplan2p2.c src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); width 76 drivers/video/fbdev/atafb_iplan2p2.c dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); width 78 drivers/video/fbdev/atafb_iplan2p2.c if ((sx + width) & 15) { width 82 drivers/video/fbdev/atafb_iplan2p2.c width -= 8; width 84 drivers/video/fbdev/atafb_iplan2p2.c w = width >> 4; width 98 drivers/video/fbdev/atafb_iplan2p2.c memmove32_col(dst - (width - 16) / (8 / BPL), width 99 drivers/video/fbdev/atafb_iplan2p2.c src - (width - 16) / (8 / BPL), width 114 drivers/video/fbdev/atafb_iplan2p2.c w = width; width 119 drivers/video/fbdev/atafb_iplan2p2.c if ((sx + width) & 15) width 151 drivers/video/fbdev/atafb_iplan2p2.c src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); width 152 drivers/video/fbdev/atafb_iplan2p2.c dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); width 156 drivers/video/fbdev/atafb_iplan2p2.c w = width; width 157 drivers/video/fbdev/atafb_iplan2p2.c if ((dx + width) & 15) width 193 drivers/video/fbdev/atafb_iplan2p2.c int sy, int sx, int height, int width) width 210 drivers/video/fbdev/atafb_iplan2p2.c width -= 8; width 214 drivers/video/fbdev/atafb_iplan2p2.c rows = width >> 4; width 223 drivers/video/fbdev/atafb_iplan2p2.c width &= 15; width 226 drivers/video/fbdev/atafb_iplan2p2.c if (width) { width 239 drivers/video/fbdev/atafb_iplan2p2.c int dy, int dx, u32 width, width 251 drivers/video/fbdev/atafb_iplan2p2.c width -= 8; width 254 drivers/video/fbdev/atafb_iplan2p2.c if (width >= 16) { width 258 drivers/video/fbdev/atafb_iplan2p2.c for (rows = width / 16; rows; rows--) { width 265 drivers/video/fbdev/atafb_iplan2p2.c width &= 15; width 268 drivers/video/fbdev/atafb_iplan2p2.c if (width) width 25 drivers/video/fbdev/atafb_iplan2p4.c int height, int width) width 56 drivers/video/fbdev/atafb_iplan2p4.c width -= 8; width 58 drivers/video/fbdev/atafb_iplan2p4.c w = width >> 4; width 71 drivers/video/fbdev/atafb_iplan2p4.c if (width & 15) width 72 drivers/video/fbdev/atafb_iplan2p4.c memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), width 75 drivers/video/fbdev/atafb_iplan2p4.c src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); width 76 drivers/video/fbdev/atafb_iplan2p4.c dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); width 78 drivers/video/fbdev/atafb_iplan2p4.c if ((sx + width) & 15) { width 82 drivers/video/fbdev/atafb_iplan2p4.c width -= 8; width 84 drivers/video/fbdev/atafb_iplan2p4.c w = width >> 4; width 98 drivers/video/fbdev/atafb_iplan2p4.c memmove32_col(dst - (width - 16) / (8 / BPL), width 99 drivers/video/fbdev/atafb_iplan2p4.c src - (width - 16) / (8 / BPL), width 114 drivers/video/fbdev/atafb_iplan2p4.c w = width; width 119 drivers/video/fbdev/atafb_iplan2p4.c if ((sx + width) & 15) width 158 drivers/video/fbdev/atafb_iplan2p4.c src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); width 159 drivers/video/fbdev/atafb_iplan2p4.c dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); width 163 drivers/video/fbdev/atafb_iplan2p4.c w = width; width 164 drivers/video/fbdev/atafb_iplan2p4.c if ((dx + width) & 15) width 207 drivers/video/fbdev/atafb_iplan2p4.c int sy, int sx, int height, int width) width 224 drivers/video/fbdev/atafb_iplan2p4.c width -= 8; width 228 drivers/video/fbdev/atafb_iplan2p4.c rows = width >> 4; width 237 drivers/video/fbdev/atafb_iplan2p4.c width &= 15; width 240 drivers/video/fbdev/atafb_iplan2p4.c if (width) { width 253 drivers/video/fbdev/atafb_iplan2p4.c int dy, int dx, u32 width, width 265 drivers/video/fbdev/atafb_iplan2p4.c width -= 8; width 268 drivers/video/fbdev/atafb_iplan2p4.c if (width >= 16) { width 272 drivers/video/fbdev/atafb_iplan2p4.c for (rows = width / 16; rows; rows--) { width 280 drivers/video/fbdev/atafb_iplan2p4.c width &= 15; width 283 drivers/video/fbdev/atafb_iplan2p4.c if (width) width 32 drivers/video/fbdev/atafb_iplan2p8.c int height, int width) width 63 drivers/video/fbdev/atafb_iplan2p8.c width -= 8; width 65 drivers/video/fbdev/atafb_iplan2p8.c w = width >> 4; width 78 drivers/video/fbdev/atafb_iplan2p8.c if (width & 15) width 79 drivers/video/fbdev/atafb_iplan2p8.c memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), width 82 drivers/video/fbdev/atafb_iplan2p8.c src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); width 83 drivers/video/fbdev/atafb_iplan2p8.c dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); width 85 drivers/video/fbdev/atafb_iplan2p8.c if ((sx + width) & 15) { width 89 drivers/video/fbdev/atafb_iplan2p8.c width -= 8; width 91 drivers/video/fbdev/atafb_iplan2p8.c w = width >> 4; width 105 drivers/video/fbdev/atafb_iplan2p8.c memmove32_col(dst - (width - 16) / (8 / BPL), width 106 drivers/video/fbdev/atafb_iplan2p8.c src - (width - 16) / (8 / BPL), width 121 drivers/video/fbdev/atafb_iplan2p8.c w = width; width 126 drivers/video/fbdev/atafb_iplan2p8.c if ((sx + width) & 15) width 179 drivers/video/fbdev/atafb_iplan2p8.c src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); width 180 drivers/video/fbdev/atafb_iplan2p8.c dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); width 184 drivers/video/fbdev/atafb_iplan2p8.c w = width; width 185 drivers/video/fbdev/atafb_iplan2p8.c if ((dx + width) & 15) width 242 drivers/video/fbdev/atafb_iplan2p8.c int sy, int sx, int height, int width) width 259 drivers/video/fbdev/atafb_iplan2p8.c width -= 8; width 263 drivers/video/fbdev/atafb_iplan2p8.c rows = width >> 4; width 272 drivers/video/fbdev/atafb_iplan2p8.c width &= 15; width 275 drivers/video/fbdev/atafb_iplan2p8.c if (width) { width 288 drivers/video/fbdev/atafb_iplan2p8.c int dy, int dx, u32 width, width 300 drivers/video/fbdev/atafb_iplan2p8.c width -= 8; width 303 drivers/video/fbdev/atafb_iplan2p8.c if (width >= 16) { width 307 drivers/video/fbdev/atafb_iplan2p8.c for (rows = width / 16; rows; rows--) { width 317 drivers/video/fbdev/atafb_iplan2p8.c width &= 15; width 320 drivers/video/fbdev/atafb_iplan2p8.c if (width) width 25 drivers/video/fbdev/atafb_mfb.c int height, int width) width 30 drivers/video/fbdev/atafb_mfb.c if (sx == 0 && dx == 0 && width == next_line) { width 31 drivers/video/fbdev/atafb_mfb.c src = (u8 *)info->screen_base + sy * (width >> 3); width 32 drivers/video/fbdev/atafb_mfb.c dest = (u8 *)info->screen_base + dy * (width >> 3); width 33 drivers/video/fbdev/atafb_mfb.c fb_memmove(dest, src, height * (width >> 3)); width 38 drivers/video/fbdev/atafb_mfb.c fb_memmove(dest, src, width >> 3); width 46 drivers/video/fbdev/atafb_mfb.c fb_memmove(dest, src, width >> 3); width 54 drivers/video/fbdev/atafb_mfb.c int sy, int sx, int height, int width) width 61 drivers/video/fbdev/atafb_mfb.c if (sx == 0 && width == next_line) { width 63 drivers/video/fbdev/atafb_mfb.c fb_memset255(dest, height * (width >> 3)); width 65 drivers/video/fbdev/atafb_mfb.c fb_memclear(dest, height * (width >> 3)); width 69 drivers/video/fbdev/atafb_mfb.c fb_memset255(dest, width >> 3); width 71 drivers/video/fbdev/atafb_mfb.c fb_memclear_small(dest, width >> 3); width 77 drivers/video/fbdev/atafb_mfb.c int dy, int dx, u32 width, width 85 drivers/video/fbdev/atafb_mfb.c for (rows = width / 8; rows--; /* check margins */ ) { width 1600 drivers/video/fbdev/aty/aty128fb.c var->width = -1; width 3147 drivers/video/fbdev/aty/atyfb_base.c u16 width, height, panel_type, refresh_rates; width 3161 drivers/video/fbdev/aty/atyfb_base.c width = par->lcd_width = *(u16 *)(par->lcd_table+25); width 3234 drivers/video/fbdev/aty/atyfb_base.c id, width, height, txtformat); width 3278 drivers/video/fbdev/aty/atyfb_base.c if (mwidth == width && mheight == height) { width 189 drivers/video/fbdev/aty/mach64_accel.c static inline void draw_rect(s16 x, s16 y, u16 width, u16 height, width 195 drivers/video/fbdev/aty/mach64_accel.c aty_st_le32(DST_HEIGHT_WIDTH, (width << 16) | height, par); width 203 drivers/video/fbdev/aty/mach64_accel.c u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; width 207 drivers/video/fbdev/aty/mach64_accel.c if (!area->width || !area->height) width 219 drivers/video/fbdev/aty/mach64_accel.c width *= 3; width 229 drivers/video/fbdev/aty/mach64_accel.c dx += width - 1; width 230 drivers/video/fbdev/aty/mach64_accel.c sx += width - 1; width 242 drivers/video/fbdev/aty/mach64_accel.c aty_st_le32(SRC_HEIGHT1_WIDTH1, (width << 16) | area->height, par); width 244 drivers/video/fbdev/aty/mach64_accel.c draw_rect(dx, dy, width, area->height, par); width 250 drivers/video/fbdev/aty/mach64_accel.c u32 color, dx = rect->dx, width = rect->width, rotation = 0; width 254 drivers/video/fbdev/aty/mach64_accel.c if (!rect->width || !rect->height) width 271 drivers/video/fbdev/aty/mach64_accel.c width *= 3; width 284 drivers/video/fbdev/aty/mach64_accel.c draw_rect(dx, rect->dy, width, rect->height, par); width 290 drivers/video/fbdev/aty/mach64_accel.c u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; width 295 drivers/video/fbdev/aty/mach64_accel.c if (!image->width || !image->height) width 340 drivers/video/fbdev/aty/mach64_accel.c width *= 3; width 351 drivers/video/fbdev/aty/mach64_accel.c if (image->depth == 1 && M64_HAS(HW_TRIPLE) && image->width % 8 == 0) width 383 drivers/video/fbdev/aty/mach64_accel.c draw_rect(dx, dy, width, image->height, par); width 384 drivers/video/fbdev/aty/mach64_accel.c src_bytes = (((image->width * image->depth) + 7) / 8) * image->height; width 388 drivers/video/fbdev/aty/mach64_accel.c int inbit, outbit, mult24, byte_id_in_dword, width; width 392 drivers/video/fbdev/aty/mach64_accel.c for (width = image->width, inbit = 7, mult24 = 0; src_bytes; ) { width 403 drivers/video/fbdev/aty/mach64_accel.c width--; width 407 drivers/video/fbdev/aty/mach64_accel.c if (inbit < 0 || width == 0) { width 412 drivers/video/fbdev/aty/mach64_accel.c if (width == 0) { width 413 drivers/video/fbdev/aty/mach64_accel.c width = image->width; width 148 drivers/video/fbdev/aty/mach64_cursor.c unsigned int width = (cursor->image.width + 7) >> 3; width 158 drivers/video/fbdev/aty/mach64_cursor.c offset = align - width*2; width 161 drivers/video/fbdev/aty/mach64_cursor.c for (j = 0; j < width; j++) { width 183 drivers/video/fbdev/aty/mach64_cursor.c if ((j + 1) * 8 > cursor->image.width) { width 185 drivers/video/fbdev/aty/mach64_cursor.c (1 << ((cursor->image.width & 7) * 2)) - 1); width 65 drivers/video/fbdev/aty/radeon_accel.c OUTREG(DST_WIDTH_HEIGHT, (region->width << 16) | region->height); width 88 drivers/video/fbdev/aty/radeon_accel.c if(!modded.width || !modded.height || width 92 drivers/video/fbdev/aty/radeon_accel.c if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; width 104 drivers/video/fbdev/aty/radeon_accel.c w = area->width; h = area->height; width 144 drivers/video/fbdev/aty/radeon_accel.c modded.width = area->width; width 159 drivers/video/fbdev/aty/radeon_accel.c if(!modded.width || !modded.height || width 164 drivers/video/fbdev/aty/radeon_accel.c if(modded.sx + modded.width > vxres) modded.width = vxres - modded.sx; width 165 drivers/video/fbdev/aty/radeon_accel.c if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx; width 19 drivers/video/fbdev/aty/radeon_monitor.c .width = -1, width 98 drivers/video/fbdev/au1100fb.c .width = -1, width 204 drivers/video/fbdev/bt431.h u16 rop, u16 width, u16 height) width 210 drivers/video/fbdev/bt431.h width = DIV_ROUND_UP(width, 8); width 216 drivers/video/fbdev/bt431.h if (y < height && x < width) { width 13 drivers/video/fbdev/c2p.h extern void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, width 17 drivers/video/fbdev/c2p.h extern void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width, width 85 drivers/video/fbdev/c2p_iplan2.c void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width, width 100 drivers/video/fbdev/c2p_iplan2.c last = 0xffffU ^ (0xffffU >> ((dst_idx+width) % 16)); width 105 drivers/video/fbdev/c2p_iplan2.c w = width; width 106 drivers/video/fbdev/c2p_iplan2.c if (dst_idx+width <= 16) { width 110 drivers/video/fbdev/c2p_iplan2.c memcpy(d.pixels+dst_idx, c, width); width 111 drivers/video/fbdev/c2p_iplan2.c c += width; width 117 drivers/video/fbdev/c2p_iplan2.c w = width; width 127 drivers/video/fbdev/c2p_iplan2.c w = width-w; width 86 drivers/video/fbdev/c2p_planar.c void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, width 101 drivers/video/fbdev/c2p_planar.c last = ~(0xffffffffU >> ((dst_idx+width) % 32)); width 105 drivers/video/fbdev/c2p_planar.c w = width; width 106 drivers/video/fbdev/c2p_planar.c if (dst_idx+width <= 32) { width 110 drivers/video/fbdev/c2p_planar.c memcpy(d.pixels+dst_idx, c, width); width 111 drivers/video/fbdev/c2p_planar.c c += width; width 118 drivers/video/fbdev/c2p_planar.c w = width; width 129 drivers/video/fbdev/c2p_planar.c w = width-w; width 222 drivers/video/fbdev/carminefb.c u32 width; width 258 drivers/video/fbdev/carminefb.c width = par->res->hdp * 4 / CARMINE_DISP_WIDTH_UNIT; width 259 drivers/video/fbdev/carminefb.c width = width << CARMINE_DISP_WIDTH_SHIFT; width 262 drivers/video/fbdev/carminefb.c param = width | height; width 265 drivers/video/fbdev/carminefb.c c_set_disp_reg(par, CARMINE_DISP_REG_L1_WIDTH, width); width 339 drivers/video/fbdev/cg6.c sbus_writel(rect->dx + rect->width, &fbc->arectx); width 377 drivers/video/fbdev/cg6.c sbus_writel(area->sx + area->width - 1, &fbc->x1); width 381 drivers/video/fbdev/cg6.c sbus_writel(area->dx + area->width - 1, &fbc->x3); width 401 drivers/video/fbdev/cg6.c int i, width; width 426 drivers/video/fbdev/cg6.c width = image->width; width 428 drivers/video/fbdev/cg6.c while (width >= 32) { width 443 drivers/video/fbdev/cg6.c width -= 32; width 445 drivers/video/fbdev/cg6.c if (width) { width 450 drivers/video/fbdev/cg6.c sbus_writel(x + width - 1, &fbc->x1); width 451 drivers/video/fbdev/cg6.c if (width <= 8) { width 454 drivers/video/fbdev/cg6.c } else if (width <= 16) { width 321 drivers/video/fbdev/chipsfb.c .width = -1, width 400 drivers/video/fbdev/cirrusfb.c u_short width, u_short height, width 404 drivers/video/fbdev/cirrusfb.c u_short width, u_short height, width 1752 drivers/video/fbdev/cirrusfb.c if (!modded.width || !modded.height || width 1756 drivers/video/fbdev/cirrusfb.c if (modded.dx + modded.width > vxres) width 1757 drivers/video/fbdev/cirrusfb.c modded.width = vxres - modded.dx; width 1764 drivers/video/fbdev/cirrusfb.c (region->width * m) / 8, region->height, width 1788 drivers/video/fbdev/cirrusfb.c if (!modded.width || !modded.height || width 1793 drivers/video/fbdev/cirrusfb.c if (modded.sx + modded.width > vxres) width 1794 drivers/video/fbdev/cirrusfb.c modded.width = vxres - modded.sx; width 1795 drivers/video/fbdev/cirrusfb.c if (modded.dx + modded.width > vxres) width 1796 drivers/video/fbdev/cirrusfb.c modded.width = vxres - modded.dx; width 1805 drivers/video/fbdev/cirrusfb.c (area->width * m) / 8, area->height, width 1825 drivers/video/fbdev/cirrusfb.c unsigned size = ((image->width + 7) >> 3) * image->height; width 1841 drivers/video/fbdev/cirrusfb.c (image->width * m) / 8, width 1849 drivers/video/fbdev/cirrusfb.c (image->width * m) / 8, image->height, width 2658 drivers/video/fbdev/cirrusfb.c u_short width, u_short height, width 2661 drivers/video/fbdev/cirrusfb.c u_short nwidth = width - 1; width 2700 drivers/video/fbdev/cirrusfb.c u_short x, u_short y, u_short width, u_short height, width 2730 drivers/video/fbdev/cirrusfb.c cirrusfb_set_blitter(regbase, width - 1, height - 1, width 326 drivers/video/fbdev/clps711x-fb.c info->var.width = -1; width 997 drivers/video/fbdev/controlfb.c var->width = -1; width 29 drivers/video/fbdev/core/bitblit.c int width = DIV_ROUND_UP(vc->vc_font.width, 8); width 30 drivers/video/fbdev/core/bitblit.c unsigned int cellsize = vc->vc_font.height * width; width 33 drivers/video/fbdev/core/bitblit.c offset = cellsize - (offset * width); width 47 drivers/video/fbdev/core/bitblit.c int sx, int dy, int dx, int height, int width) width 51 drivers/video/fbdev/core/bitblit.c area.sx = sx * vc->vc_font.width; width 53 drivers/video/fbdev/core/bitblit.c area.dx = dx * vc->vc_font.width; width 56 drivers/video/fbdev/core/bitblit.c area.width = width * vc->vc_font.width; width 62 drivers/video/fbdev/core/bitblit.c int sx, int height, int width) width 68 drivers/video/fbdev/core/bitblit.c region.dx = sx * vc->vc_font.width; width 70 drivers/video/fbdev/core/bitblit.c region.width = width * vc->vc_font.width; width 83 drivers/video/fbdev/core/bitblit.c u32 idx = vc->vc_font.width >> 3; width 116 drivers/video/fbdev/core/bitblit.c u32 shift_low = 0, mod = vc->vc_font.width % 8; width 118 drivers/video/fbdev/core/bitblit.c u32 idx = vc->vc_font.width >> 3; width 148 drivers/video/fbdev/core/bitblit.c u32 width = DIV_ROUND_UP(vc->vc_font.width, 8); width 149 drivers/video/fbdev/core/bitblit.c u32 cellsize = width * vc->vc_font.height; width 153 drivers/video/fbdev/core/bitblit.c u32 mod = vc->vc_font.width % 8, cnt, pitch, size; width 159 drivers/video/fbdev/core/bitblit.c image.dx = xx * vc->vc_font.width; width 176 drivers/video/fbdev/core/bitblit.c image.width = vc->vc_font.width * cnt; width 177 drivers/video/fbdev/core/bitblit.c pitch = DIV_ROUND_UP(image.width, 8) + scan_align; width 186 drivers/video/fbdev/core/bitblit.c width, cellsize, &image, buf, dst); width 189 drivers/video/fbdev/core/bitblit.c pitch, width, cellsize, &image, width 192 drivers/video/fbdev/core/bitblit.c image.dx += cnt * vc->vc_font.width; width 208 drivers/video/fbdev/core/bitblit.c unsigned int cw = vc->vc_font.width; width 222 drivers/video/fbdev/core/bitblit.c region.width = rw; width 230 drivers/video/fbdev/core/bitblit.c region.width = rs; width 242 drivers/video/fbdev/core/bitblit.c int w = DIV_ROUND_UP(vc->vc_font.width, 8), c; width 289 drivers/video/fbdev/core/bitblit.c if ((ops->cursor_state.image.dx != (vc->vc_font.width * vc->vc_x)) || width 292 drivers/video/fbdev/core/bitblit.c ops->cursor_state.image.dx = vc->vc_font.width * vc->vc_x; width 298 drivers/video/fbdev/core/bitblit.c ops->cursor_state.image.width != vc->vc_font.width || width 301 drivers/video/fbdev/core/bitblit.c ops->cursor_state.image.width = vc->vc_font.width; width 374 drivers/video/fbdev/core/bitblit.c cursor.image.width = ops->cursor_state.image.width; width 384 drivers/video/fbdev/core/cfbcopyarea.c u32 height = area->height, width = area->width; width 419 drivers/video/fbdev/core/cfbcopyarea.c width*p->var.bits_per_pixel, bswapmask); width 425 drivers/video/fbdev/core/cfbcopyarea.c width*p->var.bits_per_pixel, bswapmask); width 281 drivers/video/fbdev/core/cfbfillrect.c unsigned long width = rect->width, height = rect->height; width 327 drivers/video/fbdev/core/cfbfillrect.c fill_op32(p, dst, dst_idx, pat, width*bpp, bits, width 361 drivers/video/fbdev/core/cfbfillrect.c width*bpp, bits); width 91 drivers/video/fbdev/core/cfbimgblt.c n = image->width; width 147 drivers/video/fbdev/core/cfbimgblt.c u32 spitch = (image->width+7)/8; width 159 drivers/video/fbdev/core/cfbimgblt.c j = image->width; width 220 drivers/video/fbdev/core/cfbimgblt.c u32 ppw = 32/bpp, spitch = (image->width + 7)/8; width 249 drivers/video/fbdev/core/cfbimgblt.c k = image->width/ppw; width 269 drivers/video/fbdev/core/cfbimgblt.c u32 width = image->width; width 298 drivers/video/fbdev/core/cfbimgblt.c ((width & (32/bpp-1)) == 0) && width 188 drivers/video/fbdev/core/fbcon.c int width); width 195 drivers/video/fbdev/core/fbcon.c int height, int width); width 208 drivers/video/fbdev/core/fbcon.c int dy, int dx, int height, int width, u_int y_break); width 933 drivers/video/fbdev/core/fbcon.c disp->width = var->width; width 957 drivers/video/fbdev/core/fbcon.c var->width = disp->width; width 1051 drivers/video/fbdev/core/fbcon.c vc->vc_font.width = font->width; width 1061 drivers/video/fbdev/core/fbcon.c cols /= vc->vc_font.width; width 1116 drivers/video/fbdev/core/fbcon.c vc->vc_font.width = fvc->vc_font.width; width 1130 drivers/video/fbdev/core/fbcon.c vc->vc_font.width = font->width; width 1171 drivers/video/fbdev/core/fbcon.c new_cols /= vc->vc_font.width; width 1311 drivers/video/fbdev/core/fbcon.c int width) width 1322 drivers/video/fbdev/core/fbcon.c if (!height || !width) width 1341 drivers/video/fbdev/core/fbcon.c ops->clear(vc, info, real_y(p, sy), sx, b, width); width 1343 drivers/video/fbdev/core/fbcon.c width); width 1345 drivers/video/fbdev/core/fbcon.c ops->clear(vc, info, real_y(p, sy), sx, height, width); width 1438 drivers/video/fbdev/core/fbcon.c vc->vc_font.width = (*default_mode)->vc_font.width; width 1470 drivers/video/fbdev/core/fbcon.c cols /= vc->vc_font.width; width 2077 drivers/video/fbdev/core/fbcon.c int height, int width) width 2085 drivers/video/fbdev/core/fbcon.c if (!width || !height) width 2095 drivers/video/fbdev/core/fbcon.c fbcon_bmove_rec(vc, p, sy, sx, dy, dx, height, width, width 2100 drivers/video/fbdev/core/fbcon.c int dy, int dx, int height, int width, u_int y_break) width 2109 drivers/video/fbdev/core/fbcon.c fbcon_bmove_rec(vc, p, sy, sx, dy, dx, b, width, width 2112 drivers/video/fbdev/core/fbcon.c height - b, width, y_break); width 2115 drivers/video/fbdev/core/fbcon.c height - b, width, y_break); width 2116 drivers/video/fbdev/core/fbcon.c fbcon_bmove_rec(vc, p, sy, sx, dy, dx, b, width, width 2125 drivers/video/fbdev/core/fbcon.c fbcon_bmove_rec(vc, p, sy, sx, dy, dx, b, width, width 2128 drivers/video/fbdev/core/fbcon.c height - b, width, y_break); width 2131 drivers/video/fbdev/core/fbcon.c height - b, width, y_break); width 2132 drivers/video/fbdev/core/fbcon.c fbcon_bmove_rec(vc, p, sy, sx, dy, dx, b, width, width 2138 drivers/video/fbdev/core/fbcon.c height, width); width 2188 drivers/video/fbdev/core/fbcon.c static int fbcon_resize(struct vc_data *vc, unsigned int width, width 2197 drivers/video/fbdev/core/fbcon.c virt_w = FBCON_SWAP(ops->rotate, width, height); width 2198 drivers/video/fbdev/core/fbcon.c virt_h = FBCON_SWAP(ops->rotate, height, width); width 2199 drivers/video/fbdev/core/fbcon.c virt_fw = FBCON_SWAP(ops->rotate, vc->vc_font.width, width 2202 drivers/video/fbdev/core/fbcon.c vc->vc_font.width); width 2459 drivers/video/fbdev/core/fbcon.c font->width = vc->vc_font.width; width 2465 drivers/video/fbdev/core/fbcon.c if (font->width <= 8) { width 2473 drivers/video/fbdev/core/fbcon.c } else if (font->width <= 16) { width 2481 drivers/video/fbdev/core/fbcon.c } else if (font->width <= 24) { width 2578 drivers/video/fbdev/core/fbcon.c resize = (w != vc->vc_font.width) || (h != vc->vc_font.height); width 2588 drivers/video/fbdev/core/fbcon.c vc->vc_font.width = w; width 2623 drivers/video/fbdev/core/fbcon.c return fbcon_do_set_font(vc, f->width, f->height, od->fontdata, od->userfont); width 2643 drivers/video/fbdev/core/fbcon.c int w = font->width; width 2648 drivers/video/fbdev/core/fbcon.c int pitch = (font->width+7) >> 3; width 2656 drivers/video/fbdev/core/fbcon.c if (!(info->pixmap.blit_x & (1 << (font->width - 1))) || width 2692 drivers/video/fbdev/core/fbcon.c tmp->vc_font.width == w && width 2699 drivers/video/fbdev/core/fbcon.c return fbcon_do_set_font(vc, font->width, font->height, new_data, 1); width 2713 drivers/video/fbdev/core/fbcon.c font->width = f->width; width 2715 drivers/video/fbdev/core/fbcon.c return fbcon_do_set_font(vc, f->width, f->height, f->data, 0); width 2981 drivers/video/fbdev/core/fbcon.c cols /= vc->vc_font.width; width 3026 drivers/video/fbdev/core/fbcon.c cols /= vc->vc_font.width; width 3323 drivers/video/fbdev/core/fbcon.c caps->x |= 1 << (vc->vc_font.width - 1); width 3337 drivers/video/fbdev/core/fbcon.c caps->x = 1 << (vc->vc_font.width - 1); width 41 drivers/video/fbdev/core/fbcon.h u32 width; width 56 drivers/video/fbdev/core/fbcon.h int sx, int dy, int dx, int height, int width); width 58 drivers/video/fbdev/core/fbcon.h int sx, int height, int width); width 29 drivers/video/fbdev/core/fbcon_ccw.c int width = (vc->vc_font.height + 7) >> 3; width 39 drivers/video/fbdev/core/fbcon_ccw.c for (i = 0; i < vc->vc_font.width; i++) { width 40 drivers/video/fbdev/core/fbcon_ccw.c for (j = 0; j < width; j++) { width 44 drivers/video/fbdev/core/fbcon_ccw.c if (j == width - 1) width 47 drivers/video/fbdev/core/fbcon_ccw.c if (msk1 && j == width - 2) width 52 drivers/video/fbdev/core/fbcon_ccw.c *(dst - width) |= c; width 64 drivers/video/fbdev/core/fbcon_ccw.c int sx, int dy, int dx, int height, int width) width 71 drivers/video/fbdev/core/fbcon_ccw.c area.sy = vyres - ((sx + width) * vc->vc_font.width); width 73 drivers/video/fbdev/core/fbcon_ccw.c area.dy = vyres - ((dx + width) * vc->vc_font.width); width 74 drivers/video/fbdev/core/fbcon_ccw.c area.width = height * vc->vc_font.height; width 75 drivers/video/fbdev/core/fbcon_ccw.c area.height = width * vc->vc_font.width; width 81 drivers/video/fbdev/core/fbcon_ccw.c int sx, int height, int width) width 90 drivers/video/fbdev/core/fbcon_ccw.c region.dy = vyres - ((sx + width) * vc->vc_font.width); width 91 drivers/video/fbdev/core/fbcon_ccw.c region.height = width * vc->vc_font.width; width 92 drivers/video/fbdev/core/fbcon_ccw.c region.width = height * vc->vc_font.height; width 118 drivers/video/fbdev/core/fbcon_ccw.c vc->vc_font.width); width 121 drivers/video/fbdev/core/fbcon_ccw.c vc->vc_font.width); width 123 drivers/video/fbdev/core/fbcon_ccw.c dst += d_pitch * vc->vc_font.width; width 135 drivers/video/fbdev/core/fbcon_ccw.c u32 width = (vc->vc_font.height + 7)/8; width 136 drivers/video/fbdev/core/fbcon_ccw.c u32 cellsize = width * vc->vc_font.width; width 151 drivers/video/fbdev/core/fbcon_ccw.c image.dy = vyres - ((xx + count) * vc->vc_font.width); width 152 drivers/video/fbdev/core/fbcon_ccw.c image.width = vc->vc_font.height; width 169 drivers/video/fbdev/core/fbcon_ccw.c image.height = vc->vc_font.width * cnt; width 170 drivers/video/fbdev/core/fbcon_ccw.c pitch = ((image.width + 7) >> 3) + scan_align; width 177 drivers/video/fbdev/core/fbcon_ccw.c width, cellsize, &image, buf, dst); width 194 drivers/video/fbdev/core/fbcon_ccw.c unsigned int cw = vc->vc_font.width; width 208 drivers/video/fbdev/core/fbcon_ccw.c region.width = info->var.xres_virtual; width 216 drivers/video/fbdev/core/fbcon_ccw.c region.width = bh; width 250 drivers/video/fbdev/core/fbcon_ccw.c src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.width)); width 261 drivers/video/fbdev/core/fbcon_ccw.c dst = kmalloc_array(w, vc->vc_font.width, GFP_ATOMIC); width 278 drivers/video/fbdev/core/fbcon_ccw.c if (ops->cursor_state.image.height != vc->vc_font.width || width 279 drivers/video/fbdev/core/fbcon_ccw.c ops->cursor_state.image.width != vc->vc_font.height || width 281 drivers/video/fbdev/core/fbcon_ccw.c ops->cursor_state.image.height = vc->vc_font.width; width 282 drivers/video/fbdev/core/fbcon_ccw.c ops->cursor_state.image.width = vc->vc_font.height; width 287 drivers/video/fbdev/core/fbcon_ccw.c dy = vyres - ((vc->vc_x + 1) * vc->vc_font.width); width 307 drivers/video/fbdev/core/fbcon_ccw.c char *tmp, *mask = kmalloc_array(w, vc->vc_font.width, width 310 drivers/video/fbdev/core/fbcon_ccw.c int width = (vc->vc_font.width + 7)/8; width 315 drivers/video/fbdev/core/fbcon_ccw.c tmp = kmalloc_array(width, vc->vc_font.height, GFP_ATOMIC); width 350 drivers/video/fbdev/core/fbcon_ccw.c size = (vc->vc_font.height - cur_height) * width; width 353 drivers/video/fbdev/core/fbcon_ccw.c size = cur_height * width; width 356 drivers/video/fbdev/core/fbcon_ccw.c memset(mask, 0, w * vc->vc_font.width); width 357 drivers/video/fbdev/core/fbcon_ccw.c rotate_ccw(tmp, mask, vc->vc_font.width, vc->vc_font.height); width 378 drivers/video/fbdev/core/fbcon_ccw.c cursor.image.width = ops->cursor_state.image.width; width 29 drivers/video/fbdev/core/fbcon_cw.c int width = (vc->vc_font.height + 7) >> 3; width 32 drivers/video/fbdev/core/fbcon_cw.c for (i = 0; i < vc->vc_font.width; i++) { width 33 drivers/video/fbdev/core/fbcon_cw.c for (j = 0; j < width; j++) { width 38 drivers/video/fbdev/core/fbcon_cw.c c |= *(src-width); width 49 drivers/video/fbdev/core/fbcon_cw.c int sx, int dy, int dx, int height, int width) width 56 drivers/video/fbdev/core/fbcon_cw.c area.sy = sx * vc->vc_font.width; width 58 drivers/video/fbdev/core/fbcon_cw.c area.dy = dx * vc->vc_font.width; width 59 drivers/video/fbdev/core/fbcon_cw.c area.width = height * vc->vc_font.height; width 60 drivers/video/fbdev/core/fbcon_cw.c area.height = width * vc->vc_font.width; width 66 drivers/video/fbdev/core/fbcon_cw.c int sx, int height, int width) width 75 drivers/video/fbdev/core/fbcon_cw.c region.dy = sx * vc->vc_font.width; width 76 drivers/video/fbdev/core/fbcon_cw.c region.height = width * vc->vc_font.width; width 77 drivers/video/fbdev/core/fbcon_cw.c region.width = height * vc->vc_font.height; width 103 drivers/video/fbdev/core/fbcon_cw.c vc->vc_font.width); width 106 drivers/video/fbdev/core/fbcon_cw.c vc->vc_font.width); width 108 drivers/video/fbdev/core/fbcon_cw.c dst += d_pitch * vc->vc_font.width; width 120 drivers/video/fbdev/core/fbcon_cw.c u32 width = (vc->vc_font.height + 7)/8; width 121 drivers/video/fbdev/core/fbcon_cw.c u32 cellsize = width * vc->vc_font.width; width 136 drivers/video/fbdev/core/fbcon_cw.c image.dy = xx * vc->vc_font.width; width 137 drivers/video/fbdev/core/fbcon_cw.c image.width = vc->vc_font.height; width 152 drivers/video/fbdev/core/fbcon_cw.c image.height = vc->vc_font.width * cnt; width 153 drivers/video/fbdev/core/fbcon_cw.c pitch = ((image.width + 7) >> 3) + scan_align; width 160 drivers/video/fbdev/core/fbcon_cw.c width, cellsize, &image, buf, dst); width 177 drivers/video/fbdev/core/fbcon_cw.c unsigned int cw = vc->vc_font.width; width 191 drivers/video/fbdev/core/fbcon_cw.c region.width = info->var.xres_virtual; width 199 drivers/video/fbdev/core/fbcon_cw.c region.width = bh; width 233 drivers/video/fbdev/core/fbcon_cw.c src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.width)); width 244 drivers/video/fbdev/core/fbcon_cw.c dst = kmalloc_array(w, vc->vc_font.width, GFP_ATOMIC); width 261 drivers/video/fbdev/core/fbcon_cw.c if (ops->cursor_state.image.height != vc->vc_font.width || width 262 drivers/video/fbdev/core/fbcon_cw.c ops->cursor_state.image.width != vc->vc_font.height || width 264 drivers/video/fbdev/core/fbcon_cw.c ops->cursor_state.image.height = vc->vc_font.width; width 265 drivers/video/fbdev/core/fbcon_cw.c ops->cursor_state.image.width = vc->vc_font.height; width 270 drivers/video/fbdev/core/fbcon_cw.c dy = vc->vc_x * vc->vc_font.width; width 290 drivers/video/fbdev/core/fbcon_cw.c char *tmp, *mask = kmalloc_array(w, vc->vc_font.width, width 293 drivers/video/fbdev/core/fbcon_cw.c int width = (vc->vc_font.width + 7)/8; width 298 drivers/video/fbdev/core/fbcon_cw.c tmp = kmalloc_array(width, vc->vc_font.height, GFP_ATOMIC); width 333 drivers/video/fbdev/core/fbcon_cw.c size = (vc->vc_font.height - cur_height) * width; width 336 drivers/video/fbdev/core/fbcon_cw.c size = cur_height * width; width 339 drivers/video/fbdev/core/fbcon_cw.c memset(mask, 0, w * vc->vc_font.width); width 340 drivers/video/fbdev/core/fbcon_cw.c rotate_cw(tmp, mask, vc->vc_font.width, vc->vc_font.height); width 361 drivers/video/fbdev/core/fbcon_cw.c cursor.image.width = ops->cursor_state.image.width; width 36 drivers/video/fbdev/core/fbcon_rotate.c s_cellsize = ((vc->vc_font.width + 7)/8) * width 43 drivers/video/fbdev/core/fbcon_rotate.c vc->vc_font.width; width 67 drivers/video/fbdev/core/fbcon_rotate.c rotate_ud(src, dst, vc->vc_font.width, width 76 drivers/video/fbdev/core/fbcon_rotate.c rotate_cw(src, dst, vc->vc_font.width, width 84 drivers/video/fbdev/core/fbcon_rotate.c rotate_ccw(src, dst, vc->vc_font.width, width 40 drivers/video/fbdev/core/fbcon_rotate.h static inline void rotate_ud(const char *in, char *out, u32 width, u32 height) width 43 drivers/video/fbdev/core/fbcon_rotate.h int shift = (8 - (width % 8)) & 7; width 45 drivers/video/fbdev/core/fbcon_rotate.h width = (width + 7) & ~7; width 48 drivers/video/fbdev/core/fbcon_rotate.h for (j = 0; j < width - shift; j++) { width 49 drivers/video/fbdev/core/fbcon_rotate.h if (pattern_test_bit(j, i, width, in)) width 50 drivers/video/fbdev/core/fbcon_rotate.h pattern_set_bit(width - (1 + j + shift), width 52 drivers/video/fbdev/core/fbcon_rotate.h width, out); width 58 drivers/video/fbdev/core/fbcon_rotate.h static inline void rotate_cw(const char *in, char *out, u32 width, u32 height) width 60 drivers/video/fbdev/core/fbcon_rotate.h int i, j, h = height, w = width; width 63 drivers/video/fbdev/core/fbcon_rotate.h width = (width + 7) & ~7; width 68 drivers/video/fbdev/core/fbcon_rotate.h if (pattern_test_bit(j, i, width, in)) width 76 drivers/video/fbdev/core/fbcon_rotate.h static inline void rotate_ccw(const char *in, char *out, u32 width, u32 height) width 78 drivers/video/fbdev/core/fbcon_rotate.h int i, j, h = height, w = width; width 79 drivers/video/fbdev/core/fbcon_rotate.h int shift = (8 - (width % 8)) & 7; width 81 drivers/video/fbdev/core/fbcon_rotate.h width = (width + 7) & ~7; width 86 drivers/video/fbdev/core/fbcon_rotate.h if (pattern_test_bit(j, i, width, in)) width 87 drivers/video/fbdev/core/fbcon_rotate.h pattern_set_bit(i, width - 1 - j - shift, width 29 drivers/video/fbdev/core/fbcon_ud.c int width = (vc->vc_font.width + 7) >> 3; width 30 drivers/video/fbdev/core/fbcon_ud.c unsigned int cellsize = vc->vc_font.height * width; width 33 drivers/video/fbdev/core/fbcon_ud.c offset = offset * width; width 49 drivers/video/fbdev/core/fbcon_ud.c int sx, int dy, int dx, int height, int width) width 57 drivers/video/fbdev/core/fbcon_ud.c area.sx = vxres - ((sx + width) * vc->vc_font.width); width 59 drivers/video/fbdev/core/fbcon_ud.c area.dx = vxres - ((dx + width) * vc->vc_font.width); width 61 drivers/video/fbdev/core/fbcon_ud.c area.width = width * vc->vc_font.width; width 67 drivers/video/fbdev/core/fbcon_ud.c int sx, int height, int width) width 77 drivers/video/fbdev/core/fbcon_ud.c region.dx = vxres - ((sx + width) * vc->vc_font.width); width 78 drivers/video/fbdev/core/fbcon_ud.c region.width = width * vc->vc_font.width; width 92 drivers/video/fbdev/core/fbcon_ud.c u32 idx = vc->vc_font.width >> 3; width 125 drivers/video/fbdev/core/fbcon_ud.c u32 shift_low = 0, mod = vc->vc_font.width % 8; width 127 drivers/video/fbdev/core/fbcon_ud.c u32 idx = vc->vc_font.width >> 3; width 157 drivers/video/fbdev/core/fbcon_ud.c u32 width = (vc->vc_font.width + 7)/8; width 158 drivers/video/fbdev/core/fbcon_ud.c u32 cellsize = width * vc->vc_font.height; width 162 drivers/video/fbdev/core/fbcon_ud.c u32 mod = vc->vc_font.width % 8, cnt, pitch, size; width 174 drivers/video/fbdev/core/fbcon_ud.c image.dx = vxres - ((xx + count) * vc->vc_font.width); width 192 drivers/video/fbdev/core/fbcon_ud.c image.width = vc->vc_font.width * cnt; width 193 drivers/video/fbdev/core/fbcon_ud.c pitch = ((image.width + 7) >> 3) + scan_align; width 202 drivers/video/fbdev/core/fbcon_ud.c width, cellsize, &image, buf, dst); width 205 drivers/video/fbdev/core/fbcon_ud.c width, cellsize, &image, width 208 drivers/video/fbdev/core/fbcon_ud.c image.dx += image.width; width 225 drivers/video/fbdev/core/fbcon_ud.c unsigned int cw = vc->vc_font.width; width 237 drivers/video/fbdev/core/fbcon_ud.c region.width = rw; width 246 drivers/video/fbdev/core/fbcon_ud.c region.width = info->var.xres; width 257 drivers/video/fbdev/core/fbcon_ud.c int w = (vc->vc_font.width + 7) >> 3, c; width 310 drivers/video/fbdev/core/fbcon_ud.c ops->cursor_state.image.width != vc->vc_font.width || width 313 drivers/video/fbdev/core/fbcon_ud.c ops->cursor_state.image.width = vc->vc_font.width; width 318 drivers/video/fbdev/core/fbcon_ud.c dx = vxres - ((vc->vc_x * vc->vc_font.width) + vc->vc_font.width); width 401 drivers/video/fbdev/core/fbcon_ud.c cursor.image.width = ops->cursor_state.image.width; width 300 drivers/video/fbdev/core/fbmem.c for (j = 0; j < logo->width; src++) { width 303 drivers/video/fbdev/core/fbmem.c if (j < logo->width) { width 311 drivers/video/fbdev/core/fbmem.c for (j = 0; j < logo->width; src++) { width 313 drivers/video/fbdev/core/fbmem.c for (k = 7; k >= 0 && j < logo->width; k--) { width 357 drivers/video/fbdev/core/fbmem.c static void fb_rotate_logo_ud(const u8 *in, u8 *out, u32 width, u32 height) width 359 drivers/video/fbdev/core/fbmem.c u32 size = width * height, i; width 367 drivers/video/fbdev/core/fbmem.c static void fb_rotate_logo_cw(const u8 *in, u8 *out, u32 width, u32 height) width 372 drivers/video/fbdev/core/fbmem.c for (j = 0; j < width; j++) width 376 drivers/video/fbdev/core/fbmem.c static void fb_rotate_logo_ccw(const u8 *in, u8 *out, u32 width, u32 height) width 378 drivers/video/fbdev/core/fbmem.c int i, j, w = width - 1; width 381 drivers/video/fbdev/core/fbmem.c for (j = 0; j < width; j++) width 391 drivers/video/fbdev/core/fbmem.c fb_rotate_logo_ud(image->data, dst, image->width, width 393 drivers/video/fbdev/core/fbmem.c image->dx = info->var.xres - image->width - image->dx; width 396 drivers/video/fbdev/core/fbmem.c fb_rotate_logo_cw(image->data, dst, image->width, width 398 drivers/video/fbdev/core/fbmem.c tmp = image->width; width 399 drivers/video/fbdev/core/fbmem.c image->width = image->height; width 403 drivers/video/fbdev/core/fbmem.c image->dx = info->var.xres - image->width - tmp; width 405 drivers/video/fbdev/core/fbmem.c fb_rotate_logo_ccw(image->data, dst, image->width, width 407 drivers/video/fbdev/core/fbmem.c tmp = image->width; width 408 drivers/video/fbdev/core/fbmem.c image->width = image->height; width 423 drivers/video/fbdev/core/fbmem.c if (image->width > info->var.xres || image->height > info->var.yres) width 428 drivers/video/fbdev/core/fbmem.c x < num && image->dx + image->width <= info->var.xres; width 431 drivers/video/fbdev/core/fbmem.c image->dx += image->width + 8; width 438 drivers/video/fbdev/core/fbmem.c image->dx -= image->width + 8; width 492 drivers/video/fbdev/core/fbmem.c logo_new = kmalloc_array(logo->width, logo->height, width 513 drivers/video/fbdev/core/fbmem.c while (n && (n * (logo->width + 8) - 8 > xres)) width 515 drivers/video/fbdev/core/fbmem.c image.dx = (xres - n * (logo->width + 8) - 8) / 2; width 522 drivers/video/fbdev/core/fbmem.c image.width = logo->width; width 526 drivers/video/fbdev/core/fbmem.c logo_rotate = kmalloc_array(logo->width, logo->height, width 913 drivers/video/fbdev/core/fbmon.c var->height = var->width = 0; width 34 drivers/video/fbdev/core/softcursor.c s_pitch = (cursor->image.width + 7) >> 3; width 199 drivers/video/fbdev/core/svgalib.c if ((map->width != 8) || (map->height != 16) || width 202 drivers/video/fbdev/core/svgalib.c map->width, map->height, map->depth, map->length); width 232 drivers/video/fbdev/core/svgalib.c src = fb + (area->sx + area->width - 1) * colstride width 234 drivers/video/fbdev/core/svgalib.c dst = fb + (area->dx + area->width - 1) * colstride width 244 drivers/video/fbdev/core/svgalib.c for (dx = 0; dx < area->width; dx++) { width 267 drivers/video/fbdev/core/svgalib.c for (dx = 0; dx < rect->width; dx++) { width 289 drivers/video/fbdev/core/svgalib.c for (dx = 0; dx < blit->width; dx ++) { width 318 drivers/video/fbdev/core/syscopyarea.c u32 height = area->height, width = area->width; width 352 drivers/video/fbdev/core/syscopyarea.c width*p->var.bits_per_pixel); width 358 drivers/video/fbdev/core/syscopyarea.c width*p->var.bits_per_pixel); width 246 drivers/video/fbdev/core/sysfillrect.c unsigned long width = rect->width, height = rect->height; width 291 drivers/video/fbdev/core/sysfillrect.c fill_op32(p, dst, dst_idx, pat, width*bpp, bits); width 325 drivers/video/fbdev/core/sysfillrect.c width*bpp, bits); width 65 drivers/video/fbdev/core/sysimgblt.c n = image->width; width 119 drivers/video/fbdev/core/sysimgblt.c u32 spitch = (image->width+7)/8; width 130 drivers/video/fbdev/core/sysimgblt.c j = image->width; width 190 drivers/video/fbdev/core/sysimgblt.c u32 ppw = 32/bpp, spitch = (image->width + 7)/8; width 219 drivers/video/fbdev/core/sysimgblt.c k = image->width/ppw; width 244 drivers/video/fbdev/core/sysimgblt.c u32 width = image->width; width 273 drivers/video/fbdev/core/sysimgblt.c ((width & (32/bpp-1)) == 0) && width 20 drivers/video/fbdev/core/tileblit.c int sx, int dy, int dx, int height, int width) width 29 drivers/video/fbdev/core/tileblit.c area.width = width; width 35 drivers/video/fbdev/core/tileblit.c int sx, int height, int width) width 47 drivers/video/fbdev/core/tileblit.c rect.width = width; width 64 drivers/video/fbdev/core/tileblit.c blit.width = count; width 144 drivers/video/fbdev/core/tileblit.c map.width = vc->vc_font.width; width 167 drivers/video/fbdev/cyber2000fb.c cyber2000fb_writew(rect->width - 1, CO_REG_PIXWIDTH, cfb); width 200 drivers/video/fbdev/cyber2000fb.c cyber2000fb_writew(region->width - 1, CO_REG_PIXWIDTH, cfb); width 207 drivers/video/fbdev/cyber2000fb.c src += region->width - 1; width 208 drivers/video/fbdev/cyber2000fb.c dst += region->width - 1; width 424 drivers/video/fbdev/cyber2000fb.c u_int width; width 531 drivers/video/fbdev/cyber2000fb.c cyber2000fb_writew(hw->width, CO_REG_SRC_WIDTH, cfb); width 532 drivers/video/fbdev/cyber2000fb.c cyber2000fb_writew(hw->width, CO_REG_DEST_WIDTH, cfb); width 865 drivers/video/fbdev/cyber2000fb.c hw.width = var->xres_virtual; width 871 drivers/video/fbdev/cyber2000fb.c hw.pitch = hw.width >> 3; width 877 drivers/video/fbdev/cyber2000fb.c hw.pitch = hw.width >> 2; width 896 drivers/video/fbdev/cyber2000fb.c hw.width *= 3; width 897 drivers/video/fbdev/cyber2000fb.c hw.pitch = hw.width >> 3; width 904 drivers/video/fbdev/cyber2000fb.c hw.pitch = hw.width >> 1; width 927 drivers/video/fbdev/cyber2000fb.c hw.width -= 1; width 1457 drivers/video/fbdev/cyber2000fb.c cfb->fb.var.width = -1; width 511 drivers/video/fbdev/da8xx-fb.c static int lcd_cfg_frame_buffer(struct da8xx_fb_par *par, u32 width, u32 height, width 526 drivers/video/fbdev/da8xx-fb.c width &= 0x3f0; width 532 drivers/video/fbdev/da8xx-fb.c width &= 0x7f0; width 538 drivers/video/fbdev/da8xx-fb.c reg |= ((width >> 4) - 1) << 4; width 540 drivers/video/fbdev/da8xx-fb.c width = (width >> 4) - 1; width 541 drivers/video/fbdev/da8xx-fb.c reg |= ((width & 0x3f) << 4) | ((width & 0x40) >> 3); width 591 drivers/video/fbdev/da8xx-fb.c #define CNVT_TOHW(val, width) ((((val) << (width)) + 0x7FFF - (val)) >> 16) width 126 drivers/video/fbdev/dnfb.c .width = -1, width 164 drivers/video/fbdev/dnfb.c y_delta = (info->fix.line_length * 8) - area->sx - area->width; width 165 drivers/video/fbdev/dnfb.c x_end = area->dx + area->width - 1; width 174 drivers/video/fbdev/dnfb.c y_delta = -((info->fix.line_length * 8) - area->sx - area->width); width 175 drivers/video/fbdev/dnfb.c x_end = area->dx - area->width + 1; width 33 drivers/video/fbdev/efifb.c s32 width; width 52 drivers/video/fbdev/efifb.c .width = -1, width 101 drivers/video/fbdev/efifb.c static void efifb_copy_bmp(u8 *src, u32 *dst, int width, struct screen_info *si) width 105 drivers/video/fbdev/efifb.c while (width--) { width 188 drivers/video/fbdev/efifb.c if (dib_header->dib_header_size != 40 || dib_header->width < 0 || width 193 drivers/video/fbdev/efifb.c bmp_width = dib_header->width; width 321 drivers/video/fbdev/efifb.c efifb_attr_decl(width, "%u"); width 344 drivers/video/fbdev/ep93xx-fb.c static inline int ep93xxfb_convert_color(int val, int width) width 346 drivers/video/fbdev/ep93xx-fb.c return ((val << width) + 0x7fff - val) >> 16; width 80 drivers/video/fbdev/fb-puv3.c .width = -1, width 118 drivers/video/fbdev/fb-puv3.c int awidth = region->width; width 191 drivers/video/fbdev/fb-puv3.c if (!modded.width || !modded.height || width 195 drivers/video/fbdev/fb-puv3.c if (modded.dx + modded.width > vxres) width 196 drivers/video/fbdev/fb-puv3.c modded.width = vxres - modded.dx; width 206 drivers/video/fbdev/fb-puv3.c int awidth = area->width; width 290 drivers/video/fbdev/fb-puv3.c modded.width = area->width; width 301 drivers/video/fbdev/fb-puv3.c if (!modded.width || !modded.height || width 306 drivers/video/fbdev/fb-puv3.c if (modded.sx + modded.width > vxres) width 307 drivers/video/fbdev/fb-puv3.c modded.width = vxres - modded.sx; width 308 drivers/video/fbdev/fb-puv3.c if (modded.dx + modded.width > vxres) width 309 drivers/video/fbdev/fb-puv3.c modded.width = vxres - modded.dx; width 567 drivers/video/fbdev/fb-puv3.c #define CNVT_TOHW(val, width) ((((val)<<(width))+0x7FFF-(val))>>16) width 504 drivers/video/fbdev/ffb.c upa_writel(rect->width, &fbc->bw); width 539 drivers/video/fbdev/ffb.c upa_writel(area->width, &fbc->bw); width 558 drivers/video/fbdev/ffb.c int i, width, stride; width 569 drivers/video/fbdev/ffb.c width = image->width; width 570 drivers/video/fbdev/ffb.c stride = ((width + 7) >> 3); width 580 drivers/video/fbdev/ffb.c if (width >= 32) { width 585 drivers/video/fbdev/ffb.c while (width >= 32) { width 604 drivers/video/fbdev/ffb.c width -= 32; width 607 drivers/video/fbdev/ffb.c if (width) { width 609 drivers/video/fbdev/ffb.c upa_writel(width, &fbc->fontw); width 773 drivers/video/fbdev/fsl-diu-fb.c var->width = -1; width 996 drivers/video/fbdev/fsl-diu-fb.c unsigned int width, unsigned int height) width 1009 drivers/video/fbdev/fsl-diu-fb.c for (w = 0; w < width; w++) { width 1015 drivers/video/fbdev/fsl-diu-fb.c image += DIV_ROUND_UP(width, 8); width 1029 drivers/video/fbdev/fsl-diu-fb.c if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) width 1065 drivers/video/fbdev/fsl-diu-fb.c DIV_ROUND_UP(cursor->image.width, 8) * width 1101 drivers/video/fbdev/fsl-diu-fb.c cursor->image.width, cursor->image.height); width 1181 drivers/video/fbdev/fsl-diu-fb.c static inline __u32 CNVT_TOHW(__u32 val, __u32 width) width 1183 drivers/video/fbdev/fsl-diu-fb.c return ((val << width) + 0x7FFF - val) >> 16; width 90 drivers/video/fbdev/g364fb.c .width = -1, width 103 drivers/video/fbdev/gbefb.c .width = -1, width 134 drivers/video/fbdev/gbefb.c .width = -1, width 506 drivers/video/fbdev/gbefb.c timing->width = var->xres; width 622 drivers/video/fbdev/gbefb.c ((temp + timing->width - width 655 drivers/video/fbdev/gbefb.c xpmax = par->timing.width; width 987 drivers/video/fbdev/gbefb.c var->right_margin = timing.hsync_start - timing.width; width 291 drivers/video/fbdev/geode/gx1fb_core.c info->var.width = -1; width 305 drivers/video/fbdev/geode/gxfb_core.c info->var.width = -1; width 426 drivers/video/fbdev/geode/lxfb_core.c info->var.width = -1; width 182 drivers/video/fbdev/goldfishfb.c u32 width, height; width 211 drivers/video/fbdev/goldfishfb.c width = readl(fb->reg_base + FB_GET_WIDTH); width 219 drivers/video/fbdev/goldfishfb.c fb->fb.fix.line_length = width * 2; width 223 drivers/video/fbdev/goldfishfb.c fb->fb.var.xres = width; width 225 drivers/video/fbdev/goldfishfb.c fb->fb.var.xres_virtual = width; width 230 drivers/video/fbdev/goldfishfb.c fb->fb.var.width = readl(fb->reg_base + FB_GET_PHYS_WIDTH); width 240 drivers/video/fbdev/goldfishfb.c framesize = width * height * 2 * 2; width 245 drivers/video/fbdev/goldfishfb.c width, height, fb->fb.screen_base); width 203 drivers/video/fbdev/grvga.c #define CNVT_TOHW(val, width) ((((val)<<(width))+0x7FFF-(val))>>16) width 120 drivers/video/fbdev/hgafb.c .width = -1, width 469 drivers/video/fbdev/hgafb.c memset_io(dest, rect->color, (rect->width >> 3)); width 491 drivers/video/fbdev/hgafb.c memmove(dest, src, (area->width >> 3)); width 502 drivers/video/fbdev/hgafb.c memmove(dest, src, (area->width >> 3)); width 518 drivers/video/fbdev/hgafb.c for (x = 0; x < image->width; x+= 8) { width 36 drivers/video/fbdev/hitfb.c .width = -1, width 61 drivers/video/fbdev/hitfb.c u16 width, u16 height) width 67 drivers/video/fbdev/hitfb.c fb_writew(width-1, HD64461_BBTDWR); width 76 drivers/video/fbdev/hitfb.c u16 dy, u16 width, u16 height, u16 rop, width 83 drivers/video/fbdev/hitfb.c width--; width 86 drivers/video/fbdev/hitfb.c saddr = WIDTH * (sy + height) + sx + width; width 87 drivers/video/fbdev/hitfb.c daddr = WIDTH * (dy + height) + dx + width; width 90 drivers/video/fbdev/hitfb.c maddr = ((width >> 3) + 1) * (height + 1) - 1; width 93 drivers/video/fbdev/hitfb.c (((width >> 4) + 1) * (height + 1) - 1) * 2; width 111 drivers/video/fbdev/hitfb.c fb_writew(width, HD64461_BBTDWR); width 137 drivers/video/fbdev/hitfb.c hitfb_accel_set_dest(1, rect->dx, rect->dy, rect->width, width 142 drivers/video/fbdev/hitfb.c hitfb_accel_set_dest(0, rect->dx, rect->dy, rect->width, width 153 drivers/video/fbdev/hitfb.c area->dx, area->dy, area->width, area->height, width 72 drivers/video/fbdev/hpfb.c .width = -1, width 148 drivers/video/fbdev/hpfb.c topcat_blit(area->sx, area->sy, area->dx, area->dy, area->width, area->height, RR_COPY); width 168 drivers/video/fbdev/hpfb.c topcat_blit(region->dx, region->dy, region->dx, region->dy, region->width, region->height, -1); width 151 drivers/video/fbdev/hyperv_fb.c u32 width; /* CURSOR_MAX_X at most */ width 301 drivers/video/fbdev/hyperv_fb.c msg.ptr_shape.width = 1; width 814 drivers/video/fbdev/hyperv_fb.c info->var.width = -1; width 195 drivers/video/fbdev/i810/i810_accel.c static inline void color_blit(int width, int height, int pitch, int dest, width 205 drivers/video/fbdev/i810/i810_accel.c PUT_RING(height << 16 | width); width 301 drivers/video/fbdev/i810/i810_accel.c u32 dx, dy, width, height, dest, rop = 0, color = 0; width 317 drivers/video/fbdev/i810/i810_accel.c width = rect->width * par->depth; width 322 drivers/video/fbdev/i810/i810_accel.c color_blit(width, height, info->fix.line_length, dest, rop, color, width 329 drivers/video/fbdev/i810/i810_accel.c u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; width 339 drivers/video/fbdev/i810/i810_accel.c width = region->width * par->depth; width 349 drivers/video/fbdev/i810/i810_accel.c sx += width - 1; width 350 drivers/video/fbdev/i810/i810_accel.c dx += width - 1; width 363 drivers/video/fbdev/i810/i810_accel.c source_copy_blit(width, height, pitch, xdir, src, dest, width 393 drivers/video/fbdev/i810/i810_accel.c size = (image->width+7)/8 + 1; width 398 drivers/video/fbdev/i810/i810_accel.c mono_src_copy_imm_blit(image->width * par->depth, width 797 drivers/video/fbdev/i810/i810_main.c static void i810_load_cursor_image(int width, int height, u8 *data, width 801 drivers/video/fbdev/i810/i810_main.c int i, j, w = width/8; width 802 drivers/video/fbdev/i810/i810_main.c int mod = width % 8, t_mask, d_mask; width 1486 drivers/video/fbdev/i810/i810_main.c if (cursor->image.width > 64 || cursor->image.height > 64) width 1513 drivers/video/fbdev/i810/i810_main.c int size = ((cursor->image.width + 7) >> 3) * width 1533 drivers/video/fbdev/i810/i810_main.c i810_load_cursor_image(cursor->image.width, width 850 drivers/video/fbdev/imsttfb.c var->width = -1; width 991 drivers/video/fbdev/imsttfb.c __u32 Bpp, line_pitch, bgc, dx, dy, width, height; width 1004 drivers/video/fbdev/imsttfb.c width = rect->width * Bpp; width 1005 drivers/video/fbdev/imsttfb.c width--; width 1010 drivers/video/fbdev/imsttfb.c write_reg_le32(par->dc_regs, CNT, (height << 16) | width); width 1022 drivers/video/fbdev/imsttfb.c write_reg_le32(par->dc_regs, CNT, (height << 16) | width); width 1036 drivers/video/fbdev/imsttfb.c __u32 cnt, bltctl, sx, sy, dx, dy, height, width; width 1046 drivers/video/fbdev/imsttfb.c width = area->width * Bpp; width 1047 drivers/video/fbdev/imsttfb.c width--; width 1064 drivers/video/fbdev/imsttfb.c sx += width; width 1065 drivers/video/fbdev/imsttfb.c dx += width; width 1067 drivers/video/fbdev/imsttfb.c cnt |= -(width) & 0xffff; width 1069 drivers/video/fbdev/imsttfb.c cnt |= width; width 1087 drivers/video/fbdev/imsttfb.c imsttfb_load_cursor_image(struct imstt_par *par, int width, int height, __u8 fgc) width 1091 drivers/video/fbdev/imsttfb.c if (width > 32 || height > 32) width 1102 drivers/video/fbdev/imsttfb.c for (x = 0; x < width >> 2; x++) { width 1138 drivers/video/fbdev/imsttfb.c for (x = 0; x < width >> 3; x++) { width 1145 drivers/video/fbdev/imsttfb.c for (x = 0; x < width >> 3; x++) { width 1216 drivers/video/fbdev/imsttfb.c int width = (cursor->image.width+7)/8; width 1224 drivers/video/fbdev/imsttfb.c for (j = 0; j < width; j++) { width 1236 drivers/video/fbdev/imsttfb.c for (j = 0; j < width; j++) { width 264 drivers/video/fbdev/imxfb.c #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) width 685 drivers/video/fbdev/imxfb.c info->var.width = -1; width 988 drivers/video/fbdev/intelfb/intelfbdrv.c var->width = -1; width 1483 drivers/video/fbdev/intelfb/intelfbdrv.c rect->width, rect->height, color, width 1503 drivers/video/fbdev/intelfb/intelfbdrv.c region->dy, region->width, region->height, width 1531 drivers/video/fbdev/intelfb/intelfbdrv.c if (!intelfbhw_do_drawglyph(dinfo, fgcolor, bgcolor, image->width, width 1562 drivers/video/fbdev/intelfb/intelfbdrv.c cursor->image.width, cursor->image.height, width 1578 drivers/video/fbdev/intelfb/intelfbdrv.c intelfbhw_cursor_load(dinfo, cursor->image.width, width 1597 drivers/video/fbdev/intelfb/intelfbdrv.c if (cursor->image.width > 64 || cursor->image.height > 64) width 1618 drivers/video/fbdev/intelfb/intelfbdrv.c u32 s_pitch = (ROUND_UP_TO(cursor->image.width, 8) / 8); width 1644 drivers/video/fbdev/intelfb/intelfbdrv.c intelfbhw_cursor_load(dinfo, cursor->image.width, width 1955 drivers/video/fbdev/intelfb/intelfbhw.c void intelfbhw_cursor_load(struct intelfb_info *dinfo, int width, int height, width 1959 drivers/video/fbdev/intelfb/intelfbhw.c int i, j, w = width / 8; width 1960 drivers/video/fbdev/intelfb/intelfbhw.c int mod = width % 8, t_mask, d_mask; width 601 drivers/video/fbdev/intelfb/intelfbhw.h extern void intelfbhw_cursor_load(struct intelfb_info *dinfo, int width, width 59 drivers/video/fbdev/kyro/fbdev.c .width = -1, width 424 drivers/video/fbdev/kyro/fbdev.c var->height = var->width = -1; width 589 drivers/video/fbdev/macfb.c macfb_defined.width = PIXEL_TO_MM(macfb_defined.xres); width 276 drivers/video/fbdev/macmodes.c var->width = -1; width 209 drivers/video/fbdev/matrox/matroxfb_accel.c int sx, int dy, int dx, int height, int width) width 224 drivers/video/fbdev/matrox/matroxfb_accel.c width--; width 226 drivers/video/fbdev/matrox/matroxfb_accel.c end = start+width; width 233 drivers/video/fbdev/matrox/matroxfb_accel.c width--; width 235 drivers/video/fbdev/matrox/matroxfb_accel.c start = end+width; width 242 drivers/video/fbdev/matrox/matroxfb_accel.c mga_outl(M_FXBNDRY, ((dx+width)<<16) | dx); width 251 drivers/video/fbdev/matrox/matroxfb_accel.c int width) width 266 drivers/video/fbdev/matrox/matroxfb_accel.c width--; width 268 drivers/video/fbdev/matrox/matroxfb_accel.c end = start+width; width 275 drivers/video/fbdev/matrox/matroxfb_accel.c width--; width 277 drivers/video/fbdev/matrox/matroxfb_accel.c start = end+width; width 284 drivers/video/fbdev/matrox/matroxfb_accel.c mga_outl(M_FXBNDRY, ((dx+width)<<16) | dx); width 295 drivers/video/fbdev/matrox/matroxfb_accel.c if ((area->sx | area->dx | area->width) & 1) width 298 drivers/video/fbdev/matrox/matroxfb_accel.c matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->dy, area->dx >> 1, area->height, area->width >> 1); width 304 drivers/video/fbdev/matrox/matroxfb_accel.c matrox_accel_bmove(minfo, minfo->fbcon.var.xres_virtual, area->sy, area->sx, area->dy, area->dx, area->height, area->width); width 308 drivers/video/fbdev/matrox/matroxfb_accel.c int sy, int sx, int height, int width) width 320 drivers/video/fbdev/matrox/matroxfb_accel.c mga_outl(M_FXBNDRY, ((sx + width) << 16) | sx); width 332 drivers/video/fbdev/matrox/matroxfb_accel.c matroxfb_accel_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, rect->height, rect->width); width 338 drivers/video/fbdev/matrox/matroxfb_accel.c int sy, int sx, int height, int width) width 350 drivers/video/fbdev/matrox/matroxfb_accel.c if (!width) return; width 351 drivers/video/fbdev/matrox/matroxfb_accel.c width --; width 354 drivers/video/fbdev/matrox/matroxfb_accel.c if (width & 1) { width 357 drivers/video/fbdev/matrox/matroxfb_accel.c width >>= 1; width 359 drivers/video/fbdev/matrox/matroxfb_accel.c if (width) { width 364 drivers/video/fbdev/matrox/matroxfb_accel.c mga_outl(M_FXBNDRY, ((sx + width) << 16) | sx); width 382 drivers/video/fbdev/matrox/matroxfb_accel.c unsigned int uaddr = sy * step + sx + width; width 400 drivers/video/fbdev/matrox/matroxfb_accel.c matroxfb_cfb4_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, rect->height, rect->width); width 407 drivers/video/fbdev/matrox/matroxfb_accel.c int width, int height, int yy, int xx) width 421 drivers/video/fbdev/matrox/matroxfb_accel.c step = (width + 7) >> 3; width 425 drivers/video/fbdev/matrox/matroxfb_accel.c if (width == step << 3) { width 426 drivers/video/fbdev/matrox/matroxfb_accel.c ar0 = height * width - 1; width 429 drivers/video/fbdev/matrox/matroxfb_accel.c ar0 = width - 1; width 443 drivers/video/fbdev/matrox/matroxfb_accel.c fxbndry = ((xx + width - 1) << 16) | xx; width 509 drivers/video/fbdev/matrox/matroxfb_accel.c matroxfb_1bpp_imageblit(minfo, fgx, bgx, image->data, image->width, image->height, image->dy, image->dx); width 483 drivers/video/fbdev/matrox/matroxfb_base.c const int* width; width 490 drivers/video/fbdev/matrox/matroxfb_base.c width = minfo->capable.vxres; width 493 drivers/video/fbdev/matrox/matroxfb_base.c while (*width) { width 494 drivers/video/fbdev/matrox/matroxfb_base.c if ((*width >= xres) && (matroxfb_test_and_set_rounding(minfo, *width, bpp) == *width)) { width 497 drivers/video/fbdev/matrox/matroxfb_base.c width++; width 499 drivers/video/fbdev/matrox/matroxfb_base.c xres_new = *width; width 116 drivers/video/fbdev/matrox/matroxfb_base.h #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) width 50 drivers/video/fbdev/maxinefb.c .width = -1, width 63 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c cmd[5] = (area->height << 16) | area->width; width 72 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c u16 width, u16 height, u32 fgcolor, width 93 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c bytes = (image->width + 7) >> 3; width 99 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c cmd[8] = (height << 16) | width; width 121 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c u16 width, u16 height, u32 fgcolor, width 132 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c cmd[2] = (height << 16) | width; width 136 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c bytes = image->width; width 160 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c u16 width, u16 height, u32 fgcolor, width 170 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c bytes = image->width << 1; width 175 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c cmd[2] = (height << 16) | width; width 195 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c u16 width = image->width, height = image->height; width 200 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c x2 = image->dx + image->width; width 206 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c width = x2 - dx; width 211 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c step = (width + 31) >> 5; width 228 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c step = (width + 1) >> 1; width 234 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c step = (width + 1) >> 1; width 247 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c cmdfn(cmd, step, dx, dy, width, height, fgcolor, bgcolor, image, info); width 256 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c u32 x2, y2, vxres, vyres, height, width, fg; width 262 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c if (!rect->width || !rect->height || rect->dx > vxres width 268 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c x2 = rect->dx + rect->width; width 272 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c width = x2 - rect->dx; width 301 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c cmd[6] = (height << 16) | width; width 496 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c fbi->var.width = -1; width 93 drivers/video/fbdev/mbx/mbxfb.c .width = -1, width 361 drivers/video/fbdev/mbx/mbxfb.c vsctrl |= Vsctrl_Width(set->width) | Vsctrl_Height(set->height) | width 372 drivers/video/fbdev/mbx/mbxfb.c set->Y_stride = ((set->width) + 0xf ) & ~0xf; width 377 drivers/video/fbdev/mbx/mbxfb.c set->Y_stride = ((set->width) + 0xf ) & ~0xf; width 383 drivers/video/fbdev/mbx/mbxfb.c set->Y_stride = (set->width*2 + 0xf ) & ~0xf; width 387 drivers/video/fbdev/mbx/mbxfb.c set->Y_stride = (set->width*2 + 0xf ) & ~0xf; width 391 drivers/video/fbdev/mbx/mbxfb.c set->Y_stride = (set->width*2 + 0xf ) & ~0xf; width 395 drivers/video/fbdev/mbx/mbxfb.c set->Y_stride = (set->width*2 + 0xf ) & ~0xf; width 410 drivers/video/fbdev/mbx/mbxfb.c set->UV_stride = ((set->width/2) + 0x7 ) & ~0x7; width 439 drivers/video/fbdev/mbx/mbxfb.c if (set->scaled_width == set->width) width 445 drivers/video/fbdev/mbx/mbxfb.c shctrl |= Shctrl_Hpitch((set->width<<11)/set->scaled_width); width 508 drivers/video/fbdev/mx3fb.c uint16_t width, uint16_t height, width 521 drivers/video/fbdev/mx3fb.c dev_dbg(mx3fb->dev, "panel size = %d x %d", width, height); width 528 drivers/video/fbdev/mx3fb.c ((uint32_t) (width + h_start_width + h_end_width - 1) << 16); width 1008 drivers/video/fbdev/mx3fb.c var->width = -1; width 714 drivers/video/fbdev/neofb.c var->width = -1; width 1391 drivers/video/fbdev/neofb.c writel((rect->height << 16) | (rect->width & 0xffff), width 1408 drivers/video/fbdev/neofb.c sx += (area->width - 1); width 1409 drivers/video/fbdev/neofb.c dx += (area->width - 1); width 1424 drivers/video/fbdev/neofb.c writel((area->height << 16) | (area->width & 0xffff), width 1432 drivers/video/fbdev/neofb.c int s_pitch = (image->width * image->depth + 7) >> 3; width 1444 drivers/video/fbdev/neofb.c if (info->var.bits_per_pixel == 24 && image->width < 16) { width 1486 drivers/video/fbdev/neofb.c writel((image->height << 16) | (image->width & 0xffff), width 313 drivers/video/fbdev/nvidia/nv_accel.c NVDmaNext(par, (region->height << 16) | region->width); width 344 drivers/video/fbdev/nvidia/nv_accel.c NVDmaNext(par, (rect->width << 16) | rect->height); width 357 drivers/video/fbdev/nvidia/nv_accel.c u32 dsize, width, *data = (u32 *) image->data, tmp; width 360 drivers/video/fbdev/nvidia/nv_accel.c width = (image->width + 31) & ~31; width 361 drivers/video/fbdev/nvidia/nv_accel.c dsize = (width * image->height) >> 5; width 374 drivers/video/fbdev/nvidia/nv_accel.c ((image->dx + image->width) & 0xffff)); width 377 drivers/video/fbdev/nvidia/nv_accel.c NVDmaNext(par, (image->height << 16) | width); width 378 drivers/video/fbdev/nvidia/nv_accel.c NVDmaNext(par, (image->height << 16) | width); width 244 drivers/video/fbdev/nvidia/nv_hw.c int data, pagemiss, cas, width, video_enable, bpp; width 257 drivers/video/fbdev/nvidia/nv_hw.c width = arb->memory_width >> 6; width 302 drivers/video/fbdev/nvidia/nv_hw.c if (nvclk_freq * 2 > mclk_freq * width) width 307 drivers/video/fbdev/nvidia/nv_hw.c cbs * 1000 * 1000 / (8 * width) / width 317 drivers/video/fbdev/nvidia/nv_hw.c if (nvclk_freq * 2 > mclk_freq * width) width 322 drivers/video/fbdev/nvidia/nv_hw.c vbs * 1000 * 1000 / (8 * width) / width 417 drivers/video/fbdev/nvidia/nv_hw.c int data, pagemiss, width, video_enable, bpp; width 435 drivers/video/fbdev/nvidia/nv_hw.c width = arb->memory_width / 64; width 550 drivers/video/fbdev/nvidia/nv_hw.c if (width == 1) { width 859 drivers/video/fbdev/nvidia/nv_hw.c int width, width 867 drivers/video/fbdev/nvidia/nv_hw.c state->width = width; width 942 drivers/video/fbdev/nvidia/nv_hw.c state->repaint0 = (((width / 8) * pixelDepth) & 0x700) >> 3; width 55 drivers/video/fbdev/nvidia/nv_type.h u32 width; width 103 drivers/video/fbdev/nvidia/nvidia.c .width = -1, width 536 drivers/video/fbdev/nvidia/nvidia.c if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) width 563 drivers/video/fbdev/nvidia/nvidia.c u32 s_pitch = (cursor->image.width + 7) >> 3; width 598 drivers/video/fbdev/nvidia/nvidia.c cursor->image.width, width 390 drivers/video/fbdev/offb.c int width, int height, int depth, width 406 drivers/video/fbdev/offb.c width, height, name, address, depth, pitch); width 432 drivers/video/fbdev/offb.c var->xres = var->xres_virtual = width; width 499 drivers/video/fbdev/offb.c var->height = var->width = -1; width 541 drivers/video/fbdev/offb.c int i, width = 640, height = 480, depth = 8, pitch = 640; width 567 drivers/video/fbdev/offb.c width = be32_to_cpup(pp); width 581 drivers/video/fbdev/offb.c pitch = width * ((depth + 7) / 8); width 654 drivers/video/fbdev/offb.c width, height, depth, pitch, address, width 71 drivers/video/fbdev/omap/hwa742.c int x, y, width, height; width 188 drivers/video/fbdev/omap/hwa742.c static void enable_tearsync(int y, int width, int height, int screen_height, width 202 drivers/video/fbdev/omap/hwa742.c if (width * hwa742.pix_tx_time < hwa742.line_upd_time) { width 207 drivers/video/fbdev/omap/hwa742.c if ((width * hwa742.pix_tx_time / 1000) * height < width 332 drivers/video/fbdev/omap/hwa742.c int w = par->width; width 408 drivers/video/fbdev/omap/hwa742.c req->par.update.width = _w; \ width 421 drivers/video/fbdev/omap/hwa742.c int width = win->width; width 431 drivers/video/fbdev/omap/hwa742.c width--; width 435 drivers/video/fbdev/omap/hwa742.c if (width & ~1) { width 436 drivers/video/fbdev/omap/hwa742.c unsigned int xspan = width & ~1; width 450 drivers/video/fbdev/omap/hwa742.c width -= xspan; width 453 drivers/video/fbdev/omap/hwa742.c if (width) width 515 drivers/video/fbdev/omap/hwa742.c int pos_x, int pos_y, int width, int height, width 988 drivers/video/fbdev/omap/hwa742.c hwa742.auto_update_window.width = fbdev->panel->x_res; width 280 drivers/video/fbdev/omap/lcdc.c int pos_x, int pos_y, int width, int height, width 295 drivers/video/fbdev/omap/lcdc.c width > rot_x || height > rot_y) { width 299 drivers/video/fbdev/omap/lcdc.c "w %d h %d\n", plane, pos_x, pos_y, width, height); width 305 drivers/video/fbdev/omap/lcdc.c lcdc.xres = width; width 121 drivers/video/fbdev/omap/omapfb.h void (*transfer_area) (int width, int height, width 156 drivers/video/fbdev/omap/omapfb.h int pos_x, int pos_y, int width, width 567 drivers/video/fbdev/omap/omapfb_main.c var->width = -1; width 708 drivers/video/fbdev/omap/omapfb_main.c if (win->x + win->width > xres) width 709 drivers/video/fbdev/omap/omapfb_main.c win->width = xres - win->x; width 716 drivers/video/fbdev/omap/omapfb_main.c if (!win->width || !win->height || !win->out_width || !win->out_height) width 749 drivers/video/fbdev/omap/omapfb_main.c win.width = fbi->var.xres; width 1036 drivers/video/fbdev/omap/omapfb_main.c win.width = 2; width 1102 drivers/video/fbdev/omap/omapfb_main.c u->out_width = u->width; width 475 drivers/video/fbdev/omap/sossi.c static void sossi_transfer_area(int width, int height, width 489 drivers/video/fbdev/omap/sossi.c set_cycles(width * height * sossi.bus_pick_width / 8); width 69 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u16 width, u16 height, u16 out_width, u16 out_height, width 74 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u16 width, u16 height, u16 out_width, u16 out_height, width 758 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static void dispc_ovl_set_input_size(enum omap_plane plane, int width, width 761 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u32 val = FLD_VAL(height - 1, 26, 16) | FLD_VAL(width - 1, 10, 0); width 769 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static void dispc_ovl_set_output_size(enum omap_plane plane, int width, width 776 drivers/video/fbdev/omap2/omapfb/dss/dispc.c val = FLD_VAL(height - 1, 26, 16) | FLD_VAL(width - 1, 10, 0); width 1133 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static void dispc_mgr_set_size(enum omap_channel channel, u16 width, width 1139 drivers/video/fbdev/omap2/omapfb/dss/dispc.c FLD_VAL(width - 1, dispc.feat->mgr_width_start, 0); width 1855 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u16 width, u16 height, width 1881 drivers/video/fbdev/omap2/omapfb/dss/dispc.c width, height); width 1896 drivers/video/fbdev/omap2/omapfb/dss/dispc.c width = width >> 1; width 1907 drivers/video/fbdev/omap2/omapfb/dss/dispc.c (y_predecim * screen_width - x_predecim * width) + width 1919 drivers/video/fbdev/omap2/omapfb/dss/dispc.c width = width >> 1; width 1929 drivers/video/fbdev/omap2/omapfb/dss/dispc.c (y_predecim * screen_width + x_predecim * width) - width 1942 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u16 width, u16 height, width 1965 drivers/video/fbdev/omap2/omapfb/dss/dispc.c width, height); width 1970 drivers/video/fbdev/omap2/omapfb/dss/dispc.c fbw = width; width 1974 drivers/video/fbdev/omap2/omapfb/dss/dispc.c fbh = width; width 2096 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static void calc_tiler_rotation_offset(u16 screen_width, u16 width, width 2115 drivers/video/fbdev/omap2/omapfb/dss/dispc.c DSSDBG("scrw %d, width %d\n", screen_width, width); width 2126 drivers/video/fbdev/omap2/omapfb/dss/dispc.c *row_inc = pixinc(1 + (y_predecim * screen_width - width * x_predecim) + width 2141 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u16 width, u16 height, u16 out_width, u16 out_height, width 2155 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (out_width < width) width 2173 drivers/video/fbdev/omap2/omapfb/dss/dispc.c val, max(0, ds - 2) * width); width 2174 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (val < max(0, ds - 2) * width) width 2184 drivers/video/fbdev/omap2/omapfb/dss/dispc.c val, max(0, ds - 1) * width); width 2185 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (val < max(0, ds - 1) * width) width 2192 drivers/video/fbdev/omap2/omapfb/dss/dispc.c const struct omap_video_timings *mgr_timings, u16 width, width 2199 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (height <= out_height && width <= out_width) width 2219 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (width > out_width) { width 2220 drivers/video/fbdev/omap2/omapfb/dss/dispc.c tmp = (u64)pclk * width; width 2231 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static unsigned long calc_core_clk_24xx(unsigned long pclk, u16 width, width 2234 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (height > out_height && width > out_width) width 2240 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static unsigned long calc_core_clk_34xx(unsigned long pclk, u16 width, width 2250 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (width > 3 * out_width) width 2252 drivers/video/fbdev/omap2/omapfb/dss/dispc.c else if (width > 2 * out_width) width 2254 drivers/video/fbdev/omap2/omapfb/dss/dispc.c else if (width > out_width) width 2266 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static unsigned long calc_core_clk_44xx(unsigned long pclk, u16 width, width 2278 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (width > out_width) width 2279 drivers/video/fbdev/omap2/omapfb/dss/dispc.c return DIV_ROUND_UP(pclk, out_width) * width; width 2286 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u16 width, u16 height, u16 out_width, u16 out_height, width 2301 drivers/video/fbdev/omap2/omapfb/dss/dispc.c in_width = width / *decim_x; width 2332 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u16 width, u16 height, u16 out_width, u16 out_height, width 2344 drivers/video/fbdev/omap2/omapfb/dss/dispc.c in_width = width / *decim_x; width 2417 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u16 width, u16 height, u16 out_width, u16 out_height, width 2436 drivers/video/fbdev/omap2/omapfb/dss/dispc.c *decim_x = DIV_ROUND_UP(width, in_width_max); width 2443 drivers/video/fbdev/omap2/omapfb/dss/dispc.c in_width = width / *decim_x; width 2463 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u16 width, u16 height, u16 out_width, u16 out_height, width 2473 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (width == out_width && height == out_height) width 2503 drivers/video/fbdev/omap2/omapfb/dss/dispc.c decim_x = DIV_ROUND_UP(DIV_ROUND_UP(width, out_width), maxdownscale); width 2506 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (decim_x > *x_predecim || out_width > width * 8) width 2512 drivers/video/fbdev/omap2/omapfb/dss/dispc.c ret = dispc.feat->calc_scaling(pclk, lclk, mgr_timings, width, height, width 2520 drivers/video/fbdev/omap2/omapfb/dss/dispc.c width, height, width 2522 drivers/video/fbdev/omap2/omapfb/dss/dispc.c out_width / width, DIV_FRAC(out_width, width), width 2526 drivers/video/fbdev/omap2/omapfb/dss/dispc.c width / decim_x, height / decim_y, width 2527 drivers/video/fbdev/omap2/omapfb/dss/dispc.c out_width / (width / decim_x), DIV_FRAC(out_width, width / decim_x), width 2555 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u16 in_width = oi->width; width 2562 drivers/video/fbdev/omap2/omapfb/dss/dispc.c out_width = oi->out_width == 0 ? oi->width : oi->out_width; width 2589 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u16 screen_width, int pos_x, int pos_y, u16 width, u16 height, width 2605 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u16 in_width = width; width 2629 drivers/video/fbdev/omap2/omapfb/dss/dispc.c out_width = out_width == 0 ? width : out_width; width 2795 drivers/video/fbdev/omap2/omapfb/dss/dispc.c oi->pos_y, oi->width, oi->height, oi->out_width, oi->out_height, width 2799 drivers/video/fbdev/omap2/omapfb/dss/dispc.c oi->screen_width, oi->pos_x, oi->pos_y, oi->width, oi->height, width 2825 drivers/video/fbdev/omap2/omapfb/dss/dispc.c in_height, wi->width, wi->height, wi->color_mode, wi->rotation, width 2829 drivers/video/fbdev/omap2/omapfb/dss/dispc.c wi->buf_width, pos_x, pos_y, in_width, in_height, wi->width, width 3080 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static bool _dispc_mgr_size_ok(u16 width, u16 height) width 3082 drivers/video/fbdev/omap2/omapfb/dss/dispc.c return width <= dispc.feat->mgr_width_max && width 112 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c info.width, info.height); width 106 drivers/video/fbdev/omap2/omapfb/dss/overlay.c if (info->out_width != 0 && info->width != info->out_width) { width 149 drivers/video/fbdev/omap2/omapfb/dss/overlay.c outw = info->width; width 153 drivers/video/fbdev/omap2/omapfb/dss/overlay.c outw = info->width; width 630 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c p.uwnd_o.width, p.uwnd_o.height); width 647 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c p.uwnd.width, p.uwnd.height); width 895 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c p.display_info.width = w; width 898 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c p.display_info.width = 0; width 701 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->width = DIV_ROUND_CLOSEST(w, 1000); width 705 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->width = -1; width 900 drivers/video/fbdev/omap2/omapfb/omapfb-main.c info.width = xres; width 1575 drivers/video/fbdev/omap2/omapfb/omapfb-main.c .width = fbi->var.xres_virtual, width 93 drivers/video/fbdev/omap2/omapfb/vrfb.c static u32 get_image_width_roundup(u16 width, u8 bytespp) width 95 drivers/video/fbdev/omap2/omapfb/vrfb.c unsigned long stride = width * bytespp; width 126 drivers/video/fbdev/omap2/omapfb/vrfb.c void omap_vrfb_adjust_size(u16 *width, u16 *height, width 129 drivers/video/fbdev/omap2/omapfb/vrfb.c *width = ALIGN(*width * bytespp, VRFB_PAGE_WIDTH) / bytespp; width 134 drivers/video/fbdev/omap2/omapfb/vrfb.c u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) width 136 drivers/video/fbdev/omap2/omapfb/vrfb.c unsigned long image_width_roundup = get_image_width_roundup(width, width 142 drivers/video/fbdev/omap2/omapfb/vrfb.c return (width * height * bytespp) + get_extra_physical_size( width 147 drivers/video/fbdev/omap2/omapfb/vrfb.c u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp) width 149 drivers/video/fbdev/omap2/omapfb/vrfb.c unsigned long image_width_roundup = get_image_width_roundup(width, width 162 drivers/video/fbdev/omap2/omapfb/vrfb.c height = (phys_size - extra) / (width * bytespp); width 170 drivers/video/fbdev/omap2/omapfb/vrfb.c u16 width, u16 height, width 181 drivers/video/fbdev/omap2/omapfb/vrfb.c width, height, bytespp, yuv_mode); width 187 drivers/video/fbdev/omap2/omapfb/vrfb.c width /= 2; width 199 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb_width = ALIGN(width * bytespp, VRFB_PAGE_WIDTH) / bytespp; width 220 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb_width - width, vrfb_height - height); width 222 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->xres = width; width 224 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->xoffset = vrfb_width - width; width 128 drivers/video/fbdev/pm2fb.c .width = -1, width 199 drivers/video/fbdev/pm2fb.c u16 width; width 224 drivers/video/fbdev/pm2fb.c for (i = 0; pp_table[i].width && pp_table[i].width != xres; i++) width 226 drivers/video/fbdev/pm2fb.c if (pp_table[i].width == 0) width 666 drivers/video/fbdev/pm2fb.c var->width = -1; width 686 drivers/video/fbdev/pm2fb.c u32 width = (info->var.xres_virtual + 7) & ~7; width 728 drivers/video/fbdev/pm2fb.c stride = to3264(width, depth, 1); width 824 drivers/video/fbdev/pm2fb.c pm2_WR(par, PM2R_SCREEN_SIZE, (height << 16) | width); width 906 drivers/video/fbdev/pm2fb.c #define CNVT_TOHW(val, width) ((((val) << (width)) + 0x7FFF -(val)) >> 16) width 1067 drivers/video/fbdev/pm2fb.c if (!modded.width || !modded.height || width 1071 drivers/video/fbdev/pm2fb.c if (modded.dx + modded.width > vxres) width 1072 drivers/video/fbdev/pm2fb.c modded.width = vxres - modded.dx; width 1084 drivers/video/fbdev/pm2fb.c pm2_WR(par, PM2R_RECTANGLE_SIZE, (modded.height << 16) | modded.width); width 1122 drivers/video/fbdev/pm2fb.c if (!modded.width || !modded.height || width 1127 drivers/video/fbdev/pm2fb.c if (modded.sx + modded.width > vxres) width 1128 drivers/video/fbdev/pm2fb.c modded.width = vxres - modded.sx; width 1129 drivers/video/fbdev/pm2fb.c if (modded.dx + modded.width > vxres) width 1130 drivers/video/fbdev/pm2fb.c modded.width = vxres - modded.dx; width 1143 drivers/video/fbdev/pm2fb.c pm2_WR(par, PM2R_RECTANGLE_SIZE, (modded.height << 16) | modded.width); width 1195 drivers/video/fbdev/pm2fb.c ((image->dx + image->width) & 0x0fff)); width 1203 drivers/video/fbdev/pm2fb.c ((image->width) & 0x0fff)); width 1236 drivers/video/fbdev/pm2fb.c int width = ((image->width + 7) >> 3) width 1238 drivers/video/fbdev/pm2fb.c width >>= 2; width 1239 drivers/video/fbdev/pm2fb.c WAIT_FIFO(par, width); width 1240 drivers/video/fbdev/pm2fb.c while (width--) { width 1323 drivers/video/fbdev/pm2fb.c int j = (cursor->image.width + 7) >> 3; width 1369 drivers/video/fbdev/pm2fb.c if (cursor->image.width > 64 || width 1432 drivers/video/fbdev/pm2fb.c int j = (cursor->image.width + 7) >> 3; width 1458 drivers/video/fbdev/pm2fb.c int j = (cursor->image.width + 7) >> 3; width 216 drivers/video/fbdev/pm3fb.c const u32 width = (info->var.xres_virtual + 7) & ~7; width 272 drivers/video/fbdev/pm3fb.c PM3FBDestReadBufferWidth_Width(width)); width 280 drivers/video/fbdev/pm3fb.c PM3FBSourceReadBufferWidth_Width(width)); width 326 drivers/video/fbdev/pm3fb.c PM3FBWriteBufferWidth_Width(width)); width 402 drivers/video/fbdev/pm3fb.c if (!modded.width || !modded.height || width 406 drivers/video/fbdev/pm3fb.c if (modded.dx + modded.width > vxres) width 407 drivers/video/fbdev/pm3fb.c modded.width = vxres - modded.dx; width 435 drivers/video/fbdev/pm3fb.c PM3Render2D_Width(modded.width) | width 459 drivers/video/fbdev/pm3fb.c if (!modded.width || !modded.height || width 464 drivers/video/fbdev/pm3fb.c if (modded.sx + modded.width > vxres) width 465 drivers/video/fbdev/pm3fb.c modded.width = vxres - modded.sx; width 466 drivers/video/fbdev/pm3fb.c if (modded.dx + modded.width > vxres) width 467 drivers/video/fbdev/pm3fb.c modded.width = vxres - modded.dx; width 491 drivers/video/fbdev/pm3fb.c ((modded.dx + modded.width) & 0x0fff)); width 507 drivers/video/fbdev/pm3fb.c PM3Render2D_Width(modded.width + x_align) | width 566 drivers/video/fbdev/pm3fb.c ((image->dx + image->width) & 0x0fff)); width 575 drivers/video/fbdev/pm3fb.c PM3Render2D_Width(image->width) | width 580 drivers/video/fbdev/pm3fb.c int width = ((image->width + 7) >> 3) width 582 drivers/video/fbdev/pm3fb.c width >>= 2; width 584 drivers/video/fbdev/pm3fb.c while (width >= PM3_FIFO_SIZE) { width 592 drivers/video/fbdev/pm3fb.c width -= PM3_FIFO_SIZE - 1; width 595 drivers/video/fbdev/pm3fb.c PM3_WAIT(par, width + 1); width 596 drivers/video/fbdev/pm3fb.c while (width--) { width 621 drivers/video/fbdev/pm3fb.c if (cursor->image.width > 64 || width 685 drivers/video/fbdev/pm3fb.c int j = (cursor->image.width + 7) >> 3; width 730 drivers/video/fbdev/pm3fb.c const u32 width = (info->var.xres_virtual + 7) & ~7; width 750 drivers/video/fbdev/pm3fb.c pm3fb_shift_bpp(bpp, width)); width 957 drivers/video/fbdev/pm3fb.c var->width = -1; width 1105 drivers/video/fbdev/pm3fb.c #define CNVT_TOHW(val, width) ((((val) << (width)) + 0x7FFF - (val)) >> 16) width 109 drivers/video/fbdev/pmag-aa-fb.c cursor->image.width > BT431_CURSOR_SIZE) { width 131 drivers/video/fbdev/pmag-aa-fb.c cursor->image.width, cursor->image.height); width 57 drivers/video/fbdev/pmag-ba-fb.c .width = -1, width 54 drivers/video/fbdev/pmagb-b-fb.c .width = -1, width 126 drivers/video/fbdev/ps3fb.c unsigned int width; width 441 drivers/video/fbdev/ps3fb.c u64 dst_offset, u64 src_offset, u32 width, width 458 drivers/video/fbdev/ps3fb.c (width << 16) | height, width 497 drivers/video/fbdev/ps3fb.c par->width, par->height, par->ddr_line_length, width 593 drivers/video/fbdev/ps3fb.c var->width = -1; width 630 drivers/video/fbdev/ps3fb.c par->width = info->var.xres; width 169 drivers/video/fbdev/pvr2fb.c .width = -1, width 755 drivers/video/fbdev/pxafb.c ofb->fb.var.width = -1; width 887 drivers/video/fbdev/pxafb.c ofb->fb.var.width = -1; width 1824 drivers/video/fbdev/pxafb.c fbi->fb.var.width = -1; width 50 drivers/video/fbdev/q40fb.c .width = 300, width 232 drivers/video/fbdev/riva/fbdev.c .width = -1, width 674 drivers/video/fbdev/riva/fbdev.c int bpp, width, hDisplaySize, hDisplay, hStart, width 688 drivers/video/fbdev/riva/fbdev.c width = info->var.xres_virtual; width 746 drivers/video/fbdev/riva/fbdev.c newmode.crtc[0x13] = (width / 8) * ((bpp + 1) / 8); width 783 drivers/video/fbdev/riva/fbdev.c rc = CalcStateExt(&par->riva, &newmode.ext, par->pdev, bpp, width, width 1429 drivers/video/fbdev/riva/fbdev.c (rect->width << 16) | rect->height); width 1462 drivers/video/fbdev/riva/fbdev.c (region->height << 16) | region->width); width 1495 drivers/video/fbdev/riva/fbdev.c u32 fgx = 0, bgx = 0, width, tmp; width 1529 drivers/video/fbdev/riva/fbdev.c ((image->dx + image->width) & 0xffff))); width 1533 drivers/video/fbdev/riva/fbdev.c (image->height << 16) | ((image->width + 31) & ~31)); width 1535 drivers/video/fbdev/riva/fbdev.c (image->height << 16) | ((image->width + 31) & ~31)); width 1541 drivers/video/fbdev/riva/fbdev.c width = (image->width + 31)/32; width 1542 drivers/video/fbdev/riva/fbdev.c size = width * image->height; width 1584 drivers/video/fbdev/riva/fbdev.c if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS) width 1612 drivers/video/fbdev/riva/fbdev.c u32 s_pitch = (cursor->image.width+7) >> 3; width 1649 drivers/video/fbdev/riva/fbdev.c cursor->image.width, width 659 drivers/video/fbdev/riva/riva_hw.c int data, pagemiss, cas,width, video_enable, color_key_enable, bpp, align; width 673 drivers/video/fbdev/riva/riva_hw.c width = arb->memory_width >> 6; width 721 drivers/video/fbdev/riva/riva_hw.c if (nvclk_freq * 2 > mclk_freq * width) width 724 drivers/video/fbdev/riva/riva_hw.c video_fill_us = cbs*1000*1000 / (8 * width) / mclk_freq; width 731 drivers/video/fbdev/riva/riva_hw.c if (nvclk_freq * 2 > mclk_freq * width) width 734 drivers/video/fbdev/riva/riva_hw.c video_fill_us = vbs*1000*1000 / (8 * width) / mclk_freq; width 845 drivers/video/fbdev/riva/riva_hw.c int data, pagemiss, cas,width, video_enable, color_key_enable, bpp, align; width 864 drivers/video/fbdev/riva/riva_hw.c width = arb->memory_width/64; width 996 drivers/video/fbdev/riva/riva_hw.c if(width == 1){ width 1004 drivers/video/fbdev/riva/riva_hw.c us_extra = (cbs * 1000 * 1000)/ (8*width)/mclk_freq ; width 1021 drivers/video/fbdev/riva/riva_hw.c pclks_2_top_fifo = (1024-clwm)/(8*width); width 1241 drivers/video/fbdev/riva/riva_hw.c int width, width 1255 drivers/video/fbdev/riva/riva_hw.c state->width = width; width 1276 drivers/video/fbdev/riva/riva_hw.c state->config = ((width + 31)/32) width 1330 drivers/video/fbdev/riva/riva_hw.c state->repaint0 = (((width/8)*pixelDepth) & 0x700) >> 3; width 1339 drivers/video/fbdev/riva/riva_hw.c state->pitch3 = pixelDepth * width; width 496 drivers/video/fbdev/riva/riva_hw.h U032 width; width 541 drivers/video/fbdev/riva/riva_hw.h int width, width 440 drivers/video/fbdev/s1d13xxxfb.c u16 width = area->width, height = area->height; width 451 drivers/video/fbdev/s1d13xxxfb.c dst = (((dy + height - 1) * stride) + (bpp * (dx + width - 1))); width 452 drivers/video/fbdev/s1d13xxxfb.c src = (((sy + height - 1) * stride) + (bpp * (sx + width - 1))); width 471 drivers/video/fbdev/s1d13xxxfb.c s1d13xxxfb_writereg(info->par, S1DREG_BBLT_WIDTH0, (width & 0xff) - 1); width 472 drivers/video/fbdev/s1d13xxxfb.c s1d13xxxfb_writereg(info->par, S1DREG_BBLT_WIDTH1, (width >> 8)); width 498 drivers/video/fbdev/s1d13xxxfb.c dbg_blit("(copyarea) width=%d, height=%d\n", width - 1, height - 1); width 542 drivers/video/fbdev/s1d13xxxfb.c rect->width - 1, rect->height - 1); width 555 drivers/video/fbdev/s1d13xxxfb.c s1d13xxxfb_writereg(info->par, S1DREG_BBLT_WIDTH0, ((rect->width) & 0x00ff) - 1); width 556 drivers/video/fbdev/s1d13xxxfb.c s1d13xxxfb_writereg(info->par, S1DREG_BBLT_WIDTH1, (rect->width >> 8)); width 161 drivers/video/fbdev/s3c2410fb.c var->width = display->width; width 296 drivers/video/fbdev/s3fb.c if ((map->width != 8) || (map->height != 16) || width 299 drivers/video/fbdev/s3fb.c map->width, map->height, map->depth, map->length); width 364 drivers/video/fbdev/s3fb.c for (x = 0; x < image->width; x += 8) { width 369 drivers/video/fbdev/s3fb.c src1 += image->width / 8; width 388 drivers/video/fbdev/s3fb.c for (x = 0; x < rect->width; x += 8) { width 421 drivers/video/fbdev/s3fb.c for (x = 0; x < image->width; x += 8) { width 426 drivers/video/fbdev/s3fb.c src1 += image->width / 8; width 434 drivers/video/fbdev/s3fb.c && ((image->width % 8) == 0) && ((image->dx % 8) == 0)) { width 446 drivers/video/fbdev/s3fb.c && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0) width 1101 drivers/video/fbdev/sa1100fb.c fbi->fb.var.width = -1; width 38 drivers/video/fbdev/savage/savagefb_accel.c if (!region->width || !region->height) width 47 drivers/video/fbdev/savage/savagefb_accel.c sx += region->width - 1; width 48 drivers/video/fbdev/savage/savagefb_accel.c dx += region->width - 1; width 62 drivers/video/fbdev/savage/savagefb_accel.c BCI_SEND(BCI_W_H(region->width, region->height)); width 70 drivers/video/fbdev/savage/savagefb_accel.c if (!rect->width || !rect->height) width 89 drivers/video/fbdev/savage/savagefb_accel.c BCI_SEND( BCI_W_H(rect->width, rect->height) ); width 95 drivers/video/fbdev/savage/savagefb_accel.c int fg, bg, size, i, width; width 99 drivers/video/fbdev/savage/savagefb_accel.c if (!image->width || !image->height) width 122 drivers/video/fbdev/savage/savagefb_accel.c width = (image->width + 31) & ~31; width 123 drivers/video/fbdev/savage/savagefb_accel.c size = (width * image->height)/8; width 128 drivers/video/fbdev/savage/savagefb_accel.c BCI_SEND(BCI_CLIP_LR(image->dx, image->dx + image->width - 1)); width 132 drivers/video/fbdev/savage/savagefb_accel.c BCI_SEND(BCI_W_H(width, image->height)); width 974 drivers/video/fbdev/savage/savagefb_driver.c int width, dclk, i, j; /*, refresh; */ width 1139 drivers/video/fbdev/savage/savagefb_driver.c width = (var->xres_virtual * ((var->bits_per_pixel+7) / 8)) >> 3; width 1140 drivers/video/fbdev/savage/savagefb_driver.c reg->CR91 = reg->CRTC[19] = 0xff & width; width 1141 drivers/video/fbdev/savage/savagefb_driver.c reg->CR51 = (0x300 & width) >> 4; width 1142 drivers/video/fbdev/savage/savagefb_driver.c reg->CR90 = 0x80 | (width >> 8); width 2134 drivers/video/fbdev/savage/savagefb_driver.c info->var.width = -1; width 1773 drivers/video/fbdev/sh_mobile_lcdcfb.c var.width = ch->display.width; width 1931 drivers/video/fbdev/sh_mobile_lcdcfb.c .width = ch->xres, width 2099 drivers/video/fbdev/sh_mobile_lcdcfb.c var->width = ch->display.width; width 2480 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->display.width = cfg->panel_cfg.width; width 98 drivers/video/fbdev/sh_mobile_lcdcfb.h unsigned int width; width 37 drivers/video/fbdev/simplefb.c .width = -1, width 93 drivers/video/fbdev/simplefb.c u32 width; width 107 drivers/video/fbdev/simplefb.c ret = of_property_read_u32(np, "width", ¶ms->width); width 151 drivers/video/fbdev/simplefb.c params->width = pd->width; width 441 drivers/video/fbdev/simplefb.c info->var.xres = params.width; width 443 drivers/video/fbdev/simplefb.c info->var.xres_virtual = params.width; width 105 drivers/video/fbdev/sis/sis_accel.c int src_y, int dst_x, int dst_y, int width, int height) width 122 drivers/video/fbdev/sis/sis_accel.c src_x += width-1; width 123 drivers/video/fbdev/sis/sis_accel.c dst_x += width-1; width 129 drivers/video/fbdev/sis/sis_accel.c SiS300SetupRect(width, height) width 192 drivers/video/fbdev/sis/sis_accel.c int dst_x, int dst_y, int width, int height) width 231 drivers/video/fbdev/sis/sis_accel.c SiS310SetupRect(width, height) width 311 drivers/video/fbdev/sis/sis_accel.c int width, height; width 322 drivers/video/fbdev/sis/sis_accel.c if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) width 326 drivers/video/fbdev/sis/sis_accel.c width = ((rect->dx + rect->width) > vxres) ? (vxres - rect->dx) : rect->width; width 341 drivers/video/fbdev/sis/sis_accel.c SiS300SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); width 348 drivers/video/fbdev/sis/sis_accel.c SiS310SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); width 361 drivers/video/fbdev/sis/sis_accel.c int width = area->width; width 373 drivers/video/fbdev/sis/sis_accel.c if(!width || !height || width 379 drivers/video/fbdev/sis/sis_accel.c if((area->sx + width) > vxres) width = vxres - area->sx; width 380 drivers/video/fbdev/sis/sis_accel.c if((area->dx + width) > vxres) width = vxres - area->dx; width 396 drivers/video/fbdev/sis/sis_accel.c area->dx, area->dy, width, height); width 404 drivers/video/fbdev/sis/sis_accel.c area->dx, area->dy, width, height); width 34 drivers/video/fbdev/sis/sis_main.h .width = -1, width 362 drivers/video/fbdev/skeletonfb.c #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) width 1055 drivers/video/fbdev/sm501fb.c if (cursor->image.width > 64) width 1124 drivers/video/fbdev/sm501fb.c __func__, cursor->image.width, cursor->image.height); width 1130 drivers/video/fbdev/sm501fb.c for (x = 0; x < cursor->image.width; x++) { width 1306 drivers/video/fbdev/sm501fb.c int width = area->width; width 1319 drivers/video/fbdev/sm501fb.c if ((sx + width) >= info->var.xres_virtual) width 1320 drivers/video/fbdev/sm501fb.c width = info->var.xres_virtual - sx - 1; width 1329 drivers/video/fbdev/sm501fb.c if ((dx + width) >= info->var.xres_virtual) width 1330 drivers/video/fbdev/sm501fb.c width = info->var.xres_virtual - dx - 1; width 1336 drivers/video/fbdev/sm501fb.c sx += width - 1; width 1337 drivers/video/fbdev/sm501fb.c dx += width - 1; width 1382 drivers/video/fbdev/sm501fb.c smc501_writel((width << 16) | height, fbi->regs2d + SM501_2D_DIMENSION); width 1392 drivers/video/fbdev/sm501fb.c int width = rect->width, height = rect->height; width 1398 drivers/video/fbdev/sm501fb.c if ((rect->dx + width) >= info->var.xres_virtual) width 1399 drivers/video/fbdev/sm501fb.c width = info->var.xres_virtual - rect->dx - 1; width 1446 drivers/video/fbdev/sm501fb.c smc501_writel((width << 16) | height, fbi->regs2d + SM501_2D_DIMENSION); width 50 drivers/video/fbdev/sm712fb.c u_int width; width 70 drivers/video/fbdev/sm712fb.c .width = -1, width 1188 drivers/video/fbdev/sm712fb.c sfb->width, sfb->height, sfb->fb->var.bits_per_pixel, sfb->hz); width 1191 drivers/video/fbdev/sm712fb.c if (vgamode[j].mmsizex != sfb->width || width 1266 drivers/video/fbdev/sm712fb.c m_nscreenstride = (sfb->width * sfb->fb->var.bits_per_pixel) / 64; width 1342 drivers/video/fbdev/sm712fb.c sfb->width = sfb->fb->var.xres; width 811 drivers/video/fbdev/smscufx.c int width, int height) width 813 drivers/video/fbdev/smscufx.c size_t packed_line_len = ALIGN((width * 2), 4); width 828 drivers/video/fbdev/smscufx.c cmd[6] = cpu_to_le16(width); width 845 drivers/video/fbdev/smscufx.c (char *)dev->info->fix.smem_start + byte_offset, width * BPP); width 850 drivers/video/fbdev/smscufx.c int width, int height) width 852 drivers/video/fbdev/smscufx.c size_t packed_line_len = ALIGN((width * 2), 4); width 855 drivers/video/fbdev/smscufx.c if ((width <= 0) || (height <= 0) || width 856 drivers/video/fbdev/smscufx.c (x + width > dev->info->var.xres) || width 871 drivers/video/fbdev/smscufx.c BUG_ON(urb->transfer_buffer_length < (24 + (width * 2))); width 881 drivers/video/fbdev/smscufx.c ufx_raw_rect(dev, urb->transfer_buffer, x, (y + start_line), width, urb_lines); width 926 drivers/video/fbdev/smscufx.c area->width, area->height); width 937 drivers/video/fbdev/smscufx.c image->width, image->height); width 947 drivers/video/fbdev/smscufx.c ufx_handle_damage(dev, rect->dx, rect->dy, rect->width, width 973 drivers/video/fbdev/smscufx.c const int width = dev->info->var.xres; width 974 drivers/video/fbdev/smscufx.c const int y = (cur->index << PAGE_SHIFT) / (width * 2); width 975 drivers/video/fbdev/smscufx.c int height = (PAGE_SIZE / (width * 2)) + 1; width 981 drivers/video/fbdev/smscufx.c ufx_handle_damage(dev, x, y, width, height); width 87 drivers/video/fbdev/ssd1307fb.c u32 width; width 166 drivers/video/fbdev/ssd1307fb.c array = ssd1307fb_alloc_array(par->width * pages, SSD1307FB_DATA); width 200 drivers/video/fbdev/ssd1307fb.c for (j = 0; j < par->width; j++) { width 202 drivers/video/fbdev/ssd1307fb.c u32 array_idx = i * par->width + j; width 216 drivers/video/fbdev/ssd1307fb.c ssd1307fb_write_array(par->client, array, par->width * pages); width 475 drivers/video/fbdev/ssd1307fb.c ret = ssd1307fb_write_cmd(par->client, par->width - 1); width 638 drivers/video/fbdev/ssd1307fb.c if (of_property_read_u32(node, "solomon,width", &par->width)) width 639 drivers/video/fbdev/ssd1307fb.c par->width = 96; width 678 drivers/video/fbdev/ssd1307fb.c vmem_size = DIV_ROUND_UP(par->width, 8) * par->height; width 701 drivers/video/fbdev/ssd1307fb.c info->fix.line_length = DIV_ROUND_UP(par->width, 8); width 705 drivers/video/fbdev/ssd1307fb.c info->var.xres = par->width; width 706 drivers/video/fbdev/ssd1307fb.c info->var.xres_virtual = par->width; width 448 drivers/video/fbdev/sstfb.c var->width = -1; width 786 drivers/video/fbdev/sstfb.c sst_write(BLTSIZE, area->width | (area->height << 16)); width 814 drivers/video/fbdev/sstfb.c sst_write(BLTSIZE, rect->width | (rect->height << 16)); width 52 drivers/video/fbdev/sticore.h #define sti_font_x(sti) (PTR_STI(sti->font)->width) width 236 drivers/video/fbdev/sticore.h u8 width; width 300 drivers/video/fbdev/sticore.h s16 width; /* block width in pixels */ width 396 drivers/video/fbdev/sticore.h int height, int width, u8 color); width 398 drivers/video/fbdev/sticore.h int height, int width, int c); width 400 drivers/video/fbdev/sticore.h int dst_y, int dst_x, int height, int width); width 473 drivers/video/fbdev/stifb.c SET_ATTR_SIZE(struct stifb_info *fb, int width, int height) width 483 drivers/video/fbdev/stifb.c WRITE_WORD((width<<16) | height, fb, REG_9); width 1038 drivers/video/fbdev/stifb.c WRITE_WORD(((area->width << 16) | area->height), fb, REG_7); width 21 drivers/video/fbdev/sunxvr1000.c unsigned int width; width 31 drivers/video/fbdev/sunxvr1000.c gp->width = of_getintprop_default(gp->of_node, "width", 0); width 35 drivers/video/fbdev/sunxvr1000.c if (!gp->width || !gp->height) { width 92 drivers/video/fbdev/sunxvr1000.c var->xres = gp->width; width 25 drivers/video/fbdev/sunxvr2500.c unsigned int width; width 35 drivers/video/fbdev/sunxvr2500.c sp->width = of_getintprop_default(sp->of_node, "width", 0); width 39 drivers/video/fbdev/sunxvr2500.c if (!sp->width || !sp->height) { width 96 drivers/video/fbdev/sunxvr2500.c var->xres = sp->width; width 169 drivers/video/fbdev/sunxvr2500.c info->fix.line_length = sp->width; width 172 drivers/video/fbdev/sunxvr2500.c info->fix.line_length = sp->width * 2; width 175 drivers/video/fbdev/sunxvr2500.c info->fix.line_length = sp->width * 3; width 178 drivers/video/fbdev/sunxvr2500.c info->fix.line_length = sp->width * 4; width 43 drivers/video/fbdev/sunxvr500.c unsigned int width; width 57 drivers/video/fbdev/sunxvr500.c ep->width = of_getintprop_default(ep->of_node, "width", 0); width 61 drivers/video/fbdev/sunxvr500.c if (!ep->width || !ep->height) { width 219 drivers/video/fbdev/sunxvr500.c var->xres = ep->width; width 106 drivers/video/fbdev/tdfxfb.c .width = -1, width 534 drivers/video/fbdev/tdfxfb.c var->width = -1; width 738 drivers/video/fbdev/tdfxfb.c #define CNVT_TOHW(val, width) ((((val) << (width)) + 0x7FFF - (val)) >> 16) width 868 drivers/video/fbdev/tdfxfb.c if (dx + rect->width > 4095) { width 881 drivers/video/fbdev/tdfxfb.c tdfx_outl(par, DSTSIZE, rect->width | (rect->height << 16)); width 906 drivers/video/fbdev/tdfxfb.c if (sx + area->width > 4095) { width 916 drivers/video/fbdev/tdfxfb.c if (dx + area->width > 4095) { width 924 drivers/video/fbdev/tdfxfb.c sx += area->width - 1; width 925 drivers/video/fbdev/tdfxfb.c dx += area->width - 1; width 939 drivers/video/fbdev/tdfxfb.c tdfx_outl(par, DSTSIZE, area->width | (area->height << 16)); width 949 drivers/video/fbdev/tdfxfb.c int size = image->height * ((image->width * image->depth + 7) >> 3); width 994 drivers/video/fbdev/tdfxfb.c if (dx + image->width > 4095) { width 1006 drivers/video/fbdev/tdfxfb.c tdfx_outl(par, DSTSIZE, image->width | (image->height << 16)); width 1050 drivers/video/fbdev/tdfxfb.c if (cursor->image.width > 64 || width 1124 drivers/video/fbdev/tdfxfb.c int j = (cursor->image.width + 7) >> 3; width 623 drivers/video/fbdev/tgafb.c u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; width 634 drivers/video/fbdev/tgafb.c width = image->width; width 639 drivers/video/fbdev/tgafb.c rincr = (width + 7) / 8; width 642 drivers/video/fbdev/tgafb.c if (unlikely(width == 0)) width 647 drivers/video/fbdev/tgafb.c if (dx + width > vxres) width 648 drivers/video/fbdev/tgafb.c width = vxres - dx; width 695 drivers/video/fbdev/tgafb.c if (width + shift <= 32) { width 702 drivers/video/fbdev/tgafb.c pixelmask = (2ul << (width - 1)) - 1; width 707 drivers/video/fbdev/tgafb.c bwidth = (width + 7) / 8; width 738 drivers/video/fbdev/tgafb.c bwidth = (width / 8) & -4; width 753 drivers/video/fbdev/tgafb.c pixelmask = (1ul << (width & 31)) - 1; width 760 drivers/video/fbdev/tgafb.c bwidth = ((width & 31) + 7) / 8; width 788 drivers/video/fbdev/tgafb.c bwidth = (width / 8) & -2; width 802 drivers/video/fbdev/tgafb.c pixelmask = ((1ul << (width & 15)) - 1) << shift; width 809 drivers/video/fbdev/tgafb.c bwidth = (width & 15) > 8; width 836 drivers/video/fbdev/tgafb.c u32 color, dx, dy, width, height, vxres, vyres; width 844 drivers/video/fbdev/tgafb.c width = image->width; width 853 drivers/video/fbdev/tgafb.c if (dx + width > vxres) width 854 drivers/video/fbdev/tgafb.c width = vxres - dx; width 866 drivers/video/fbdev/tgafb.c for (j = 0; j < width; j++) { width 924 drivers/video/fbdev/tgafb.c u32 dx, dy, width, height, vxres, vyres, color; width 931 drivers/video/fbdev/tgafb.c width = rect->width; width 940 drivers/video/fbdev/tgafb.c if (dx > vxres || dy > vyres || !width || !height) width 942 drivers/video/fbdev/tgafb.c if (dx + width > vxres) width 943 drivers/video/fbdev/tgafb.c width = vxres - dx; width 992 drivers/video/fbdev/tgafb.c if (width == line_length) width 993 drivers/video/fbdev/tgafb.c width *= height, height = 1; width 1001 drivers/video/fbdev/tgafb.c if (width <= 2048) { width 1004 drivers/video/fbdev/tgafb.c data = (width - 1) | align; width 1012 drivers/video/fbdev/tgafb.c unsigned long nwidth = width & -2048; width 1016 drivers/video/fbdev/tgafb.c ldata = ((width & 2047) - 1) | align; width 1021 drivers/video/fbdev/tgafb.c if (j < width) width 1051 drivers/video/fbdev/tgafb.c u32 height, u32 width) width 1062 drivers/video/fbdev/tgafb.c n64 = (height * width) / 64; width 1065 drivers/video/fbdev/tgafb.c spos = (sy + height) * width; width 1066 drivers/video/fbdev/tgafb.c dpos = (dy + height) * width; width 1077 drivers/video/fbdev/tgafb.c spos = sy * width; width 1078 drivers/video/fbdev/tgafb.c dpos = dy * width; width 1096 drivers/video/fbdev/tgafb.c u32 height, u32 width) width 1110 drivers/video/fbdev/tgafb.c n16 = (height * width) / 16; width 1113 drivers/video/fbdev/tgafb.c src = tga_fb + (sy + height) * width * 4; width 1114 drivers/video/fbdev/tgafb.c dst = tga_fb + (dy + height) * width * 4; width 1125 drivers/video/fbdev/tgafb.c src = tga_fb + sy * width * 4; width 1126 drivers/video/fbdev/tgafb.c dst = tga_fb + dy * width * 4; width 1145 drivers/video/fbdev/tgafb.c u32 height, u32 width, u32 line_length, width 1157 drivers/video/fbdev/tgafb.c if ((dx | sx | width) & 7) { width 1168 drivers/video/fbdev/tgafb.c backward = dy == sy && dx > sx && dx < sx + width; width 1175 drivers/video/fbdev/tgafb.c depos += width, sepos += width; width 1178 drivers/video/fbdev/tgafb.c n32 = width / 32; width 1179 drivers/video/fbdev/tgafb.c last_step = width % 32; width 1253 drivers/video/fbdev/tgafb.c unsigned long dx, dy, width, height, sx, sy, vxres, vyres; width 1258 drivers/video/fbdev/tgafb.c width = area->width; width 1271 drivers/video/fbdev/tgafb.c if (dx + width > vxres) width 1272 drivers/video/fbdev/tgafb.c width = vxres - dx; width 1277 drivers/video/fbdev/tgafb.c if (sx + width > vxres || sy + height > vyres) width 1283 drivers/video/fbdev/tgafb.c if (!(line_length & 63) && width * (bpp >> 3) == line_length) { width 1285 drivers/video/fbdev/tgafb.c copyarea_line_8bpp(info, dy, sy, height, width); width 1287 drivers/video/fbdev/tgafb.c copyarea_line_32bpp(info, dy, sy, height, width); width 1298 drivers/video/fbdev/tgafb.c width, line_length, area); width 433 drivers/video/fbdev/tmiofb.c TMIOFB_ACC_DHPIX(rect->width - 1), width 453 drivers/video/fbdev/tmiofb.c TMIOFB_ACC_DHPIX(area->width - 1), width 474 drivers/video/fbdev/tmiofb.c .width = info->mode->xres, width 600 drivers/video/fbdev/tmiofb.c var->width = data->width; /* mm */ width 634 drivers/video/fbdev/tridentfb.c par->fill_rect(par, fr->dx, fr->dy, fr->width, width 663 drivers/video/fbdev/tridentfb.c img->width, img->height, col, bgcol); width 679 drivers/video/fbdev/tridentfb.c ca->width, ca->height); width 792 drivers/video/fbdev/tridentfb.c static inline void set_lwidth(struct tridentfb_par *par, int width) width 794 drivers/video/fbdev/tridentfb.c write3X4(par, VGA_CRTC_OFFSET, width & 0xFF); width 799 drivers/video/fbdev/tridentfb.c (read3X4(par, AddColReg) & 0xEF) | ((width & 0x100) >> 4)); width 802 drivers/video/fbdev/tridentfb.c (read3X4(par, AddColReg) & 0xCF) | ((width & 0x300) >> 4)); width 369 drivers/video/fbdev/udlfb.c const int width = *width_bytes / sizeof(unsigned long); width 370 drivers/video/fbdev/udlfb.c int identical = width; width 371 drivers/video/fbdev/udlfb.c int start = width; width 372 drivers/video/fbdev/udlfb.c int end = width; width 374 drivers/video/fbdev/udlfb.c for (j = 0; j < width; j++) { width 381 drivers/video/fbdev/udlfb.c for (k = width - 1; k > j; k--) { width 388 drivers/video/fbdev/udlfb.c identical = start + (width - end); width 594 drivers/video/fbdev/udlfb.c static int dlfb_handle_damage(struct dlfb_data *dlfb, int x, int y, int width, int height) width 609 drivers/video/fbdev/udlfb.c width = DL_ALIGN_UP(width + (x-aligned_x), sizeof(unsigned long)); width 612 drivers/video/fbdev/udlfb.c if ((width <= 0) || width 613 drivers/video/fbdev/udlfb.c (x + width > dlfb->info->var.xres) || width 637 drivers/video/fbdev/udlfb.c &cmd, byte_offset, width * BPP, width 656 drivers/video/fbdev/udlfb.c atomic_add(width*height*2, &dlfb->bytes_rendered); width 694 drivers/video/fbdev/udlfb.c static void dlfb_offload_damage(struct dlfb_data *dlfb, int x, int y, int width, int height) width 697 drivers/video/fbdev/udlfb.c int x2 = x + width; width 750 drivers/video/fbdev/udlfb.c area->width, area->height); width 761 drivers/video/fbdev/udlfb.c image->width, image->height); width 771 drivers/video/fbdev/udlfb.c dlfb_offload_damage(dlfb, rect->dx, rect->dy, rect->width, width 40 drivers/video/fbdev/vesafb.c .width = -1, width 308 drivers/video/fbdev/vfb.c #define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) width 76 drivers/video/fbdev/vga16fb.c .width = -1, width 512 drivers/video/fbdev/vga16fb.c var->width = -1; width 829 drivers/video/fbdev/vga16fb.c u32 dx = rect->dx, width = rect->width; width 844 drivers/video/fbdev/vga16fb.c width /= 4; width 845 drivers/video/fbdev/vga16fb.c line_ofs = info->fix.line_length - width; width 854 drivers/video/fbdev/vga16fb.c for (x = width; x > 0; --x) { width 883 drivers/video/fbdev/vga16fb.c int x, x2, y2, vxres, vyres, width, height, line_ofs; width 889 drivers/video/fbdev/vga16fb.c if (!rect->width || !rect->height || rect->dx > vxres || rect->dy > vyres) width 895 drivers/video/fbdev/vga16fb.c x2 = rect->dx + rect->width; width 899 drivers/video/fbdev/vga16fb.c width = x2 - rect->dx; width 906 drivers/video/fbdev/vga16fb.c width = rect->width/8; width 908 drivers/video/fbdev/vga16fb.c line_ofs = info->fix.line_length - width; width 922 drivers/video/fbdev/vga16fb.c for (x = 0; x < width; x++) { width 938 drivers/video/fbdev/vga16fb.c for (x = 0; x < width; x++) { width 963 drivers/video/fbdev/vga16fb.c u32 sx, dx, width; width 971 drivers/video/fbdev/vga16fb.c width = area->width / 4; width 974 drivers/video/fbdev/vga16fb.c line_ofs = info->fix.line_length - width; width 978 drivers/video/fbdev/vga16fb.c for (x = 0; x < width; x++) { width 988 drivers/video/fbdev/vga16fb.c line_ofs = info->fix.line_length - width; width 989 drivers/video/fbdev/vga16fb.c dest = info->screen_base + dx + width + width 991 drivers/video/fbdev/vga16fb.c src = info->screen_base + sx + width + width 994 drivers/video/fbdev/vga16fb.c for (x = 0; x < width; x++) { width 1015 drivers/video/fbdev/vga16fb.c int height, width, line_ofs; width 1034 drivers/video/fbdev/vga16fb.c x2 = area->dx + area->width; width 1040 drivers/video/fbdev/vga16fb.c width = x2 - dx; width 1051 drivers/video/fbdev/vga16fb.c if (sx + width > vxres || sy + height > vyres) width 1057 drivers/video/fbdev/vga16fb.c width = width/8; width 1058 drivers/video/fbdev/vga16fb.c line_ofs = info->fix.line_length - width; width 1068 drivers/video/fbdev/vga16fb.c for (x = 0; x < width; x++) { width 1078 drivers/video/fbdev/vga16fb.c dst = info->screen_base + (dx/8) + width + width 1080 drivers/video/fbdev/vga16fb.c src = info->screen_base + (sx/8) + width + width 1083 drivers/video/fbdev/vga16fb.c for (x = 0; x < width; x++) { width 1175 drivers/video/fbdev/vga16fb.c for (x = image->width/8; x--;) width 1190 drivers/video/fbdev/vga16fb.c for (x=image->width/8; x--;){ width 1234 drivers/video/fbdev/vga16fb.c for (x = 0; x < image->width; x++) { width 39 drivers/video/fbdev/via/accel.c static int hw_bitblt_1(void __iomem *engine, u8 op, u32 width, u32 height, width 55 drivers/video/fbdev/via/accel.c src_x += width - 1; width 56 drivers/video/fbdev/via/accel.c dst_x += width - 1; width 102 drivers/video/fbdev/via/accel.c if ((width - 1) & 0xFFFFF000 || (height - 1) & 0xFFFFF000) { width 104 drivers/video/fbdev/via/accel.c "%d %d\n", width, height); width 107 drivers/video/fbdev/via/accel.c tmp = (width - 1) | ((height - 1) << 16); width 163 drivers/video/fbdev/via/accel.c tmp = (width * height * (op == VIA_BITBLT_MONO ? 1 : (dst_bpp >> 3)) + width 172 drivers/video/fbdev/via/accel.c static int hw_bitblt_2(void __iomem *engine, u8 op, u32 width, u32 height, width 188 drivers/video/fbdev/via/accel.c src_x += width - 1; width 189 drivers/video/fbdev/via/accel.c dst_x += width - 1; width 228 drivers/video/fbdev/via/accel.c if ((width - 1) & 0xFFFFF000 || (height - 1) & 0xFFFFF000) { width 230 drivers/video/fbdev/via/accel.c "%d %d\n", width, height); width 233 drivers/video/fbdev/via/accel.c tmp = (width - 1) | ((height - 1) << 16); width 295 drivers/video/fbdev/via/accel.c tmp = (width * height * (op == VIA_BITBLT_MONO ? 1 : (dst_bpp >> 3)) + width 678 drivers/video/fbdev/via/viafbdev.c if (!rect->width || !rect->height) width 693 drivers/video/fbdev/via/viafbdev.c rect->width, rect->height, info->var.bits_per_pixel, width 710 drivers/video/fbdev/via/viafbdev.c if (!area->width || !area->height) width 715 drivers/video/fbdev/via/viafbdev.c area->width, area->height, info->var.bits_per_pixel, width 752 drivers/video/fbdev/via/viafbdev.c image->width, image->height, info->var.bits_per_pixel, width 789 drivers/video/fbdev/via/viafbdev.c if (cursor->image.width <= 32 && cursor->image.height <= 32) width 791 drivers/video/fbdev/via/viafbdev.c else if (cursor->image.width <= 64 && cursor->image.height <= 64) width 795 drivers/video/fbdev/via/viafbdev.c "%dx%d", cursor->image.width, cursor->image.height); width 844 drivers/video/fbdev/via/viafbdev.c int size = ((cursor->image.width + 7) >> 3) * width 52 drivers/video/fbdev/via/viafbdev.h int (*hw_bitblt)(void __iomem *engine, u8 op, u32 width, u32 height, width 299 drivers/video/fbdev/vt8500lcdfb.c fbi->fb.var.width = -1; width 158 drivers/video/fbdev/vt8623fb.c for (x = 0; x < image->width; x += 8) { width 163 drivers/video/fbdev/vt8623fb.c src1 += image->width / 8; width 181 drivers/video/fbdev/vt8623fb.c for (x = 0; x < rect->width; x += 8) { width 214 drivers/video/fbdev/vt8623fb.c for (x = 0; x < image->width; x += 8) { width 219 drivers/video/fbdev/vt8623fb.c src1 += image->width / 8; width 227 drivers/video/fbdev/vt8623fb.c && ((image->width % 8) == 0) && ((image->dx % 8) == 0)) { width 239 drivers/video/fbdev/vt8623fb.c && ((rect->width % 8) == 0) && ((rect->dx % 8) == 0) width 377 drivers/video/fbdev/w100fb.c writel((rect->width << 16) | (rect->height & 0xffff), width 386 drivers/video/fbdev/w100fb.c u32 h = area->height, w = area->width; width 505 drivers/video/fbdev/w100fb.c var->width = -1; width 325 drivers/video/fbdev/wm8505fb.c fbi->fb.var.width = -1; width 67 drivers/video/fbdev/wmt_ge_rops.c writel(rect->width - 1, regbase + GE_DESTAREAW_OFF); width 93 drivers/video/fbdev/wmt_ge_rops.c writel(area->width - 1, regbase + GE_SRCAREAW_OFF); width 101 drivers/video/fbdev/wmt_ge_rops.c writel(area->width - 1, regbase + GE_DESTAREAW_OFF); width 99 drivers/video/fbdev/xen-fbfront.c event.update.width = w; width 223 drivers/video/fbdev/xen-fbfront.c #define CNVT_TOHW(val, width) ((((val)<<(width))+0x7FFF-(val))>>16) width 250 drivers/video/fbdev/xen-fbfront.c xenfb_refresh(info, rect->dx, rect->dy, rect->width, rect->height); width 258 drivers/video/fbdev/xen-fbfront.c xenfb_refresh(info, image->dx, image->dy, image->width, image->height); width 266 drivers/video/fbdev/xen-fbfront.c xenfb_refresh(info, area->dx, area->dy, area->width, area->height); width 276 drivers/video/fbdev/xen-fbfront.c xenfb_refresh(info, 0, 0, info->page->width, info->page->height); width 321 drivers/video/fbdev/xen-fbfront.c xenfb_info->resize.width = info->var.xres; width 446 drivers/video/fbdev/xen-fbfront.c fb_info->var.width = -1; width 567 drivers/video/fbdev/xen-fbfront.c info->page->width = fb_info->var.xres; width 329 drivers/video/fbdev/xilinxfb.c drvdata->info.var.width = pdata->screen_width_mm; width 1318 drivers/xen/grant-table.c uint32_t base, width; width 1324 drivers/xen/grant-table.c width = cpuid_ebx(base + 5) & width 1326 drivers/xen/grant-table.c return width > 32 + PAGE_SHIFT; width 165 fs/reiserfs/stree.c int width, width 174 fs/reiserfs/stree.c ((struct reiserfs_key *)((char *)base + j * width), width 692 fs/seq_file.c unsigned long long num, unsigned int width) width 706 fs/seq_file.c if (!width) width 707 fs/seq_file.c width = 1; width 709 fs/seq_file.c if (m->count + width >= m->size) width 712 fs/seq_file.c len = num_to_str(m->buf + m->count, m->size - m->count, num, width); width 743 fs/seq_file.c unsigned long long v, unsigned int width) width 761 fs/seq_file.c if (len < width) width 762 fs/seq_file.c len = width; width 83 include/acpi/acbuffer.h u16 width; width 267 include/acpi/acpiosxf.h acpi_status acpi_os_read_port(acpi_io_address address, u32 *value, u32 width); width 271 include/acpi/acpiosxf.h acpi_status acpi_os_write_port(acpi_io_address address, u32 value, u32 width); width 277 include/acpi/acpiosxf.h int acpi_os_read_iomem(void __iomem *virt_addr, u64 *value, u32 width); width 281 include/acpi/acpiosxf.h acpi_os_read_memory(acpi_physical_address address, u64 *value, u32 width); width 286 include/acpi/acpiosxf.h acpi_os_write_memory(acpi_physical_address address, u64 value, u32 width); width 297 include/acpi/acpiosxf.h u32 reg, u64 *value, u32 width); width 303 include/acpi/acpiosxf.h u32 reg, u64 value, u32 width); width 183 include/acpi/acrestyp.h u8 width; width 491 include/acpi/actbl1.h u8 width; /* Host Address Width */ width 150 include/drm/drm_client.h drm_client_framebuffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format); width 157 include/drm/drm_client.h int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width, unsigned int height); width 1543 include/drm/drm_connector.h struct drm_connector *connector, int width, int height); width 425 include/drm/drm_crtc.h uint32_t handle, uint32_t width, uint32_t height); width 447 include/drm/drm_crtc.h uint32_t handle, uint32_t width, uint32_t height, width 273 include/drm/drm_fourcc.h int drm_format_info_plane_width(const struct drm_format_info *info, int width, width 280 include/drm/drm_fourcc.h return width; width 282 include/drm/drm_fourcc.h return width / info->hsub; width 180 include/drm/drm_framebuffer.h unsigned int width; width 295 include/drm/drm_framebuffer.h int drm_framebuffer_plane_width(int width, width 188 include/drm/drm_rect.h int width, int height, width 191 include/drm/drm_rect.h int width, int height, width 15 include/drm/drm_utils.h int drm_get_panel_orientation_quirk(int width, int height); width 45 include/linux/amba/clcd.h signed short width; /* width in mm */ width 450 include/linux/clk-provider.h u8 width; width 456 include/linux/clk-provider.h #define clk_div_mask(width) ((1 << (width)) - 1) width 473 include/linux/clk-provider.h unsigned long flags, unsigned long width); width 477 include/linux/clk-provider.h u8 width, unsigned long flags); width 480 include/linux/clk-provider.h const struct clk_div_table *table, u8 width, width 483 include/linux/clk-provider.h const struct clk_div_table *table, u8 width, width 488 include/linux/clk-provider.h void __iomem *reg, u8 shift, u8 width, width 492 include/linux/clk-provider.h void __iomem *reg, u8 shift, u8 width, width 496 include/linux/clk-provider.h void __iomem *reg, u8 shift, u8 width, width 501 include/linux/clk-provider.h void __iomem *reg, u8 shift, u8 width, width 561 include/linux/clk-provider.h void __iomem *reg, u8 shift, u8 width, width 566 include/linux/clk-provider.h void __iomem *reg, u8 shift, u8 width, width 701 include/linux/clk-provider.h u8 width; width 855 include/linux/clk-provider.h u8 width, unsigned long flags) width 858 include/linux/clk-provider.h rate, prate, table, width, flags); width 864 include/linux/clk-provider.h u8 width, unsigned long flags, width 868 include/linux/clk-provider.h rate, prate, table, width, flags, width 54 include/linux/console.h int width); width 70 include/linux/console.h int (*con_resize)(struct vc_data *vc, unsigned int width, width 52 include/linux/eeprom_93cx6.h int width; width 105 include/linux/fb.h __u32 width; /* Size of image */ width 307 include/linux/fb.h __u32 width; /* width of each tile in pixels */ width 318 include/linux/fb.h __u32 width; /* number of tiles in the x-axis */ width 331 include/linux/fb.h __u32 width; /* number of tiles in the x-axis */ width 338 include/linux/fb.h __u32 width; /* number of tiles in the x-axis */ width 19 include/linux/font.h int width, height; width 1564 include/linux/greybus/greybus_protocols.h __le16 width; width 1580 include/linux/greybus/greybus_protocols.h __le16 width; width 472 include/linux/kernel.h unsigned long long num, unsigned int width); width 1217 include/linux/libata.h unsigned int width; /* 1 (8 bit), 2 (16 bit), 4 (32 bit) */ width 29 include/linux/linux_logo.h unsigned int width; width 650 include/linux/mfd/axp20x.h unsigned int reg, unsigned int width) width 659 include/linux/mfd/axp20x.h result = reg_val << (width - 8); width 134 include/linux/mfd/tmio.h int width; width 8557 include/linux/mlx5/mlx5_ifc.h u8 width[0x8]; width 94 include/linux/mmiotrace.h unsigned char width; /* size of register access in bytes */ width 17 include/linux/mtd/latch-addr-flash.h unsigned int width; width 20 include/linux/mtd/physmap.h unsigned int width; width 267 include/linux/ntb.h enum ntb_speed *speed, enum ntb_width *width); width 745 include/linux/ntb.h enum ntb_speed *speed, enum ntb_width *width) width 747 include/linux/ntb.h return ntb->ops->link_is_up(ntb, speed, width); width 22 include/linux/pch_dma.h enum pch_dma_width width; width 1187 include/linux/pci.h enum pcie_link_width *width); width 5393 include/linux/platform_data/cros_ec_commands.h uint16_t width; width 5408 include/linux/platform_data/cros_ec_commands.h uint16_t width; width 53 include/linux/platform_data/mmc-sdhci-s3c.h void (*cfg_gpio)(struct platform_device *dev, int width); width 13 include/linux/platform_data/mtd-mxc_nand.h unsigned int width; /* data bus width in bytes */ width 18 include/linux/platform_data/mtd-orion_nand.h u8 width; /* buswidth */ width 54 include/linux/platform_data/simplefb.h u32 width; width 122 include/linux/seq_file.h unsigned long long num, unsigned int width); width 127 include/linux/seq_file.h unsigned long long v, unsigned int width); width 40 include/media/davinci/dm644x_ccdc.h static inline u8 ccdc_gamma_width_max_bit(enum ccdc_gamma_width width) width 42 include/media/davinci/dm644x_ccdc.h return 15 - width; width 28 include/media/drv-intf/cx2341x.h u16 width; width 108 include/media/drv-intf/cx2341x.h u16 width; width 99 include/media/drv-intf/soc_mediabus.h s32 soc_mbus_bytes_per_line(u32 width, const struct soc_mbus_pixelfmt *mf); width 21 include/media/fwht-ctrls.h __u32 width; width 238 include/media/tpg/v4l2-tpg.h void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height, width 384 include/media/v4l2-common.h void v4l_bound_align_image(unsigned int *width, unsigned int wmin, width 409 include/media/v4l2-common.h width, height) \ width 417 include/media/v4l2-common.h width, height); \ width 422 include/media/v4l2-common.h size_t height_offset, s32 width, s32 height); width 483 include/media/v4l2-common.h void v4l2_apply_frmsize_constraints(u32 *width, u32 *height, width 486 include/media/v4l2-common.h u32 width, u32 height); width 488 include/media/v4l2-common.h u32 width, u32 height); width 113 include/media/v4l2-mediabus.h pix_fmt->width = mbus_fmt->width; width 135 include/media/v4l2-mediabus.h mbus_fmt->width = pix_fmt->width; width 156 include/media/v4l2-mediabus.h pix_mp_fmt->width = mbus_fmt->width; width 176 include/media/v4l2-mediabus.h mbus_fmt->width = pix_mp_fmt->width; width 21 include/media/v4l2-rect.h r->width = size->width; width 33 include/media/v4l2-rect.h if (r->width < min_size->width) width 34 include/media/v4l2-rect.h r->width = min_size->width; width 47 include/media/v4l2-rect.h if (r->width > max_size->width) width 48 include/media/v4l2-rect.h r->width = max_size->width; width 66 include/media/v4l2-rect.h if (r->left + r->width > boundary->left + boundary->width) width 67 include/media/v4l2-rect.h r->left = boundary->left + boundary->width - r->width; width 82 include/media/v4l2-rect.h return r1->width == r2->width && r1->height == r2->height; width 126 include/media/v4l2-rect.h right = min(r1->left + r1->width, r2->left + r2->width); width 128 include/media/v4l2-rect.h r->width = max(0, right - r->left); width 148 include/media/v4l2-rect.h if (from->width == 0 || from->height == 0) { width 149 include/media/v4l2-rect.h r->left = r->top = r->width = r->height = 0; width 152 include/media/v4l2-rect.h r->left = (((r->left - from->left) * to->width) / from->width) & ~1; width 153 include/media/v4l2-rect.h r->width = ((r->width * to->width) / from->width) & ~1; width 173 include/media/v4l2-rect.h if (r1->left >= r2->left + r2->width || width 174 include/media/v4l2-rect.h r2->left >= r1->left + r1->width) width 68 include/media/videobuf-core.h unsigned int width; width 88 include/media/vp8-ctrls.h __u16 width; width 34 include/media/vsp1.h unsigned int width; width 593 include/net/cfg80211.h enum nl80211_chan_width width; width 609 include/net/cfg80211.h switch (chandef->width) { width 649 include/net/cfg80211.h chandef1->width == chandef2->width && width 722 include/net/cfg80211.h switch (chandef->width) { width 747 include/net/cfg80211.h switch (chandef->width) { width 5890 include/net/cfg80211.h switch (chandef->width) { width 6025 include/net/mac80211.h return conf->chandef.width == NL80211_CHAN_WIDTH_20; width 6031 include/net/mac80211.h return conf->chandef.width == NL80211_CHAN_WIDTH_40 && width 6038 include/net/mac80211.h return conf->chandef.width == NL80211_CHAN_WIDTH_40 && width 6045 include/net/mac80211.h return conf->chandef.width == NL80211_CHAN_WIDTH_40; width 6051 include/net/mac80211.h return (conf->chandef.width != NL80211_CHAN_WIDTH_5) && width 6052 include/net/mac80211.h (conf->chandef.width != NL80211_CHAN_WIDTH_10) && width 6053 include/net/mac80211.h (conf->chandef.width != NL80211_CHAN_WIDTH_20_NOHT); width 511 include/rdma/ib_verbs.h static inline int ib_width_enum_to_int(enum ib_port_width width) width 513 include/rdma/ib_verbs.h switch (width) { width 4359 include/rdma/ib_verbs.h int ib_get_eth_speed(struct ib_device *dev, u8 port_num, u8 *speed, u8 *width); width 23 include/scsi/scsi_transport_spi.h unsigned int width:1; /* 0 - narrow, 1 - wide */ width 66 include/scsi/scsi_transport_spi.h #define spi_width(x) (((struct spi_transport_attrs *)&(x)->starget_data)->width) width 143 include/scsi/scsi_transport_spi.h int spi_populate_width_msg(unsigned char *msg, int width); width 145 include/scsi/scsi_transport_spi.h int spi_populate_ppr_msg(unsigned char *msg, int period, int offset, int width, width 995 include/sound/pcm.h unsigned int width, width 477 include/uapi/drm/drm_mode.h __u32 width; width 491 include/uapi/drm/drm_mode.h __u32 width; width 595 include/uapi/drm/drm_mode.h __u32 width; width 606 include/uapi/drm/drm_mode.h __u32 width; width 802 include/uapi/drm/drm_mode.h __u32 width; width 68 include/uapi/drm/drm_sarea.h unsigned int width; width 273 include/uapi/drm/exynos_drm.h __u32 width, height; width 224 include/uapi/drm/i915_drm.h int width, height; /* screen size in pixels */ width 59 include/uapi/drm/omap_drm.h __u16 width; width 121 include/uapi/drm/qxl_drm.h __u32 width; width 287 include/uapi/drm/r128_drm.h unsigned short width, height; width 672 include/uapi/drm/radeon_drm.h unsigned int width, height; width 680 include/uapi/drm/radeon_drm.h int width; /* Texture image coordinates */ width 147 include/uapi/drm/vc4_drm.h __u16 width; width 86 include/uapi/drm/virtgpu_drm.h __u32 width; width 227 include/uapi/drm/vmwgfx_drm.h __u32 width; width 489 include/uapi/drm/vmwgfx_drm.h __u32 width; width 262 include/uapi/linux/fb.h __u32 width; /* width of picture in mm */ width 344 include/uapi/linux/fb.h __u32 width; width 353 include/uapi/linux/fb.h __u32 width; width 362 include/uapi/linux/fb.h __u32 width; /* Size of image */ width 162 include/uapi/linux/kd.h unsigned int width, height; /* font size */ width 168 include/uapi/linux/kd.h unsigned int width, height; /* font size */ width 289 include/uapi/linux/omap3isp.h __u8 width; /* Width of the Paxel */ width 113 include/uapi/linux/omapfb.h __u32 width, height; width 122 include/uapi/linux/omapfb.h __u32 width, height; width 217 include/uapi/linux/omapfb.h __u32 width; /* phys width of the display in micrometers */ width 35 include/uapi/linux/stm.h __u16 width; width 31 include/uapi/linux/v4l2-mediabus.h __u32 width; width 127 include/uapi/linux/v4l2-subdev.h __u32 width; width 657 include/uapi/linux/vfio.h __u32 width; /* width of plane */ width 416 include/uapi/linux/videodev2.h __u32 width; width 491 include/uapi/linux/videodev2.h __u32 width; width 793 include/uapi/linux/videodev2.h __u32 width; /* Frame width [pixel] */ width 837 include/uapi/linux/videodev2.h __u32 width; /* Frame width */ width 1100 include/uapi/linux/videodev2.h __u32 width; width 1386 include/uapi/linux/videodev2.h __u32 width; width 1497 include/uapi/linux/videodev2.h ((bt)->width + V4L2_DV_BT_BLANKING_WIDTH(bt)) width 2181 include/uapi/linux/videodev2.h __u32 width; width 134 include/uapi/linux/virtio_gpu.h __le32 width; width 150 include/uapi/linux/virtio_gpu.h __le32 width; width 236 include/uapi/linux/virtio_gpu.h __le32 width; width 287 include/video/gbe.h short width; /* Monitor resolution */ width 271 include/video/imx-ipu-v3.h int ipu_cpmem_set_format_passthrough(struct ipuv3_channel *ch, int width); width 289 include/video/imx-ipu-v3.h u32 pixel_fmt, u32 width); width 312 include/video/imx-ipu-v3.h void ipu_dmfc_config_wait4eot(struct dmfc_channel *dmfc, int width); width 349 include/video/imx-ipu-v3.h unsigned int axi_id, unsigned int width, width 453 include/video/imx-ipu-v3.h u32 width, u32 height, int burst_size, width 44 include/video/mbxfb.h __u32 width, height; width 540 include/video/newport.h #define DCB_CYCLES(setup,hold,width) \ width 543 include/video/newport.h (width << DCB_CSWIDTH_SHIFT)) width 298 include/video/omapfb_dss.h u16 width; width 428 include/video/omapfb_dss.h u16 width; width 720 include/video/omapfb_dss.h u32 *width, u32 *height); width 30 include/video/omapvrfb.h extern void omap_vrfb_adjust_size(u16 *width, u16 *height, width 32 include/video/omapvrfb.h extern u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp); width 33 include/video/omapvrfb.h extern u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp); width 35 include/video/omapvrfb.h u16 width, u16 height, width 44 include/video/omapvrfb.h static inline void omap_vrfb_adjust_size(u16 *width, u16 *height, width 46 include/video/omapvrfb.h static inline u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) width 48 include/video/omapvrfb.h static inline u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp) width 51 include/video/omapvrfb.h u16 width, u16 height, unsigned bytespp, bool yuv_mode) {} width 151 include/video/sh_mobile_lcdc.h unsigned long width; /* Panel width in mm */ width 503 include/xen/interface/io/displif.h uint32_t width; width 622 include/xen/interface/io/displif.h uint32_t width; width 704 include/xen/interface/io/displif.h uint32_t width; width 48 include/xen/interface/io/fbif.h int32_t width; /* rect width */ width 60 include/xen/interface/io/fbif.h int32_t width; /* width in pixels */ width 112 include/xen/interface/io/fbif.h int32_t width; /* width of the framebuffer (in pixels) */ width 722 include/xen/interface/xen.h uint16_t width, height; width 1757 kernel/debug/kdb/kdb_main.c int width; width 1779 kernel/debug/kdb/kdb_main.c width = argv[0][2] ? (argv[0][2] - '0') : (KDB_WORD_SIZE); width 1780 kernel/debug/kdb/kdb_main.c diag = kdb_putword(addr, contents, width); width 110 kernel/resource.c int width = root->end < 0x10000 ? 4 : 8; width 126 kernel/resource.c width, start, width 127 kernel/resource.c width, end, width 288 kernel/trace/trace_entries.h __field_desc( unsigned char, rw, width ) width 293 kernel/trace/trace_entries.h __entry->map_id, __entry->opcode, __entry->width), width 184 kernel/trace/trace_mmiotrace.c rw->width, secs, usec_rem, rw->map_id, width 191 kernel/trace/trace_mmiotrace.c rw->width, secs, usec_rem, rw->map_id, width 5139 lib/fonts/font_10x18.c .width = 10, width 3083 lib/fonts/font_6x10.c .width = 6, width 3348 lib/fonts/font_6x11.c .width = 6, width 4115 lib/fonts/font_7x14.c .width = 7, width 4629 lib/fonts/font_8x16.c .width = 8, width 2580 lib/fonts/font_8x8.c .width = 8, width 268 lib/fonts/font_acorn_8x8.c .width = 8, width 2153 lib/fonts/font_mini_4x6.c .width = 4, width 2584 lib/fonts/font_pearl_8x8.c .width = 8, width 6158 lib/fonts/font_sun12x22.c .width = 12, width 268 lib/fonts/font_sun8x16.c .width = 8, width 2064 lib/fonts/font_ter16x32.c .width = 16, width 131 lib/fonts/fonts.c res = (xres / f->width) * (yres / f->height) / 1000; width 135 lib/fonts/fonts.c if ((font_w & (1 << (f->width - 1))) && width 32 lib/packing.c static u64 bit_reverse(u64 val, unsigned int width) width 38 lib/packing.c for (i = 0; i < width; i++) { width 40 lib/packing.c new_val |= (bit << (width - i - 1)); width 342 lib/vsprintf.c int num_to_str(char *buf, int size, unsigned long long num, unsigned int width) width 356 lib/vsprintf.c if (len > size || width > size) width 359 lib/vsprintf.c if (width > len) { width 360 lib/vsprintf.c width = width - len; width 361 lib/vsprintf.c for (idx = 0; idx < width; idx++) width 364 lib/vsprintf.c width = 0; width 368 lib/vsprintf.c buf[idx + width] = tmp[len - idx - 1]; width 370 lib/vsprintf.c return len + width; width 2402 lib/vsprintf.c set_field_width(struct printf_spec *spec, int width) width 2404 lib/vsprintf.c spec->field_width = width; width 2405 lib/vsprintf.c if (WARN_ONCE(spec->field_width != width, "field width %d too large", width)) { width 2406 lib/vsprintf.c spec->field_width = clamp(width, -FIELD_WIDTH_MAX, FIELD_WIDTH_MAX); width 2754 lib/vsprintf.c int width; width 2797 lib/vsprintf.c width = (int)save_arg(int); width 2800 lib/vsprintf.c set_field_width(&spec, width); width 66 mm/mm_init.c int shift, width; width 70 mm/mm_init.c width = shift - SECTIONS_WIDTH - NODES_WIDTH - ZONES_WIDTH - LAST_CPUPID_SHIFT; width 96 mm/mm_init.c shift, width, width, NR_PAGEFLAGS, NR_PAGEFLAGS, 0); width 2170 mm/percpu.c int group_width = 1, cpu_width = 1, width; width 2186 mm/percpu.c width = upa * (cpu_width + 1) + group_width + 3; width 2187 mm/percpu.c apl = rounddown_pow_of_two(max(60 / width, 1)); width 2648 net/mac80211/cfg.c if (sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT) width 2734 net/mac80211/cfg.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT) width 3245 net/mac80211/cfg.c if (params->chandef.width != sdata->u.ibss.chandef.width) width 3248 net/mac80211/cfg.c switch (params->chandef.width) { width 3282 net/mac80211/cfg.c if (params->chandef.width != sdata->vif.bss_conf.chandef.width) width 252 net/mac80211/chan.c enum nl80211_chan_width width = NL80211_CHAN_WIDTH_20_NOHT; width 263 net/mac80211/chan.c width = ieee80211_get_max_required_bw(sdata); width 271 net/mac80211/chan.c width = max(vif->bss_conf.chandef.width, width 281 net/mac80211/chan.c width = vif->bss_conf.chandef.width; width 290 net/mac80211/chan.c max_bw = max(max_bw, width); width 296 net/mac80211/chan.c max_bw = max(max_bw, conf->def.width); width 317 net/mac80211/chan.c if (ctx->conf.def.width == NL80211_CHAN_WIDTH_5 || width 318 net/mac80211/chan.c ctx->conf.def.width == NL80211_CHAN_WIDTH_10 || width 328 net/mac80211/chan.c while (min_def.width > max_bw) width 534 net/mac80211/chan.c chandef->width = NL80211_CHAN_WIDTH_20_NOHT; width 1071 net/mac80211/chan.c if (sdata->vif.bss_conf.chandef.width != sdata->reserved_chandef.width) width 1418 net/mac80211/chan.c if (sdata->vif.bss_conf.chandef.width != width 1419 net/mac80211/chan.c sdata->reserved_chandef.width) width 1576 net/mac80211/chan.c radar_detect_width = BIT(chandef->width); width 1699 net/mac80211/chan.c if (chandef->width == NL80211_CHAN_WIDTH_20_NOHT || width 1700 net/mac80211/chan.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT) { width 250 net/mac80211/ht.c switch (sdata->vif.bss_conf.chandef.width) { width 176 net/mac80211/ibss.c if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT && width 177 net/mac80211/ibss.c chandef->width != NL80211_CHAN_WIDTH_5 && width 178 net/mac80211/ibss.c chandef->width != NL80211_CHAN_WIDTH_10 && width 195 net/mac80211/ibss.c if (chandef->width != NL80211_CHAN_WIDTH_20 && width 196 net/mac80211/ibss.c chandef->width != NL80211_CHAN_WIDTH_40 && width 269 net/mac80211/ibss.c if (chandef.width == NL80211_CHAN_WIDTH_5 || width 270 net/mac80211/ibss.c chandef.width == NL80211_CHAN_WIDTH_10 || width 271 net/mac80211/ibss.c chandef.width == NL80211_CHAN_WIDTH_20_NOHT || width 272 net/mac80211/ibss.c chandef.width == NL80211_CHAN_WIDTH_20) { width 277 net/mac80211/ibss.c chandef.width = NL80211_CHAN_WIDTH_20; width 418 net/mac80211/ibss.c switch (sdata->u.ibss.chandef.width) { width 429 net/mac80211/ibss.c chandef.width = sdata->u.ibss.chandef.width; width 795 net/mac80211/ibss.c switch (ifibss->chandef.width) { width 827 net/mac80211/ibss.c switch (ifibss->chandef.width) { width 842 net/mac80211/ibss.c if (params.chandef.width != ifibss->chandef.width) { width 847 net/mac80211/ibss.c params.chandef.width, width 865 net/mac80211/ibss.c params.chandef.width, width 1048 net/mac80211/ibss.c sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_20_NOHT && width 1049 net/mac80211/ibss.c sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_5 && width 1050 net/mac80211/ibss.c sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_10) { width 1065 net/mac80211/ibss.c sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_20 && width 1066 net/mac80211/ibss.c sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_40) { width 1361 net/mac80211/ibss.c u32 center_freq, u32 width) width 1367 net/mac80211/ibss.c if (width <= 20) { width 1371 net/mac80211/ibss.c start_freq = center_freq - width / 2 + 10; width 1372 net/mac80211/ibss.c end_freq = center_freq + width / 2 - 10; width 1396 net/mac80211/ibss.c u32 width, cf1, cf2 = 0; width 1398 net/mac80211/ibss.c switch (chandef->width) { width 1400 net/mac80211/ibss.c width = 40; width 1406 net/mac80211/ibss.c width = 80; width 1409 net/mac80211/ibss.c width = 160; width 1412 net/mac80211/ibss.c width = 20; width 1418 net/mac80211/ibss.c n_chan = ibss_setup_channels(wiphy, channels, channels_max, cf1, width); width 1423 net/mac80211/ibss.c width); width 1777 net/mac80211/ibss.c radar_detect_width = BIT(params->chandef.width); width 1023 net/mac80211/ieee80211_i.h switch (chandef->width) { width 1852 net/mac80211/ieee80211_i.h ieee80211_chan_width_to_rx_bw(enum nl80211_chan_width width); width 105 net/mac80211/main.c chandef.width = NL80211_CHAN_WIDTH_20_NOHT; width 112 net/mac80211/main.c chandef.chan->center_freq, chandef.width, width 419 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || width 420 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || width 421 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) width 456 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || width 457 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || width 458 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) width 483 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || width 484 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || width 485 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) width 520 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || width 521 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || width 522 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) width 549 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || width 550 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || width 551 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) width 576 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || width 577 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || width 578 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) width 833 net/mac80211/mesh.c switch (csa->settings.chandef.width) { width 1056 net/mac80211/mesh.c switch (sdata->vif.bss_conf.chandef.width) { width 1096 net/mac80211/mesh.c params.chandef.width, width 1112 net/mac80211/mesh.c params.chandef.width, width 162 net/mac80211/mesh_plink.c switch (sdata->vif.bss_conf.chandef.width) { width 195 net/mac80211/mesh_plink.c sdata->vif.bss_conf.chandef.width > NL80211_CHAN_WIDTH_20) width 163 net/mac80211/mlme.c chandef->width = NL80211_CHAN_WIDTH_20_NOHT; width 171 net/mac80211/mlme.c chandef->width = NL80211_CHAN_WIDTH_20; width 302 net/mac80211/mlme.c if (WARN_ON(chandef->width == NL80211_CHAN_WIDTH_20_NOHT)) { width 311 net/mac80211/mlme.c if (chandef->width != vht_chandef.width && !tracking) width 377 net/mac80211/mlme.c chandef.width == NL80211_CHAN_WIDTH_80P80) width 380 net/mac80211/mlme.c chandef.width == NL80211_CHAN_WIDTH_160) width 383 net/mac80211/mlme.c chandef.width > NL80211_CHAN_WIDTH_20) width 391 net/mac80211/mlme.c ifmgd->bssid, chandef.chan->center_freq, chandef.width, width 406 net/mac80211/mlme.c switch (chandef.width) { width 1118 net/mac80211/mlme.c if (sdata->vif.bss_conf.chandef.width != width 1119 net/mac80211/mlme.c sdata->csa_chandef.width) { width 1130 net/mac80211/mlme.c switch (sdata->csa_chandef.width) { width 1153 net/mac80211/mlme.c if (sdata->vif.bss_conf.chandef.width > width 1154 net/mac80211/mlme.c sdata->csa_chandef.width) { width 1170 net/mac80211/mlme.c if (sdata->vif.bss_conf.chandef.width < width 1171 net/mac80211/mlme.c sdata->csa_chandef.width) { width 1343 net/mac80211/mlme.c csa_ie.chandef.width, csa_ie.chandef.center_freq1, width 4857 net/mac80211/mlme.c if (chandef.width == NL80211_CHAN_WIDTH_5 || width 4858 net/mac80211/mlme.c chandef.width == NL80211_CHAN_WIDTH_10) width 4861 net/mac80211/mlme.c while (ret && chandef.width != NL80211_CHAN_WIDTH_20_NOHT) { width 376 net/mac80211/offchannel.c local->_oper_chandef.width != NL80211_CHAN_WIDTH_5 && width 377 net/mac80211/offchannel.c local->_oper_chandef.width != NL80211_CHAN_WIDTH_10; width 790 net/mac80211/rate.c chan_width = sta->sdata->vif.bss_conf.chandef.width; width 827 net/mac80211/rate.c chan_width = sdata->vif.bss_conf.chandef.width; width 298 net/mac80211/scan.c chandef->width = NL80211_CHAN_WIDTH_5; width 301 net/mac80211/scan.c chandef->width = NL80211_CHAN_WIDTH_10; width 304 net/mac80211/scan.c chandef->width = NL80211_CHAN_WIDTH_20_NOHT; width 903 net/mac80211/scan.c local->scan_chandef.width = NL80211_CHAN_WIDTH_5; width 906 net/mac80211/scan.c local->scan_chandef.width = NL80211_CHAN_WIDTH_10; width 918 net/mac80211/scan.c local->scan_chandef.width = NL80211_CHAN_WIDTH_20_NOHT; width 122 net/mac80211/spectmgmt.c switch (sdata->vif.bss_conf.chandef.width) { width 125 net/mac80211/spectmgmt.c csa_ie->chandef.width = width 126 net/mac80211/spectmgmt.c sdata->vif.bss_conf.chandef.width; width 158 net/mac80211/spectmgmt.c new_vht_chandef.width == NL80211_CHAN_WIDTH_80P80) width 161 net/mac80211/spectmgmt.c new_vht_chandef.width == NL80211_CHAN_WIDTH_160) width 323 net/mac80211/tdls.c if (uc.width >= max_width) width 335 net/mac80211/tdls.c uc.width = NL80211_CHAN_WIDTH_80; width 343 net/mac80211/tdls.c while (uc.width > max_width || width 344 net/mac80211/tdls.c (uc.width > sta->tdls_chandef.width && width 351 net/mac80211/tdls.c sta->tdls_chandef.width, uc.width); width 1254 net/mac80211/tdls.c enum nl80211_chan_width width; width 1261 net/mac80211/tdls.c width = conf->def.width; width 1267 net/mac80211/tdls.c if (width != conf->def.width && sta && width 1271 net/mac80211/tdls.c bw = ieee80211_chan_width_to_rx_bw(conf->def.width); width 1505 net/mac80211/tdls.c if (chandef->width == NL80211_CHAN_WIDTH_40) { width 1554 net/mac80211/tdls.c sta->sta.addr, chandef->chan->center_freq, chandef->width); width 1913 net/mac80211/tdls.c params.chandef->width); width 45 net/mac80211/trace.h __entry->chan_width = (c) ? (c)->width : 0; \ width 60 net/mac80211/trace.h __entry->min_chan_width = (c)->width; \ width 453 net/mac80211/trace.h __entry->channel_width = info->chandef.width; width 1601 net/mac80211/trace.h old_ctx->def.width); width 1609 net/mac80211/trace.h new_ctx->def.width); width 1897 net/mac80211/util.c chandef.width = sdata->vif.bss_conf.chandef.width; width 2820 net/mac80211/util.c switch (chandef->width) { width 2835 net/mac80211/util.c chandef->width != NL80211_CHAN_WIDTH_20_NOHT && width 2836 net/mac80211/util.c chandef->width != NL80211_CHAN_WIDTH_20) width 2859 net/mac80211/util.c switch (chandef->width) { width 2898 net/mac80211/util.c switch (chandef->width) { width 3032 net/mac80211/util.c new.width = NL80211_CHAN_WIDTH_80; width 3040 net/mac80211/util.c new.width = NL80211_CHAN_WIDTH_160; width 3043 net/mac80211/util.c new.width = NL80211_CHAN_WIDTH_80P80; width 3050 net/mac80211/util.c new.width = NL80211_CHAN_WIDTH_160; width 3055 net/mac80211/util.c new.width = NL80211_CHAN_WIDTH_80P80; width 3388 net/mac80211/util.c switch (c->width) { width 3390 net/mac80211/util.c c->width = NL80211_CHAN_WIDTH_20_NOHT; width 3394 net/mac80211/util.c c->width = NL80211_CHAN_WIDTH_20; width 3405 net/mac80211/util.c c->width = NL80211_CHAN_WIDTH_40; width 3410 net/mac80211/util.c c->width = NL80211_CHAN_WIDTH_80; width 3420 net/mac80211/util.c c->width = NL80211_CHAN_WIDTH_80; width 3427 net/mac80211/util.c c->width = NL80211_CHAN_WIDTH_20_NOHT; width 3514 net/mac80211/util.c if (csa_settings->chandef.width == NL80211_CHAN_WIDTH_40) { width 3544 net/mac80211/util.c if (csa_settings->chandef.width == NL80211_CHAN_WIDTH_80 || width 3545 net/mac80211/util.c csa_settings->chandef.width == NL80211_CHAN_WIDTH_80P80 || width 3546 net/mac80211/util.c csa_settings->chandef.width == NL80211_CHAN_WIDTH_160) { width 3824 net/mac80211/util.c radar_detect |= BIT(sdata->reserved_chandef.width); width 3835 net/mac80211/util.c radar_detect |= BIT(sdata->vif.bss_conf.chandef.width); width 417 net/mac80211/vht.c ieee80211_chan_width_to_rx_bw(enum nl80211_chan_width width) width 419 net/mac80211/vht.c switch (width) { width 440 net/mac80211/vht.c enum nl80211_chan_width bss_width = sdata->vif.bss_conf.chandef.width; width 36 net/wireless/chan.c chandef->width = NL80211_CHAN_WIDTH_20_NOHT; width 40 net/wireless/chan.c chandef->width = NL80211_CHAN_WIDTH_20; width 44 net/wireless/chan.c chandef->width = NL80211_CHAN_WIDTH_40; width 48 net/wireless/chan.c chandef->width = NL80211_CHAN_WIDTH_40; width 151 net/wireless/chan.c switch (chandef->width) { width 209 net/wireless/chan.c chandef->width != NL80211_CHAN_WIDTH_20_NOHT) width 225 net/wireless/chan.c switch (c->width) { width 258 net/wireless/chan.c int width; width 260 net/wireless/chan.c switch (c->width) { width 262 net/wireless/chan.c width = 5; width 265 net/wireless/chan.c width = 10; width 269 net/wireless/chan.c width = 20; width 272 net/wireless/chan.c width = 40; width 276 net/wireless/chan.c width = 80; width 279 net/wireless/chan.c width = 160; width 285 net/wireless/chan.c return width; width 306 net/wireless/chan.c if (c1->width == c2->width) width 313 net/wireless/chan.c if (c1->width == NL80211_CHAN_WIDTH_5 || width 314 net/wireless/chan.c c1->width == NL80211_CHAN_WIDTH_10 || width 315 net/wireless/chan.c c2->width == NL80211_CHAN_WIDTH_5 || width 316 net/wireless/chan.c c2->width == NL80211_CHAN_WIDTH_10) width 319 net/wireless/chan.c if (c1->width == NL80211_CHAN_WIDTH_20_NOHT || width 320 net/wireless/chan.c c1->width == NL80211_CHAN_WIDTH_20) width 323 net/wireless/chan.c if (c2->width == NL80211_CHAN_WIDTH_20_NOHT || width 324 net/wireless/chan.c c2->width == NL80211_CHAN_WIDTH_20) width 337 net/wireless/chan.c if (c1->width > c2->width) width 366 net/wireless/chan.c int width; width 371 net/wireless/chan.c width = cfg80211_chandef_get_width(chandef); width 372 net/wireless/chan.c if (width < 0) width 376 net/wireless/chan.c width, dfs_state); width 381 net/wireless/chan.c width, dfs_state); width 436 net/wireless/chan.c int width; width 447 net/wireless/chan.c width = cfg80211_chandef_get_width(chandef); width 448 net/wireless/chan.c if (width < 0) width 453 net/wireless/chan.c width); width 457 net/wireless/chan.c return BIT(chandef->width); width 464 net/wireless/chan.c width); width 468 net/wireless/chan.c return BIT(chandef->width); width 529 net/wireless/chan.c int width; width 535 net/wireless/chan.c width = cfg80211_chandef_get_width(chandef); width 536 net/wireless/chan.c if (width < 0) width 540 net/wireless/chan.c width); width 545 net/wireless/chan.c switch (chandef->width) { width 550 net/wireless/chan.c width); width 569 net/wireless/chan.c int width; width 575 net/wireless/chan.c width = cfg80211_chandef_get_width(chandef); width 576 net/wireless/chan.c if (width <= 20) width 579 net/wireless/chan.c for (freq = chandef->center_freq1 - width / 2 + 10; width 580 net/wireless/chan.c freq <= chandef->center_freq1 + width / 2 - 10; freq += 20) { width 588 net/wireless/chan.c for (freq = chandef->center_freq2 - width / 2 + 10; width 589 net/wireless/chan.c freq <= chandef->center_freq2 + width / 2 - 10; freq += 20) { width 717 net/wireless/chan.c int width; width 723 net/wireless/chan.c width = cfg80211_chandef_get_width(chandef); width 724 net/wireless/chan.c if (width < 0) width 728 net/wireless/chan.c width); width 734 net/wireless/chan.c switch (chandef->width) { width 739 net/wireless/chan.c width); width 782 net/wireless/chan.c int width; width 788 net/wireless/chan.c width = cfg80211_chandef_get_width(chandef); width 789 net/wireless/chan.c if (width < 0) width 794 net/wireless/chan.c width); width 801 net/wireless/chan.c width); width 885 net/wireless/chan.c u32 width, control_freq, cap; width 904 net/wireless/chan.c switch (chandef->width) { width 906 net/wireless/chan.c width = 5; width 910 net/wireless/chan.c width = 10; width 918 net/wireless/chan.c width = 20; width 921 net/wireless/chan.c width = 40; width 943 net/wireless/chan.c width = 80; width 953 net/wireless/chan.c width = 160; width 971 net/wireless/chan.c if (width > 20) width 975 net/wireless/chan.c if (width < 20) width 980 net/wireless/chan.c width, prohibited_flags)) width 986 net/wireless/chan.c width, prohibited_flags); width 1185 net/wireless/chan.c *radar_detect |= BIT(wdev->chandef.width); width 1202 net/wireless/chan.c *radar_detect |= BIT(wdev->chandef.width); width 1212 net/wireless/chan.c *radar_detect |= BIT(wdev->chandef.width); width 1225 net/wireless/chan.c *radar_detect |= BIT(wdev->chandef.width); width 161 net/wireless/mesh.c setup->chandef.width = NL80211_CHAN_WIDTH_20_NOHT; width 234 net/wireless/mesh.c if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT) width 2679 net/wireless/nl80211.c chandef->width = NL80211_CHAN_WIDTH_20_NOHT; width 2726 net/wireless/nl80211.c chandef->width = width 2759 net/wireless/nl80211.c if ((chandef->width == NL80211_CHAN_WIDTH_5 || width 2760 net/wireless/nl80211.c chandef->width == NL80211_CHAN_WIDTH_10) && width 3163 net/wireless/nl80211.c switch (chandef->width) { width 3174 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_ATTR_CHANNEL_WIDTH, chandef->width)) width 9485 net/wireless/nl80211.c switch (ibss.chandef.width) { width 9550 net/wireless/nl80211.c if ((ibss.chandef.width != NL80211_CHAN_WIDTH_20_NOHT) && width 13394 net/wireless/nl80211.c chandef.width != NL80211_CHAN_WIDTH_20_NOHT && width 13395 net/wireless/nl80211.c chandef.width != NL80211_CHAN_WIDTH_20) width 22 net/wireless/pmsr.c if (!(rdev->wiphy.pmsr_capa->ftm.bandwidths & BIT(out->chandef.width))) { width 131 net/wireless/trace.h __field(u32, width) \ width 140 net/wireless/trace.h __entry->width = (chandef)->width; \ width 146 net/wireless/trace.h __entry->width = 0; \ width 154 net/wireless/trace.h __entry->width, __entry->center_freq1, \ width 1545 net/wireless/util.c if (chandef->width > NL80211_CHAN_WIDTH_40) width 1549 net/wireless/util.c if (chandef->width == NL80211_CHAN_WIDTH_40) { width 1563 net/wireless/util.c if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT) width 1570 net/wireless/util.c switch (chandef->width) { width 1592 net/wireless/util.c } else if (chandef->width == NL80211_CHAN_WIDTH_40) { width 1608 net/wireless/util.c } else if (chandef->width == NL80211_CHAN_WIDTH_40) { width 1624 net/wireless/util.c } else if (chandef->width == NL80211_CHAN_WIDTH_40) { width 1640 net/wireless/util.c } else if (chandef->width == NL80211_CHAN_WIDTH_40) { width 1656 net/wireless/util.c if (chandef->width >= NL80211_CHAN_WIDTH_40) width 759 net/wireless/wext-compat.c .width = NL80211_CHAN_WIDTH_20_NOHT, width 24 samples/bpf/lathist_user.c static void stars(char *str, long val, long max, int width) width 28 samples/bpf/lathist_user.c for (i = 0; i < (width * val / max) - 1 && i < width - 1; i++) width 18 samples/bpf/lwt_len_hist_user.c static void stars(char *str, long val, long max, int width) width 22 samples/bpf/lwt_len_hist_user.c for (i = 0; i < (width * val / max) - 1 && i < width - 1; i++) width 17 samples/bpf/tracex2_user.c static void stars(char *str, long val, long max, int width) width 21 samples/bpf/tracex2_user.c for (i = 0; i < (width * val / max) - 1 && i < width - 1; i++) width 325 samples/v4l/v4l2-pci-skeleton.c pix->width = 720; width 331 samples/v4l/v4l2-pci-skeleton.c pix->width = skel->timings.bt.width; width 346 samples/v4l/v4l2-pci-skeleton.c pix->bytesperline = pix->width * 2; width 142 samples/vfio-mdev/mbochs.c u32 width; width 271 samples/vfio-mdev/mbochs.c mode->width = vbe[VBE_DISPI_INDEX_XRES]; width 274 samples/vfio-mdev/mbochs.c if (virt_width < mode->width) width 275 samples/vfio-mdev/mbochs.c virt_width = mode->width; width 281 samples/vfio-mdev/mbochs.c if (mode->width < 64 || mode->height < 64) { width 283 samples/vfio-mdev/mbochs.c __func__, mode->width, mode->height); width 830 samples/vfio-mdev/mbochs.c dmabuf->mode.width, dmabuf->mode.height, dmabuf->mode.stride, width 1124 samples/vfio-mdev/mbochs.c plane->width = 0; width 1141 samples/vfio-mdev/mbochs.c plane->width = dmabuf->mode.width; width 37 samples/vfio-mdev/mdpy-fb.c .width = -1, width 103 samples/vfio-mdev/mdpy-fb.c u32 format, width, height; width 115 samples/vfio-mdev/mdpy-fb.c pci_read_config_dword(pdev, MDPY_WIDTH_OFFSET, &width); width 122 samples/vfio-mdev/mdpy-fb.c if (width < 100 || width > 10000) { width 123 samples/vfio-mdev/mdpy-fb.c pci_err(pdev, "width (%d) out of range\n", width); width 131 samples/vfio-mdev/mdpy-fb.c width, height); width 142 samples/vfio-mdev/mdpy-fb.c info->fix.line_length = width * 4; width 145 samples/vfio-mdev/mdpy-fb.c info->var.xres = width; width 147 samples/vfio-mdev/mdpy-fb.c info->var.xres_virtual = width; width 59 samples/vfio-mdev/mdpy.c u32 width; width 66 samples/vfio-mdev/mdpy.c .width = 640, width 72 samples/vfio-mdev/mdpy.c .width = 1024, width 78 samples/vfio-mdev/mdpy.c .width = 1920, width 145 samples/vfio-mdev/mdpy.c mdev_state->type->width); width 221 samples/vfio-mdev/mdpy.c stride = mdev_state->type->width * mdev_state->type->bytepp; width 251 samples/vfio-mdev/mdpy.c fbsize = roundup_pow_of_two(type->width * type->height * type->bytepp); width 260 samples/vfio-mdev/mdpy.c __func__, kobj->name, type->width, type->height); width 495 samples/vfio-mdev/mdpy.c plane->width = mdev_state->type->width; width 497 samples/vfio-mdev/mdpy.c plane->stride = (mdev_state->type->width * width 646 samples/vfio-mdev/mdpy.c mdev_state->type->width, width 679 samples/vfio-mdev/mdpy.c type ? type->width : 0, width 102 scripts/dtc/treesource.c static void write_propval_int(FILE *f, const char *p, size_t len, size_t width) width 105 scripts/dtc/treesource.c assert(len % width == 0); width 107 scripts/dtc/treesource.c for (; p < end; p += width) { width 108 scripts/dtc/treesource.c switch (width) { width 122 scripts/dtc/treesource.c if (p + width < end) width 32 scripts/dtc/yamltree.c static void yaml_propval_int(yaml_emitter_t *emitter, struct marker *markers, char *data, int len, int width) width 38 scripts/dtc/yamltree.c switch(width) { width 44 scripts/dtc/yamltree.c die("Invalid width %i", width); width 46 scripts/dtc/yamltree.c assert(len % width == 0); width 49 scripts/dtc/yamltree.c (yaml_char_t *)tag, width == 4, YAML_FLOW_SEQUENCE_STYLE); width 52 scripts/dtc/yamltree.c for (off = 0; off < len; off += width) { width 57 scripts/dtc/yamltree.c switch(width) { width 88 scripts/kconfig/lxdialog/checklist.c static void print_buttons(WINDOW * dialog, int height, int width, int selected) width 90 scripts/kconfig/lxdialog/checklist.c int x = width / 2 - 11; width 105 scripts/kconfig/lxdialog/checklist.c int width, int list_height) width 124 scripts/kconfig/lxdialog/checklist.c if (getmaxx(stdscr) < (width + CHECKLIST_WIDTH_MIN)) width 130 scripts/kconfig/lxdialog/checklist.c x = (getmaxx(stdscr) - width) / 2; width 133 scripts/kconfig/lxdialog/checklist.c draw_shadow(stdscr, y, x, height, width); width 135 scripts/kconfig/lxdialog/checklist.c dialog = newwin(height, width, y, x); width 138 scripts/kconfig/lxdialog/checklist.c draw_box(dialog, 0, 0, height, width, width 142 scripts/kconfig/lxdialog/checklist.c for (i = 0; i < width - 2; i++) width 147 scripts/kconfig/lxdialog/checklist.c print_title(dialog, title, width); width 150 scripts/kconfig/lxdialog/checklist.c print_autowrap(dialog, prompt, width - 2, 1, 3); width 152 scripts/kconfig/lxdialog/checklist.c list_width = width - 6; width 154 scripts/kconfig/lxdialog/checklist.c box_x = (width - list_width) / 2 - 1; width 189 scripts/kconfig/lxdialog/checklist.c print_buttons(dialog, height, width, 0); width 296 scripts/kconfig/lxdialog/checklist.c print_buttons(dialog, height, width, button); width 202 scripts/kconfig/lxdialog/dialog.h void attr_clear(WINDOW * win, int height, int width, chtype attr); width 204 scripts/kconfig/lxdialog/dialog.h void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x); width 206 scripts/kconfig/lxdialog/dialog.h void print_title(WINDOW *dialog, const char *title, int width); width 207 scripts/kconfig/lxdialog/dialog.h void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box, width 209 scripts/kconfig/lxdialog/dialog.h void draw_shadow(WINDOW * win, int y, int x, int height, int width); width 212 scripts/kconfig/lxdialog/dialog.h int dialog_yesno(const char *title, const char *prompt, int height, int width); width 214 scripts/kconfig/lxdialog/dialog.h int width, int pause); width 225 scripts/kconfig/lxdialog/dialog.h int width, int list_height); width 227 scripts/kconfig/lxdialog/dialog.h int width, const char *init); width 16 scripts/kconfig/lxdialog/inputbox.c static void print_buttons(WINDOW * dialog, int height, int width, int selected) width 18 scripts/kconfig/lxdialog/inputbox.c int x = width / 2 - 11; width 31 scripts/kconfig/lxdialog/inputbox.c int dialog_inputbox(const char *title, const char *prompt, int height, int width, width 48 scripts/kconfig/lxdialog/inputbox.c if (getmaxx(stdscr) <= (width - INPUTBOX_WIDTH_MIN)) width 52 scripts/kconfig/lxdialog/inputbox.c x = (getmaxx(stdscr) - width) / 2; width 55 scripts/kconfig/lxdialog/inputbox.c draw_shadow(stdscr, y, x, height, width); width 57 scripts/kconfig/lxdialog/inputbox.c dialog = newwin(height, width, y, x); width 60 scripts/kconfig/lxdialog/inputbox.c draw_box(dialog, 0, 0, height, width, width 64 scripts/kconfig/lxdialog/inputbox.c for (i = 0; i < width - 2; i++) width 69 scripts/kconfig/lxdialog/inputbox.c print_title(dialog, title, width); width 72 scripts/kconfig/lxdialog/inputbox.c print_autowrap(dialog, prompt, width - 2, 1, 3); width 75 scripts/kconfig/lxdialog/inputbox.c box_width = width - 6; width 78 scripts/kconfig/lxdialog/inputbox.c box_x = (width - box_width) / 2; width 82 scripts/kconfig/lxdialog/inputbox.c print_buttons(dialog, height, width, 0); width 235 scripts/kconfig/lxdialog/inputbox.c print_buttons(dialog, height, width, 1); width 239 scripts/kconfig/lxdialog/inputbox.c print_buttons(dialog, height, width, 0); width 245 scripts/kconfig/lxdialog/inputbox.c print_buttons(dialog, height, width, 0); width 255 scripts/kconfig/lxdialog/inputbox.c print_buttons(dialog, height, width, 0); width 259 scripts/kconfig/lxdialog/inputbox.c print_buttons(dialog, height, width, 1); width 263 scripts/kconfig/lxdialog/inputbox.c print_buttons(dialog, height, width, 0); width 142 scripts/kconfig/lxdialog/menubox.c static void print_buttons(WINDOW * win, int height, int width, int selected) width 144 scripts/kconfig/lxdialog/menubox.c int x = width / 2 - 28; width 175 scripts/kconfig/lxdialog/menubox.c int height, width, menu_height; width 182 scripts/kconfig/lxdialog/menubox.c width = getmaxx(stdscr); width 183 scripts/kconfig/lxdialog/menubox.c if (height < MENUBOX_HEIGTH_MIN || width < MENUBOX_WIDTH_MIN) width 187 scripts/kconfig/lxdialog/menubox.c width -= 5; width 193 scripts/kconfig/lxdialog/menubox.c x = (getmaxx(stdscr) - width) / 2; width 196 scripts/kconfig/lxdialog/menubox.c draw_shadow(stdscr, y, x, height, width); width 198 scripts/kconfig/lxdialog/menubox.c dialog = newwin(height, width, y, x); width 201 scripts/kconfig/lxdialog/menubox.c draw_box(dialog, 0, 0, height, width, width 205 scripts/kconfig/lxdialog/menubox.c for (i = 0; i < width - 2; i++) width 211 scripts/kconfig/lxdialog/menubox.c print_title(dialog, title, width); width 214 scripts/kconfig/lxdialog/menubox.c print_autowrap(dialog, prompt, width - 2, 1, 3); width 216 scripts/kconfig/lxdialog/menubox.c menu_width = width - 6; width 218 scripts/kconfig/lxdialog/menubox.c box_x = (width - menu_width) / 2 - 1; width 265 scripts/kconfig/lxdialog/menubox.c print_buttons(dialog, height, width, 0); width 367 scripts/kconfig/lxdialog/menubox.c print_buttons(dialog, height, width, button); width 12 scripts/kconfig/lxdialog/textbox.c static void print_page(WINDOW *win, int height, int width, update_text_fn width 14 scripts/kconfig/lxdialog/textbox.c static void print_line(WINDOW *win, int row, int width); width 48 scripts/kconfig/lxdialog/textbox.c int height, width, boxh, boxw; width 69 scripts/kconfig/lxdialog/textbox.c getmaxyx(stdscr, height, width); width 70 scripts/kconfig/lxdialog/textbox.c if (height < TEXTBOX_HEIGTH_MIN || width < TEXTBOX_WIDTH_MIN) width 80 scripts/kconfig/lxdialog/textbox.c width = initial_width; width 82 scripts/kconfig/lxdialog/textbox.c if (width > 5) width 83 scripts/kconfig/lxdialog/textbox.c width -= 5; width 85 scripts/kconfig/lxdialog/textbox.c width = 0; width 88 scripts/kconfig/lxdialog/textbox.c x = (getmaxx(stdscr) - width) / 2; width 91 scripts/kconfig/lxdialog/textbox.c draw_shadow(stdscr, y, x, height, width); width 93 scripts/kconfig/lxdialog/textbox.c dialog = newwin(height, width, y, x); width 98 scripts/kconfig/lxdialog/textbox.c boxw = width - 2; width 106 scripts/kconfig/lxdialog/textbox.c draw_box(dialog, 0, 0, height, width, width 111 scripts/kconfig/lxdialog/textbox.c for (i = 0; i < width - 2; i++) width 117 scripts/kconfig/lxdialog/textbox.c print_title(dialog, title, width); width 119 scripts/kconfig/lxdialog/textbox.c print_button(dialog, " Exit ", height - 2, width / 2 - 4, TRUE); width 299 scripts/kconfig/lxdialog/textbox.c static void print_page(WINDOW *win, int height, int width, update_text_fn width 316 scripts/kconfig/lxdialog/textbox.c print_line(win, i, width); width 328 scripts/kconfig/lxdialog/textbox.c static void print_line(WINDOW * win, int row, int width) width 336 scripts/kconfig/lxdialog/textbox.c waddnstr(win, line, MIN(strlen(line), width - 2)); width 343 scripts/kconfig/lxdialog/textbox.c for (i = 0; i < width - x; i++) width 229 scripts/kconfig/lxdialog/util.c void attr_clear(WINDOW * win, int height, int width, chtype attr) width 236 scripts/kconfig/lxdialog/util.c for (j = 0; j < width; j++) width 304 scripts/kconfig/lxdialog/util.c int height, width; width 311 scripts/kconfig/lxdialog/util.c getmaxyx(stdscr, height, width); width 312 scripts/kconfig/lxdialog/util.c if (height < WINDOW_HEIGTH_MIN || width < WINDOW_WIDTH_MIN) { width 352 scripts/kconfig/lxdialog/util.c void print_title(WINDOW *dialog, const char *title, int width) width 355 scripts/kconfig/lxdialog/util.c int tlen = MIN(width - 2, strlen(title)); width 357 scripts/kconfig/lxdialog/util.c mvwaddch(dialog, 0, (width - tlen) / 2 - 1, ' '); width 358 scripts/kconfig/lxdialog/util.c mvwaddnstr(dialog, 0, (width - tlen)/2, title, tlen); width 369 scripts/kconfig/lxdialog/util.c void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x) width 379 scripts/kconfig/lxdialog/util.c if (prompt_len <= width - x * 2) { /* If prompt is short */ width 380 scripts/kconfig/lxdialog/util.c wmove(win, y, (width - prompt_len) / 2); width 398 scripts/kconfig/lxdialog/util.c room = width - cur_x; width 464 scripts/kconfig/lxdialog/util.c draw_box(WINDOW * win, int y, int x, int height, int width, width 472 scripts/kconfig/lxdialog/util.c for (j = 0; j < width; j++) width 477 scripts/kconfig/lxdialog/util.c else if (!i && j == width - 1) width 479 scripts/kconfig/lxdialog/util.c else if (i == height - 1 && j == width - 1) width 487 scripts/kconfig/lxdialog/util.c else if (j == width - 1) width 498 scripts/kconfig/lxdialog/util.c void draw_shadow(WINDOW * win, int y, int x, int height, int width) width 505 scripts/kconfig/lxdialog/util.c for (i = 0; i < width; i++) width 508 scripts/kconfig/lxdialog/util.c wmove(win, i, x + width); width 14 scripts/kconfig/lxdialog/yesno.c static void print_buttons(WINDOW * dialog, int height, int width, int selected) width 16 scripts/kconfig/lxdialog/yesno.c int x = width / 2 - 10; width 29 scripts/kconfig/lxdialog/yesno.c int dialog_yesno(const char *title, const char *prompt, int height, int width) width 37 scripts/kconfig/lxdialog/yesno.c if (getmaxx(stdscr) < (width + YESNO_WIDTH_MIN)) width 41 scripts/kconfig/lxdialog/yesno.c x = (getmaxx(stdscr) - width) / 2; width 44 scripts/kconfig/lxdialog/yesno.c draw_shadow(stdscr, y, x, height, width); width 46 scripts/kconfig/lxdialog/yesno.c dialog = newwin(height, width, y, x); width 49 scripts/kconfig/lxdialog/yesno.c draw_box(dialog, 0, 0, height, width, width 53 scripts/kconfig/lxdialog/yesno.c for (i = 0; i < width - 2; i++) width 58 scripts/kconfig/lxdialog/yesno.c print_title(dialog, title, width); width 61 scripts/kconfig/lxdialog/yesno.c print_autowrap(dialog, prompt, width - 2, 1, 3); width 63 scripts/kconfig/lxdialog/yesno.c print_buttons(dialog, height, width, 0); width 82 scripts/kconfig/lxdialog/yesno.c print_buttons(dialog, height, width, button); width 150 scripts/kconfig/nconf.gui.c int width, width 164 scripts/kconfig/nconf.gui.c if (width == 0) width 165 scripts/kconfig/nconf.gui.c width = 80; width 168 scripts/kconfig/nconf.gui.c temp = (width - length) / 2; width 78 scripts/kconfig/nconf.h int width, width 788 scripts/kconfig/qconf.cc if (x >= off && x < off + icon.availableSizes().first().width()) { width 1279 scripts/kconfig/qconf.cc int width, height; width 1283 scripts/kconfig/qconf.cc width = configSettings->value("/window width", parent->width() / 2).toInt(); width 1285 scripts/kconfig/qconf.cc resize(width, height); width 1304 scripts/kconfig/qconf.cc configSettings->setValue("/window width", size().width()); width 1340 scripts/kconfig/qconf.cc int width, height; width 1350 scripts/kconfig/qconf.cc width = configSettings->value("/window width", d->width() - 64).toInt(); width 1352 scripts/kconfig/qconf.cc resize(width, height); width 1798 scripts/kconfig/qconf.cc configSettings->setValue("/window width", size().width()); width 68 sound/core/oss/copy.c int width; width 81 sound/core/oss/copy.c width = snd_pcm_format_physical_width(src_format->format); width 82 sound/core/oss/copy.c if (snd_BUG_ON(width <= 0)) width 1633 sound/core/oss/pcm_oss.c unsigned long width; width 1649 sound/core/oss/pcm_oss.c width = snd_pcm_format_physical_width(format); width 1654 sound/core/oss/pcm_oss.c size = (8 * (runtime->oss.period_bytes - runtime->oss.buffer_used) + 7) / width; width 1668 sound/core/oss/pcm_oss.c size * 8 / width); width 52 sound/core/oss/pcm_plugin.c ssize_t width; width 62 sound/core/oss/pcm_plugin.c if ((width = snd_pcm_format_physical_width(format->format)) < 0) width 63 sound/core/oss/pcm_plugin.c return width; width 64 sound/core/oss/pcm_plugin.c size = frames * format->channels * width; width 84 sound/core/oss/pcm_plugin.c c->area.first = channel * width; width 85 sound/core/oss/pcm_plugin.c c->area.step = format->channels * width; width 97 sound/core/oss/pcm_plugin.c c->area.step = width; width 350 sound/core/oss/pcm_plugin.c unsigned int width = snd_pcm_format_width(format); width 361 sound/core/oss/pcm_plugin.c if (w >= width) width 362 sound/core/oss/pcm_plugin.c badness = w - width; width 364 sound/core/oss/pcm_plugin.c badness = width - w + 32; width 585 sound/core/oss/pcm_plugin.c int width, nchannels, channel; width 599 sound/core/oss/pcm_plugin.c if ((width = snd_pcm_format_physical_width(format->format)) < 0) width 600 sound/core/oss/pcm_plugin.c return width; width 610 sound/core/oss/pcm_plugin.c v->area.first = channel * width; width 611 sound/core/oss/pcm_plugin.c v->area.step = nchannels * width; width 693 sound/core/oss/pcm_plugin.c int width; width 698 sound/core/oss/pcm_plugin.c width = snd_pcm_format_physical_width(format); width 699 sound/core/oss/pcm_plugin.c if (width <= 0) width 701 sound/core/oss/pcm_plugin.c if (dst_area->step == (unsigned int) width && width >= 8) width 707 sound/core/oss/pcm_plugin.c if (width == 4) { width 724 sound/core/oss/pcm_plugin.c width /= 8; width 726 sound/core/oss/pcm_plugin.c memcpy(dst, silence, width); width 739 sound/core/oss/pcm_plugin.c int width; width 747 sound/core/oss/pcm_plugin.c width = snd_pcm_format_physical_width(format); width 748 sound/core/oss/pcm_plugin.c if (width <= 0) width 750 sound/core/oss/pcm_plugin.c if (src_area->step == (unsigned int) width && width 751 sound/core/oss/pcm_plugin.c dst_area->step == (unsigned int) width && width >= 8) { width 752 sound/core/oss/pcm_plugin.c size_t bytes = samples * width / 8; width 758 sound/core/oss/pcm_plugin.c if (width == 4) { width 788 sound/core/oss/pcm_plugin.c width /= 8; width 790 sound/core/oss/pcm_plugin.c memcpy(dst, src, width); width 1375 sound/core/pcm_lib.c int width = l & 0xffff; width 1383 sound/core/pcm_lib.c if ((snd_interval_value(i) == width) || width 1384 sound/core/pcm_lib.c (width == 0 && snd_interval_value(i) > msbits)) width 1406 sound/core/pcm_lib.c unsigned int width, width 1409 sound/core/pcm_lib.c unsigned long l = (msbits << 16) | width; width 1695 sound/core/pcm_lib.c int width; width 1700 sound/core/pcm_lib.c width = snd_pcm_format_physical_width(runtime->format); width 1701 sound/core/pcm_lib.c if (width < 0) width 1702 sound/core/pcm_lib.c return width; width 1707 sound/core/pcm_lib.c info->first = info->channel * width; width 1708 sound/core/pcm_lib.c info->step = runtime->channels * width; width 1715 sound/core/pcm_lib.c info->step = width; width 35 sound/core/pcm_misc.c unsigned char width; /* bit width */ width 47 sound/core/pcm_misc.c .width = 8, .phys = 8, .le = -1, .signd = 1, width 51 sound/core/pcm_misc.c .width = 8, .phys = 8, .le = -1, .signd = 0, width 55 sound/core/pcm_misc.c .width = 16, .phys = 16, .le = 1, .signd = 1, width 59 sound/core/pcm_misc.c .width = 16, .phys = 16, .le = 0, .signd = 1, width 63 sound/core/pcm_misc.c .width = 16, .phys = 16, .le = 1, .signd = 0, width 67 sound/core/pcm_misc.c .width = 16, .phys = 16, .le = 0, .signd = 0, width 71 sound/core/pcm_misc.c .width = 24, .phys = 32, .le = 1, .signd = 1, width 75 sound/core/pcm_misc.c .width = 24, .phys = 32, .le = 0, .signd = 1, width 79 sound/core/pcm_misc.c .width = 24, .phys = 32, .le = 1, .signd = 0, width 83 sound/core/pcm_misc.c .width = 24, .phys = 32, .le = 0, .signd = 0, width 87 sound/core/pcm_misc.c .width = 32, .phys = 32, .le = 1, .signd = 1, width 91 sound/core/pcm_misc.c .width = 32, .phys = 32, .le = 0, .signd = 1, width 95 sound/core/pcm_misc.c .width = 32, .phys = 32, .le = 1, .signd = 0, width 99 sound/core/pcm_misc.c .width = 32, .phys = 32, .le = 0, .signd = 0, width 103 sound/core/pcm_misc.c .width = 32, .phys = 32, .le = 1, .signd = -1, width 107 sound/core/pcm_misc.c .width = 32, .phys = 32, .le = 0, .signd = -1, width 111 sound/core/pcm_misc.c .width = 64, .phys = 64, .le = 1, .signd = -1, width 115 sound/core/pcm_misc.c .width = 64, .phys = 64, .le = 0, .signd = -1, width 119 sound/core/pcm_misc.c .width = 32, .phys = 32, .le = 1, .signd = -1, width 123 sound/core/pcm_misc.c .width = 32, .phys = 32, .le = 0, .signd = -1, width 127 sound/core/pcm_misc.c .width = 8, .phys = 8, .le = -1, .signd = -1, width 131 sound/core/pcm_misc.c .width = 8, .phys = 8, .le = -1, .signd = -1, width 135 sound/core/pcm_misc.c .width = 4, .phys = 4, .le = -1, .signd = -1, width 139 sound/core/pcm_misc.c .width = 3, .phys = 3, .le = -1, .signd = -1, width 143 sound/core/pcm_misc.c .width = 5, .phys = 5, .le = -1, .signd = -1, width 147 sound/core/pcm_misc.c .width = 8, .phys = 8, .le = 1, .signd = 0, width 151 sound/core/pcm_misc.c .width = 16, .phys = 16, .le = 1, .signd = 0, width 155 sound/core/pcm_misc.c .width = 32, .phys = 32, .le = 1, .signd = 0, width 159 sound/core/pcm_misc.c .width = 16, .phys = 16, .le = 0, .signd = 0, width 163 sound/core/pcm_misc.c .width = 32, .phys = 32, .le = 0, .signd = 0, width 174 sound/core/pcm_misc.c .width = 20, .phys = 32, .le = 1, .signd = 1, width 178 sound/core/pcm_misc.c .width = 20, .phys = 32, .le = 0, .signd = 1, width 182 sound/core/pcm_misc.c .width = 20, .phys = 32, .le = 1, .signd = 0, width 186 sound/core/pcm_misc.c .width = 20, .phys = 32, .le = 0, .signd = 0, width 194 sound/core/pcm_misc.c .width = 24, .phys = 24, .le = 1, .signd = 1, width 198 sound/core/pcm_misc.c .width = 24, .phys = 24, .le = 0, .signd = 1, width 202 sound/core/pcm_misc.c .width = 24, .phys = 24, .le = 1, .signd = 0, width 206 sound/core/pcm_misc.c .width = 24, .phys = 24, .le = 0, .signd = 0, width 210 sound/core/pcm_misc.c .width = 20, .phys = 24, .le = 1, .signd = 1, width 214 sound/core/pcm_misc.c .width = 20, .phys = 24, .le = 0, .signd = 1, width 218 sound/core/pcm_misc.c .width = 20, .phys = 24, .le = 1, .signd = 0, width 222 sound/core/pcm_misc.c .width = 20, .phys = 24, .le = 0, .signd = 0, width 226 sound/core/pcm_misc.c .width = 18, .phys = 24, .le = 1, .signd = 1, width 230 sound/core/pcm_misc.c .width = 18, .phys = 24, .le = 0, .signd = 1, width 234 sound/core/pcm_misc.c .width = 18, .phys = 24, .le = 1, .signd = 0, width 238 sound/core/pcm_misc.c .width = 18, .phys = 24, .le = 0, .signd = 0, width 242 sound/core/pcm_misc.c .width = 3, .phys = 8, .le = -1, .signd = -1, width 246 sound/core/pcm_misc.c .width = 5, .phys = 8, .le = -1, .signd = -1, width 348 sound/core/pcm_misc.c if ((val = pcm_formats[(INT)format].width) == 0) width 417 sound/core/pcm_misc.c int width; width 424 sound/core/pcm_misc.c width = pcm_formats[(INT)format].phys; /* physical width */ width 426 sound/core/pcm_misc.c if (! width) width 429 sound/core/pcm_misc.c if (pcm_formats[(INT)format].signd == 1 || width <= 8) { width 430 sound/core/pcm_misc.c unsigned int bytes = samples * width / 8; width 435 sound/core/pcm_misc.c width /= 8; width 439 sound/core/pcm_misc.c memcpy(dst, pat, width); width 440 sound/core/pcm_misc.c dst += width; width 444 sound/core/pcm_misc.c switch (width) { width 448 sound/pci/asihpi/asihpi.c int width; width 491 sound/pci/asihpi/asihpi.c width = snd_pcm_format_width(params_format(params)); width 492 sound/pci/asihpi/asihpi.c bytes_per_sec *= width; width 494 sound/pci/asihpi/asihpi.c if (width < 0 || bytes_per_sec == 0) width 251 sound/soc/bcm/bcm2835-i2s.c int slots, int width) width 256 sound/soc/bcm/bcm2835-i2s.c if (slots < 0 || width < 0) width 271 sound/soc/bcm/bcm2835-i2s.c if (slots * width > BCM2835_I2S_MAX_FRAME_LENGTH) width 279 sound/soc/bcm/bcm2835-i2s.c dev->slot_width = width; width 280 sound/soc/bcm/bcm2835-i2s.c dev->frame_length = slots * width; width 320 sound/soc/bcm/bcm2835-i2s.c unsigned int mask, unsigned int width, width 324 sound/soc/bcm/bcm2835-i2s.c * width + bit_offset; width 326 sound/soc/bcm/bcm2835-i2s.c * width + bit_offset; width 162 sound/soc/codecs/ad193x.c unsigned int rx_mask, int slots, int width) width 497 sound/soc/codecs/adau1977.c unsigned int rx_mask, int slots, int width) width 531 sound/soc/codecs/adau1977.c switch (width) { width 595 sound/soc/codecs/adau1977.c adau1977->slot_width = width; width 598 sound/soc/codecs/adau1977.c adau1977->max_master_fs = min(192000, 24576000 / width / slots); width 82 sound/soc/codecs/ak4613.c unsigned int width; width 346 sound/soc/codecs/ak4613.c unsigned int fmt, unsigned int width) width 355 sound/soc/codecs/ak4613.c if (fmts->width != width) width 369 sound/soc/codecs/ak4613.c unsigned int width = params_width(params); width 408 sound/soc/codecs/ak4613.c if (ak4613_dai_fmt_matching(priv->iface, is_play, fmt, width)) width 414 sound/soc/codecs/ak4613.c fmt, width)) width 269 sound/soc/codecs/pcm186x.c unsigned int width = params_width(params); width 277 sound/soc/codecs/pcm186x.c __func__, rate, format, width, channels); width 279 sound/soc/codecs/pcm186x.c switch (width) { width 313 sound/soc/codecs/pcm186x.c div_lrck = width * channels; width 153 sound/soc/codecs/si476x.c int rate, width, err; width 163 sound/soc/codecs/si476x.c width = SI476X_PCM_FORMAT_S8; width 166 sound/soc/codecs/si476x.c width = SI476X_PCM_FORMAT_S16_LE; width 169 sound/soc/codecs/si476x.c width = SI476X_PCM_FORMAT_S20_3LE; width 172 sound/soc/codecs/si476x.c width = SI476X_PCM_FORMAT_S24_LE; width 189 sound/soc/codecs/si476x.c (width << SI476X_DIGITAL_IO_SLOT_SIZE_SHIFT) | width 190 sound/soc/codecs/si476x.c (width << SI476X_DIGITAL_IO_SAMPLE_SIZE_SHIFT)); width 524 sound/soc/codecs/ssm2518.c unsigned int rx_mask, int slots, int width) width 559 sound/soc/codecs/ssm2518.c switch (width) { width 234 sound/soc/codecs/ssm4567.c unsigned int rx_mask, int slots, int width) width 251 sound/soc/codecs/ssm4567.c switch (width) { width 116 sound/soc/codecs/tas6424.c unsigned int width = params_width(params); width 119 sound/soc/codecs/tas6424.c dev_dbg(component->dev, "%s() rate=%u width=%u\n", __func__, rate, width); width 136 sound/soc/codecs/tas6424.c switch (width) { width 143 sound/soc/codecs/tas6424.c dev_err(component->dev, "unsupported sample width: %u\n", width); width 1053 sound/soc/codecs/tlv320aic3x.c int width = aic3x->slot_width; width 1055 sound/soc/codecs/tlv320aic3x.c if (!width) width 1056 sound/soc/codecs/tlv320aic3x.c width = params_width(params); width 1060 sound/soc/codecs/tlv320aic3x.c switch (width) { width 1202 sound/soc/codecs/tlv320aic3x.c int width = aic3x->slot_width; width 1204 sound/soc/codecs/tlv320aic3x.c if (!width) width 1205 sound/soc/codecs/tlv320aic3x.c width = substream->runtime->sample_bits; width 1209 sound/soc/codecs/tlv320aic3x.c delay += (aic3x->tdm_delay*width + 1); width 1211 sound/soc/codecs/tlv320aic3x.c delay += aic3x->tdm_delay*width; width 816 sound/soc/codecs/tscs42xx.c unsigned int width; width 821 sound/soc/codecs/tscs42xx.c width = RV_AIC1_WL_16; width 824 sound/soc/codecs/tscs42xx.c width = RV_AIC1_WL_20; width 827 sound/soc/codecs/tscs42xx.c width = RV_AIC1_WL_24; width 830 sound/soc/codecs/tscs42xx.c width = RV_AIC1_WL_32; width 838 sound/soc/codecs/tscs42xx.c R_AIC1, RM_AIC1_WL, width); width 3128 sound/soc/codecs/tscs454.c unsigned int width; width 3133 sound/soc/codecs/tscs454.c width = FV_WL_16; width 3136 sound/soc/codecs/tscs454.c width = FV_WL_20; width 3139 sound/soc/codecs/tscs454.c width = FV_WL_24; width 3143 sound/soc/codecs/tscs454.c width = FV_WL_32; width 3168 sound/soc/codecs/tscs454.c reg, FM_I2SPCTL_WL, width); width 30 sound/soc/codecs/wl1273.c int rate, int width) width 37 sound/soc/codecs/wl1273.c dev_dbg(dev, "width: %d\n", width); width 74 sound/soc/codecs/wl1273.c switch (width) { width 103 sound/soc/codecs/wl1273.c dev_err(dev, "Data width: %d not supported\n", width); width 326 sound/soc/codecs/wl1273.c unsigned int rate, width, r; width 335 sound/soc/codecs/wl1273.c width = hw_param_interval(params, SNDRV_PCM_HW_PARAM_SAMPLE_BITS)->min; width 369 sound/soc/codecs/wl1273.c r = snd_wl1273_fm_set_i2s_mode(core, rate, width); width 490 sound/soc/fsl/fsl-asoc-card.c u32 width; width 683 sound/soc/fsl/fsl-asoc-card.c ret = of_property_read_u32(asrc_np, "fsl,asrc-width", &width); width 690 sound/soc/fsl/fsl-asoc-card.c if (width == 24) width 500 sound/soc/fsl/fsl_asrc.c int width = params_width(params); width 516 sound/soc/fsl/fsl_asrc.c if (width == 16) width 517 sound/soc/fsl/fsl_asrc.c width = ASRC_WIDTH_16_BIT; width 519 sound/soc/fsl/fsl_asrc.c width = ASRC_WIDTH_24_BIT; width 532 sound/soc/fsl/fsl_asrc.c config.input_word_width = width; width 538 sound/soc/fsl/fsl_asrc.c config.output_word_width = width; width 510 sound/soc/fsl/fsl_esai.c u32 width = params_width(params); width 513 sound/soc/fsl/fsl_esai.c u32 slot_width = width; width 528 sound/soc/fsl/fsl_esai.c val = ESAI_xCR_xSWS(slot_width, width); width 545 sound/soc/fsl/fsl_esai.c val = ESAI_xFCR_xWA(width) | ESAI_xFCR_xFWM(esai_priv->fifo_depth) | width 147 sound/soc/meson/axg-spdifin.c unsigned int width) width 155 sound/soc/meson/axg-spdifin.c shift = width * (num_per_reg - 1 - rem); width 157 sound/soc/meson/axg-spdifin.c regmap_update_bits(map, reg, GENMASK(width - 1, 0) << shift, width 173 sound/soc/meson/axg-tdm-interface.c unsigned int width = params_width(params); width 184 sound/soc/meson/axg-tdm-interface.c if (iface->slot_width < width) { width 191 sound/soc/meson/axg-tdm-interface.c ts->width = params_width(params); width 57 sound/soc/meson/axg-tdm.h unsigned int width; width 146 sound/soc/meson/axg-tdmout.c val = TDMOUT_CTRL1_MSB_POS(ts->width - 1); width 59 sound/soc/meson/axg-toddr.c unsigned int type, width; width 75 sound/soc/meson/axg-toddr.c width = params_width(params); width 83 sound/soc/meson/axg-toddr.c CTRL0_TODDR_LSB_POS(TODDR_MSB_POS - (width - 1))); width 88 sound/soc/pxa/magician.c unsigned int width; width 103 sound/soc/pxa/magician.c width = snd_pcm_format_physical_width(params_format(params)); width 104 sound/soc/pxa/magician.c ret = snd_soc_dai_set_tdm_slot(cpu_dai, 1, 0, 1, width); width 557 sound/soc/pxa/pxa-ssp.c int width = snd_pcm_format_physical_width(params_format(params)); width 561 sound/soc/pxa/pxa-ssp.c int bclk = rate * chn * (width / 8); width 571 sound/soc/pxa/pxa-ssp.c ((chn == 2) && (ttsa != 1)) || (width == 32), width 625 sound/soc/pxa/pxa-ssp.c if (width == 32) width 651 sound/soc/pxa/pxa-ssp.c if (((priv->sysclk / bclk) == 64) && (width == 16)) { width 663 sound/soc/pxa/pxa-ssp.c sspsp |= SSPSP_SFRMWDTH(width * 2); width 664 sound/soc/pxa/pxa-ssp.c sspsp |= SSPSP_SFRMDLY(width * 4); width 675 sound/soc/pxa/pxa-ssp.c sspsp |= SSPSP_SFRMWDTH(width + 1); width 676 sound/soc/pxa/pxa-ssp.c sspsp |= SSPSP_SFRMDLY((width + 1) * 2); width 638 sound/soc/sh/rcar/core.c int rsnd_rdai_width_ctrl(struct rsnd_dai *rdai, int width) width 640 sound/soc/sh/rcar/core.c if (width > 0) width 641 sound/soc/sh/rcar/core.c rdai->chan_width = width; width 568 sound/soc/sh/rcar/rsnd.h #define rsnd_rdai_width_set(rdai, width) \ width 569 sound/soc/sh/rcar/rsnd.h rsnd_rdai_width_ctrl(rdai, width) width 572 sound/soc/sh/rcar/rsnd.h int rsnd_rdai_width_ctrl(struct rsnd_dai *rdai, int width); width 217 sound/soc/sh/rcar/ssi.c int width = rsnd_rdai_width_get(rdai); width 219 sound/soc/sh/rcar/ssi.c switch (width) { width 225 sound/soc/sh/rcar/ssi.c dev_err(dev, "unsupported slot width value: %d\n", width); width 238 sound/soc/sh/rcar/ssi.c int width = rsnd_rdai_width_get(rdai); width 251 sound/soc/sh/rcar/ssi.c main_rate = width * param1 * param2 * ssi_clk_mul_table[j]; width 373 sound/soc/sh/rcar/ssi.c int width; width 417 sound/soc/sh/rcar/ssi.c width = snd_pcm_format_width(runtime->format); width 425 sound/soc/sh/rcar/ssi.c width = 32; width 428 sound/soc/sh/rcar/ssi.c switch (width) { width 3287 sound/soc/soc-dapm.c unsigned int width = fls(max); width 3308 sound/soc/soc-dapm.c rval = (reg_val >> width) & mask; width 3350 sound/soc/soc-dapm.c unsigned int width = fls(max); width 3351 sound/soc/soc-dapm.c unsigned int mask = (1 << width) - 1; width 3374 sound/soc/soc-dapm.c if (width > sizeof(unsigned int) * 8 / 2) width 3378 sound/soc/soc-dapm.c change = dapm_kcontrol_set_value(kcontrol, val | (rval << width)); width 360 sound/soc/sunxi/sun4i-i2s.c static s8 sun4i_i2s_get_sr(const struct sun4i_i2s *i2s, int width) width 362 sound/soc/sunxi/sun4i-i2s.c if (width < 16 || width > 24) width 365 sound/soc/sunxi/sun4i-i2s.c if (width % 4) width 368 sound/soc/sunxi/sun4i-i2s.c return (width - 16) / 4; width 371 sound/soc/sunxi/sun4i-i2s.c static s8 sun4i_i2s_get_wss(const struct sun4i_i2s *i2s, int width) width 373 sound/soc/sunxi/sun4i-i2s.c if (width < 16 || width > 32) width 376 sound/soc/sunxi/sun4i-i2s.c if (width % 4) width 379 sound/soc/sunxi/sun4i-i2s.c return (width - 16) / 4; width 382 sound/soc/sunxi/sun4i-i2s.c static s8 sun8i_i2s_get_sr_wss(const struct sun4i_i2s *i2s, int width) width 384 sound/soc/sunxi/sun4i-i2s.c if (width % 4) width 387 sound/soc/sunxi/sun4i-i2s.c if (width < 8 || width > 32) width 390 sound/soc/sunxi/sun4i-i2s.c return (width - 8) / 4 + 1; width 479 sound/soc/sunxi/sun4i-i2s.c u32 width; width 495 sound/soc/sunxi/sun4i-i2s.c width = DMA_SLAVE_BUSWIDTH_2_BYTES; width 502 sound/soc/sunxi/sun4i-i2s.c i2s->playback_dma_data.addr_width = width; width 51 tools/firewire/decode-fcp.c int width; /* Width of field, 0 means use data_length. */ width 316 tools/firewire/nosy-dump.c int width; /* Width of field, 0 means use data_length. */ width 644 tools/firewire/nosy-dump.c get_bits(struct link_packet *packet, int offset, int width) width 650 tools/firewire/nosy-dump.c shift = 32 - (offset & 31) - width; width 651 tools/firewire/nosy-dump.c mask = width == 32 ? ~0 : (1 << width) - 1; width 710 tools/firewire/nosy-dump.c bits = get_bits(packet, offset, f->width); width 712 tools/firewire/nosy-dump.c } else if (f->width == 0) { width 720 tools/firewire/nosy-dump.c if ((offset & ~31) != ((offset + f->width - 1) & ~31)) { width 723 tools/firewire/nosy-dump.c low_width = f->width - high_width; width 729 tools/firewire/nosy-dump.c bits = get_bits(packet, offset, f->width); width 732 tools/firewire/nosy-dump.c printf("%s=0x%0*llx", f->name, (f->width + 3) / 4, bits); width 224 tools/include/uapi/drm/i915_drm.h int width, height; /* screen size in pixels */ width 397 tools/perf/builtin-c2c.c int width; width 420 tools/perf/builtin-c2c.c int width = hists__col_len(hists, se->se_width_idx); width 423 tools/perf/builtin-c2c.c width = MIN(width, SYMBOL_WIDTH); width 425 tools/perf/builtin-c2c.c return width; width 442 tools/perf/builtin-c2c.c c2c_fmt->dim->width; width 452 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, hists); width 476 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, text); width 496 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 502 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); width 510 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 516 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, c2c_he->nodestr); width 524 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 527 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*lu", width, c2c_he->paddr_cnt); width 534 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 540 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); width 562 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 568 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); width 583 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 589 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*u", width, tot_hitm); width 616 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); \ width 619 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*u", width, \ width 668 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 672 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*lu", width, width 718 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 724 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*" PRIu64, width, tot_recs); width 769 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 775 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*" PRIu64, width, tot_recs); width 803 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 811 tools/perf/builtin-c2c.c return __hpp__slsmg_color_printf(hpp, "%*.2f%%", width - 1, per); width 813 tools/perf/builtin-c2c.c return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, per); width 860 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 866 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); width 935 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 939 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); width 966 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 970 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); width 997 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 1001 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); width 1028 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 1032 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); width 1062 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 1064 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*d", width, he->thread->pid_); width 1184 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 1188 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); width 1209 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 1215 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); width 1223 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 1229 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); width 1236 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); width 1238 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, ""); width 1281 tools/perf/builtin-c2c.c .width = 18, width 1289 tools/perf/builtin-c2c.c .width = 4, width 1297 tools/perf/builtin-c2c.c .width = 6, width 1307 tools/perf/builtin-c2c.c .width = 18, width 1315 tools/perf/builtin-c2c.c .width = 4, width 1323 tools/perf/builtin-c2c.c .width = 18, width 1331 tools/perf/builtin-c2c.c .width = 7, width 1339 tools/perf/builtin-c2c.c .width = 7, width 1347 tools/perf/builtin-c2c.c .width = 7, width 1355 tools/perf/builtin-c2c.c .width = 7, width 1363 tools/perf/builtin-c2c.c .width = 7, width 1371 tools/perf/builtin-c2c.c .width = 7, width 1379 tools/perf/builtin-c2c.c .width = 7, width 1387 tools/perf/builtin-c2c.c .width = 7, width 1395 tools/perf/builtin-c2c.c .width = 7, width 1403 tools/perf/builtin-c2c.c .width = 7, width 1411 tools/perf/builtin-c2c.c .width = 7, width 1419 tools/perf/builtin-c2c.c .width = 7, width 1427 tools/perf/builtin-c2c.c .width = 7, width 1435 tools/perf/builtin-c2c.c .width = 8, width 1443 tools/perf/builtin-c2c.c .width = 8, width 1451 tools/perf/builtin-c2c.c .width = 7, width 1459 tools/perf/builtin-c2c.c .width = 7, width 1467 tools/perf/builtin-c2c.c .width = 7, width 1481 tools/perf/builtin-c2c.c .width = 7, width 1490 tools/perf/builtin-c2c.c .width = 7, width 1499 tools/perf/builtin-c2c.c .width = 7, width 1508 tools/perf/builtin-c2c.c .width = 7, width 1517 tools/perf/builtin-c2c.c .width = 7, width 1525 tools/perf/builtin-c2c.c .width = 8, width 1533 tools/perf/builtin-c2c.c .width = 8, width 1541 tools/perf/builtin-c2c.c .width = 7, width 1571 tools/perf/builtin-c2c.c .width = 4, width 1579 tools/perf/builtin-c2c.c .width = 8, width 1587 tools/perf/builtin-c2c.c .width = 8, width 1595 tools/perf/builtin-c2c.c .width = 8, width 1603 tools/perf/builtin-c2c.c .width = 8, width 1616 tools/perf/builtin-c2c.c .width = 5, width 1624 tools/perf/builtin-c2c.c .width = 5, width 1632 tools/perf/builtin-c2c.c .width = 5, width 1774 tools/perf/builtin-c2c.c fmt->width = c2c_width; width 1950 tools/perf/builtin-c2c.c if (len > dim->width) width 1951 tools/perf/builtin-c2c.c dim->width = len; width 2528 tools/perf/builtin-c2c.c dim_offset.width = 5; width 2536 tools/perf/builtin-c2c.c buf = fill_line("Cacheline", dim_dcacheline.width + width 2537 tools/perf/builtin-c2c.c dim_dcacheline_node.width + width 2538 tools/perf/builtin-c2c.c dim_dcacheline_count.width + 4); width 2545 tools/perf/builtin-c2c.c buf = fill_line(nodestr, dim_offset.width + width 2546 tools/perf/builtin-c2c.c dim_offset_node.width + width 2547 tools/perf/builtin-c2c.c dim_dcacheline_count.width + 4); width 131 tools/perf/builtin-diff.c int width; width 138 tools/perf/builtin-diff.c .width = 14, width 142 tools/perf/builtin-diff.c .width = 14, width 146 tools/perf/builtin-diff.c .width = 7, width 150 tools/perf/builtin-diff.c .width = 7, width 154 tools/perf/builtin-diff.c .width = 14, width 158 tools/perf/builtin-diff.c .width = 14, width 162 tools/perf/builtin-diff.c .width = MAX_COL_WIDTH, width 166 tools/perf/builtin-diff.c .width = 70, width 1330 tools/perf/builtin-diff.c struct perf_hpp *hpp, int width) width 1369 tools/perf/builtin-diff.c return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); width 1605 tools/perf/builtin-diff.c int width = 0; width 1609 tools/perf/builtin-diff.c width = columns[dfmt->idx].width; width 1618 tools/perf/builtin-diff.c dfmt->header_width = width; width 1619 tools/perf/builtin-diff.c width = (int) strlen(NAME); width 1620 tools/perf/builtin-diff.c if (dfmt->header_width < width) width 1621 tools/perf/builtin-diff.c dfmt->header_width = width; width 1639 tools/perf/builtin-diff.c fmt->width = hpp__width; width 1833 tools/perf/builtin-sched.c static inline void print_sched_time(unsigned long long nsecs, int width) width 1841 tools/perf/builtin-sched.c printf("%*lu.%03lu ", width, msecs, usecs); width 479 tools/perf/tests/builtin-test.c int width = 0; width 495 tools/perf/tests/builtin-test.c if (width < len) width 496 tools/perf/tests/builtin-test.c width = len; width 501 tools/perf/tests/builtin-test.c return width; width 524 tools/perf/tests/builtin-test.c static int run_shell_tests(int argc, const char *argv[], int i, int width) width 553 tools/perf/tests/builtin-test.c pr_info("%2d: %-*s:", i, width, test.desc); width 566 tools/perf/tests/builtin-test.c int width = shell_tests__max_desc_width(); width 571 tools/perf/tests/builtin-test.c if (width < len) width 572 tools/perf/tests/builtin-test.c width = len; width 582 tools/perf/tests/builtin-test.c pr_debug("%2d: %-*s: Disabled\n", i, width, t->desc); width 586 tools/perf/tests/builtin-test.c pr_info("%2d: %-*s:", i, width, t->desc); width 605 tools/perf/tests/builtin-test.c int subw = width > 2 ? width - 2 : width; width 633 tools/perf/tests/builtin-test.c return run_shell_tests(argc, argv, i, width); width 58 tools/perf/ui/browser.c unsigned int width) width 60 tools/perf/ui/browser.c slsmg_write_nstring(msg, width); width 196 tools/perf/ui/browser.c browser->width = SLtt_Screen_Cols - 1; width 266 tools/perf/ui/browser.c ui_browser__write_nstring(browser, title, browser->width + 1); width 313 tools/perf/ui/browser.c col = browser->width, width 335 tools/perf/ui/browser.c int width = browser->width; width 343 tools/perf/ui/browser.c width += 1; width 346 tools/perf/ui/browser.c browser->rows - row, width, ' '); width 20 tools/perf/ui/browser.h u16 y, x, width, height, rows, columns, horiz_scroll; width 47 tools/perf/ui/browser.h unsigned int width); width 109 tools/perf/ui/browsers/annotate.c .width = browser->width, width 120 tools/perf/ui/browsers/annotate.c ops.width += 1; width 157 tools/perf/ui/browsers/annotate.c int width; width 201 tools/perf/ui/browsers/annotate.c width = annotation__cycles_width(notes); width 205 tools/perf/ui/browsers/annotate.c pcnt_width + 2 + notes->widths.addr + width, width 210 tools/perf/ui/browsers/annotate.c pcnt_width + 3 + notes->widths.addr + width, width 622 tools/perf/ui/browsers/annotate.c ui_browser__write_nstring(browser, symbol_dso, browser->width + 1); width 931 tools/perf/ui/browsers/annotate.c browser.b.width = notes->max_line_len; width 934 tools/perf/ui/browsers/annotate.c browser.b.width += 18; /* Percentage */ width 29 tools/perf/ui/browsers/header.c ui_browser__write_nstring(browser, str, browser->width); width 129 tools/perf/ui/browsers/hists.c browser->width = 3 + (hists__sort_list_width(hb->hists) + sizeof("[k]")); width 743 tools/perf/ui/browsers/hists.c int color, width; width 748 tools/perf/ui/browsers/hists.c width = browser->b.width - (offset + 2); width 760 tools/perf/ui/browsers/hists.c ui_browser__write_nstring(&browser->b, str, width); width 1249 tools/perf/ui/browsers/hists.c int width = browser->b.width; width 1300 tools/perf/ui/browsers/hists.c width -= 2; width 1305 tools/perf/ui/browsers/hists.c width -= 2; width 1320 tools/perf/ui/browsers/hists.c width -= hpp.buf - s; width 1325 tools/perf/ui/browsers/hists.c width += 1; width 1327 tools/perf/ui/browsers/hists.c ui_browser__write_nstring(&browser->b, "", width); width 1356 tools/perf/ui/browsers/hists.c int width = browser->b.width; width 1392 tools/perf/ui/browsers/hists.c width -= level * HIERARCHY_INDENT; width 1419 tools/perf/ui/browsers/hists.c width -= 2; width 1423 tools/perf/ui/browsers/hists.c width -= 2; width 1439 tools/perf/ui/browsers/hists.c width -= hpp.buf - s; width 1444 tools/perf/ui/browsers/hists.c width -= hierarchy_indent; width 1471 tools/perf/ui/browsers/hists.c width -= 2; width 1479 tools/perf/ui/browsers/hists.c width -= fmt->color(fmt, &hpp, entry); width 1483 tools/perf/ui/browsers/hists.c width -= fmt->entry(fmt, &hpp, entry); width 1487 tools/perf/ui/browsers/hists.c width++; width 1494 tools/perf/ui/browsers/hists.c width += 1; width 1496 tools/perf/ui/browsers/hists.c ui_browser__write_nstring(&browser->b, "", width); width 1519 tools/perf/ui/browsers/hists.c int width = browser->b.width; width 1541 tools/perf/ui/browsers/hists.c width -= level * HIERARCHY_INDENT; width 1551 tools/perf/ui/browsers/hists.c ret = fmt->width(fmt, NULL, browser->hists); width 1563 tools/perf/ui/browsers/hists.c width -= ret; width 1567 tools/perf/ui/browsers/hists.c width -= indent * HIERARCHY_INDENT; width 1574 tools/perf/ui/browsers/hists.c width -= ret + 2; width 1579 tools/perf/ui/browsers/hists.c width += 1; width 1581 tools/perf/ui/browsers/hists.c ui_browser__write_nstring(&browser->b, "", width); width 1723 tools/perf/ui/browsers/hists.c ui_browser__write_nstring(&browser->b, headers, browser->b.width + 1); width 1741 tools/perf/ui/browsers/hists.c ui_browser__write_nstring(&browser->b, headers, browser->b.width + 1); width 3264 tools/perf/ui/browsers/hists.c ui_browser__write_nstring(browser, warn, browser->width - printed); width 3402 tools/perf/ui/browsers/hists.c if (menu.b.width < line_len) width 3403 tools/perf/ui/browsers/hists.c menu.b.width = line_len; width 30 tools/perf/ui/browsers/map.c int width; width 37 tools/perf/ui/browsers/map.c width = browser->width - ((mb->addrlen * 2) + 4); width 38 tools/perf/ui/browsers/map.c if (width > 0) width 39 tools/perf/ui/browsers/map.c ui_browser__write_nstring(browser, sym->name, width); width 22 tools/perf/ui/gtk/browser.c int width; width 30 tools/perf/ui/gtk/browser.c width = rect.width * 3 / 4; width 33 tools/perf/ui/gtk/browser.c gtk_window_resize(GTK_WINDOW(window), width, height); width 402 tools/perf/ui/hist.c .width = hpp__width_fn, \ width 416 tools/perf/ui/hist.c .width = hpp__width_fn, \ width 430 tools/perf/ui/hist.c .width = hpp__width_fn, \ width 663 tools/perf/ui/hist.c ret += fmt->width(fmt, &dummy_hpp, hists); width 688 tools/perf/ui/hist.c ret += fmt->width(fmt, &dummy_hpp, hists); width 599 tools/perf/ui/stdio/hist.c int width; width 604 tools/perf/ui/stdio/hist.c width = (indent - 2) * HIERARCHY_INDENT; width 606 tools/perf/ui/stdio/hist.c return fprintf(fp, "%-*.*s", width, width, line); width 615 tools/perf/ui/stdio/hist.c unsigned width = 0; width 672 tools/perf/ui/stdio/hist.c width = fmt->width(fmt, hpp, hists); width 673 tools/perf/ui/stdio/hist.c fprintf(fp, "%.*s", width, dots); width 679 tools/perf/ui/stdio/hist.c width = depth * HIERARCHY_INDENT; width 686 tools/perf/ui/stdio/hist.c width++; /* for '+' sign between column header */ width 689 tools/perf/ui/stdio/hist.c width += fmt->width(fmt, hpp, hists); width 692 tools/perf/ui/stdio/hist.c if (width > header_width) width 693 tools/perf/ui/stdio/hist.c header_width = width; width 736 tools/perf/ui/stdio/hist.c unsigned int width; width 767 tools/perf/ui/stdio/hist.c width = fmt->width(fmt, hpp, hists); width 768 tools/perf/ui/stdio/hist.c for (i = 0; i < width; i++) width 23 tools/perf/ui/tui/util.c ui_browser__write_nstring(browser, *arg, browser->width); width 1451 tools/perf/util/annotate.c int width = symbol_conf.show_total_period ? 12 : 8; width 1457 tools/perf/util/annotate.c width *= evsel->core.nr_members; width 1460 tools/perf/util/annotate.c printf(" %*s:\n", width, " "); width 1462 tools/perf/util/annotate.c printf(" %*s: %*s %s\n", width, " ", addr_fmt_width, " ", al->line); width 2282 tools/perf/util/annotate.c int width = symbol_conf.show_total_period ? 12 : 8; width 2298 tools/perf/util/annotate.c width *= evsel->core.nr_members; width 2305 tools/perf/util/annotate.c width, width, symbol_conf.show_total_period ? "Period" : width 2809 tools/perf/util/annotate.c bool first_line, bool current_entry, bool change_color, int width, width 2913 tools/perf/util/annotate.c obj__printf(obj, "%-*s", width - pcnt_width - cycles_width, " "); width 2920 tools/perf/util/annotate.c obj__printf(obj, "%-*s", width - printed - pcnt_width - cycles_width + 1, al->line); width 2965 tools/perf/util/annotate.c obj__printf(obj, "%-*s", width - pcnt_width - cycles_width - 3 - printed, bf); width 2975 tools/perf/util/annotate.c wops->change_color, wops->width, wops->obj, width 204 tools/perf/util/annotate.h int width; width 1285 tools/perf/util/hist.c const int width = fmt->width(fmt, hpp, he->hists); width 1286 tools/perf/util/hist.c if (printed < width) { width 1288 tools/perf/util/hist.c printed = scnprintf(hpp->buf, hpp->size, "%-*s", width - printed, " "); width 260 tools/perf/util/hist.h int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, width 1985 tools/perf/util/parse-events.c int width = get_term_width() - 2; width 2001 tools/perf/util/parse-events.c max_len = width - len_str; width 98 tools/perf/util/sort.c size_t size, unsigned int width) width 102 tools/perf/util/sort.c width = max(7U, width) - 8; width 104 tools/perf/util/sort.c width, width, comm ?: ""); width 151 tools/perf/util/sort.c size_t size, unsigned int width) width 153 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*.*s", width, width, comm__str(he->comm)); width 195 tools/perf/util/sort.c size_t size, unsigned int width) width 200 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*.*s", width, width, dso_name); width 203 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*.*s", width, width, "[unknown]"); width 207 tools/perf/util/sort.c size_t size, unsigned int width) width 209 tools/perf/util/sort.c return _hist_entry__dso_snprintf(he->ms.map, bf, size, width); width 292 tools/perf/util/sort.c unsigned int width) width 310 tools/perf/util/sort.c width - ret, width 326 tools/perf/util/sort.c size_t size, unsigned int width) width 329 tools/perf/util/sort.c he->level, bf, size, width); width 370 tools/perf/util/sort.c size_t size, unsigned int width) width 375 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-.*s", width, he->srcline); width 405 tools/perf/util/sort.c size_t size, unsigned int width) width 407 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*.*s", width, width, he->branch_info->srcline_from); width 432 tools/perf/util/sort.c size_t size, unsigned int width) width 434 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*.*s", width, width, he->branch_info->srcline_to); width 445 tools/perf/util/sort.c size_t size, unsigned int width) width 454 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*s", width, "-"); width 467 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*s", width, tmp); width 480 tools/perf/util/sort.c unsigned int width) width 485 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*s", width, tmp); width 532 tools/perf/util/sort.c size_t size, unsigned int width) width 537 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-.*s", width, he->srcfile); width 562 tools/perf/util/sort.c size_t size, unsigned int width) width 564 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*.*s", width, width, width 584 tools/perf/util/sort.c size_t size, unsigned int width) width 586 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%*.*d", width, width, he->cpu); width 623 tools/perf/util/sort.c unsigned int width __maybe_unused) width 645 tools/perf/util/sort.c size_t size, unsigned int width) width 647 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%*.*d", width, width-3, he->socket); width 677 tools/perf/util/sort.c size_t size, unsigned int width) width 688 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-.*s", width, he_time); width 744 tools/perf/util/sort.c size_t size, unsigned int width) width 750 tools/perf/util/sort.c return scnprintf(bf, size, "%-.*s", width, "N/A"); width 754 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-.*s", width, he->trace_output); width 777 tools/perf/util/sort.c size_t size, unsigned int width) width 781 tools/perf/util/sort.c bf, size, width); width 783 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*.*s", width, width, "N/A"); width 809 tools/perf/util/sort.c size_t size, unsigned int width) width 813 tools/perf/util/sort.c bf, size, width); width 815 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*.*s", width, width, "N/A"); width 866 tools/perf/util/sort.c size_t size, unsigned int width) width 872 tools/perf/util/sort.c he->level, bf, size, width); width 875 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*.*s", width, width, "N/A"); width 879 tools/perf/util/sort.c size_t size, unsigned int width) width 885 tools/perf/util/sort.c he->level, bf, size, width); width 888 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*.*s", width, width, "N/A"); width 961 tools/perf/util/sort.c size_t size, unsigned int width){ width 971 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*.*s", width, width, out); width 985 tools/perf/util/sort.c size_t size, unsigned int width) width 988 tools/perf/util/sort.c return scnprintf(bf, size, "%-.*s", width, "N/A"); width 990 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*s", width, "-"); width 991 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*hd", width, width 1017 tools/perf/util/sort.c size_t size, unsigned int width) width 1029 tools/perf/util/sort.c width); width 1046 tools/perf/util/sort.c size_t size, unsigned int width) width 1058 tools/perf/util/sort.c width); width 1076 tools/perf/util/sort.c size_t size, unsigned int width) width 1083 tools/perf/util/sort.c return _hist_entry__dso_snprintf(map, bf, size, width); width 1106 tools/perf/util/sort.c size_t size, unsigned int width) width 1111 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%.*s", width, out); width 1134 tools/perf/util/sort.c size_t size, unsigned int width) width 1139 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*s", width, out); width 1162 tools/perf/util/sort.c size_t size, unsigned int width) width 1167 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*s", width, out); width 1190 tools/perf/util/sort.c size_t size, unsigned int width) width 1195 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*s", width, out); width 1263 tools/perf/util/sort.c size_t size, unsigned int width) width 1287 tools/perf/util/sort.c width); width 1309 tools/perf/util/sort.c size_t size, unsigned int width) width 1311 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*llu", width, he_weight(he)); width 1328 tools/perf/util/sort.c size_t size, unsigned int width) width 1330 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*llu", width, he->stat.weight); width 1410 tools/perf/util/sort.c size_t size, unsigned int width) width 1422 tools/perf/util/sort.c ret += repsep_snprintf(bf + ret, size - ret, "%-*s", width - ret, ""); width 1424 tools/perf/util/sort.c if (ret > width) width 1425 tools/perf/util/sort.c bf[width] = '\0'; width 1427 tools/perf/util/sort.c return width; width 1448 tools/perf/util/sort.c size_t size, unsigned int width) width 1459 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*s", width, out); width 1480 tools/perf/util/sort.c size_t size, unsigned int width) width 1491 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*s", width, out); width 1543 tools/perf/util/sort.c size_t size, unsigned int width) width 1563 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*s", width, buf); width 1591 tools/perf/util/sort.c size_t bf_size, unsigned int width) width 1594 tools/perf/util/sort.c return repsep_snprintf(bf, bf_size, "%*d", width, symbol__size(sym)); width 1596 tools/perf/util/sort.c return repsep_snprintf(bf, bf_size, "%*s", width, "unknown"); width 1600 tools/perf/util/sort.c size_t size, unsigned int width) width 1602 tools/perf/util/sort.c return _hist_entry__sym_size_snprintf(he->ms.sym, bf, size, width); width 1630 tools/perf/util/sort.c size_t bf_size, unsigned int width) width 1633 tools/perf/util/sort.c return repsep_snprintf(bf, bf_size, "%*d", width, width 1636 tools/perf/util/sort.c return repsep_snprintf(bf, bf_size, "%*s", width, "unknown"); width 1640 tools/perf/util/sort.c size_t size, unsigned int width) width 1642 tools/perf/util/sort.c return _hist_entry__dso_size_snprintf(he->ms.map, bf, size, width); width 1892 tools/perf/util/sort.c hse->hpp.width = __sort__hpp_width; width 2241 tools/perf/util/sort.c hde->hpp.width = __sort__hde_width; width 263 tools/perf/util/sort.h unsigned int width); width 384 tools/perf/util/svghelper.c double width; width 403 tools/perf/util/svghelper.c width = time2pixels(end)-time2pixels(start); width 404 tools/perf/util/svghelper.c if (width > 6) width 405 tools/perf/util/svghelper.c width = 6; width 407 tools/perf/util/svghelper.c width = round_text_size(width); width 409 tools/perf/util/svghelper.c if (width > MIN_TEXT_SIZE) width 411 tools/perf/util/svghelper.c width, name); width 418 tools/perf/util/svghelper.c double width; width 436 tools/perf/util/svghelper.c width = (time2pixels(end)-time2pixels(start))/2.0; width 437 tools/perf/util/svghelper.c if (width > 6) width 438 tools/perf/util/svghelper.c width = 6; width 440 tools/perf/util/svghelper.c width = round_text_size(width); width 442 tools/perf/util/svghelper.c if (width > MIN_TEXT_SIZE) width 444 tools/perf/util/svghelper.c time2pixels(start), cpu2y(cpu)+width, width, type); width 218 tools/perf/util/values.c int width; width 220 tools/perf/util/values.c width = snprintf(NULL, 0, "%d", values->pid[i]); width 221 tools/perf/util/values.c if (width > pidwidth) width 222 tools/perf/util/values.c pidwidth = width; width 223 tools/perf/util/values.c width = snprintf(NULL, 0, "%d", values->tid[i]); width 224 tools/perf/util/values.c if (width > tidwidth) width 225 tools/perf/util/values.c tidwidth = width; width 227 tools/perf/util/values.c width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]); width 228 tools/perf/util/values.c if (width > counterwidth[j]) width 229 tools/perf/util/values.c counterwidth[j] = width; width 252 tools/perf/util/values.c int width, pidwidth, tidwidth, namewidth, rawwidth, countwidth; width 262 tools/perf/util/values.c width = snprintf(NULL, 0, "%d", values->pid[i]); width 263 tools/perf/util/values.c if (width > pidwidth) width 264 tools/perf/util/values.c pidwidth = width; width 265 tools/perf/util/values.c width = snprintf(NULL, 0, "%d", values->tid[i]); width 266 tools/perf/util/values.c if (width > tidwidth) width 267 tools/perf/util/values.c tidwidth = width; width 270 tools/perf/util/values.c width = strlen(values->countername[j]); width 271 tools/perf/util/values.c if (width > namewidth) width 272 tools/perf/util/values.c namewidth = width; width 273 tools/perf/util/values.c width = snprintf(NULL, 0, "%" PRIx64, values->counterrawid[j]); width 274 tools/perf/util/values.c if (width > rawwidth) width 275 tools/perf/util/values.c rawwidth = width; width 279 tools/perf/util/values.c width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]); width 280 tools/perf/util/values.c if (width > countwidth) width 281 tools/perf/util/values.c countwidth = width; width 1013 tools/power/acpi/os_specific/service_layers/osunixxf.c u32 pci_register, u64 *value, u32 width) width 1037 tools/power/acpi/os_specific/service_layers/osunixxf.c u32 pci_register, u64 value, u32 width) width 1057 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_status acpi_os_read_port(acpi_io_address address, u32 *value, u32 width) width 1060 tools/power/acpi/os_specific/service_layers/osunixxf.c switch (width) { width 1098 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_status acpi_os_write_port(acpi_io_address address, u32 value, u32 width) width 1120 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_os_read_memory(acpi_physical_address address, u64 *value, u32 width) width 1123 tools/power/acpi/os_specific/service_layers/osunixxf.c switch (width) { width 1154 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_os_write_memory(acpi_physical_address address, u64 value, u32 width) width 252 tools/power/x86/turbostat/turbostat.c unsigned int width; width 669 tools/power/x86/turbostat/turbostat.c if (mp->width == 64) width 706 tools/power/x86/turbostat/turbostat.c if (mp->width == 64) width 784 tools/power/x86/turbostat/turbostat.c if (mp->width == 64) width 1009 tools/power/x86/turbostat/turbostat.c if (mp->width == 32) width 1051 tools/power/x86/turbostat/turbostat.c if (mp->width == 32) width 1154 tools/power/x86/turbostat/turbostat.c if (mp->width == 32) width 5333 tools/power/x86/turbostat/turbostat.c unsigned int width, enum counter_scope scope, width 5348 tools/power/x86/turbostat/turbostat.c msrp->width = width; width 5397 tools/power/x86/turbostat/turbostat.c int width = 64; width 5416 tools/power/x86/turbostat/turbostat.c if (sscanf(add_command, "u%d", &width) == 1) { width 5417 tools/power/x86/turbostat/turbostat.c if ((width == 32) || (width == 64)) width 5419 tools/power/x86/turbostat/turbostat.c width = 64; width 5482 tools/power/x86/turbostat/turbostat.c if (width == 32) width 5488 tools/power/x86/turbostat/turbostat.c if (add_counter(msr_num, path, name_buffer, width, scope, type, format, 0)) width 116 tools/testing/selftests/powerpc/alignment/alignment_handler.c void preload_data(void *dst, int offset, int width) width 123 tools/testing/selftests/powerpc/alignment/alignment_handler.c for (i = 0 ; i < width ; i++) width 193 tools/testing/selftests/powerpc/alignment/alignment_handler.c int offset, width, fd, rc, r; width 231 tools/testing/selftests/powerpc/alignment/alignment_handler.c width = 16; /* vsx == 16 bytes */ width 235 tools/testing/selftests/powerpc/alignment/alignment_handler.c preload_data(ci0, offset, width); width 236 tools/testing/selftests/powerpc/alignment/alignment_handler.c preload_data(mem0, offset, width); // FIXME: remove?? width 241 tools/testing/selftests/powerpc/alignment/alignment_handler.c test_memcmp(mem0, ci0, width, offset, test_name); width 243 tools/testing/selftests/powerpc/alignment/alignment_handler.c r |= test_memcpy(ci1, ci0, width, offset, test_func); width 244 tools/testing/selftests/powerpc/alignment/alignment_handler.c r |= test_memcpy(mem1, mem0, width, offset, test_func); width 251 tools/testing/selftests/powerpc/alignment/alignment_handler.c r |= test_memcmp(mem1, ci1, width, offset, test_name);