bits 16 arch/alpha/include/asm/agp_backend.h } bits; bits 320 arch/alpha/include/asm/bitops.h unsigned long bits, qofs, bofs; bits 322 arch/alpha/include/asm/bitops.h bits = __kernel_cmpbge(word, ~0UL); bits 323 arch/alpha/include/asm/bitops.h qofs = ffz_b(bits); bits 324 arch/alpha/include/asm/bitops.h bits = __kernel_extbl(word, qofs); bits 325 arch/alpha/include/asm/bitops.h bofs = ffz_b(bits); bits 340 arch/alpha/include/asm/bitops.h unsigned long bits, qofs, bofs; bits 342 arch/alpha/include/asm/bitops.h bits = __kernel_cmpbge(0, word); bits 343 arch/alpha/include/asm/bitops.h qofs = ffz_b(bits); bits 344 arch/alpha/include/asm/bitops.h bits = __kernel_extbl(word, qofs); bits 345 arch/alpha/include/asm/bitops.h bofs = ffz_b(~bits); bits 217 arch/alpha/include/asm/core_marvel.h } bits; bits 237 arch/alpha/include/asm/core_marvel.h } bits; bits 34 arch/alpha/include/asm/extable.h } bits; bits 41 arch/alpha/include/asm/extable.h if ((_fixup)->fixup.bits.valreg != 31) \ bits 42 arch/alpha/include/asm/extable.h map_reg((_fixup)->fixup.bits.valreg) = 0; \ bits 43 arch/alpha/include/asm/extable.h if ((_fixup)->fixup.bits.errreg != 31) \ bits 44 arch/alpha/include/asm/extable.h map_reg((_fixup)->fixup.bits.errreg) = -EFAULT; \ bits 45 arch/alpha/include/asm/extable.h (pc) + (_fixup)->fixup.bits.nextinsn; \ bits 22 arch/alpha/include/asm/word-at-a-time.h static inline unsigned long has_zero(unsigned long val, unsigned long *bits, const struct word_at_a_time *c) bits 25 arch/alpha/include/asm/word-at-a-time.h *bits = zero_locations; bits 29 arch/alpha/include/asm/word-at-a-time.h static inline unsigned long prep_zero_mask(unsigned long val, unsigned long bits, const struct word_at_a_time *c) bits 31 arch/alpha/include/asm/word-at-a-time.h return bits; bits 34 arch/alpha/include/asm/word-at-a-time.h #define create_zero_mask(bits) (bits) bits 36 arch/alpha/include/asm/word-at-a-time.h static inline unsigned long find_zero(unsigned long bits) bits 40 arch/alpha/include/asm/word-at-a-time.h return __kernel_cttz(bits); bits 44 arch/alpha/include/asm/word-at-a-time.h bits &= -bits; bits 46 arch/alpha/include/asm/word-at-a-time.h t1 = bits & 0xf0; bits 47 arch/alpha/include/asm/word-at-a-time.h t2 = bits & 0xcc; bits 48 arch/alpha/include/asm/word-at-a-time.h t3 = bits & 0xaa; bits 978 arch/alpha/kernel/core_marvel.c if (agp->mode.bits.rate != 2) bits 987 arch/alpha/kernel/core_marvel.c if (agp->mode.bits.rate == 2) bits 1007 arch/alpha/kernel/core_marvel.c agp->mode.bits.rate, bits 1010 arch/alpha/kernel/core_marvel.c agp->mode.bits.rate = new_rate; bits 1014 arch/alpha/kernel/core_marvel.c agp->hose->index, agp->mode.bits.rate, bits 1015 arch/alpha/kernel/core_marvel.c agp->mode.bits.sba ? " - SBA" : "", agp->mode.bits.rq); bits 1139 arch/alpha/kernel/core_marvel.c agp->capability.bits.rq = 0xf; bits 649 arch/alpha/kernel/core_titan.c pctl.pctl_r_bits.apctl_v_agp_sba_en = agp->mode.bits.sba; bits 653 arch/alpha/kernel/core_titan.c if (agp->mode.bits.rate & 2) bits 656 arch/alpha/kernel/core_titan.c if (agp->mode.bits.rate & 4) bits 667 arch/alpha/kernel/core_titan.c pctl.pctl_r_bits.apctl_v_agp_en = agp->mode.bits.enable; bits 788 arch/alpha/kernel/core_titan.c agp->capability.bits.rate = 3; /* 2x, 1x */ bits 789 arch/alpha/kernel/core_titan.c agp->capability.bits.sba = 1; bits 790 arch/alpha/kernel/core_titan.c agp->capability.bits.rq = 7; /* 8 - 1 */ bits 797 arch/alpha/kernel/core_titan.c agp->mode.bits.rate = 1 << pctl.pctl_r_bits.apctl_v_agp_rate; bits 798 arch/alpha/kernel/core_titan.c agp->mode.bits.sba = pctl.pctl_r_bits.apctl_v_agp_sba_en; bits 799 arch/alpha/kernel/core_titan.c agp->mode.bits.rq = 7; /* RQ Depth? */ bits 800 arch/alpha/kernel/core_titan.c agp->mode.bits.enable = pctl.pctl_r_bits.apctl_v_agp_en; bits 101 arch/alpha/kernel/err_ev6.c int source = -1, stream = -1, bits = -1; bits 138 arch/alpha/kernel/err_ev6.c bits = EXTRACT(c_stat, EV6__C_STAT__DOUBLE); bits 160 arch/alpha/kernel/err_ev6.c streamname[stream], bitsname[bits], sourcename[source]); bits 61 arch/alpha/kernel/smp.c unsigned long bits ____cacheline_aligned; bits 516 arch/alpha/kernel/smp.c set_bit(operation, &ipi_data[i].bits); bits 527 arch/alpha/kernel/smp.c unsigned long *pending_ipis = &ipi_data[this_cpu].bits; bits 42 arch/alpha/kernel/srmcons.c } bits; bits 55 arch/alpha/kernel/srmcons.c if (result.bits.status < 2) { bits 56 arch/alpha/kernel/srmcons.c tty_insert_flip_char(port, (char)result.bits.c, 0); bits 59 arch/alpha/kernel/srmcons.c } while((result.bits.status & 1) && (++loops < 10)); bits 112 arch/alpha/kernel/srmcons.c c -= result.bits.c; bits 113 arch/alpha/kernel/srmcons.c remaining -= result.bits.c; bits 114 arch/alpha/kernel/srmcons.c cur += result.bits.c; bits 125 arch/alpha/kernel/srmcons.c if (result.bits.c > 0) bits 90 arch/arc/include/asm/disasm.h static inline int sign_extend(int value, int bits) bits 92 arch/arc/include/asm/disasm.h if (IS_BIT(value, (bits - 1))) bits 93 arch/arc/include/asm/disasm.h value |= (0xffffffff << bits); bits 537 arch/arm/common/locomo.c void locomo_gpio_set_dir(struct device *dev, unsigned int bits, unsigned int dir) bits 550 arch/arm/common/locomo.c r |= bits; bits 552 arch/arm/common/locomo.c r &= ~bits; bits 557 arch/arm/common/locomo.c r |= bits; bits 559 arch/arm/common/locomo.c r &= ~bits; bits 566 arch/arm/common/locomo.c int locomo_gpio_read_level(struct device *dev, unsigned int bits) bits 579 arch/arm/common/locomo.c ret &= bits; bits 584 arch/arm/common/locomo.c int locomo_gpio_read_output(struct device *dev, unsigned int bits) bits 597 arch/arm/common/locomo.c ret &= bits; bits 602 arch/arm/common/locomo.c void locomo_gpio_write(struct device *dev, unsigned int bits, unsigned int set) bits 615 arch/arm/common/locomo.c r |= bits; bits 617 arch/arm/common/locomo.c r &= ~bits; bits 582 arch/arm/common/sa1111.c unsigned long *bits) bits 590 arch/arm/common/sa1111.c val = *bits; bits 20 arch/arm/include/asm/dma-iommu.h size_t bits; /* per bitmap */ bits 204 arch/arm/include/asm/hardware/locomo.h void locomo_gpio_set_dir(struct device *dev, unsigned int bits, unsigned int dir); bits 205 arch/arm/include/asm/hardware/locomo.h int locomo_gpio_read_level(struct device *dev, unsigned int bits); bits 206 arch/arm/include/asm/hardware/locomo.h int locomo_gpio_read_output(struct device *dev, unsigned int bits); bits 207 arch/arm/include/asm/hardware/locomo.h void locomo_gpio_write(struct device *dev, unsigned int bits, unsigned int set); bits 113 arch/arm/include/asm/pgtable.h #define __pgprot_modify(prot,mask,bits) \ bits 114 arch/arm/include/asm/pgtable.h __pgprot((pgprot_val(prot) & ~(mask)) | (bits)) bits 98 arch/arm/include/asm/smp_plat.h u32 bits; bits 105 arch/arm/include/asm/smp_plat.h return 1 << mpidr_hash.bits; bits 19 arch/arm/include/asm/word-at-a-time.h static inline unsigned long has_zero(unsigned long a, unsigned long *bits, bits 23 arch/arm/include/asm/word-at-a-time.h *bits = mask; bits 27 arch/arm/include/asm/word-at-a-time.h #define prep_zero_mask(a, bits, c) (bits) bits 29 arch/arm/include/asm/word-at-a-time.h static inline unsigned long create_zero_mask(unsigned long bits) bits 31 arch/arm/include/asm/word-at-a-time.h bits = (bits - 1) & ~bits; bits 32 arch/arm/include/asm/word-at-a-time.h return bits >> 7; bits 616 arch/arm/kernel/setup.c u32 fs[3], bits[3], ls, mask = 0; bits 637 arch/arm/kernel/setup.c bits[i] = ls - fs[i]; bits 650 arch/arm/kernel/setup.c mpidr_hash.shift_aff[1] = MPIDR_LEVEL_BITS + fs[1] - bits[0]; bits 652 arch/arm/kernel/setup.c (bits[1] + bits[0]); bits 654 arch/arm/kernel/setup.c mpidr_hash.bits = bits[2] + bits[1] + bits[0]; bits 660 arch/arm/kernel/setup.c mpidr_hash.bits); bits 201 arch/arm/mach-ep93xx/soc.h static inline void ep93xx_devcfg_set_bits(unsigned int bits) bits 203 arch/arm/mach-ep93xx/soc.h ep93xx_devcfg_set_clear(bits, 0x00); bits 206 arch/arm/mach-ep93xx/soc.h static inline void ep93xx_devcfg_clear_bits(unsigned int bits) bits 208 arch/arm/mach-ep93xx/soc.h ep93xx_devcfg_set_clear(0x00, bits); bits 79 arch/arm/mach-ep93xx/ts72xx.c unsigned char bits; bits 83 arch/arm/mach-ep93xx/ts72xx.c bits = __raw_readb(addr) & ~0x07; bits 84 arch/arm/mach-ep93xx/ts72xx.c bits |= (ctrl & NAND_NCE) << 2; /* bit 0 -> bit 2 */ bits 85 arch/arm/mach-ep93xx/ts72xx.c bits |= (ctrl & NAND_CLE); /* bit 1 -> bit 1 */ bits 86 arch/arm/mach-ep93xx/ts72xx.c bits |= (ctrl & NAND_ALE) >> 2; /* bit 2 -> bit 0 */ bits 88 arch/arm/mach-ep93xx/ts72xx.c __raw_writeb(bits, addr); bits 61 arch/arm/mach-omap2/cm2xxx_3xxx.h static inline u32 omap2_cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, bits 68 arch/arm/mach-omap2/cm2xxx_3xxx.h v |= bits; bits 86 arch/arm/mach-omap2/cm2xxx_3xxx.h static inline u32 omap2_cm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) bits 88 arch/arm/mach-omap2/cm2xxx_3xxx.h return omap2_cm_rmw_mod_reg_bits(bits, bits, module, idx); bits 91 arch/arm/mach-omap2/cm2xxx_3xxx.h static inline u32 omap2_cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) bits 93 arch/arm/mach-omap2/cm2xxx_3xxx.h return omap2_cm_rmw_mod_reg_bits(bits, 0x0, module, idx); bits 63 arch/arm/mach-omap2/cm33xx.c static inline u32 am33xx_cm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx) bits 69 arch/arm/mach-omap2/cm33xx.c v |= bits; bits 131 arch/arm/mach-omap2/cminst44xx.c static u32 omap4_cminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, u16 inst, bits 138 arch/arm/mach-omap2/cminst44xx.c v |= bits; bits 144 arch/arm/mach-omap2/cminst44xx.c static u32 omap4_cminst_set_inst_reg_bits(u32 bits, u8 part, u16 inst, s16 idx) bits 146 arch/arm/mach-omap2/cminst44xx.c return omap4_cminst_rmw_inst_reg_bits(bits, bits, part, inst, idx); bits 149 arch/arm/mach-omap2/cminst44xx.c static u32 omap4_cminst_clear_inst_reg_bits(u32 bits, u8 part, u16 inst, bits 152 arch/arm/mach-omap2/cminst44xx.c return omap4_cminst_rmw_inst_reg_bits(bits, 0x0, part, inst, idx); bits 38 arch/arm/mach-omap2/prcm_mpu44xx.c u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) bits 44 arch/arm/mach-omap2/prcm_mpu44xx.c v |= bits; bits 29 arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h extern u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, bits 64 arch/arm/mach-omap2/prm2xxx_3xxx.h static inline u32 omap2_prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, bits 71 arch/arm/mach-omap2/prm2xxx_3xxx.h v |= bits; bits 89 arch/arm/mach-omap2/prm2xxx_3xxx.h static inline u32 omap2_prm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) bits 91 arch/arm/mach-omap2/prm2xxx_3xxx.h return omap2_prm_rmw_mod_reg_bits(bits, bits, module, idx); bits 94 arch/arm/mach-omap2/prm2xxx_3xxx.h static inline u32 omap2_prm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) bits 96 arch/arm/mach-omap2/prm2xxx_3xxx.h return omap2_prm_rmw_mod_reg_bits(bits, 0x0, module, idx); bits 43 arch/arm/mach-omap2/prm33xx.c static u32 am33xx_prm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx) bits 49 arch/arm/mach-omap2/prm33xx.c v |= bits; bits 125 arch/arm/mach-omap2/prm3xxx.c u32 omap3_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset) bits 127 arch/arm/mach-omap2/prm3xxx.c return omap2_prm_rmw_mod_reg_bits(mask, bits, OMAP3430_GR_MOD, offset); bits 138 arch/arm/mach-omap2/prm3xxx.h extern u32 omap3_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset); bits 108 arch/arm/mach-omap2/prm44xx.c static u32 omap4_prm_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) bits 114 arch/arm/mach-omap2/prm44xx.c v |= bits; bits 190 arch/arm/mach-omap2/prm44xx.c u32 omap4_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset) bits 197 arch/arm/mach-omap2/prm44xx.c return omap4_prminst_rmw_inst_reg_bits(mask, bits, bits 33 arch/arm/mach-omap2/prm44xx_54xx.h extern u32 omap4_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset); bits 76 arch/arm/mach-omap2/prminst44xx.c u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, s16 inst, bits 83 arch/arm/mach-omap2/prminst44xx.c v |= bits; bits 22 arch/arm/mach-omap2/prminst44xx.h extern u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, bits 76 arch/arm/mach-omap2/voltage.h u32 (*rmw)(u32 mask, u32 bits, u8 offset); bits 137 arch/arm/mach-orion5x/ts78xx-setup.c unsigned char bits; bits 139 arch/arm/mach-orion5x/ts78xx-setup.c bits = (ctrl & NAND_NCE) << 2; bits 140 arch/arm/mach-orion5x/ts78xx-setup.c bits |= ctrl & NAND_CLE; bits 141 arch/arm/mach-orion5x/ts78xx-setup.c bits |= (ctrl & NAND_ALE) >> 2; bits 143 arch/arm/mach-orion5x/ts78xx-setup.c writeb((readb(TS_NAND_CTRL) & ~0x7) | bits, TS_NAND_CTRL); bits 198 arch/arm/mach-s3c24xx/common.c .bits = 16, bits 167 arch/arm/mach-s3c64xx/common.c .bits = 32, bits 1146 arch/arm/mm/dma-mapping.c size_t mapping_size = mapping->bits << PAGE_SHIFT; bits 1160 arch/arm/mm/dma-mapping.c mapping->bits, 0, count, align); bits 1162 arch/arm/mm/dma-mapping.c if (start > mapping->bits) bits 1181 arch/arm/mm/dma-mapping.c mapping->bits, 0, count, align); bits 1183 arch/arm/mm/dma-mapping.c if (start > mapping->bits) { bits 1202 arch/arm/mm/dma-mapping.c size_t mapping_size = mapping->bits << PAGE_SHIFT; bits 2074 arch/arm/mm/dma-mapping.c unsigned int bits = size >> PAGE_SHIFT; bits 2075 arch/arm/mm/dma-mapping.c unsigned int bitmap_size = BITS_TO_LONGS(bits) * sizeof(long); bits 2109 arch/arm/mm/dma-mapping.c mapping->bits = BITS_PER_BYTE * bitmap_size; bits 200 arch/arm/mm/dump.c const struct prot_bits *bits; bits 212 arch/arm/mm/dump.c .bits = section_bits, bits 215 arch/arm/mm/dump.c .bits = pte_bits, bits 220 arch/arm/mm/dump.c static void dump_prot(struct pg_state *st, const struct prot_bits *bits, size_t num) bits 224 arch/arm/mm/dump.c for (i = 0; i < num; i++, bits++) { bits 227 arch/arm/mm/dump.c if ((st->current_prot & bits->mask) == bits->val) bits 228 arch/arm/mm/dump.c s = bits->set; bits 230 arch/arm/mm/dump.c s = bits->clear; bits 285 arch/arm/mm/dump.c if (pg_level[st->level].bits) bits 286 arch/arm/mm/dump.c dump_prot(st, pg_level[st->level].bits, pg_level[st->level].num); bits 408 arch/arm/mm/dump.c if (pg_level[i].bits) bits 410 arch/arm/mm/dump.c pg_level[i].mask |= pg_level[i].bits[j].mask; bits 411 arch/arm/mm/dump.c if (pg_level[i].bits[j].ro_bit) bits 412 arch/arm/mm/dump.c pg_level[i].ro_bit = &pg_level[i].bits[j]; bits 413 arch/arm/mm/dump.c if (pg_level[i].bits[j].nx_bit) bits 414 arch/arm/mm/dump.c pg_level[i].nx_bit = &pg_level[i].bits[j]; bits 1360 arch/arm/net/bpf_jit_32.c #define check_imm(bits, imm) do { \ bits 1361 arch/arm/net/bpf_jit_32.c if ((imm) >= (1 << ((bits) - 1)) || \ bits 1362 arch/arm/net/bpf_jit_32.c (imm) < -(1 << ((bits) - 1))) { \ bits 510 arch/arm/plat-omap/dma.c void omap_enable_dma_irq(int lch, u16 bits) bits 512 arch/arm/plat-omap/dma.c dma_chan[lch].enabled_irqs |= bits; bits 516 arch/arm/plat-omap/dma.c void omap_disable_dma_irq(int lch, u16 bits) bits 518 arch/arm/plat-omap/dma.c dma_chan[lch].enabled_irqs &= ~bits; bits 446 arch/arm/probes/decode.c enum decode_type type = h->type_regs.bits & DECODE_TYPE_MASK; bits 447 arch/arm/probes/decode.c u32 regs = h->type_regs.bits >> DECODE_TYPE_BITS; bits 455 arch/arm/probes/decode.c if (!matched && (insn & h->mask.bits) != h->value.bits) bits 295 arch/arm/probes/decode.h u32 bits; bits 319 arch/arm/probes/decode.h {.bits = DECODE_TYPE_END} bits 329 arch/arm/probes/decode.h {.bits = (_type) | ((_regs) << DECODE_TYPE_BITS)}, \ bits 330 arch/arm/probes/decode.h {.bits = (_mask)}, \ bits 331 arch/arm/probes/decode.h {.bits = (_value)} bits 105 arch/arm/probes/kprobes/checkers-arm.c u32 regs = h->type_regs.bits >> DECODE_TYPE_BITS; bits 604 arch/arm/probes/kprobes/test-core.c enum decode_type type = h->type_regs.bits & DECODE_TYPE_MASK; bits 623 arch/arm/probes/kprobes/test-core.c message, h->mask.bits, h->value.bits); bits 636 arch/arm/probes/kprobes/test-core.c enum decode_type type = h->type_regs.bits & DECODE_TYPE_MASK; bits 638 arch/arm/probes/kprobes/test-core.c if (h->value.bits & ~h->mask.bits) bits 641 arch/arm/probes/kprobes/test-core.c if ((h->mask.bits & a->parent_mask) != a->parent_mask) bits 644 arch/arm/probes/kprobes/test-core.c if ((h->value.bits ^ a->parent_value) & a->parent_mask) bits 650 arch/arm/probes/kprobes/test-core.c args2.parent_mask = h->mask.bits; bits 651 arch/arm/probes/kprobes/test-core.c args2.parent_value = h->value.bits; bits 728 arch/arm/probes/kprobes/test-core.c int r = (h->type_regs.bits >> (DECODE_TYPE_BITS + i)) & 0xf; bits 737 arch/arm/probes/kprobes/test-core.c enum decode_type type = h->type_regs.bits & DECODE_TYPE_MASK; bits 777 arch/arm/probes/kprobes/test-core.c int regs = entry->header->type_regs.bits >> DECODE_TYPE_BITS; bits 851 arch/arm/probes/kprobes/test-core.c enum decode_type type = h->type_regs.bits & DECODE_TYPE_MASK; bits 860 arch/arm/probes/kprobes/test-core.c if ((insn & h->mask.bits) != h->value.bits) bits 895 arch/arm/probes/kprobes/test-core.c u32 mask = entry->header->mask.bits; bits 896 arch/arm/probes/kprobes/test-core.c u32 value = entry->header->value.bits; bits 111 arch/arm/probes/uprobes/actions-arm.c u32 regs = decode->header.type_regs.bits >> DECODE_TYPE_BITS; bits 56 arch/arm/vfp/vfpdouble.c int bits = 31 - fls(vd->significand >> 32); bits 57 arch/arm/vfp/vfpdouble.c if (bits == 31) bits 58 arch/arm/vfp/vfpdouble.c bits = 63 - fls(vd->significand); bits 62 arch/arm/vfp/vfpdouble.c if (bits) { bits 63 arch/arm/vfp/vfpdouble.c vd->exponent -= bits - 1; bits 64 arch/arm/vfp/vfpdouble.c vd->significand <<= bits; bits 56 arch/arm/vfp/vfpsingle.c int bits = 31 - fls(vs->significand); bits 60 arch/arm/vfp/vfpsingle.c if (bits) { bits 61 arch/arm/vfp/vfpsingle.c vs->exponent -= bits - 1; bits 62 arch/arm/vfp/vfpsingle.c vs->significand <<= bits; bits 190 arch/arm64/include/asm/assembler.h orr \rd, \lbits, \hbits, lsl #32 bits 407 arch/arm64/include/asm/pgtable.h #define __pgprot_modify(prot,mask,bits) \ bits 408 arch/arm64/include/asm/pgtable.h __pgprot((pgprot_val(prot) & ~(mask)) | (bits)) bits 18 arch/arm64/include/asm/smp_plat.h u32 bits; bits 25 arch/arm64/include/asm/smp_plat.h return 1 << mpidr_hash.bits; bits 20 arch/arm64/include/asm/word-at-a-time.h static inline unsigned long has_zero(unsigned long a, unsigned long *bits, bits 24 arch/arm64/include/asm/word-at-a-time.h *bits = mask; bits 28 arch/arm64/include/asm/word-at-a-time.h #define prep_zero_mask(a, bits, c) (bits) bits 30 arch/arm64/include/asm/word-at-a-time.h static inline unsigned long create_zero_mask(unsigned long bits) bits 32 arch/arm64/include/asm/word-at-a-time.h bits = (bits - 1) & ~bits; bits 33 arch/arm64/include/asm/word-at-a-time.h return bits >> 7; bits 114 arch/arm64/kernel/setup.c u32 i, affinity, fs[4], bits[4], ls; bits 136 arch/arm64/kernel/setup.c bits[i] = ls - fs[i]; bits 149 arch/arm64/kernel/setup.c mpidr_hash.shift_aff[1] = MPIDR_LEVEL_SHIFT(1) + fs[1] - bits[0]; bits 151 arch/arm64/kernel/setup.c (bits[1] + bits[0]); bits 153 arch/arm64/kernel/setup.c fs[3] - (bits[2] + bits[1] + bits[0]); bits 155 arch/arm64/kernel/setup.c mpidr_hash.bits = bits[3] + bits[2] + bits[1] + bits[0]; bits 162 arch/arm64/kernel/setup.c mpidr_hash.bits); bits 169 arch/arm64/mm/dump.c const struct prot_bits *bits; bits 179 arch/arm64/mm/dump.c .bits = pte_bits, bits 183 arch/arm64/mm/dump.c .bits = pte_bits, bits 187 arch/arm64/mm/dump.c .bits = pte_bits, bits 191 arch/arm64/mm/dump.c .bits = pte_bits, bits 196 arch/arm64/mm/dump.c static void dump_prot(struct pg_state *st, const struct prot_bits *bits, bits 201 arch/arm64/mm/dump.c for (i = 0; i < num; i++, bits++) { bits 204 arch/arm64/mm/dump.c if ((st->current_prot & bits->mask) == bits->val) bits 205 arch/arm64/mm/dump.c s = bits->set; bits 207 arch/arm64/mm/dump.c s = bits->clear; bits 272 arch/arm64/mm/dump.c if (pg_level[st->level].bits) bits 273 arch/arm64/mm/dump.c dump_prot(st, pg_level[st->level].bits, bits 381 arch/arm64/mm/dump.c if (pg_level[i].bits) bits 383 arch/arm64/mm/dump.c pg_level[i].mask |= pg_level[i].bits[j].mask; bits 360 arch/arm64/net/bpf_jit_comp.c #define check_imm(bits, imm) do { \ bits 361 arch/arm64/net/bpf_jit_comp.c if ((((imm) > 0) && ((imm) >> (bits))) || \ bits 362 arch/arm64/net/bpf_jit_comp.c (((imm) < 0) && (~(imm) >> (bits)))) { \ bits 17 arch/csky/include/asm/asid.h u32 bits; bits 28 arch/csky/include/asm/asid.h #define NUM_ASIDS(info) (1UL << ((info)->bits)) bits 66 arch/csky/include/asm/asid.h !((asid ^ atomic64_read(&info->generation)) >> info->bits) && bits 75 arch/csky/include/asm/asid.h u32 bits, unsigned int asid_per_ctxt, bits 30 arch/csky/kernel/smp.c unsigned long bits ____cacheline_aligned; bits 46 arch/csky/kernel/smp.c ops = xchg(&this_cpu_ptr(&ipi_data)->bits, 0); bits 80 arch/csky/kernel/smp.c set_bit(operation, &per_cpu_ptr(&ipi_data, i)->bits); bits 18 arch/csky/mm/asid.c #define ASID_MASK(info) (~GENMASK((info)->bits - 1, 0)) bits 19 arch/csky/mm/asid.c #define ASID_FIRST_VERSION(info) (1UL << ((info)->bits)) bits 146 arch/csky/mm/asid.c if ((asid ^ atomic64_read(&info->generation)) >> info->bits) { bits 169 arch/csky/mm/asid.c u32 bits, unsigned int asid_per_ctxt, bits 172 arch/csky/mm/asid.c info->bits = bits; bits 33 arch/hexagon/kernel/smp.c unsigned long bits; bits 88 arch/hexagon/kernel/smp.c while ((ops = xchg(&ipi->bits, 0)) != 0) bits 104 arch/hexagon/kernel/smp.c set_bit(msg, &ipi->bits); bits 565 arch/ia64/hp/common/sba_iommu.c int qwords, bits, i; bits 569 arch/ia64/hp/common/sba_iommu.c bits = bits_wanted - (qwords * BITS_PER_LONG); bits 583 arch/ia64/hp/common/sba_iommu.c if (bits && res_ptr[i] && (__ffs(res_ptr[i]) < bits)) bits 589 arch/ia64/hp/common/sba_iommu.c res_ptr[i] |= RESMAP_MASK(bits); bits 593 arch/ia64/hp/common/sba_iommu.c ioc->res_bitshift = bits; bits 47 arch/ia64/include/asm/perfmon.h } bits; bits 36 arch/ia64/include/asm/smp.h unsigned long bits; bits 39 arch/ia64/include/asm/smp.h lid.bits = ia64_getreg(_IA64_REG_CR_LID); bits 60 arch/ia64/include/uapi/asm/fpu.h unsigned long bits[2]; bits 3511 arch/ia64/kernel/perfmon.c rst_ctrl.bits.mask_monitoring = 0; bits 3512 arch/ia64/kernel/perfmon.c rst_ctrl.bits.reset_ovfl_pmds = 0; bits 3519 arch/ia64/kernel/perfmon.c rst_ctrl.bits.mask_monitoring = 0; bits 3520 arch/ia64/kernel/perfmon.c rst_ctrl.bits.reset_ovfl_pmds = 1; bits 3524 arch/ia64/kernel/perfmon.c if (rst_ctrl.bits.reset_ovfl_pmds) bits 3527 arch/ia64/kernel/perfmon.c if (rst_ctrl.bits.mask_monitoring == 0) { bits 4871 arch/ia64/kernel/perfmon.c rst_ctrl.bits.mask_monitoring = 0; bits 4872 arch/ia64/kernel/perfmon.c rst_ctrl.bits.reset_ovfl_pmds = 0; bits 4879 arch/ia64/kernel/perfmon.c rst_ctrl.bits.mask_monitoring = 0; bits 4880 arch/ia64/kernel/perfmon.c rst_ctrl.bits.reset_ovfl_pmds = 1; bits 4884 arch/ia64/kernel/perfmon.c if (rst_ctrl.bits.reset_ovfl_pmds) { bits 4887 arch/ia64/kernel/perfmon.c if (rst_ctrl.bits.mask_monitoring == 0) { bits 5258 arch/ia64/kernel/perfmon.c ovfl_ctrl.bits.notify_user |= ovfl_arg->ovfl_ctrl.bits.notify_user; bits 5259 arch/ia64/kernel/perfmon.c ovfl_ctrl.bits.block_task |= ovfl_arg->ovfl_ctrl.bits.block_task; bits 5260 arch/ia64/kernel/perfmon.c ovfl_ctrl.bits.mask_monitoring |= ovfl_arg->ovfl_ctrl.bits.mask_monitoring; bits 5264 arch/ia64/kernel/perfmon.c if (ovfl_arg->ovfl_ctrl.bits.reset_ovfl_pmds) reset_pmds |= mask; bits 5284 arch/ia64/kernel/perfmon.c ovfl_ctrl.bits.notify_user = ovfl_notify ? 1 : 0; bits 5285 arch/ia64/kernel/perfmon.c ovfl_ctrl.bits.block_task = ovfl_notify ? 1 : 0; bits 5286 arch/ia64/kernel/perfmon.c ovfl_ctrl.bits.mask_monitoring = ovfl_notify ? 1 : 0; /* XXX: change for saturation */ bits 5287 arch/ia64/kernel/perfmon.c ovfl_ctrl.bits.reset_ovfl_pmds = ovfl_notify ? 0 : 1; bits 5304 arch/ia64/kernel/perfmon.c if (ovfl_notify && ovfl_ctrl.bits.notify_user) { bits 5313 arch/ia64/kernel/perfmon.c if (CTX_OVFL_NOBLOCK(ctx) == 0 && ovfl_ctrl.bits.block_task) { bits 5341 arch/ia64/kernel/perfmon.c ovfl_ctrl.bits.mask_monitoring ? 1 : 0)); bits 5345 arch/ia64/kernel/perfmon.c if (ovfl_ctrl.bits.mask_monitoring) { bits 198 arch/ia64/kernel/perfmon_default_smpl.c arg->ovfl_ctrl.bits.notify_user = 0; bits 199 arch/ia64/kernel/perfmon_default_smpl.c arg->ovfl_ctrl.bits.block_task = 0; bits 200 arch/ia64/kernel/perfmon_default_smpl.c arg->ovfl_ctrl.bits.mask_monitoring = 0; bits 201 arch/ia64/kernel/perfmon_default_smpl.c arg->ovfl_ctrl.bits.reset_ovfl_pmds = 1; /* reset before returning from interrupt handler */ bits 217 arch/ia64/kernel/perfmon_default_smpl.c arg->ovfl_ctrl.bits.notify_user = 0; bits 218 arch/ia64/kernel/perfmon_default_smpl.c arg->ovfl_ctrl.bits.block_task = 0; bits 219 arch/ia64/kernel/perfmon_default_smpl.c arg->ovfl_ctrl.bits.mask_monitoring = 1; bits 220 arch/ia64/kernel/perfmon_default_smpl.c arg->ovfl_ctrl.bits.reset_ovfl_pmds = 0; bits 222 arch/ia64/kernel/perfmon_default_smpl.c arg->ovfl_ctrl.bits.notify_user = 1; bits 223 arch/ia64/kernel/perfmon_default_smpl.c arg->ovfl_ctrl.bits.block_task = 1; /* ignored for non-blocking context */ bits 224 arch/ia64/kernel/perfmon_default_smpl.c arg->ovfl_ctrl.bits.mask_monitoring = 1; bits 225 arch/ia64/kernel/perfmon_default_smpl.c arg->ovfl_ctrl.bits.reset_ovfl_pmds = 0; /* no reset now */ bits 240 arch/ia64/kernel/perfmon_default_smpl.c ctrl->bits.mask_monitoring = 0; bits 241 arch/ia64/kernel/perfmon_default_smpl.c ctrl->bits.reset_ovfl_pmds = 1; /* uses long-reset values */ bits 120 arch/ia64/kernel/process.c regs->f6.u.bits[1], regs->f6.u.bits[0], bits 121 arch/ia64/kernel/process.c regs->f7.u.bits[1], regs->f7.u.bits[0]); bits 123 arch/ia64/kernel/process.c regs->f8.u.bits[1], regs->f8.u.bits[0], bits 124 arch/ia64/kernel/process.c regs->f9.u.bits[1], regs->f9.u.bits[0]); bits 126 arch/ia64/kernel/process.c regs->f10.u.bits[1], regs->f10.u.bits[0], bits 127 arch/ia64/kernel/process.c regs->f11.u.bits[1], regs->f11.u.bits[0]); bits 1786 arch/ia64/kernel/ptrace.c tmp[start / sizeof(elf_fpreg_t) - 2].u.bits[0] bits 1787 arch/ia64/kernel/ptrace.c = fpreg.u.bits[0]; bits 1796 arch/ia64/kernel/ptrace.c tmp[end / sizeof(elf_fpreg_t) - 2].u.bits[1] bits 1797 arch/ia64/kernel/ptrace.c = fpreg.u.bits[1]; bits 806 arch/ia64/kernel/setup.c unsigned long bits[5]; bits 832 arch/ia64/kernel/setup.c cpuid.bits[i] = ia64_get_cpuid(i); bits 25 arch/ia64/oprofile/perfmon.c arg->ovfl_ctrl.bits.reset_ovfl_pmds = 1; bits 128 arch/m68k/fpsp040/fpsp.h .set FPR_DIRTY_BITS,LV-91 | fpr dirty bits bits 144 arch/m68k/fpsp040/fpsp.h .set NMNEXC,LV-44 | NMNEXC (unsup,snan bits only) bits 162 arch/m68k/fpsp040/fpsp.h .set stag_mask,0xE0 | upper 3 bits are source tag type bits 183 arch/m68k/fpsp040/fpsp.h .set dtag_mask,0xE0 | upper 3 bits are dest type tag bits 189 arch/m68k/fpsp040/fpsp.h .set E_BYTE,LV-28 | holds E1 and E3 bits (1 byte) bits 194 arch/m68k/fpsp040/fpsp.h .set T_BYTE,LV-27 | holds T and U bits (1 byte) bits 220 arch/m68k/fpsp040/fpsp.h | FPSR/FPCR bits bits 307 arch/m68k/fpsp040/fpsp.h .set sx_mask,0x01800000 | set s and x bits in word $48 bits 316 arch/m68k/fpsp040/fpsp.h .set norm_tag,0x00 | tag bits in {7:5} position bits 57 arch/m68k/include/asm/nettel.h static __inline__ void mcf_setppdata(unsigned int mask, unsigned int bits) bits 61 arch/m68k/include/asm/nettel.h ppdata = (ppdata & ~mask) | bits; bits 94 arch/m68k/include/asm/nettel.h static __inline__ void mcf_setppdata(unsigned int mask, unsigned int bits) bits 96 arch/m68k/include/asm/nettel.h writew((readw(MCFSIM_PBDAT) & ~mask) | bits, MCFSIM_PBDAT); bits 365 arch/mips/alchemy/common/dbdma.c u32 au1xxx_dbdma_set_devwidth(u32 chanid, int bits) bits 378 arch/mips/alchemy/common/dbdma.c stp->dev_devwidth = bits; bits 382 arch/mips/alchemy/common/dbdma.c dtp->dev_devwidth = bits; bits 192 arch/mips/ar7/prom.c char parity = '\0', bits = '\0', flow = '\0'; bits 209 arch/mips/ar7/prom.c bits = *s++; bits 220 arch/mips/ar7/prom.c if (bits != '7' && bits != '8') bits 221 arch/mips/ar7/prom.c bits = '8'; bits 225 arch/mips/ar7/prom.c parity, bits, flow); bits 228 arch/mips/ar7/prom.c bits); bits 5 arch/mips/boot/tools/relocs.c #define _ElfW(bits, type) __ElfW(bits, type) bits 6 arch/mips/boot/tools/relocs.c #define __ElfW(bits, type) Elf##bits##_##type bits 154 arch/mips/cavium-octeon/crypto/octeon-sha1.c __be64 bits; bits 158 arch/mips/cavium-octeon/crypto/octeon-sha1.c bits = cpu_to_be64(sctx->count << 3); bits 170 arch/mips/cavium-octeon/crypto/octeon-sha1.c __octeon_sha1_update(sctx, (const u8 *)&bits, sizeof(bits)); bits 166 arch/mips/cavium-octeon/crypto/octeon-sha256.c __be64 bits; bits 170 arch/mips/cavium-octeon/crypto/octeon-sha256.c bits = cpu_to_be64(sctx->count << 3); bits 182 arch/mips/cavium-octeon/crypto/octeon-sha256.c __octeon_sha256_update(sctx, (const u8 *)&bits, sizeof(bits)); bits 180 arch/mips/cavium-octeon/crypto/octeon-sha512.c __be64 bits[2]; bits 184 arch/mips/cavium-octeon/crypto/octeon-sha512.c bits[1] = cpu_to_be64(sctx->count[0] << 3); bits 185 arch/mips/cavium-octeon/crypto/octeon-sha512.c bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61); bits 197 arch/mips/cavium-octeon/crypto/octeon-sha512.c __octeon_sha512_update(sctx, (const u8 *)bits, sizeof(bits)); bits 87 arch/mips/cavium-octeon/executive/cvmx-helper-jtag.c uint32_t cvmx_helper_qlm_jtag_shift(int qlm, int bits, uint32_t data) bits 92 arch/mips/cavium-octeon/executive/cvmx-helper-jtag.c jtgd.s.shft_cnt = bits - 1; bits 100 arch/mips/cavium-octeon/executive/cvmx-helper-jtag.c return jtgd.s.shft_reg >> (32 - bits); bits 113 arch/mips/cavium-octeon/executive/cvmx-helper-jtag.c void cvmx_helper_qlm_jtag_shift_zeros(int qlm, int bits) bits 115 arch/mips/cavium-octeon/executive/cvmx-helper-jtag.c while (bits > 0) { bits 116 arch/mips/cavium-octeon/executive/cvmx-helper-jtag.c int n = bits; bits 120 arch/mips/cavium-octeon/executive/cvmx-helper-jtag.c bits -= n; bits 2225 arch/mips/cavium-octeon/octeon-irq.c u64 bits; bits 2234 arch/mips/cavium-octeon/octeon-irq.c bits = en & raw; bits 2237 arch/mips/cavium-octeon/octeon-irq.c if ((bits & 1ull << i) == 0) bits 75 arch/mips/include/asm/jazz.h static __inline__ void pica_set_led(unsigned int bits) bits 79 arch/mips/include/asm/jazz.h *led_register = bits; bits 355 arch/mips/include/asm/mach-au1x00/au1xxx_dbdma.h u32 au1xxx_dbdma_set_devwidth(u32 chanid, int bits); bits 20 arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h # (only 32 bits set by bootloader, all addresses are physical bits 31 arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h # Clear the lower 6 bits, the CVMSEG size bits 82 arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h # OCTEON II or better have bit 15 set. Clear the error bits. bits 39 arch/mips/include/asm/octeon/cvmx-helper-jtag.h extern uint32_t cvmx_helper_qlm_jtag_shift(int qlm, int bits, uint32_t data); bits 40 arch/mips/include/asm/octeon/cvmx-helper-jtag.h extern void cvmx_helper_qlm_jtag_shift_zeros(int qlm, int bits); bits 114 arch/mips/include/asm/octeon/cvmx.h */ static inline uint64_t cvmx_build_mask(uint64_t bits) bits 116 arch/mips/include/asm/octeon/cvmx.h return ~((~0x0ull) << bits); bits 216 arch/mips/include/asm/txx9/tx4927.h static inline void txx9_clear64(__u64 __iomem *adr, __u64 bits) bits 222 arch/mips/include/asm/txx9/tx4927.h ____raw_writeq(____raw_readq(adr) & ~bits, adr); bits 227 arch/mips/include/asm/txx9/tx4927.h static inline void txx9_set64(__u64 __iomem *adr, __u64 bits) bits 233 arch/mips/include/asm/txx9/tx4927.h ____raw_writeq(____raw_readq(adr) | bits, adr); bits 240 arch/mips/include/asm/txx9/tx4927.h static inline void tx4927_ccfg_clear(__u64 bits) bits 243 arch/mips/include/asm/txx9/tx4927.h & ~(TX4927_CCFG_W1CBITS | bits), bits 246 arch/mips/include/asm/txx9/tx4927.h static inline void tx4927_ccfg_set(__u64 bits) bits 249 arch/mips/include/asm/txx9/tx4927.h & ~TX4927_CCFG_W1CBITS) | bits, bits 266 arch/mips/include/asm/txx9/tx4938.h #define tx4938_ccfg_clear(bits) tx4927_ccfg_clear(bits) bits 267 arch/mips/include/asm/txx9/tx4938.h #define tx4938_ccfg_set(bits) tx4927_ccfg_set(bits) bits 486 arch/mips/include/asm/txx9/tx4939.h #define tx4939_ccfg_clear(bits) tx4938_ccfg_clear(bits) bits 487 arch/mips/include/asm/txx9/tx4939.h #define tx4939_ccfg_set(bits) tx4938_ccfg_set(bits) bits 1031 arch/mips/kernel/cpu-probe.c #define probe_gc0_config(name, maxconf, bits) \ bits 1035 arch/mips/kernel/cpu-probe.c write_gc0_##name(tmp | (bits)); \ bits 1045 arch/mips/kernel/cpu-probe.c #define probe_gc0_config_dyn(name, maxconf, dynconf, bits) \ bits 1048 arch/mips/kernel/cpu-probe.c write_gc0_##name(maxconf ^ (bits)); \ bits 37 arch/mips/kernel/early_printk_8250.c int status, bits; bits 43 arch/mips/kernel/early_printk_8250.c bits = UART_LSR_TEMT | UART_LSR_THRE; bits 50 arch/mips/kernel/early_printk_8250.c } while ((status & bits) != bits); bits 191 arch/mips/kernel/module.c Elf_Addr v, unsigned int bits) bits 193 arch/mips/kernel/module.c unsigned long mask = GENMASK(bits - 1, 0); bits 199 arch/mips/kernel/module.c me->name, bits); bits 205 arch/mips/kernel/module.c offset |= (offset & BIT(bits - 1)) ? ~mask : 0; bits 210 arch/mips/kernel/module.c se_bits = (offset & BIT(bits - 1)) ? ~0ul : 0; bits 63 arch/mips/lantiq/clk.h unsigned int bits; bits 86 arch/mips/lantiq/falcon/sysctrl.c & clk->bits) != test)); bits 89 arch/mips/lantiq/falcon/sysctrl.c clk->module, clk->bits, test, bits 90 arch/mips/lantiq/falcon/sysctrl.c sysctl_r32(clk->module, reg) & clk->bits); bits 95 arch/mips/lantiq/falcon/sysctrl.c sysctl_w32(clk->module, clk->bits, SYSCTL_CLKEN); bits 96 arch/mips/lantiq/falcon/sysctrl.c sysctl_w32(clk->module, clk->bits, SYSCTL_ACT); bits 97 arch/mips/lantiq/falcon/sysctrl.c sysctl_wait(clk, clk->bits, SYSCTL_ACTS); bits 103 arch/mips/lantiq/falcon/sysctrl.c sysctl_w32(clk->module, clk->bits, SYSCTL_CLKCLR); bits 104 arch/mips/lantiq/falcon/sysctrl.c sysctl_w32(clk->module, clk->bits, SYSCTL_DEACT); bits 110 arch/mips/lantiq/falcon/sysctrl.c sysctl_w32(clk->module, clk->bits, SYSCTL_CLKEN); bits 111 arch/mips/lantiq/falcon/sysctrl.c sysctl_w32(clk->module, clk->bits, SYSCTL_ACT); bits 112 arch/mips/lantiq/falcon/sysctrl.c sysctl_wait(clk, clk->bits, SYSCTL_CLKS); bits 118 arch/mips/lantiq/falcon/sysctrl.c sysctl_w32(clk->module, clk->bits, SYSCTL_CLKCLR); bits 125 arch/mips/lantiq/falcon/sysctrl.c unsigned int bits; bits 128 arch/mips/lantiq/falcon/sysctrl.c bits = ~act & clk->bits; bits 129 arch/mips/lantiq/falcon/sysctrl.c if (bits != 0) { bits 130 arch/mips/lantiq/falcon/sysctrl.c sysctl_w32(clk->module, bits, SYSCTL_CLKEN); bits 131 arch/mips/lantiq/falcon/sysctrl.c sysctl_w32(clk->module, bits, SYSCTL_ACT); bits 132 arch/mips/lantiq/falcon/sysctrl.c sysctl_wait(clk, bits, SYSCTL_ACTS); bits 134 arch/mips/lantiq/falcon/sysctrl.c sysctl_w32(clk->module, act & clk->bits, SYSCTL_RBT); bits 135 arch/mips/lantiq/falcon/sysctrl.c sysctl_wait(clk, clk->bits, SYSCTL_ACTS); bits 166 arch/mips/lantiq/falcon/sysctrl.c unsigned int bits) bits 174 arch/mips/lantiq/falcon/sysctrl.c clk->bits = bits; bits 96 arch/mips/lantiq/xway/gptu.c int ret = request_irq(irqres[clk->bits].start, timer_irq_handler, bits 104 arch/mips/lantiq/xway/gptu.c GPTU_CON(clk->bits)); bits 105 arch/mips/lantiq/xway/gptu.c gptu_w32(1, GPTU_RLD(clk->bits)); bits 106 arch/mips/lantiq/xway/gptu.c gptu_w32(gptu_r32(GPTU_IRNEN) | BIT(clk->bits), GPTU_IRNEN); bits 107 arch/mips/lantiq/xway/gptu.c gptu_w32(RUN_SEN | RUN_RL, GPTU_RUN(clk->bits)); bits 113 arch/mips/lantiq/xway/gptu.c gptu_w32(0, GPTU_RUN(clk->bits)); bits 114 arch/mips/lantiq/xway/gptu.c gptu_w32(0, GPTU_CON(clk->bits)); bits 115 arch/mips/lantiq/xway/gptu.c gptu_w32(0, GPTU_RLD(clk->bits)); bits 116 arch/mips/lantiq/xway/gptu.c gptu_w32(gptu_r32(GPTU_IRNEN) & ~BIT(clk->bits), GPTU_IRNEN); bits 117 arch/mips/lantiq/xway/gptu.c free_irq(irqres[clk->bits].start, NULL); bits 130 arch/mips/lantiq/xway/gptu.c clk->bits = timer; bits 188 arch/mips/lantiq/xway/sysctrl.c ltq_cgu_w32(ltq_cgu_r32(ifccr) | clk->bits, ifccr); bits 195 arch/mips/lantiq/xway/sysctrl.c ltq_cgu_w32(ltq_cgu_r32(ifccr) & ~clk->bits, ifccr); bits 205 arch/mips/lantiq/xway/sysctrl.c pmu_w32(clk->bits, PWDCR_EN_XRX(clk->module)); bits 207 arch/mips/lantiq/xway/sysctrl.c (!(pmu_r32(PWDSR_XRX(clk->module)) & clk->bits))); bits 211 arch/mips/lantiq/xway/sysctrl.c pmu_w32(pmu_r32(PWDCR(clk->module)) & ~clk->bits, bits 214 arch/mips/lantiq/xway/sysctrl.c (pmu_r32(PWDSR(clk->module)) & clk->bits)); bits 231 arch/mips/lantiq/xway/sysctrl.c pmu_w32(clk->bits, PWDCR_DIS_XRX(clk->module)); bits 233 arch/mips/lantiq/xway/sysctrl.c (pmu_r32(PWDSR_XRX(clk->module)) & clk->bits)); bits 236 arch/mips/lantiq/xway/sysctrl.c pmu_w32(pmu_r32(PWDCR(clk->module)) | clk->bits, bits 239 arch/mips/lantiq/xway/sysctrl.c (!(pmu_r32(PWDSR(clk->module)) & clk->bits))); bits 310 arch/mips/lantiq/xway/sysctrl.c unsigned int module, unsigned int bits) bits 320 arch/mips/lantiq/xway/sysctrl.c clk->bits = bits; bits 333 arch/mips/lantiq/xway/sysctrl.c unsigned int bits) bits 342 arch/mips/lantiq/xway/sysctrl.c clk->bits = bits; bits 363 arch/mips/lantiq/xway/sysctrl.c clk->bits = PMU_PCI; bits 840 arch/mips/math-emu/cp1emu.c #define SPFROMREG(sp, x) SIFROMREG((sp).bits, x) bits 841 arch/mips/math-emu/cp1emu.c #define SPTOREG(sp, x) SITOREG((sp).bits, x) bits 842 arch/mips/math-emu/cp1emu.c #define DPFROMREG(dp, x) DIFROMREG((dp).bits, x) bits 843 arch/mips/math-emu/cp1emu.c #define DPTOREG(dp, x) DITOREG((dp).bits, x) bits 1672 arch/mips/math-emu/cp1emu.c u64 bits; bits 1988 arch/mips/math-emu/cp1emu.c if (fd.bits & 0x1) bits 2339 arch/mips/math-emu/cp1emu.c if (fd.bits & 0x1) bits 2415 arch/mips/math-emu/cp1emu.c rv.s = ieee754sp_fint(fs.bits); bits 2422 arch/mips/math-emu/cp1emu.c rv.d = ieee754dp_fint(fs.bits); bits 2575 arch/mips/math-emu/cp1emu.c DIFROMREG(bits, MIPSInst_FS(ir)); bits 2581 arch/mips/math-emu/cp1emu.c rv.s = ieee754sp_flong(bits); bits 2587 arch/mips/math-emu/cp1emu.c rv.d = ieee754dp_flong(bits); bits 32 arch/mips/math-emu/dp_cmp.c vx = x.bits; bits 33 arch/mips/math-emu/dp_cmp.c vy = y.bits; bits 86 arch/mips/math-emu/dp_sqrt.c yh = y.bits >> 32; bits 89 arch/mips/math-emu/dp_sqrt.c y.bits = ((u64) yh << 32) | (y.bits & 0xffffffff); bits 95 arch/mips/math-emu/dp_sqrt.c y.bits -= 0x0010000600000000LL; bits 96 arch/mips/math-emu/dp_sqrt.c y.bits &= 0xffffffff00000000LL; bits 120 arch/mips/math-emu/dp_sqrt.c if (ieee754_csr.sx & IEEE754_INEXACT || t.bits != y.bits) { bits 124 arch/mips/math-emu/dp_sqrt.c t.bits -= 1; bits 132 arch/mips/math-emu/dp_sqrt.c y.bits += 1; bits 135 arch/mips/math-emu/dp_sqrt.c t.bits += 1; bits 29 arch/mips/math-emu/ieee754.h u64 bits; bits 39 arch/mips/math-emu/ieee754.h u32 bits; bits 27 arch/mips/math-emu/ieee754d.c printk("<%08x,%08x>\n", (unsigned) (x.bits >> 32), bits 28 arch/mips/math-emu/ieee754d.c (unsigned) x.bits); bits 67 arch/mips/math-emu/ieee754d.c printk("<%08x>\n", (unsigned) x.bits); bits 32 arch/mips/math-emu/sp_cmp.c vx = x.bits; bits 33 arch/mips/math-emu/sp_cmp.c vy = y.bits; bits 56 arch/mips/math-emu/sp_sqrt.c ix = x.bits; bits 101 arch/mips/math-emu/sp_sqrt.c x.bits = ix; bits 553 arch/mips/mm/cerr-sb1.c int bits; bits 556 arch/mips/mm/cerr-sb1.c bits = hweight8(ecc); bits 557 arch/mips/mm/cerr-sb1.c res |= (bits == 1) ? CP0_CERRD_DATA_SBE : CP0_CERRD_DATA_DBE; bits 46 arch/mips/mti-malta/malta-init.c char parity = '\0', bits = '\0', flow = '\0'; bits 60 arch/mips/mti-malta/malta-init.c bits = *s++; bits 70 arch/mips/mti-malta/malta-init.c if (bits != '7' && bits != '8') bits 71 arch/mips/mti-malta/malta-init.c bits = '8'; bits 77 arch/mips/mti-malta/malta-init.c parity, bits); bits 83 arch/mips/mti-malta/malta-init.c parity, bits, flow); bits 77 arch/mips/vdso/genvdso.c #define BUILD_SWAP(bits) \ bits 78 arch/mips/vdso/genvdso.c static uint##bits##_t swap_uint##bits(uint##bits##_t val) \ bits 80 arch/mips/vdso/genvdso.c return need_swap ? bswap_##bits(val) : val; \ bits 87 arch/mips/vdso/genvdso.c #define __FUNC(name, bits) name##bits bits 88 arch/mips/vdso/genvdso.c #define _FUNC(name, bits) __FUNC(name, bits) bits 91 arch/mips/vdso/genvdso.c #define __ELF(x, bits) Elf##bits##_##x bits 92 arch/mips/vdso/genvdso.c #define _ELF(x, bits) __ELF(x, bits) bits 118 arch/parisc/include/asm/hash.h hash_64(u64 a, unsigned int bits) bits 126 arch/parisc/include/asm/hash.h if (!__builtin_constant_p(bits)) bits 127 arch/parisc/include/asm/hash.h asm("" : "=q" (bits) : "0" (64 - bits)); bits 129 arch/parisc/include/asm/hash.h bits = 64 - bits; bits 141 arch/parisc/include/asm/hash.h return a >> bits; bits 56 arch/parisc/kernel/module.c #define RELOC_REACHABLE(val, bits) \ bits 57 arch/parisc/kernel/module.c (( ( !((val) & (1<<((bits)-1))) && ((val)>>(bits)) != 0 ) || \ bits 58 arch/parisc/kernel/module.c ( ((val) & (1<<((bits)-1))) && ((val)>>(bits)) != (((__typeof__(val))(~0))>>((bits)+2)))) ? \ bits 61 arch/parisc/kernel/module.c #define CHECK_RELOC(val, bits) \ bits 62 arch/parisc/kernel/module.c if (!RELOC_REACHABLE(val, bits)) { \ bits 64 arch/parisc/kernel/module.c me->name, strtab + sym->st_name, (unsigned long)val, bits); \ bits 79 arch/powerpc/crypto/sha1.c __be64 bits; bits 82 arch/powerpc/crypto/sha1.c bits = cpu_to_be64(sctx->count << 3); bits 90 arch/powerpc/crypto/sha1.c sha1_update(desc, (const u8 *)&bits, sizeof(bits)); bits 52 arch/powerpc/include/asm/bitops.h #define PPC_BITEXTRACT(bits, ppc_bit, dst_bit) \ bits 53 arch/powerpc/include/asm/bitops.h ((((bits) >> PPC_BITLSHIFT(ppc_bit)) & 1) << (dst_bit)) bits 175 arch/powerpc/include/asm/kvm_book3s_64.h static inline long try_lock_hpte(__be64 *hpte, unsigned long bits) bits 186 arch/powerpc/include/asm/kvm_book3s_64.h be_bits = cpu_to_be64(bits); bits 310 arch/powerpc/include/asm/nohash/64/pgtable.h unsigned long bits = pte_val(entry) & bits 322 arch/powerpc/include/asm/nohash/64/pgtable.h :"r" (bits), "r" (ptep), "m" (*ptep) bits 326 arch/powerpc/include/asm/nohash/64/pgtable.h *ptep = __pte(old | bits); bits 1373 arch/powerpc/include/asm/reg.h extern unsigned long msr_check_and_set(unsigned long bits); bits 1375 arch/powerpc/include/asm/reg.h extern void __msr_check_and_clear(unsigned long bits); bits 1376 arch/powerpc/include/asm/reg.h static inline void msr_check_and_clear(unsigned long bits) bits 1379 arch/powerpc/include/asm/reg.h __msr_check_and_clear(bits); bits 164 arch/powerpc/include/asm/sfp-machine.h #define __FPU_TRAP_P(bits) \ bits 165 arch/powerpc/include/asm/sfp-machine.h ((__FPU_ENABLED_EXC & (bits)) != 0) bits 60 arch/powerpc/include/asm/word-at-a-time.h static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) bits 66 arch/powerpc/include/asm/word-at-a-time.h *bits = ret; bits 71 arch/powerpc/include/asm/word-at-a-time.h static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) bits 73 arch/powerpc/include/asm/word-at-a-time.h return bits; bits 77 arch/powerpc/include/asm/word-at-a-time.h static inline unsigned long create_zero_mask(unsigned long bits) bits 86 arch/powerpc/include/asm/word-at-a-time.h : "b" (bits)); bits 127 arch/powerpc/include/asm/word-at-a-time.h static inline unsigned long create_zero_mask(unsigned long bits) bits 129 arch/powerpc/include/asm/word-at-a-time.h bits = (bits - 1) & ~bits; bits 130 arch/powerpc/include/asm/word-at-a-time.h return bits >> 7; bits 139 arch/powerpc/include/asm/word-at-a-time.h static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) bits 142 arch/powerpc/include/asm/word-at-a-time.h *bits = mask; bits 146 arch/powerpc/include/asm/word-at-a-time.h static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) bits 148 arch/powerpc/include/asm/word-at-a-time.h return bits; bits 504 arch/powerpc/kernel/asm-offsets.c OFFSET(KVM_NEED_FLUSH, kvm, arch.need_tlb_flush.bits); bits 420 arch/powerpc/kernel/btext.c int l, bits; bits 426 arch/powerpc/kernel/btext.c bits = *font++; bits 427 arch/powerpc/kernel/btext.c base[0] = (-(bits >> 7) & fg) ^ bg; bits 428 arch/powerpc/kernel/btext.c base[1] = (-((bits >> 6) & 1) & fg) ^ bg; bits 429 arch/powerpc/kernel/btext.c base[2] = (-((bits >> 5) & 1) & fg) ^ bg; bits 430 arch/powerpc/kernel/btext.c base[3] = (-((bits >> 4) & 1) & fg) ^ bg; bits 431 arch/powerpc/kernel/btext.c base[4] = (-((bits >> 3) & 1) & fg) ^ bg; bits 432 arch/powerpc/kernel/btext.c base[5] = (-((bits >> 2) & 1) & fg) ^ bg; bits 433 arch/powerpc/kernel/btext.c base[6] = (-((bits >> 1) & 1) & fg) ^ bg; bits 434 arch/powerpc/kernel/btext.c base[7] = (-(bits & 1) & fg) ^ bg; bits 441 arch/powerpc/kernel/btext.c int l, bits; bits 448 arch/powerpc/kernel/btext.c bits = *font++; bits 449 arch/powerpc/kernel/btext.c base[0] = (eb[bits >> 6] & fg) ^ bg; bits 450 arch/powerpc/kernel/btext.c base[1] = (eb[(bits >> 4) & 3] & fg) ^ bg; bits 451 arch/powerpc/kernel/btext.c base[2] = (eb[(bits >> 2) & 3] & fg) ^ bg; bits 452 arch/powerpc/kernel/btext.c base[3] = (eb[bits & 3] & fg) ^ bg; bits 459 arch/powerpc/kernel/btext.c int l, bits; bits 466 arch/powerpc/kernel/btext.c bits = *font++; bits 467 arch/powerpc/kernel/btext.c base[0] = (eb[bits >> 4] & fg) ^ bg; bits 468 arch/powerpc/kernel/btext.c base[1] = (eb[bits & 0xf] & fg) ^ bg; bits 121 arch/powerpc/kernel/process.c unsigned long notrace msr_check_and_set(unsigned long bits) bits 126 arch/powerpc/kernel/process.c newmsr = oldmsr | bits; bits 129 arch/powerpc/kernel/process.c if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) bits 141 arch/powerpc/kernel/process.c void notrace __msr_check_and_clear(unsigned long bits) bits 146 arch/powerpc/kernel/process.c newmsr = oldmsr & ~bits; bits 149 arch/powerpc/kernel/process.c if (cpu_has_feature(CPU_FTR_VSX) && (bits & MSR_FP)) bits 1332 arch/powerpc/kernel/process.c static void print_bits(unsigned long val, struct regbit *bits, const char *sep) bits 1336 arch/powerpc/kernel/process.c for (; bits->bit; ++bits) bits 1337 arch/powerpc/kernel/process.c if (val & bits->bit) { bits 1338 arch/powerpc/kernel/process.c pr_cont("%s%s", s, bits->name); bits 1029 arch/powerpc/kernel/time.c u32 bits = 32; bits 1037 arch/powerpc/kernel/time.c if (of_property_read_u32(cpu, "ibm,dec-bits", &bits) == 0) { bits 1038 arch/powerpc/kernel/time.c if (bits > 64 || bits < 32) { bits 1040 arch/powerpc/kernel/time.c bits = 32; bits 1044 arch/powerpc/kernel/time.c decrementer_max = (1ul << (bits - 1)) - 1; bits 1050 arch/powerpc/kernel/time.c bits, decrementer_max); bits 133 arch/powerpc/kvm/book3s_64_mmu_radix.c unsigned long rts, bits, offset, index; bits 139 arch/powerpc/kvm/book3s_64_mmu_radix.c bits = root & RPDS_MASK; bits 152 arch/powerpc/kvm/book3s_64_mmu_radix.c if (level && bits != p9_supported_radix_bits[level]) bits 154 arch/powerpc/kvm/book3s_64_mmu_radix.c if (level == 0 && !(bits == 5 || bits == 9)) bits 156 arch/powerpc/kvm/book3s_64_mmu_radix.c offset -= bits; bits 157 arch/powerpc/kvm/book3s_64_mmu_radix.c index = (eaddr >> offset) & ((1UL << bits) - 1); bits 159 arch/powerpc/kvm/book3s_64_mmu_radix.c if (base & ((1UL << (bits + 3)) - 1)) bits 177 arch/powerpc/kvm/book3s_64_mmu_radix.c bits = pte & RPDS_MASK; bits 692 arch/powerpc/kvm/book3s_hv_rm_mmu.c unsigned long v, r, rb, mask, bits; bits 713 arch/powerpc/kvm/book3s_hv_rm_mmu.c bits = (flags << 55) & HPTE_R_PP0; bits 714 arch/powerpc/kvm/book3s_hv_rm_mmu.c bits |= (flags << 48) & HPTE_R_KEY_HI; bits 715 arch/powerpc/kvm/book3s_hv_rm_mmu.c bits |= flags & (HPTE_R_PP | HPTE_R_N | HPTE_R_KEY_LO); bits 722 arch/powerpc/kvm/book3s_hv_rm_mmu.c r = (rev->guest_rpte & ~mask) | bits; bits 734 arch/powerpc/kvm/book3s_hv_rm_mmu.c r = (pte_r & ~mask) | bits; bits 160 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c u32 bits; bits 293 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c bits = MPC512X_SCLPC_CS(cs); bits 295 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c bits |= MPC512X_SCLPC_READ | MPC512X_SCLPC_FLUSH; bits 297 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c bits |= MPC512X_SCLPC_DAI; bits 298 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c bits |= MPC512X_SCLPC_BPT(bpt); bits 299 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c out_be32(&lpbfifo.regs->ctrl, bits); bits 302 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c bits = MPC512X_SCLPC_ENABLE | MPC512X_SCLPC_ABORT_INT_ENABLE; bits 304 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c bits |= MPC512X_SCLPC_NORM_INT_ENABLE; bits 308 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c out_be32(&lpbfifo.regs->enable, bits); bits 311 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c bits = lpbfifo.req->size | MPC512X_SCLPC_START; bits 312 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c out_be32(&lpbfifo.regs->pkt_size, bits); bits 400 arch/powerpc/platforms/8xx/cpm1.c int i, bits = 0; bits 498 arch/powerpc/platforms/8xx/cpm1.c bits = clk_map[i][2]; bits 508 arch/powerpc/platforms/8xx/cpm1.c bits <<= shift; bits 513 arch/powerpc/platforms/8xx/cpm1.c bits |= bits << 3; bits 516 arch/powerpc/platforms/8xx/cpm1.c bits <<= 3; bits 521 arch/powerpc/platforms/8xx/cpm1.c out_be32(reg, (in_be32(reg) & ~mask) | bits); bits 49 arch/powerpc/platforms/cell/interrupt.c static irq_hw_number_t iic_pending_to_hwnum(struct cbe_iic_pending_bits bits) bits 51 arch/powerpc/platforms/cell/interrupt.c unsigned char unit = bits.source & 0xf; bits 52 arch/powerpc/platforms/cell/interrupt.c unsigned char node = bits.source >> 4; bits 53 arch/powerpc/platforms/cell/interrupt.c unsigned char class = bits.class & 3; bits 56 arch/powerpc/platforms/cell/interrupt.c if (bits.flags & CBE_IIC_IRQ_IPI) bits 57 arch/powerpc/platforms/cell/interrupt.c return IIC_IRQ_TYPE_IPI | (bits.prio >> 4); bits 96 arch/powerpc/platforms/cell/interrupt.c unsigned long bits, ack; bits 100 arch/powerpc/platforms/cell/interrupt.c bits = in_be64(&node_iic->iic_is); bits 101 arch/powerpc/platforms/cell/interrupt.c if (bits == 0) bits 104 arch/powerpc/platforms/cell/interrupt.c ack = bits & IIC_ISR_EDGE_MASK; bits 109 arch/powerpc/platforms/cell/interrupt.c if (bits & (0x8000000000000000UL >> cascade)) { bits 117 arch/powerpc/platforms/cell/interrupt.c ack = bits & ~IIC_ISR_EDGE_MASK; bits 2902 arch/powerpc/platforms/powermac/feature.c int bits[8] = { 8,16,0,32,2,4,0,0 }; bits 2910 arch/powerpc/platforms/powermac/feature.c bits[(cfg >> 28) & 0x7], bits[(cfg >> 24) & 0x7]); bits 203 arch/powerpc/platforms/powermac/pic.c int irq, bits; bits 209 arch/powerpc/platforms/powermac/pic.c bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i]; bits 210 arch/powerpc/platforms/powermac/pic.c bits |= in_le32(&pmac_irq_hw[i]->level); bits 211 arch/powerpc/platforms/powermac/pic.c bits &= ppc_cached_irq_mask[i]; bits 212 arch/powerpc/platforms/powermac/pic.c if (bits == 0) bits 214 arch/powerpc/platforms/powermac/pic.c irq += __ilog2(bits); bits 227 arch/powerpc/platforms/powermac/pic.c unsigned long bits = 0; bits 239 arch/powerpc/platforms/powermac/pic.c bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i]; bits 240 arch/powerpc/platforms/powermac/pic.c bits |= in_le32(&pmac_irq_hw[i]->level); bits 241 arch/powerpc/platforms/powermac/pic.c bits &= ppc_cached_irq_mask[i]; bits 242 arch/powerpc/platforms/powermac/pic.c if (bits == 0) bits 244 arch/powerpc/platforms/powermac/pic.c irq += __ilog2(bits); bits 143 arch/powerpc/sysdev/cpm2.c int i, bits = 0; bits 245 arch/powerpc/sysdev/cpm2.c bits = clk_map[i][2]; bits 252 arch/powerpc/sysdev/cpm2.c bits <<= shift; bits 256 arch/powerpc/sysdev/cpm2.c bits |= bits << 3; bits 259 arch/powerpc/sysdev/cpm2.c bits <<= 3; bits 263 arch/powerpc/sysdev/cpm2.c out_be32(reg, (in_be32(reg) & ~mask) | bits); bits 273 arch/powerpc/sysdev/cpm2.c int i, bits = 0; bits 309 arch/powerpc/sysdev/cpm2.c bits = clk_map[i][2]; bits 316 arch/powerpc/sysdev/cpm2.c bits <<= shift; bits 319 arch/powerpc/sysdev/cpm2.c out_8(reg, (in_8(reg) & ~mask) | bits); bits 203 arch/powerpc/sysdev/cpm2_pic.c unsigned long bits; bits 207 arch/powerpc/sysdev/cpm2_pic.c bits = in_be32(&cpm2_intctl->ic_sivec); bits 208 arch/powerpc/sysdev/cpm2_pic.c irq = bits >> 26; bits 160 arch/powerpc/sysdev/fsl_pci.c unsigned int bits = min_t(u32, ilog2(size), bits 169 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[index + i].powar, flags | (bits - 1)); bits 171 arch/powerpc/sysdev/fsl_pci.c pci_addr += (resource_size_t)1U << bits; bits 172 arch/powerpc/sysdev/fsl_pci.c phys_addr += (resource_size_t)1U << bits; bits 173 arch/powerpc/sysdev/fsl_pci.c size -= (resource_size_t)1U << bits; bits 21 arch/riscv/include/asm/word-at-a-time.h unsigned long *bits, const struct word_at_a_time *c) bits 24 arch/riscv/include/asm/word-at-a-time.h *bits = mask; bits 29 arch/riscv/include/asm/word-at-a-time.h unsigned long bits, const struct word_at_a_time *c) bits 31 arch/riscv/include/asm/word-at-a-time.h return bits; bits 34 arch/riscv/include/asm/word-at-a-time.h static inline unsigned long create_zero_mask(unsigned long bits) bits 36 arch/riscv/include/asm/word-at-a-time.h bits = (bits - 1) & ~bits; bits 37 arch/riscv/include/asm/word-at-a-time.h return bits >> 7; bits 42 arch/riscv/kernel/smp.c unsigned long bits ____cacheline_aligned; bits 91 arch/riscv/kernel/smp.c set_bit(op, &ipi_data[cpu].bits); bits 103 arch/riscv/kernel/smp.c set_bit(op, &ipi_data[cpu].bits); bits 116 arch/riscv/kernel/smp.c unsigned long *pending_ipis = &ipi_data[smp_processor_id()].bits; bits 52 arch/riscv/mm/cacheflush.c sbi_remote_fence_i(hmask.bits); bits 18 arch/riscv/mm/tlbflush.c sbi_remote_sfence_vma(hmask.bits, start, size); bits 76 arch/s390/crypto/sha_common.c u64 bits; bits 81 arch/s390/crypto/sha_common.c bits = ctx->count * 8; bits 92 arch/s390/crypto/sha_common.c memcpy(ctx->state + mbl_offset, &bits, sizeof(bits)); bits 99 arch/s390/crypto/sha_common.c memset(ctx->state + mbl_offset, 0x00, sizeof(bits)); bits 101 arch/s390/crypto/sha_common.c memcpy(ctx->state + mbl_offset, &bits, sizeof(bits)); bits 38 arch/s390/include/asm/airq.h unsigned long bits; /* Number of bits in the vector */ bits 50 arch/s390/include/asm/airq.h struct airq_iv *airq_iv_create(unsigned long bits, unsigned long flags); bits 42 arch/s390/include/asm/bitops.h #define __BITOPS_WORDS(bits) (((bits) + BITS_PER_LONG - 1) / BITS_PER_LONG) bits 140 arch/s390/include/asm/gmap.h unsigned long bits); bits 1143 arch/s390/include/asm/pgtable.h pte_t *ptep, unsigned long bits); bits 1165 arch/s390/include/asm/pgtable.h unsigned long bits, unsigned long value); bits 117 arch/s390/include/asm/ptrace.h unsigned long bits; /* Obsolete software bits */ bits 361 arch/s390/include/uapi/asm/ptrace.h per_cr_bits bits; bits 379 arch/s390/include/uapi/asm/ptrace.h per_lowcore_bits bits; bits 12 arch/s390/kernel/compat_ptrace.h __u32 bits; /* Obsolete software bits */ bits 48 arch/s390/kernel/dis.c unsigned char bits; /* The number of bits in the operand. */ bits 347 arch/s390/kernel/dis.c int bits; bits 351 arch/s390/kernel/dis.c bits = (operand->shift & 7) + operand->bits; bits 356 arch/s390/kernel/dis.c bits -= 8; bits 357 arch/s390/kernel/dis.c } while (bits > 0); bits 358 arch/s390/kernel/dis.c val >>= -bits; bits 359 arch/s390/kernel/dis.c val &= ((1U << (operand->bits - 1)) << 1) - 1; bits 362 arch/s390/kernel/dis.c if (operand->bits == 20 && operand->shift == 20) bits 379 arch/s390/kernel/dis.c (val & (1U << (operand->bits - 1)))) bits 380 arch/s390/kernel/dis.c val |= (-1U << (operand->bits - 1)) << 1; bits 177 arch/s390/kernel/module.c int sign, int bits, int shift) bits 186 arch/s390/kernel/module.c min = -(1L << (bits - 1)); bits 187 arch/s390/kernel/module.c max = (1L << (bits - 1)) - 1; bits 192 arch/s390/kernel/module.c umax = ((1UL << (bits - 1)) << 1) - 1; bits 197 arch/s390/kernel/module.c if (bits == 8) bits 199 arch/s390/kernel/module.c else if (bits == 12) bits 202 arch/s390/kernel/module.c else if (bits == 16) bits 204 arch/s390/kernel/module.c else if (bits == 20) bits 208 arch/s390/kernel/module.c else if (bits == 32) bits 210 arch/s390/kernel/module.c else if (bits == 64) bits 168 arch/s390/kernel/ptrace.c else if (addr == (addr_t) &dummy->bits) bits 553 arch/s390/kernel/ptrace.c else if (addr == (addr_t) &dummy32->bits) bits 493 arch/s390/kernel/smp.c unsigned long bits; bits 496 arch/s390/kernel/smp.c bits = xchg(&pcpu_devices[smp_processor_id()].ec_mask, 0); bits 497 arch/s390/kernel/smp.c if (test_bit(ec_stop_cpu, &bits)) bits 499 arch/s390/kernel/smp.c if (test_bit(ec_schedule, &bits)) bits 501 arch/s390/kernel/smp.c if (test_bit(ec_call_function_single, &bits)) bits 2112 arch/s390/kvm/kvm-s390.c uint8_t *bits; bits 2129 arch/s390/kvm/kvm-s390.c bits = vmalloc(array_size(sizeof(*bits), args->count)); bits 2130 arch/s390/kvm/kvm-s390.c if (!bits) bits 2133 arch/s390/kvm/kvm-s390.c r = copy_from_user(bits, (void __user *)args->values, args->count); bits 2148 arch/s390/kvm/kvm-s390.c pgstev = bits[i]; bits 2162 arch/s390/kvm/kvm-s390.c vfree(bits); bits 93 arch/s390/kvm/vsie.c const int bits = CPUSTAT_STOP_INT | CPUSTAT_IO_INT | CPUSTAT_EXT_INT; bits 97 arch/s390/kvm/vsie.c atomic_andnot(bits, &vsie_page->scb_s.cpuflags); bits 98 arch/s390/kvm/vsie.c atomic_or(cpuflags & bits, &vsie_page->scb_s.cpuflags); bits 960 arch/s390/mm/gmap.c pmd_t *pmdp, int prot, unsigned long bits) bits 981 arch/s390/mm/gmap.c if (bits & GMAP_NOTIFY_MPROT) bits 985 arch/s390/mm/gmap.c if (bits & GMAP_NOTIFY_SHADOW) bits 1005 arch/s390/mm/gmap.c pmd_t *pmdp, int prot, unsigned long bits) bits 1019 arch/s390/mm/gmap.c pbits |= (bits & GMAP_NOTIFY_MPROT) ? PGSTE_IN_BIT : 0; bits 1020 arch/s390/mm/gmap.c pbits |= (bits & GMAP_NOTIFY_SHADOW) ? PGSTE_VSIE_BIT : 0; bits 1041 arch/s390/mm/gmap.c unsigned long len, int prot, unsigned long bits) bits 1054 arch/s390/mm/gmap.c bits); bits 1061 arch/s390/mm/gmap.c bits); bits 2177 arch/s390/mm/gmap.c unsigned long start, end, bits, raddr; bits 2201 arch/s390/mm/gmap.c bits = rmap->raddr & _SHADOW_RMAP_MASK; bits 2202 arch/s390/mm/gmap.c raddr = rmap->raddr ^ bits; bits 2203 arch/s390/mm/gmap.c switch (bits) { bits 2236 arch/s390/mm/gmap.c pte_t *pte, unsigned long bits) bits 2255 arch/s390/mm/gmap.c if (!list_empty(&gmap->children) && (bits & PGSTE_VSIE_BIT)) { bits 2262 arch/s390/mm/gmap.c if (bits & PGSTE_IN_BIT) bits 155 arch/s390/mm/pgalloc.c static inline unsigned int atomic_xor_bits(atomic_t *v, unsigned int bits) bits 161 arch/s390/mm/pgalloc.c new = old ^ bits; bits 159 arch/s390/mm/pgtable.c unsigned long address, bits, skey; bits 165 arch/s390/mm/pgtable.c bits = skey & (_PAGE_CHANGED | _PAGE_REFERENCED); bits 167 arch/s390/mm/pgtable.c pgste_val(pgste) |= bits << 48; /* GR bit & GC bit */ bits 226 arch/s390/mm/pgtable.c unsigned long bits; bits 228 arch/s390/mm/pgtable.c bits = pgste_val(pgste) & (PGSTE_IN_BIT | PGSTE_VSIE_BIT); bits 229 arch/s390/mm/pgtable.c if (bits) { bits 230 arch/s390/mm/pgtable.c pgste_val(pgste) ^= bits; bits 231 arch/s390/mm/pgtable.c ptep_notify(mm, addr, ptep, bits); bits 797 arch/s390/mm/pgtable.c unsigned long bits, skey; bits 801 arch/s390/mm/pgtable.c bits = skey & (_PAGE_CHANGED | _PAGE_REFERENCED); bits 806 arch/s390/mm/pgtable.c pgste_val(new) |= bits << 52; bits 1072 arch/s390/mm/pgtable.c unsigned long bits, unsigned long value) bits 1083 arch/s390/mm/pgtable.c pgste_val(new) &= ~bits; bits 1084 arch/s390/mm/pgtable.c pgste_val(new) |= value & bits; bits 18 arch/s390/tools/gen_facilities.c int *bits; bits 29 arch/s390/tools/gen_facilities.c .bits = (int[]){ bits 76 arch/s390/tools/gen_facilities.c .bits = (int[]){ bits 114 arch/s390/tools/gen_facilities.c .bits = (int[]){ bits 132 arch/s390/tools/gen_facilities.c for (i = 0; def->bits[i] != -1; i++) { bits 133 arch/s390/tools/gen_facilities.c bit = 63 - (def->bits[i] & 63); bits 134 arch/s390/tools/gen_facilities.c dword = def->bits[i] / 64; bits 27 arch/sh/include/asm/word-at-a-time.h static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) bits 30 arch/sh/include/asm/word-at-a-time.h *bits = mask; bits 34 arch/sh/include/asm/word-at-a-time.h static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) bits 36 arch/sh/include/asm/word-at-a-time.h return bits; bits 39 arch/sh/include/asm/word-at-a-time.h static inline unsigned long create_zero_mask(unsigned long bits) bits 41 arch/sh/include/asm/word-at-a-time.h bits = (bits - 1) & ~bits; bits 42 arch/sh/include/asm/word-at-a-time.h return bits >> 7; bits 26 arch/sh/mm/tlb-debugfs.c int bits; bits 118 arch/sh/mm/tlb-debugfs.c if (tlb_sizes[i].bits == size) bits 89 arch/sparc/crypto/md5_glue.c __le64 bits; bits 92 arch/sparc/crypto/md5_glue.c bits = cpu_to_le64(sctx->byte_count << 3); bits 105 arch/sparc/crypto/md5_glue.c __md5_sparc64_update(sctx, (const u8 *)&bits, sizeof(bits), 56); bits 84 arch/sparc/crypto/sha1_glue.c __be64 bits; bits 87 arch/sparc/crypto/sha1_glue.c bits = cpu_to_be64(sctx->count << 3); bits 100 arch/sparc/crypto/sha1_glue.c __sha1_sparc64_update(sctx, (const u8 *)&bits, sizeof(bits), 56); bits 104 arch/sparc/crypto/sha256_glue.c __be64 bits; bits 107 arch/sparc/crypto/sha256_glue.c bits = cpu_to_be64(sctx->count << 3); bits 120 arch/sparc/crypto/sha256_glue.c __sha256_sparc64_update(sctx, (const u8 *)&bits, sizeof(bits), 56); bits 105 arch/sparc/crypto/sha512_glue.c __be64 bits[2]; bits 109 arch/sparc/crypto/sha512_glue.c bits[1] = cpu_to_be64(sctx->count[0] << 3); bits 110 arch/sparc/crypto/sha512_glue.c bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61); bits 124 arch/sparc/crypto/sha512_glue.c __sha512_sparc64_update(sctx, (const u8 *)&bits, sizeof(bits), 112); bits 67 arch/sparc/include/asm/irq_64.h static inline void set_softint(unsigned long bits) bits 71 arch/sparc/include/asm/irq_64.h : "r" (bits)); bits 74 arch/sparc/include/asm/irq_64.h static inline void clear_softint(unsigned long bits) bits 78 arch/sparc/include/asm/irq_64.h : "r" (bits)); bits 23 arch/sparc/kernel/btext.c static void draw_byte_32(unsigned char *bits, unsigned int *base, int rb); bits 24 arch/sparc/kernel/btext.c static void draw_byte_16(unsigned char *bits, unsigned int *base, int rb); bits 25 arch/sparc/kernel/btext.c static void draw_byte_8(unsigned char *bits, unsigned int *base, int rb); bits 244 arch/sparc/kernel/btext.c int l, bits; bits 250 arch/sparc/kernel/btext.c bits = *font++; bits 251 arch/sparc/kernel/btext.c base[0] = (-(bits >> 7) & fg) ^ bg; bits 252 arch/sparc/kernel/btext.c base[1] = (-((bits >> 6) & 1) & fg) ^ bg; bits 253 arch/sparc/kernel/btext.c base[2] = (-((bits >> 5) & 1) & fg) ^ bg; bits 254 arch/sparc/kernel/btext.c base[3] = (-((bits >> 4) & 1) & fg) ^ bg; bits 255 arch/sparc/kernel/btext.c base[4] = (-((bits >> 3) & 1) & fg) ^ bg; bits 256 arch/sparc/kernel/btext.c base[5] = (-((bits >> 2) & 1) & fg) ^ bg; bits 257 arch/sparc/kernel/btext.c base[6] = (-((bits >> 1) & 1) & fg) ^ bg; bits 258 arch/sparc/kernel/btext.c base[7] = (-(bits & 1) & fg) ^ bg; bits 265 arch/sparc/kernel/btext.c int l, bits; bits 272 arch/sparc/kernel/btext.c bits = *font++; bits 273 arch/sparc/kernel/btext.c base[0] = (eb[bits >> 6] & fg) ^ bg; bits 274 arch/sparc/kernel/btext.c base[1] = (eb[(bits >> 4) & 3] & fg) ^ bg; bits 275 arch/sparc/kernel/btext.c base[2] = (eb[(bits >> 2) & 3] & fg) ^ bg; bits 276 arch/sparc/kernel/btext.c base[3] = (eb[bits & 3] & fg) ^ bg; bits 283 arch/sparc/kernel/btext.c int l, bits; bits 290 arch/sparc/kernel/btext.c bits = *font++; bits 291 arch/sparc/kernel/btext.c base[0] = (eb[bits >> 4] & fg) ^ bg; bits 292 arch/sparc/kernel/btext.c base[1] = (eb[bits & 0xf] & fg) ^ bg; bits 375 arch/sparc/kernel/visemul.c unsigned int bits, bits_mask; bits 381 arch/sparc/kernel/visemul.c bits = (rs2 > 5 ? 5 : rs2); bits 382 arch/sparc/kernel/visemul.c bits_mask = (1UL << bits) - 1UL; bits 391 arch/sparc/kernel/visemul.c (((rs1 >> 39) & bits_mask) << (17 + bits)) | bits 392 arch/sparc/kernel/visemul.c (((rs1 >> 60) & 0xf) << (17 + (2*bits)))); bits 100 arch/sparc/vdso/vdso2c.c #define GBE(x, bits, ifnot) \ bits 102 arch/sparc/vdso/vdso2c.c (sizeof(*(x)) == bits/8), \ bits 103 arch/sparc/vdso/vdso2c.c (__typeof__(*(x)))get_unaligned_be##bits(x), ifnot) bits 111 arch/sparc/vdso/vdso2c.c #define PBE(x, val, bits, ifnot) \ bits 113 arch/sparc/vdso/vdso2c.c (sizeof(*(x)) == bits/8), \ bits 114 arch/sparc/vdso/vdso2c.c put_unaligned_be##bits((val), (x)), ifnot) bits 124 arch/sparc/vdso/vdso2c.c #define BITSFUNC3(name, bits, suffix) name##bits##suffix bits 125 arch/sparc/vdso/vdso2c.c #define BITSFUNC2(name, bits, suffix) BITSFUNC3(name, bits, suffix) bits 130 arch/sparc/vdso/vdso2c.c #define ELF_BITS_XFORM2(bits, x) Elf##bits##_##x bits 131 arch/sparc/vdso/vdso2c.c #define ELF_BITS_XFORM(bits, x) ELF_BITS_XFORM2(bits, x) bits 78 arch/um/drivers/ubd_kern.c int bits, off; bits 80 arch/um/drivers/ubd_kern.c bits = sizeof(data[0]) * 8; bits 81 arch/um/drivers/ubd_kern.c n = bit / bits; bits 82 arch/um/drivers/ubd_kern.c off = bit % bits; bits 89 arch/um/drivers/ubd_kern.c int bits, off; bits 91 arch/um/drivers/ubd_kern.c bits = sizeof(data[0]) * 8; bits 92 arch/um/drivers/ubd_kern.c n = bit / bits; bits 93 arch/um/drivers/ubd_kern.c off = bit % bits; bits 42 arch/um/include/asm/page.h #define pte_get_bits(p, bits) ((p).pte & (bits)) bits 43 arch/um/include/asm/page.h #define pte_set_bits(p, bits) ((p).pte |= (bits)) bits 44 arch/um/include/asm/page.h #define pte_clear_bits(p, bits) ((p).pte &= ~(bits)) bits 69 arch/um/include/asm/page.h #define pte_get_bits(p, bits) ((p).pte & (bits)) bits 70 arch/um/include/asm/page.h #define pte_set_bits(p, bits) ((p).pte |= (bits)) bits 71 arch/um/include/asm/page.h #define pte_clear_bits(p, bits) ((p).pte &= ~(bits)) bits 30 arch/x86/boot/compressed/eboot.c #define BOOT_SERVICES(bits) \ bits 31 arch/x86/boot/compressed/eboot.c static void setup_boot_services##bits(struct efi_config *c) \ bits 33 arch/x86/boot/compressed/eboot.c efi_system_table_##bits##_t *table; \ bits 160 arch/x86/boot/compressed/misc.c int bits; bits 162 arch/x86/boot/compressed/misc.c for (bits = sizeof(value) * 8 - 4; bits >= 0; bits -= 4) { bits 163 arch/x86/boot/compressed/misc.c unsigned long digit = (value >> bits) & 0xf; bits 774 arch/x86/crypto/camellia_glue.c #define ROLDQ(l, r, bits) ({ \ bits 776 arch/x86/crypto/camellia_glue.c l = (l << bits) | (r >> (64 - bits)); \ bits 777 arch/x86/crypto/camellia_glue.c r = (r << bits) | (t >> (64 - bits)); \ bits 119 arch/x86/entry/vdso/vdso2c.c #define GLE(x, bits, ifnot) \ bits 121 arch/x86/entry/vdso/vdso2c.c (sizeof(*(x)) == bits/8), \ bits 122 arch/x86/entry/vdso/vdso2c.c (__typeof__(*(x)))get_unaligned_le##bits(x), ifnot) bits 131 arch/x86/entry/vdso/vdso2c.c #define PLE(x, val, bits, ifnot) \ bits 133 arch/x86/entry/vdso/vdso2c.c (sizeof(*(x)) == bits/8), \ bits 134 arch/x86/entry/vdso/vdso2c.c put_unaligned_le##bits((val), (x)), ifnot) bits 146 arch/x86/entry/vdso/vdso2c.c #define BITSFUNC3(name, bits, suffix) name##bits##suffix bits 147 arch/x86/entry/vdso/vdso2c.c #define BITSFUNC2(name, bits, suffix) BITSFUNC3(name, bits, suffix) bits 152 arch/x86/entry/vdso/vdso2c.c #define ELF_BITS_XFORM2(bits, x) Elf##bits##_##x bits 153 arch/x86/entry/vdso/vdso2c.c #define ELF_BITS_XFORM(bits, x) ELF_BITS_XFORM2(bits, x) bits 2197 arch/x86/events/intel/core.c u64 ctrl_val, mask, bits = 0; bits 2205 arch/x86/events/intel/core.c bits |= 0x8; bits 2207 arch/x86/events/intel/core.c bits |= 0x2; bits 2209 arch/x86/events/intel/core.c bits |= 0x1; bits 2215 arch/x86/events/intel/core.c bits |= 0x4; bits 2217 arch/x86/events/intel/core.c bits <<= (idx * 4); bits 2221 arch/x86/events/intel/core.c bits |= ICL_FIXED_0_ADAPTIVE << (idx * 4); bits 2227 arch/x86/events/intel/core.c ctrl_val |= bits; bits 156 arch/x86/events/intel/uncore.h unsigned int bits; bits 394 arch/x86/events/intel/uncore.h return box->pmu->type->freerunning[type].bits; bits 550 arch/x86/events/perf_event.h } bits; bits 554 arch/x86/events/perf_event.h #define X86_CONFIG(args...) ((union x86_pmu_config){.bits = {args}}).value bits 88 arch/x86/include/asm/desc.h gate->bits.p = 1; bits 89 arch/x86/include/asm/desc.h gate->bits.dpl = dpl; bits 90 arch/x86/include/asm/desc.h gate->bits.zero = 0; bits 91 arch/x86/include/asm/desc.h gate->bits.type = type; bits 95 arch/x86/include/asm/desc.h gate->bits.ist = ist; bits 100 arch/x86/include/asm/desc.h gate->bits.ist = 0; bits 80 arch/x86/include/asm/desc_defs.h struct idt_bits bits; bits 379 arch/x86/include/asm/elf.h unsigned long bits; bits 36 arch/x86/include/asm/io_apic.h } __attribute__ ((packed)) bits; bits 47 arch/x86/include/asm/io_apic.h } __attribute__ ((packed)) bits; bits 56 arch/x86/include/asm/io_apic.h } __attribute__ ((packed)) bits; bits 64 arch/x86/include/asm/io_apic.h } __attribute__ ((packed)) bits; bits 22 arch/x86/include/asm/microcode_intel.h unsigned int bits[0]; bits 58 arch/x86/include/asm/uv/uv_bau.h test_bit((cpu), (bau_local_cpumask).bits) bits 207 arch/x86/include/asm/uv/uv_bau.h unsigned long bits[BITS_TO_LONGS(UV_DISTRIBUTION_SIZE)]; bits 216 arch/x86/include/asm/uv/uv_bau.h unsigned long bits; bits 780 arch/x86/include/asm/uv/uv_bau.h return constant_test_bit(uvhub, &dstp->bits[0]); bits 784 arch/x86/include/asm/uv/uv_bau.h __set_bit(pnode, &dstp->bits[0]); bits 789 arch/x86/include/asm/uv/uv_bau.h bitmap_zero(&dstp->bits[0], nbits); bits 793 arch/x86/include/asm/uv/uv_bau.h return bitmap_weight((unsigned long *)&dstp->bits[0], bits 799 arch/x86/include/asm/uv/uv_bau.h bitmap_zero(&dstp->bits, nbits); bits 47 arch/x86/include/asm/word-at-a-time.h static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) bits 50 arch/x86/include/asm/word-at-a-time.h *bits = mask; bits 54 arch/x86/include/asm/word-at-a-time.h static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) bits 56 arch/x86/include/asm/word-at-a-time.h return bits; bits 59 arch/x86/include/asm/word-at-a-time.h static inline unsigned long create_zero_mask(unsigned long bits) bits 61 arch/x86/include/asm/word-at-a-time.h bits = (bits - 1) & ~bits; bits 62 arch/x86/include/asm/word-at-a-time.h return bits >> 7; bits 91 arch/x86/include/uapi/asm/kvm.h __u64 bits; bits 1274 arch/x86/kernel/apic/io_apic.c if (reg_01.bits.version >= 0x10) bits 1276 arch/x86/kernel/apic/io_apic.c if (reg_01.bits.version >= 0x20) bits 1282 arch/x86/kernel/apic/io_apic.c printk(KERN_DEBUG "....... : physical APIC id: %02X\n", reg_00.bits.ID); bits 1283 arch/x86/kernel/apic/io_apic.c printk(KERN_DEBUG "....... : Delivery Type: %X\n", reg_00.bits.delivery_type); bits 1284 arch/x86/kernel/apic/io_apic.c printk(KERN_DEBUG "....... : LTS : %X\n", reg_00.bits.LTS); bits 1288 arch/x86/kernel/apic/io_apic.c reg_01.bits.entries); bits 1290 arch/x86/kernel/apic/io_apic.c printk(KERN_DEBUG "....... : PRQ implemented: %X\n", reg_01.bits.PRQ); bits 1292 arch/x86/kernel/apic/io_apic.c reg_01.bits.version); bits 1299 arch/x86/kernel/apic/io_apic.c if (reg_01.bits.version >= 0x10 && reg_02.raw != reg_01.raw) { bits 1301 arch/x86/kernel/apic/io_apic.c printk(KERN_DEBUG "....... : arbitration: %02X\n", reg_02.bits.arbitration); bits 1309 arch/x86/kernel/apic/io_apic.c if (reg_01.bits.version >= 0x20 && reg_03.raw != reg_02.raw && bits 1312 arch/x86/kernel/apic/io_apic.c printk(KERN_DEBUG "....... : Boot DT : %X\n", reg_03.bits.boot_DT); bits 1316 arch/x86/kernel/apic/io_apic.c io_apic_print_entries(ioapic_idx, reg_01.bits.entries); bits 1490 arch/x86/kernel/apic/io_apic.c reg_00.bits.ID); bits 1491 arch/x86/kernel/apic/io_apic.c ioapics[ioapic_idx].mp_config.apicid = reg_00.bits.ID; bits 1536 arch/x86/kernel/apic/io_apic.c if (mpc_ioapic_id(ioapic_idx) == reg_00.bits.ID) bits 1543 arch/x86/kernel/apic/io_apic.c reg_00.bits.ID = mpc_ioapic_id(ioapic_idx); bits 1554 arch/x86/kernel/apic/io_apic.c if (reg_00.bits.ID != mpc_ioapic_id(ioapic_idx)) bits 2391 arch/x86/kernel/apic/io_apic.c if (reg_00.bits.ID != mpc_ioapic_id(ioapic_idx)) { bits 2392 arch/x86/kernel/apic/io_apic.c reg_00.bits.ID = mpc_ioapic_id(ioapic_idx); bits 2435 arch/x86/kernel/apic/io_apic.c return reg_01.bits.entries + 1; bits 2480 arch/x86/kernel/apic/io_apic.c "%d\n", ioapic, apic_id, reg_00.bits.ID); bits 2481 arch/x86/kernel/apic/io_apic.c apic_id = reg_00.bits.ID; bits 2507 arch/x86/kernel/apic/io_apic.c if (reg_00.bits.ID != apic_id) { bits 2508 arch/x86/kernel/apic/io_apic.c reg_00.bits.ID = apic_id; bits 2516 arch/x86/kernel/apic/io_apic.c if (reg_00.bits.ID != apic_id) { bits 2561 arch/x86/kernel/apic/io_apic.c new_id = reg_00.bits.ID; bits 2573 arch/x86/kernel/apic/io_apic.c reg_00.bits.ID = new_id; bits 2579 arch/x86/kernel/apic/io_apic.c BUG_ON(reg_00.bits.ID != new_id); bits 2594 arch/x86/kernel/apic/io_apic.c return reg_01.bits.version; bits 988 arch/x86/kernel/apic/x2apic_uv_x.c unsigned char bits = uv_scir_info->state; bits 991 arch/x86/kernel/apic/x2apic_uv_x.c bits ^= SCIR_CPU_HEARTBEAT; bits 995 arch/x86/kernel/apic/x2apic_uv_x.c bits &= ~SCIR_CPU_ACTIVITY; bits 997 arch/x86/kernel/apic/x2apic_uv_x.c bits |= SCIR_CPU_ACTIVITY; bits 1000 arch/x86/kernel/apic/x2apic_uv_x.c uv_set_scir_bits(bits); bits 392 arch/x86/kernel/cpu/amd.c unsigned bits; bits 395 arch/x86/kernel/cpu/amd.c bits = c->x86_coreid_bits; bits 397 arch/x86/kernel/cpu/amd.c c->cpu_core_id = c->initial_apicid & ((1 << bits)-1); bits 399 arch/x86/kernel/cpu/amd.c c->phys_proc_id = c->initial_apicid >> bits; bits 470 arch/x86/kernel/cpu/amd.c unsigned bits, ecx; bits 481 arch/x86/kernel/cpu/amd.c bits = (ecx >> 12) & 0xF; bits 484 arch/x86/kernel/cpu/amd.c if (bits == 0) { bits 485 arch/x86/kernel/cpu/amd.c while ((1 << bits) < c->x86_max_cores) bits 486 arch/x86/kernel/cpu/amd.c bits++; bits 489 arch/x86/kernel/cpu/amd.c c->x86_coreid_bits = bits; bits 539 arch/x86/kernel/cpu/amd.c va_align.bits = get_random_int() & va_align.mask; bits 680 arch/x86/kernel/cpu/cacheinfo.c int bits = get_count_order(num_sharing_cache); bits 682 arch/x86/kernel/cpu/cacheinfo.c per_cpu(cpu_llc_id, cpu) = c->apicid >> bits; bits 116 arch/x86/kernel/cpu/hygon.c unsigned int bits; bits 119 arch/x86/kernel/cpu/hygon.c bits = c->x86_coreid_bits; bits 121 arch/x86/kernel/cpu/hygon.c c->cpu_core_id = c->initial_apicid & ((1 << bits)-1); bits 123 arch/x86/kernel/cpu/hygon.c c->phys_proc_id = c->initial_apicid >> bits; bits 181 arch/x86/kernel/cpu/hygon.c unsigned int bits, ecx; bits 192 arch/x86/kernel/cpu/hygon.c bits = (ecx >> 12) & 0xF; bits 195 arch/x86/kernel/cpu/hygon.c if (bits == 0) { bits 196 arch/x86/kernel/cpu/hygon.c while ((1 << bits) < c->x86_max_cores) bits 197 arch/x86/kernel/cpu/hygon.c bits++; bits 200 arch/x86/kernel/cpu/hygon.c c->x86_coreid_bits = bits; bits 608 arch/x86/kernel/cpu/microcode/intel.c native_wrmsrl(MSR_IA32_UCODE_WRITE, (unsigned long)mc->bits); bits 829 arch/x86/kernel/cpu/microcode/intel.c wrmsrl(MSR_IA32_UCODE_WRITE, (unsigned long)mc->bits); bits 15 arch/x86/kernel/idt.c struct idt_bits bits; bits 27 arch/x86/kernel/idt.c .bits.ist = _ist, \ bits 28 arch/x86/kernel/idt.c .bits.type = _type, \ bits 29 arch/x86/kernel/idt.c .bits.dpl = _dpl, \ bits 30 arch/x86/kernel/idt.c .bits.p = 1, \ bits 209 arch/x86/kernel/idt.c gate->bits = d->bits; bits 240 arch/x86/kernel/idt.c data.bits.type = GATE_INTERRUPT; bits 241 arch/x86/kernel/idt.c data.bits.p = 1; bits 54 arch/x86/kernel/sys_x86_64.c return va_align.bits & get_align_mask(); bits 78 arch/x86/kvm/ioapic.c redir_content = ioapic->redirtbl[index].bits; bits 220 arch/x86/kvm/ioapic.c trace_kvm_ioapic_set_irq(entry.bits, irq, ret == 0); bits 303 arch/x86/kvm/ioapic.c e->bits &= 0xffffffff; bits 304 arch/x86/kvm/ioapic.c e->bits |= (u64) val << 32; bits 306 arch/x86/kvm/ioapic.c e->bits &= ~0xffffffffULL; bits 307 arch/x86/kvm/ioapic.c e->bits |= (u32) val; bits 471 arch/x86/kvm/ioapic.c trace_kvm_ioapic_delayed_eoi_inj(ent->bits); bits 62 arch/x86/kvm/ioapic.h u64 bits; bits 63 arch/x86/mm/amdtopology.c unsigned int bits, cores, apicid_base; bits 164 arch/x86/mm/amdtopology.c bits = boot_cpu_data.x86_coreid_bits; bits 165 arch/x86/mm/amdtopology.c cores = 1 << bits; bits 180 arch/x86/mm/amdtopology.c set_apicid_to_node((i << bits) + j, i); bits 95 arch/x86/platform/scx200/scx200_32.c u32 scx200_gpio_configure(unsigned index, u32 mask, u32 bits) bits 104 arch/x86/platform/scx200/scx200_32.c new_config = (config & mask) | bits; bits 5 arch/x86/tools/relocs.c #define _ElfW(bits, type) __ElfW(bits, type) bits 6 arch/x86/tools/relocs.c #define __ElfW(bits, type) Elf##bits##_##type bits 675 arch/x86/xen/enlighten_pv.c if (val->bits.type != GATE_TRAP && val->bits.type != GATE_INTERRUPT) bits 682 arch/x86/xen/enlighten_pv.c if (!get_trap_addr((void **)&addr, val->bits.ist)) bits 688 arch/x86/xen/enlighten_pv.c info->flags = val->bits.dpl; bits 690 arch/x86/xen/enlighten_pv.c if (val->bits.type == GATE_INTERRUPT) bits 327 crypto/camellia_generic.c #define ROLDQ(ll, lr, rl, rr, w0, w1, bits) ({ \ bits 329 crypto/camellia_generic.c ll = (ll << bits) + (lr >> (32 - bits)); \ bits 330 crypto/camellia_generic.c lr = (lr << bits) + (rl >> (32 - bits)); \ bits 331 crypto/camellia_generic.c rl = (rl << bits) + (rr >> (32 - bits)); \ bits 332 crypto/camellia_generic.c rr = (rr << bits) + (w0 >> (32 - bits)); \ bits 335 crypto/camellia_generic.c #define ROLDQo32(ll, lr, rl, rr, w0, w1, bits) ({ \ bits 338 crypto/camellia_generic.c ll = (lr << (bits - 32)) + (rl >> (64 - bits)); \ bits 339 crypto/camellia_generic.c lr = (rl << (bits - 32)) + (rr >> (64 - bits)); \ bits 340 crypto/camellia_generic.c rl = (rr << (bits - 32)) + (w0 >> (64 - bits)); \ bits 341 crypto/camellia_generic.c rr = (w0 << (bits - 32)) + (w1 >> (64 - bits)); \ bits 126 crypto/jitterentropy.c unsigned int bits, unsigned int min) bits 131 crypto/jitterentropy.c unsigned int mask = (1<<bits) - 1; bits 144 crypto/jitterentropy.c for (i = 0; ((DATA_SIZE_BITS + bits - 1) / bits) > i; i++) { bits 146 crypto/jitterentropy.c time = time >> bits; bits 269 crypto/rmd128.c __le64 bits; bits 273 crypto/rmd128.c bits = cpu_to_le64(rctx->byte_count << 3); bits 281 crypto/rmd128.c rmd128_update(desc, (const u8 *)&bits, sizeof(bits)); bits 313 crypto/rmd160.c __le64 bits; bits 317 crypto/rmd160.c bits = cpu_to_le64(rctx->byte_count << 3); bits 325 crypto/rmd160.c rmd160_update(desc, (const u8 *)&bits, sizeof(bits)); bits 288 crypto/rmd256.c __le64 bits; bits 292 crypto/rmd256.c bits = cpu_to_le64(rctx->byte_count << 3); bits 300 crypto/rmd256.c rmd256_update(desc, (const u8 *)&bits, sizeof(bits)); bits 337 crypto/rmd320.c __le64 bits; bits 341 crypto/rmd320.c bits = cpu_to_le64(rctx->byte_count << 3); bits 349 crypto/rmd320.c rmd320_update(desc, (const u8 *)&bits, sizeof(bits)); bits 29 drivers/acpi/acpi_cmos_rtc.c u32 bits, u64 *value64, bits 43 drivers/acpi/acpi_cmos_rtc.c for (i = 0; i < DIV_ROUND_UP(bits, 8); ++i, ++address, ++value) bits 524 drivers/acpi/acpi_ipmi.c u32 bits, acpi_integer *value, bits 1287 drivers/acpi/ec.c u32 bits, u64 *value64, bits 1291 drivers/acpi/ec.c int result = 0, i, bytes = bits / 8; bits 1300 drivers/acpi/ec.c if (ec->busy_polling || bits > 8) bits 1308 drivers/acpi/ec.c if (ec->busy_polling || bits > 8) bits 51 drivers/acpi/pmic/intel_pmic.c acpi_physical_address address, u32 bits, u64 *value64, bits 59 drivers/acpi/pmic/intel_pmic.c if (bits != 32 || !value64) bits 170 drivers/acpi/pmic/intel_pmic.c acpi_physical_address address, u32 bits, u64 *value64, bits 177 drivers/acpi/pmic/intel_pmic.c if (bits != 32 || !value64) bits 210 drivers/acpi/pmic/intel_pmic.c acpi_physical_address address, u32 bits, u64 *value64, bits 273 drivers/acpi/pmic/tps68470_pmic.c u32 bits, u64 *value, bits 286 drivers/acpi/pmic/tps68470_pmic.c if (bits != 32) bits 309 drivers/acpi/pmic/tps68470_pmic.c u32 bits, u64 *value, bits 313 drivers/acpi/pmic/tps68470_pmic.c return tps68470_pmic_common_handler(function, address, bits, value, bits 322 drivers/acpi/pmic/tps68470_pmic.c acpi_physical_address address, u32 bits, bits 326 drivers/acpi/pmic/tps68470_pmic.c return tps68470_pmic_common_handler(function, address, bits, value, bits 336 drivers/acpi/pmic/tps68470_pmic.c u32 bits, u64 *value, bits 340 drivers/acpi/pmic/tps68470_pmic.c return tps68470_pmic_common_handler(function, address, bits, value, bits 350 drivers/acpi/pmic/tps68470_pmic.c u32 bits, u64 *value, bits 354 drivers/acpi/pmic/tps68470_pmic.c if (bits != 32) bits 363 drivers/acpi/pmic/tps68470_pmic.c return tps68470_pmic_common_handler(function, address, bits, value, bits 894 drivers/ata/libata-core.c int shift, bits; bits 922 drivers/ata/libata-core.c if (highbit >= ent->shift && highbit < ent->shift + ent->bits) bits 944 drivers/ata/libata-core.c if (xfer_mode >= ent->base && xfer_mode < ent->base + ent->bits) bits 967 drivers/ata/libata-core.c if (xfer_mode >= ent->base && xfer_mode < ent->base + ent->bits) bits 6786 drivers/ata/libata-core.c int pci_test_config_bits(struct pci_dev *pdev, const struct pci_bits *bits) bits 6790 drivers/ata/libata-core.c switch (bits->width) { bits 6793 drivers/ata/libata-core.c pci_read_config_byte(pdev, bits->reg, &tmp8); bits 6799 drivers/ata/libata-core.c pci_read_config_word(pdev, bits->reg, &tmp16); bits 6805 drivers/ata/libata-core.c pci_read_config_dword(pdev, bits->reg, &tmp32); bits 6814 drivers/ata/libata-core.c tmp &= bits->mask; bits 6816 drivers/ata/libata-core.c return (tmp == bits->val) ? 1 : 0; bits 875 drivers/atm/ambassador.c u16 * bits, unsigned int * actual) { bits 980 drivers/atm/ambassador.c if (bits) bits 981 drivers/atm/ambassador.c *bits = /* (1<<14) | */ (exp<<9) | man; bits 55 drivers/atm/ambassador.h #define PRINTDB(bits,format,args...) \ bits 56 drivers/atm/ambassador.h ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format , ## args) : 1 ) bits 57 drivers/atm/ambassador.h #define PRINTDM(bits,format,args...) \ bits 58 drivers/atm/ambassador.h ( (debug & (bits)) ? printk (format , ## args) : 1 ) bits 59 drivers/atm/ambassador.h #define PRINTDE(bits,format,args...) \ bits 60 drivers/atm/ambassador.h ( (debug & (bits)) ? printk (format "\n" , ## args) : 1 ) bits 61 drivers/atm/ambassador.h #define PRINTD(bits,format,args...) \ bits 62 drivers/atm/ambassador.h ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format "\n" , ## args) : 1 ) bits 66 drivers/atm/ambassador.h #define PRINTD(bits,format,args...) bits 67 drivers/atm/ambassador.h #define PRINTDB(bits,format,args...) bits 68 drivers/atm/ambassador.h #define PRINTDM(bits,format,args...) bits 69 drivers/atm/ambassador.h #define PRINTDE(bits,format,args...) bits 73 drivers/atm/ambassador.h #define PRINTDD(bits,format,args...) bits 437 drivers/atm/firestream.c u16 *bits, unsigned int *actual) bits 546 drivers/atm/firestream.c if (bits) bits 547 drivers/atm/firestream.c *bits = /* (1<<14) | */ (exp<<9) | man; bits 573 drivers/atm/horizon.c u16 * bits, unsigned int * actual) bits 669 drivers/atm/horizon.c if (bits) bits 670 drivers/atm/horizon.c *bits = (div<<CLOCK_SELECT_SHIFT) | (pre-1); bits 56 drivers/atm/horizon.h #define PRINTDB(bits,format,args...) \ bits 57 drivers/atm/horizon.h ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format , ## args) : 1 ) bits 58 drivers/atm/horizon.h #define PRINTDM(bits,format,args...) \ bits 59 drivers/atm/horizon.h ( (debug & (bits)) ? printk (format , ## args) : 1 ) bits 60 drivers/atm/horizon.h #define PRINTDE(bits,format,args...) \ bits 61 drivers/atm/horizon.h ( (debug & (bits)) ? printk (format "\n" , ## args) : 1 ) bits 62 drivers/atm/horizon.h #define PRINTD(bits,format,args...) \ bits 63 drivers/atm/horizon.h ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format "\n" , ## args) : 1 ) bits 67 drivers/atm/horizon.h #define PRINTD(bits,format,args...) bits 68 drivers/atm/horizon.h #define PRINTDB(bits,format,args...) bits 69 drivers/atm/horizon.h #define PRINTDM(bits,format,args...) bits 70 drivers/atm/horizon.h #define PRINTDE(bits,format,args...) bits 823 drivers/atm/iphase.h bits 31 30 29 28 27-25 24-22 21-19 18-9 bits 1125 drivers/atm/zatm.c int bits, unsigned short cmd) bits 1130 drivers/atm/zatm.c for (i = bits-1; i >= 0; i--) { bits 578 drivers/auxdisplay/panel.c static DECLARE_BITMAP(bits, LCD_BITS); bits 585 drivers/auxdisplay/panel.c state = test_bit(bit, bits) ? BIT_SET : BIT_CLR; bits 695 drivers/auxdisplay/panel.c clear_bit(LCD_BIT_CL, bits); /* CLK low */ bits 698 drivers/auxdisplay/panel.c set_bit(LCD_BIT_DA, bits); bits 700 drivers/auxdisplay/panel.c clear_bit(LCD_BIT_DA, bits); bits 705 drivers/auxdisplay/panel.c set_bit(LCD_BIT_CL, bits); /* CLK high */ bits 721 drivers/auxdisplay/panel.c set_bit(LCD_BIT_BL, bits); bits 723 drivers/auxdisplay/panel.c clear_bit(LCD_BIT_BL, bits); bits 758 drivers/auxdisplay/panel.c set_bit(LCD_BIT_E, bits); bits 759 drivers/auxdisplay/panel.c clear_bit(LCD_BIT_RS, bits); bits 760 drivers/auxdisplay/panel.c clear_bit(LCD_BIT_RW, bits); bits 765 drivers/auxdisplay/panel.c clear_bit(LCD_BIT_E, bits); bits 780 drivers/auxdisplay/panel.c set_bit(LCD_BIT_E, bits); bits 781 drivers/auxdisplay/panel.c set_bit(LCD_BIT_RS, bits); bits 782 drivers/auxdisplay/panel.c clear_bit(LCD_BIT_RW, bits); bits 787 drivers/auxdisplay/panel.c clear_bit(LCD_BIT_E, bits); bits 843 drivers/auxdisplay/panel.c set_bit(LCD_BIT_E, bits); bits 844 drivers/auxdisplay/panel.c set_bit(LCD_BIT_RS, bits); bits 845 drivers/auxdisplay/panel.c clear_bit(LCD_BIT_RW, bits); bits 851 drivers/auxdisplay/panel.c clear_bit(LCD_BIT_E, bits); bits 559 drivers/block/drbd/drbd_bitmap.c unsigned long bits = 0; bits 566 drivers/block/drbd/drbd_bitmap.c bits += bitmap_weight(p_addr, BITS_PER_PAGE); bits 573 drivers/block/drbd/drbd_bitmap.c bits += bitmap_weight(p_addr, last_word * BITS_PER_LONG); bits 575 drivers/block/drbd/drbd_bitmap.c bits += hweight_long(p_addr[last_word]); bits 580 drivers/block/drbd/drbd_bitmap.c return bits; bits 635 drivers/block/drbd/drbd_bitmap.c unsigned long bits, words, owords, obits; bits 668 drivers/block/drbd/drbd_bitmap.c bits = BM_SECT_TO_BIT(ALIGN(capacity, BM_SECT_PER_BIT)); bits 675 drivers/block/drbd/drbd_bitmap.c words = ALIGN(bits, 64) >> LN2_BPL; bits 680 drivers/block/drbd/drbd_bitmap.c if (bits > bits_on_disk) { bits 681 drivers/block/drbd/drbd_bitmap.c drbd_info(device, "bits = %lu\n", bits); bits 710 drivers/block/drbd/drbd_bitmap.c growing = bits > obits; bits 716 drivers/block/drbd/drbd_bitmap.c b->bm_bits = bits; bits 723 drivers/block/drbd/drbd_bitmap.c b->bm_set += bits - obits; bits 741 drivers/block/drbd/drbd_bitmap.c drbd_info(device, "resync bitmap: bits=%lu words=%lu pages=%lu\n", bits, words, want); bits 815 drivers/block/drbd/drbd_bitmap.c unsigned long word, bits; bits 838 drivers/block/drbd/drbd_bitmap.c bits = hweight_long(*bm); bits 841 drivers/block/drbd/drbd_bitmap.c b->bm_set += hweight_long(word) - bits; bits 1440 drivers/block/drbd/drbd_bitmap.c int bits; bits 1447 drivers/block/drbd/drbd_bitmap.c bits = hweight_long(paddr[i]); bits 1449 drivers/block/drbd/drbd_bitmap.c changed += BITS_PER_LONG - bits; bits 1266 drivers/block/drbd/drbd_int.h #define Bit2KB(bits) ((bits)<<(BM_BLOCK_SHIFT-10)) bits 1119 drivers/block/drbd/drbd_main.c int bits, use_rle; bits 1171 drivers/block/drbd/drbd_main.c bits = vli_encode_bits(&bs, rl); bits 1172 drivers/block/drbd/drbd_main.c if (bits == -ENOBUFS) /* buffer full */ bits 1174 drivers/block/drbd/drbd_main.c if (bits <= 0) { bits 1175 drivers/block/drbd/drbd_main.c drbd_err(device, "error while encoding bitmap: %d\n", bits); bits 3239 drivers/block/drbd/drbd_receiver.c u64 bits, u64 flags) bits 3251 drivers/block/drbd/drbd_receiver.c (unsigned long long)bits, bits 4744 drivers/block/drbd/drbd_receiver.c int bits; bits 4748 drivers/block/drbd/drbd_receiver.c bits = bitstream_get_bits(&bs, &look_ahead, 64); bits 4749 drivers/block/drbd/drbd_receiver.c if (bits < 0) bits 4752 drivers/block/drbd/drbd_receiver.c for (have = bits; have > 0; s += rl, toggle = !toggle) { bits 4753 drivers/block/drbd/drbd_receiver.c bits = vli_decode_bits(&rl, look_ahead); bits 4754 drivers/block/drbd/drbd_receiver.c if (bits <= 0) bits 4766 drivers/block/drbd/drbd_receiver.c if (have < bits) { bits 4768 drivers/block/drbd/drbd_receiver.c have, bits, look_ahead, bits 4774 drivers/block/drbd/drbd_receiver.c if (likely(bits < 64)) bits 4775 drivers/block/drbd/drbd_receiver.c look_ahead >>= bits; bits 4778 drivers/block/drbd/drbd_receiver.c have -= bits; bits 4780 drivers/block/drbd/drbd_receiver.c bits = bitstream_get_bits(&bs, &tmp, 64 - have); bits 4781 drivers/block/drbd/drbd_receiver.c if (bits < 0) bits 4784 drivers/block/drbd/drbd_receiver.c have += bits; bits 207 drivers/block/drbd/drbd_vli.h static inline void bitstream_cursor_advance(struct bitstream_cursor *cur, unsigned int bits) bits 209 drivers/block/drbd/drbd_vli.h bits += cur->bit; bits 210 drivers/block/drbd/drbd_vli.h cur->b = cur->b + (bits >> 3); bits 211 drivers/block/drbd/drbd_vli.h cur->bit = bits & 7; bits 248 drivers/block/drbd/drbd_vli.h static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) bits 253 drivers/block/drbd/drbd_vli.h if (bits == 0) bits 256 drivers/block/drbd/drbd_vli.h if ((bs->cur.b + ((bs->cur.bit + bits -1) >> 3)) - bs->buf >= bs->buf_len) bits 260 drivers/block/drbd/drbd_vli.h if (bits < 64) bits 261 drivers/block/drbd/drbd_vli.h val &= ~0ULL >> (64 - bits); bits 265 drivers/block/drbd/drbd_vli.h for (tmp = 8 - bs->cur.bit; tmp < bits; tmp += 8) bits 268 drivers/block/drbd/drbd_vli.h bitstream_cursor_advance(&bs->cur, bits); bits 269 drivers/block/drbd/drbd_vli.h return bits; bits 281 drivers/block/drbd/drbd_vli.h static inline int bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) bits 286 drivers/block/drbd/drbd_vli.h if (bits > 64) bits 289 drivers/block/drbd/drbd_vli.h if (bs->cur.b + ((bs->cur.bit + bs->pad_bits + bits -1) >> 3) - bs->buf >= bs->buf_len) bits 290 drivers/block/drbd/drbd_vli.h bits = ((bs->buf_len - (bs->cur.b - bs->buf)) << 3) bits 293 drivers/block/drbd/drbd_vli.h if (bits == 0) { bits 300 drivers/block/drbd/drbd_vli.h n = (bs->cur.bit + bits + 7) >> 3; bits 312 drivers/block/drbd/drbd_vli.h val &= ~0ULL >> (64 - bits); bits 314 drivers/block/drbd/drbd_vli.h bitstream_cursor_advance(&bs->cur, bits); bits 317 drivers/block/drbd/drbd_vli.h return bits; bits 331 drivers/block/drbd/drbd_vli.h int bits = __vli_encode_bits(&code, in); bits 333 drivers/block/drbd/drbd_vli.h if (bits <= 0) bits 334 drivers/block/drbd/drbd_vli.h return bits; bits 336 drivers/block/drbd/drbd_vli.h return bitstream_put_bits(bs, code, bits); bits 1220 drivers/block/sx8.c static int carm_init_wait(void __iomem *mmio, u32 bits, unsigned int test_bit) bits 1229 drivers/block/sx8.c if ((tmp & bits) == bits) bits 1232 drivers/block/sx8.c if ((tmp & bits) == 0) bits 1240 drivers/block/sx8.c bits, test_bit ? "yes" : "no"); bits 469 drivers/bluetooth/btmrvl_sdio.c static int btmrvl_sdio_poll_card_status(struct btmrvl_sdio_card *card, u8 bits) bits 479 drivers/bluetooth/btmrvl_sdio.c if ((status & bits) == bits) bits 414 drivers/cdrom/cdrom.c #define ENSURE(cdo, call, bits) \ bits 417 drivers/cdrom/cdrom.c WARN_ON_ONCE((cdo)->capability & (bits)); \ bits 78 drivers/char/agp/alpha-agp.c agp->mode.bits.enable = 1; bits 146 drivers/char/ds1620.c static void ds1620_out(int cmd, int bits, int value) bits 158 drivers/char/ds1620.c if (bits) bits 159 drivers/char/ds1620.c ds1620_send_bits(bits, value); bits 169 drivers/char/ds1620.c static unsigned int ds1620_in(int cmd, int bits) bits 184 drivers/char/ds1620.c value = ds1620_recv_bits(bits); bits 170 drivers/char/lp.c if (!test_and_set_bit(LP_PARPORT_CLAIMED, &this_lp->bits)) { bits 178 drivers/char/lp.c if (test_and_clear_bit(LP_PARPORT_CLAIMED, &this_lp->bits)) { bits 188 drivers/char/lp.c set_bit(LP_PREEMPT_REQUEST, &this_lp->bits); bits 401 drivers/char/lp.c &lp_table[minor].bits)) { bits 125 drivers/char/pc8736x_gpio.c static inline u32 pc8736x_gpio_configure_fn(unsigned index, u32 mask, u32 bits, bits 139 drivers/char/pc8736x_gpio.c new_config = (config & mask) | bits; bits 147 drivers/char/pc8736x_gpio.c static u32 pc8736x_gpio_configure(unsigned index, u32 mask, u32 bits) bits 149 drivers/char/pc8736x_gpio.c return pc8736x_gpio_configure_fn(index, mask, bits, bits 170 drivers/char/sonypi.c u16 bits; bits 467 drivers/char/sonypi.c u16 bits; bits 568 drivers/char/sonypi.c v |= (((u32) sonypi_device.bits) << SONYPI_IRQ_SHIFT); bits 582 drivers/char/sonypi.c if (sonypi_ec_write(SONYPI_SIRQ, sonypi_device.bits)) bits 1257 drivers/char/sonypi.c dev->bits = irq_list->bits; bits 32 drivers/clk/at91/sckc.c const struct clk_slow_bits *bits; bits 41 drivers/clk/at91/sckc.c const struct clk_slow_bits *bits; bits 51 drivers/clk/at91/sckc.c const struct clk_slow_bits *bits; bits 62 drivers/clk/at91/sckc.c const struct clk_slow_bits *bits; bits 74 drivers/clk/at91/sckc.c if (tmp & (osc->bits->cr_osc32byp | osc->bits->cr_osc32en)) bits 77 drivers/clk/at91/sckc.c writel(tmp | osc->bits->cr_osc32en, sckcr); bits 93 drivers/clk/at91/sckc.c if (tmp & osc->bits->cr_osc32byp) bits 96 drivers/clk/at91/sckc.c writel(tmp & ~osc->bits->cr_osc32en, sckcr); bits 105 drivers/clk/at91/sckc.c if (tmp & osc->bits->cr_osc32byp) bits 108 drivers/clk/at91/sckc.c return !!(tmp & osc->bits->cr_osc32en); bits 123 drivers/clk/at91/sckc.c const struct clk_slow_bits *bits) bits 146 drivers/clk/at91/sckc.c osc->bits = bits; bits 149 drivers/clk/at91/sckc.c writel((readl(sckcr) & ~osc->bits->cr_osc32en) | bits 150 drivers/clk/at91/sckc.c osc->bits->cr_osc32byp, sckcr); bits 191 drivers/clk/at91/sckc.c writel(readl(sckcr) | osc->bits->cr_rcen, sckcr); bits 206 drivers/clk/at91/sckc.c writel(readl(sckcr) & ~osc->bits->cr_rcen, sckcr); bits 213 drivers/clk/at91/sckc.c return !!(readl(osc->sckcr) & osc->bits->cr_rcen); bits 230 drivers/clk/at91/sckc.c const struct clk_slow_bits *bits) bits 252 drivers/clk/at91/sckc.c osc->bits = bits; bits 286 drivers/clk/at91/sckc.c if ((!index && !(tmp & slowck->bits->cr_oscsel)) || bits 287 drivers/clk/at91/sckc.c (index && (tmp & slowck->bits->cr_oscsel))) bits 291 drivers/clk/at91/sckc.c tmp |= slowck->bits->cr_oscsel; bits 293 drivers/clk/at91/sckc.c tmp &= ~slowck->bits->cr_oscsel; bits 309 drivers/clk/at91/sckc.c return !!(readl(slowck->sckcr) & slowck->bits->cr_oscsel); bits 322 drivers/clk/at91/sckc.c const struct clk_slow_bits *bits) bits 344 drivers/clk/at91/sckc.c slowck->bits = bits; bits 345 drivers/clk/at91/sckc.c slowck->parent = !!(readl(sckcr) & slowck->bits->cr_oscsel); bits 367 drivers/clk/at91/sckc.c const struct clk_slow_bits *bits) bits 382 drivers/clk/at91/sckc.c rc_osc_startup_us, bits); bits 405 drivers/clk/at91/sckc.c xtal_name, 1200000, bypass, bits); bits 410 drivers/clk/at91/sckc.c 2, bits); bits 540 drivers/clk/at91/sckc.c if ((readl(osc->sckcr) & osc->bits->cr_oscsel)) { bits 605 drivers/clk/at91/sckc.c osc->bits = &at91sama5d4_bits; bits 299 drivers/clk/ingenic/cgu.c GENMASK(clk_info->mux.bits - 1, 0); bits 333 drivers/clk/ingenic/cgu.c num_poss = 1 << clk_info->mux.bits; bits 345 drivers/clk/ingenic/cgu.c mask = GENMASK(clk_info->mux.bits - 1, 0); bits 377 drivers/clk/ingenic/cgu.c GENMASK(clk_info->div.bits - 1, 0); bits 398 drivers/clk/ingenic/cgu.c for (i = 0; i < (1 << clk_info->div.bits) bits 423 drivers/clk/ingenic/cgu.c div = min_t(unsigned, div, 1 << clk_info->div.bits); bits 487 drivers/clk/ingenic/cgu.c mask = GENMASK(clk_info->div.bits - 1, 0); bits 651 drivers/clk/ingenic/cgu.c num_possible = 1 << clk_info->mux.bits; bits 67 drivers/clk/ingenic/cgu.h u8 bits; bits 90 drivers/clk/ingenic/cgu.h u8 bits; bits 296 drivers/clk/mmp/clk-of-mmp2.c cells[i].bits = 0x4; bits 244 drivers/clk/mmp/clk-of-pxa168.c cells[i].bits = 0x4; bits 202 drivers/clk/mmp/clk-of-pxa1928.c cells[base + i].bits = 0x4; bits 254 drivers/clk/mmp/clk-of-pxa910.c cells[base + i].bits = 0x4; bits 264 drivers/clk/mmp/clk-of-pxa910.c cells[base + i].bits = 0x4; bits 47 drivers/clk/mmp/reset.c val |= cell->bits; bits 69 drivers/clk/mmp/reset.c val &= ~cell->bits; bits 12 drivers/clk/mmp/reset.h u32 bits; bits 359 drivers/clk/sirf/clk-common.c unsigned bits = (strcmp(name, "mem") == 0) ? 3 : 4; bits 366 drivers/clk/sirf/clk-common.c if (ratio > BIT(bits + 1)) bits 367 drivers/clk/sirf/clk-common.c ratio = BIT(bits + 1); bits 382 drivers/clk/sirf/clk-common.c unsigned bits = (strcmp(name, "mem") == 0) ? 3 : 4; bits 387 drivers/clk/sirf/clk-common.c if (unlikely(ratio < 2 || ratio > BIT(bits + 1))) bits 396 drivers/clk/sirf/clk-common.c reg &= ~(((BIT(bits) - 1) << 16) | ((BIT(bits) - 1) << 20)); bits 403 drivers/clk/ti/clkctrl.c const struct omap_clkctrl_bit_data *bits = data->bit_data; bits 405 drivers/clk/ti/clkctrl.c if (!bits) bits 408 drivers/clk/ti/clkctrl.c while (bits->bit) { bits 409 drivers/clk/ti/clkctrl.c switch (bits->type) { bits 412 drivers/clk/ti/clkctrl.c bits, reg); bits 417 drivers/clk/ti/clkctrl.c bits, reg); bits 422 drivers/clk/ti/clkctrl.c bits, reg); bits 427 drivers/clk/ti/clkctrl.c bits->type); bits 430 drivers/clk/ti/clkctrl.c bits++; bits 50 drivers/clocksource/mmio.c unsigned long hz, int rating, unsigned bits, bits 55 drivers/clocksource/mmio.c if (bits > 64 || bits < 16) bits 66 drivers/clocksource/mmio.c cs->clksrc.mask = CLOCKSOURCE_MASK(bits); bits 106 drivers/clocksource/samsung_pwm_timer.c u8 bits; bits 108 drivers/clocksource/samsung_pwm_timer.c bits = (fls(divisor) - 1) - pwm.variant.div_base; bits 114 drivers/clocksource/samsung_pwm_timer.c reg |= bits << shift; bits 354 drivers/clocksource/samsung_pwm_timer.c pwm.variant.bits, clock_rate); bits 356 drivers/clocksource/samsung_pwm_timer.c samsung_clocksource.mask = CLOCKSOURCE_MASK(pwm.variant.bits); bits 364 drivers/clocksource/samsung_pwm_timer.c pwm.tcnt_max = (1UL << pwm.variant.bits) - 1; bits 365 drivers/clocksource/samsung_pwm_timer.c if (pwm.variant.bits == 16) { bits 456 drivers/clocksource/samsung_pwm_timer.c .bits = 16, bits 469 drivers/clocksource/samsung_pwm_timer.c .bits = 32, bits 482 drivers/clocksource/samsung_pwm_timer.c .bits = 32, bits 495 drivers/clocksource/samsung_pwm_timer.c .bits = 32, bits 169 drivers/clocksource/timer-atmel-pit.c unsigned bits; bits 220 drivers/clocksource/timer-atmel-pit.c bits = 12 /* PICNT */ + ilog2(data->cycle) /* PIV */; bits 221 drivers/clocksource/timer-atmel-pit.c data->clksrc.mask = CLOCKSOURCE_MASK(bits); bits 366 drivers/clocksource/timer-atmel-tcb.c int bits; bits 402 drivers/clocksource/timer-atmel-tcb.c bits = (uintptr_t)match->data; bits 442 drivers/clocksource/timer-atmel-tcb.c if (bits == 32) { bits 485 drivers/clocksource/timer-atmel-tcb.c if (bits != 32) bits 50 drivers/clocksource/timer-stm32.c int bits; bits 62 drivers/clocksource/timer-stm32.c static void stm32_timer_of_bits_set(struct timer_of *to, int bits) bits 66 drivers/clocksource/timer-stm32.c pd->bits = bits; bits 82 drivers/clocksource/timer-stm32.c return pd->bits; bits 233 drivers/clocksource/timer-stm32.c u32 bits = stm32_timer_of_bits_get(to); bits 245 drivers/clocksource/timer-stm32.c if (bits == 32 && !stm32_timer_cnt) { bits 254 drivers/clocksource/timer-stm32.c sched_clock_register(stm32_read_sched_clock, bits, timer_of_rate(to)); bits 264 drivers/clocksource/timer-stm32.c timer_of_rate(to), bits == 32 ? 250 : 100, bits 265 drivers/clocksource/timer-stm32.c bits, clocksource_mmio_readl_up); bits 270 drivers/clocksource/timer-stm32.c u32 bits = stm32_timer_of_bits_get(to); bits 279 drivers/clocksource/timer-stm32.c to->clkevt.rating = bits == 32 ? 250 : 100; bits 282 drivers/clocksource/timer-stm32.c (1 << bits) - 1); bits 285 drivers/clocksource/timer-stm32.c to->np, bits); bits 141 drivers/cpufreq/longhaul.c bcr2.bits.ESOFTBF = 1; bits 142 drivers/cpufreq/longhaul.c bcr2.bits.CLOCKMUL = mults_index & 0xff; bits 155 drivers/cpufreq/longhaul.c bcr2.bits.ESOFTBF = 0; bits 170 drivers/cpufreq/longhaul.c longhaul.bits.RevisionKey = longhaul.bits.RevisionID; bits 172 drivers/cpufreq/longhaul.c longhaul.bits.RevisionKey = 0; bits 173 drivers/cpufreq/longhaul.c longhaul.bits.SoftBusRatio = mults_index & 0xf; bits 174 drivers/cpufreq/longhaul.c longhaul.bits.SoftBusRatio4 = (mults_index & 0x10) >> 4; bits 177 drivers/cpufreq/longhaul.c longhaul.bits.SoftVID = (mults_index >> 8) & 0x1f; bits 182 drivers/cpufreq/longhaul.c longhaul.bits.EnableSoftVID = 1; bits 196 drivers/cpufreq/longhaul.c longhaul.bits.EnableSoftVID = 0; bits 201 drivers/cpufreq/longhaul.c longhaul.bits.EnableSoftBusRatio = 1; bits 214 drivers/cpufreq/longhaul.c longhaul.bits.EnableSoftBusRatio = 0; bits 219 drivers/cpufreq/longhaul.c longhaul.bits.EnableSoftVID = 1; bits 233 drivers/cpufreq/longhaul.c longhaul.bits.EnableSoftVID = 0; bits 537 drivers/cpufreq/longhaul.c if (!(longhaul.bits.RevisionID & 1)) { bits 542 drivers/cpufreq/longhaul.c if (!longhaul.bits.VRMRev) { bits 554 drivers/cpufreq/longhaul.c minvid = vrm_mV_table[longhaul.bits.MinimumVID]; bits 555 drivers/cpufreq/longhaul.c maxvid = vrm_mV_table[longhaul.bits.MaximumVID]; bits 578 drivers/cpufreq/longhaul.c j = longhaul.bits.MinMHzBR; bits 579 drivers/cpufreq/longhaul.c if (longhaul.bits.MinMHzBR4) bits 584 drivers/cpufreq/longhaul.c switch (longhaul.bits.MinMHzFSB) { bits 16 drivers/cpufreq/longhaul.h } bits; bits 45 drivers/cpufreq/longhaul.h } bits; bits 64 drivers/cpufreq/powernow-k7.c } bits; bits 223 drivers/cpufreq/powernow-k7.c if (fidvidctl.bits.FID != fid) { bits 224 drivers/cpufreq/powernow-k7.c fidvidctl.bits.SGTC = latency; bits 225 drivers/cpufreq/powernow-k7.c fidvidctl.bits.FID = fid; bits 226 drivers/cpufreq/powernow-k7.c fidvidctl.bits.VIDC = 0; bits 227 drivers/cpufreq/powernow-k7.c fidvidctl.bits.FIDC = 1; bits 238 drivers/cpufreq/powernow-k7.c if (fidvidctl.bits.VID != vid) { bits 239 drivers/cpufreq/powernow-k7.c fidvidctl.bits.SGTC = latency; bits 240 drivers/cpufreq/powernow-k7.c fidvidctl.bits.VID = vid; bits 241 drivers/cpufreq/powernow-k7.c fidvidctl.bits.FIDC = 0; bits 242 drivers/cpufreq/powernow-k7.c fidvidctl.bits.VIDC = 1; bits 264 drivers/cpufreq/powernow-k7.c cfid = fidvidstatus.bits.CFID; bits 364 drivers/cpufreq/powernow-k7.c pc.bits.sgtc); bits 366 drivers/cpufreq/powernow-k7.c vid = pc.bits.vid; bits 367 drivers/cpufreq/powernow-k7.c fid = pc.bits.fid; bits 404 drivers/cpufreq/powernow-k7.c if (latency < pc.bits.sgtc) bits 405 drivers/cpufreq/powernow-k7.c latency = pc.bits.sgtc; bits 561 drivers/cpufreq/powernow-k7.c cfid = fidvidstatus.bits.CFID; bits 605 drivers/cpufreq/powernow-k7.c fsb = (10 * cpu_khz) / fid_codes[fidvidstatus.bits.CFID]; bits 616 drivers/cpufreq/powernow-k7.c result = powernow_decode_bios(fidvidstatus.bits.MFID, bits 617 drivers/cpufreq/powernow-k7.c fidvidstatus.bits.SVID); bits 21 drivers/cpufreq/powernow-k7.h } bits; bits 39 drivers/cpufreq/powernow-k7.h } bits; bits 537 drivers/cpufreq/s3c24xx-cpufreq.c unsigned int bits = cpu_cur.info->locktime_bits; bits 541 drivers/cpufreq/s3c24xx-cpufreq.c if (bits == 0) { bits 546 drivers/cpufreq/s3c24xx-cpufreq.c val = calc_locktime(rate, cpu_cur.info->locktime_u) << bits; bits 363 drivers/crypto/atmel-sha.c u64 bits[2]; bits 377 drivers/crypto/atmel-sha.c bits[1] = cpu_to_be64(size[0] << 3); bits 378 drivers/crypto/atmel-sha.c bits[0] = cpu_to_be64(size[1] << 3 | size[0] >> 61); bits 387 drivers/crypto/atmel-sha.c memcpy(ctx->buffer + ctx->bufcnt + padlen, bits, 16); bits 397 drivers/crypto/atmel-sha.c memcpy(ctx->buffer + ctx->bufcnt + padlen, &bits[1], 8); bits 1003 drivers/crypto/axis/artpec6_crypto.c __be64 bits = __cpu_to_be64(bitcount); bits 1030 drivers/crypto/axis/artpec6_crypto.c memcpy(dst + 1 + pad_bytes + 8, &bits, 8); bits 1032 drivers/crypto/axis/artpec6_crypto.c memcpy(dst + 1 + pad_bytes, &bits, 8); bits 143 drivers/crypto/marvell/hash.c __le64 bits = cpu_to_le64(creq->len << 3); bits 144 drivers/crypto/marvell/hash.c memcpy(buf + padlen, &bits, sizeof(bits)); bits 146 drivers/crypto/marvell/hash.c __be64 bits = cpu_to_be64(creq->len << 3); bits 147 drivers/crypto/marvell/hash.c memcpy(buf + padlen, &bits, sizeof(bits)); bits 242 drivers/crypto/mediatek/mtk-sha.c u64 bits[2]; bits 248 drivers/crypto/mediatek/mtk-sha.c bits[1] = cpu_to_be64(size << 3); bits 249 drivers/crypto/mediatek/mtk-sha.c bits[0] = cpu_to_be64(size >> 61); bits 258 drivers/crypto/mediatek/mtk-sha.c memcpy(ctx->buffer + ctx->bufcnt + padlen, bits, 16); bits 268 drivers/crypto/mediatek/mtk-sha.c memcpy(ctx->buffer + ctx->bufcnt + padlen, &bits[1], 8); bits 338 drivers/crypto/padlock-sha.c __be64 bits; bits 341 drivers/crypto/padlock-sha.c bits = cpu_to_be64(state->count << 3); bits 349 drivers/crypto/padlock-sha.c padlock_sha1_update_nano(desc, (const u8 *)&bits, sizeof(bits)); bits 423 drivers/crypto/padlock-sha.c __be64 bits; bits 426 drivers/crypto/padlock-sha.c bits = cpu_to_be64(state->count << 3); bits 434 drivers/crypto/padlock-sha.c padlock_sha256_update_nano(desc, (const u8 *)&bits, sizeof(bits)); bits 427 drivers/crypto/sunxi-ss/sun4i-ss-hash.c __be64 *bits = (__be64 *)&bf[j]; bits 428 drivers/crypto/sunxi-ss/sun4i-ss-hash.c *bits = cpu_to_be64(op->byte_count << 3); bits 431 drivers/crypto/sunxi-ss/sun4i-ss-hash.c __le64 *bits = (__le64 *)&bf[j]; bits 432 drivers/crypto/sunxi-ss/sun4i-ss-hash.c *bits = cpu_to_le64(op->byte_count << 3); bits 10 drivers/crypto/vmx/aesp8-ppc.h int aes_p8_set_encrypt_key(const u8 *userKey, const int bits, bits 12 drivers/crypto/vmx/aesp8-ppc.h int aes_p8_set_decrypt_key(const u8 *userKey, const int bits, bits 175 drivers/dma/dmaengine.c bitmap_and(has.bits, want->bits, device->cap_mask.bits, bits 177 drivers/dma/dmaengine.c return bitmap_equal(want->bits, has.bits, DMA_TX_TYPE_END); bits 314 drivers/dma/dmaengine.c bitmap_fill(dma_cap_mask_all.bits, DMA_TX_TYPE_END); bits 320 drivers/dma/dmaengine.c clear_bit(DMA_INTERRUPT, dma_cap_mask_all.bits); bits 321 drivers/dma/dmaengine.c clear_bit(DMA_PRIVATE, dma_cap_mask_all.bits); bits 322 drivers/dma/dmaengine.c clear_bit(DMA_SLAVE, dma_cap_mask_all.bits); bits 473 drivers/dma/dmaengine.c if (!(test_bit(DMA_SLAVE, device->cap_mask.bits) || bits 474 drivers/dma/dmaengine.c test_bit(DMA_CYCLIC, device->cap_mask.bits))) bits 98 drivers/dma/mxs-dma.c u16 bits; bits 528 drivers/dma/mxs-dma.c ccw->bits |= CCW_CHAIN; bits 529 drivers/dma/mxs-dma.c ccw->bits &= ~CCW_IRQ; bits 530 drivers/dma/mxs-dma.c ccw->bits &= ~CCW_DEC_SEM; bits 542 drivers/dma/mxs-dma.c ccw->bits = 0; bits 543 drivers/dma/mxs-dma.c ccw->bits |= CCW_IRQ; bits 544 drivers/dma/mxs-dma.c ccw->bits |= CCW_DEC_SEM; bits 546 drivers/dma/mxs-dma.c ccw->bits |= CCW_WAIT4END; bits 547 drivers/dma/mxs-dma.c ccw->bits |= CCW_HALT_ON_TERM; bits 548 drivers/dma/mxs-dma.c ccw->bits |= CCW_TERM_FLUSH; bits 549 drivers/dma/mxs-dma.c ccw->bits |= BF_CCW(sg_len, PIO_NUM); bits 550 drivers/dma/mxs-dma.c ccw->bits |= BF_CCW(MXS_DMA_CMD_NO_XFER, COMMAND); bits 552 drivers/dma/mxs-dma.c ccw->bits |= CCW_WAIT4RDY; bits 567 drivers/dma/mxs-dma.c ccw->bits = 0; bits 568 drivers/dma/mxs-dma.c ccw->bits |= CCW_CHAIN; bits 569 drivers/dma/mxs-dma.c ccw->bits |= CCW_HALT_ON_TERM; bits 570 drivers/dma/mxs-dma.c ccw->bits |= CCW_TERM_FLUSH; bits 571 drivers/dma/mxs-dma.c ccw->bits |= BF_CCW(direction == DMA_DEV_TO_MEM ? bits 576 drivers/dma/mxs-dma.c ccw->bits &= ~CCW_CHAIN; bits 577 drivers/dma/mxs-dma.c ccw->bits |= CCW_IRQ; bits 578 drivers/dma/mxs-dma.c ccw->bits |= CCW_DEC_SEM; bits 580 drivers/dma/mxs-dma.c ccw->bits |= CCW_WAIT4END; bits 635 drivers/dma/mxs-dma.c ccw->bits = 0; bits 636 drivers/dma/mxs-dma.c ccw->bits |= CCW_CHAIN; bits 637 drivers/dma/mxs-dma.c ccw->bits |= CCW_IRQ; bits 638 drivers/dma/mxs-dma.c ccw->bits |= CCW_HALT_ON_TERM; bits 639 drivers/dma/mxs-dma.c ccw->bits |= CCW_TERM_FLUSH; bits 640 drivers/dma/mxs-dma.c ccw->bits |= CCW_DEC_SEM; bits 641 drivers/dma/mxs-dma.c ccw->bits |= BF_CCW(direction == DMA_DEV_TO_MEM ? bits 1890 drivers/edac/altera_edac.c unsigned long bits; bits 1900 drivers/edac/altera_edac.c bits = irq_status; bits 1901 drivers/edac/altera_edac.c for_each_set_bit(bit, &bits, 32) { bits 329 drivers/edac/amd64_edac.c u32 intlv_en, bits; bits 359 drivers/edac/amd64_edac.c bits = (((u32) sys_addr) >> 12) & intlv_en; bits 362 drivers/edac/amd64_edac.c if ((dram_intlv_sel(pvt, node_id) & intlv_en) == bits) bits 776 drivers/edac/pnd2_edac.c u16 bits[PMI_ADDRESS_WIDTH]; bits 781 drivers/edac/pnd2_edac.c .bits = { bits 791 drivers/edac/pnd2_edac.c .bits = { bits 801 drivers/edac/pnd2_edac.c .bits = { bits 811 drivers/edac/pnd2_edac.c .bits = { bits 821 drivers/edac/pnd2_edac.c .bits = { bits 831 drivers/edac/pnd2_edac.c .bits = { bits 841 drivers/edac/pnd2_edac.c .bits = { bits 851 drivers/edac/pnd2_edac.c .bits = { bits 861 drivers/edac/pnd2_edac.c .bits = { bits 871 drivers/edac/pnd2_edac.c .bits = { bits 881 drivers/edac/pnd2_edac.c .bits = { bits 891 drivers/edac/pnd2_edac.c .bits = { bits 944 drivers/edac/pnd2_edac.c type = d->bits[i + skiprs] & ~0xf; bits 945 drivers/edac/pnd2_edac.c idx = d->bits[i + skiprs] & 0xf; bits 953 drivers/edac/pnd2_edac.c type = d->bits[i + skiprs] & ~0xf; bits 954 drivers/edac/pnd2_edac.c idx = d->bits[i + skiprs] & 0xf; bits 2036 drivers/edac/sb_edac.c int bits, a7mode = A7MODE(dram_rule); bits 2040 drivers/edac/sb_edac.c bits = GET_BITFIELD(addr, 7, 8) << 1; bits 2041 drivers/edac/sb_edac.c bits |= GET_BITFIELD(addr, 9, 9); bits 2043 drivers/edac/sb_edac.c bits = GET_BITFIELD(addr, 6, 8); bits 2048 drivers/edac/sb_edac.c idx ^= bits; bits 2050 drivers/edac/sb_edac.c idx = bits; bits 481 drivers/edac/skx_base.c static int skx_bits(u64 addr, int nbits, u8 *bits) bits 486 drivers/edac/skx_base.c res |= ((addr >> bits[i]) & 1) << i; bits 134 drivers/edac/ti_edac.c int bits; bits 143 drivers/edac/ti_edac.c bits = ((val & SDRAM_PAGESIZE_MASK) >> SDRAM_PAGESIZE_SHIFT) + 8; bits 144 drivers/edac/ti_edac.c bits += ((val & SDRAM_ROWSIZE_MASK) >> SDRAM_ROWSIZE_SHIFT) + 9; bits 145 drivers/edac/ti_edac.c bits += (val & SDRAM_IBANK_MASK) >> SDRAM_IBANK_SHIFT; bits 148 drivers/edac/ti_edac.c bits++; bits 151 drivers/edac/ti_edac.c bits += 2; bits 155 drivers/edac/ti_edac.c bits = 16; bits 156 drivers/edac/ti_edac.c bits += ((val & SDRAM_K2_PAGESIZE_MASK) >> bits 158 drivers/edac/ti_edac.c bits += (val & SDRAM_K2_IBANK_MASK) >> SDRAM_K2_IBANK_SHIFT; bits 159 drivers/edac/ti_edac.c bits += (val & SDRAM_K2_EBANK_MASK) >> SDRAM_K2_EBANK_SHIFT; bits 165 drivers/edac/ti_edac.c bits += 3; bits 169 drivers/edac/ti_edac.c bits += 2; bits 173 drivers/edac/ti_edac.c bits++; bits 179 drivers/edac/ti_edac.c memsize = 1 << bits; bits 133 drivers/extcon/extcon-axp288.c unsigned long bits; bits 142 drivers/extcon/extcon-axp288.c bits = val & GENMASK(ARRAY_SIZE(axp288_pwr_up_down_info) - 1, 0); bits 143 drivers/extcon/extcon-axp288.c for_each_set_bit(i, &bits, ARRAY_SIZE(axp288_pwr_up_down_info)) bits 145 drivers/extcon/extcon-axp288.c clear_mask = bits; bits 12 drivers/firmware/efi/cper-x86.c #define VALID_PROC_ERR_INFO_NUM(bits) (((bits) & GENMASK_ULL(7, 2)) >> 2) bits 13 drivers/firmware/efi/cper-x86.c #define VALID_PROC_CXT_INFO_NUM(bits) (((bits) & GENMASK_ULL(13, 8)) >> 8) bits 84 drivers/firmware/efi/cper.c void cper_print_bits(const char *pfx, unsigned int bits, bits 92 drivers/firmware/efi/cper.c if (!(bits & (1U << i))) bits 557 drivers/firmware/efi/efi.c add_bootloader_randomness(seed->bits, size); bits 1082 drivers/firmware/efi/efi.c get_random_bytes(seed->bits, seed->size); bits 926 drivers/firmware/efi/libstub/efi-stub-helper.c #define GET_EFI_CONFIG_TABLE(bits) \ bits 927 drivers/firmware/efi/libstub/efi-stub-helper.c static void *get_efi_config_table##bits(efi_system_table_t *_sys_table, \ bits 930 drivers/firmware/efi/libstub/efi-stub-helper.c efi_system_table_##bits##_t *sys_table; \ bits 931 drivers/firmware/efi/libstub/efi-stub-helper.c efi_config_table_##bits##_t *tables; \ bits 165 drivers/firmware/efi/libstub/random.c seed->bits); bits 172 drivers/firmware/efi/libstub/random.c seed->bits); bits 699 drivers/firmware/google/gsmi.c static u64 __init local_hash_64(u64 val, unsigned bits) bits 719 drivers/firmware/google/gsmi.c return hash >> (64 - bits); bits 32 drivers/firmware/pcdp.c if (uart->bits) { bits 38 drivers/firmware/pcdp.c p += sprintf(p, "%c%d", parity, uart->bits); bits 37 drivers/firmware/pcdp.h u8 bits; bits 163 drivers/fpga/socfpga.c u32 offset, u32 bits) bits 168 drivers/fpga/socfpga.c val |= bits; bits 173 drivers/fpga/socfpga.c u32 offset, u32 bits) bits 178 drivers/fpga/socfpga.c val &= ~bits; bits 124 drivers/fsi/fsi-master-ast-cf.c uint8_t bits; bits 130 drivers/fsi/fsi-master-ast-cf.c static void msg_push_bits(struct fsi_msg *msg, uint64_t data, int bits) bits 132 drivers/fsi/fsi-master-ast-cf.c msg->msg <<= bits; bits 133 drivers/fsi/fsi-master-ast-cf.c msg->msg |= data & ((1ull << bits) - 1); bits 134 drivers/fsi/fsi-master-ast-cf.c msg->bits += bits; bits 142 drivers/fsi/fsi-master-ast-cf.c top = msg->bits & 0x3; bits 145 drivers/fsi/fsi-master-ast-cf.c crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); bits 148 drivers/fsi/fsi-master-ast-cf.c crc = crc4(crc, msg->msg, msg->bits - top); bits 156 drivers/fsi/fsi-master-ast-cf.c cmd->msg <<= (64 - cmd->bits); bits 218 drivers/fsi/fsi-master-ast-cf.c cmd->bits = 0; bits 276 drivers/fsi/fsi-master-ast-cf.c cmd->bits = 0; bits 287 drivers/fsi/fsi-master-ast-cf.c cmd->bits = 0; bits 298 drivers/fsi/fsi-master-ast-cf.c cmd->bits = 0; bits 370 drivers/fsi/fsi-master-ast-cf.c op |= cmd->bits << CMD_REG_CLEN_SHIFT; bits 46 drivers/fsi/fsi-master-gpio.c uint8_t bits; bits 124 drivers/fsi/fsi-master-gpio.c msg->bits += num_bits; bits 134 drivers/fsi/fsi-master-gpio.c uint64_t sda_mask = 0x1ULL << (cmd->bits - 1); bits 138 drivers/fsi/fsi-master-gpio.c trace_fsi_master_gpio_out(master, cmd->bits, cmd->msg); bits 140 drivers/fsi/fsi-master-gpio.c if (!cmd->bits) { bits 151 drivers/fsi/fsi-master-gpio.c for (bit = 0; bit < cmd->bits; bit++) { bits 152 drivers/fsi/fsi-master-gpio.c next_bit = (msg & sda_mask) >> (cmd->bits - 1); bits 162 drivers/fsi/fsi-master-gpio.c static void msg_push_bits(struct fsi_gpio_msg *msg, uint64_t data, int bits) bits 164 drivers/fsi/fsi-master-gpio.c msg->msg <<= bits; bits 165 drivers/fsi/fsi-master-gpio.c msg->msg |= data & ((1ull << bits) - 1); bits 166 drivers/fsi/fsi-master-gpio.c msg->bits += bits; bits 174 drivers/fsi/fsi-master-gpio.c top = msg->bits & 0x3; bits 177 drivers/fsi/fsi-master-gpio.c crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); bits 180 drivers/fsi/fsi-master-gpio.c crc = crc4(crc, msg->msg, msg->bits - top); bits 243 drivers/fsi/fsi-master-gpio.c cmd->bits = 0; bits 300 drivers/fsi/fsi-master-gpio.c cmd->bits = 0; bits 310 drivers/fsi/fsi-master-gpio.c cmd->bits = 0; bits 320 drivers/fsi/fsi-master-gpio.c cmd->bits = 0; bits 347 drivers/fsi/fsi-master-gpio.c msg.bits = 0; bits 360 drivers/fsi/fsi-master-gpio.c msg.bits = 0; bits 379 drivers/fsi/fsi-master-gpio.c crc = crc4(crc, msg.msg, msg.bits); bits 382 drivers/fsi/fsi-master-gpio.c if (((~msg.msg) & ((1ull << msg.bits) - 1)) == 0) bits 385 drivers/fsi/fsi-master-gpio.c msg.msg, msg.bits); bits 179 drivers/gpio/gpio-104-dio-48e.c unsigned long *bits) bits 193 drivers/gpio/gpio-104-dio-48e.c bitmap_zero(bits, chip->ngpio); bits 217 drivers/gpio/gpio-104-dio-48e.c bits[word_index] |= (port_state << word_offset) & word_mask; bits 244 drivers/gpio/gpio-104-dio-48e.c unsigned long *mask, unsigned long *bits) bits 264 drivers/gpio/gpio-104-dio-48e.c bitmask = mask[BIT_WORD(i)] & bits[BIT_WORD(i)]; bits 277 drivers/gpio/gpio-104-dio-48e.c bits[BIT_WORD(i)] >>= gpio_reg_size; bits 85 drivers/gpio/gpio-104-idi-48.c unsigned long *bits) bits 99 drivers/gpio/gpio-104-idi-48.c bitmap_zero(bits, chip->ngpio); bits 123 drivers/gpio/gpio-104-idi-48.c bits[word_index] |= (port_state << word_offset) & word_mask; bits 86 drivers/gpio/gpio-104-idio-16.c unsigned long *mask, unsigned long *bits) bits 90 drivers/gpio/gpio-104-idio-16.c *bits = 0; bits 92 drivers/gpio/gpio-104-idio-16.c *bits |= (unsigned long)inb(idio16gpio->base + 1) << 16; bits 94 drivers/gpio/gpio-104-idio-16.c *bits |= (unsigned long)inb(idio16gpio->base + 5) << 24; bits 124 drivers/gpio/gpio-104-idio-16.c unsigned long *mask, unsigned long *bits) bits 132 drivers/gpio/gpio-104-idio-16.c idio16gpio->out_state |= *mask & *bits; bits 72 drivers/gpio/gpio-74x164.c unsigned long *bits) bits 88 drivers/gpio/gpio-74x164.c chip->buffer[bank] |= bankmask & (bits[idx] >> shift); bits 55 drivers/gpio/gpio-ath79.c struct ath79_gpio_ctrl *ctrl, unsigned reg, u32 mask, u32 bits) bits 60 drivers/gpio/gpio-ath79.c new_val = (old_val & ~mask) | (bits & mask); bits 168 drivers/gpio/gpio-gpio-mm.c unsigned long *bits) bits 182 drivers/gpio/gpio-gpio-mm.c bitmap_zero(bits, chip->ngpio); bits 206 drivers/gpio/gpio-gpio-mm.c bits[word_index] |= (port_state << word_offset) & word_mask; bits 234 drivers/gpio/gpio-gpio-mm.c unsigned long *mask, unsigned long *bits) bits 254 drivers/gpio/gpio-gpio-mm.c bitmask = mask[BIT_WORD(i)] & bits[BIT_WORD(i)]; bits 267 drivers/gpio/gpio-gpio-mm.c bits[BIT_WORD(i)] >>= gpio_reg_size; bits 115 drivers/gpio/gpio-max3191x.c unsigned long *bits) bits 232 drivers/gpio/gpio-max3191x.c unsigned long *bits) bits 254 drivers/gpio/gpio-max3191x.c bits[index] &= ~(mask[index] & (0xff << shift)); bits 255 drivers/gpio/gpio-max3191x.c bits[index] |= mask[index] & (in << shift); /* copy bits */ bits 241 drivers/gpio/gpio-max732x.c unsigned long *mask, unsigned long *bits) bits 247 drivers/gpio/gpio-max732x.c max732x_gpio_set_mask(gc, 0, mask_lo, bits[0] & 0xff); bits 249 drivers/gpio/gpio-max732x.c max732x_gpio_set_mask(gc, 8, mask_hi, (bits[0] >> 8) & 0xff); bits 148 drivers/gpio/gpio-mmio.c unsigned long *bits) bits 154 drivers/gpio/gpio-mmio.c *bits &= ~*mask; bits 160 drivers/gpio/gpio-mmio.c *bits |= gc->read_reg(gc->reg_set) & set_mask; bits 162 drivers/gpio/gpio-mmio.c *bits |= gc->read_reg(gc->reg_dat) & get_mask; bits 176 drivers/gpio/gpio-mmio.c unsigned long *bits) bits 179 drivers/gpio/gpio-mmio.c *bits &= ~*mask; bits 180 drivers/gpio/gpio-mmio.c *bits |= gc->read_reg(gc->reg_dat) & *mask; bits 188 drivers/gpio/gpio-mmio.c unsigned long *bits) bits 195 drivers/gpio/gpio-mmio.c *bits &= ~*mask; bits 211 drivers/gpio/gpio-mmio.c *bits |= bgpio_line2mask(gc, bit); bits 266 drivers/gpio/gpio-mmio.c unsigned long *mask, unsigned long *bits, bits 279 drivers/gpio/gpio-mmio.c if (test_bit(i, bits)) bits 289 drivers/gpio/gpio-mmio.c unsigned long *bits, bits 297 drivers/gpio/gpio-mmio.c bgpio_multiple_get_masks(gc, mask, bits, &set_mask, &clear_mask); bits 308 drivers/gpio/gpio-mmio.c unsigned long *bits) bits 310 drivers/gpio/gpio-mmio.c bgpio_set_multiple_single_reg(gc, mask, bits, gc->reg_dat); bits 314 drivers/gpio/gpio-mmio.c unsigned long *bits) bits 316 drivers/gpio/gpio-mmio.c bgpio_set_multiple_single_reg(gc, mask, bits, gc->reg_set); bits 321 drivers/gpio/gpio-mmio.c unsigned long *bits) bits 325 drivers/gpio/gpio-mmio.c bgpio_multiple_get_masks(gc, mask, bits, &set_mask, &clear_mask); bits 106 drivers/gpio/gpio-mockup.c unsigned long *mask, unsigned long *bits) bits 114 drivers/gpio/gpio-mockup.c __assign_bit(bit, bits, val); bits 138 drivers/gpio/gpio-mockup.c unsigned long *mask, unsigned long *bits) bits 145 drivers/gpio/gpio-mockup.c __gpio_mockup_set(chip, bit, test_bit(bit, bits)); bits 851 drivers/gpio/gpio-omap.c unsigned long *bits) bits 867 drivers/gpio/gpio-omap.c *bits = val; bits 917 drivers/gpio/gpio-omap.c unsigned long *bits) bits 925 drivers/gpio/gpio-omap.c l = (readl_relaxed(reg) & ~*mask) | (*bits & *mask); bits 456 drivers/gpio/gpio-pca953x.c unsigned long *mask, unsigned long *bits) bits 473 drivers/gpio/gpio-pca953x.c bank_val = bits[bank / sizeof(*bits)] >> bits 474 drivers/gpio/gpio-pca953x.c ((bank % sizeof(*bits)) * 8); bits 100 drivers/gpio/gpio-pci-idio-16.c unsigned long *mask, unsigned long *bits) bits 117 drivers/gpio/gpio-pci-idio-16.c bitmap_zero(bits, chip->ngpio); bits 141 drivers/gpio/gpio-pci-idio-16.c bits[word_index] |= (port_state << word_offset) & word_mask; bits 178 drivers/gpio/gpio-pci-idio-16.c unsigned long *mask, unsigned long *bits) bits 189 drivers/gpio/gpio-pci-idio-16.c out_state |= *mask & *bits; bits 198 drivers/gpio/gpio-pci-idio-16.c *bits >>= 8; bits 200 drivers/gpio/gpio-pci-idio-16.c out_state |= *mask & *bits; bits 198 drivers/gpio/gpio-pcie-idio-24.c unsigned long *mask, unsigned long *bits) bits 217 drivers/gpio/gpio-pcie-idio-24.c bitmap_zero(bits, chip->ngpio); bits 246 drivers/gpio/gpio-pcie-idio-24.c bits[word_index] |= (port_state << word_offset) & word_mask; bits 294 drivers/gpio/gpio-pcie-idio-24.c unsigned long *mask, unsigned long *bits) bits 313 drivers/gpio/gpio-pcie-idio-24.c const unsigned long ttl_bits = (bits[ttl_i] >> word_offset) & ttl_mask; bits 331 drivers/gpio/gpio-pcie-idio-24.c out_state |= (*bits >> bits_offset) & gpio_mask; bits 96 drivers/gpio/gpio-pisosr.c unsigned long *mask, unsigned long *bits) bits 104 drivers/gpio/gpio-pisosr.c bitmap_zero(bits, chip->ngpio); bits 107 drivers/gpio/gpio-pisosr.c bits[j] |= ((unsigned long) gpio->buffer[i]) bits 314 drivers/gpio/gpio-rcar.c unsigned long *bits) bits 330 drivers/gpio/gpio-rcar.c val |= (bankmask & bits[0]); bits 87 drivers/gpio/gpio-reg.c unsigned long *bits) bits 93 drivers/gpio/gpio-reg.c r->out = (r->out & ~*mask) | (*bits & *mask); bits 99 drivers/gpio/gpio-tb10x.c const unsigned long bits = r & m; bits 102 drivers/gpio/gpio-tb10x.c for_each_set_bit(i, &bits, 32) bits 272 drivers/gpio/gpio-thunderx.c unsigned long *bits) bits 279 drivers/gpio/gpio-thunderx.c set_bits = bits[bank] & mask[bank]; bits 280 drivers/gpio/gpio-thunderx.c clear_bits = ~bits[bank] & mask[bank]; bits 60 drivers/gpio/gpio-tpic2810.c static void tpic2810_set_mask_bits(struct gpio_chip *chip, u8 mask, u8 bits) bits 69 drivers/gpio/gpio-tpic2810.c buffer |= (mask & bits); bits 85 drivers/gpio/gpio-tpic2810.c unsigned long *bits) bits 87 drivers/gpio/gpio-tpic2810.c tpic2810_set_mask_bits(chip, *mask, *bits); bits 148 drivers/gpio/gpio-uniphier.c unsigned long *mask, unsigned long *bits) bits 158 drivers/gpio/gpio-uniphier.c bank_bits = bits[BIT_WORD(i)] >> shift; bits 126 drivers/gpio/gpio-ws16c48.c unsigned long *mask, unsigned long *bits) bits 140 drivers/gpio/gpio-ws16c48.c bitmap_zero(bits, chip->ngpio); bits 164 drivers/gpio/gpio-ws16c48.c bits[word_index] |= (port_state << word_offset) & word_mask; bits 195 drivers/gpio/gpio-ws16c48.c unsigned long *mask, unsigned long *bits) bits 217 drivers/gpio/gpio-ws16c48.c bitmask = iomask & bits[BIT_WORD(i)]; bits 230 drivers/gpio/gpio-ws16c48.c bits[BIT_WORD(i)] >>= gpio_reg_size; bits 137 drivers/gpio/gpio-xilinx.c unsigned long *bits) bits 161 drivers/gpio/gpio-xilinx.c if (test_bit(i, bits)) bits 971 drivers/gpio/gpiolib-acpi.c u32 bits, u64 *value, void *handler_context, bits 1001 drivers/gpio/gpiolib-acpi.c length = min(agpio->pin_table_length, (u16)(pin_index + bits)); bits 3279 drivers/gpio/gpiolib.c unsigned long *mask, unsigned long *bits) bits 3282 drivers/gpio/gpiolib.c return chip->get_multiple(chip, mask, bits); bits 3290 drivers/gpio/gpiolib.c __assign_bit(i, bits, value); bits 3337 drivers/gpio/gpiolib.c unsigned long *mask, *bits; bits 3350 drivers/gpio/gpiolib.c bits = mask + BITS_TO_LONGS(chip->ngpio); bits 3371 drivers/gpio/gpiolib.c ret = gpio_chip_get_multiple(chip, mask, bits); bits 3381 drivers/gpio/gpiolib.c int value = test_bit(hwgpio, bits); bits 3570 drivers/gpio/gpiolib.c unsigned long *mask, unsigned long *bits) bits 3573 drivers/gpio/gpiolib.c chip->set_multiple(chip, mask, bits); bits 3579 drivers/gpio/gpiolib.c chip->set(chip, i, test_bit(i, bits)); bits 3620 drivers/gpio/gpiolib.c unsigned long *mask, *bits; bits 3633 drivers/gpio/gpiolib.c bits = mask + BITS_TO_LONGS(chip->ngpio); bits 3665 drivers/gpio/gpiolib.c __set_bit(hwgpio, bits); bits 3667 drivers/gpio/gpiolib.c __clear_bit(hwgpio, bits); bits 3679 drivers/gpio/gpiolib.c gpio_chip_set_multiple(chip, mask, bits); bits 83 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c } bitfields, bits; bits 60 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c int amdgpu_pasid_alloc(unsigned int bits) bits 64 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c for (bits = min(bits, 31U); bits > 0; bits--) { bits 66 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c 1U << (bits - 1), 1U << bits, bits 73 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h int amdgpu_pasid_alloc(unsigned int bits); bits 2544 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c unsigned bits = ilog2(vm_size) + 18; bits 2549 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c return (bits - 9); bits 2551 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c return ((bits + 3) / 2); bits 63 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c u32 tmp, reg, bits[AMDGPU_MAX_VMHUBS], i; bits 65 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c bits[AMDGPU_GFXHUB_0] = GCVM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | bits 73 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c bits[AMDGPU_MMHUB_0] = MMVM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | bits 88 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp &= ~bits[AMDGPU_MMHUB_0]; bits 97 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp &= ~bits[AMDGPU_GFXHUB_0]; bits 107 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp |= bits[AMDGPU_MMHUB_0]; bits 116 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp |= bits[AMDGPU_GFXHUB_0]; bits 1062 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c u32 bits = (VM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | bits 1072 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp &= ~bits; bits 1075 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp &= ~bits; bits 1080 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp |= bits; bits 1083 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp |= bits; bits 1208 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 bits = (VM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | bits 1219 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp &= ~bits; bits 1223 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp &= ~bits; bits 1229 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp |= bits; bits 1233 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp |= bits; bits 1379 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 bits = (VM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | bits 1391 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp &= ~bits; bits 1395 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp &= ~bits; bits 1401 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp |= bits; bits 1405 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp |= bits; bits 206 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c u32 bits, i, tmp, reg; bits 208 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c bits = 0x7f; bits 215 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp &= ~bits; bits 221 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp &= ~bits; bits 229 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp |= bits; bits 235 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp |= bits; bits 290 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c u32 tmp, reg, bits, i, j; bits 292 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c bits = VM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | bits 307 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp &= ~bits; bits 318 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp |= bits; bits 506 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.check_vmid = 1; bits 507 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.simd_id = pMsg->ui32.SIMD; bits 508 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.wave_id = pMsg->ui32.WaveId; bits 509 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.mode = SQ_IND_CMD_MODE_SINGLE; bits 511 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_gfx_index.bits.sh_index = pMsg->ui32.ShaderArray; bits 512 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_gfx_index.bits.se_index = pMsg->ui32.ShaderEngine; bits 513 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_gfx_index.bits.instance_index = pMsg->ui32.HSACU; bits 520 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_gfx_index.bits.sh_broadcast_writes = 1; bits 521 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_gfx_index.bits.se_broadcast_writes = 1; bits 522 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_gfx_index.bits.instance_broadcast_writes = 1; bits 524 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.mode = SQ_IND_CMD_MODE_BROADCAST; bits 531 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.check_vmid = 1; bits 532 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.mode = SQ_IND_CMD_MODE_BROADCAST; bits 534 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_gfx_index.bits.sh_index = pMsg->ui32.ShaderArray; bits 535 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_gfx_index.bits.se_index = pMsg->ui32.ShaderEngine; bits 536 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_gfx_index.bits.instance_index = pMsg->ui32.HSACU; bits 546 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.cmd = SQ_IND_CMD_CMD_HALT; bits 550 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.cmd = SQ_IND_CMD_CMD_RESUME; bits 554 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.cmd = SQ_IND_CMD_CMD_KILL; bits 558 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.cmd = SQ_IND_CMD_CMD_DEBUG; bits 563 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.cmd = SQ_IND_CMD_CMD_TRAP; bits 564 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.trap_id = wac_info->trapId; bits 605 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.vm_id = 0; bits 670 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_gfx_index.bits.sh_broadcast_writes = 1; bits 671 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_gfx_index.bits.instance_broadcast_writes = 1; bits 672 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_gfx_index.bits.se_broadcast_writes = 1; bits 723 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.vm_id = pdd->qpd.vmid; bits 812 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c reg_sq_cmd.bits.vm_id = vmid; bits 94 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.h } bitfields, bits; bits 103 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.h } bitfields, bits; bits 123 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.h } bitfields, bits; bits 132 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.h } bitfields, bits; bits 147 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.h } bitfields, bits; bits 158 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.h } bitfields, bits; bits 168 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.h } bitfields, bits; bits 203 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.h } bitfields, bits; bits 151 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_process *p, uint32_t id, uint32_t bits) bits 161 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (bits > 31 || (1U << bits) >= KFD_SIGNAL_EVENT_LIMIT) { bits 171 drivers/gpu/drm/amd/amdkfd/kfd_events.c for (ev = NULL; id < KFD_SIGNAL_EVENT_LIMIT && !ev; id += 1U << bits) { bits 7063 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dm_new_plane_state->dc_state->update_flags.bits.full_update = 1; bits 621 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c if (!test_request.bits.EDID_READ) bits 624 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c test_response.bits.EDID_CHECKSUM_WRITE = 1; bits 1209 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe->plane_state->update_flags.bits.full_update = 1; bits 1381 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.color_space_change = 1; bits 1386 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.horizontal_mirror_change = 1; bits 1391 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.rotation_change = 1; bits 1396 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.pixel_format_change = 1; bits 1401 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.stereo_format_change = 1; bits 1406 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.per_pixel_alpha_change = 1; bits 1411 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.global_alpha_change = 1; bits 1416 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.sdr_white_level = 1; bits 1423 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.dcc_change = 1; bits 1432 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.bpp_change = 1; bits 1439 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.plane_size_change = 1; bits 1446 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.swizzle_change = 1; bits 1456 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.bandwidth_change = 1; bits 1477 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.scaling_change = 1; bits 1484 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.bandwidth_change = 1; bits 1490 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.scaling_change = 1; bits 1494 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.clock_change = 1; bits 1503 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.position_change = 1; bits 1505 drivers/gpu/drm/amd/display/dc/core/dc.c if (update_flags->bits.clock_change bits 1506 drivers/gpu/drm/amd/display/dc/core/dc.c || update_flags->bits.bandwidth_change) bits 1509 drivers/gpu/drm/amd/display/dc/core/dc.c if (update_flags->bits.scaling_change bits 1510 drivers/gpu/drm/amd/display/dc/core/dc.c || update_flags->bits.position_change) bits 1527 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.addr_update = 1; bits 1530 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.new_plane = 1; bits 1535 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.full_update = 1; bits 1546 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.addr_update = 1; bits 1549 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.in_transfer_func_change = 1; bits 1552 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.input_csc_change = 1; bits 1555 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.coeff_reduction_change = 1; bits 1566 drivers/gpu/drm/amd/display/dc/core/dc.c update_flags->bits.gamma_change = 1; bits 1569 drivers/gpu/drm/amd/display/dc/core/dc.c if (update_flags->bits.in_transfer_func_change) { bits 1574 drivers/gpu/drm/amd/display/dc/core/dc.c if (update_flags->bits.input_csc_change bits 1575 drivers/gpu/drm/amd/display/dc/core/dc.c || update_flags->bits.coeff_reduction_change bits 1576 drivers/gpu/drm/amd/display/dc/core/dc.c || update_flags->bits.gamma_change) { bits 2161 drivers/gpu/drm/amd/display/dc/core/dc.c !pipe_ctx->plane_state->update_flags.bits.addr_update) bits 546 drivers/gpu/drm/amd/display/dc/core/dc_link.c link->cur_link_settings.lane_count = lane_count_set.bits.LANE_COUNT_SET; bits 578 drivers/gpu/drm/amd/display/dc/core/dc_link.c max_down_spread.bits.MAX_DOWN_SPREAD ? bits 651 drivers/gpu/drm/amd/display/dc/core/dc_link.c if (!link->dpcd_caps.sink_count.bits.SINK_COUNT) { bits 822 drivers/gpu/drm/amd/display/dc/core/dc_link.c if (link->link_enc->features.flags.bits.DP_IS_USB_C == 1) { bits 847 drivers/gpu/drm/amd/display/dc/core/dc_link.c link->dpcd_caps.sink_count.bits.SINK_COUNT == 0) { bits 885 drivers/gpu/drm/amd/display/dc/core/dc_link.c if (link->dpcd_caps.sink_count.bits.SINK_COUNT) bits 887 drivers/gpu/drm/amd/display/dc/core/dc_link.c bits.SINK_COUNT; bits 1441 drivers/gpu/drm/amd/display/dc/core/dc_link.c new_downspread.bits.IGNORE_MSA_TIMING_PARAM = bits 2696 drivers/gpu/drm/amd/display/dc/core/dc_link.c stream->link->dpcd_caps.dprx_feature.bits.SST_SPLIT_SDP_CAP); bits 3102 drivers/gpu/drm/amd/display/dc/core/dc_link.c if (link->dpcd_caps.fec_cap.bits.FEC_CAPABLE) { bits 70 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (training_rd_interval.bits.TRAINIG_AUX_RD_INTERVAL) bits 71 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c default_wait_in_micro_secs = training_rd_interval.bits.TRAINIG_AUX_RD_INTERVAL * 4000; bits 110 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (features->flags.bits.IS_TPS3_CAPABLE) bits 113 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (features->flags.bits.IS_TPS4_CAPABLE) bits 116 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (dpcd_caps->max_down_spread.bits.TPS4_SUPPORTED && bits 120 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (dpcd_caps->max_ln_count.bits.TPS3_SUPPORTED && bits 140 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c lane_count_set.bits.LANE_COUNT_SET = bits 143 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c lane_count_set.bits.ENHANCED_FRAMING = lt_settings->enhanced_framing; bits 144 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c lane_count_set.bits.POST_LT_ADJ_REQ_GRANTED = 0; bits 149 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c lane_count_set.bits.POST_LT_ADJ_REQ_GRANTED = bits 150 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c link->dpcd_caps.max_ln_count.bits.POST_LT_ADJ_REQ_SUPPORTED; bits 258 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[lane].bits.VOLTAGE_SWING_SET = bits 260 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[lane].bits.PRE_EMPHASIS_SET = bits 263 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[lane].bits.MAX_SWING_REACHED = bits 266 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[lane].bits.MAX_PRE_EMPHASIS_REACHED = bits 284 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[0].bits.VOLTAGE_SWING_SET, bits 285 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[0].bits.PRE_EMPHASIS_SET, bits 286 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[0].bits.MAX_SWING_REACHED, bits 287 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[0].bits.MAX_PRE_EMPHASIS_REACHED); bits 323 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (!dpcd_lane_status[lane].bits.CR_DONE_0) bits 336 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (!lane_status_updated->bits.INTERLANE_ALIGN_DONE) bits 340 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (!dpcd_lane_status[lane].bits.SYMBOL_LOCKED_0 || bits 341 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c !dpcd_lane_status[lane].bits.CHANNEL_EQ_DONE_0) bits 550 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c (enum dc_voltage_swing)(dpcd_lane_adjust[lane].bits. bits 553 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c (enum dc_pre_emphasis)(dpcd_lane_adjust[lane].bits. bits 583 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[lane].bits.VOLTAGE_SWING_SET = bits 586 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[lane].bits.PRE_EMPHASIS_SET = bits 589 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[lane].bits.MAX_SWING_REACHED = bits 593 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[lane].bits.MAX_PRE_EMPHASIS_REACHED = bits 626 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[0].bits.VOLTAGE_SWING_SET, bits 627 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[0].bits.PRE_EMPHASIS_SET, bits 628 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[0].bits.MAX_SWING_REACHED, bits 629 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c dpcd_lane[0].bits.MAX_PRE_EMPHASIS_REACHED); bits 695 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (dpcd_lane_status_updated.bits. bits 755 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (ln_count >= LANE_COUNT_ONE && !dpcd_lane_status[0].bits.CR_DONE_0) bits 757 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c else if (ln_count >= LANE_COUNT_TWO && !dpcd_lane_status[1].bits.CR_DONE_0) bits 759 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c else if (ln_count >= LANE_COUNT_FOUR && !dpcd_lane_status[2].bits.CR_DONE_0) bits 761 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c else if (ln_count >= LANE_COUNT_FOUR && !dpcd_lane_status[3].bits.CR_DONE_0) bits 944 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (link->dpcd_caps.max_ln_count.bits.POST_LT_ADJ_REQ_SUPPORTED != 1 || bits 952 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c lane_count_set.bits.LANE_COUNT_SET = lt_settings->link_settings.lane_count; bits 953 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c lane_count_set.bits.ENHANCED_FRAMING = lt_settings->enhanced_framing; bits 954 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c lane_count_set.bits.POST_LT_ADJ_REQ_GRANTED = 0; bits 1406 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (link->link_enc->features.flags.bits.IS_HBR2_CAPABLE) bits 1409 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (link->link_enc->features.flags.bits.IS_HBR3_CAPABLE) bits 1500 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (!lane_status.bits.CHANNEL_EQ_DONE_0 || bits 1501 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c !lane_status.bits.CR_DONE_0 || bits 1502 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c !lane_status.bits.SYMBOL_LOCKED_0) { bits 1515 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c !hpd_irq_dpcd_data->bytes.lane_status_updated.bits.INTERLANE_ALIGN_DONE) { bits 2075 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (psr_configuration.bits.ENABLE) { bits 2092 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (psr_error_status.bits.LINK_CRC_ERROR || bits 2093 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c psr_error_status.bits.RFB_STORAGE_ERROR) { bits 2107 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c } else if (psr_sink_psr_status.bits.SINK_SELF_REFRESH_STATUS == bits 2190 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c switch (dpcd_test_pattern.bits.PATTERN) { bits 2240 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c (dpcd_lane_adjust.bits.VOLTAGE_SWING_LANE); bits 2243 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c (dpcd_lane_adjust.bits.PRE_EMPHASIS_LANE); bits 2291 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c switch (dpcd_test_pattern.bits.PATTERN) { bits 2299 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c test_pattern = (dpcd_test_params.bits.DYN_RANGE == bits 2330 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (test_request.bits.LINK_TRAINING) { bits 2332 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c test_response.bits.ACK = 1; bits 2340 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c test_response.bits.ACK = 0; bits 2342 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (test_request.bits.LINK_TEST_PATTRN) { bits 2344 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c test_response.bits.ACK = 1; bits 2346 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (test_request.bits.PHY_TEST_PATTERN) { bits 2348 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c test_response.bits.ACK = 1; bits 2352 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (test_response.bits.ACK) bits 2393 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (hpd_irq_dpcd_data.bytes.device_service_irq.bits.AUTOMATED_TEST) { bits 2394 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c device_service_clear.bits.AUTOMATED_TEST = 1; bits 2419 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (hpd_irq_dpcd_data.bytes.device_service_irq.bits.UP_REQ_MSG_RDY) bits 2423 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (hpd_irq_dpcd_data.bytes.device_service_irq.bits.DOWN_REP_MSG_RDY) bits 2449 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c hpd_irq_dpcd_data.bytes.sink_cnt.bits.SINK_COUNT bits 2490 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (st == DC_OK && cap.bits.MST_CAP == 1) bits 2589 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c switch (port_caps->bits.DWN_STRM_PORTX_TYPE) { bits 2619 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c hdmi_caps.bits.FRAME_SEQ_TO_FRAME_PACK; bits 2621 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (port_caps->bits.DWN_STRM_PORTX_TYPE bits 2624 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c hdmi_caps.bits.YCrCr422_PASS_THROUGH; bits 2626 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c hdmi_caps.bits.YCrCr420_PASS_THROUGH; bits 2628 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c hdmi_caps.bits.YCrCr422_CONVERSION; bits 2630 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c hdmi_caps.bits.YCrCr420_CONVERSION; bits 2635 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c hdmi_color_caps.bits.MAX_BITS_PER_COLOR_COMPONENT); bits 2765 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c aux_rd_interval.bits.EXT_RECEIVER_CAP_FIELD_PRESENT == 1 ? true:false; bits 2767 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (aux_rd_interval.bits.EXT_RECEIVER_CAP_FIELD_PRESENT == 1) { bits 2834 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c down_strm_port_count.bits.IGNORE_MSA_TIMING_PARAM; bits 2843 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c link->dpcd_caps.max_ln_count.bits.MAX_LANE_COUNT; bits 2847 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c link->dpcd_caps.max_down_spread.bits.MAX_DOWN_SPREAD ? bits 2853 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c edp_config_cap.bits.ALT_SCRAMBLER_RESET; bits 2855 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c edp_config_cap.bits.DPCD_DISPLAY_CONTROL_CAPABLE; bits 3379 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (edp_config_set.bits.PANEL_MODE_EDP bits 3383 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c edp_config_set.bits.PANEL_MODE_EDP = bits 3468 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c link->dpcd_caps.fec_cap.bits.FEC_CAPABLE) { bits 3504 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c link->dpcd_caps.fec_cap.bits.FEC_CAPABLE) { bits 2145 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.header.info_frame_type = HDMI_INFOFRAME_TYPE_AVI; bits 2148 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.header.version = 2; bits 2149 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.header.length = HDMI_AVI_INFOFRAME_SIZE; bits 2175 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.Y0_Y1_Y2 = pixel_encoding; bits 2178 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.A0 = ACTIVE_FORMAT_VALID; bits 2181 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.B0_B1 = BAR_INFO_BOTH_VALID; bits 2183 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.SC0_SC1 = PICTURE_SCALING_UNIFORM; bits 2188 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.S0_S1 = scan_type; bits 2193 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.C0_C1 = COLORIMETRY_ITU709; bits 2196 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.C0_C1 = COLORIMETRY_ITU601; bits 2198 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.C0_C1 = COLORIMETRY_NO_DATA; bits 2203 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.EC0_EC2 = COLORIMETRYEX_BT2020RGBYCBCR; bits 2204 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.C0_C1 = COLORIMETRY_EXTENDED; bits 2206 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.EC0_EC2 = COLORIMETRYEX_ADOBERGB; bits 2207 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.C0_C1 = COLORIMETRY_EXTENDED; bits 2216 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.M0_M1 = aspect; bits 2223 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.M0_M1 = 0; bits 2227 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.R0_R3 = ACTIVE_FORMAT_ASPECT_RATIO_SAME_AS_PICTURE; bits 2240 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (!support.bits.valid_content_type) { bits 2244 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (support.bits.graphics_content == 1) { bits 2248 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (support.bits.photo_content == 1) { bits 2255 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (support.bits.cinema_content == 1) { bits 2262 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (support.bits.game_content == 1) { bits 2270 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.CN0_CN1 = cn0_cn1_value; bits 2271 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.ITC = itc_value; bits 2280 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.Q0_Q1 = RGB_QUANTIZATION_FULL_RANGE; bits 2281 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.YQ0_YQ1 = YYC_QUANTIZATION_FULL_RANGE; bits 2284 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.Q0_Q1 = RGB_QUANTIZATION_LIMITED_RANGE; bits 2285 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.YQ0_YQ1 = YYC_QUANTIZATION_LIMITED_RANGE; bits 2287 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.Q0_Q1 = RGB_QUANTIZATION_DEFAULT_RANGE; bits 2288 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.YQ0_YQ1 = YYC_QUANTIZATION_LIMITED_RANGE; bits 2291 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.Q0_Q1 = RGB_QUANTIZATION_DEFAULT_RANGE; bits 2292 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.YQ0_YQ1 = YYC_QUANTIZATION_LIMITED_RANGE; bits 2318 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.VIC0_VIC7 = vic; bits 2320 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.header.version = 3; bits 2324 drivers/gpu/drm/amd/display/dc/core/dc_resource.c if (hdmi_info.bits.C0_C1 == COLORIMETRY_EXTENDED && bits 2325 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.EC0_EC2 == COLORIMETRYEX_RESERVED) { bits 2326 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.header.version = 4; bits 2327 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.header.length = 14; bits 2333 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.PR0_PR3 = 0; bits 2340 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.bar_top = stream->timing.v_border_top; bits 2341 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.bar_bottom = (stream->timing.v_total bits 2343 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.bar_left = stream->timing.h_border_left; bits 2344 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.bar_right = (stream->timing.h_total bits 2352 drivers/gpu/drm/amd/display/dc/core/dc_resource.c hdmi_info.bits.ACE0_ACE3 = 0; bits 2357 drivers/gpu/drm/amd/display/dc/core/dc_resource.c *check_sum = HDMI_INFOFRAME_TYPE_AVI + hdmi_info.bits.header.length + hdmi_info.bits.header.version; bits 2359 drivers/gpu/drm/amd/display/dc/core/dc_resource.c for (byte_index = 1; byte_index <= hdmi_info.bits.header.length; byte_index++) bits 651 drivers/gpu/drm/amd/display/dc/dc.h } bits; bits 707 drivers/gpu/drm/amd/display/dc/dc.h } bits; bits 129 drivers/gpu/drm/amd/display/dc/dc_ddc_types.h } bits; bits 141 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 151 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 161 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 169 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 179 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 193 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 207 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 216 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 227 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 236 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 265 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 275 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 293 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 314 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 326 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 354 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 364 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 396 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 413 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 423 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 445 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 459 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 467 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 481 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 491 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 503 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 512 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 521 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 535 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 548 drivers/gpu/drm/amd/display/dc/dc_dp_types.h } bits; bits 521 drivers/gpu/drm/amd/display/dc/dc_hw_types.h } bits; bits 198 drivers/gpu/drm/amd/display/dc/dc_types.h } bits; bits 617 drivers/gpu/drm/amd/display/dc/dc_types.h } bits; bits 754 drivers/gpu/drm/amd/display/dc/dc_types.h } bits; bits 764 drivers/gpu/drm/amd/display/dc/dc_types.h } bits; bits 776 drivers/gpu/drm/amd/display/dc/dc_types.h } bits; bits 787 drivers/gpu/drm/amd/display/dc/dc_types.h } bits; bits 229 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.timehyst_frames = psr_context->timehyst_frames; bits 230 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.hyst_lines = psr_context->hyst_lines; bits 231 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.rfb_update_auto_en = bits 233 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.dp_port_num = psr_context->transmitterId; bits 234 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.dcp_sel = psr_context->controllerId; bits 235 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.phy_type = psr_context->phyType; bits 236 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.frame_cap_ind = bits 238 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.aux_chan = psr_context->channel; bits 239 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.aux_repeat = psr_context->aux_repeats; bits 244 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData2.bits.dig_fe = psr_context->engineId; bits 245 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData2.bits.dig_be = psr_context->transmitterId; bits 246 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData2.bits.skip_wait_for_pll_lock = bits 248 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData2.bits.frame_delay = psr_context->frame_delay; bits 249 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData2.bits.smu_phy_id = psr_context->smuPhyId; bits 250 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData2.bits.num_of_controllers = bits 256 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData3.bits.psr_level = psr_context->psr_level.u32all; bits 303 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.wait_loop = wait_loop_number; bits 641 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.timehyst_frames = psr_context->timehyst_frames; bits 642 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.hyst_lines = psr_context->hyst_lines; bits 643 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.rfb_update_auto_en = bits 645 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.dp_port_num = psr_context->transmitterId; bits 646 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.dcp_sel = psr_context->controllerId; bits 647 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.phy_type = psr_context->phyType; bits 648 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.frame_cap_ind = bits 650 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.aux_chan = psr_context->channel; bits 651 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.aux_repeat = psr_context->aux_repeats; bits 652 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.allow_smu_optimizations = psr_context->allow_smu_optimizations; bits 657 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData2.bits.dig_fe = psr_context->engineId; bits 658 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData2.bits.dig_be = psr_context->transmitterId; bits 659 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData2.bits.skip_wait_for_pll_lock = bits 661 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData2.bits.frame_delay = psr_context->frame_delay; bits 662 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData2.bits.smu_phy_id = psr_context->smuPhyId; bits 663 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData2.bits.num_of_controllers = bits 669 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData3.bits.psr_level = psr_context->psr_level.u32all; bits 703 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c masterCmdData1.bits.wait_loop = wait_loop_number; bits 212 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h } bits; bits 228 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h } bits; bits 240 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h } bits; bits 248 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.h } bits; bits 100 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c CURSOR_2X_MAGNIFY, attributes->attribute_flags.bits.ENABLE_MAGNIFICATION, bits 101 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c CUR_INV_TRANS_CLAMP, attributes->attribute_flags.bits.INVERSE_TRANSPARENT_CLAMPING); bits 655 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c if (!enc110->base.features.flags.bits.HDMI_6GB_EN && bits 760 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110->base.features.flags.bits.HDMI_6GB_EN = 1; bits 767 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110->base.features.flags.bits.IS_HBR2_CAPABLE = bits 769 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110->base.features.flags.bits.IS_HBR3_CAPABLE = bits 771 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110->base.features.flags.bits.HDMI_6GB_EN = bp_cap_info.HDMI_6GB_EN; bits 778 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c enc110->base.features.flags.bits.HDMI_6GB_EN = 0; bits 1133 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c training_lane_set.bits.VOLTAGE_SWING_SET = bits 1135 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c training_lane_set.bits.PRE_EMPHASIS_SET = bits 1143 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c training_lane_set.bits.POST_CURSOR2_SET = bits 565 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c .flags.bits.IS_HBR2_CAPABLE = true, bits 566 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c .flags.bits.IS_TPS3_CAPABLE = true bits 152 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c if (compressor->options.bits.CLK_GATING_DISABLED == 1) { bits 194 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c if (compressor->options.bits.FBC_SUPPORT && bits 246 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c if (compressor->options.bits.FBC_SUPPORT) { bits 431 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c size.bits.preferred_must_be_framebuffer_pool = 1; bits 432 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c size.bits.min_must_be_framebuffer_pool = 1; bits 498 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c compressor->base.options.bits.FBC_SUPPORT = true; bits 502 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c compressor->base.options.bits.DUMMY_BACKEND = false; bits 510 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c compressor->base.options.bits.CLK_GATING_DISABLED = false; bits 2530 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (pipe_ctx->plane_state->update_flags.bits.full_update || bits 2531 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c pipe_ctx->plane_state->update_flags.bits.in_transfer_func_change || bits 2532 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c pipe_ctx->plane_state->update_flags.bits.gamma_change) bits 2535 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (pipe_ctx->plane_state->update_flags.bits.full_update) bits 611 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c .flags.bits.IS_HBR2_CAPABLE = true, bits 612 drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c .flags.bits.IS_TPS3_CAPABLE = true bits 112 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c if (cp110->base.options.bits.LPT_MC_CONFIG == 1) { bits 329 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c if (compressor->options.bits.CLK_GATING_DISABLED == 1) { bits 372 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c if (compressor->options.bits.FBC_SUPPORT && bits 373 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c (compressor->options.bits.DUMMY_BACKEND == 0) && bits 386 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c if (compressor->options.bits.LPT_SUPPORT && (paths_num < 2) && bits 421 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c if (compressor->options.bits.FBC_SUPPORT && bits 435 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c if (compressor->options.bits.LPT_SUPPORT) bits 500 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c if (compressor->options.bits.LPT_SUPPORT) { bits 667 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c if (!compressor->options.bits.LPT_SUPPORT) bits 797 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c compressor->base.options.bits.FBC_SUPPORT = true; bits 798 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c compressor->base.options.bits.LPT_SUPPORT = true; bits 801 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c compressor->base.options.bits.DUMMY_BACKEND = false; bits 806 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c compressor->base.options.bits.LPT_SUPPORT = false; bits 808 drivers/gpu/drm/amd/display/dc/dce112/dce112_compressor.c compressor->base.options.bits.CLK_GATING_DISABLED = false; bits 567 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c .flags.bits.IS_HBR2_CAPABLE = true, bits 568 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c .flags.bits.IS_HBR3_CAPABLE = true, bits 569 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c .flags.bits.IS_TPS3_CAPABLE = true, bits 570 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c .flags.bits.IS_TPS4_CAPABLE = true bits 647 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c .flags.bits.IS_HBR2_CAPABLE = true, bits 648 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c .flags.bits.IS_HBR3_CAPABLE = true, bits 649 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c .flags.bits.IS_TPS3_CAPABLE = true, bits 650 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c .flags.bits.IS_TPS4_CAPABLE = true, bits 663 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c .flags.bits.IS_HBR2_CAPABLE = true, bits 664 drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c .flags.bits.IS_TPS3_CAPABLE = true bits 2237 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (!pipe_ctx->plane_state->update_flags.bits.full_update) { bits 2294 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (plane_state->update_flags.bits.full_update) { bits 2319 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (plane_state->update_flags.bits.full_update) { bits 2336 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (plane_state->update_flags.bits.full_update || bits 2337 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.bpp_change) bits 2340 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (plane_state->update_flags.bits.full_update || bits 2341 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.per_pixel_alpha_change || bits 2342 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.global_alpha_change) bits 2345 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (plane_state->update_flags.bits.full_update || bits 2346 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.per_pixel_alpha_change || bits 2347 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.global_alpha_change || bits 2348 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.scaling_change || bits 2349 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.position_change) { bits 2353 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (plane_state->update_flags.bits.full_update || bits 2354 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.scaling_change || bits 2355 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.position_change) { bits 2370 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (plane_state->update_flags.bits.full_update) { bits 2381 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (plane_state->update_flags.bits.full_update || bits 2382 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.pixel_format_change || bits 2383 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.horizontal_mirror_change || bits 2384 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.rotation_change || bits 2385 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.swizzle_change || bits 2386 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.dcc_change || bits 2387 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.bpp_change || bits 2388 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.scaling_change || bits 2389 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c plane_state->update_flags.bits.plane_size_change) { bits 2475 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe_ctx->plane_state->update_flags.bits.full_update) bits 2482 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe_ctx->plane_state->update_flags.bits.full_update || bits 2483 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c pipe_ctx->plane_state->update_flags.bits.in_transfer_func_change || bits 2484 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c pipe_ctx->plane_state->update_flags.bits.gamma_change) bits 2493 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (pipe_ctx->plane_state->update_flags.bits.full_update) bits 2571 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c top_pipe_to_program->plane_state->update_flags.bits.full_update; bits 643 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c if (!enc10->base.features.flags.bits.HDMI_6GB_EN && bits 754 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.flags.bits.HDMI_6GB_EN = 1; bits 761 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.flags.bits.IS_HBR2_CAPABLE = bits 763 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.flags.bits.IS_HBR3_CAPABLE = bits 765 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.flags.bits.HDMI_6GB_EN = bp_cap_info.HDMI_6GB_EN; bits 766 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.flags.bits.DP_IS_USB_C = bits 774 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c enc10->base.features.flags.bits.HDMI_6GB_EN = 0; bits 1099 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c training_lane_set.bits.VOLTAGE_SWING_SET = bits 1101 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c training_lane_set.bits.PRE_EMPHASIS_SET = bits 1109 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c training_lane_set.bits.POST_CURSOR2_SET = bits 743 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c .flags.bits.IS_HBR2_CAPABLE = true, bits 744 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c .flags.bits.IS_HBR3_CAPABLE = true, bits 745 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c .flags.bits.IS_TPS3_CAPABLE = true, bits 746 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c .flags.bits.IS_TPS4_CAPABLE = true bits 353 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c if (cursor_attributes->attribute_flags.bits.ENABLE_CURSOR_DEGAMMA) { bits 111 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->slice_caps.bits.NUM_SLICES_1 = 1; bits 112 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->slice_caps.bits.NUM_SLICES_2 = 1; bits 113 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->slice_caps.bits.NUM_SLICES_3 = 1; bits 114 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->slice_caps.bits.NUM_SLICES_4 = 1; bits 119 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->color_formats.bits.RGB = 1; bits 120 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->color_formats.bits.YCBCR_444 = 1; bits 121 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->color_formats.bits.YCBCR_SIMPLE_422 = 0; bits 122 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->color_formats.bits.YCBCR_NATIVE_422 = 0; bits 123 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->color_formats.bits.YCBCR_NATIVE_420 = 1; bits 125 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->color_depth.bits.COLOR_DEPTH_8_BPC = 1; bits 126 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->color_depth.bits.COLOR_DEPTH_10_BPC = 1; bits 127 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->color_depth.bits.COLOR_DEPTH_12_BPC = 1; bits 140 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->slice_caps.bits.NUM_SLICES_1 = 0; bits 141 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_enc_caps->slice_caps.bits.NUM_SLICES_8 = 1; bits 593 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c CURSOR_2X_MAGNIFY, attr->attribute_flags.bits.ENABLE_MAGNIFICATION, bits 732 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c plane_state->lut3d_func->state.bits.initialized == 1) bits 739 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c plane_state->lut3d_func->state.bits.initialized == 1 && bits 1006 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe_ctx->plane_state->update_flags.bits.full_update = bits 1007 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c context->commit_hints.full_update_needed ? 1 : pipe_ctx->plane_state->update_flags.bits.full_update; bits 1009 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe_ctx->plane_state->update_flags.bits.full_update) bits 1016 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe_ctx->plane_state->update_flags.bits.full_update || bits 1017 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe_ctx->plane_state->update_flags.bits.in_transfer_func_change || bits 1018 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c pipe_ctx->plane_state->update_flags.bits.gamma_change) bits 1027 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (pipe_ctx->plane_state->update_flags.bits.full_update) bits 1180 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c top_pipe_to_program->plane_state->update_flags.bits.full_update; bits 1774 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c if (!pipe_ctx->plane_state->update_flags.bits.full_update) { bits 439 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features.flags.bits.HDMI_6GB_EN = 1; bits 446 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features.flags.bits.IS_HBR2_CAPABLE = bits 448 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features.flags.bits.IS_HBR3_CAPABLE = bits 450 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features.flags.bits.HDMI_6GB_EN = bp_cap_info.HDMI_6GB_EN; bits 451 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features.flags.bits.DP_IS_USB_C = bits 459 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c enc10->base.features.flags.bits.HDMI_6GB_EN = 0; bits 1145 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c .flags.bits.IS_HBR2_CAPABLE = true, bits 1146 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c .flags.bits.IS_HBR3_CAPABLE = true, bits 1147 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c .flags.bits.IS_TPS3_CAPABLE = true, bits 1148 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c .flags.bits.IS_TPS4_CAPABLE = true bits 211 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->slice_caps.bits.NUM_SLICES_1 = dsc_sink_caps->slice_caps1.bits.NUM_SLICES_1 && dsc_enc_caps->slice_caps.bits.NUM_SLICES_1; bits 212 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->slice_caps.bits.NUM_SLICES_2 = dsc_sink_caps->slice_caps1.bits.NUM_SLICES_2 && dsc_enc_caps->slice_caps.bits.NUM_SLICES_2; bits 213 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->slice_caps.bits.NUM_SLICES_4 = dsc_sink_caps->slice_caps1.bits.NUM_SLICES_4 && dsc_enc_caps->slice_caps.bits.NUM_SLICES_4; bits 214 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_common_caps->slice_caps.bits.NUM_SLICES_8 = dsc_sink_caps->slice_caps1.bits.NUM_SLICES_8 && dsc_enc_caps->slice_caps.bits.NUM_SLICES_8; bits 233 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (dsc_common_caps->slice_caps.bits.NUM_SLICES_1) bits 236 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (dsc_common_caps->slice_caps.bits.NUM_SLICES_2) bits 239 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (dsc_common_caps->slice_caps.bits.NUM_SLICES_4) bits 365 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (slice_caps.bits.NUM_SLICES_1) bits 368 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (slice_caps.bits.NUM_SLICES_2) bits 371 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (slice_caps.bits.NUM_SLICES_4) bits 374 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c if (slice_caps.bits.NUM_SLICES_8) bits 561 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c is_dsc_possible = (bool)dsc_common_caps.color_formats.bits.RGB; bits 566 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c is_dsc_possible = (bool)dsc_common_caps.color_formats.bits.YCBCR_444; bits 571 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c is_dsc_possible = (bool)dsc_common_caps.color_formats.bits.YCBCR_NATIVE_422; bits 575 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c is_dsc_possible = (bool)dsc_common_caps.color_formats.bits.YCBCR_SIMPLE_422; bits 581 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c is_dsc_possible = (bool)dsc_common_caps.color_formats.bits.YCBCR_NATIVE_420; bits 599 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c is_dsc_possible = (bool)dsc_common_caps.color_depth.bits.COLOR_DEPTH_8_BPC; bits 602 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c is_dsc_possible = (bool)dsc_common_caps.color_depth.bits.COLOR_DEPTH_10_BPC; bits 605 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c is_dsc_possible = (bool)dsc_common_caps.color_depth.bits.COLOR_DEPTH_12_BPC; bits 95 drivers/gpu/drm/amd/display/dc/inc/compressor.h } bits; bits 133 drivers/gpu/drm/amd/display/dc/inc/compressor.h } bits; bits 284 drivers/gpu/drm/amd/display/dc/inc/core_types.h } bits; bits 68 drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h } bits; bits 63 drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h } bits; bits 84 drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h } bits; bits 93 drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h } bits; bits 101 drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h } bits; bits 86 drivers/gpu/drm/amd/display/include/audio_types.h } bits; bits 75 drivers/gpu/drm/amd/display/include/i2caux_interface.h } bits; bits 154 drivers/gpu/drm/amd/display/include/link_service_types.h } bits; bits 91 drivers/gpu/drm/amd/display/include/set_mode_types.h } bits; bits 1843 drivers/gpu/drm/amd/display/modules/color/color_gamma.c if (regamma->flags.bits.applyDegamma == 1) { bits 1850 drivers/gpu/drm/amd/display/modules/color/color_gamma.c regamma->flags.bits.applyDegamma, tf_pts); bits 53 drivers/gpu/drm/amd/display/modules/color/color_gamma.h } bits; bits 69 drivers/gpu/drm/amd/display/modules/inc/mod_shared.h } bits; bits 137 drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c stream->link->dpcd_caps.dprx_feature.bits.VSC_SDP_COLORIMETRY_SUPPORTED) bits 115 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.h } bits; bits 138 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.h } bits; bits 14 drivers/gpu/drm/arm/display/include/malidp_utils.h #define has_bits(bits, mask) (((bits) & (mask)) == (bits)) bits 114 drivers/gpu/drm/drm_bufs.c int bits = ilog2(SHMLBA >> PAGE_SHIFT) + 1; bits 128 drivers/gpu/drm/drm_bufs.c shift = bits; bits 129 drivers/gpu/drm/drm_bufs.c add |= ((user_token >> PAGE_SHIFT) & ((1UL << bits) - 1UL)); bits 145 drivers/gpu/drm/drm_hashtab.c unsigned long seed, int bits, int shift, bits 149 drivers/gpu/drm/drm_hashtab.c unsigned long mask = (1UL << bits) - 1; bits 152 drivers/gpu/drm/drm_hashtab.c unshifted_key = hash_long(seed, bits); bits 355 drivers/gpu/drm/exynos/exynos7_drm_decon.c u32 bits, val; bits 357 drivers/gpu/drm/exynos/exynos7_drm_decon.c bits = SHADOWCON_WINx_PROTECT(win); bits 361 drivers/gpu/drm/exynos/exynos7_drm_decon.c val |= bits; bits 363 drivers/gpu/drm/exynos/exynos7_drm_decon.c val &= ~bits; bits 125 drivers/gpu/drm/exynos/exynos_drm_fimc.c static void fimc_set_bits(struct fimc_context *ctx, u32 reg, u32 bits) bits 129 drivers/gpu/drm/exynos/exynos_drm_fimc.c writel(readl(r) | bits, r); bits 132 drivers/gpu/drm/exynos/exynos_drm_fimc.c static void fimc_clear_bits(struct fimc_context *ctx, u32 reg, u32 bits) bits 136 drivers/gpu/drm/exynos/exynos_drm_fimc.c writel(readl(r) & ~bits, r); bits 734 drivers/gpu/drm/exynos/exynos_drm_fimd.c u32 reg, bits, val; bits 748 drivers/gpu/drm/exynos/exynos_drm_fimd.c bits = SHADOWCON_WINx_PROTECT(win); bits 751 drivers/gpu/drm/exynos/exynos_drm_fimd.c bits = PRTCON_PROTECT; bits 756 drivers/gpu/drm/exynos/exynos_drm_fimd.c val |= bits; bits 758 drivers/gpu/drm/exynos/exynos_drm_fimd.c val &= ~bits; bits 3274 drivers/gpu/drm/i915/display/intel_display.c &to_intel_frontbuffer(fb)->bits); bits 1286 drivers/gpu/drm/i915/display/intel_display_power.c #define BITS_SET(val, bits) (((val) & (bits)) == (bits)) bits 251 drivers/gpu/drm/i915/display/intel_frontbuffer.c atomic_set(&front->bits, 0); bits 300 drivers/gpu/drm/i915/display/intel_frontbuffer.c WARN_ON(!(atomic_read(&old->bits) & frontbuffer_bits)); bits 301 drivers/gpu/drm/i915/display/intel_frontbuffer.c atomic_andnot(frontbuffer_bits, &old->bits); bits 305 drivers/gpu/drm/i915/display/intel_frontbuffer.c WARN_ON(atomic_read(&new->bits) & frontbuffer_bits); bits 306 drivers/gpu/drm/i915/display/intel_frontbuffer.c atomic_or(frontbuffer_bits, &new->bits); bits 45 drivers/gpu/drm/i915/display/intel_frontbuffer.h atomic_t bits; bits 83 drivers/gpu/drm/i915/display/intel_frontbuffer.h frontbuffer_bits = atomic_read(&front->bits); bits 111 drivers/gpu/drm/i915/display/intel_frontbuffer.h frontbuffer_bits = atomic_read(&front->bits); bits 329 drivers/gpu/drm/i915/display/intel_panel.c u32 bits; bits 343 drivers/gpu/drm/i915/display/intel_panel.c bits = panel_fitter_scaling(pipe_config->pipe_src_h, bits 346 drivers/gpu/drm/i915/display/intel_panel.c *pfit_pgm_ratios |= (bits << PFIT_HORIZ_SCALE_SHIFT | bits 347 drivers/gpu/drm/i915/display/intel_panel.c bits << PFIT_VERT_SCALE_SHIFT); bits 359 drivers/gpu/drm/i915/display/intel_panel.c bits = panel_fitter_scaling(pipe_config->pipe_src_w, bits 362 drivers/gpu/drm/i915/display/intel_panel.c *pfit_pgm_ratios |= (bits << PFIT_HORIZ_SCALE_SHIFT | bits 363 drivers/gpu/drm/i915/display/intel_panel.c bits << PFIT_VERT_SCALE_SHIFT); bits 168 drivers/gpu/drm/i915/i915_cmd_parser.c } bits[MAX_CMD_DESC_BITMASKS]; bits 223 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 230 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 253 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 260 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 266 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 272 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 280 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 289 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 331 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 338 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 358 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 375 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 382 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 402 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 412 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 419 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 494 drivers/gpu/drm/i915/i915_cmd_parser.c .bits = {{ bits 1273 drivers/gpu/drm/i915/i915_cmd_parser.c if (desc->bits[i].mask == 0) bits 1276 drivers/gpu/drm/i915/i915_cmd_parser.c if (desc->bits[i].condition_mask != 0) { bits 1278 drivers/gpu/drm/i915/i915_cmd_parser.c desc->bits[i].condition_offset; bits 1280 drivers/gpu/drm/i915/i915_cmd_parser.c desc->bits[i].condition_mask; bits 1286 drivers/gpu/drm/i915/i915_cmd_parser.c if (desc->bits[i].offset >= length) { bits 1292 drivers/gpu/drm/i915/i915_cmd_parser.c dword = cmd[desc->bits[i].offset] & bits 1293 drivers/gpu/drm/i915/i915_cmd_parser.c desc->bits[i].mask; bits 1295 drivers/gpu/drm/i915/i915_cmd_parser.c if (dword != desc->bits[i].expected) { bits 1298 drivers/gpu/drm/i915/i915_cmd_parser.c desc->bits[i].mask, bits 1299 drivers/gpu/drm/i915/i915_cmd_parser.c desc->bits[i].expected, bits 106 drivers/gpu/drm/i915/i915_gem_gtt.h #define HSW_CACHEABILITY_CONTROL(bits) ((((bits) & 0x7) << 1) | \ bits 107 drivers/gpu/drm/i915/i915_gem_gtt.h (((bits) & 0x8) << (11 - 3))) bits 266 drivers/gpu/drm/i915/i915_irq.c u32 bits) bits 271 drivers/gpu/drm/i915/i915_irq.c WARN_ON(bits & ~mask); bits 275 drivers/gpu/drm/i915/i915_irq.c val |= bits; bits 293 drivers/gpu/drm/i915/i915_irq.c u32 bits) bits 296 drivers/gpu/drm/i915/i915_irq.c i915_hotplug_interrupt_update_locked(dev_priv, mask, bits); bits 48 drivers/gpu/drm/i915/i915_irq.h u32 bits); bits 53 drivers/gpu/drm/i915/i915_irq.h ilk_enable_display_irq(struct drm_i915_private *dev_priv, u32 bits) bits 55 drivers/gpu/drm/i915/i915_irq.h ilk_update_display_irq(dev_priv, bits, bits); bits 58 drivers/gpu/drm/i915/i915_irq.h ilk_disable_display_irq(struct drm_i915_private *dev_priv, u32 bits) bits 60 drivers/gpu/drm/i915/i915_irq.h ilk_update_display_irq(dev_priv, bits, 0); bits 67 drivers/gpu/drm/i915/i915_irq.h enum pipe pipe, u32 bits) bits 69 drivers/gpu/drm/i915/i915_irq.h bdw_update_pipe_irq(dev_priv, pipe, bits, bits); bits 72 drivers/gpu/drm/i915/i915_irq.h enum pipe pipe, u32 bits) bits 74 drivers/gpu/drm/i915/i915_irq.h bdw_update_pipe_irq(dev_priv, pipe, bits, 0); bits 80 drivers/gpu/drm/i915/i915_irq.h ibx_enable_display_interrupt(struct drm_i915_private *dev_priv, u32 bits) bits 82 drivers/gpu/drm/i915/i915_irq.h ibx_display_interrupt_update(dev_priv, bits, bits); bits 85 drivers/gpu/drm/i915/i915_irq.h ibx_disable_display_interrupt(struct drm_i915_private *dev_priv, u32 bits) bits 87 drivers/gpu/drm/i915/i915_irq.h ibx_display_interrupt_update(dev_priv, bits, 0); bits 152 drivers/gpu/drm/i915/i915_utils.h #define ptr_unpack_bits(ptr, bits, n) ({ \ bits 154 drivers/gpu/drm/i915/i915_utils.h *(bits) = __v & (BIT(n) - 1); \ bits 158 drivers/gpu/drm/i915/i915_utils.h #define ptr_pack_bits(ptr, bits, n) ({ \ bits 159 drivers/gpu/drm/i915/i915_utils.h unsigned long __bits = (bits); \ bits 176 drivers/gpu/drm/i915/i915_utils.h #define page_pack_bits(ptr, bits) ptr_pack_bits(ptr, bits, PAGE_SHIFT) bits 177 drivers/gpu/drm/i915/i915_utils.h #define page_unpack_bits(ptr, bits) ptr_unpack_bits(ptr, bits, PAGE_SHIFT) bits 60 drivers/gpu/drm/mediatek/mtk_cec.c unsigned int bits) bits 66 drivers/gpu/drm/mediatek/mtk_cec.c tmp &= ~bits; bits 71 drivers/gpu/drm/mediatek/mtk_cec.c unsigned int bits) bits 77 drivers/gpu/drm/mediatek/mtk_cec.c tmp |= bits; bits 193 drivers/gpu/drm/mediatek/mtk_hdmi.c static void mtk_hdmi_clear_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) bits 199 drivers/gpu/drm/mediatek/mtk_hdmi.c tmp &= ~bits; bits 203 drivers/gpu/drm/mediatek/mtk_hdmi.c static void mtk_hdmi_set_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) bits 209 drivers/gpu/drm/mediatek/mtk_hdmi.c tmp |= bits; bits 19 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c u32 bits) bits 25 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c tmp &= ~bits; bits 30 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c u32 bits) bits 36 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c tmp |= bits; bits 46 drivers/gpu/drm/mediatek/mtk_hdmi_phy.h u32 bits); bits 48 drivers/gpu/drm/mediatek/mtk_hdmi_phy.h u32 bits); bits 141 drivers/gpu/drm/mediatek/mtk_mipi_tx.c u32 bits) bits 145 drivers/gpu/drm/mediatek/mtk_mipi_tx.c writel(temp & ~bits, mipi_tx->regs + offset); bits 149 drivers/gpu/drm/mediatek/mtk_mipi_tx.c u32 bits) bits 153 drivers/gpu/drm/mediatek/mtk_mipi_tx.c writel(temp | bits, mipi_tx->regs + offset); bits 1684 drivers/gpu/drm/meson/meson_registers.h #define VIU_OSD_BLEND_DIN_EN(bits) ((bits & 0xf) << 20) bits 40 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bits = { g, b, r, a }, \ bits 59 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bits = { g, b, r, a }, \ bits 79 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bits = { g, b, r, a }, \ bits 97 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bits = { g, b, r, a }, \ bits 116 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bits = { g, b, r, a }, \ bits 134 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bits = { g, b, r, a }, \ bits 153 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bits = { g, b, r, a }, \ bits 173 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bits = { g, b, r, a }, \ bits 158 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c panel_format = (fmt->bits[C0_G_Y] | bits 159 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c (fmt->bits[C1_B_Cb] << 2) | bits 160 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c (fmt->bits[C2_R_Cr] << 4) | bits 355 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h u8 bits[DPU_MAX_PLANES]; bits 279 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c (fmt->bits[C3_ALPHA] << 6) | (fmt->bits[C2_R_Cr] << 4) | bits 280 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c (fmt->bits[C1_B_Cb] << 2) | (fmt->bits[C0_G_Y] << 0); bits 102 drivers/gpu/drm/nouveau/dispnv50/atom.h u8 bits:2; bits 101 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->dither.bits = mode >> 1; bits 46 drivers/gpu/drm/nouveau/dispnv50/head507d.c asyh->dither.bits << 1 | bits 62 drivers/gpu/drm/nouveau/dispnv50/head907d.c asyh->dither.bits << 1 | bits 33 drivers/gpu/drm/nouveau/dispnv50/head917d.c asyh->dither.bits << 1 | bits 76 drivers/gpu/drm/nouveau/dispnv50/headc37d.c asyh->dither.bits << 4 | bits 18 drivers/gpu/drm/nouveau/include/nvkm/core/ramht.h int bits; bits 9 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0209.h u8 bits; bits 32 drivers/gpu/drm/nouveau/nvkm/core/ramht.c hash ^= (handle & ((1 << ramht->bits) - 1)); bits 33 drivers/gpu/drm/nouveau/nvkm/core/ramht.c handle >>= ramht->bits; bits 36 drivers/gpu/drm/nouveau/nvkm/core/ramht.c hash ^= chid << (ramht->bits - 4); bits 153 drivers/gpu/drm/nouveau/nvkm/core/ramht.c ramht->bits = order_base_2(ramht->size); bits 1630 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c int ret, bits; bits 1684 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c bits = pdev->device.mmu->dma_bits; bits 1686 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c bits = 32; bits 1688 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c ret = dma_set_mask_and_coherent(&pci_dev->dev, DMA_BIT_MASK(bits)); bits 1689 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c if (ret && bits != 32) { bits 79 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmag84.c nvkm_wo32(chan->ramfc, 0x80, ((chan->ramht->bits - 9) << 27) | bits 100 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c u32 rm = ((1ULL << c->bits) - 1) << c->regs; bits 101 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c u32 cm = ((1ULL << c->bits) - 1) << c->ctxs; bits 105 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c } while ((++c)->bits); bits 111 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c } while ((++c)->bits); bits 150 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c } while ((++c)->bits); bits 79 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv50.c nvkm_wo32(chan->ramfc, 0x80, ((chan->ramht->bits - 9) << 27) | bits 80 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifog84.c nvkm_wo32(chan->ramfc, 0x80, ((chan->ramht->bits - 9) << 27) | bits 80 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifonv50.c nvkm_wo32(chan->ramfc, 0x80, ((chan->ramht->bits - 9) << 27) | bits 312 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c ((ramht->bits - 9) << 16) | bits 8 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.h unsigned bits:6; bits 64 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv17.c ((ramht->bits - 9) << 16) | bits 75 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv40.c ((ramht->bits - 9) << 16) | bits 82 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c info->bits = nvbios_rd08(bios, data + 0x00) & 0x3f; bits 121 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u32 bits = (i % M0209E.modulo) * M0209E.bits; bits 122 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u32 mask = (1ULL << M0209E.bits) - 1; bits 123 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u16 off = bits / 8; bits 124 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.c u8 mod = bits % 8; bits 159 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c u32 bits = (nvkm_rd32(device, 0x100c80) & 0x00001000) ? 16 : 17; bits 171 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c if (ltc->num_tags > (1 << bits)) bits 172 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c ltc->num_tags = 1 << bits; /* we have 16/17 bits in PTE */ bits 43 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const u32 pten = 1 << desc->bits; bits 50 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c lpte = pten >> (desc->bits - pair->bits); bits 201 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const u32 sptb = desc->bits - pair->bits; bits 300 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const u32 sptb = desc->bits - pair->bits; bits 422 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c u32 pten = 1 << desc->bits; bits 509 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c u64 bits = addr >> page->shift; bits 518 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c for (it.lvl = 0; desc[it.lvl].bits; it.lvl++) { bits 519 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c it.pte[it.lvl] = bits & ((1 << desc[it.lvl].bits) - 1); bits 520 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c bits >>= desc[it.lvl].bits; bits 534 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const u32 pten = 1 << desc->bits; bits 578 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c while (it.pte[it.lvl] == (1 << desc[it.lvl].bits)) { bits 594 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c addr = addr << desc[it.max].bits; bits 1043 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c int levels, bits = 0, ret; bits 1063 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c for (levels = 0, desc = page->desc; desc->bits; desc++, levels++) bits 1064 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c bits += desc->bits; bits 1065 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c bits += page->shift; bits 1082 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const u32 size = pd_header + desc->size * (1 << desc->bits); bits 1099 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vmm->limit = 1ULL << bits; bits 1125 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vmm->limit = size ? (addr + size) : (1ULL << bits); bits 1126 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (vmm->start > vmm->limit || vmm->limit > (1ULL << bits)) bits 96 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h u8 bits; /* VMA bits covered by PT. */ bits 237 drivers/gpu/drm/omapdrm/dss/dispc.c u32 bits; bits 257 drivers/gpu/drm/omapdrm/dss/dispc.c .bits = 8, bits 280 drivers/gpu/drm/omapdrm/dss/dispc.c .bits = 10, bits 303 drivers/gpu/drm/omapdrm/dss/dispc.c .bits = 8, bits 326 drivers/gpu/drm/omapdrm/dss/dispc.c .bits = 8, bits 3878 drivers/gpu/drm/omapdrm/dss/dispc.c r >>= 16 - gdesc->bits; bits 3879 drivers/gpu/drm/omapdrm/dss/dispc.c g >>= 16 - gdesc->bits; bits 3880 drivers/gpu/drm/omapdrm/dss/dispc.c b >>= 16 - gdesc->bits; bits 3882 drivers/gpu/drm/omapdrm/dss/dispc.c table[first + j] = (r << (gdesc->bits * 2)) | bits 3883 drivers/gpu/drm/omapdrm/dss/dispc.c (g << gdesc->bits) | b; bits 73 drivers/gpu/drm/omapdrm/omap_dmm_tiler.h #define MASK(bits) ((1 << (bits)) - 1) bits 266 drivers/gpu/drm/qxl/qxl_dev.h uint32_t bits; bits 235 drivers/gpu/drm/radeon/cik_reg.h } bitfields, bits; bits 1191 drivers/gpu/drm/radeon/radeon_device.c unsigned bits = ilog2(radeon_vm_size) + 18; bits 1196 drivers/gpu/drm/radeon/radeon_device.c radeon_vm_block_size = bits - 9; bits 1198 drivers/gpu/drm/radeon/radeon_device.c radeon_vm_block_size = (bits + 3) / 2; bits 14 drivers/gpu/drm/tegra/hda.c unsigned int mul, div, bits, channels; bits 33 drivers/gpu/drm/tegra/hda.c fmt->bits = 8; bits 37 drivers/gpu/drm/tegra/hda.c fmt->bits = 16; bits 41 drivers/gpu/drm/tegra/hda.c fmt->bits = 20; bits 45 drivers/gpu/drm/tegra/hda.c fmt->bits = 24; bits 49 drivers/gpu/drm/tegra/hda.c fmt->bits = 32; bits 53 drivers/gpu/drm/tegra/hda.c bits = (format & AC_FMT_BITS_MASK) >> AC_FMT_BITS_SHIFT; bits 54 drivers/gpu/drm/tegra/hda.c WARN(1, "invalid number of bits: %#x\n", bits); bits 55 drivers/gpu/drm/tegra/hda.c fmt->bits = 8; bits 14 drivers/gpu/drm/tegra/hda.h unsigned int bits; bits 144 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u16(setup, args->color_read.bits); bits 166 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u16(setup, args->zs_read.bits); bits 193 drivers/gpu/drm/vc4/vc4_render_cl.c uint32_t bits = VC4_LOADSTORE_FULL_RES_DISABLE_ZS; bits 196 drivers/gpu/drm/vc4/vc4_render_cl.c bits |= VC4_LOADSTORE_FULL_RES_DISABLE_CLEAR_ALL; bits 198 drivers/gpu/drm/vc4/vc4_render_cl.c bits |= VC4_LOADSTORE_FULL_RES_EOF; bits 203 drivers/gpu/drm/vc4/vc4_render_cl.c bits); bits 209 drivers/gpu/drm/vc4/vc4_render_cl.c uint32_t bits = VC4_LOADSTORE_FULL_RES_DISABLE_COLOR; bits 214 drivers/gpu/drm/vc4/vc4_render_cl.c bits |= VC4_LOADSTORE_FULL_RES_DISABLE_CLEAR_ALL; bits 216 drivers/gpu/drm/vc4/vc4_render_cl.c bits |= VC4_LOADSTORE_FULL_RES_EOF; bits 221 drivers/gpu/drm/vc4/vc4_render_cl.c bits); bits 231 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u16(setup, args->zs_write.bits | bits 363 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u16(setup, args->color_write.bits); bits 413 drivers/gpu/drm/vc4/vc4_render_cl.c if (surf->flags != 0 || surf->bits != 0) { bits 440 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t tiling = VC4_GET_FIELD(surf->bits, bits 442 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t buffer = VC4_GET_FIELD(surf->bits, bits 444 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t format = VC4_GET_FIELD(surf->bits, bits 470 drivers/gpu/drm/vc4/vc4_render_cl.c if (surf->bits != 0) { bits 483 drivers/gpu/drm/vc4/vc4_render_cl.c if (surf->bits & ~(VC4_LOADSTORE_TILE_BUFFER_TILING_MASK | bits 487 drivers/gpu/drm/vc4/vc4_render_cl.c surf->bits); bits 539 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t tiling = VC4_GET_FIELD(surf->bits, bits 541 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t format = VC4_GET_FIELD(surf->bits, bits 550 drivers/gpu/drm/vc4/vc4_render_cl.c if (surf->bits & ~(VC4_RENDER_CONFIG_MEMORY_FORMAT_MASK | bits 555 drivers/gpu/drm/vc4/vc4_render_cl.c surf->bits); bits 17 drivers/gpu/drm/zte/zx_plane.h const struct vou_layer_bits *bits; bits 128 drivers/gpu/drm/zte/zx_vou.c const struct zx_crtc_bits *bits; bits 294 drivers/gpu/drm/zte/zx_vou.c const struct zx_crtc_bits *bits = zcrtc->bits; bits 307 drivers/gpu/drm/zte/zx_vou.c shift = bits->div_vga_shift; bits 311 drivers/gpu/drm/zte/zx_vou.c shift = bits->div_pic_shift; bits 315 drivers/gpu/drm/zte/zx_vou.c shift = bits->div_tvenc_shift; bits 319 drivers/gpu/drm/zte/zx_vou.c shift = bits->div_hdmi_pnx_shift; bits 323 drivers/gpu/drm/zte/zx_vou.c shift = bits->div_hdmi_shift; bits 327 drivers/gpu/drm/zte/zx_vou.c shift = bits->div_inf_shift; bits 331 drivers/gpu/drm/zte/zx_vou.c shift = bits->div_layer_shift; bits 360 drivers/gpu/drm/zte/zx_vou.c const struct zx_crtc_bits *bits = zcrtc->bits; bits 385 drivers/gpu/drm/zte/zx_vou.c u32 shift = bits->sec_vactive_shift; bits 386 drivers/gpu/drm/zte/zx_vou.c u32 mask = bits->sec_vactive_mask; bits 409 drivers/gpu/drm/zte/zx_vou.c zx_writel_mask(vou->timing + TIMING_CTRL, bits->polarity_mask, bits 410 drivers/gpu/drm/zte/zx_vou.c pol << bits->polarity_shift); bits 420 drivers/gpu/drm/zte/zx_vou.c scan_mask = bits->interlace_select | bits->pi_enable; bits 425 drivers/gpu/drm/zte/zx_vou.c zx_writel_mask(vou->timing + TIMING_TC_ENABLE, bits->tc_enable, bits 426 drivers/gpu/drm/zte/zx_vou.c bits->tc_enable); bits 461 drivers/gpu/drm/zte/zx_vou.c const struct zx_crtc_bits *bits = zcrtc->bits; bits 472 drivers/gpu/drm/zte/zx_vou.c zx_writel_mask(vou->timing + TIMING_TC_ENABLE, bits->tc_enable, 0); bits 503 drivers/gpu/drm/zte/zx_vou.c u32 int_frame_mask = zcrtc->bits->int_frame_mask; bits 517 drivers/gpu/drm/zte/zx_vou.c zcrtc->bits->int_frame_mask, 0); bits 557 drivers/gpu/drm/zte/zx_vou.c zplane->bits = &zx_gl_bits[0]; bits 562 drivers/gpu/drm/zte/zx_vou.c zcrtc->bits = &main_crtc_bits; bits 568 drivers/gpu/drm/zte/zx_vou.c zplane->bits = &zx_gl_bits[1]; bits 573 drivers/gpu/drm/zte/zx_vou.c zcrtc->bits = &aux_crtc_bits; bits 614 drivers/gpu/drm/zte/zx_vou.c const struct vou_layer_bits *bits = zplane->bits; bits 617 drivers/gpu/drm/zte/zx_vou.c zx_writel_mask(vou->osd + OSD_CTRL0, bits->chnsel, 0); bits 618 drivers/gpu/drm/zte/zx_vou.c zx_writel_mask(vou->vouctl + VOU_CLK_SEL, bits->clksel, 0); bits 620 drivers/gpu/drm/zte/zx_vou.c zx_writel_mask(vou->osd + OSD_CTRL0, bits->chnsel, bits 621 drivers/gpu/drm/zte/zx_vou.c bits->chnsel); bits 622 drivers/gpu/drm/zte/zx_vou.c zx_writel_mask(vou->vouctl + VOU_CLK_SEL, bits->clksel, bits 623 drivers/gpu/drm/zte/zx_vou.c bits->clksel); bits 626 drivers/gpu/drm/zte/zx_vou.c zx_writel_mask(vou->osd + OSD_CTRL0, bits->enable, bits->enable); bits 635 drivers/gpu/drm/zte/zx_vou.c const struct vou_layer_bits *bits = zplane->bits; bits 637 drivers/gpu/drm/zte/zx_vou.c zx_writel_mask(vou->osd + OSD_CTRL0, bits->enable, 0); bits 661 drivers/gpu/drm/zte/zx_vou.c zplane->bits = &zx_vl_bits[i]; bits 123 drivers/hid/hid-creative-sb0540.c static inline u64 reverse(u64 data, int bits) bits 129 drivers/hid/hid-creative-sb0540.c for (i = 0; i < bits; i++) { bits 131 drivers/hid/hid-creative-sb0540.c << (bits - 1 - i); bits 144 drivers/hwmon/max31790.c u8 bits; bits 147 drivers/hwmon/max31790.c bits = 0x0; bits 149 drivers/hwmon/max31790.c bits = 0x1; bits 151 drivers/hwmon/max31790.c bits = 0x2; bits 153 drivers/hwmon/max31790.c bits = 0x3; bits 155 drivers/hwmon/max31790.c bits = 0x4; bits 157 drivers/hwmon/max31790.c bits = 0x5; bits 159 drivers/hwmon/max31790.c return bits; bits 197 drivers/hwmon/max31790.c u8 bits; bits 205 drivers/hwmon/max31790.c bits = bits_for_tach_period(val); bits 209 drivers/hwmon/max31790.c (bits << MAX31790_FAN_DYN_SR_SHIFT)); bits 1616 drivers/i2c/busses/i2c-i801.c i801_acpi_io_handler(u32 function, acpi_physical_address address, u32 bits, bits 1644 drivers/i2c/busses/i2c-i801.c status = acpi_os_read_port(address, (u32 *)value, bits); bits 1646 drivers/i2c/busses/i2c-i801.c status = acpi_os_write_port(address, (u32)*value, bits); bits 1071 drivers/i2c/busses/i2c-omap.c u16 bits; bits 1076 drivers/i2c/busses/i2c-omap.c bits = omap_i2c_read_reg(omap, OMAP_I2C_IE_REG); bits 1078 drivers/i2c/busses/i2c-omap.c stat &= bits; bits 236 drivers/i2c/busses/i2c-pxa.c decode_bits(const char *prefix, const struct bits *bits, int num, u32 val) bits 240 drivers/i2c/busses/i2c-pxa.c const char *str = val & bits->mask ? bits->set : bits->unset; bits 243 drivers/i2c/busses/i2c-pxa.c bits++; bits 247 drivers/i2c/busses/i2c-pxa.c static const struct bits isr_bits[] = { bits 267 drivers/i2c/busses/i2c-pxa.c static const struct bits icr_bits[] = { bits 587 drivers/i2c/i2c-core-acpi.c u32 bits, u64 *value64, bits 107 drivers/iio/accel/adis16201.c int bits; bits 160 drivers/iio/accel/adis16201.c bits = 12; bits 163 drivers/iio/accel/adis16201.c bits = 9; bits 173 drivers/iio/accel/adis16201.c *val = sign_extend32(val16, bits - 1); bits 139 drivers/iio/accel/adis16209.c int bits; bits 199 drivers/iio/accel/adis16209.c bits = 14; bits 209 drivers/iio/accel/adis16209.c *val = sign_extend32(val16, bits - 1); bits 211 drivers/iio/accel/adxl372.c unsigned int bits; bits 809 drivers/iio/accel/adxl372.c if (mask == adxl372_axis_lookup_table[i].bits) bits 973 drivers/iio/accel/bmc150-accel-core.c #define BMC150_ACCEL_CHANNEL(_axis, bits) { \ bits 983 drivers/iio/accel/bmc150-accel-core.c .realbits = (bits), \ bits 985 drivers/iio/accel/bmc150-accel-core.c .shift = 16 - (bits), \ bits 993 drivers/iio/accel/bmc150-accel-core.c #define BMC150_ACCEL_CHANNELS(bits) { \ bits 1001 drivers/iio/accel/bmc150-accel-core.c BMC150_ACCEL_CHANNEL(X, bits), \ bits 1002 drivers/iio/accel/bmc150-accel-core.c BMC150_ACCEL_CHANNEL(Y, bits), \ bits 1003 drivers/iio/accel/bmc150-accel-core.c BMC150_ACCEL_CHANNEL(Z, bits), \ bits 1207 drivers/iio/accel/mma8452.c #define MMA8452_CHANNEL(axis, idx, bits) { \ bits 1220 drivers/iio/accel/mma8452.c .realbits = (bits), \ bits 1222 drivers/iio/accel/mma8452.c .shift = 16 - (bits), \ bits 1229 drivers/iio/accel/mma8452.c #define MMA8652_CHANNEL(axis, idx, bits) { \ bits 1241 drivers/iio/accel/mma8452.c .realbits = (bits), \ bits 1243 drivers/iio/accel/mma8452.c .shift = 16 - (bits), \ bits 141 drivers/iio/adc/ad7476.c #define _AD7476_CHAN(bits, _shift, _info_mask_sep) \ bits 149 drivers/iio/adc/ad7476.c .realbits = (bits), \ bits 156 drivers/iio/adc/ad7476.c #define ADC081S_CHAN(bits) _AD7476_CHAN((bits), 12 - (bits), \ bits 158 drivers/iio/adc/ad7476.c #define AD7476_CHAN(bits) _AD7476_CHAN((bits), 13 - (bits), \ bits 160 drivers/iio/adc/ad7476.c #define AD7940_CHAN(bits) _AD7476_CHAN((bits), 15 - (bits), \ bits 162 drivers/iio/adc/ad7476.c #define AD7091R_CHAN(bits) _AD7476_CHAN((bits), 16 - (bits), 0) bits 163 drivers/iio/adc/ad7476.c #define ADS786X_CHAN(bits) _AD7476_CHAN((bits), 12 - (bits), \ bits 208 drivers/iio/adc/ad7780.c #define AD7780_CHANNEL(bits, wordsize) \ bits 209 drivers/iio/adc/ad7780.c AD_SD_CHANNEL(1, 0, 0, bits, 32, (wordsize) - (bits)) bits 210 drivers/iio/adc/ad7780.c #define AD7170_CHANNEL(bits, wordsize) \ bits 211 drivers/iio/adc/ad7780.c AD_SD_CHANNEL_NO_SAMP_FREQ(1, 0, 0, bits, 32, (wordsize) - (bits)) bits 67 drivers/iio/adc/ad7791.c #define DECLARE_AD7787_CHANNELS(name, bits, storagebits) \ bits 70 drivers/iio/adc/ad7791.c (bits), (storagebits), 0), \ bits 71 drivers/iio/adc/ad7791.c AD_SD_CHANNEL(1, 1, AD7791_CH_AIN2, (bits), (storagebits), 0), \ bits 73 drivers/iio/adc/ad7791.c (bits), (storagebits), 0), \ bits 75 drivers/iio/adc/ad7791.c (bits), (storagebits), 0), \ bits 79 drivers/iio/adc/ad7791.c #define DECLARE_AD7791_CHANNELS(name, bits, storagebits) \ bits 82 drivers/iio/adc/ad7791.c (bits), (storagebits), 0), \ bits 84 drivers/iio/adc/ad7791.c (bits), (storagebits), 0), \ bits 86 drivers/iio/adc/ad7791.c (bits), (storagebits), 0), \ bits 51 drivers/iio/adc/ad7923.c #define EXTRACT(val, dec, bits) (((val) >> (dec)) & ((1 << (bits)) - 1)) bits 83 drivers/iio/adc/ad7923.c #define AD7923_V_CHAN(index, bits) \ bits 94 drivers/iio/adc/ad7923.c .realbits = (bits), \ bits 100 drivers/iio/adc/ad7923.c #define DECLARE_AD7923_CHANNELS(name, bits) \ bits 102 drivers/iio/adc/ad7923.c AD7923_V_CHAN(0, bits), \ bits 103 drivers/iio/adc/ad7923.c AD7923_V_CHAN(1, bits), \ bits 104 drivers/iio/adc/ad7923.c AD7923_V_CHAN(2, bits), \ bits 105 drivers/iio/adc/ad7923.c AD7923_V_CHAN(3, bits), \ bits 283 drivers/iio/adc/ina2xx-adc.c int bits; bits 288 drivers/iio/adc/ina2xx-adc.c bits = find_closest(val, ina226_avg_tab, bits 291 drivers/iio/adc/ina2xx-adc.c chip->avg = ina226_avg_tab[bits]; bits 294 drivers/iio/adc/ina2xx-adc.c *config |= INA226_SHIFT_AVG(bits) & INA226_AVG_MASK; bits 306 drivers/iio/adc/ina2xx-adc.c int bits; bits 311 drivers/iio/adc/ina2xx-adc.c bits = find_closest(val_us, ina226_conv_time_tab, bits 314 drivers/iio/adc/ina2xx-adc.c chip->int_time_vbus = ina226_conv_time_tab[bits]; bits 317 drivers/iio/adc/ina2xx-adc.c *config |= INA226_SHIFT_ITB(bits) & INA226_ITB_MASK; bits 325 drivers/iio/adc/ina2xx-adc.c int bits; bits 330 drivers/iio/adc/ina2xx-adc.c bits = find_closest(val_us, ina226_conv_time_tab, bits 333 drivers/iio/adc/ina2xx-adc.c chip->int_time_vshunt = ina226_conv_time_tab[bits]; bits 336 drivers/iio/adc/ina2xx-adc.c *config |= INA226_SHIFT_ITS(bits) & INA226_ITS_MASK; bits 346 drivers/iio/adc/ina2xx-adc.c static int ina219_lookup_int_time(unsigned int *val_us, int *bits) bits 352 drivers/iio/adc/ina2xx-adc.c *bits = find_closest(*val_us, ina219_conv_time_tab_subsample, bits 354 drivers/iio/adc/ina2xx-adc.c *val_us = ina219_conv_time_tab_subsample[*bits]; bits 356 drivers/iio/adc/ina2xx-adc.c *bits = find_closest(*val_us, ina219_conv_time_tab_average, bits 358 drivers/iio/adc/ina2xx-adc.c *val_us = ina219_conv_time_tab_average[*bits]; bits 359 drivers/iio/adc/ina2xx-adc.c *bits |= 0x8; bits 368 drivers/iio/adc/ina2xx-adc.c int bits, ret; bits 371 drivers/iio/adc/ina2xx-adc.c ret = ina219_lookup_int_time(&val_us_best, &bits); bits 378 drivers/iio/adc/ina2xx-adc.c *config |= INA219_SHIFT_ITB(bits) & INA219_ITB_MASK; bits 386 drivers/iio/adc/ina2xx-adc.c int bits, ret; bits 389 drivers/iio/adc/ina2xx-adc.c ret = ina219_lookup_int_time(&val_us_best, &bits); bits 396 drivers/iio/adc/ina2xx-adc.c *config |= INA219_SHIFT_ITS(bits) & INA219_ITS_MASK; bits 427 drivers/iio/adc/ina2xx-adc.c int bits; bits 432 drivers/iio/adc/ina2xx-adc.c bits = find_closest(gain, ina219_vshunt_gain_tab, bits 435 drivers/iio/adc/ina2xx-adc.c chip->pga_gain_vshunt = ina219_vshunt_gain_tab[bits]; bits 436 drivers/iio/adc/ina2xx-adc.c bits = 3 - bits; bits 439 drivers/iio/adc/ina2xx-adc.c *config |= INA219_SHIFT_PGA(bits) & INA219_PGA_MASK; bits 141 drivers/iio/adc/max1363.c u8 bits; bits 388 drivers/iio/adc/max1363.c if (st->chip_info->bits != 8) { bits 396 drivers/iio/adc/max1363.c ((1 << st->chip_info->bits) - 1); bits 430 drivers/iio/adc/max1363.c *val2 = st->chip_info->bits; bits 460 drivers/iio/adc/max1363.c #define MAX1363_CHAN_U(num, addr, si, bits, ev_spec, num_ev_spec) \ bits 471 drivers/iio/adc/max1363.c .realbits = bits, \ bits 472 drivers/iio/adc/max1363.c .storagebits = (bits > 8) ? 16 : 8, \ bits 481 drivers/iio/adc/max1363.c #define MAX1363_CHAN_B(num, num2, addr, si, bits, ev_spec, num_ev_spec) \ bits 494 drivers/iio/adc/max1363.c .realbits = bits, \ bits 495 drivers/iio/adc/max1363.c .storagebits = (bits > 8) ? 16 : 8, \ bits 503 drivers/iio/adc/max1363.c #define MAX1363_4X_CHANS(bits, ev_spec, num_ev_spec) { \ bits 504 drivers/iio/adc/max1363.c MAX1363_CHAN_U(0, _s0, 0, bits, ev_spec, num_ev_spec), \ bits 505 drivers/iio/adc/max1363.c MAX1363_CHAN_U(1, _s1, 1, bits, ev_spec, num_ev_spec), \ bits 506 drivers/iio/adc/max1363.c MAX1363_CHAN_U(2, _s2, 2, bits, ev_spec, num_ev_spec), \ bits 507 drivers/iio/adc/max1363.c MAX1363_CHAN_U(3, _s3, 3, bits, ev_spec, num_ev_spec), \ bits 508 drivers/iio/adc/max1363.c MAX1363_CHAN_B(0, 1, d0m1, 4, bits, ev_spec, num_ev_spec), \ bits 509 drivers/iio/adc/max1363.c MAX1363_CHAN_B(2, 3, d2m3, 5, bits, ev_spec, num_ev_spec), \ bits 510 drivers/iio/adc/max1363.c MAX1363_CHAN_B(1, 0, d1m0, 6, bits, ev_spec, num_ev_spec), \ bits 511 drivers/iio/adc/max1363.c MAX1363_CHAN_B(3, 2, d3m2, 7, bits, ev_spec, num_ev_spec), \ bits 548 drivers/iio/adc/max1363.c #define MAX1363_12X_CHANS(bits) { \ bits 549 drivers/iio/adc/max1363.c MAX1363_CHAN_U(0, _s0, 0, bits, NULL, 0), \ bits 550 drivers/iio/adc/max1363.c MAX1363_CHAN_U(1, _s1, 1, bits, NULL, 0), \ bits 551 drivers/iio/adc/max1363.c MAX1363_CHAN_U(2, _s2, 2, bits, NULL, 0), \ bits 552 drivers/iio/adc/max1363.c MAX1363_CHAN_U(3, _s3, 3, bits, NULL, 0), \ bits 553 drivers/iio/adc/max1363.c MAX1363_CHAN_U(4, _s4, 4, bits, NULL, 0), \ bits 554 drivers/iio/adc/max1363.c MAX1363_CHAN_U(5, _s5, 5, bits, NULL, 0), \ bits 555 drivers/iio/adc/max1363.c MAX1363_CHAN_U(6, _s6, 6, bits, NULL, 0), \ bits 556 drivers/iio/adc/max1363.c MAX1363_CHAN_U(7, _s7, 7, bits, NULL, 0), \ bits 557 drivers/iio/adc/max1363.c MAX1363_CHAN_U(8, _s8, 8, bits, NULL, 0), \ bits 558 drivers/iio/adc/max1363.c MAX1363_CHAN_U(9, _s9, 9, bits, NULL, 0), \ bits 559 drivers/iio/adc/max1363.c MAX1363_CHAN_U(10, _s10, 10, bits, NULL, 0), \ bits 560 drivers/iio/adc/max1363.c MAX1363_CHAN_U(11, _s11, 11, bits, NULL, 0), \ bits 561 drivers/iio/adc/max1363.c MAX1363_CHAN_B(0, 1, d0m1, 12, bits, NULL, 0), \ bits 562 drivers/iio/adc/max1363.c MAX1363_CHAN_B(2, 3, d2m3, 13, bits, NULL, 0), \ bits 563 drivers/iio/adc/max1363.c MAX1363_CHAN_B(4, 5, d4m5, 14, bits, NULL, 0), \ bits 564 drivers/iio/adc/max1363.c MAX1363_CHAN_B(6, 7, d6m7, 15, bits, NULL, 0), \ bits 565 drivers/iio/adc/max1363.c MAX1363_CHAN_B(8, 9, d8m9, 16, bits, NULL, 0), \ bits 566 drivers/iio/adc/max1363.c MAX1363_CHAN_B(10, 11, d10m11, 17, bits, NULL, 0), \ bits 567 drivers/iio/adc/max1363.c MAX1363_CHAN_B(1, 0, d1m0, 18, bits, NULL, 0), \ bits 568 drivers/iio/adc/max1363.c MAX1363_CHAN_B(3, 2, d3m2, 19, bits, NULL, 0), \ bits 569 drivers/iio/adc/max1363.c MAX1363_CHAN_B(5, 4, d5m4, 20, bits, NULL, 0), \ bits 570 drivers/iio/adc/max1363.c MAX1363_CHAN_B(7, 6, d7m6, 21, bits, NULL, 0), \ bits 571 drivers/iio/adc/max1363.c MAX1363_CHAN_B(9, 8, d9m8, 22, bits, NULL, 0), \ bits 572 drivers/iio/adc/max1363.c MAX1363_CHAN_B(11, 10, d11m10, 23, bits, NULL, 0), \ bits 597 drivers/iio/adc/max1363.c #define MAX1363_8X_CHANS(bits) { \ bits 598 drivers/iio/adc/max1363.c MAX1363_CHAN_U(0, _s0, 0, bits, NULL, 0), \ bits 599 drivers/iio/adc/max1363.c MAX1363_CHAN_U(1, _s1, 1, bits, NULL, 0), \ bits 600 drivers/iio/adc/max1363.c MAX1363_CHAN_U(2, _s2, 2, bits, NULL, 0), \ bits 601 drivers/iio/adc/max1363.c MAX1363_CHAN_U(3, _s3, 3, bits, NULL, 0), \ bits 602 drivers/iio/adc/max1363.c MAX1363_CHAN_U(4, _s4, 4, bits, NULL, 0), \ bits 603 drivers/iio/adc/max1363.c MAX1363_CHAN_U(5, _s5, 5, bits, NULL, 0), \ bits 604 drivers/iio/adc/max1363.c MAX1363_CHAN_U(6, _s6, 6, bits, NULL, 0), \ bits 605 drivers/iio/adc/max1363.c MAX1363_CHAN_U(7, _s7, 7, bits, NULL, 0), \ bits 606 drivers/iio/adc/max1363.c MAX1363_CHAN_B(0, 1, d0m1, 8, bits, NULL, 0), \ bits 607 drivers/iio/adc/max1363.c MAX1363_CHAN_B(2, 3, d2m3, 9, bits, NULL, 0), \ bits 608 drivers/iio/adc/max1363.c MAX1363_CHAN_B(4, 5, d4m5, 10, bits, NULL, 0), \ bits 609 drivers/iio/adc/max1363.c MAX1363_CHAN_B(6, 7, d6m7, 11, bits, NULL, 0), \ bits 610 drivers/iio/adc/max1363.c MAX1363_CHAN_B(1, 0, d1m0, 12, bits, NULL, 0), \ bits 611 drivers/iio/adc/max1363.c MAX1363_CHAN_B(3, 2, d3m2, 13, bits, NULL, 0), \ bits 612 drivers/iio/adc/max1363.c MAX1363_CHAN_B(5, 4, d5m4, 14, bits, NULL, 0), \ bits 613 drivers/iio/adc/max1363.c MAX1363_CHAN_B(7, 6, d7m6, 15, bits, NULL, 0), \ bits 624 drivers/iio/adc/max1363.c #define MAX1363_2X_CHANS(bits) { \ bits 625 drivers/iio/adc/max1363.c MAX1363_CHAN_U(0, _s0, 0, bits, NULL, 0), \ bits 626 drivers/iio/adc/max1363.c MAX1363_CHAN_U(1, _s1, 1, bits, NULL, 0), \ bits 627 drivers/iio/adc/max1363.c MAX1363_CHAN_B(0, 1, d0m1, 2, bits, NULL, 0), \ bits 628 drivers/iio/adc/max1363.c MAX1363_CHAN_B(1, 0, d1m0, 3, bits, NULL, 0), \ bits 742 drivers/iio/adc/max1363.c switch (st->chip_info->bits) { bits 1045 drivers/iio/adc/max1363.c .bits = 10, bits 1055 drivers/iio/adc/max1363.c .bits = 10, bits 1065 drivers/iio/adc/max1363.c .bits = 12, bits 1075 drivers/iio/adc/max1363.c .bits = 12, bits 1085 drivers/iio/adc/max1363.c .bits = 8, bits 1095 drivers/iio/adc/max1363.c .bits = 8, bits 1105 drivers/iio/adc/max1363.c .bits = 8, bits 1115 drivers/iio/adc/max1363.c .bits = 8, bits 1125 drivers/iio/adc/max1363.c .bits = 10, bits 1135 drivers/iio/adc/max1363.c .bits = 10, bits 1145 drivers/iio/adc/max1363.c .bits = 10, bits 1155 drivers/iio/adc/max1363.c .bits = 10, bits 1165 drivers/iio/adc/max1363.c .bits = 12, bits 1175 drivers/iio/adc/max1363.c .bits = 12, bits 1185 drivers/iio/adc/max1363.c .bits = 12, bits 1195 drivers/iio/adc/max1363.c .bits = 12, bits 1205 drivers/iio/adc/max1363.c .bits = 8, bits 1215 drivers/iio/adc/max1363.c .bits = 8, bits 1225 drivers/iio/adc/max1363.c .bits = 8, bits 1235 drivers/iio/adc/max1363.c .bits = 8, bits 1245 drivers/iio/adc/max1363.c .bits = 8, bits 1255 drivers/iio/adc/max1363.c .bits = 8, bits 1265 drivers/iio/adc/max1363.c .bits = 10, bits 1275 drivers/iio/adc/max1363.c .bits = 10, bits 1285 drivers/iio/adc/max1363.c .bits = 10, bits 1295 drivers/iio/adc/max1363.c .bits = 10, bits 1305 drivers/iio/adc/max1363.c .bits = 10, bits 1315 drivers/iio/adc/max1363.c .bits = 10, bits 1325 drivers/iio/adc/max1363.c .bits = 12, bits 1335 drivers/iio/adc/max1363.c .bits = 12, bits 1345 drivers/iio/adc/max1363.c .bits = 12, bits 1355 drivers/iio/adc/max1363.c .bits = 12, bits 1365 drivers/iio/adc/max1363.c .bits = 12, bits 1375 drivers/iio/adc/max1363.c .bits = 12, bits 1385 drivers/iio/adc/max1363.c .bits = 12, bits 1395 drivers/iio/adc/max1363.c .bits = 12, bits 1405 drivers/iio/adc/max1363.c .bits = 10, bits 1415 drivers/iio/adc/max1363.c .bits = 10, bits 1482 drivers/iio/adc/max1363.c if (st->chip_info->bits != 8) bits 1501 drivers/iio/adc/max1363.c if (st->chip_info->bits != 8) bits 1629 drivers/iio/adc/max1363.c && st->chip_info->bits == 8) { bits 471 drivers/iio/adc/stm32-adc.c static void stm32_adc_set_bits(struct stm32_adc *adc, u32 reg, u32 bits) bits 476 drivers/iio/adc/stm32-adc.c stm32_adc_writel(adc, reg, stm32_adc_readl(adc, reg) | bits); bits 480 drivers/iio/adc/stm32-adc.c static void stm32_adc_clr_bits(struct stm32_adc *adc, u32 reg, u32 bits) bits 485 drivers/iio/adc/stm32-adc.c stm32_adc_writel(adc, reg, stm32_adc_readl(adc, reg) & ~bits); bits 196 drivers/iio/adc/stm32-dfsdm-adc.c int bits, shift; bits 259 drivers/iio/adc/stm32-dfsdm-adc.c bits = fls(flo->res); bits 264 drivers/iio/adc/stm32-dfsdm-adc.c if (flo->res > BIT(bits - 1)) bits 265 drivers/iio/adc/stm32-dfsdm-adc.c bits++; bits 269 drivers/iio/adc/stm32-dfsdm-adc.c shift = DFSDM_DATA_RES - bits; bits 299 drivers/iio/adc/stm32-dfsdm-adc.c flo->res, bits, flo->rshift, bits 229 drivers/iio/adc/stx104.c unsigned long *bits) bits 233 drivers/iio/adc/stx104.c *bits = inb(stx104gpio->base); bits 266 drivers/iio/adc/stx104.c unsigned long *mask, unsigned long *bits) bits 276 drivers/iio/adc/stx104.c *bits >>= 4; bits 281 drivers/iio/adc/stx104.c stx104gpio->out_state |= *mask & *bits; bits 35 drivers/iio/adc/ti-adc081c.c int bits; bits 53 drivers/iio/adc/ti-adc081c.c *value = (err & 0xFFF) >> (12 - adc->bits); bits 62 drivers/iio/adc/ti-adc081c.c *shift = adc->bits; bits 96 drivers/iio/adc/ti-adc081c.c int bits; bits 102 drivers/iio/adc/ti-adc081c.c .bits = (_bits), \ bits 174 drivers/iio/adc/ti-adc081c.c adc->bits = model->bits; bits 53 drivers/iio/adc/ti-ads7950.c #define TI_ADS7950_EXTRACT(val, dec, bits) \ bits 54 drivers/iio/adc/ti-ads7950.c (((val) >> (dec)) & ((1 << (bits)) - 1)) bits 136 drivers/iio/adc/ti-ads7950.c #define TI_ADS7950_V_CHAN(index, bits) \ bits 148 drivers/iio/adc/ti-ads7950.c .realbits = bits, \ bits 150 drivers/iio/adc/ti-ads7950.c .shift = 12 - (bits), \ bits 155 drivers/iio/adc/ti-ads7950.c #define DECLARE_TI_ADS7950_4_CHANNELS(name, bits) \ bits 157 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(0, bits), \ bits 158 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(1, bits), \ bits 159 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(2, bits), \ bits 160 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(3, bits), \ bits 164 drivers/iio/adc/ti-ads7950.c #define DECLARE_TI_ADS7950_8_CHANNELS(name, bits) \ bits 166 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(0, bits), \ bits 167 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(1, bits), \ bits 168 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(2, bits), \ bits 169 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(3, bits), \ bits 170 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(4, bits), \ bits 171 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(5, bits), \ bits 172 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(6, bits), \ bits 173 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(7, bits), \ bits 177 drivers/iio/adc/ti-ads7950.c #define DECLARE_TI_ADS7950_12_CHANNELS(name, bits) \ bits 179 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(0, bits), \ bits 180 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(1, bits), \ bits 181 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(2, bits), \ bits 182 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(3, bits), \ bits 183 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(4, bits), \ bits 184 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(5, bits), \ bits 185 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(6, bits), \ bits 186 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(7, bits), \ bits 187 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(8, bits), \ bits 188 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(9, bits), \ bits 189 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(10, bits), \ bits 190 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(11, bits), \ bits 194 drivers/iio/adc/ti-ads7950.c #define DECLARE_TI_ADS7950_16_CHANNELS(name, bits) \ bits 196 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(0, bits), \ bits 197 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(1, bits), \ bits 198 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(2, bits), \ bits 199 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(3, bits), \ bits 200 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(4, bits), \ bits 201 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(5, bits), \ bits 202 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(6, bits), \ bits 203 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(7, bits), \ bits 204 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(8, bits), \ bits 205 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(9, bits), \ bits 206 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(10, bits), \ bits 207 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(11, bits), \ bits 208 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(12, bits), \ bits 209 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(13, bits), \ bits 210 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(14, bits), \ bits 211 drivers/iio/adc/ti-ads7950.c TI_ADS7950_V_CHAN(15, bits), \ bits 57 drivers/iio/adc/ti-tlc4541.c #define TLC4541_V_CHAN(bits, bitshift) { \ bits 63 drivers/iio/adc/ti-tlc4541.c .realbits = (bits), \ bits 70 drivers/iio/adc/ti-tlc4541.c #define DECLARE_TLC4541_CHANNELS(name, bits, bitshift) \ bits 72 drivers/iio/adc/ti-tlc4541.c TLC4541_V_CHAN(bits, bitshift), \ bits 396 drivers/iio/dac/ad5064.c #define AD5064_CHANNEL(chan, addr, bits, _shift, _ext_info) { \ bits 406 drivers/iio/dac/ad5064.c .realbits = (bits), \ bits 413 drivers/iio/dac/ad5064.c #define DECLARE_AD5064_CHANNELS(name, bits, shift, ext_info) \ bits 415 drivers/iio/dac/ad5064.c AD5064_CHANNEL(0, 0, bits, shift, ext_info), \ bits 416 drivers/iio/dac/ad5064.c AD5064_CHANNEL(1, 1, bits, shift, ext_info), \ bits 417 drivers/iio/dac/ad5064.c AD5064_CHANNEL(2, 2, bits, shift, ext_info), \ bits 418 drivers/iio/dac/ad5064.c AD5064_CHANNEL(3, 3, bits, shift, ext_info), \ bits 419 drivers/iio/dac/ad5064.c AD5064_CHANNEL(4, 4, bits, shift, ext_info), \ bits 420 drivers/iio/dac/ad5064.c AD5064_CHANNEL(5, 5, bits, shift, ext_info), \ bits 421 drivers/iio/dac/ad5064.c AD5064_CHANNEL(6, 6, bits, shift, ext_info), \ bits 422 drivers/iio/dac/ad5064.c AD5064_CHANNEL(7, 7, bits, shift, ext_info), \ bits 425 drivers/iio/dac/ad5064.c #define DECLARE_AD5065_CHANNELS(name, bits, shift, ext_info) \ bits 427 drivers/iio/dac/ad5064.c AD5064_CHANNEL(0, 0, bits, shift, ext_info), \ bits 428 drivers/iio/dac/ad5064.c AD5064_CHANNEL(1, 3, bits, shift, ext_info), \ bits 100 drivers/iio/dac/ad5360.c #define AD5360_CHANNEL(bits) { \ bits 111 drivers/iio/dac/ad5360.c .realbits = (bits), \ bits 113 drivers/iio/dac/ad5360.c .shift = 16 - (bits), \ bits 141 drivers/iio/dac/ad5446.c #define _AD5446_CHANNEL(bits, storage, _shift, ext) { \ bits 150 drivers/iio/dac/ad5446.c .realbits = (bits), \ bits 157 drivers/iio/dac/ad5446.c #define AD5446_CHANNEL(bits, storage, shift) \ bits 158 drivers/iio/dac/ad5446.c _AD5446_CHANNEL(bits, storage, shift, NULL) bits 160 drivers/iio/dac/ad5446.c #define AD5446_CHANNEL_POWERDOWN(bits, storage, shift) \ bits 161 drivers/iio/dac/ad5446.c _AD5446_CHANNEL(bits, storage, shift, ad5446_ext_info_powerdown) bits 197 drivers/iio/dac/ad5449.c #define AD5449_CHANNEL(chan, bits) { \ bits 207 drivers/iio/dac/ad5449.c .realbits = (bits), \ bits 209 drivers/iio/dac/ad5449.c .shift = 12 - (bits), \ bits 213 drivers/iio/dac/ad5449.c #define DECLARE_AD5449_CHANNELS(name, bits) \ bits 215 drivers/iio/dac/ad5449.c AD5449_CHANNEL(0, bits), \ bits 216 drivers/iio/dac/ad5449.c AD5449_CHANNEL(1, bits), \ bits 191 drivers/iio/dac/ad5686.c #define AD5868_CHANNEL(chan, addr, bits, _shift) { \ bits 201 drivers/iio/dac/ad5686.c .realbits = (bits), \ bits 208 drivers/iio/dac/ad5686.c #define DECLARE_AD5693_CHANNELS(name, bits, _shift) \ bits 210 drivers/iio/dac/ad5686.c AD5868_CHANNEL(0, 0, bits, _shift), \ bits 213 drivers/iio/dac/ad5686.c #define DECLARE_AD5686_CHANNELS(name, bits, _shift) \ bits 215 drivers/iio/dac/ad5686.c AD5868_CHANNEL(0, 1, bits, _shift), \ bits 216 drivers/iio/dac/ad5686.c AD5868_CHANNEL(1, 2, bits, _shift), \ bits 217 drivers/iio/dac/ad5686.c AD5868_CHANNEL(2, 4, bits, _shift), \ bits 218 drivers/iio/dac/ad5686.c AD5868_CHANNEL(3, 8, bits, _shift), \ bits 221 drivers/iio/dac/ad5686.c #define DECLARE_AD5676_CHANNELS(name, bits, _shift) \ bits 223 drivers/iio/dac/ad5686.c AD5868_CHANNEL(0, 0, bits, _shift), \ bits 224 drivers/iio/dac/ad5686.c AD5868_CHANNEL(1, 1, bits, _shift), \ bits 225 drivers/iio/dac/ad5686.c AD5868_CHANNEL(2, 2, bits, _shift), \ bits 226 drivers/iio/dac/ad5686.c AD5868_CHANNEL(3, 3, bits, _shift), \ bits 227 drivers/iio/dac/ad5686.c AD5868_CHANNEL(4, 4, bits, _shift), \ bits 228 drivers/iio/dac/ad5686.c AD5868_CHANNEL(5, 5, bits, _shift), \ bits 229 drivers/iio/dac/ad5686.c AD5868_CHANNEL(6, 6, bits, _shift), \ bits 230 drivers/iio/dac/ad5686.c AD5868_CHANNEL(7, 7, bits, _shift), \ bits 233 drivers/iio/dac/ad5686.c #define DECLARE_AD5679_CHANNELS(name, bits, _shift) \ bits 235 drivers/iio/dac/ad5686.c AD5868_CHANNEL(0, 0, bits, _shift), \ bits 236 drivers/iio/dac/ad5686.c AD5868_CHANNEL(1, 1, bits, _shift), \ bits 237 drivers/iio/dac/ad5686.c AD5868_CHANNEL(2, 2, bits, _shift), \ bits 238 drivers/iio/dac/ad5686.c AD5868_CHANNEL(3, 3, bits, _shift), \ bits 239 drivers/iio/dac/ad5686.c AD5868_CHANNEL(4, 4, bits, _shift), \ bits 240 drivers/iio/dac/ad5686.c AD5868_CHANNEL(5, 5, bits, _shift), \ bits 241 drivers/iio/dac/ad5686.c AD5868_CHANNEL(6, 6, bits, _shift), \ bits 242 drivers/iio/dac/ad5686.c AD5868_CHANNEL(7, 7, bits, _shift), \ bits 243 drivers/iio/dac/ad5686.c AD5868_CHANNEL(8, 8, bits, _shift), \ bits 244 drivers/iio/dac/ad5686.c AD5868_CHANNEL(9, 9, bits, _shift), \ bits 245 drivers/iio/dac/ad5686.c AD5868_CHANNEL(10, 10, bits, _shift), \ bits 246 drivers/iio/dac/ad5686.c AD5868_CHANNEL(11, 11, bits, _shift), \ bits 247 drivers/iio/dac/ad5686.c AD5868_CHANNEL(12, 12, bits, _shift), \ bits 248 drivers/iio/dac/ad5686.c AD5868_CHANNEL(13, 13, bits, _shift), \ bits 249 drivers/iio/dac/ad5686.c AD5868_CHANNEL(14, 14, bits, _shift), \ bits 250 drivers/iio/dac/ad5686.c AD5868_CHANNEL(15, 15, bits, _shift), \ bits 294 drivers/iio/dac/ad5791.c #define AD5791_CHAN(bits, _shift) { \ bits 305 drivers/iio/dac/ad5791.c .realbits = (bits), \ bits 47 drivers/iio/dac/ds4424.c u8 bits; bits 122 drivers/iio/dac/ds4424.c raw.bits = *val; bits 155 drivers/iio/dac/ds4424.c return ds4424_set_value(indio_dev, raw.bits, chan); bits 104 drivers/iio/dac/ltc1660.c #define LTC1660_CHAN(chan, bits) { \ bits 113 drivers/iio/dac/ltc1660.c .realbits = (bits), \ bits 115 drivers/iio/dac/ltc1660.c .shift = 12 - (bits), \ bits 119 drivers/iio/dac/ltc1660.c #define LTC1660_OCTAL_CHANNELS(bits) { \ bits 120 drivers/iio/dac/ltc1660.c LTC1660_CHAN(LTC1660_REG_DAC_A, bits), \ bits 121 drivers/iio/dac/ltc1660.c LTC1660_CHAN(LTC1660_REG_DAC_B, bits), \ bits 122 drivers/iio/dac/ltc1660.c LTC1660_CHAN(LTC1660_REG_DAC_C, bits), \ bits 123 drivers/iio/dac/ltc1660.c LTC1660_CHAN(LTC1660_REG_DAC_D, bits), \ bits 124 drivers/iio/dac/ltc1660.c LTC1660_CHAN(LTC1660_REG_DAC_E, bits), \ bits 125 drivers/iio/dac/ltc1660.c LTC1660_CHAN(LTC1660_REG_DAC_F, bits), \ bits 126 drivers/iio/dac/ltc1660.c LTC1660_CHAN(LTC1660_REG_DAC_G, bits), \ bits 127 drivers/iio/dac/ltc1660.c LTC1660_CHAN(LTC1660_REG_DAC_H, bits), \ bits 35 drivers/iio/dac/mcp4922.c #define MCP4922_CHAN(chan, bits) { \ bits 44 drivers/iio/dac/mcp4922.c .realbits = (bits), \ bits 46 drivers/iio/dac/mcp4922.c .shift = 12 - (bits), \ bits 272 drivers/iio/gyro/fxas21002c_core.c enum fxas21002c_fields field, int bits) bits 289 drivers/iio/gyro/fxas21002c_core.c ret = regmap_field_write(data->regmap_fields[field], bits); bits 108 drivers/iio/humidity/dht11.c static unsigned char dht11_decode_byte(char *bits) bits 115 drivers/iio/humidity/dht11.c if (bits[i]) bits 125 drivers/iio/humidity/dht11.c char bits[DHT11_BITS_PER_READ]; bits 137 drivers/iio/humidity/dht11.c bits[i] = t > DHT11_THRESHOLD; bits 140 drivers/iio/humidity/dht11.c hum_int = dht11_decode_byte(bits); bits 141 drivers/iio/humidity/dht11.c hum_dec = dht11_decode_byte(&bits[8]); bits 142 drivers/iio/humidity/dht11.c temp_int = dht11_decode_byte(&bits[16]); bits 143 drivers/iio/humidity/dht11.c temp_dec = dht11_decode_byte(&bits[24]); bits 144 drivers/iio/humidity/dht11.c checksum = dht11_decode_byte(&bits[32]); bits 689 drivers/iio/imu/adis16400.c #define ADIS16400_VOLTAGE_CHAN(addr, bits, name, si, chn) { \ bits 701 drivers/iio/imu/adis16400.c .realbits = (bits), \ bits 708 drivers/iio/imu/adis16400.c #define ADIS16400_SUPPLY_CHAN(addr, bits) \ bits 709 drivers/iio/imu/adis16400.c ADIS16400_VOLTAGE_CHAN(addr, bits, "supply", ADIS16400_SCAN_SUPPLY, 0) bits 711 drivers/iio/imu/adis16400.c #define ADIS16400_AUX_ADC_CHAN(addr, bits) \ bits 712 drivers/iio/imu/adis16400.c ADIS16400_VOLTAGE_CHAN(addr, bits, NULL, ADIS16400_SCAN_ADC, 1) bits 714 drivers/iio/imu/adis16400.c #define ADIS16400_GYRO_CHAN(mod, addr, bits) { \ bits 727 drivers/iio/imu/adis16400.c .realbits = (bits), \ bits 734 drivers/iio/imu/adis16400.c #define ADIS16400_ACCEL_CHAN(mod, addr, bits) { \ bits 747 drivers/iio/imu/adis16400.c .realbits = (bits), \ bits 754 drivers/iio/imu/adis16400.c #define ADIS16400_MAGN_CHAN(mod, addr, bits) { \ bits 766 drivers/iio/imu/adis16400.c .realbits = (bits), \ bits 777 drivers/iio/imu/adis16400.c #define ADIS16400_MOD_TEMP_CHAN(mod, addr, bits) { \ bits 792 drivers/iio/imu/adis16400.c .realbits = (bits), \ bits 799 drivers/iio/imu/adis16400.c #define ADIS16400_TEMP_CHAN(addr, bits) { \ bits 811 drivers/iio/imu/adis16400.c .realbits = (bits), \ bits 818 drivers/iio/imu/adis16400.c #define ADIS16400_INCLI_CHAN(mod, addr, bits) { \ bits 829 drivers/iio/imu/adis16400.c .realbits = (bits), \ bits 184 drivers/iio/imu/bmi160/bmi160_core.c u8 bits; bits 189 drivers/iio/imu/bmi160/bmi160_core.c u8 bits; bits 324 drivers/iio/imu/bmi160/bmi160_core.c bmi160_scale_table[t].tbl[i].bits); bits 338 drivers/iio/imu/bmi160/bmi160_core.c if (bmi160_scale_table[t].tbl[i].bits == val) { bits 382 drivers/iio/imu/bmi160/bmi160_core.c bmi160_odr_table[t].tbl[i].bits); bits 397 drivers/iio/imu/bmi160/bmi160_core.c if (val == bmi160_odr_table[t].tbl[i].bits) bits 527 drivers/iio/imu/bmi160/bmi160_core.c unsigned int mask, unsigned int bits, bits 537 drivers/iio/imu/bmi160/bmi160_core.c val = (val & ~mask) | bits; bits 144 drivers/iio/light/cm3323.c int bits; bits 146 drivers/iio/light/cm3323.c bits = (data->reg_conf & CM3323_CONF_IT_MASK) >> bits 149 drivers/iio/light/cm3323.c if (bits >= ARRAY_SIZE(cm3323_int_time)) bits 152 drivers/iio/light/cm3323.c return bits; bits 103 drivers/iio/light/zopt2201.c unsigned int bits; /* sensor resolution in bits */ bits 272 drivers/iio/light/zopt2201.c (1 << (20 - zopt2201_resolution[data->res].bits)) / bits 288 drivers/iio/light/zopt2201.c *val2 *= (1 << (zopt2201_resolution[data->res].bits - 13)); bits 13064 drivers/infiniband/hw/hfi1/chip.c static void read_mod_write(struct hfi1_devdata *dd, u16 src, u64 bits, bits 13073 drivers/infiniband/hw/hfi1/chip.c reg |= bits; bits 13075 drivers/infiniband/hw/hfi1/chip.c reg &= ~bits; bits 13091 drivers/infiniband/hw/hfi1/chip.c u64 bits = 0; bits 13104 drivers/infiniband/hw/hfi1/chip.c if (!bit && bits) { bits 13105 drivers/infiniband/hw/hfi1/chip.c read_mod_write(dd, src - 1, bits, set); bits 13106 drivers/infiniband/hw/hfi1/chip.c bits = 0; bits 13108 drivers/infiniband/hw/hfi1/chip.c bits |= BIT_ULL(bit); bits 13110 drivers/infiniband/hw/hfi1/chip.c read_mod_write(dd, last, bits, set); bits 871 drivers/infiniband/hw/hfi1/sdma.h u8 bits) bits 876 drivers/infiniband/hw/hfi1/sdma.h ((bits & SDMA_AHG_FIELD_LEN_MASK) << bits 82 drivers/infiniband/hw/hns/hns_roce_db.c pgdir->bits[0] = pgdir->order0; bits 83 drivers/infiniband/hw/hns/hns_roce_db.c pgdir->bits[1] = pgdir->order1; bits 101 drivers/infiniband/hw/hns/hns_roce_db.c i = find_first_bit(pgdir->bits[o], HNS_ROCE_DB_PER_PAGE >> o); bits 109 drivers/infiniband/hw/hns/hns_roce_db.c clear_bit(i, pgdir->bits[o]); bits 114 drivers/infiniband/hw/hns/hns_roce_db.c set_bit(i ^ 1, pgdir->bits[order]); bits 170 drivers/infiniband/hw/hns/hns_roce_db.c set_bit(i, db->u.pgdir->bits[o]); bits 314 drivers/infiniband/hw/hns/hns_roce_device.h unsigned long **bits; bits 461 drivers/infiniband/hw/hns/hns_roce_device.h unsigned long *bits[HNS_ROCE_DB_TYPE_COUNT]; bits 80 drivers/infiniband/hw/hns/hns_roce_mr.c *seg = find_first_bit(buddy->bits[o], m); bits 89 drivers/infiniband/hw/hns/hns_roce_mr.c clear_bit(*seg, buddy->bits[o]); bits 95 drivers/infiniband/hw/hns/hns_roce_mr.c set_bit(*seg ^ 1, buddy->bits[o]); bits 112 drivers/infiniband/hw/hns/hns_roce_mr.c while (test_bit(seg ^ 1, buddy->bits[order])) { bits 113 drivers/infiniband/hw/hns/hns_roce_mr.c clear_bit(seg ^ 1, buddy->bits[order]); bits 119 drivers/infiniband/hw/hns/hns_roce_mr.c set_bit(seg, buddy->bits[order]); bits 131 drivers/infiniband/hw/hns/hns_roce_mr.c buddy->bits = kcalloc(buddy->max_order + 1, bits 132 drivers/infiniband/hw/hns/hns_roce_mr.c sizeof(*buddy->bits), bits 137 drivers/infiniband/hw/hns/hns_roce_mr.c if (!buddy->bits || !buddy->num_free) bits 142 drivers/infiniband/hw/hns/hns_roce_mr.c buddy->bits[i] = kcalloc(s, sizeof(long), GFP_KERNEL | bits 144 drivers/infiniband/hw/hns/hns_roce_mr.c if (!buddy->bits[i]) { bits 145 drivers/infiniband/hw/hns/hns_roce_mr.c buddy->bits[i] = vzalloc(array_size(s, sizeof(long))); bits 146 drivers/infiniband/hw/hns/hns_roce_mr.c if (!buddy->bits[i]) bits 151 drivers/infiniband/hw/hns/hns_roce_mr.c set_bit(0, buddy->bits[buddy->max_order]); bits 158 drivers/infiniband/hw/hns/hns_roce_mr.c kvfree(buddy->bits[i]); bits 161 drivers/infiniband/hw/hns/hns_roce_mr.c kfree(buddy->bits); bits 171 drivers/infiniband/hw/hns/hns_roce_mr.c kvfree(buddy->bits[i]); bits 173 drivers/infiniband/hw/hns/hns_roce_mr.c kfree(buddy->bits); bits 80 drivers/infiniband/hw/i40iw/i40iw_d.h #define LS_64_1(val, bits) ((u64)(uintptr_t)val << bits) bits 81 drivers/infiniband/hw/i40iw/i40iw_d.h #define RS_64_1(val, bits) ((u64)(uintptr_t)val >> bits) bits 82 drivers/infiniband/hw/i40iw/i40iw_d.h #define LS_32_1(val, bits) (u32)(val << bits) bits 83 drivers/infiniband/hw/i40iw/i40iw_d.h #define RS_32_1(val, bits) (u32)(val >> bits) bits 205 drivers/infiniband/hw/mthca/mthca_dev.h unsigned long **bits; bits 95 drivers/infiniband/hw/mthca/mthca_mr.c seg = find_first_bit(buddy->bits[o], m); bits 104 drivers/infiniband/hw/mthca/mthca_mr.c clear_bit(seg, buddy->bits[o]); bits 110 drivers/infiniband/hw/mthca/mthca_mr.c set_bit(seg ^ 1, buddy->bits[o]); bits 127 drivers/infiniband/hw/mthca/mthca_mr.c while (test_bit(seg ^ 1, buddy->bits[order])) { bits 128 drivers/infiniband/hw/mthca/mthca_mr.c clear_bit(seg ^ 1, buddy->bits[order]); bits 134 drivers/infiniband/hw/mthca/mthca_mr.c set_bit(seg, buddy->bits[order]); bits 147 drivers/infiniband/hw/mthca/mthca_mr.c buddy->bits = kcalloc(buddy->max_order + 1, sizeof(long *), bits 151 drivers/infiniband/hw/mthca/mthca_mr.c if (!buddy->bits || !buddy->num_free) bits 156 drivers/infiniband/hw/mthca/mthca_mr.c buddy->bits[i] = kmalloc_array(s, sizeof(long), GFP_KERNEL); bits 157 drivers/infiniband/hw/mthca/mthca_mr.c if (!buddy->bits[i]) bits 159 drivers/infiniband/hw/mthca/mthca_mr.c bitmap_zero(buddy->bits[i], bits 163 drivers/infiniband/hw/mthca/mthca_mr.c set_bit(0, buddy->bits[buddy->max_order]); bits 170 drivers/infiniband/hw/mthca/mthca_mr.c kfree(buddy->bits[i]); bits 173 drivers/infiniband/hw/mthca/mthca_mr.c kfree(buddy->bits); bits 184 drivers/infiniband/hw/mthca/mthca_mr.c kfree(buddy->bits[i]); bits 186 drivers/infiniband/hw/mthca/mthca_mr.c kfree(buddy->bits); bits 2930 drivers/infiniband/hw/qedr/verbs.c u8 *bits, u8 bit) bits 2945 drivers/infiniband/hw/qedr/verbs.c *bits |= bit; bits 749 drivers/infiniband/hw/qib/qib_iba6120.c u32 bits, ctrl; bits 829 drivers/infiniband/hw/qib/qib_iba6120.c bits = (u32) ((hwerrs >> bits 833 drivers/infiniband/hw/qib/qib_iba6120.c "[PCIe Mem Parity Errs %x] ", bits); bits 1299 drivers/infiniband/hw/qib/qib_iba7220.c u32 bits, ctrl; bits 1375 drivers/infiniband/hw/qib/qib_iba7220.c bits = (u32) ((hwerrs >> bits 1379 drivers/infiniband/hw/qib/qib_iba7220.c "[PCIe Mem Parity Errs %x] ", bits); bits 402 drivers/infiniband/hw/qib/qib_pcie.c u32 mask, bits, val; bits 431 drivers/infiniband/hw/qib/qib_pcie.c bits = 1U << 10; bits 433 drivers/infiniband/hw/qib/qib_pcie.c bits = 7U << 10; bits 437 drivers/infiniband/hw/qib/qib_pcie.c bits = 1U << 10; bits 441 drivers/infiniband/hw/qib/qib_pcie.c bits = 7U << 10; bits 445 drivers/infiniband/hw/qib/qib_pcie.c bits = 7U << 10; bits 453 drivers/infiniband/hw/qib/qib_pcie.c val |= bits; bits 57 drivers/infiniband/hw/qib/qib_wc_x86_64.c unsigned bits; bits 94 drivers/infiniband/hw/qib/qib_wc_x86_64.c for (bits = 0; !(piolen & (1ULL << bits)); bits++) bits 97 drivers/infiniband/hw/qib/qib_wc_x86_64.c if (piolen != (1ULL << bits)) { bits 98 drivers/infiniband/hw/qib/qib_wc_x86_64.c piolen >>= bits; bits 100 drivers/infiniband/hw/qib/qib_wc_x86_64.c bits++; bits 101 drivers/infiniband/hw/qib/qib_wc_x86_64.c piolen = 1ULL << (bits + 1); bits 247 drivers/infiniband/sw/rdmavt/qp.c unsigned long bits; bits 276 drivers/infiniband/sw/rdmavt/qp.c bits = xchg(&wss->entries[entry], 0); bits 277 drivers/infiniband/sw/rdmavt/qp.c weight = hweight64((u64)bits); bits 23 drivers/infiniband/sw/siw/iwarp.h __be16 bits; bits 47 drivers/infiniband/sw/siw/iwarp.h static inline void __mpa_rr_set_revision(__be16 *bits, u8 rev) bits 49 drivers/infiniband/sw/siw/iwarp.h *bits = (*bits & ~MPA_RR_MASK_REVISION) | bits 602 drivers/infiniband/sw/siw/siw_cm.c version = __mpa_rr_revision(req->params.bits); bits 616 drivers/infiniband/sw/siw/siw_cm.c (req->params.bits & MPA_RR_FLAG_ENHANCED)) { bits 629 drivers/infiniband/sw/siw/siw_cm.c if (req->params.bits & MPA_RR_FLAG_MARKERS) bits 632 drivers/infiniband/sw/siw/siw_cm.c if (req->params.bits & MPA_RR_FLAG_CRC) { bits 644 drivers/infiniband/sw/siw/siw_cm.c req->params.bits |= MPA_RR_FLAG_CRC; bits 695 drivers/infiniband/sw/siw/siw_cm.c req->params.bits & MPA_RR_FLAG_CRC ? 1 : 0, bits 697 drivers/infiniband/sw/siw/siw_cm.c req->params.bits & MPA_RR_FLAG_MARKERS ? 1 : 0, 0); bits 699 drivers/infiniband/sw/siw/siw_cm.c req->params.bits &= ~MPA_RR_FLAG_MARKERS; bits 700 drivers/infiniband/sw/siw/siw_cm.c req->params.bits |= MPA_RR_FLAG_REJECT; bits 703 drivers/infiniband/sw/siw/siw_cm.c req->params.bits &= ~MPA_RR_FLAG_CRC; bits 735 drivers/infiniband/sw/siw/siw_cm.c if (__mpa_rr_revision(rep->params.bits) > MPA_REVISION_2) { bits 747 drivers/infiniband/sw/siw/siw_cm.c if (rep->params.bits & MPA_RR_FLAG_REJECT) { bits 753 drivers/infiniband/sw/siw/siw_cm.c if (try_gso && rep->params.bits & MPA_RR_FLAG_GSO_EXP) { bits 757 drivers/infiniband/sw/siw/siw_cm.c if ((rep->params.bits & MPA_RR_FLAG_MARKERS) || bits 758 drivers/infiniband/sw/siw/siw_cm.c (mpa_crc_required && !(rep->params.bits & MPA_RR_FLAG_CRC)) || bits 760 drivers/infiniband/sw/siw/siw_cm.c (rep->params.bits & MPA_RR_FLAG_CRC))) { bits 762 drivers/infiniband/sw/siw/siw_cm.c rep->params.bits & MPA_RR_FLAG_CRC ? 1 : 0, bits 764 drivers/infiniband/sw/siw/siw_cm.c rep->params.bits & MPA_RR_FLAG_MARKERS ? 1 : 0, 0); bits 773 drivers/infiniband/sw/siw/siw_cm.c if (__mpa_rr_revision(rep->params.bits) < MPA_REVISION_2 || bits 774 drivers/infiniband/sw/siw/siw_cm.c !(rep->params.bits & MPA_RR_FLAG_ENHANCED)) { bits 780 drivers/infiniband/sw/siw/siw_cm.c __mpa_rr_revision(rep->params.bits), bits 781 drivers/infiniband/sw/siw/siw_cm.c rep->params.bits & MPA_RR_FLAG_ENHANCED ? bits 859 drivers/infiniband/sw/siw/siw_cm.c if (rep->params.bits & MPA_RR_FLAG_CRC) bits 1462 drivers/infiniband/sw/siw/siw_cm.c cep->mpa.hdr.params.bits = 0; bits 1469 drivers/infiniband/sw/siw/siw_cm.c __mpa_rr_set_revision(&cep->mpa.hdr.params.bits, version); bits 1472 drivers/infiniband/sw/siw/siw_cm.c cep->mpa.hdr.params.bits |= MPA_RR_FLAG_GSO_EXP; bits 1475 drivers/infiniband/sw/siw/siw_cm.c cep->mpa.hdr.params.bits |= MPA_RR_FLAG_CRC; bits 1485 drivers/infiniband/sw/siw/siw_cm.c cep->mpa.hdr.params.bits |= MPA_RR_FLAG_ENHANCED; bits 1604 drivers/infiniband/sw/siw/siw_cm.c if (try_gso && cep->mpa.hdr.params.bits & MPA_RR_FLAG_GSO_EXP) { bits 1676 drivers/infiniband/sw/siw/siw_cm.c if (cep->mpa.hdr.params.bits & MPA_RR_FLAG_CRC) bits 1770 drivers/infiniband/sw/siw/siw_cm.c if (__mpa_rr_revision(cep->mpa.hdr.params.bits) >= MPA_REVISION_1) { bits 1771 drivers/infiniband/sw/siw/siw_cm.c cep->mpa.hdr.params.bits |= MPA_RR_FLAG_REJECT; /* reject */ bits 634 drivers/input/evdev.c static int bits_to_user(unsigned long *bits, unsigned int maxbit, bits 646 drivers/input/evdev.c (compat_long_t *) bits + bits 655 drivers/input/evdev.c if (copy_to_user(p, bits, len)) bits 662 drivers/input/evdev.c static int bits_from_user(unsigned long *bits, unsigned int maxbit, bits 676 drivers/input/evdev.c if (copy_from_user((compat_long_t *) bits + bits 682 drivers/input/evdev.c *((compat_long_t *) bits + i - 1) = 0; bits 692 drivers/input/evdev.c if (copy_from_user(bits, p, len)) bits 701 drivers/input/evdev.c static int bits_to_user(unsigned long *bits, unsigned int maxbit, bits 711 drivers/input/evdev.c return copy_to_user(p, bits, len) ? -EFAULT : len; bits 714 drivers/input/evdev.c static int bits_from_user(unsigned long *bits, unsigned int maxbit, bits 728 drivers/input/evdev.c return copy_from_user(bits, p, len) ? -EFAULT : len; bits 735 drivers/input/evdev.c static int bits_to_user(unsigned long *bits, unsigned int maxbit, bits 743 drivers/input/evdev.c return copy_to_user(p, bits, len) ? -EFAULT : len; bits 746 drivers/input/evdev.c static int bits_from_user(unsigned long *bits, unsigned int maxbit, bits 758 drivers/input/evdev.c return copy_from_user(bits, p, len) ? -EFAULT : len; bits 781 drivers/input/evdev.c unsigned long *bits; bits 786 drivers/input/evdev.c case 0: bits = dev->evbit; len = EV_MAX; break; bits 787 drivers/input/evdev.c case EV_KEY: bits = dev->keybit; len = KEY_MAX; break; bits 788 drivers/input/evdev.c case EV_REL: bits = dev->relbit; len = REL_MAX; break; bits 789 drivers/input/evdev.c case EV_ABS: bits = dev->absbit; len = ABS_MAX; break; bits 790 drivers/input/evdev.c case EV_MSC: bits = dev->mscbit; len = MSC_MAX; break; bits 791 drivers/input/evdev.c case EV_LED: bits = dev->ledbit; len = LED_MAX; break; bits 792 drivers/input/evdev.c case EV_SND: bits = dev->sndbit; len = SND_MAX; break; bits 793 drivers/input/evdev.c case EV_FF: bits = dev->ffbit; len = FF_MAX; break; bits 794 drivers/input/evdev.c case EV_SW: bits = dev->swbit; len = SW_MAX; break; bits 798 drivers/input/evdev.c return bits_to_user(bits, len, size, p, compat_mode); bits 887 drivers/input/evdev.c unsigned long *bits, unsigned int maxbit, bits 901 drivers/input/evdev.c bitmap_copy(mem, bits, maxbit); bits 1042 drivers/input/input.c unsigned long bits, bool skip_empty) bits 1047 drivers/input/input.c u32 dword = bits >> 32; bits 1051 drivers/input/input.c dword = bits & 0xffffffffUL; bits 1056 drivers/input/input.c if (bits || !skip_empty) bits 1057 drivers/input/input.c len += snprintf(buf, buf_size, "%lx", bits); bits 1066 drivers/input/input.c unsigned long bits, bool skip_empty) bits 1068 drivers/input/input.c return bits || !skip_empty ? bits 1069 drivers/input/input.c snprintf(buf, buf_size, "%lx", bits) : 0; bits 1654 drivers/input/input.c #define INPUT_DO_TOGGLE(dev, type, bits, on) \ bits 1662 drivers/input/input.c for_each_set_bit(i, dev->bits##bit, type##_CNT) { \ bits 1663 drivers/input/input.c active = test_bit(i, dev->bits); \ bits 2065 drivers/input/input.c #define INPUT_CLEANSE_BITMASK(dev, type, bits) \ bits 2068 drivers/input/input.c memset(dev->bits##bit, 0, \ bits 2069 drivers/input/input.c sizeof(dev->bits##bit)); \ bits 188 drivers/input/joystick/adi.c int bits = 0; bits 192 drivers/input/joystick/adi.c bits |= ((adi->data[adi->idx - i] >> 5) & 1) << i; bits 193 drivers/input/joystick/adi.c return bits; bits 105 drivers/input/joystick/sidewinder.c int bits; bits 199 drivers/input/joystick/sidewinder.c #define GB(pos,num) sw_get_bits(buf, pos, num, sw->bits) bits 201 drivers/input/joystick/sidewinder.c static __u64 sw_get_bits(unsigned char *buf, int pos, int num, char bits) bits 204 drivers/input/joystick/sidewinder.c int tri = pos % bits; /* Start position */ bits 205 drivers/input/joystick/sidewinder.c int i = pos / bits; bits 210 drivers/input/joystick/sidewinder.c if (tri == bits) { bits 512 drivers/input/joystick/sidewinder.c static void sw_print_packet(char *name, int length, unsigned char *buf, char bits) bits 518 drivers/input/joystick/sidewinder.c printk("%x", (int)sw_get_bits(buf, i << 2, 4, bits)); bits 653 drivers/input/joystick/sidewinder.c sw->bits = m; bits 684 drivers/input/joystick/sidewinder.c sw->bits = 3; /* fall through */ bits 718 drivers/input/joystick/sidewinder.c int bits, code; bits 746 drivers/input/joystick/sidewinder.c for (j = 0; (bits = sw_bit[sw->type][j]); j++) { bits 750 drivers/input/joystick/sidewinder.c min = bits == 1 ? -1 : 0; bits 751 drivers/input/joystick/sidewinder.c max = (1 << bits) - 1; bits 752 drivers/input/joystick/sidewinder.c fuzz = (bits >> 1) >= 2 ? 1 << ((bits >> 1) - 2) : 0; bits 753 drivers/input/joystick/sidewinder.c flat = code == ABS_THROTTLE || bits < 5 ? bits 754 drivers/input/joystick/sidewinder.c 0 : 1 << (bits - 5); bits 51 drivers/input/keyboard/goldfish_events.c unsigned long bits[], unsigned int type, size_t count) bits 69 drivers/input/keyboard/goldfish_events.c set_bit(i + j, bits); bits 192 drivers/input/keyboard/gpio_keys.c unsigned long *bits; bits 196 drivers/input/keyboard/gpio_keys.c bits = bitmap_zalloc(n_events, GFP_KERNEL); bits 197 drivers/input/keyboard/gpio_keys.c if (!bits) bits 209 drivers/input/keyboard/gpio_keys.c __set_bit(*bdata->code, bits); bits 212 drivers/input/keyboard/gpio_keys.c ret = scnprintf(buf, PAGE_SIZE - 1, "%*pbl", n_events, bits); bits 216 drivers/input/keyboard/gpio_keys.c bitmap_free(bits); bits 236 drivers/input/keyboard/gpio_keys.c unsigned long *bits; bits 240 drivers/input/keyboard/gpio_keys.c bits = bitmap_zalloc(n_events, GFP_KERNEL); bits 241 drivers/input/keyboard/gpio_keys.c if (!bits) bits 244 drivers/input/keyboard/gpio_keys.c error = bitmap_parselist(buf, bits, n_events); bits 249 drivers/input/keyboard/gpio_keys.c if (!bitmap_subset(bits, bitmap, n_events)) { bits 260 drivers/input/keyboard/gpio_keys.c if (test_bit(*bdata->code, bits) && bits 275 drivers/input/keyboard/gpio_keys.c if (test_bit(*bdata->code, bits)) bits 284 drivers/input/keyboard/gpio_keys.c bitmap_free(bits); bits 59 drivers/input/keyboard/nspire-keypad.c u16 bits, changed; bits 68 drivers/input/keyboard/nspire-keypad.c bits = state[row]; bits 70 drivers/input/keyboard/nspire-keypad.c bits = ~bits; bits 72 drivers/input/keyboard/nspire-keypad.c changed = bits ^ keypad->state[row]; bits 76 drivers/input/keyboard/nspire-keypad.c keypad->state[row] = bits; bits 85 drivers/input/keyboard/nspire-keypad.c bits & (1U << col)); bits 373 drivers/input/keyboard/pmic8xxx-keypad.c int bits, rc, cycles; bits 381 drivers/input/keyboard/pmic8xxx-keypad.c bits = 0; bits 383 drivers/input/keyboard/pmic8xxx-keypad.c bits = kp->num_cols - KEYP_CTRL_SCAN_COLS_MIN; bits 384 drivers/input/keyboard/pmic8xxx-keypad.c ctrl_val = (bits & KEYP_CTRL_SCAN_COLS_BITS) << bits 389 drivers/input/keyboard/pmic8xxx-keypad.c bits = 0; bits 391 drivers/input/keyboard/pmic8xxx-keypad.c bits = row_bits[kp->num_rows - KEYP_CTRL_SCAN_ROWS_MIN]; bits 393 drivers/input/keyboard/pmic8xxx-keypad.c ctrl_val |= (bits << KEYP_CTRL_SCAN_ROWS_SHIFT); bits 430 drivers/input/keyboard/pmic8xxx-keypad.c bits = (debounce_ms / 5) - 1; bits 432 drivers/input/keyboard/pmic8xxx-keypad.c scan_val |= (bits << KEYP_SCAN_DBOUNCE_SHIFT); bits 434 drivers/input/keyboard/pmic8xxx-keypad.c bits = fls(scan_delay_ms) - 1; bits 435 drivers/input/keyboard/pmic8xxx-keypad.c scan_val |= (bits << KEYP_SCAN_PAUSE_SHIFT); bits 285 drivers/iommu/intel-pasid.c static inline void pasid_set_bits(u64 *ptr, u64 mask, u64 bits) bits 290 drivers/iommu/intel-pasid.c WRITE_ONCE(*ptr, (old & ~mask) | bits); bits 361 drivers/isdn/hardware/mISDN/hfcmulti.c char regname[256] = "", bits[9] = "xxxxxxxx"; bits 372 drivers/isdn/hardware/mISDN/hfcmulti.c bits[7] = '0' + (!!(val & 1)); bits 373 drivers/isdn/hardware/mISDN/hfcmulti.c bits[6] = '0' + (!!(val & 2)); bits 374 drivers/isdn/hardware/mISDN/hfcmulti.c bits[5] = '0' + (!!(val & 4)); bits 375 drivers/isdn/hardware/mISDN/hfcmulti.c bits[4] = '0' + (!!(val & 8)); bits 376 drivers/isdn/hardware/mISDN/hfcmulti.c bits[3] = '0' + (!!(val & 16)); bits 377 drivers/isdn/hardware/mISDN/hfcmulti.c bits[2] = '0' + (!!(val & 32)); bits 378 drivers/isdn/hardware/mISDN/hfcmulti.c bits[1] = '0' + (!!(val & 64)); bits 379 drivers/isdn/hardware/mISDN/hfcmulti.c bits[0] = '0' + (!!(val & 128)); bits 382 drivers/isdn/hardware/mISDN/hfcmulti.c hc->id, reg, regname, val, bits, function, line); bits 388 drivers/isdn/hardware/mISDN/hfcmulti.c char regname[256] = "", bits[9] = "xxxxxxxx"; bits 402 drivers/isdn/hardware/mISDN/hfcmulti.c bits[7] = '0' + (!!(val & 1)); bits 403 drivers/isdn/hardware/mISDN/hfcmulti.c bits[6] = '0' + (!!(val & 2)); bits 404 drivers/isdn/hardware/mISDN/hfcmulti.c bits[5] = '0' + (!!(val & 4)); bits 405 drivers/isdn/hardware/mISDN/hfcmulti.c bits[4] = '0' + (!!(val & 8)); bits 406 drivers/isdn/hardware/mISDN/hfcmulti.c bits[3] = '0' + (!!(val & 16)); bits 407 drivers/isdn/hardware/mISDN/hfcmulti.c bits[2] = '0' + (!!(val & 32)); bits 408 drivers/isdn/hardware/mISDN/hfcmulti.c bits[1] = '0' + (!!(val & 64)); bits 409 drivers/isdn/hardware/mISDN/hfcmulti.c bits[0] = '0' + (!!(val & 128)); bits 412 drivers/isdn/hardware/mISDN/hfcmulti.c hc->id, reg, regname, val, bits, function, line); bits 72 drivers/leds/leds-pca955x.c int bits; bits 79 drivers/leds/leds-pca955x.c .bits = 2, bits 84 drivers/leds/leds-pca955x.c .bits = 8, bits 89 drivers/leds/leds-pca955x.c .bits = 16, bits 94 drivers/leds/leds-pca955x.c .bits = 4, bits 134 drivers/leds/leds-pca955x.c static inline int pca95xx_num_input_regs(int bits) bits 136 drivers/leds/leds-pca955x.c return (bits + 7) / 8; bits 140 drivers/leds/leds-pca955x.c static inline int pca95xx_num_led_regs(int bits) bits 142 drivers/leds/leds-pca955x.c return (bits + 3) / 4; bits 165 drivers/leds/leds-pca955x.c pca95xx_num_input_regs(pca955x->chipdef->bits) + 2*n, bits 186 drivers/leds/leds-pca955x.c pca95xx_num_input_regs(pca955x->chipdef->bits) + 1 + 2*n, bits 204 drivers/leds/leds-pca955x.c pca95xx_num_input_regs(pca955x->chipdef->bits) + 4 + n, bits 222 drivers/leds/leds-pca955x.c pca95xx_num_input_regs(pca955x->chipdef->bits) + 4 + n); bits 371 drivers/leds/leds-pca955x.c if (!count || count > chip->bits) bits 379 drivers/leds/leds-pca955x.c chip->bits, sizeof(struct pca955x_led), bits 390 drivers/leds/leds-pca955x.c if ((res != 0) || (reg >= chip->bits)) bits 406 drivers/leds/leds-pca955x.c pdata->num_leds = chip->bits; bits 450 drivers/leds/leds-pca955x.c client->name, chip->bits, client->addr); bits 455 drivers/leds/leds-pca955x.c if (pdata->num_leds != chip->bits) { bits 458 drivers/leds/leds-pca955x.c pdata->num_leds, chip->bits); bits 467 drivers/leds/leds-pca955x.c chip->bits, sizeof(*pca955x_led), GFP_KERNEL); bits 477 drivers/leds/leds-pca955x.c for (i = 0; i < chip->bits; i++) { bits 166 drivers/mailbox/mailbox-sti.c unsigned long bits; bits 169 drivers/mailbox/mailbox-sti.c bits = readl_relaxed(base + STI_IRQ_VAL_OFFSET); bits 170 drivers/mailbox/mailbox-sti.c if (!bits) bits 175 drivers/mailbox/mailbox-sti.c for (channel = 0; bits; channel++) { bits 176 drivers/mailbox/mailbox-sti.c if (!test_and_clear_bit(channel, &bits)) bits 1252 drivers/md/bcache/request.c static int cached_dev_congested(void *data, int bits) bits 1259 drivers/md/bcache/request.c if (bdi_congested(q->backing_dev_info, bits)) bits 1268 drivers/md/bcache/request.c ret |= bdi_congested(q->backing_dev_info, bits); bits 1370 drivers/md/bcache/request.c static int flash_dev_congested(void *data, int bits) bits 1380 drivers/md/bcache/request.c ret |= bdi_congested(q->backing_dev_info, bits); bits 1572 drivers/md/dm-cache-metadata.c static int __set_dirty_bits_v1(struct dm_cache_metadata *cmd, unsigned nr_bits, unsigned long *bits) bits 1577 drivers/md/dm-cache-metadata.c r = __dirty(cmd, to_cblock(i), test_bit(i, bits)); bits 1587 drivers/md/dm-cache-metadata.c unsigned long *bits = context; bits 1588 drivers/md/dm-cache-metadata.c *value = test_bit(index, bits); bits 1592 drivers/md/dm-cache-metadata.c static int __set_dirty_bits_v2(struct dm_cache_metadata *cmd, unsigned nr_bits, unsigned long *bits) bits 1607 drivers/md/dm-cache-metadata.c return dm_bitset_new(&cmd->dirty_info, &cmd->dirty_root, nr_bits, is_dirty_callback, bits); bits 1612 drivers/md/dm-cache-metadata.c unsigned long *bits) bits 1618 drivers/md/dm-cache-metadata.c r = __set_dirty_bits_v2(cmd, nr_bits, bits); bits 1620 drivers/md/dm-cache-metadata.c r = __set_dirty_bits_v1(cmd, nr_bits, bits); bits 99 drivers/md/dm-cache-metadata.h unsigned nr_bits, unsigned long *bits); bits 132 drivers/md/dm-cache-policy-internal.h static inline void free_bitset(unsigned long *bits) bits 134 drivers/md/dm-cache-policy-internal.h vfree(bits); bits 40 drivers/md/dm-era-target.c unsigned long *bits; bits 49 drivers/md/dm-era-target.c vfree(ws->bits); bits 76 drivers/md/dm-era-target.c ws->bits = vzalloc(bitset_size(nr_blocks)); bits 77 drivers/md/dm-era-target.c if (!ws->bits) { bits 92 drivers/md/dm-era-target.c memset(ws->bits, 0, bitset_size(ws->md.nr_bits)); bits 105 drivers/md/dm-era-target.c return test_bit(block, ws->bits); bits 137 drivers/md/dm-era-target.c if (!test_and_set_bit(block, ws->bits)) { bits 1723 drivers/md/dm-raid.c static int raid_is_congested(struct dm_target_callbacks *cb, int bits) bits 1727 drivers/md/dm-raid.c return mddev_congested(&rs->md, bits); bits 55 drivers/md/md-linear.c static int linear_congested(struct mddev *mddev, int bits) bits 65 drivers/md/md-linear.c ret |= bdi_congested(q->backing_dev_info, bits); bits 154 drivers/md/md-multipath.c static int multipath_congested(struct mddev *mddev, int bits) bits 165 drivers/md/md-multipath.c ret |= bdi_congested(q->backing_dev_info, bits); bits 454 drivers/md/md.c int mddev_congested(struct mddev *mddev, int bits) bits 463 drivers/md/md.c ret = pers->congested(mddev, bits); bits 468 drivers/md/md.c static int md_congested(void *data, int bits) bits 471 drivers/md/md.c return mddev_congested(mddev, bits); bits 594 drivers/md/md.h int (*congested)(struct mddev *mddev, int bits); bits 705 drivers/md/md.h extern int mddev_congested(struct mddev *mddev, int bits); bits 132 drivers/md/persistent-data/dm-space-map-common.c uint64_t bits = le64_to_cpu(*w_le); bits 133 drivers/md/persistent-data/dm-space-map-common.c uint64_t mask = (bits + WORD_MASK_HIGH + 1) & WORD_MASK_HIGH; bits 135 drivers/md/persistent-data/dm-space-map-common.c return !(~bits & mask); bits 32 drivers/md/raid0.c static int raid0_congested(struct mddev *mddev, int bits) bits 42 drivers/md/raid0.c ret |= bdi_congested(q->backing_dev_info, bits); bits 772 drivers/md/raid1.c static int raid1_congested(struct mddev *mddev, int bits) bits 777 drivers/md/raid1.c if ((bits & (1 << WB_async_congested)) && bits 792 drivers/md/raid1.c if ((bits & (1 << WB_async_congested)) || 1) bits 793 drivers/md/raid1.c ret |= bdi_congested(q->backing_dev_info, bits); bits 795 drivers/md/raid1.c ret &= bdi_congested(q->backing_dev_info, bits); bits 851 drivers/md/raid10.c static int raid10_congested(struct mddev *mddev, int bits) bits 856 drivers/md/raid10.c if ((bits & (1 << WB_async_congested)) && bits 869 drivers/md/raid10.c ret |= bdi_congested(q->backing_dev_info, bits); bits 5095 drivers/md/raid5.c static int raid5_congested(struct mddev *mddev, int bits) bits 36 drivers/media/common/saa7146/saa7146_fops.c void saa7146_res_free(struct saa7146_fh *fh, unsigned int bits) bits 41 drivers/media/common/saa7146/saa7146_fops.c BUG_ON((fh->resources & bits) != bits); bits 43 drivers/media/common/saa7146/saa7146_fops.c fh->resources &= ~bits; bits 44 drivers/media/common/saa7146/saa7146_fops.c vv->resources &= ~bits; bits 45 drivers/media/common/saa7146/saa7146_fops.c DEB_D("res: put 0x%02x, cur:0x%02x\n", bits, vv->resources); bits 1262 drivers/media/i2c/max2175.c u32 *bits) bits 1265 drivers/media/i2c/max2175.c *bits = load / 10; bits 1267 drivers/media/i2c/max2175.c *bits = load / 10 - 1; bits 3867 drivers/media/pci/bt8xx/bttv-cards.c u8 bits; bits 3878 drivers/media/pci/bt8xx/bttv-cards.c bits = micro[n]; bits 3881 drivers/media/pci/bt8xx/bttv-cards.c if (bits & 0x01) bits 3886 drivers/media/pci/bt8xx/bttv-cards.c bits >>= 1; bits 742 drivers/media/pci/bt8xx/bttv-driver.c void free_btres_lock(struct bttv *btv, struct bttv_fh *fh, int bits) bits 744 drivers/media/pci/bt8xx/bttv-driver.c if ((fh->resources & bits) != bits) { bits 748 drivers/media/pci/bt8xx/bttv-driver.c fh->resources &= ~bits; bits 749 drivers/media/pci/bt8xx/bttv-driver.c btv->resources &= ~bits; bits 751 drivers/media/pci/bt8xx/bttv-driver.c bits = btv->resources; bits 753 drivers/media/pci/bt8xx/bttv-driver.c if (0 == (bits & VIDEO_RESOURCES)) bits 756 drivers/media/pci/bt8xx/bttv-driver.c if (0 == (bits & VBI_RESOURCES)) bits 3348 drivers/media/pci/bt8xx/bttv-driver.c static char *bits[] = { bits 3358 drivers/media/pci/bt8xx/bttv-driver.c for (i = ARRAY_SIZE(bits)-1; i >= 0; i--) bits 3360 drivers/media/pci/bt8xx/bttv-driver.c pr_cont(" %s", bits[i]); bits 159 drivers/media/pci/bt8xx/bttv-gpio.c void bttv_gpio_bits(struct bttv_core *core, u32 mask, u32 bits) bits 168 drivers/media/pci/bt8xx/bttv-gpio.c data = data | (mask & bits); bits 354 drivers/media/pci/bt8xx/bttv.h void bttv_gpio_bits(struct bttv_core *core, u32 mask, u32 bits); bits 356 drivers/media/pci/bt8xx/bttv.h #define gpio_inout(mask,bits) bttv_gpio_inout(&btv->c, mask, bits) bits 359 drivers/media/pci/bt8xx/bttv.h #define gpio_bits(mask,bits) bttv_gpio_bits(&btv->c, mask, bits) bits 49 drivers/media/pci/bt8xx/dst.c union dst_gpio_packet bits; bits 51 drivers/media/pci/bt8xx/dst.c bits.psize = psize; bits 52 drivers/media/pci/bt8xx/dst.c bt878_device_control(state->bt, DST_IG_TS, &bits); bits 59 drivers/media/pci/bt8xx/dst.c union dst_gpio_packet bits; bits 78 drivers/media/pci/bt8xx/dst.c bits.outp.mask = enbb; bits 79 drivers/media/pci/bt8xx/dst.c bits.outp.highvals = outhigh; bits 80 drivers/media/pci/bt8xx/dst.c if ((err = bt878_device_control(state->bt, DST_IG_WRITE, &bits)) < 0) { bits 407 drivers/media/pci/cx23885/cx23885-core.c static char *bits[] = { bits 417 drivers/media/pci/cx23885/cx23885-core.c for (i = ARRAY_SIZE(bits) - 1; i >= 0; i--) bits 419 drivers/media/pci/cx23885/cx23885-core.c pr_cont(" %s", bits[i]); bits 322 drivers/media/pci/cx25821/cx25821-core.c static const char * const bits[] = { bits 332 drivers/media/pci/cx25821/cx25821-core.c for (i = ARRAY_SIZE(bits) - 1; i >= 0; i--) { bits 334 drivers/media/pci/cx25821/cx25821-core.c pr_cont(" %s", bits[i]); bits 1240 drivers/media/pci/cx25821/cx25821-core.c int len, u32 bits, u32 mask) bits 1244 drivers/media/pci/cx25821/cx25821-core.c printk(KERN_DEBUG pr_fmt("%s: %s [0x%x]"), name, tag, bits); bits 1247 drivers/media/pci/cx25821/cx25821-core.c if (!(bits & (1 << i))) bits 418 drivers/media/pci/cx25821/cx25821.h int len, u32 bits, u32 mask); bits 402 drivers/media/pci/cx88/cx88-core.c static const char * const bits[] = { bits 412 drivers/media/pci/cx88/cx88-core.c for (i = ARRAY_SIZE(bits) - 1; i >= 0; i--) bits 414 drivers/media/pci/cx88/cx88-core.c pr_cont(" %s", bits[i]); bits 480 drivers/media/pci/cx88/cx88-core.c int len, u32 bits, u32 mask) bits 484 drivers/media/pci/cx88/cx88-core.c dprintk0("%s [0x%x]", tag, bits); bits 486 drivers/media/pci/cx88/cx88-core.c if (!(bits & (1 << i))) bits 528 drivers/media/pci/cx88/cx88-input.c unsigned int todo, bits; bits 544 drivers/media/pci/cx88/cx88-input.c for (todo = 32; todo > 0; todo -= bits) { bits 546 drivers/media/pci/cx88/cx88-input.c bits = min(todo, 32U - fls(ev.pulse ? samples : ~samples)); bits 547 drivers/media/pci/cx88/cx88-input.c ev.duration = (bits * (NSEC_PER_SEC / 1000)) / ir_samplerate; bits 549 drivers/media/pci/cx88/cx88-input.c samples <<= bits; bits 612 drivers/media/pci/cx88/cx88.h int len, u32 bits, u32 mask); bits 135 drivers/media/pci/pluto2/pluto2.c static inline void pluto_rw(struct pluto *pluto, u32 reg, u32 mask, u32 bits) bits 139 drivers/media/pci/pluto2/pluto2.c val |= bits; bits 737 drivers/media/pci/pt1/pt1.c int bits; bits 747 drivers/media/pci/pt1/pt1.c bits = pt1->power | !pt1->reset << 3; bits 753 drivers/media/pci/pt1/pt1.c bits |= 1 << 2; bits 756 drivers/media/pci/pt1/pt1.c bits |= 1 << 1 | 1 << 2; bits 763 drivers/media/pci/pt1/pt1.c bits |= sleep_bits[i]; bits 765 drivers/media/pci/pt1/pt1.c pt1_write_reg(pt1, 1, bits); bits 44 drivers/media/pci/tw5864/tw5864-h264.c static void bs_write(struct bs *s, int count, u32 bits) bits 50 drivers/media/pci/tw5864/tw5864-h264.c bits &= (1 << count) - 1; bits 52 drivers/media/pci/tw5864/tw5864-h264.c *s->ptr = (*s->ptr << count) | bits; bits 57 drivers/media/pci/tw5864/tw5864-h264.c (bits >> (count - s->bits_left)); bits 403 drivers/media/platform/aspeed-video.c u32 bits) bits 409 drivers/media/platform/aspeed-video.c t |= bits; bits 152 drivers/media/platform/davinci/vpif.h #define GENERATE_MASK(bits, pos) \ bits 153 drivers/media/platform/davinci/vpif.h ((((0xFFFFFFFF) << (32 - bits)) >> (32 - bits)) << pos) bits 228 drivers/media/platform/qcom/camss/camss-vfe-4-1.c u32 bits = readl_relaxed(vfe->base + reg); bits 230 drivers/media/platform/qcom/camss/camss-vfe-4-1.c writel_relaxed(bits & ~clr_bits, vfe->base + reg); bits 235 drivers/media/platform/qcom/camss/camss-vfe-4-1.c u32 bits = readl_relaxed(vfe->base + reg); bits 237 drivers/media/platform/qcom/camss/camss-vfe-4-1.c writel_relaxed(bits | set_bits, vfe->base + reg); bits 261 drivers/media/platform/qcom/camss/camss-vfe-4-7.c u32 bits = readl_relaxed(vfe->base + reg); bits 263 drivers/media/platform/qcom/camss/camss-vfe-4-7.c writel_relaxed(bits & ~clr_bits, vfe->base + reg); bits 268 drivers/media/platform/qcom/camss/camss-vfe-4-7.c u32 bits = readl_relaxed(vfe->base + reg); bits 270 drivers/media/platform/qcom/camss/camss-vfe-4-7.c writel_relaxed(bits | set_bits, vfe->base + reg); bits 705 drivers/media/platform/s5p-mfc/s5p_mfc_common.h unsigned int bits; bits 40 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c unsigned int bits = dev->mem_size >> PAGE_SHIFT; bits 48 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c start = bitmap_find_next_zero_area(dev->mem_bitmap, bits, 0, count, align); bits 49 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c if (start > bits) bits 740 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c writel(ctx->slice_size.bits, mfc_regs->e_mslice_size_bits); bits 786 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c ctx->slice_size.bits = p->slice_bit; bits 90 drivers/media/radio/radio-aimslab.c u8 bits = AIMS_BIT_VOL_DN | AIMS_BIT_VOL_UP | AIMS_BIT_TUN_STRQ; bits 93 drivers/media/radio/radio-aimslab.c bits |= AIMS_BIT_VOL_CE; bits 96 drivers/media/radio/radio-aimslab.c bits |= AIMS_BIT_TUN_DATA; bits 98 drivers/media/radio/radio-aimslab.c bits |= AIMS_BIT_TUN_CLK; bits 100 drivers/media/radio/radio-aimslab.c bits |= AIMS_BIT_TUN_CE; bits 102 drivers/media/radio/radio-aimslab.c outb_p(bits, rt->isa.io); bits 71 drivers/media/radio/radio-aztech.c u8 bits = az->curvol; bits 74 drivers/media/radio/radio-aztech.c bits |= AZTECH_BIT_TUN_DATA; bits 76 drivers/media/radio/radio-aztech.c bits |= AZTECH_BIT_TUN_CLK; bits 78 drivers/media/radio/radio-aztech.c bits |= AZTECH_BIT_TUN_CE; bits 80 drivers/media/radio/radio-aztech.c outb_p(bits, az->isa.io); bits 87 drivers/media/radio/radio-maxiradio.c u8 bits = 0; bits 89 drivers/media/radio/radio-maxiradio.c bits |= (pins & TEA575X_DATA) ? data : 0; bits 90 drivers/media/radio/radio-maxiradio.c bits |= (pins & TEA575X_CLK) ? clk : 0; bits 91 drivers/media/radio/radio-maxiradio.c bits |= (pins & TEA575X_WREN) ? wren : 0; bits 92 drivers/media/radio/radio-maxiradio.c bits |= power; bits 94 drivers/media/radio/radio-maxiradio.c outb(bits, dev->io); bits 102 drivers/media/radio/radio-maxiradio.c u8 bits = inb(dev->io); bits 104 drivers/media/radio/radio-maxiradio.c return ((bits & data) ? TEA575X_DATA : 0) | bits 105 drivers/media/radio/radio-maxiradio.c ((bits & mo_st) ? TEA575X_MOST : 0); bits 74 drivers/media/radio/radio-sf16fmi.c u8 bits = FMI_BIT_TUN_STRQ; bits 77 drivers/media/radio/radio-sf16fmi.c bits |= FMI_BIT_VOL_SW; bits 80 drivers/media/radio/radio-sf16fmi.c bits |= FMI_BIT_TUN_DATA; bits 82 drivers/media/radio/radio-sf16fmi.c bits |= FMI_BIT_TUN_CLK; bits 84 drivers/media/radio/radio-sf16fmi.c bits |= FMI_BIT_TUN_CE; bits 87 drivers/media/radio/radio-sf16fmi.c outb_p(bits, fmi->io); bits 63 drivers/media/radio/radio-sf16fmr2.c u8 bits = 0; bits 65 drivers/media/radio/radio-sf16fmr2.c bits |= (pins & TEA575X_DATA) ? STR_DATA : 0; bits 66 drivers/media/radio/radio-sf16fmr2.c bits |= (pins & TEA575X_CLK) ? STR_CLK : 0; bits 68 drivers/media/radio/radio-sf16fmr2.c bits |= (pins & TEA575X_WREN) ? 0 : STR_WREN | STR_DATA; bits 70 drivers/media/radio/radio-sf16fmr2.c outb(bits, fmr2->io); bits 76 drivers/media/radio/radio-sf16fmr2.c u8 bits = inb(fmr2->io); bits 78 drivers/media/radio/radio-sf16fmr2.c return ((bits & STR_DATA) ? TEA575X_DATA : 0) | bits 79 drivers/media/radio/radio-sf16fmr2.c ((bits & STR_MOST) ? TEA575X_MOST : 0); bits 43 drivers/media/rc/ir-imon-decoder.c if (imon->bits == 0x299115b7) bits 46 drivers/media/rc/ir-imon-decoder.c if ((imon->bits & 0xfc0000ff) == 0x680000b7) { bits 50 drivers/media/rc/ir-imon-decoder.c buf = imon->bits >> 16; bits 53 drivers/media/rc/ir-imon-decoder.c if (imon->bits & 0x02000000) bits 55 drivers/media/rc/ir-imon-decoder.c buf = imon->bits >> 8; bits 58 drivers/media/rc/ir-imon-decoder.c if (imon->bits & 0x01000000) bits 63 drivers/media/rc/ir-imon-decoder.c imon->bits = rel_y > 0 ? bits 67 drivers/media/rc/ir-imon-decoder.c imon->bits = rel_x > 0 ? bits 77 drivers/media/rc/ir-imon-decoder.c (imon->bits & 0x00010000) != 0); bits 79 drivers/media/rc/ir-imon-decoder.c (imon->bits & 0x00040000) != 0); bits 83 drivers/media/rc/ir-imon-decoder.c rc_keydown(dev, RC_PROTO_IMON, imon->bits, 0); bits 134 drivers/media/rc/ir-imon-decoder.c data->bits = 0; bits 146 drivers/media/rc/ir-imon-decoder.c data->bits <<= 1; bits 148 drivers/media/rc/ir-imon-decoder.c data->bits |= 1; bits 151 drivers/media/rc/ir-imon-decoder.c if (data->last_chk != !(data->bits & 3)) bits 94 drivers/media/rc/ir-jvc-decoder.c data->bits <<= 1; bits 96 drivers/media/rc/ir-jvc-decoder.c data->bits |= 1; bits 129 drivers/media/rc/ir-jvc-decoder.c scancode = (bitrev8((data->bits >> 8) & 0xff) << 8) | bits 130 drivers/media/rc/ir-jvc-decoder.c (bitrev8((data->bits >> 0) & 0xff) << 0); bits 134 drivers/media/rc/ir-jvc-decoder.c data->old_bits = data->bits; bits 135 drivers/media/rc/ir-jvc-decoder.c } else if (data->bits == data->old_bits) { bits 110 drivers/media/rc/ir-nec-decoder.c data->bits <<= 1; bits 112 drivers/media/rc/ir-nec-decoder.c data->bits |= 1; bits 142 drivers/media/rc/ir-nec-decoder.c address = bitrev8((data->bits >> 24) & 0xff); bits 143 drivers/media/rc/ir-nec-decoder.c not_address = bitrev8((data->bits >> 16) & 0xff); bits 144 drivers/media/rc/ir-nec-decoder.c command = bitrev8((data->bits >> 8) & 0xff); bits 145 drivers/media/rc/ir-nec-decoder.c not_command = bitrev8((data->bits >> 0) & 0xff); bits 83 drivers/media/rc/ir-rc5-decoder.c data->bits <<= 1; bits 85 drivers/media/rc/ir-rc5-decoder.c data->bits |= 1; bits 119 drivers/media/rc/ir-rc5-decoder.c xdata = (data->bits & 0x0003F) >> 0; bits 120 drivers/media/rc/ir-rc5-decoder.c command = (data->bits & 0x00FC0) >> 6; bits 121 drivers/media/rc/ir-rc5-decoder.c system = (data->bits & 0x1F000) >> 12; bits 122 drivers/media/rc/ir-rc5-decoder.c toggle = (data->bits & 0x20000) ? 1 : 0; bits 123 drivers/media/rc/ir-rc5-decoder.c command += (data->bits & 0x40000) ? 0 : 0x40; bits 134 drivers/media/rc/ir-rc5-decoder.c command = (data->bits & 0x0003F) >> 0; bits 135 drivers/media/rc/ir-rc5-decoder.c system = (data->bits & 0x007C0) >> 6; bits 136 drivers/media/rc/ir-rc5-decoder.c toggle = (data->bits & 0x00800) ? 1 : 0; bits 137 drivers/media/rc/ir-rc5-decoder.c command += (data->bits & 0x01000) ? 0 : 0x40; bits 148 drivers/media/rc/ir-rc5-decoder.c command = (data->bits & 0x0003F) >> 0; bits 149 drivers/media/rc/ir-rc5-decoder.c system = (data->bits & 0x02FC0) >> 6; bits 150 drivers/media/rc/ir-rc5-decoder.c toggle = (data->bits & 0x01000) ? 1 : 0; bits 337 drivers/media/rc/ir-rc6-decoder.c int bits; bits 342 drivers/media/rc/ir-rc6-decoder.c bits = 32; bits 345 drivers/media/rc/ir-rc6-decoder.c bits = 24; bits 348 drivers/media/rc/ir-rc6-decoder.c bits = 20; bits 370 drivers/media/rc/ir-rc6-decoder.c bits, bits 26 drivers/media/rc/ir-rcmm-decoder.c return !((0x000c0000 & data->bits) == 0x000c0000); bits 34 drivers/media/rc/ir-rcmm-decoder.c rc_keydown(dev, RC_PROTO_RCMM24, data->bits, 0); bits 42 drivers/media/rc/ir-rcmm-decoder.c rc_keydown(dev, RC_PROTO_RCMM12, data->bits, 0); bits 87 drivers/media/rc/ir-rcmm-decoder.c data->bits = 0; bits 131 drivers/media/rc/ir-rcmm-decoder.c data->bits <<= 2; bits 132 drivers/media/rc/ir-rcmm-decoder.c data->bits |= value; bits 151 drivers/media/rc/ir-rcmm-decoder.c toggle = !!(0x8000 & data->bits); bits 152 drivers/media/rc/ir-rcmm-decoder.c scancode = data->bits & ~0x8000; bits 155 drivers/media/rc/ir-rcmm-decoder.c scancode = data->bits; bits 110 drivers/media/rc/ir-sanyo-decoder.c data->bits <<= 1; bits 112 drivers/media/rc/ir-sanyo-decoder.c data->bits |= 1; bits 141 drivers/media/rc/ir-sanyo-decoder.c address = bitrev16((data->bits >> 29) & 0x1fff) >> 3; bits 143 drivers/media/rc/ir-sanyo-decoder.c command = bitrev8((data->bits >> 8) & 0xff); bits 144 drivers/media/rc/ir-sanyo-decoder.c not_command = bitrev8((data->bits >> 0) & 0xff); bits 148 drivers/media/rc/ir-sanyo-decoder.c data->bits); bits 83 drivers/media/rc/ir-sharp-decoder.c data->bits <<= 1; bits 86 drivers/media/rc/ir-sharp-decoder.c data->bits |= 1; bits 110 drivers/media/rc/ir-sharp-decoder.c if ((data->bits & 0x3) != 0x2 && bits 112 drivers/media/rc/ir-sharp-decoder.c (data->bits & 0x3) != 0x0) bits 141 drivers/media/rc/ir-sharp-decoder.c msg = (data->bits >> 15) & 0x7fff; bits 142 drivers/media/rc/ir-sharp-decoder.c echo = data->bits & 0x7fff; bits 80 drivers/media/rc/ir-sony-decoder.c data->bits <<= 1; bits 82 drivers/media/rc/ir-sony-decoder.c data->bits |= 1; bits 119 drivers/media/rc/ir-sony-decoder.c device = bitrev8((data->bits << 3) & 0xF8); bits 121 drivers/media/rc/ir-sony-decoder.c function = bitrev8((data->bits >> 4) & 0xFE); bits 128 drivers/media/rc/ir-sony-decoder.c device = bitrev8((data->bits >> 0) & 0xFF); bits 130 drivers/media/rc/ir-sony-decoder.c function = bitrev8((data->bits >> 7) & 0xFE); bits 137 drivers/media/rc/ir-sony-decoder.c device = bitrev8((data->bits >> 5) & 0xF8); bits 138 drivers/media/rc/ir-sony-decoder.c subdevice = bitrev8((data->bits >> 0) & 0xFF); bits 139 drivers/media/rc/ir-sony-decoder.c function = bitrev8((data->bits >> 12) & 0xFE); bits 98 drivers/media/rc/ir-spi.c int bits = (duty_cycle * 15) / 100; bits 100 drivers/media/rc/ir-spi.c idata->pulse = GENMASK(bits, 0); bits 149 drivers/media/rc/ite-cir.h #define ITE_BITS_TO_NS(bits, sample_period) \ bits 150 drivers/media/rc/ite-cir.h ((u32) ((bits) * ITE_BAUDRATE_DIVISOR * sample_period)) bits 70 drivers/media/rc/rc-core-priv.h u32 bits; bits 76 drivers/media/rc/rc-core-priv.h u32 bits; bits 90 drivers/media/rc/rc-core-priv.h u32 bits; bits 95 drivers/media/rc/rc-core-priv.h u16 bits; bits 104 drivers/media/rc/rc-core-priv.h u64 bits; bits 109 drivers/media/rc/rc-core-priv.h u32 bits; bits 131 drivers/media/rc/rc-core-priv.h unsigned int bits; bits 137 drivers/media/rc/rc-core-priv.h u32 bits; bits 231 drivers/media/rc/winbond-cir.c wbcir_set_bits(unsigned long addr, u8 bits, u8 mask) bits 236 drivers/media/rc/winbond-cir.c val = ((val & ~mask) | (bits & mask)); bits 229 drivers/media/usb/dvb-usb/af9005-fe.c u32 super_frame_count, x, bits; bits 302 drivers/media/usb/dvb-usb/af9005-fe.c bits = 2; bits 305 drivers/media/usb/dvb-usb/af9005-fe.c bits = 4; bits 308 drivers/media/usb/dvb-usb/af9005-fe.c bits = 6; bits 314 drivers/media/usb/dvb-usb/af9005-fe.c *pre_bit_count = super_frame_count * 68 * 4 * x * bits; bits 611 drivers/media/usb/em28xx/em28xx-i2c.c static inline unsigned long em28xx_hash_mem(char *buf, int length, int bits) bits 631 drivers/media/usb/em28xx/em28xx-i2c.c return (hash >> (32 - bits)) & 0xffffffffUL; bits 475 drivers/media/usb/gspca/se401.c int i, plen, bits, pixels, info, count; bits 499 drivers/media/usb/gspca/se401.c bits = sd->packet[3] + (sd->packet[2] << 8); bits 502 drivers/media/usb/gspca/se401.c plen = ((bits + 47) >> 4) << 1; bits 767 drivers/media/usb/uvc/uvc_ctrl.c int bits = mapping->size; bits 774 drivers/media/usb/uvc/uvc_ctrl.c mask = ((1LL << bits) - 1) << offset; bits 776 drivers/media/usb/uvc/uvc_ctrl.c for (; bits > 0; data++) { bits 779 drivers/media/usb/uvc/uvc_ctrl.c bits -= 8 - (offset > 0 ? offset : 0); bits 781 drivers/media/usb/uvc/uvc_ctrl.c mask = (1 << bits) - 1; bits 797 drivers/media/usb/uvc/uvc_ctrl.c int bits = mapping->size; bits 812 drivers/media/usb/uvc/uvc_ctrl.c for (; bits > 0; data++) { bits 813 drivers/media/usb/uvc/uvc_ctrl.c mask = ((1LL << bits) - 1) << offset; bits 816 drivers/media/usb/uvc/uvc_ctrl.c bits -= 8 - offset; bits 1295 drivers/message/fusion/mptctl.c karg->pciInfo.u.bits.busNumber = pdev->bus->number; bits 1296 drivers/message/fusion/mptctl.c karg->pciInfo.u.bits.deviceNumber = PCI_SLOT( pdev->devfn ); bits 1297 drivers/message/fusion/mptctl.c karg->pciInfo.u.bits.functionNumber = PCI_FUNC( pdev->devfn ); bits 1301 drivers/message/fusion/mptctl.c karg->pciInfo.u.bits.busNumber = pdev->bus->number; bits 1302 drivers/message/fusion/mptctl.c karg->pciInfo.u.bits.deviceNumber = PCI_SLOT( pdev->devfn ); bits 1303 drivers/message/fusion/mptctl.c karg->pciInfo.u.bits.functionNumber = PCI_FUNC( pdev->devfn ); bits 150 drivers/message/fusion/mptctl.h } bits; bits 161 drivers/message/fusion/mptctl.h } bits; bits 104 drivers/mfd/asic3.c static void asic3_set_register(struct asic3 *asic, u32 reg, u32 bits, bool set) bits 112 drivers/mfd/asic3.c val |= bits; bits 114 drivers/mfd/asic3.c val &= ~bits; bits 731 drivers/mfd/db8500-prcmu.c u32 bits; bits 745 drivers/mfd/db8500-prcmu.c bits = ((source << PRCM_CLKOCR_CLKOSEL0_SHIFT) | bits 751 drivers/mfd/db8500-prcmu.c bits = ((source << PRCM_CLKOCR_CLKOSEL1_SHIFT) | bits 754 drivers/mfd/db8500-prcmu.c bits &= mask; bits 761 drivers/mfd/db8500-prcmu.c if ((val & mask) != bits) { bits 766 drivers/mfd/db8500-prcmu.c if ((val & mask & ~div_mask) != bits) { bits 772 drivers/mfd/db8500-prcmu.c writel((bits | (val & ~mask)), PRCM_CLKOCR); bits 846 drivers/mfd/db8500-prcmu.c u32 bits; bits 851 drivers/mfd/db8500-prcmu.c for (i = 0, bits = 0; i < NUM_PRCMU_WAKEUP_INDICES; i++) { bits 853 drivers/mfd/db8500-prcmu.c bits |= prcmu_wakeup_bit[i]; bits 858 drivers/mfd/db8500-prcmu.c mb0_transfer.req.dbb_wakeups = bits; bits 2544 drivers/mfd/db8500-prcmu.c u32 bits; bits 2548 drivers/mfd/db8500-prcmu.c bits = (readl(PRCM_ARM_IT1_VAL) & ALL_MBOX_BITS); bits 2549 drivers/mfd/db8500-prcmu.c if (unlikely(!bits)) bits 2553 drivers/mfd/db8500-prcmu.c for (n = 0; bits; n++) { bits 2554 drivers/mfd/db8500-prcmu.c if (bits & MBOX_BIT(n)) { bits 2555 drivers/mfd/db8500-prcmu.c bits -= MBOX_BIT(n); bits 151 drivers/mfd/dm355evm_msp.c int mask, bits; bits 161 drivers/mfd/dm355evm_msp.c bits = msp_led_cache; bits 163 drivers/mfd/dm355evm_msp.c bits &= ~mask; bits 165 drivers/mfd/dm355evm_msp.c bits |= mask; bits 166 drivers/mfd/dm355evm_msp.c msp_led_cache = bits; bits 168 drivers/mfd/dm355evm_msp.c return dm355evm_msp_write(bits, DM355EVM_MSP_LED); bits 216 drivers/mfd/ezx-pcap.c void pcap_set_ts_bits(struct pcap_chip *pcap, u32 bits) bits 224 drivers/mfd/ezx-pcap.c tmp |= bits & (PCAP_ADC_TS_M_MASK | PCAP_ADC_TS_REF_LOWPWR); bits 91 drivers/mfd/pcf50633-irq.c u8 reg, bits; bits 94 drivers/mfd/pcf50633-irq.c bits = 1 << (irq & 0x07); bits 96 drivers/mfd/pcf50633-irq.c return pcf->mask_regs[reg] & bits; bits 126 drivers/mfd/qcom-pm8xxx.c unsigned int bits; bits 128 drivers/mfd/qcom-pm8xxx.c ret = pm8xxx_read_block_irq(chip, block, &bits); bits 133 drivers/mfd/qcom-pm8xxx.c if (!bits) { bits 140 drivers/mfd/qcom-pm8xxx.c if (bits & (1 << i)) { bits 203 drivers/mfd/qcom-pm8xxx.c unsigned int bits; bits 206 drivers/mfd/qcom-pm8xxx.c PM8821_SSBI_ADDR_IRQ_ROOT(master, block), &bits); bits 217 drivers/mfd/qcom-pm8xxx.c if (bits & BIT(i)) { bits 331 drivers/mfd/qcom-pm8xxx.c unsigned int bits; bits 349 drivers/mfd/qcom-pm8xxx.c rc = regmap_read(chip->regmap, SSBI_REG_ADDR_IRQ_RT_STATUS, &bits); bits 355 drivers/mfd/qcom-pm8xxx.c *state = !!(bits & BIT(irq_bit)); bits 459 drivers/mfd/qcom-pm8xxx.c unsigned int bits; bits 467 drivers/mfd/qcom-pm8xxx.c PM8821_SSBI_ADDR_IRQ_RT_STATUS(master, block), &bits); bits 473 drivers/mfd/qcom-pm8xxx.c *state = !!(bits & BIT(irq_bit)); bits 207 drivers/mfd/stmfx.c unsigned long bits; bits 226 drivers/mfd/stmfx.c bits = pending; bits 227 drivers/mfd/stmfx.c for_each_set_bit(n, &bits, STMFX_REG_IRQ_SRC_MAX) bits 61 drivers/mfd/twl4030-irq.c u8 bits; /* valid in isr/imr */ bits 83 drivers/mfd/twl4030-irq.c .bits = nbits, \ bits 114 drivers/mfd/twl4030-irq.c .bits = TWL4030_GPIO_MAX, bits 138 drivers/mfd/twl4030-irq.c .bits = 12, bits 174 drivers/mfd/twl4030-irq.c .bits = TWL4030_GPIO_MAX, bits 197 drivers/mfd/twl4030-irq.c .bits = 7, bits 232 drivers/mfd/twl4030-irq.c .bits = 9, bits 246 drivers/mfd/twl4030-irq.c .bits = 2, bits 601 drivers/mfd/twl4030-irq.c if (irq < sih->bits) bits 642 drivers/mfd/twl4030-irq.c for (i = 0; i < sih->bits; i++) { bits 39 drivers/misc/altera-stapl/altera-comp.c static u32 altera_read_packed(u8 *buffer, u32 bits, u32 *bits_avail, bits 46 drivers/misc/altera-stapl/altera-comp.c while (bits > 0) { bits 51 drivers/misc/altera-stapl/altera-comp.c if (bits <= *bits_avail) { bits 52 drivers/misc/altera-stapl/altera-comp.c result &= (0xffff >> (SHORT_BITS - (bits + shift))); bits 53 drivers/misc/altera-stapl/altera-comp.c *bits_avail -= bits; bits 54 drivers/misc/altera-stapl/altera-comp.c bits = 0; bits 58 drivers/misc/altera-stapl/altera-comp.c bits -= *bits_avail; bits 22 drivers/misc/cb710/debug.c static inline int allow_reg_read(unsigned block, unsigned offset, unsigned bits) bits 24 drivers/misc/cb710/debug.c unsigned mask = (1 << bits/8) - 1; bits 25 drivers/misc/cb710/debug.c offset *= bits/8; bits 135 drivers/misc/echo/echo.c static inline int top_bit(unsigned int bits) bits 137 drivers/misc/echo/echo.c if (bits == 0) bits 140 drivers/misc/echo/echo.c return (int)fls((int32_t) bits) - 1; bits 268 drivers/misc/eeprom/at24.c unsigned int bits; bits 277 drivers/misc/eeprom/at24.c bits = (at24->flags & AT24_FLAG_ADDR16) ? 16 : 8; bits 278 drivers/misc/eeprom/at24.c remainder = BIT(bits) - offset; bits 82 drivers/misc/eeprom/eeprom_93xx46.c int bits; bits 86 drivers/misc/eeprom/eeprom_93xx46.c bits = 10; bits 91 drivers/misc/eeprom/eeprom_93xx46.c bits = 9; bits 103 drivers/misc/eeprom/eeprom_93xx46.c t[0].bits_per_word = bits; bits 138 drivers/misc/eeprom/eeprom_93xx46.c int bits, ret; bits 144 drivers/misc/eeprom/eeprom_93xx46.c bits = 10; bits 147 drivers/misc/eeprom/eeprom_93xx46.c bits = 9; bits 152 drivers/misc/eeprom/eeprom_93xx46.c bits += 2; bits 156 drivers/misc/eeprom/eeprom_93xx46.c is_on ? "en" : "ds", cmd_addr, bits); bits 163 drivers/misc/eeprom/eeprom_93xx46.c t.bits_per_word = bits; bits 191 drivers/misc/eeprom/eeprom_93xx46.c int bits, data_len, ret; bits 198 drivers/misc/eeprom/eeprom_93xx46.c bits = 10; bits 202 drivers/misc/eeprom/eeprom_93xx46.c bits = 9; bits 213 drivers/misc/eeprom/eeprom_93xx46.c t[0].bits_per_word = bits; bits 281 drivers/misc/eeprom/eeprom_93xx46.c int bits, ret; bits 287 drivers/misc/eeprom/eeprom_93xx46.c bits = 10; bits 290 drivers/misc/eeprom/eeprom_93xx46.c bits = 9; bits 295 drivers/misc/eeprom/eeprom_93xx46.c bits += 2; bits 298 drivers/misc/eeprom/eeprom_93xx46.c dev_dbg(&edev->spi->dev, "eral cmd 0x%04x, %d bits\n", cmd_addr, bits); bits 305 drivers/misc/eeprom/eeprom_93xx46.c t.bits_per_word = bits; bits 105 drivers/misc/mic/vop/vop_main.c unsigned int i, bits; bits 111 drivers/misc/mic/vop/vop_main.c bits = min_t(unsigned, feature_len, sizeof(vdev->features)) * 8; bits 112 drivers/misc/mic/vop/vop_main.c for (i = 0; i < bits; i++) bits 131 drivers/misc/mic/vop/vop_main.c unsigned int i, bits; bits 145 drivers/misc/mic/vop/vop_main.c bits = min_t(unsigned, feature_len, bits 147 drivers/misc/mic/vop/vop_main.c for (i = 0; i < bits; i++) { bits 157 drivers/misc/sgi-gru/grumain.c unsigned long bits = 0; bits 165 drivers/misc/sgi-gru/grumain.c __set_bit(i, &bits); bits 169 drivers/misc/sgi-gru/grumain.c return bits; bits 722 drivers/mtd/nand/raw/brcmnand/brcmnand.c unsigned int shift = 0, bits; bits 727 drivers/mtd/nand/raw/brcmnand/brcmnand.c bits = 7; bits 729 drivers/mtd/nand/raw/brcmnand/brcmnand.c bits = 6; bits 731 drivers/mtd/nand/raw/brcmnand/brcmnand.c bits = 5; bits 733 drivers/mtd/nand/raw/brcmnand/brcmnand.c bits = 4; bits 738 drivers/mtd/nand/raw/brcmnand/brcmnand.c shift = (cs % 4) * bits; bits 742 drivers/mtd/nand/raw/brcmnand/brcmnand.c shift = (cs % 5) * bits; bits 744 drivers/mtd/nand/raw/brcmnand/brcmnand.c brcmnand_rmw_reg(ctrl, reg, (bits - 1) << shift, shift, val); bits 139 drivers/mtd/nand/raw/mpc5121_nfc.c static inline void nfc_set(struct mtd_info *mtd, uint reg, u16 bits) bits 141 drivers/mtd/nand/raw/mpc5121_nfc.c nfc_write(mtd, reg, nfc_read(mtd, reg) | bits); bits 145 drivers/mtd/nand/raw/mpc5121_nfc.c static inline void nfc_clear(struct mtd_info *mtd, uint reg, u16 bits) bits 147 drivers/mtd/nand/raw/mpc5121_nfc.c nfc_write(mtd, reg, nfc_read(mtd, reg) & ~bits); bits 4458 drivers/mtd/nand/raw/nand_base.c int bits; bits 4460 drivers/mtd/nand/raw/nand_base.c bits = cellinfo & NAND_CI_CELLTYPE_MSK; bits 4461 drivers/mtd/nand/raw/nand_base.c bits >>= NAND_CI_CELLTYPE_SHIFT; bits 4462 drivers/mtd/nand/raw/nand_base.c return bits + 1; bits 173 drivers/mtd/nand/raw/nand_bbt.c int bits = td->options & NAND_BBT_NRBITS_MSK; bits 174 drivers/mtd/nand/raw/nand_bbt.c uint8_t msk = (uint8_t)((1 << bits) - 1); bits 178 drivers/mtd/nand/raw/nand_bbt.c totlen = (num * bits) >> 3; bits 212 drivers/mtd/nand/raw/nand_bbt.c for (j = 0; j < 8; j += bits, act++) { bits 720 drivers/mtd/nand/raw/nand_bbt.c int bits, page, offs, numblocks, sft, sftmsk; bits 768 drivers/mtd/nand/raw/nand_bbt.c bits = td->options & NAND_BBT_NRBITS_MSK; bits 770 drivers/mtd/nand/raw/nand_bbt.c switch (bits) { bits 1163 drivers/mtd/nand/raw/nand_bbt.c u32 bits; bits 1170 drivers/mtd/nand/raw/nand_bbt.c bits = bd->options & NAND_BBT_NRBITS_MSK; bits 1174 drivers/mtd/nand/raw/nand_bbt.c BUG_ON(!bits); bits 1193 drivers/mtd/nand/raw/nand_bbt.c table_size *= bits; bits 64 drivers/mtd/nand/raw/sharpsl.c unsigned char bits = ctrl & 0x07; bits 66 drivers/mtd/nand/raw/sharpsl.c bits |= (ctrl & 0x01) << 4; bits 68 drivers/mtd/nand/raw/sharpsl.c bits ^= 0x11; bits 70 drivers/mtd/nand/raw/sharpsl.c writeb((readb(sharpsl->io + FLASHCTL) & ~0x17) | bits, sharpsl->io + FLASHCTL); bits 183 drivers/mtd/nand/raw/vf610_nfc.c static inline void vf610_nfc_set(struct vf610_nfc *nfc, uint reg, u32 bits) bits 185 drivers/mtd/nand/raw/vf610_nfc.c vf610_nfc_write(nfc, reg, vf610_nfc_read(nfc, reg) | bits); bits 188 drivers/mtd/nand/raw/vf610_nfc.c static inline void vf610_nfc_clear(struct vf610_nfc *nfc, uint reg, u32 bits) bits 190 drivers/mtd/nand/raw/vf610_nfc.c vf610_nfc_write(nfc, reg, vf610_nfc_read(nfc, reg) & ~bits); bits 376 drivers/mtd/tests/torturetest.c int bytes, bits, pages, first; bits 383 drivers/mtd/tests/torturetest.c bytes = bits = pages = 0; bits 386 drivers/mtd/tests/torturetest.c &bits) >= 0) bits 390 drivers/mtd/tests/torturetest.c pages, bytes, bits); bits 396 drivers/mtd/tests/torturetest.c bytes = bits = 0; bits 398 drivers/mtd/tests/torturetest.c &bits); bits 408 drivers/mtd/tests/torturetest.c bytes, bits, first); bits 79 drivers/mux/mmio.c int bits; bits 110 drivers/mux/mmio.c bits = 1 + field.msb - field.lsb; bits 111 drivers/mux/mmio.c mux->states = 1 << bits; bits 77 drivers/net/caif/caif_hsi.c if (!test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) bits 157 drivers/net/caif/caif_hsi.c if (!test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) bits 185 drivers/net/caif/caif_hsi.c set_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits); bits 189 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits); bits 198 drivers/net/caif/caif_hsi.c !test_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits), ret); bits 337 drivers/net/caif/caif_hsi.c if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) bits 370 drivers/net/caif/caif_hsi.c if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) bits 406 drivers/net/caif/caif_hsi.c if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) bits 624 drivers/net/caif/caif_hsi.c if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) bits 688 drivers/net/caif/caif_hsi.c if (test_bit(CFHSI_AWAKE, &cfhsi->bits)) { bits 757 drivers/net/caif/caif_hsi.c if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) bits 760 drivers/net/caif/caif_hsi.c if (test_and_clear_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits)) bits 775 drivers/net/caif/caif_hsi.c if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) bits 778 drivers/net/caif/caif_hsi.c if (unlikely(test_bit(CFHSI_AWAKE, &cfhsi->bits))) { bits 781 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_WAKE_UP, &cfhsi->bits); bits 782 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_WAKE_UP_ACK, &cfhsi->bits); bits 796 drivers/net/caif/caif_hsi.c &cfhsi->bits), ret); bits 802 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_WAKE_UP, &cfhsi->bits); bits 829 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_WAKE_UP_ACK, &cfhsi->bits); bits 835 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_WAKE_UP, &cfhsi->bits); bits 844 drivers/net/caif/caif_hsi.c set_bit(CFHSI_AWAKE, &cfhsi->bits); bits 845 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_WAKE_UP, &cfhsi->bits); bits 855 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_WAKE_UP_ACK, &cfhsi->bits); bits 903 drivers/net/caif/caif_hsi.c if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) bits 913 drivers/net/caif/caif_hsi.c &cfhsi->bits), ret); bits 950 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_AWAKE, &cfhsi->bits); bits 975 drivers/net/caif/caif_hsi.c set_bit(CFHSI_WAKE_UP_ACK, &cfhsi->bits); bits 978 drivers/net/caif/caif_hsi.c if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) bits 982 drivers/net/caif/caif_hsi.c if (!test_and_set_bit(CFHSI_WAKE_UP, &cfhsi->bits)) bits 995 drivers/net/caif/caif_hsi.c set_bit(CFHSI_WAKE_DOWN_ACK, &cfhsi->bits); bits 1048 drivers/net/caif/caif_hsi.c if (WARN_ON(test_bit(CFHSI_SHUTDOWN, &cfhsi->bits))) { bits 1101 drivers/net/caif/caif_hsi.c if (!test_and_set_bit(CFHSI_WAKE_UP, &cfhsi->bits)) bits 1136 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_SHUTDOWN, &cfhsi->bits); bits 1193 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_WAKE_UP_ACK, &cfhsi->bits); bits 1194 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_WAKE_DOWN_ACK, &cfhsi->bits); bits 1195 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_WAKE_UP, &cfhsi->bits); bits 1196 drivers/net/caif/caif_hsi.c clear_bit(CFHSI_AWAKE, &cfhsi->bits); bits 1257 drivers/net/caif/caif_hsi.c set_bit(CFHSI_SHUTDOWN, &cfhsi->bits); bits 190 drivers/net/can/c_can/c_can.h struct raminit_bits bits; bits 103 drivers/net/can/c_can/c_can_platform.c mask = 1 << raminit->bits.start | 1 << raminit->bits.done; bits 119 drivers/net/can/c_can/c_can_platform.c c_can_hw_raminit_wait_syscon(priv, 1 << raminit->bits.start, ctrl); bits 123 drivers/net/can/c_can/c_can_platform.c ctrl |= 1 << raminit->bits.start; bits 125 drivers/net/can/c_can/c_can_platform.c ctrl |= 1 << raminit->bits.done; bits 128 drivers/net/can/c_can/c_can_platform.c ctrl &= ~(1 << raminit->bits.done); bits 131 drivers/net/can/c_can/c_can_platform.c ctrl &= ~(1 << raminit->bits.start); bits 136 drivers/net/can/c_can/c_can_platform.c ctrl |= 1 << raminit->bits.done; bits 365 drivers/net/can/c_can/c_can_platform.c raminit->bits = drvdata->raminit_bits[id]; bits 65 drivers/net/dsa/microchip/ksz8795.c static void ksz_cfg(struct ksz_device *dev, u32 addr, u8 bits, bool set) bits 67 drivers/net/dsa/microchip/ksz8795.c regmap_update_bits(dev->regmap[0], addr, bits, set ? bits : 0); bits 70 drivers/net/dsa/microchip/ksz8795.c static void ksz_port_cfg(struct ksz_device *dev, int port, int offset, u8 bits, bits 74 drivers/net/dsa/microchip/ksz8795.c bits, set ? bits : 0); bits 67 drivers/net/dsa/microchip/ksz9477.c static void ksz_cfg(struct ksz_device *dev, u32 addr, u8 bits, bool set) bits 69 drivers/net/dsa/microchip/ksz9477.c regmap_update_bits(dev->regmap[0], addr, bits, set ? bits : 0); bits 72 drivers/net/dsa/microchip/ksz9477.c static void ksz_port_cfg(struct ksz_device *dev, int port, int offset, u8 bits, bits 76 drivers/net/dsa/microchip/ksz9477.c bits, set ? bits : 0); bits 79 drivers/net/dsa/microchip/ksz9477.c static void ksz9477_cfg32(struct ksz_device *dev, u32 addr, u32 bits, bool set) bits 81 drivers/net/dsa/microchip/ksz9477.c regmap_update_bits(dev->regmap[2], addr, bits, set ? bits : 0); bits 85 drivers/net/dsa/microchip/ksz9477.c u32 bits, bool set) bits 88 drivers/net/dsa/microchip/ksz9477.c bits, set ? bits : 0); bits 514 drivers/net/dsa/mv88e6xxx/port.c u16 reg, bits; bits 525 drivers/net/dsa/mv88e6xxx/port.c bits = MV88E6341_PORT_RESERVED_1A_FORCE_CMODE | bits 528 drivers/net/dsa/mv88e6xxx/port.c if ((reg & bits) == bits) bits 531 drivers/net/dsa/mv88e6xxx/port.c reg |= bits; bits 220 drivers/net/ethernet/3com/3c574_cs.c static void mdio_sync(unsigned int ioaddr, int bits); bits 531 drivers/net/ethernet/3com/3c574_cs.c static void mdio_sync(unsigned int ioaddr, int bits) bits 536 drivers/net/ethernet/3com/3c574_cs.c while (-- bits >= 0) { bits 758 drivers/net/ethernet/3com/3c59x.c static void mdio_sync(struct vortex_private *vp, int bits); bits 3140 drivers/net/ethernet/3com/3c59x.c static void mdio_sync(struct vortex_private *vp, int bits) bits 3143 drivers/net/ethernet/3com/3c59x.c while (-- bits >= 0) { bits 419 drivers/net/ethernet/8390/axnet_cs.c int bits; bits 420 drivers/net/ethernet/8390/axnet_cs.c for (bits = 0; bits < 32; bits++) { bits 1539 drivers/net/ethernet/8390/axnet_cs.c static inline void make_mc_bits(u8 *bits, struct net_device *dev) bits 1550 drivers/net/ethernet/8390/axnet_cs.c bits[crc>>29] |= (1<<((crc>>26)&7)); bits 875 drivers/net/ethernet/8390/lib8390.c static inline void make_mc_bits(u8 *bits, struct net_device *dev) bits 885 drivers/net/ethernet/8390/lib8390.c bits[crc>>29] |= (1<<((crc>>26)&7)); bits 699 drivers/net/ethernet/8390/pcnet_cs.c int bits, mask = inb(addr) & MDIO_MASK; bits 700 drivers/net/ethernet/8390/pcnet_cs.c for (bits = 0; bits < 32; bits++) { bits 1438 drivers/net/ethernet/amazon/ena/ena_netdev.c irq->affinity_hint_mask.bits[0], irq->vector); bits 1470 drivers/net/ethernet/amazon/ena/ena_netdev.c i, irq->affinity_hint_mask.bits[0], irq->vector); bits 277 drivers/net/ethernet/amd/7990.c unsigned char bits; bits 299 drivers/net/ethernet/amd/7990.c !((bits = rd->rmd1_bits) & LE_R1_OWN); bits 303 drivers/net/ethernet/amd/7990.c if ((bits & LE_R1_POK) != LE_R1_POK) { bits 307 drivers/net/ethernet/amd/7990.c } else if (bits & LE_R1_ERR) { bits 311 drivers/net/ethernet/amd/7990.c if (bits & LE_R1_BUF) bits 313 drivers/net/ethernet/amd/7990.c if (bits & LE_R1_CRC) bits 315 drivers/net/ethernet/amd/7990.c if (bits & LE_R1_OFL) bits 317 drivers/net/ethernet/amd/7990.c if (bits & LE_R1_FRA) bits 319 drivers/net/ethernet/amd/7990.c if (bits & LE_R1_EOP) bits 251 drivers/net/ethernet/amd/a2065.c unsigned char bits; bits 271 drivers/net/ethernet/amd/a2065.c !((bits = rd->rmd1_bits) & LE_R1_OWN); bits 275 drivers/net/ethernet/amd/a2065.c if ((bits & LE_R1_POK) != LE_R1_POK) { bits 279 drivers/net/ethernet/amd/a2065.c } else if (bits & LE_R1_ERR) { bits 283 drivers/net/ethernet/amd/a2065.c if (bits & LE_R1_BUF) bits 285 drivers/net/ethernet/amd/a2065.c if (bits & LE_R1_CRC) bits 287 drivers/net/ethernet/amd/a2065.c if (bits & LE_R1_OFL) bits 289 drivers/net/ethernet/amd/a2065.c if (bits & LE_R1_FRA) bits 291 drivers/net/ethernet/amd/a2065.c if (bits & LE_R1_EOP) bits 561 drivers/net/ethernet/amd/declance.c unsigned short bits; bits 585 drivers/net/ethernet/amd/declance.c !((bits = *rds_ptr(rd, rmd1, lp->type)) & LE_R1_OWN); bits 590 drivers/net/ethernet/amd/declance.c if ((bits & LE_R1_POK) != LE_R1_POK) { bits 593 drivers/net/ethernet/amd/declance.c } else if (bits & LE_R1_ERR) { bits 597 drivers/net/ethernet/amd/declance.c if (bits & LE_R1_BUF) bits 599 drivers/net/ethernet/amd/declance.c if (bits & LE_R1_CRC) bits 601 drivers/net/ethernet/amd/declance.c if (bits & LE_R1_OFL) bits 603 drivers/net/ethernet/amd/declance.c if (bits & LE_R1_FRA) bits 605 drivers/net/ethernet/amd/declance.c if (bits & LE_R1_EOP) bits 513 drivers/net/ethernet/amd/sunlance.c u8 bits; bits 518 drivers/net/ethernet/amd/sunlance.c !((bits = rd->rmd1_bits) & LE_R1_OWN); bits 522 drivers/net/ethernet/amd/sunlance.c if ((bits & LE_R1_POK) != LE_R1_POK) { bits 525 drivers/net/ethernet/amd/sunlance.c } else if (bits & LE_R1_ERR) { bits 529 drivers/net/ethernet/amd/sunlance.c if (bits & LE_R1_BUF) dev->stats.rx_fifo_errors++; bits 530 drivers/net/ethernet/amd/sunlance.c if (bits & LE_R1_CRC) dev->stats.rx_crc_errors++; bits 531 drivers/net/ethernet/amd/sunlance.c if (bits & LE_R1_OFL) dev->stats.rx_over_errors++; bits 532 drivers/net/ethernet/amd/sunlance.c if (bits & LE_R1_FRA) dev->stats.rx_frame_errors++; bits 533 drivers/net/ethernet/amd/sunlance.c if (bits & LE_R1_EOP) dev->stats.rx_errors++; bits 578 drivers/net/ethernet/amd/sunlance.c u8 bits = td->tmd1_bits; bits 581 drivers/net/ethernet/amd/sunlance.c if (bits & LE_T1_OWN) bits 584 drivers/net/ethernet/amd/sunlance.c if (bits & LE_T1_ERR) { bits 619 drivers/net/ethernet/amd/sunlance.c } else if ((bits & LE_T1_POK) == LE_T1_POK) { bits 623 drivers/net/ethernet/amd/sunlance.c td->tmd1_bits = bits & ~(LE_T1_POK); bits 626 drivers/net/ethernet/amd/sunlance.c if (bits & LE_T1_EONE) bits 630 drivers/net/ethernet/amd/sunlance.c if (bits & LE_T1_EMORE) bits 682 drivers/net/ethernet/amd/sunlance.c unsigned char bits; bits 688 drivers/net/ethernet/amd/sunlance.c !((bits = sbus_readb(&rd->rmd1_bits)) & LE_R1_OWN); bits 692 drivers/net/ethernet/amd/sunlance.c if ((bits & LE_R1_POK) != LE_R1_POK) { bits 695 drivers/net/ethernet/amd/sunlance.c } else if (bits & LE_R1_ERR) { bits 699 drivers/net/ethernet/amd/sunlance.c if (bits & LE_R1_BUF) dev->stats.rx_fifo_errors++; bits 700 drivers/net/ethernet/amd/sunlance.c if (bits & LE_R1_CRC) dev->stats.rx_crc_errors++; bits 701 drivers/net/ethernet/amd/sunlance.c if (bits & LE_R1_OFL) dev->stats.rx_over_errors++; bits 702 drivers/net/ethernet/amd/sunlance.c if (bits & LE_R1_FRA) dev->stats.rx_frame_errors++; bits 703 drivers/net/ethernet/amd/sunlance.c if (bits & LE_R1_EOP) dev->stats.rx_errors++; bits 746 drivers/net/ethernet/amd/sunlance.c u8 bits = sbus_readb(&td->tmd1_bits); bits 749 drivers/net/ethernet/amd/sunlance.c if (bits & LE_T1_OWN) bits 752 drivers/net/ethernet/amd/sunlance.c if (bits & LE_T1_ERR) { bits 787 drivers/net/ethernet/amd/sunlance.c } else if ((bits & LE_T1_POK) == LE_T1_POK) { bits 791 drivers/net/ethernet/amd/sunlance.c sbus_writeb(bits & ~(LE_T1_POK), &td->tmd1_bits); bits 794 drivers/net/ethernet/amd/sunlance.c if (bits & LE_T1_EONE) bits 798 drivers/net/ethernet/amd/sunlance.c if (bits & LE_T1_EMORE) bits 895 drivers/net/ethernet/amd/xgbe/xgbe-dev.c int i, bits; bits 897 drivers/net/ethernet/amd/xgbe/xgbe-dev.c bits = get_bitmask_order(VLAN_VID_MASK); bits 898 drivers/net/ethernet/amd/xgbe/xgbe-dev.c for (i = 0; i < bits; i++) { bits 303 drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c static void xgene_sgmac_rxtx(struct xgene_enet_pdata *p, u32 bits, bool set) bits 310 drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c data |= bits; bits 312 drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c data &= ~bits; bits 80 drivers/net/ethernet/aurora/nb8800.c static inline void nb8800_modb(struct nb8800_priv *priv, int reg, u8 bits, bits 83 drivers/net/ethernet/aurora/nb8800.c nb8800_maskb(priv, reg, bits, set ? bits : 0); bits 86 drivers/net/ethernet/aurora/nb8800.c static inline void nb8800_setb(struct nb8800_priv *priv, int reg, u8 bits) bits 88 drivers/net/ethernet/aurora/nb8800.c nb8800_maskb(priv, reg, bits, bits); bits 91 drivers/net/ethernet/aurora/nb8800.c static inline void nb8800_clearb(struct nb8800_priv *priv, int reg, u8 bits) bits 93 drivers/net/ethernet/aurora/nb8800.c nb8800_maskb(priv, reg, bits, 0); bits 96 drivers/net/ethernet/aurora/nb8800.c static inline void nb8800_modl(struct nb8800_priv *priv, int reg, u32 bits, bits 99 drivers/net/ethernet/aurora/nb8800.c nb8800_maskl(priv, reg, bits, set ? bits : 0); bits 102 drivers/net/ethernet/aurora/nb8800.c static inline void nb8800_setl(struct nb8800_priv *priv, int reg, u32 bits) bits 104 drivers/net/ethernet/aurora/nb8800.c nb8800_maskl(priv, reg, bits, bits); bits 107 drivers/net/ethernet/aurora/nb8800.c static inline void nb8800_clearl(struct nb8800_priv *priv, int reg, u32 bits) bits 109 drivers/net/ethernet/aurora/nb8800.c nb8800_maskl(priv, reg, bits, 0); bits 120 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.h #define GET_FLAGS(flags, bits) ((flags) & (bits)) bits 121 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.h #define SET_FLAGS(flags, bits) ((flags) |= (bits)) bits 122 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.h #define RESET_FLAGS(flags, bits) ((flags) &= ~(bits)) bits 660 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init.h u32 bits; bits 685 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init.h reg_val |= mcp_attn_ctl_regs[i].bits; bits 687 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init.h reg_val &= ~mcp_attn_ctl_regs[i].bits; bits 220 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits) bits 224 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c val |= bits; bits 229 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) bits 233 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c val &= ~bits; bits 353 drivers/net/ethernet/broadcom/sb1250-mac.c uint64_t bits; bits 358 drivers/net/ethernet/broadcom/sb1250-mac.c bits = M_MAC_MDIO_DIR_OUTPUT | M_MAC_MDIO_OUT; bits 360 drivers/net/ethernet/broadcom/sb1250-mac.c __raw_writeq(bits | mac_mdio_genc, sbm_mdio); bits 363 drivers/net/ethernet/broadcom/sb1250-mac.c __raw_writeq(bits | M_MAC_MDC | mac_mdio_genc, sbm_mdio); bits 364 drivers/net/ethernet/broadcom/sb1250-mac.c __raw_writeq(bits | mac_mdio_genc, sbm_mdio); bits 384 drivers/net/ethernet/broadcom/sb1250-mac.c uint64_t bits; bits 390 drivers/net/ethernet/broadcom/sb1250-mac.c bits = M_MAC_MDIO_DIR_OUTPUT; bits 391 drivers/net/ethernet/broadcom/sb1250-mac.c __raw_writeq(bits | mac_mdio_genc, sbm_mdio); bits 397 drivers/net/ethernet/broadcom/sb1250-mac.c bits |= M_MAC_MDIO_OUT; bits 398 drivers/net/ethernet/broadcom/sb1250-mac.c else bits &= ~M_MAC_MDIO_OUT; bits 399 drivers/net/ethernet/broadcom/sb1250-mac.c __raw_writeq(bits | mac_mdio_genc, sbm_mdio); bits 400 drivers/net/ethernet/broadcom/sb1250-mac.c __raw_writeq(bits | M_MAC_MDC | mac_mdio_genc, sbm_mdio); bits 401 drivers/net/ethernet/broadcom/sb1250-mac.c __raw_writeq(bits | mac_mdio_genc, sbm_mdio); bits 76 drivers/net/ethernet/broadcom/tg3.c static inline int _tg3_flag(enum TG3_FLAGS flag, unsigned long *bits) bits 78 drivers/net/ethernet/broadcom/tg3.c return test_bit(flag, bits); bits 81 drivers/net/ethernet/broadcom/tg3.c static inline void _tg3_flag_set(enum TG3_FLAGS flag, unsigned long *bits) bits 83 drivers/net/ethernet/broadcom/tg3.c set_bit(flag, bits); bits 86 drivers/net/ethernet/broadcom/tg3.c static inline void _tg3_flag_clear(enum TG3_FLAGS flag, unsigned long *bits) bits 88 drivers/net/ethernet/broadcom/tg3.c clear_bit(flag, bits); bits 88 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (_bna)->bits.mbox_status_bits = (__HFN_INT_MBOX_LPU0 | \ bits 90 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (_bna)->bits.mbox_mask_bits = (__HFN_INT_MBOX_LPU0 | \ bits 92 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (_bna)->bits.error_status_bits = (__HFN_INT_ERR_MASK); \ bits 93 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (_bna)->bits.error_mask_bits = (__HFN_INT_ERR_MASK); \ bits 94 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (_bna)->bits.halt_status_bits = __HFN_INT_LL_HALT; \ bits 95 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (_bna)->bits.halt_mask_bits = __HFN_INT_LL_HALT; \ bits 108 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (_bna)->bits.mbox_status_bits = (__HFN_INT_MBOX_LPU0_CT2 | \ bits 110 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (_bna)->bits.mbox_mask_bits = (__HFN_INT_MBOX_LPU0_CT2 | \ bits 112 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (_bna)->bits.error_status_bits = (__HFN_INT_ERR_MASK_CT2); \ bits 113 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (_bna)->bits.error_mask_bits = (__HFN_INT_ERR_MASK_CT2); \ bits 114 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (_bna)->bits.halt_status_bits = __HFN_INT_CPQ_HALT_CT2; \ bits 115 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (_bna)->bits.halt_mask_bits = __HFN_INT_CPQ_HALT_CT2; \ bits 139 drivers/net/ethernet/brocade/bna/bna_hw_defs.h ((_intr_status) & (_bna)->bits.mbox_status_bits) bits 142 drivers/net/ethernet/brocade/bna/bna_hw_defs.h ((_intr_status) & (_bna)->bits.halt_status_bits) bits 145 drivers/net/ethernet/brocade/bna/bna_hw_defs.h ((_intr_status) & (_bna)->bits.error_status_bits) bits 175 drivers/net/ethernet/brocade/bna/bna_hw_defs.h writel((mask | (bna)->bits.mbox_mask_bits | \ bits 176 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (bna)->bits.error_mask_bits), (bna)->regs.fn_int_mask); \ bits 184 drivers/net/ethernet/brocade/bna/bna_hw_defs.h writel((mask & ~((bna)->bits.mbox_mask_bits | \ bits 185 drivers/net/ethernet/brocade/bna/bna_hw_defs.h (bna)->bits.error_mask_bits)), (bna)->regs.fn_int_mask);\ bits 193 drivers/net/ethernet/brocade/bna/bna_hw_defs.h writel(((_status) & ~(_bna)->bits.mbox_status_bits), \ bits 906 drivers/net/ethernet/brocade/bna/bna_types.h struct bna_bit_defn bits; bits 958 drivers/net/ethernet/cadence/macb.h #define GEM_STAT_TITLE_BITS(name, title, bits) { \ bits 961 drivers/net/ethernet/cadence/macb.h .stat_bits = bits \ bits 32 drivers/net/ethernet/cavium/thunder/nicvf_queues.c u64 reg, int bit_pos, int bits, int val) bits 38 drivers/net/ethernet/cavium/thunder/nicvf_queues.c bit_mask = (1ULL << bits) - 1; bits 519 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c unsigned int bits = fls(ppmax); bits 521 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c if (bits > PPOD_IDX_MAX_SIZE) bits 522 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c bits = PPOD_IDX_MAX_SIZE; bits 525 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppmax, ppmax, bits, 1 << (bits + PPOD_IDX_SHIFT)); bits 527 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c return 1 << (bits + PPOD_IDX_SHIFT); bits 296 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h unsigned int bits = fls(tagmask); bits 299 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h tformat->free_bits = 32 - 2 - bits; bits 300 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h tformat->rsvd_bits = bits; bits 302 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h tformat->idx_bits = bits - 1 - PPOD_IDX_SHIFT; bits 303 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h tformat->no_ddp_mask = 1 << (bits - 1); bits 306 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h tformat->idx_clr_mask = (1 << (bits - 1)) - 1; bits 307 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h tformat->rsvd_mask = (1 << bits) - 1; bits 301 drivers/net/ethernet/cortina/gemini.c status.bits.link = phydev->link; bits 302 drivers/net/ethernet/cortina/gemini.c status.bits.duplex = phydev->duplex; bits 306 drivers/net/ethernet/cortina/gemini.c status.bits.speed = GMAC_SPEED_1000; bits 308 drivers/net/ethernet/cortina/gemini.c status.bits.mii_rmii = GMAC_PHY_RGMII_1000; bits 313 drivers/net/ethernet/cortina/gemini.c status.bits.speed = GMAC_SPEED_100; bits 315 drivers/net/ethernet/cortina/gemini.c status.bits.mii_rmii = GMAC_PHY_RGMII_100_10; bits 320 drivers/net/ethernet/cortina/gemini.c status.bits.speed = GMAC_SPEED_10; bits 322 drivers/net/ethernet/cortina/gemini.c status.bits.mii_rmii = GMAC_PHY_RGMII_100_10; bits 383 drivers/net/ethernet/cortina/gemini.c status.bits.mii_rmii = GMAC_PHY_MII; bits 388 drivers/net/ethernet/cortina/gemini.c status.bits.mii_rmii = GMAC_PHY_GMII; bits 393 drivers/net/ethernet/cortina/gemini.c status.bits.mii_rmii = GMAC_PHY_RGMII_100_10; bits 465 drivers/net/ethernet/cortina/gemini.c union gmac_config0 config0 = { .bits = { bits 479 drivers/net/ethernet/cortina/gemini.c union gmac_ahb_weight ahb_weight = { .bits = { bits 486 drivers/net/ethernet/cortina/gemini.c union gmac_tx_wcr0 hw_weigh = { .bits = { bits 492 drivers/net/ethernet/cortina/gemini.c union gmac_tx_wcr1 sw_weigh = { .bits = { bits 500 drivers/net/ethernet/cortina/gemini.c union gmac_config1 config1 = { .bits = { bits 504 drivers/net/ethernet/cortina/gemini.c union gmac_config2 config2 = { .bits = { bits 508 drivers/net/ethernet/cortina/gemini.c union gmac_config3 config3 = { .bits = { bits 515 drivers/net/ethernet/cortina/gemini.c config0.bits.max_len = gmac_pick_rx_max_len(netdev->mtu); bits 517 drivers/net/ethernet/cortina/gemini.c config0.bits.reserved = tmp.bits.reserved; bits 636 drivers/net/ethernet/cortina/gemini.c word0.bits.buffer_size, DMA_TO_DEVICE); bits 647 drivers/net/ethernet/cortina/gemini.c if (!word0.bits.status_tx_ok) { bits 653 drivers/net/ethernet/cortina/gemini.c bytes += txd->word1.bits.byte_count; bits 658 drivers/net/ethernet/cortina/gemini.c nfrags = word0.bits.desc_count - 1; bits 776 drivers/net/ethernet/cortina/gemini.c r = rw.bits.rptr; bits 777 drivers/net/ethernet/cortina/gemini.c w = rw.bits.wptr; bits 889 drivers/net/ethernet/cortina/gemini.c pn = (refill ? rw.bits.wptr : rw.bits.rptr) >> fpp_order; bits 890 drivers/net/ethernet/cortina/gemini.c epn = (rw.bits.rptr >> fpp_order) - 1; bits 967 drivers/net/ethernet/cortina/gemini.c qt.bits.swfq_empty = 32; bits 970 drivers/net/ethernet/cortina/gemini.c skbsz.bits.sw_skb_size = 1 << geth->freeq_frag_order; bits 1222 drivers/net/ethernet/cortina/gemini.c txq->ring[w].word0.bits.buffer_size, bits 1249 drivers/net/ethernet/cortina/gemini.c r = rw.bits.rptr; bits 1250 drivers/net/ethernet/cortina/gemini.c w = rw.bits.wptr; bits 1265 drivers/net/ethernet/cortina/gemini.c txq->ring[d].word3.bits.eofie = 1; bits 1359 drivers/net/ethernet/cortina/gemini.c unsigned int rx_csum = word0.bits.chksum_status; bits 1360 drivers/net/ethernet/cortina/gemini.c unsigned int rx_status = word0.bits.status; bits 1366 drivers/net/ethernet/cortina/gemini.c if (word0.bits.derr || word0.bits.perr || bits 1419 drivers/net/ethernet/cortina/gemini.c r = rw.bits.rptr; bits 1420 drivers/net/ethernet/cortina/gemini.c w = rw.bits.wptr; bits 1432 drivers/net/ethernet/cortina/gemini.c frag_len = word0.bits.buffer_size; bits 1433 drivers/net/ethernet/cortina/gemini.c frame_len = word1.bits.byte_count; bits 1740 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.rd_enable = 1; bits 1741 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.td_enable = 1; bits 1742 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.loopback = 0; bits 1743 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.drop_small_ack = 0; bits 1744 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.rd_insert_bytes = NET_IP_ALIGN; bits 1745 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.rd_prot = HPROT_DATA_CACHE | HPROT_PRIVILIGED; bits 1746 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.rd_burst_size = HBURST_INCR8; bits 1747 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.rd_bus = HSIZE_8; bits 1748 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.td_prot = HPROT_DATA_CACHE; bits 1749 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.td_burst_size = HBURST_INCR8; bits 1750 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.td_bus = HSIZE_8; bits 1761 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.rd_enable = 0; bits 1762 drivers/net/ethernet/cortina/gemini.c dma_ctrl.bits.td_enable = 0; bits 1857 drivers/net/ethernet/cortina/gemini.c union gmac_rx_fltr filter = { .bits = { bits 1870 drivers/net/ethernet/cortina/gemini.c filter.bits.error = 1; bits 1871 drivers/net/ethernet/cortina/gemini.c filter.bits.promiscuous = 1; bits 2116 drivers/net/ethernet/cortina/gemini.c pparam->rx_pause = config0.bits.rx_fc_en; bits 2117 drivers/net/ethernet/cortina/gemini.c pparam->tx_pause = config0.bits.tx_fc_en; bits 184 drivers/net/ethernet/cortina/gemini.h } bits; bits 193 drivers/net/ethernet/cortina/gemini.h } bits; bits 329 drivers/net/ethernet/cortina/gemini.h } bits; bits 363 drivers/net/ethernet/cortina/gemini.h } bits; bits 383 drivers/net/ethernet/cortina/gemini.h } bits; bits 407 drivers/net/ethernet/cortina/gemini.h } bits; bits 431 drivers/net/ethernet/cortina/gemini.h } bits; bits 459 drivers/net/ethernet/cortina/gemini.h } bits; bits 498 drivers/net/ethernet/cortina/gemini.h } bits; bits 536 drivers/net/ethernet/cortina/gemini.h } bits; bits 592 drivers/net/ethernet/cortina/gemini.h } bits; bits 636 drivers/net/ethernet/cortina/gemini.h } bits; bits 688 drivers/net/ethernet/cortina/gemini.h } bits; bits 713 drivers/net/ethernet/cortina/gemini.h } bits; bits 775 drivers/net/ethernet/cortina/gemini.h } bits; bits 808 drivers/net/ethernet/cortina/gemini.h } bits; bits 827 drivers/net/ethernet/cortina/gemini.h } bits; bits 841 drivers/net/ethernet/cortina/gemini.h } bits; bits 861 drivers/net/ethernet/cortina/gemini.h } bits; bits 949 drivers/net/ethernet/cortina/gemini.h } bits; bits 555 drivers/net/ethernet/dec/tulip/winbond-840.c int bits = 32; bits 558 drivers/net/ethernet/dec/tulip/winbond-840.c while (--bits >= 0) { bits 297 drivers/net/ethernet/dlink/dl2k.h } bits; bits 761 drivers/net/ethernet/dlink/sundance.c int bits = 32; bits 764 drivers/net/ethernet/dlink/sundance.c while (--bits >= 0) { bits 228 drivers/net/ethernet/hisilicon/hns/hnae.h #define setflags(flags, bits) ((flags) |= (bits)) bits 229 drivers/net/ethernet/hisilicon/hns/hnae.h #define unsetflags(flags, bits) ((flags) &= ~(bits)) bits 1017 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c addr[0] = mac_key->high.bits.mac_0; bits 1018 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c addr[1] = mac_key->high.bits.mac_1; bits 1019 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c addr[2] = mac_key->high.bits.mac_2; bits 1020 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c addr[3] = mac_key->high.bits.mac_3; bits 1021 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c addr[4] = mac_key->low.bits.mac_4; bits 1022 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c addr[5] = mac_key->low.bits.mac_5; bits 1590 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_key->high.bits.mac_0 = addr[0]; bits 1591 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_key->high.bits.mac_1 = addr[1]; bits 1592 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_key->high.bits.mac_2 = addr[2]; bits 1593 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_key->high.bits.mac_3 = addr[3]; bits 1594 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_key->low.bits.mac_4 = addr[4]; bits 1595 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_key->low.bits.mac_5 = addr[5]; bits 1596 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_key->low.bits.port_vlan = 0; bits 1597 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c dsaf_set_field(mac_key->low.bits.port_vlan, DSAF_TBL_TCAM_KEY_VLAN_M, bits 1599 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c dsaf_set_field(mac_key->low.bits.port_vlan, DSAF_TBL_TCAM_KEY_PORT_M, bits 2033 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c soft_mac_entry->tcam_key.low.bits.port_vlan, bits 2049 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c soft_mac_entry->tcam_key.low.bits.port_vlan, bits 370 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h } bits; bits 379 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h } bits; bits 135 drivers/net/ethernet/intel/igb/e1000_mac.c u32 bits; bits 153 drivers/net/ethernet/intel/igb/e1000_mac.c bits = rd32(E1000_VLVF(regindex)) & E1000_VLVF_VLANID_MASK; bits 154 drivers/net/ethernet/intel/igb/e1000_mac.c if (bits == vlan) bits 156 drivers/net/ethernet/intel/igb/e1000_mac.c if (!first_empty_slot && !bits) bits 177 drivers/net/ethernet/intel/igb/e1000_mac.c u32 regidx, vfta_delta, vfta, bits; bits 223 drivers/net/ethernet/intel/igb/e1000_mac.c bits = rd32(E1000_VLVF(vlvf_index)); bits 226 drivers/net/ethernet/intel/igb/e1000_mac.c bits |= BIT(E1000_VLVF_POOLSEL_SHIFT + vind); bits 231 drivers/net/ethernet/intel/igb/e1000_mac.c bits ^= BIT(E1000_VLVF_POOLSEL_SHIFT + vind); bits 233 drivers/net/ethernet/intel/igb/e1000_mac.c if (!(bits & E1000_VLVF_POOLSEL_MASK)) { bits 265 drivers/net/ethernet/intel/igb/e1000_mac.c wr32(E1000_VLVF(vlvf_index), bits | vlan | E1000_VLVF_VLANID_ENABLE); bits 4907 drivers/net/ethernet/intel/igb/igb_main.c u32 i, vid, word, bits, pf_id; bits 4939 drivers/net/ethernet/intel/igb/igb_main.c bits = ~BIT(pf_id); bits 4940 drivers/net/ethernet/intel/igb/igb_main.c bits &= rd32(E1000_VLVF(i)); bits 4941 drivers/net/ethernet/intel/igb/igb_main.c wr32(E1000_VLVF(i), bits); bits 4949 drivers/net/ethernet/intel/igb/igb_main.c bits = vid % BITS_PER_LONG; bits 4951 drivers/net/ethernet/intel/igb/igb_main.c vfta[i] |= adapter->active_vlans[word] >> bits; bits 6916 drivers/net/ethernet/intel/igb/igb_main.c u32 bits, pf_id; bits 6927 drivers/net/ethernet/intel/igb/igb_main.c bits = ~BIT(pf_id) & E1000_VLVF_POOLSEL_MASK; bits 6928 drivers/net/ethernet/intel/igb/igb_main.c bits &= rd32(E1000_VLVF(idx)); bits 6931 drivers/net/ethernet/intel/igb/igb_main.c if (!bits) { bits 844 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c u32 bits; bits 858 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c bits = IXGBE_READ_REG(hw, IXGBE_VFTAVIND(vftabyte, regindex)); bits 859 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c bits &= (~(0x0F << bitindex)); bits 860 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c bits |= (vind << bitindex); bits 861 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c IXGBE_WRITE_REG(hw, IXGBE_VFTAVIND(vftabyte, regindex), bits); bits 866 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c bits = IXGBE_READ_REG(hw, IXGBE_VFTA(regindex)); bits 869 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c bits |= BIT(bitindex); bits 872 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c bits &= ~BIT(bitindex); bits 873 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c IXGBE_WRITE_REG(hw, IXGBE_VFTA(regindex), bits); bits 3084 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u32 bits; bits 3105 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c bits = IXGBE_READ_REG(hw, IXGBE_VLVF(regindex)); bits 3106 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (bits == vlan) bits 3108 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (!first_empty_slot && !bits) bits 3134 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u32 regidx, vfta_delta, vfta, bits; bits 3181 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c bits = IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32)); bits 3184 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c bits |= BIT(vind % 32); bits 3189 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c bits ^= BIT(vind % 32); bits 3191 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (!bits && bits 3225 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32), bits); bits 4460 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 bits, word; bits 4471 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bits = ~BIT(VMDQ_P(0) % 32); bits 4472 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bits &= IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); bits 4475 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!bits && !IXGBE_READ_REG(hw, IXGBE_VLVFB(word ^ 1))) { bits 4622 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 i, vid, word, bits; bits 4645 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bits = ~BIT(VMDQ_P(0) % 32); bits 4646 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bits &= IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); bits 4647 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), bits); bits 4654 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bits = vid % BITS_PER_LONG; bits 4656 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c vfta[i] |= adapter->active_vlans[word] >> bits; bits 586 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c u32 bits[2], vlvfb, vid, vfta, vlvf; bits 600 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c bits[word % 2] = vlvfb; bits 601 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c bits[~word % 2] = IXGBE_READ_REG(hw, IXGBE_VLVFB(word ^ 1)); bits 604 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (bits[(VMDQ_P(0) / 32) ^ 1] || bits 605 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c (bits[VMDQ_P(0) / 32] & pool_mask)) bits 609 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (bits[0] || bits[1]) bits 170 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c unsigned int bits, unsigned int enable) bits 178 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c if (bits & BIT(i)) bits 225 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c unsigned int bits, unsigned int mask) bits 233 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c if (bits & BIT(i)) bits 253 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c unsigned int bits, unsigned int mask) bits 261 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c if (bits & BIT(i)) bits 276 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c u8 bits; bits 281 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c bits = (pe->sram[ai_off] >> ai_shift) | bits 284 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c return bits; bits 371 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c u8 bits; bits 378 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c bits = mvpp2_prs_sram_ai_get(&pe); bits 381 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c if ((bits & MVPP2_PRS_FLOW_ID_MASK) == flow) bits 672 drivers/net/ethernet/mellanox/mlx4/alloc.c pgdir->bits[0] = pgdir->order0; bits 673 drivers/net/ethernet/mellanox/mlx4/alloc.c pgdir->bits[1] = pgdir->order1; bits 691 drivers/net/ethernet/mellanox/mlx4/alloc.c i = find_first_bit(pgdir->bits[o], MLX4_DB_PER_PAGE >> o); bits 699 drivers/net/ethernet/mellanox/mlx4/alloc.c clear_bit(i, pgdir->bits[o]); bits 704 drivers/net/ethernet/mellanox/mlx4/alloc.c set_bit(i ^ 1, pgdir->bits[order]); bits 761 drivers/net/ethernet/mellanox/mlx4/alloc.c set_bit(i, db->u.pgdir->bits[o]); bits 252 drivers/net/ethernet/mellanox/mlx4/mlx4.h unsigned long **bits; bits 57 drivers/net/ethernet/mellanox/mlx4/mr.c seg = find_first_bit(buddy->bits[o], m); bits 66 drivers/net/ethernet/mellanox/mlx4/mr.c clear_bit(seg, buddy->bits[o]); bits 72 drivers/net/ethernet/mellanox/mlx4/mr.c set_bit(seg ^ 1, buddy->bits[o]); bits 89 drivers/net/ethernet/mellanox/mlx4/mr.c while (test_bit(seg ^ 1, buddy->bits[order])) { bits 90 drivers/net/ethernet/mellanox/mlx4/mr.c clear_bit(seg ^ 1, buddy->bits[order]); bits 96 drivers/net/ethernet/mellanox/mlx4/mr.c set_bit(seg, buddy->bits[order]); bits 109 drivers/net/ethernet/mellanox/mlx4/mr.c buddy->bits = kcalloc(buddy->max_order + 1, sizeof(long *), bits 113 drivers/net/ethernet/mellanox/mlx4/mr.c if (!buddy->bits || !buddy->num_free) bits 118 drivers/net/ethernet/mellanox/mlx4/mr.c buddy->bits[i] = kvmalloc_array(s, sizeof(long), GFP_KERNEL | __GFP_ZERO); bits 119 drivers/net/ethernet/mellanox/mlx4/mr.c if (!buddy->bits[i]) bits 123 drivers/net/ethernet/mellanox/mlx4/mr.c set_bit(0, buddy->bits[buddy->max_order]); bits 130 drivers/net/ethernet/mellanox/mlx4/mr.c kvfree(buddy->bits[i]); bits 133 drivers/net/ethernet/mellanox/mlx4/mr.c kfree(buddy->bits); bits 144 drivers/net/ethernet/mellanox/mlx4/mr.c kvfree(buddy->bits[i]); bits 146 drivers/net/ethernet/mellanox/mlx4/mr.c kfree(buddy->bits); bits 600 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c u16 bits = 0; bits 604 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c bits++; bits 607 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c return bits; bits 34 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c elinst->item.size.bits != bits 35 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c elinst->info->item.size.bits)) bits 59 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h .size = {.bits = _size}, \ bits 124 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h .size = {.bits = _size}, \ bits 19 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned char bits; bits 53 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK(item->size.bits - 1, 0); bits 65 drivers/net/ethernet/mellanox/mlxsw/item.h u8 mask = GENMASK(item->size.bits - 1, 0) << item->shift; bits 87 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK(item->size.bits - 1, 0); bits 99 drivers/net/ethernet/mellanox/mlxsw/item.h u16 mask = GENMASK(item->size.bits - 1, 0) << item->shift; bits 121 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK(item->size.bits - 1, 0); bits 133 drivers/net/ethernet/mellanox/mlxsw/item.h u32 mask = GENMASK(item->size.bits - 1, 0) << item->shift; bits 155 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK_ULL(item->size.bits - 1, 0); bits 166 drivers/net/ethernet/mellanox/mlxsw/item.h u64 mask = GENMASK_ULL(item->size.bits - 1, 0) << item->shift; bits 270 drivers/net/ethernet/mellanox/mlxsw/item.h .size = {.bits = _sizebits,}, \ bits 290 drivers/net/ethernet/mellanox/mlxsw/item.h .size = {.bits = _sizebits,}, \ bits 311 drivers/net/ethernet/mellanox/mlxsw/item.h .size = {.bits = _sizebits,}, \ bits 331 drivers/net/ethernet/mellanox/mlxsw/item.h .size = {.bits = _sizebits,}, \ bits 352 drivers/net/ethernet/mellanox/mlxsw/item.h .size = {.bits = _sizebits,}, \ bits 372 drivers/net/ethernet/mellanox/mlxsw/item.h .size = {.bits = _sizebits,}, \ bits 393 drivers/net/ethernet/mellanox/mlxsw/item.h .size = {.bits = _sizebits,}, \ bits 413 drivers/net/ethernet/mellanox/mlxsw/item.h .size = {.bits = _sizebits,}, \ bits 261 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_keys.c .size = {.bits = MLXSW_SP2_AFK_BITS_PER_BLOCK}, \ bits 191 drivers/net/ethernet/micrel/ks8842.c u16 bits, int offset) bits 196 drivers/net/ethernet/micrel/ks8842.c reg |= bits; bits 201 drivers/net/ethernet/micrel/ks8842.c u16 bits, int offset) bits 206 drivers/net/ethernet/micrel/ks8842.c reg &= ~bits; bits 1934 drivers/net/ethernet/micrel/ksz884x.c static int port_chk(struct ksz_hw *hw, int port, int offset, u16 bits) bits 1942 drivers/net/ethernet/micrel/ksz884x.c return (data & bits) == bits; bits 1955 drivers/net/ethernet/micrel/ksz884x.c static void port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, bits 1965 drivers/net/ethernet/micrel/ksz884x.c data |= bits; bits 1967 drivers/net/ethernet/micrel/ksz884x.c data &= ~bits; bits 2007 drivers/net/ethernet/micrel/ksz884x.c u16 bits = 1 << port; bits 2010 drivers/net/ethernet/micrel/ksz884x.c bits <<= shift; bits 2012 drivers/net/ethernet/micrel/ksz884x.c data |= bits; bits 2014 drivers/net/ethernet/micrel/ksz884x.c data &= ~bits; bits 2083 drivers/net/ethernet/micrel/ksz884x.c static int sw_chk(struct ksz_hw *hw, u32 addr, u16 bits) bits 2088 drivers/net/ethernet/micrel/ksz884x.c return (data & bits) == bits; bits 2100 drivers/net/ethernet/micrel/ksz884x.c static void sw_cfg(struct ksz_hw *hw, u32 addr, u16 bits, int set) bits 2106 drivers/net/ethernet/micrel/ksz884x.c data |= bits; bits 2108 drivers/net/ethernet/micrel/ksz884x.c data &= ~bits; bits 3557 drivers/net/ethernet/micrel/ksz884x.c int bits; bits 3574 drivers/net/ethernet/micrel/ksz884x.c bits = len = from = to = 0; bits 3576 drivers/net/ethernet/micrel/ksz884x.c if (bits) { bits 3581 drivers/net/ethernet/micrel/ksz884x.c --bits; bits 3588 drivers/net/ethernet/micrel/ksz884x.c bits = 8; bits 3594 drivers/net/ethernet/micrel/ksz884x.c bits = mask[len - 1]; bits 3596 drivers/net/ethernet/micrel/ksz884x.c bits &= ~val; bits 3597 drivers/net/ethernet/micrel/ksz884x.c writeb(bits, hw->io + KS8841_WOL_FRAME_BYTE0_OFFSET + i + len - bits 124 drivers/net/ethernet/natsemi/sonic.c u16 bits; bits 127 drivers/net/ethernet/natsemi/sonic.c bits = SONIC_READ(SONIC_CMD) & mask; bits 128 drivers/net/ethernet/natsemi/sonic.c if (!bits) bits 135 drivers/net/ethernet/natsemi/sonic.c WARN_ONCE(1, "command deadline expired! 0x%04x\n", bits); bits 31 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define vxge_bVALn(bits, loc, n) \ bits 32 drivers/net/ethernet/neterion/vxge/vxge-reg.h ((((u64)bits) >> (64-(loc+n))) & ((0x1ULL << n) - 1)) bits 34 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_TITAN_ASIC_ID_GET_INITIAL_DEVICE_ID(bits) \ bits 35 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 16) bits 36 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_TITAN_ASIC_ID_GET_INITIAL_MAJOR_REVISION(bits) \ bits 37 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 48, 8) bits 38 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_TITAN_ASIC_ID_GET_INITIAL_MINOR_REVISION(bits) \ bits 39 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 56, 8) bits 41 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_TO_FUNC_MAP_CFG1_GET_VPATH_TO_FUNC_MAP_CFG1(bits) \ bits 42 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 3, 5) bits 43 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_HOST_TYPE_ASSIGNMENTS_GET_HOST_TYPE_ASSIGNMENTS(bits) \ bits 44 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 5, 3) bits 89 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_IS_FIRST_GET_VPATH_IS_FIRST(bits) vxge_bVALn(bits, 3, 1) bits 91 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_TIM_VPATH_ASSIGNMENT_GET_BMAP_ROOT(bits) \ bits 92 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 32) bits 94 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RXMAC_CFG0_PORT_VPMGMT_CLONE_GET_MAX_PYLD_LEN(bits) \ bits 95 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 50, 14) bits 97 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_XMAC_VSPORT_CHOICES_VP_GET_VSPORT_VECTOR(bits) \ bits 98 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 17) bits 100 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_XMAC_VPATH_TO_VSPORT_VPMGMT_CLONE_GET_VSPORT_NUMBER(bits) \ bits 101 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 3, 5) bits 103 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_KDFC_DRBL_TRIPLET_TOTAL_GET_KDFC_MAX_SIZE(bits) \ bits 104 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 17, 15) bits 122 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_TOC_KDFC_VPATH_STRIDE_GET_TOC_KDFC_VPATH_STRIDE(bits) bits bits 123 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_TOC_KDFC_FIFO_STRIDE_GET_TOC_KDFC_FIFO_STRIDE(bits) bits bits 125 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_KDFC_TRPL_FIFO_OFFSET_GET_KDFC_RCTR0(bits) \ bits 126 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 1, 15) bits 127 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_KDFC_TRPL_FIFO_OFFSET_GET_KDFC_RCTR1(bits) \ bits 128 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 17, 15) bits 129 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_KDFC_TRPL_FIFO_OFFSET_GET_KDFC_RCTR2(bits) \ bits 130 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 33, 15) bits 163 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_MGR_STEER_DATA0_GET_DA_MAC_ADDR(bits) \ bits 164 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 48) bits 167 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_MGR_STEER_DATA1_GET_DA_MAC_ADDR_MASK(bits) \ bits 168 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 48) bits 172 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_MGR_STEER_DATA1_GET_DA_MAC_ADDR_ADD_VPATH(bits) \ bits 173 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 55, 5) bits 176 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_MGR_STEER_DATA1_GET_DA_MAC_ADDR_ADD_MODE(bits) \ bits 177 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 62, 2) bits 204 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_DA_MAC_ADDR(bits) \ bits 205 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 48) bits 208 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_VLAN_ID(bits) vxge_bVALn(bits, 0, 12) bits 211 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_ETYPE(bits) vxge_bVALn(bits, 0, 11) bits 214 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_PN_SRC_DEST_SEL(bits) \ bits 215 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 3, 1) bits 217 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_PN_TCP_UDP_SEL(bits) \ bits 218 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 7, 1) bits 220 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_PN_PORT_NUM(bits) \ bits 221 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 8, 16) bits 224 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_EN(bits) \ bits 225 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 3, 1) bits 227 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_BUCKET_SIZE(bits) \ bits 228 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 4, 4) bits 231 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_ALG_SEL(bits) \ bits 232 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 10, 2) bits 238 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_TCP_IPV4_EN(bits) \ bits 239 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 15, 1) bits 241 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_IPV4_EN(bits) \ bits 242 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 19, 1) bits 244 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_TCP_IPV6_EN(bits) \ bits 245 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 23, 1) bits 247 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_IPV6_EN(bits) \ bits 248 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 27, 1) bits 250 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_TCP_IPV6_EX_EN(bits) \ bits 251 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 31, 1) bits 253 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_RTH_IPV6_EX_EN(bits) \ bits 254 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 35, 1) bits 256 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_ACTIVE_TABLE(bits) \ bits 257 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 39, 1) bits 259 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_GEN_REPL_ENTRY_EN(bits) \ bits 260 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 43, 1) bits 263 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_SOLO_IT_ENTRY_EN(bits) \ bits 264 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 3, 1) bits 266 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_SOLO_IT_BUCKET_DATA(bits) \ bits 267 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 9, 7) bits 271 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_ITEM0_BUCKET_NUM(bits) \ bits 272 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 8) bits 275 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_ITEM0_ENTRY_EN(bits) \ bits 276 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 8, 1) bits 278 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_ITEM0_BUCKET_DATA(bits) \ bits 279 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 9, 7) bits 282 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_ITEM1_BUCKET_NUM(bits) \ bits 283 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 16, 8) bits 286 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_ITEM1_ENTRY_EN(bits) \ bits 287 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 24, 1) bits 289 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_ITEM1_BUCKET_DATA(bits) \ bits 290 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 25, 7) bits 293 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM0_BUCKET_NUM(bits) \ bits 294 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 8) bits 297 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM0_ENTRY_EN(bits) \ bits 298 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 8, 1) bits 300 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM0_BUCKET_DATA(bits) \ bits 301 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 9, 7) bits 304 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM1_BUCKET_NUM(bits) \ bits 305 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 16, 8) bits 308 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM1_ENTRY_EN(bits) \ bits 309 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 24, 1) bits 311 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM1_BUCKET_DATA(bits) \ bits 312 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 25, 7) bits 316 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_JHASH_CFG_GOLDEN_RATIO(bits) \ bits 317 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 32) bits 320 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_JHASH_CFG_INIT_VALUE(bits) \ bits 321 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 325 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_MASK_IPV6_SA_MASK(bits) \ bits 326 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 16) bits 329 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_MASK_IPV6_DA_MASK(bits) \ bits 330 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 16, 16) bits 333 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_MASK_IPV4_SA_MASK(bits) \ bits 334 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 4) bits 337 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_MASK_IPV4_DA_MASK(bits) \ bits 338 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 36, 4) bits 341 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_MASK_L4SP_MASK(bits) \ bits 342 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 40, 2) bits 345 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_MASK_L4DP_MASK(bits) \ bits 346 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 42, 2) bits 350 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_RTH_KEY_KEY(bits) \ bits 351 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 64) bits 354 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_QOS_ENTRY_EN(bits) \ bits 355 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 3, 1) bits 358 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_DS_ENTRY_EN(bits) \ bits 359 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 3, 1) bits 362 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_DA_MAC_ADDR_MASK(bits) \ bits 363 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 48) bits 369 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM4_BUCKET_NUM(bits) \ bits 370 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 8) bits 373 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM4_ENTRY_EN(bits) \ bits 374 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 8, 1) bits 376 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM4_BUCKET_DATA(bits) \ bits 377 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 9, 7) bits 380 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM5_BUCKET_NUM(bits) \ bits 381 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 16, 8) bits 384 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM5_ENTRY_EN(bits) \ bits 385 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 24, 1) bits 387 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM5_BUCKET_DATA(bits) \ bits 388 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 25, 7) bits 391 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM6_BUCKET_NUM(bits) \ bits 392 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 8) bits 395 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM6_ENTRY_EN(bits) \ bits 396 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 40, 1) bits 398 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM6_BUCKET_DATA(bits) \ bits 399 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 41, 7) bits 402 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM7_BUCKET_NUM(bits) \ bits 403 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 48, 8) bits 406 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM7_ENTRY_EN(bits) \ bits 407 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 56, 1) bits 409 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_RTH_ITEM7_BUCKET_DATA(bits) \ bits 410 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 57, 7) bits 426 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_DAY(bits) \ bits 427 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 8) bits 429 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MONTH(bits) \ bits 430 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 8, 8) bits 432 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_YEAR(bits) \ bits 433 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 16, 16) bits 437 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MAJOR(bits) \ bits 438 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 8) bits 440 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MINOR(bits) \ bits 441 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 40, 8) bits 443 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_BUILD(bits) \ bits 444 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 48, 16) bits 447 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_FLASH_VER_DAY(bits) \ bits 448 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 8) bits 450 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_FLASH_VER_MONTH(bits) \ bits 451 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 8, 8) bits 453 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_FLASH_VER_YEAR(bits) \ bits 454 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 16, 16) bits 458 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_FLASH_VER_MAJOR(bits) \ bits 459 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 8) bits 461 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_FLASH_VER_MINOR(bits) \ bits 462 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 40, 8) bits 464 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_DATA1_GET_FLASH_VER_BUILD(bits) \ bits 465 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 48, 16) bits 467 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RTS_ACCESS_STEER_CTRL_GET_ACTION(bits) vxge_bVALn(bits, 0, 8) bits 469 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_SRPCIM_TO_VPATH_ALARM_REG_GET_PPIF_SRPCIM_TO_VPATH_ALARM(bits)\ bits 470 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 18) bits 472 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RX_MULTI_CAST_STATS_GET_FRAME_DISCARD(bits) \ bits 473 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 48, 16) bits 474 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RX_FRM_TRANSFERRED_GET_RX_FRM_TRANSFERRED(bits) \ bits 475 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 476 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_RXD_RETURNED_GET_RXD_RETURNED(bits) vxge_bVALn(bits, 48, 16) bits 477 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_DEBUG_STATS0_GET_INI_NUM_MWR_SENT(bits) \ bits 478 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 32) bits 479 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_DEBUG_STATS1_GET_INI_NUM_MRD_SENT(bits) \ bits 480 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 32) bits 481 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_DEBUG_STATS2_GET_INI_NUM_CPL_RCVD(bits) \ bits 482 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 32) bits 483 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_DEBUG_STATS3_GET_INI_NUM_MWR_BYTE_SENT(bits) (bits) bits 484 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_DEBUG_STATS4_GET_INI_NUM_CPL_BYTE_RCVD(bits) (bits) bits 485 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_DEBUG_STATS5_GET_WRCRDTARB_XOFF(bits) \ bits 486 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 487 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_DEBUG_STATS6_GET_RDCRDTARB_XOFF(bits) \ bits 488 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 489 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_GENSTATS_COUNT01_GET_PPIF_VPATH_GENSTATS_COUNT1(bits) \ bits 490 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 32) bits 491 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_GENSTATS_COUNT01_GET_PPIF_VPATH_GENSTATS_COUNT0(bits) \ bits 492 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 493 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_GENSTATS_COUNT23_GET_PPIF_VPATH_GENSTATS_COUNT3(bits) \ bits 494 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 32) bits 495 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_GENSTATS_COUNT23_GET_PPIF_VPATH_GENSTATS_COUNT2(bits) \ bits 496 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 497 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_GENSTATS_COUNT4_GET_PPIF_VPATH_GENSTATS_COUNT4(bits) \ bits 498 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 32) bits 499 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_VPATH_GENSTATS_COUNT5_GET_PPIF_VPATH_GENSTATS_COUNT5(bits) \ bits 500 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 501 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_TX_VP_RESET_DISCARDED_FRMS_GET_TX_VP_RESET_DISCARDED_FRMS(bits\ bits 502 drivers/net/ethernet/neterion/vxge/vxge-reg.h ) vxge_bVALn(bits, 48, 16) bits 503 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STATS_GET_RX_MPA_CRC_FAIL_FRMS(bits) vxge_bVALn(bits, 0, 16) bits 504 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STATS_GET_RX_MPA_MRK_FAIL_FRMS(bits) \ bits 505 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 16, 16) bits 506 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STATS_GET_RX_MPA_LEN_FAIL_FRMS(bits) \ bits 507 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 16) bits 508 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STATS_GET_RX_FAU_RX_WOL_FRMS(bits) vxge_bVALn(bits, 0, 16) bits 509 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STATS_GET_RX_FAU_RX_VP_RESET_DISCARDED_FRMS(bits) \ bits 510 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 16, 16) bits 511 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STATS_GET_RX_FAU_RX_PERMITTED_FRMS(bits) \ bits 512 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 16) bits 514 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_MRPCIM_DEBUG_STATS0_GET_INI_WR_DROP(bits) \ bits 515 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 32) bits 516 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_MRPCIM_DEBUG_STATS0_GET_INI_RD_DROP(bits) \ bits 517 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 518 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_MRPCIM_DEBUG_STATS1_GET_VPLANE_WRCRDTARB_PH_CRDT_DEPLETED(bits\ bits 519 drivers/net/ethernet/neterion/vxge/vxge-reg.h ) vxge_bVALn(bits, 32, 32) bits 520 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_MRPCIM_DEBUG_STATS2_GET_VPLANE_WRCRDTARB_PD_CRDT_DEPLETED(bits\ bits 521 drivers/net/ethernet/neterion/vxge/vxge-reg.h ) vxge_bVALn(bits, 32, 32) bits 523 drivers/net/ethernet/neterion/vxge/vxge-reg.h VXGE_HW_MRPCIM_DEBUG_STATS3_GET_VPLANE_RDCRDTARB_NPH_CRDT_DEPLETED(bits) \ bits 524 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 525 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_MRPCIM_DEBUG_STATS4_GET_INI_WR_VPIN_DROP(bits) \ bits 526 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 32) bits 527 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_MRPCIM_DEBUG_STATS4_GET_INI_RD_VPIN_DROP(bits) \ bits 528 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 529 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_GENSTATS_COUNT01_GET_GENSTATS_COUNT1(bits) \ bits 530 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 32) bits 531 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_GENSTATS_COUNT01_GET_GENSTATS_COUNT0(bits) \ bits 532 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 533 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_GENSTATS_COUNT23_GET_GENSTATS_COUNT3(bits) \ bits 534 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 32) bits 535 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_GENSTATS_COUNT23_GET_GENSTATS_COUNT2(bits) \ bits 536 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 537 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_GENSTATS_COUNT4_GET_GENSTATS_COUNT4(bits) \ bits 538 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 539 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_GENSTATS_COUNT5_GET_GENSTATS_COUNT5(bits) \ bits 540 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 542 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DEBUG_STATS0_GET_RSTDROP_MSG(bits) vxge_bVALn(bits, 0, 32) bits 543 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DEBUG_STATS0_GET_RSTDROP_CPL(bits) vxge_bVALn(bits, 32, 32) bits 544 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DEBUG_STATS1_GET_RSTDROP_CLIENT0(bits) vxge_bVALn(bits, 0, 32) bits 545 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DEBUG_STATS1_GET_RSTDROP_CLIENT1(bits) vxge_bVALn(bits, 32, 32) bits 546 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DEBUG_STATS2_GET_RSTDROP_CLIENT2(bits) vxge_bVALn(bits, 0, 32) bits 547 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DEBUG_STATS3_GET_VPLANE_DEPL_PH(bits) vxge_bVALn(bits, 0, 16) bits 548 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DEBUG_STATS3_GET_VPLANE_DEPL_NPH(bits) vxge_bVALn(bits, 16, 16) bits 549 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DEBUG_STATS3_GET_VPLANE_DEPL_CPLH(bits) vxge_bVALn(bits, 32, 16) bits 550 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DEBUG_STATS4_GET_VPLANE_DEPL_PD(bits) vxge_bVALn(bits, 0, 16) bits 551 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DEBUG_STATS4_GET_VPLANE_DEPL_NPD(bits) bVAL(bits, 16, 16) bits 552 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DEBUG_STATS4_GET_VPLANE_DEPL_CPLD(bits) vxge_bVALn(bits, 32, 16) bits 554 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STATS_TPA_TX_PATH_GET_TX_PERMITTED_FRMS(bits) \ bits 555 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 32, 32) bits 557 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STAT_TX_ANY_FRMS_GET_PORT0_TX_ANY_FRMS(bits) \ bits 558 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 8) bits 559 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STAT_TX_ANY_FRMS_GET_PORT1_TX_ANY_FRMS(bits) \ bits 560 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 8, 8) bits 561 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STAT_TX_ANY_FRMS_GET_PORT2_TX_ANY_FRMS(bits) \ bits 562 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 16, 8) bits 564 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STAT_RX_ANY_FRMS_GET_PORT0_RX_ANY_FRMS(bits) \ bits 565 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 0, 8) bits 566 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STAT_RX_ANY_FRMS_GET_PORT1_RX_ANY_FRMS(bits) \ bits 567 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 8, 8) bits 568 drivers/net/ethernet/neterion/vxge/vxge-reg.h #define VXGE_HW_DBG_STAT_RX_ANY_FRMS_GET_PORT2_RX_ANY_FRMS(bits) \ bits 569 drivers/net/ethernet/neterion/vxge/vxge-reg.h vxge_bVALn(bits, 16, 8) bits 314 drivers/net/ethernet/neterion/vxge/vxge-traffic.h #define VXGE_HW_STATS_GET_VPATH_PROG_EVENT_VNUM0(bits) \ bits 315 drivers/net/ethernet/neterion/vxge/vxge-traffic.h vxge_bVALn(bits, 0, 32) bits 317 drivers/net/ethernet/neterion/vxge/vxge-traffic.h #define VXGE_HW_STATS_GET_VPATH_PROG_EVENT_VNUM1(bits) \ bits 318 drivers/net/ethernet/neterion/vxge/vxge-traffic.h vxge_bVALn(bits, 32, 32) bits 321 drivers/net/ethernet/neterion/vxge/vxge-traffic.h #define VXGE_HW_STATS_GET_VPATH_PROG_EVENT_VNUM2(bits) \ bits 322 drivers/net/ethernet/neterion/vxge/vxge-traffic.h vxge_bVALn(bits, 0, 32) bits 324 drivers/net/ethernet/neterion/vxge/vxge-traffic.h #define VXGE_HW_STATS_GET_VPATH_PROG_EVENT_VNUM3(bits) \ bits 325 drivers/net/ethernet/neterion/vxge/vxge-traffic.h vxge_bVALn(bits, 32, 32) bits 108 drivers/net/ethernet/qlogic/qed/qed_int.c struct aeu_invert_reg_bit bits[32]; bits 1023 drivers/net/ethernet/qlogic/qed/qed_int.c struct aeu_invert_reg_bit *p_bit = &p_aeu->bits[j]; bits 1043 drivers/net/ethernet/qlogic/qed/qed_int.c u32 bits; bits 1050 drivers/net/ethernet/qlogic/qed/qed_int.c bits = aeu_inv_arr[i] & en; bits 1053 drivers/net/ethernet/qlogic/qed/qed_int.c if (!bits) bits 1064 drivers/net/ethernet/qlogic/qed/qed_int.c p_aeu = &sb_attn_sw->p_aeu_desc[i].bits[j]; bits 1075 drivers/net/ethernet/qlogic/qed/qed_int.c bitmask = bits & (((1 << bit_len) - 1) << bit); bits 1362 drivers/net/ethernet/qlogic/qed/qed_int.c p_aeu = &aeu_descs[i].bits[j]; bits 1366 drivers/net/ethernet/realtek/r8169_main.c static void rtl_ack_events(struct rtl8169_private *tp, u32 bits) bits 1369 drivers/net/ethernet/realtek/r8169_main.c RTL_W32(tp, IntrStatus_8125, bits); bits 1371 drivers/net/ethernet/realtek/r8169_main.c RTL_W16(tp, IntrStatus, bits); bits 4404 drivers/net/ethernet/realtek/r8169_main.c u16 bits; bits 4413 drivers/net/ethernet/realtek/r8169_main.c w = (rtl_ephy_read(tp, e->offset) & ~e->mask) | e->bits; bits 1529 drivers/net/ethernet/sgi/ioc3-eth.c int bits; bits 1535 drivers/net/ethernet/sgi/ioc3-eth.c for (bits = 6; --bits >= 0; ) { bits 978 drivers/net/ethernet/smsc/smc91c92_cs.c int bits; bits 979 drivers/net/ethernet/smsc/smc91c92_cs.c for (bits = 0; bits < 32; bits++) { bits 760 drivers/net/ethernet/smsc/smc91x.c static void smc_mii_out(struct net_device *dev, unsigned int val, int bits) bits 769 drivers/net/ethernet/smsc/smc91x.c for (mask = 1 << (bits - 1); mask; mask >>= 1) { bits 782 drivers/net/ethernet/smsc/smc91x.c static unsigned int smc_mii_in(struct net_device *dev, int bits) bits 791 drivers/net/ethernet/smsc/smc91x.c for (mask = 1 << (bits - 1), val = 0; mask; mask >>= 1) { bits 4237 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c int i, bits; bits 4239 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c bits = get_bitmask_order(VLAN_VID_MASK); bits 4240 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c for (i = 0; i < bits; i++) { bits 102 drivers/net/ethernet/sun/niu.c u64 bits, int limit, int delay) bits 107 drivers/net/ethernet/sun/niu.c if (!(val & bits)) bits 117 drivers/net/ethernet/sun/niu.c u64 bits, int limit, int delay, bits 122 drivers/net/ethernet/sun/niu.c nw64_mac(reg, bits); bits 123 drivers/net/ethernet/sun/niu.c err = __niu_wait_bits_clear_mac(np, reg, bits, limit, delay); bits 126 drivers/net/ethernet/sun/niu.c (unsigned long long)bits, reg_name, bits 137 drivers/net/ethernet/sun/niu.c u64 bits, int limit, int delay) bits 142 drivers/net/ethernet/sun/niu.c if (!(val & bits)) bits 152 drivers/net/ethernet/sun/niu.c u64 bits, int limit, int delay, bits 159 drivers/net/ethernet/sun/niu.c val |= bits; bits 162 drivers/net/ethernet/sun/niu.c err = __niu_wait_bits_clear_ipp(np, reg, bits, limit, delay); bits 165 drivers/net/ethernet/sun/niu.c (unsigned long long)bits, reg_name, bits 176 drivers/net/ethernet/sun/niu.c u64 bits, int limit, int delay) bits 181 drivers/net/ethernet/sun/niu.c if (!(val & bits)) bits 196 drivers/net/ethernet/sun/niu.c u64 bits, int limit, int delay, bits 201 drivers/net/ethernet/sun/niu.c nw64(reg, bits); bits 202 drivers/net/ethernet/sun/niu.c err = __niu_wait_bits_clear(np, reg, bits, limit, delay); bits 205 drivers/net/ethernet/sun/niu.c (unsigned long long)bits, reg_name, bits 227 drivers/net/ethernet/sun/niu.c unsigned long mask_reg, bits; bits 235 drivers/net/ethernet/sun/niu.c bits = LD_IM0_MASK; bits 238 drivers/net/ethernet/sun/niu.c bits = LD_IM1_MASK; bits 243 drivers/net/ethernet/sun/niu.c val &= ~bits; bits 245 drivers/net/ethernet/sun/niu.c val |= bits; bits 199 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c int i, bits; bits 201 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c bits = get_bitmask_order(VLAN_VID_MASK); bits 202 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c for (i = 0; i < bits; i++) { bits 21 drivers/net/ethernet/ti/cpsw_ale.c #define BITMASK(bits) (BIT(bits) - 1) bits 61 drivers/net/ethernet/ti/cpsw_ale.c static inline int cpsw_ale_get_field(u32 *ale_entry, u32 start, u32 bits) bits 68 drivers/net/ethernet/ti/cpsw_ale.c return (ale_entry[idx] >> start) & BITMASK(bits); bits 71 drivers/net/ethernet/ti/cpsw_ale.c static inline void cpsw_ale_set_field(u32 *ale_entry, u32 start, u32 bits, bits 76 drivers/net/ethernet/ti/cpsw_ale.c value &= BITMASK(bits); bits 80 drivers/net/ethernet/ti/cpsw_ale.c ale_entry[idx] &= ~(BITMASK(bits) << start); bits 84 drivers/net/ethernet/ti/cpsw_ale.c #define DEFINE_ALE_FIELD(name, start, bits) \ bits 87 drivers/net/ethernet/ti/cpsw_ale.c return cpsw_ale_get_field(ale_entry, start, bits); \ bits 91 drivers/net/ethernet/ti/cpsw_ale.c cpsw_ale_set_field(ale_entry, start, bits, value); \ bits 95 drivers/net/ethernet/ti/cpsw_ale.c static inline int cpsw_ale_get_##name(u32 *ale_entry, u32 bits) \ bits 97 drivers/net/ethernet/ti/cpsw_ale.c return cpsw_ale_get_field(ale_entry, start, bits); \ bits 100 drivers/net/ethernet/ti/cpsw_ale.c u32 bits) \ bits 102 drivers/net/ethernet/ti/cpsw_ale.c cpsw_ale_set_field(ale_entry, start, bits, value); \ bits 511 drivers/net/ethernet/ti/cpsw_ale.c int bits; bits 521 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 529 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 537 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 545 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 553 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 561 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 569 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 577 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 585 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 593 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 601 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 609 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 617 drivers/net/ethernet/ti/cpsw_ale.c .bits = 2, bits 625 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 633 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 641 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 649 drivers/net/ethernet/ti/cpsw_ale.c .bits = 1, bits 657 drivers/net/ethernet/ti/cpsw_ale.c .bits = 8, bits 665 drivers/net/ethernet/ti/cpsw_ale.c .bits = 8, bits 673 drivers/net/ethernet/ti/cpsw_ale.c .bits = 6, bits 681 drivers/net/ethernet/ti/cpsw_ale.c .bits = 6, bits 689 drivers/net/ethernet/ti/cpsw_ale.c .bits = 6, bits 697 drivers/net/ethernet/ti/cpsw_ale.c .bits = 6, bits 718 drivers/net/ethernet/ti/cpsw_ale.c mask = BITMASK(info->bits); bits 752 drivers/net/ethernet/ti/cpsw_ale.c return tmp & BITMASK(info->bits); bits 845 drivers/net/ethernet/ti/cpsw_ale.c ale_controls[ALE_PORT_UNKNOWN_VLAN_MEMBER].bits = bits 849 drivers/net/ethernet/ti/cpsw_ale.c ale_controls[ALE_PORT_UNKNOWN_MCAST_FLOOD].bits = bits 854 drivers/net/ethernet/ti/cpsw_ale.c ale_controls[ALE_PORT_UNKNOWN_REG_MCAST_FLOOD].bits = bits 859 drivers/net/ethernet/ti/cpsw_ale.c ale_controls[ALE_PORT_UNTAGGED_EGRESS].bits = bits 60 drivers/net/fjes/fjes_hw.c dctl.bits.reset = 1; bits 65 drivers/net/fjes/fjes_hw.c while ((dctl.bits.reset == 1) && (timeout > 0)) { bits 80 drivers/net/fjes/fjes_hw.c return info.bits.maxep; bits 89 drivers/net/fjes/fjes_hw.c return info.bits.epid; bits 378 drivers/net/fjes/fjes_hw.c cr.bits.req_start = 1; bits 379 drivers/net/fjes/fjes_hw.c cr.bits.req_code = type; bits 383 drivers/net/fjes/fjes_hw.c if (cr.bits.error == 0) { bits 387 drivers/net/fjes/fjes_hw.c while ((cs.bits.complete != 1) && timeout > 0) { bits 393 drivers/net/fjes/fjes_hw.c if (cs.bits.complete == 1) bits 399 drivers/net/fjes/fjes_hw.c switch (cr.bits.err_info) { bits 49 drivers/net/fjes/fjes_regs.h } bits; bits 57 drivers/net/fjes/fjes_regs.h } bits; bits 67 drivers/net/fjes/fjes_regs.h } bits; bits 78 drivers/net/fjes/fjes_regs.h } bits; bits 88 drivers/net/fjes/fjes_regs.h } bits; bits 97 drivers/net/fjes/fjes_regs.h } bits; bits 34 drivers/net/fjes/fjes_trace.h __entry->cr_req = cr->bits.req_code; bits 35 drivers/net/fjes/fjes_trace.h __entry->cr_error = cr->bits.error; bits 36 drivers/net/fjes/fjes_trace.h __entry->cr_err_info = cr->bits.err_info; bits 37 drivers/net/fjes/fjes_trace.h __entry->cr_req_start = cr->bits.req_start; bits 38 drivers/net/fjes/fjes_trace.h __entry->cs_req = cs->bits.req_code; bits 39 drivers/net/fjes/fjes_trace.h __entry->cs_busy = cs->bits.busy; bits 40 drivers/net/fjes/fjes_trace.h __entry->cs_complete = cs->bits.complete; bits 113 drivers/net/hamradio/hdlcdrv.c static int hdlc_rx_add_bytes(struct hdlcdrv_state *s, unsigned int bits, bits 123 drivers/net/hamradio/hdlcdrv.c *s->hdlcrx.bp++ = bits >> (32-num); bits 578 drivers/net/hamradio/hdlcdrv.c bi.data.bits = bits 591 drivers/net/hamradio/hdlcdrv.c bi.data.bits = bits 136 drivers/net/hamradio/yam.c unsigned char bits[YAM_FPGA_SIZE]; bits 337 drivers/net/hamradio/yam.c static unsigned char *add_mcs(unsigned char *bits, int bitrate, bits 371 drivers/net/hamradio/yam.c bits = (unsigned char *)fw->data; bits 382 drivers/net/hamradio/yam.c memcpy(p->bits, bits, YAM_FPGA_SIZE); bits 393 drivers/net/hamradio/yam.c memcpy(p->bits, bits, YAM_FPGA_SIZE); bits 399 drivers/net/hamradio/yam.c return p->bits; bits 409 drivers/net/hamradio/yam.c return p->bits; bits 961 drivers/net/hamradio/yam.c add_mcs(ym->bits, ym->bitrate, 0); bits 313 drivers/net/phy/bcm-phy-lib.c u8 bits; bits 356 drivers/net/phy/bcm-phy-lib.c val = val & ((1 << stat.bits) - 1); bits 182 drivers/net/phy/marvell.c u8 bits; bits 1620 drivers/net/phy/marvell.c val = val & ((1 << stat.bits) - 1); bits 69 drivers/net/phy/mdio-bitbang.c static void mdiobb_send_num(struct mdiobb_ctrl *ctrl, u16 val, int bits) bits 73 drivers/net/phy/mdio-bitbang.c for (i = bits - 1; i >= 0; i--) bits 78 drivers/net/phy/mdio-bitbang.c static u16 mdiobb_get_num(struct mdiobb_ctrl *ctrl, int bits) bits 83 drivers/net/phy/mdio-bitbang.c for (i = bits - 1; i >= 0; i--) { bits 78 drivers/net/phy/micrel.c u8 bits; bits 871 drivers/net/phy/micrel.c val = val & ((1 << stat.bits) - 1); bits 27 drivers/net/phy/smsc.c u8 bits; bits 354 drivers/net/ppp/bsd_comp.c int bits; bits 364 drivers/net/ppp/bsd_comp.c bits = BSD_NBITS(options[2]); bits 366 drivers/net/ppp/bsd_comp.c switch (bits) bits 397 drivers/net/ppp/bsd_comp.c maxmaxcode = MAXCODE(bits); bits 444 drivers/net/ppp/bsd_comp.c db->maxbits = bits; bits 1679 drivers/net/ppp/ppp_generic.c int i, bits, hdrlen, mtu; bits 1757 drivers/net/ppp/ppp_generic.c bits = B; bits 1855 drivers/net/ppp/ppp_generic.c bits |= E; bits 1864 drivers/net/ppp/ppp_generic.c q[2] = bits + ((ppp->nxseq >> 8) & 0xf); bits 1867 drivers/net/ppp/ppp_generic.c q[2] = bits; bits 1884 drivers/net/ppp/ppp_generic.c bits = 0; bits 101 drivers/net/ppp/ppp_mppe.c unsigned char bits; /* MPPE control bits */ bits 299 drivers/net/ppp/ppp_mppe.c state->bits = MPPE_BIT_ENCRYPTED; bits 328 drivers/net/ppp/ppp_mppe.c state->bits |= MPPE_BIT_FLUSHED; bits 377 drivers/net/ppp/ppp_mppe.c (state->bits & MPPE_BIT_FLUSHED)) { /* CCP Reset-Request */ bits 383 drivers/net/ppp/ppp_mppe.c state->bits |= MPPE_BIT_FLUSHED; bits 385 drivers/net/ppp/ppp_mppe.c obuf[0] |= state->bits; bits 386 drivers/net/ppp/ppp_mppe.c state->bits &= ~MPPE_BIT_FLUSHED; /* reset for next xmit */ bits 1010 drivers/net/slip/slip.c short bits = 0; bits 1026 drivers/net/slip/slip.c bits += 8; bits 1027 drivers/net/slip/slip.c while (bits >= 6) { bits 1028 drivers/net/slip/slip.c bits -= 6; bits 1029 drivers/net/slip/slip.c c = 0x30 + ((v >> bits) & 0x3F); bits 1033 drivers/net/slip/slip.c if (bits) { bits 1034 drivers/net/slip/slip.c c = 0x30 + ((v << (6 - bits)) & 0x3F); bits 137 drivers/net/wan/farsync.c volatile u8 bits; /* Status and config */ bits 148 drivers/net/wan/farsync.c volatile u8 bits; /* Status and config */ bits 826 drivers/net/wan/farsync.c FST_WRB(card, txDescrRing[port->index][txpos].bits, bits 859 drivers/net/wan/farsync.c FST_WRB(card, rxDescrRing[pi][rxp].bits, DMA_OWN); bits 1023 drivers/net/wan/farsync.c FST_WRB(card, rxDescrRing[pi][i].bits, DMA_OWN); bits 1050 drivers/net/wan/farsync.c FST_WRB(card, txDescrRing[pi][i].bits, 0); bits 1178 drivers/net/wan/farsync.c FST_WRB(card, rxDescrRing[pi][rxp].bits, DMA_OWN); bits 1185 drivers/net/wan/farsync.c dmabits = FST_RDB(card, rxDescrRing[pi][rxp].bits); bits 1192 drivers/net/wan/farsync.c FST_WRB(card, rxDescrRing[pi][rxp].bits, DMA_OWN); bits 1216 drivers/net/wan/farsync.c dmabits = FST_RDB(card, rxDescrRing[pi][rxp].bits); bits 1238 drivers/net/wan/farsync.c FST_WRB(card, rxDescrRing[pi][rxp].bits, DMA_OWN); bits 1263 drivers/net/wan/farsync.c FST_WRB(card, rxDescrRing[pi][rxp].bits, DMA_OWN); bits 1282 drivers/net/wan/farsync.c FST_WRB(card, rxDescrRing[pi][rxp].bits, DMA_OWN); bits 1340 drivers/net/wan/farsync.c while (!(FST_RDB(card, txDescrRing[pi][port->txpos].bits) & bits 1384 drivers/net/wan/farsync.c bits, bits 1438 drivers/net/wan/farsync.c while (!(FST_RDB(card, rxDescrRing[pi][port->rxpos].bits) bits 19 drivers/net/wan/lmc/lmc.h void lmc_gpio_mkinput(lmc_softc_t * const sc, u32 bits); bits 20 drivers/net/wan/lmc/lmc.h void lmc_gpio_mkoutput(lmc_softc_t * const sc, u32 bits); bits 1878 drivers/net/wan/lmc/lmc_main.c void lmc_gpio_mkinput(lmc_softc_t * const sc, u32 bits) /*fold00*/ bits 1881 drivers/net/wan/lmc/lmc_main.c sc->lmc_gpio_io &= ~bits; bits 1886 drivers/net/wan/lmc/lmc_main.c void lmc_gpio_mkoutput(lmc_softc_t * const sc, u32 bits) /*fold00*/ bits 1889 drivers/net/wan/lmc/lmc_main.c sc->lmc_gpio_io |= bits; bits 505 drivers/net/wireless/admtek/adm8211.c #define WRITE_SYN(name,v_mask,v_shift,a_mask,a_shift,bits,prewrite,postwrite)\ bits 526 drivers/net/wireless/admtek/adm8211.c for (i = 0; i <= bits; i++) { \ bits 527 drivers/net/wireless/admtek/adm8211.c if (bitbuf & (1 << (bits - i))) \ bits 430 drivers/net/wireless/ath/ar5523/ar5523.c static int ar5523_set_rxfilter(struct ar5523 *ar, u32 bits, u32 op) bits 434 drivers/net/wireless/ath/ar5523/ar5523.c rxfilter.bits = cpu_to_be32(bits); bits 437 drivers/net/wireless/ath/ar5523/ar5523.c ar5523_dbg(ar, "setting Rx filter=0x%x flags=0x%x\n", bits, op); bits 290 drivers/net/wireless/ath/ar5523/ar5523_hw.h __be32 bits; bits 1706 drivers/net/wireless/ath/ath5k/ath5k.h static inline u32 ath5k_hw_bitswap(u32 val, unsigned int bits) bits 1710 drivers/net/wireless/ath/ath5k/ath5k.h for (i = 0; i < bits; i++) { bits 117 drivers/net/wireless/ath/ath5k/pcu.c int bitrate, bits, symbols, symbol_bits; bits 160 drivers/net/wireless/ath/ath5k/pcu.c bits = plcp_bits + (len << 3); bits 163 drivers/net/wireless/ath/ath5k/pcu.c symbols = DIV_ROUND_UP(bits * 10, symbol_bits); bits 2879 drivers/net/wireless/ath/ath9k/hw.c u32 bits = REG_READ(ah, AR_RX_FILTER); bits 2883 drivers/net/wireless/ath/ath9k/hw.c bits |= ATH9K_RX_FILTER_PHYRADAR; bits 2885 drivers/net/wireless/ath/ath9k/hw.c bits |= ATH9K_RX_FILTER_PHYERR; bits 2887 drivers/net/wireless/ath/ath9k/hw.c return bits; bits 2891 drivers/net/wireless/ath/ath9k/hw.c void ath9k_hw_setrxfilter(struct ath_hw *ah, u32 bits) bits 2897 drivers/net/wireless/ath/ath9k/hw.c REG_WRITE(ah, AR_RX_FILTER, bits); bits 2900 drivers/net/wireless/ath/ath9k/hw.c if (bits & ATH9K_RX_FILTER_PHYRADAR) bits 2902 drivers/net/wireless/ath/ath9k/hw.c if (bits & ATH9K_RX_FILTER_PHYERR) bits 1053 drivers/net/wireless/ath/ath9k/hw.h void ath9k_hw_setrxfilter(struct ath_hw *ah, u32 bits); bits 1095 drivers/net/wireless/ath/ath9k/xmit.c int symbols, bits; bits 1100 drivers/net/wireless/ath/ath9k/xmit.c bits = symbols * bits_per_symbol[mcs % 8][ht40] * streams; bits 1101 drivers/net/wireless/ath/ath9k/xmit.c bits -= OFDM_PLCP_BITS; bits 1102 drivers/net/wireless/ath/ath9k/xmit.c bytes = bits / 8; bits 87 drivers/net/wireless/atmel/at76c50x-usb.c #define at76_dbg(bits, format, arg...) \ bits 89 drivers/net/wireless/atmel/at76c50x-usb.c if (at76_debug & (bits)) \ bits 93 drivers/net/wireless/atmel/at76c50x-usb.c #define at76_dbg_dump(bits, buf, len, format, arg...) \ bits 95 drivers/net/wireless/atmel/at76c50x-usb.c if (at76_debug & (bits)) { \ bits 61 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h #define SFIELD(val, field, bits) \ bits 63 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h ((unsigned)(bits) << field ## _S)) bits 27 drivers/net/wireless/intel/iwlegacy/common.c _il_poll_bit(struct il_priv *il, u32 addr, u32 bits, u32 mask, int timeout) bits 33 drivers/net/wireless/intel/iwlegacy/common.c if ((_il_rd(il, addr) & mask) == (bits & mask)) bits 1962 drivers/net/wireless/intel/iwlegacy/common.h int _il_poll_bit(struct il_priv *il, u32 addr, u32 bits, u32 mask, int timeout); bits 2075 drivers/net/wireless/intel/iwlegacy/common.h il_set_bits_mask_prph(struct il_priv *il, u32 reg, u32 bits, u32 mask) bits 2081 drivers/net/wireless/intel/iwlegacy/common.h _il_wr_prph(il, reg, ((_il_rd_prph(il, reg) & mask) | bits)); bits 137 drivers/net/wireless/intel/iwlwifi/iwl-io.c u32 bits, u32 mask, int timeout) bits 142 drivers/net/wireless/intel/iwlwifi/iwl-io.c if ((iwl_read32(trans, addr) & mask) == (bits & mask)) bits 251 drivers/net/wireless/intel/iwlwifi/iwl-io.c u32 bits, u32 mask, int timeout) bits 256 drivers/net/wireless/intel/iwlwifi/iwl-io.c if ((iwl_read_prph(trans, addr) & mask) == (bits & mask)) bits 279 drivers/net/wireless/intel/iwlwifi/iwl-io.c u32 bits, u32 mask) bits 286 drivers/net/wireless/intel/iwlwifi/iwl-io.c mask) | bits); bits 80 drivers/net/wireless/intel/iwlwifi/iwl-io.h u32 bits, u32 mask, int timeout); bits 95 drivers/net/wireless/intel/iwlwifi/iwl-io.h u32 bits, u32 mask, int timeout); bits 98 drivers/net/wireless/intel/iwlwifi/iwl-io.h u32 bits, u32 mask); bits 143 drivers/net/wireless/intel/iwlwifi/iwl-io.h u32 bits, u32 mask, int timeout) bits 147 drivers/net/wireless/intel/iwlwifi/iwl-io.h bits, mask, timeout); bits 1297 drivers/net/wireless/intersil/hostap/hostap_hw.c clear_bit(HOSTAP_BITS_TRANSMIT, &local->bits); bits 1704 drivers/net/wireless/intersil/hostap/hostap_hw.c if (!test_and_clear_bit(HOSTAP_BITS_TRANSMIT, &local->bits)) { bits 1763 drivers/net/wireless/intersil/hostap/hostap_hw.c if (test_and_set_bit(HOSTAP_BITS_TRANSMIT, &local->bits)) { bits 2132 drivers/net/wireless/intersil/hostap/hostap_hw.c if (!test_bit(HOSTAP_BITS_TRANSMIT, &local->bits) && bits 2482 drivers/net/wireless/intersil/hostap/hostap_hw.c set_bit(HOSTAP_BITS_BAP_TASKLET, &local->bits); bits 2500 drivers/net/wireless/intersil/hostap/hostap_hw.c set_bit(HOSTAP_BITS_BAP_TASKLET2, &local->bits); bits 2501 drivers/net/wireless/intersil/hostap/hostap_hw.c clear_bit(HOSTAP_BITS_BAP_TASKLET, &local->bits); bits 2505 drivers/net/wireless/intersil/hostap/hostap_hw.c clear_bit(HOSTAP_BITS_BAP_TASKLET2, &local->bits); bits 2547 drivers/net/wireless/intersil/hostap/hostap_hw.c dev->name, local->bits, evstat, inten); bits 2802 drivers/net/wireless/intersil/hostap/hostap_hw.c if (test_bit(HOSTAP_BITS_TRANSMIT, &local->bits)) { bits 680 drivers/net/wireless/intersil/hostap/hostap_wlan.h unsigned long bits; bits 122 drivers/net/wireless/intersil/p54/p54spi.c static int p54spi_wait_bit(struct p54s_priv *priv, u16 reg, u32 bits) bits 128 drivers/net/wireless/intersil/p54/p54spi.c if ((buffer & bits) == bits) bits 809 drivers/net/wireless/marvell/mwifiex/sdio.c mwifiex_sdio_poll_card_status(struct mwifiex_adapter *adapter, u8 bits) bits 818 drivers/net/wireless/marvell/mwifiex/sdio.c else if ((cs & bits) == bits) bits 1473 drivers/net/wireless/zydas/zd1211rw/zd_chip.c const u32* values, unsigned int count, u8 bits) bits 1479 drivers/net/wireless/zydas/zd1211rw/zd_chip.c r = zd_rfwrite_locked(chip, values[i], bits); bits 852 drivers/net/wireless/zydas/zd1211rw/zd_chip.h static inline int zd_rfwrite_locked(struct zd_chip *chip, u32 value, u8 bits) bits 855 drivers/net/wireless/zydas/zd1211rw/zd_chip.h return zd_usb_rfwrite(&chip->usb, value, bits); bits 861 drivers/net/wireless/zydas/zd1211rw/zd_chip.h const u32* values, unsigned int count, u8 bits); bits 616 drivers/net/wireless/zydas/zd1211rw/zd_mac.c u32 bits = (u32)tx_length * 8; bits 625 drivers/net/wireless/zydas/zd1211rw/zd_mac.c bits = (2*bits) + 10; /* round up to the next integer */ bits 629 drivers/net/wireless/zydas/zd1211rw/zd_mac.c u32 t = bits % 11; bits 635 drivers/net/wireless/zydas/zd1211rw/zd_mac.c bits += 10; /* round up to the next integer */ bits 639 drivers/net/wireless/zydas/zd1211rw/zd_mac.c return bits/divisor; bits 41 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c return bits(rw, bit, bit); bits 46 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c int reg = bits(rw, 18, 22); bits 47 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c int rw_flag = bits(rw, 23, 23); bits 54 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 14, 15), bit(rw, 3), bit(rw, 2), bit(rw, 1), bits 63 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 7, 9), bits(rw, 4, 6), bits(rw, 0, 3)); bits 67 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 6, 17), bits(rw, 0, 5)); bits 70 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c PDEBUG("reg3 IFPLL3 num %d", bits(rw, 0, 17)); bits 74 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 8, 16), bits(rw, 4, 7), bits(rw, 0, 3)); bits 82 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 7, 9), bits(rw, 4, 6), bits(rw, 0,3)); bits 86 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 6, 17), bits(rw, 0, 5)); bits 89 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c PDEBUG("reg7 RFPLL3 num2 %d", bits(rw, 0, 17)); bits 93 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 8, 16), bits(rw, 4, 7), bits(rw, 0, 3)); bits 97 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 13, 17), bits(rw, 8, 12), bits(rw, 3, 7), bits 98 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 0, 2)); bits 104 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bit(rw, 17), bits(rw, 15, 16), bits(rw, 10, 14), bits 105 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 7, 9), bits(rw, 4, 6), bit(rw, 3), bit(rw, 2), bits 111 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 15, 17), bits(rw, 9, 14), bits(rw, 3, 8), bits 112 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 0, 2)); bits 116 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 12, 17), bits(rw, 6, 11), bits(rw, 0, 5)); bits 123 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 8, 9), bits(rw, 5, 7), bits(rw, 3, 4), bits 124 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 0, 2)); bits 129 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 13, 17), bits(rw, 9, 12), bits(rw, 4, 8), bits 130 drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c bits(rw, 0, 3)); bits 1963 drivers/net/wireless/zydas/zd1211rw/zd_usb.c int zd_usb_rfwrite(struct zd_usb *usb, u32 value, u8 bits) bits 1976 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (bits < USB_MIN_RFWRITE_BIT_COUNT) { bits 1980 drivers/net/wireless/zydas/zd1211rw/zd_usb.c bits, USB_MIN_RFWRITE_BIT_COUNT); bits 1983 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (bits > USB_MAX_RFWRITE_BIT_COUNT) { bits 1986 drivers/net/wireless/zydas/zd1211rw/zd_usb.c bits, USB_MAX_RFWRITE_BIT_COUNT); bits 1990 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (value & (~0UL << bits)) { bits 1993 drivers/net/wireless/zydas/zd1211rw/zd_usb.c value, bits); bits 1998 drivers/net/wireless/zydas/zd1211rw/zd_usb.c dev_dbg_f(zd_usb_dev(usb), "value %#09x bits %d\n", value, bits); bits 2012 drivers/net/wireless/zydas/zd1211rw/zd_usb.c BUG_ON(sizeof(struct usb_req_rfwrite) + bits * sizeof(__le16) > bits 2015 drivers/net/wireless/zydas/zd1211rw/zd_usb.c req_len = sizeof(struct usb_req_rfwrite) + bits * sizeof(__le16); bits 2021 drivers/net/wireless/zydas/zd1211rw/zd_usb.c req->bits = cpu_to_le16(bits); bits 2023 drivers/net/wireless/zydas/zd1211rw/zd_usb.c for (i = 0; i < bits; i++) { bits 2025 drivers/net/wireless/zydas/zd1211rw/zd_usb.c if (value & (1 << (bits-1-i))) bits 96 drivers/net/wireless/zydas/zd1211rw/zd_usb.h __le16 bits; bits 274 drivers/net/wireless/zydas/zd1211rw/zd_usb.h int zd_usb_rfwrite(struct zd_usb *usb, u32 value, u8 bits); bits 1210 drivers/ntb/hw/intel/ntb_hw_gen1.c static void xeon_db_iowrite(u64 bits, void __iomem *mmio) bits 1212 drivers/ntb/hw/intel/ntb_hw_gen1.c iowrite16((u16)bits, mmio); bits 99 drivers/ntb/hw/intel/ntb_hw_gen3.h static inline void gen3_db_iowrite(u64 bits, void __iomem *mmio) bits 101 drivers/ntb/hw/intel/ntb_hw_gen3.h iowrite64(bits, mmio); bits 367 drivers/ntb/test/ntb_tool.c u64 bits; bits 382 drivers/ntb/test/ntb_tool.c n = sscanf(buf, "%c %lli", &cmd, &bits); bits 392 drivers/ntb/test/ntb_tool.c ret = fn_set(tc->ntb, bits); bits 397 drivers/ntb/test/ntb_tool.c ret = fn_clear(tc->ntb, bits); bits 1848 drivers/nvme/host/pci.c static int nvme_set_host_mem(struct nvme_dev *dev, u32 bits) bits 1857 drivers/nvme/host/pci.c c.features.dword11 = cpu_to_le32(bits); bits 1868 drivers/nvme/host/pci.c ret, bits); bits 88 drivers/nvmem/sc27xx-efuse.c static int sc27xx_efuse_poll_status(struct sc27xx_efuse *efuse, u32 bits) bits 95 drivers/nvmem/sc27xx-efuse.c val, (val & bits), bits 1105 drivers/parisc/sba_iommu.c Tells where the dvi bits are located in the address. bits 89 drivers/parport/parport_sunbpp.c unsigned char bits = 0; bits 94 drivers/parport/parport_sunbpp.c bits |= PARPORT_STATUS_ERROR; bits 96 drivers/parport/parport_sunbpp.c bits |= PARPORT_STATUS_SELECT; bits 98 drivers/parport/parport_sunbpp.c bits |= PARPORT_STATUS_PAPEROUT; bits 100 drivers/parport/parport_sunbpp.c bits |= PARPORT_STATUS_ACK; bits 102 drivers/parport/parport_sunbpp.c bits |= PARPORT_STATUS_BUSY; bits 105 drivers/parport/parport_sunbpp.c dprintk((KERN_DEBUG "read status 0x%x\n", bits)); bits 106 drivers/parport/parport_sunbpp.c return bits; bits 112 drivers/parport/parport_sunbpp.c unsigned char bits = 0; bits 117 drivers/parport/parport_sunbpp.c bits |= PARPORT_CONTROL_STROBE; bits 119 drivers/parport/parport_sunbpp.c bits |= PARPORT_CONTROL_AUTOFD; bits 121 drivers/parport/parport_sunbpp.c bits |= PARPORT_CONTROL_INIT; bits 123 drivers/parport/parport_sunbpp.c bits |= PARPORT_CONTROL_SELECT; bits 126 drivers/parport/parport_sunbpp.c dprintk((KERN_DEBUG "read control 0x%x\n", bits)); bits 127 drivers/parport/parport_sunbpp.c return bits; bits 153 drivers/pci/controller/pci-hyperv.c } bits; bits 625 drivers/pci/controller/pci-hyperv.c wslot.bits.dev = PCI_SLOT(devfn); bits 626 drivers/pci/controller/pci-hyperv.c wslot.bits.func = PCI_FUNC(devfn); bits 644 drivers/pci/controller/pci-hyperv.c return PCI_DEVFN(slot_no.bits.dev, slot_no.bits.func); bits 688 drivers/pcmcia/soc_common.c unsigned int val, struct bittbl *bits, int sz) bits 695 drivers/pcmcia/soc_common.c if (val & bits[i].mask) bits 696 drivers/pcmcia/soc_common.c b += sprintf(b, " %s", bits[i].name); bits 919 drivers/pcmcia/ti113x.h #define DEVID(_vend,_dev,_subvend,_subdev,mask,bits) { \ bits 924 drivers/pcmcia/ti113x.h .driver_data = ((mask) << 8 | (bits)), \ bits 941 drivers/pcmcia/ti113x.h u8 test_c9, old_c9, mask, bits; bits 952 drivers/pcmcia/ti113x.h bits = id->driver_data & 0xFF; bits 954 drivers/pcmcia/ti113x.h test_c9 = (test_c9 & ~mask) | bits; bits 243 drivers/phy/allwinner/phy-sun4i-usb.c u32 bits, reg_value; bits 248 drivers/phy/allwinner/phy-sun4i-usb.c bits = SUNXI_AHB_ICHR8_EN | SUNXI_AHB_INCR4_BURST_EN | bits 253 drivers/phy/allwinner/phy-sun4i-usb.c bits |= SUNXI_EHCI_HS_FORCE | SUNXI_HSIC_CONNECT_INT | bits 259 drivers/phy/allwinner/phy-sun4i-usb.c reg_value |= bits; bits 261 drivers/phy/allwinner/phy-sun4i-usb.c reg_value &= ~bits; bits 46 drivers/phy/allwinner/phy-sun9i-usb.c u32 bits, reg_value; bits 48 drivers/phy/allwinner/phy-sun9i-usb.c bits = SUNXI_AHB_INCR16_BURST_EN | SUNXI_AHB_INCR8_BURST_EN | bits 53 drivers/phy/allwinner/phy-sun9i-usb.c bits |= SUNXI_HSIC | SUNXI_EHCI_HS_FORCE | bits 59 drivers/phy/allwinner/phy-sun9i-usb.c reg_value |= bits; bits 61 drivers/phy/allwinner/phy-sun9i-usb.c reg_value &= ~bits; bits 625 drivers/phy/phy-xgene.c u32 reg, u32 bits) bits 630 drivers/phy/phy-xgene.c val |= bits; bits 633 drivers/phy/phy-xgene.c val &= ~bits; bits 638 drivers/phy/phy-xgene.c u32 reg, u32 bits) bits 643 drivers/phy/phy-xgene.c val &= ~bits; bits 648 drivers/phy/phy-xgene.c u32 reg, u32 bits) bits 653 drivers/phy/phy-xgene.c val |= bits; bits 684 drivers/phy/phy-xgene.c u32 bits) bits 689 drivers/phy/phy-xgene.c val &= ~bits; bits 694 drivers/phy/phy-xgene.c u32 bits) bits 699 drivers/phy/phy-xgene.c val |= bits; bits 76 drivers/phy/st/phy-stm32-usbphyc.c static inline void stm32_usbphyc_set_bits(void __iomem *reg, u32 bits) bits 78 drivers/phy/st/phy-stm32-usbphyc.c writel_relaxed(readl_relaxed(reg) | bits, reg); bits 81 drivers/phy/st/phy-stm32-usbphyc.c static inline void stm32_usbphyc_clr_bits(void __iomem *reg, u32 bits) bits 83 drivers/phy/st/phy-stm32-usbphyc.c writel_relaxed(readl_relaxed(reg) & ~bits, reg); bits 237 drivers/phy/ti/phy-twl4030-usb.c twl4030_usb_set_bits(struct twl4030_usb *twl, u8 reg, u8 bits) bits 239 drivers/phy/ti/phy-twl4030-usb.c return twl4030_usb_write(twl, ULPI_SET(reg), bits); bits 243 drivers/phy/ti/phy-twl4030-usb.c twl4030_usb_clear_bits(struct twl4030_usb *twl, u8 reg, u8 bits) bits 245 drivers/phy/ti/phy-twl4030-usb.c return twl4030_usb_write(twl, ULPI_CLR(reg), bits); bits 1655 drivers/pinctrl/intel/pinctrl-cherryview.c acpi_physical_address address, u32 bits, u64 *value, bits 493 drivers/pinctrl/intel/pinctrl-merrifield.c u32 bits, u32 mask) bits 502 drivers/pinctrl/intel/pinctrl-merrifield.c value |= bits & mask; bits 594 drivers/pinctrl/intel/pinctrl-merrifield.c u32 bits = grp->mode << BUFCFG_PINMODE_SHIFT; bits 611 drivers/pinctrl/intel/pinctrl-merrifield.c mrfld_update_bufcfg(mp, grp->pins[i], bits, mask); bits 622 drivers/pinctrl/intel/pinctrl-merrifield.c u32 bits = BUFCFG_PINMODE_GPIO << BUFCFG_PINMODE_SHIFT; bits 630 drivers/pinctrl/intel/pinctrl-merrifield.c mrfld_update_bufcfg(mp, pin, bits, mask); bits 732 drivers/pinctrl/intel/pinctrl-merrifield.c u32 bits = 0, mask = 0; bits 742 drivers/pinctrl/intel/pinctrl-merrifield.c bits |= BUFCFG_PU_EN; bits 746 drivers/pinctrl/intel/pinctrl-merrifield.c bits |= BUFCFG_PUPD_VAL_50K << BUFCFG_PUPD_VAL_SHIFT; bits 749 drivers/pinctrl/intel/pinctrl-merrifield.c bits |= BUFCFG_PUPD_VAL_20K << BUFCFG_PUPD_VAL_SHIFT; bits 752 drivers/pinctrl/intel/pinctrl-merrifield.c bits |= BUFCFG_PUPD_VAL_2K << BUFCFG_PUPD_VAL_SHIFT; bits 762 drivers/pinctrl/intel/pinctrl-merrifield.c bits |= BUFCFG_PD_EN; bits 766 drivers/pinctrl/intel/pinctrl-merrifield.c bits |= BUFCFG_PUPD_VAL_50K << BUFCFG_PUPD_VAL_SHIFT; bits 769 drivers/pinctrl/intel/pinctrl-merrifield.c bits |= BUFCFG_PUPD_VAL_20K << BUFCFG_PUPD_VAL_SHIFT; bits 772 drivers/pinctrl/intel/pinctrl-merrifield.c bits |= BUFCFG_PUPD_VAL_2K << BUFCFG_PUPD_VAL_SHIFT; bits 783 drivers/pinctrl/intel/pinctrl-merrifield.c bits |= BUFCFG_OD_EN; bits 789 drivers/pinctrl/intel/pinctrl-merrifield.c bits |= BUFCFG_SLEWSEL; bits 794 drivers/pinctrl/intel/pinctrl-merrifield.c mrfld_update_bufcfg(mp, pin, bits, mask); bits 71 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c u32 bits; bits 108 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c bits = c->fixed ? c->s_bit : c->s_bit + bits 115 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c pfd->offset = c->s_addr + c->x_addrs * (bits / c->sz_reg); bits 116 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c pfd->bitpos = bits % c->sz_reg; bits 199 drivers/pinctrl/mediatek/pinctrl-mtk-common.c unsigned int bits, mask, shift; bits 213 drivers/pinctrl/mediatek/pinctrl-mtk-common.c bits = drv_grp->high_bit - drv_grp->low_bit + 1; bits 214 drivers/pinctrl/mediatek/pinctrl-mtk-common.c mask = BIT(bits) - 1; bits 1452 drivers/pinctrl/pinctrl-at91.c unsigned long *mask, unsigned long *bits) bits 1457 drivers/pinctrl/pinctrl-at91.c #define BITS_MASK(bits) (((bits) == 32) ? ~0U : (BIT(bits) - 1)) bits 1459 drivers/pinctrl/pinctrl-at91.c uint32_t set_mask = (*mask & *bits) & BITS_MASK(chip->ngpio); bits 1460 drivers/pinctrl/pinctrl-at91.c uint32_t clear_mask = (*mask & ~(*bits)) & BITS_MASK(chip->ngpio); bits 448 drivers/pinctrl/pinctrl-sx150x.c unsigned long *bits) bits 452 drivers/pinctrl/pinctrl-sx150x.c regmap_write_bits(pctl->regmap, pctl->data->reg_data, *mask, *bits); bits 713 drivers/pinctrl/pinctrl-u300.c u16 bits; bits 945 drivers/pinctrl/pinctrl-u300.c val = upmx_mask->bits; bits 188 drivers/platform/olpc/olpc-ec.c int olpc_ec_mask_write(u16 bits) bits 197 drivers/platform/olpc/olpc-ec.c __be16 ec_word = cpu_to_be16(bits); bits 201 drivers/platform/olpc/olpc-ec.c u8 ec_byte = bits & 0xff; bits 412 drivers/platform/x86/intel_scu_ipc.c int intel_scu_ipc_update_register(u16 addr, u8 bits, u8 mask) bits 414 drivers/platform/x86/intel_scu_ipc.c u8 data[2] = { bits, mask }; bits 1235 drivers/platform/x86/wmi.c u32 bits, u64 *value, bits 1247 drivers/platform/x86/wmi.c if (bits != 8) bits 37 drivers/pnp/base.h typedef struct { DECLARE_BITMAP(bits, PNP_IRQ_NR); } pnp_irq_mask_t; bits 74 drivers/pnp/interface.c if (test_bit(i, irq->map.bits)) { bits 85 drivers/pnp/interface.c if (bitmap_empty(irq->map.bits, PNP_IRQ_NR)) bits 414 drivers/pnp/isapnp/core.c unsigned long bits; bits 419 drivers/pnp/isapnp/core.c bits = (tmp[1] << 8) | tmp[0]; bits 421 drivers/pnp/isapnp/core.c bitmap_zero(map.bits, PNP_IRQ_NR); bits 422 drivers/pnp/isapnp/core.c bitmap_copy(map.bits, &bits, 16); bits 154 drivers/pnp/manager.c if (bitmap_empty(rule->map.bits, PNP_IRQ_NR)) { bits 161 drivers/pnp/manager.c res->start = find_next_bit(rule->map.bits, PNP_IRQ_NR, 16); bits 167 drivers/pnp/manager.c if (test_bit(xtab[i], rule->map.bits)) { bits 313 drivers/pnp/pnpacpi/rsparser.c bitmap_zero(map.bits, PNP_IRQ_NR); bits 316 drivers/pnp/pnpacpi/rsparser.c __set_bit(p->interrupts[i], map.bits); bits 330 drivers/pnp/pnpacpi/rsparser.c bitmap_zero(map.bits, PNP_IRQ_NR); bits 334 drivers/pnp/pnpacpi/rsparser.c __set_bit(p->interrupts[i], map.bits); bits 266 drivers/pnp/pnpbios/rsparser.c unsigned long bits; bits 270 drivers/pnp/pnpbios/rsparser.c bits = (p[2] << 8) | p[1]; bits 272 drivers/pnp/pnpbios/rsparser.c bitmap_zero(map.bits, PNP_IRQ_NR); bits 273 drivers/pnp/pnpbios/rsparser.c bitmap_copy(map.bits, &bits, 16); bits 81 drivers/pnp/quirks.c bitmap_zero(irq->map.bits, PNP_IRQ_NR); bits 82 drivers/pnp/quirks.c __set_bit(5, irq->map.bits); bits 83 drivers/pnp/quirks.c __set_bit(7, irq->map.bits); bits 84 drivers/pnp/quirks.c __set_bit(10, irq->map.bits); bits 70 drivers/pnp/resource.c if (test_bit(i, irq->map.bits)) bits 671 drivers/pnp/resource.c test_bit(start, irq->map.bits)) bits 145 drivers/pnp/support.c if (bitmap_empty(irq->map.bits, PNP_IRQ_NR)) bits 150 drivers/pnp/support.c if (test_bit(i, irq->map.bits)) bits 40 drivers/power/supply/pcf50633-charger.c u8 bits; bits 45 drivers/power/supply/pcf50633-charger.c bits = PCF50633_MBCC7_USB_1000mA; bits 48 drivers/power/supply/pcf50633-charger.c bits = PCF50633_MBCC7_USB_500mA; bits 51 drivers/power/supply/pcf50633-charger.c bits = PCF50633_MBCC7_USB_100mA; bits 54 drivers/power/supply/pcf50633-charger.c bits = PCF50633_MBCC7_USB_SUSPEND; bits 59 drivers/power/supply/pcf50633-charger.c PCF50633_MBCC7_USB_MASK, bits); bits 690 drivers/powercap/intel_rapl_common.c u64 bits; bits 695 drivers/powercap/intel_rapl_common.c bits = rapl_unit_xlate(rd, rp->unit, value, 1); bits 696 drivers/powercap/intel_rapl_common.c bits <<= rp->shift; bits 697 drivers/powercap/intel_rapl_common.c bits &= rp->mask; bits 703 drivers/powercap/intel_rapl_common.c ra.value = bits; bits 126 drivers/pwm/pwm-samsung.c u8 bits; bits 128 drivers/pwm/pwm-samsung.c bits = (fls(divisor) - 1) - pwm->variant.div_base; bits 134 drivers/pwm/pwm-samsung.c reg |= bits << shift; bits 196 drivers/pwm/pwm-samsung.c if (variant->bits < 32) { bits 199 drivers/pwm/pwm-samsung.c if ((rate >> (variant->bits + div)) < freq) bits 439 drivers/pwm/pwm-samsung.c .bits = 16, bits 446 drivers/pwm/pwm-samsung.c .bits = 32, bits 453 drivers/pwm/pwm-samsung.c .bits = 32, bits 460 drivers/pwm/pwm-samsung.c .bits = 32, bits 157 drivers/pwm/pwm-twl.c u8 val, mask, bits; bits 161 drivers/pwm/pwm-twl.c bits = TWL4030_GPIO7_VIBRASYNC_PWM1_PWM1; bits 164 drivers/pwm/pwm-twl.c bits = TWL4030_GPIO6_PWM0_MUTE_PWM0; bits 180 drivers/pwm/pwm-twl.c val |= bits; bits 885 drivers/regulator/da9062-regulator.c int bits, i, ret; bits 887 drivers/regulator/da9062-regulator.c ret = regmap_read(hw->regmap, DA9062AA_STATUS_D, &bits); bits 899 drivers/regulator/da9062-regulator.c if (BIT(regl->info->oc_event.lsb) & bits) { bits 599 drivers/regulator/da9063-regulator.c int bits, i , ret; bits 601 drivers/regulator/da9063-regulator.c ret = regmap_read(hw->regmap, DA9063_REG_STATUS_D, &bits); bits 610 drivers/regulator/da9063-regulator.c if (BIT(regl->info->oc_event.lsb) & bits) { bits 136 drivers/regulator/max8660.c u8 reg, bits; bits 145 drivers/regulator/max8660.c bits = (rdev_get_id(rdev) == MAX8660_V3) ? 0x03 : 0x30; bits 146 drivers/regulator/max8660.c return max8660_write(max8660, MAX8660_VCC1, 0xff, bits); bits 275 drivers/regulator/tps65910-regulator.c #define EXT_CONTROL_REG_BITS(id, regs_offs, bits) (((regs_offs) << 8) | (bits)) bits 2228 drivers/s390/block/dasd.c void dasd_device_set_stop_bits(struct dasd_device *device, int bits) bits 2230 drivers/s390/block/dasd.c device->stopped |= bits; bits 2234 drivers/s390/block/dasd.c void dasd_device_remove_stop_bits(struct dasd_device *device, int bits) bits 2236 drivers/s390/block/dasd.c device->stopped &= ~bits; bits 489 drivers/s390/block/dasd_fba.c if (private->rdc_data.mode.bits.data_chain == 0) { bits 506 drivers/s390/block/dasd_fba.c if (private->rdc_data.mode.bits.data_chain != 0) { bits 523 drivers/s390/block/dasd_fba.c if (private->rdc_data.mode.bits.data_chain == 0) { bits 591 drivers/s390/block/dasd_fba.c if (private->rdc_data.mode.bits.data_chain != 0) bits 597 drivers/s390/block/dasd_fba.c if (private->rdc_data.mode.bits.data_chain == 0) bits 51 drivers/s390/block/dasd_fba.h } __attribute__ ((packed)) bits; bits 62 drivers/s390/block/dasd_fba.h } __attribute__ ((packed)) bits; bits 120 drivers/s390/cio/airq.c static inline unsigned long iv_size(unsigned long bits) bits 122 drivers/s390/cio/airq.c return BITS_TO_LONGS(bits) * sizeof(unsigned long); bits 132 drivers/s390/cio/airq.c struct airq_iv *airq_iv_create(unsigned long bits, unsigned long flags) bits 140 drivers/s390/cio/airq.c iv->bits = bits; bits 142 drivers/s390/cio/airq.c size = iv_size(bits); bits 145 drivers/s390/cio/airq.c if ((cache_line_size() * BITS_PER_BYTE) < bits bits 165 drivers/s390/cio/airq.c iv->end = bits; bits 172 drivers/s390/cio/airq.c size = bits * sizeof(unsigned long); bits 178 drivers/s390/cio/airq.c size = bits * sizeof(unsigned int); bits 212 drivers/s390/cio/airq.c cio_dma_free(iv->vector, iv_size(iv->bits)); bits 234 drivers/s390/cio/airq.c bit = find_first_bit_inv(iv->avail, iv->bits); bits 235 drivers/s390/cio/airq.c while (bit + num <= iv->bits) { bits 247 drivers/s390/cio/airq.c bit = find_next_bit_inv(iv->avail, iv->bits, bit + i + 1); bits 249 drivers/s390/cio/airq.c if (bit + num > iv->bits) bits 903 drivers/s390/crypto/ap_bus.c static int hex2bitmap(const char *str, unsigned long *bitmap, int bits) bits 908 drivers/s390/crypto/ap_bus.c if (bits & 0x07) bits 916 drivers/s390/crypto/ap_bus.c for (i = 0; isxdigit(*str) && i < bits; str++) { bits 948 drivers/s390/crypto/ap_bus.c static int modify_bitmap(const char *str, unsigned long *bitmap, int bits) bits 954 drivers/s390/crypto/ap_bus.c if (bits & 0x07) bits 962 drivers/s390/crypto/ap_bus.c if (str == np || a >= bits) bits 967 drivers/s390/crypto/ap_bus.c if (str == np || a > z || z >= bits) bits 984 drivers/s390/crypto/ap_bus.c unsigned long *bitmap, int bits, bits 991 drivers/s390/crypto/ap_bus.c if (bits & 0x07) bits 994 drivers/s390/crypto/ap_bus.c size = BITS_TO_LONGS(bits)*sizeof(unsigned long); bits 1005 drivers/s390/crypto/ap_bus.c rc = modify_bitmap(str, newmap, bits); bits 1008 drivers/s390/crypto/ap_bus.c rc = hex2bitmap(str, newmap, bits); bits 94 drivers/s390/net/qeth_l3_main.c static void qeth_l3_convert_addr_to_bits(u8 *addr, u8 *bits, int len) bits 102 drivers/s390/net/qeth_l3_main.c bits[i*8 + j] = octet & 1; bits 88 drivers/scsi/aha1542.c u8 bits = inb(port) & mask; bits 89 drivers/scsi/aha1542.c if ((bits & allof) == allof && ((bits & noneof) == 0)) bits 77 drivers/scsi/aic7xxx/aic7xxx_93cx6.c uint8_t bits[11]; bits 116 drivers/scsi/aic7xxx/aic7xxx_93cx6.c if (cmd->bits[i] != 0) bits 122 drivers/scsi/aic7xxx/aic7xxx_93cx6.c if (cmd->bits[i] != 0) bits 868 drivers/scsi/cxlflash/vlun.c static const u8 bits[16] = { 0, 1, 1, 2, 1, 2, 2, 3, bits 871 drivers/scsi/cxlflash/vlun.c return bits[psm & 0xf]; bits 1158 drivers/scsi/esp_scsi.c u8 bits = esp_read8(ESP_FDATA); bits 1166 drivers/scsi/esp_scsi.c if (!(bits & esp->scsi_id_mask)) bits 1168 drivers/scsi/esp_scsi.c bits &= ~esp->scsi_id_mask; bits 1169 drivers/scsi/esp_scsi.c if (!bits || (bits & (bits - 1))) bits 1172 drivers/scsi/esp_scsi.c target = ffs(bits) - 1; bits 4523 drivers/scsi/ips.c uint32_t bits; bits 4531 drivers/scsi/ips.c bits = readl(ha->mem_ptr + IPS_REG_I2O_HIR); bits 4535 drivers/scsi/ips.c else if (bits & 0x3) bits 961 drivers/scsi/lpfc/lpfc_bsg.c cmd = ct_req->CommandResponse.bits.CmdRsp; bits 2709 drivers/scsi/lpfc/lpfc_bsg.c ctreq->RevisionId.bits.Revision = SLI_CT_REVISION; bits 2710 drivers/scsi/lpfc/lpfc_bsg.c ctreq->RevisionId.bits.InId = 0; bits 2713 drivers/scsi/lpfc/lpfc_bsg.c ctreq->CommandResponse.bits.CmdRsp = ELX_LOOPBACK_XRI_SETUP; bits 2714 drivers/scsi/lpfc/lpfc_bsg.c ctreq->CommandResponse.bits.Size = 0; bits 3259 drivers/scsi/lpfc/lpfc_bsg.c ctreq->RevisionId.bits.Revision = SLI_CT_REVISION; bits 3260 drivers/scsi/lpfc/lpfc_bsg.c ctreq->RevisionId.bits.InId = 0; bits 3263 drivers/scsi/lpfc/lpfc_bsg.c ctreq->CommandResponse.bits.CmdRsp = ELX_LOOPBACK_DATA; bits 3264 drivers/scsi/lpfc/lpfc_bsg.c ctreq->CommandResponse.bits.Size = size; bits 420 drivers/scsi/lpfc/lpfc_ct.c CommandResponse.bits.CmdRsp; bits 761 drivers/scsi/lpfc/lpfc_ct.c if (CTrsp->CommandResponse.bits.CmdRsp == bits 774 drivers/scsi/lpfc/lpfc_ct.c } else if (CTrsp->CommandResponse.bits.CmdRsp == bits 783 drivers/scsi/lpfc/lpfc_ct.c CTrsp->CommandResponse.bits.CmdRsp, bits 790 drivers/scsi/lpfc/lpfc_ct.c (uint32_t)CTrsp->CommandResponse.bits.CmdRsp, bits 798 drivers/scsi/lpfc/lpfc_ct.c CTrsp->CommandResponse.bits.CmdRsp, bits 805 drivers/scsi/lpfc/lpfc_ct.c (uint32_t)CTrsp->CommandResponse.bits.CmdRsp, bits 816 drivers/scsi/lpfc/lpfc_ct.c CTrsp->CommandResponse.bits.CmdRsp, bits 823 drivers/scsi/lpfc/lpfc_ct.c (uint32_t)CTrsp->CommandResponse.bits.CmdRsp, bits 960 drivers/scsi/lpfc/lpfc_ct.c if (CTrsp->CommandResponse.bits.CmdRsp == bits 971 drivers/scsi/lpfc/lpfc_ct.c } else if (CTrsp->CommandResponse.bits.CmdRsp == bits 980 drivers/scsi/lpfc/lpfc_ct.c CTrsp->CommandResponse.bits.CmdRsp, bits 988 drivers/scsi/lpfc/lpfc_ct.c (uint32_t)CTrsp->CommandResponse.bits.CmdRsp, bits 996 drivers/scsi/lpfc/lpfc_ct.c CTrsp->CommandResponse.bits.CmdRsp, bits 1004 drivers/scsi/lpfc/lpfc_ct.c (uint32_t)CTrsp->CommandResponse.bits.CmdRsp, bits 1013 drivers/scsi/lpfc/lpfc_ct.c CTrsp->CommandResponse.bits.CmdRsp, bits 1021 drivers/scsi/lpfc/lpfc_ct.c (uint32_t)CTrsp->CommandResponse.bits.CmdRsp, bits 1086 drivers/scsi/lpfc/lpfc_ct.c if (CTrsp->CommandResponse.bits.CmdRsp == bits 1290 drivers/scsi/lpfc/lpfc_ct.c CommandResponse.bits.CmdRsp); bits 1300 drivers/scsi/lpfc/lpfc_ct.c CTrsp->CommandResponse.bits.CmdRsp, bits 1350 drivers/scsi/lpfc/lpfc_ct.c if (CTrsp->CommandResponse.bits.CmdRsp == bits 1371 drivers/scsi/lpfc/lpfc_ct.c if (CTrsp->CommandResponse.bits.CmdRsp == bits 1392 drivers/scsi/lpfc/lpfc_ct.c if (CTrsp->CommandResponse.bits.CmdRsp == bits 1413 drivers/scsi/lpfc/lpfc_ct.c if (CTrsp->CommandResponse.bits.CmdRsp == bits 1446 drivers/scsi/lpfc/lpfc_ct.c if (CTrsp->CommandResponse.bits.CmdRsp == bits 1647 drivers/scsi/lpfc/lpfc_ct.c CtReq->RevisionId.bits.Revision = SLI_CT_REVISION; bits 1648 drivers/scsi/lpfc/lpfc_ct.c CtReq->RevisionId.bits.InId = 0; bits 1651 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.Size = 0; bits 1654 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.CmdRsp = bits 1666 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.CmdRsp = bits 1678 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.CmdRsp = bits 1685 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.CmdRsp = bits 1693 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.CmdRsp = bits 1725 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.CmdRsp = bits 1735 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.CmdRsp = bits 1746 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.CmdRsp = bits 1758 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.CmdRsp = bits 1765 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.CmdRsp = bits 1855 drivers/scsi/lpfc/lpfc_ct.c uint16_t fdmi_cmd = CTcmd->CommandResponse.bits.CmdRsp; bits 1856 drivers/scsi/lpfc/lpfc_ct.c uint16_t fdmi_rsp = CTrsp->CommandResponse.bits.CmdRsp; bits 3069 drivers/scsi/lpfc/lpfc_ct.c CtReq->RevisionId.bits.Revision = SLI_CT_REVISION; bits 3070 drivers/scsi/lpfc/lpfc_ct.c CtReq->RevisionId.bits.InId = 0; bits 3075 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.CmdRsp = cpu_to_be16(cmdcode); bits 3212 drivers/scsi/lpfc/lpfc_ct.c CtReq->CommandResponse.bits.Size = cpu_to_be16(rsp_size); bits 82 drivers/scsi/lpfc/lpfc_hw.h } bits; bits 91 drivers/scsi/lpfc/lpfc_hw.h } bits; bits 799 drivers/scsi/megaraid/megaraid_sas.h } bits; bits 4927 drivers/scsi/megaraid/megaraid_sas_base.c if (ci->host_device_list[i].flags.u.bits.is_sys_pd) { bits 8620 drivers/scsi/megaraid/megaraid_sas_base.c if (targetid_entry->flags.u.bits.is_sys_pd) { bits 186 drivers/scsi/megaraid/megaraid_sas_fusion.h } bits; bits 1149 drivers/scsi/mpt3sas/mpt3sas_ctl.c karg.pci_information.u.bits.bus = ioc->pdev->bus->number; bits 1150 drivers/scsi/mpt3sas/mpt3sas_ctl.c karg.pci_information.u.bits.device = PCI_SLOT(ioc->pdev->devfn); bits 1151 drivers/scsi/mpt3sas/mpt3sas_ctl.c karg.pci_information.u.bits.function = PCI_FUNC(ioc->pdev->devfn); bits 132 drivers/scsi/mpt3sas/mpt3sas_ctl.h } bits; bits 798 drivers/scsi/smartpqi/smartpqi.h } bits; bits 6581 drivers/scsi/smartpqi/smartpqi_init.c if (reset_reg.bits.reset_action == PQI_RESET_ACTION_COMPLETED) bits 6613 drivers/scsi/smartpqi/smartpqi_init.c reset_reg.bits.reset_type = PQI_RESET_TYPE_HARD_RESET; bits 6614 drivers/scsi/smartpqi/smartpqi_init.c reset_reg.bits.reset_action = PQI_RESET_ACTION_RESET; bits 266 drivers/soc/aspeed/aspeed-p2a-ctrl.c u32 bits = 0; bits 283 drivers/soc/aspeed/aspeed-p2a-ctrl.c bits |= priv->parent->config->regions[i].bit; bits 294 drivers/soc/aspeed/aspeed-p2a-ctrl.c regmap_update_bits(priv->parent->regmap, SCU2C, bits, bits); bits 627 drivers/soc/fsl/qbman/bman.c int bman_p_irqsource_add(struct bman_portal *p, u32 bits) bits 632 drivers/soc/fsl/qbman/bman.c p->irq_sources |= bits & BM_PIRQ_VISIBLE; bits 69 drivers/soc/fsl/qbman/bman_priv.h int bman_p_irqsource_add(struct bman_portal *p, u32 bits); bits 985 drivers/soc/fsl/qbman/qman.c unsigned long bits; bits 1292 drivers/soc/fsl/qbman/qman.c portal->bits = 0; bits 1687 drivers/soc/fsl/qbman/qman.c void qman_p_irqsource_add(struct qman_portal *p, u32 bits) bits 1692 drivers/soc/fsl/qbman/qman.c p->irq_sources |= bits & QM_PIRQ_VISIBLE; bits 1698 drivers/soc/fsl/qbman/qman.c void qman_p_irqsource_remove(struct qman_portal *p, u32 bits) bits 1714 drivers/soc/fsl/qbman/qman.c bits &= QM_PIRQ_VISIBLE; bits 1715 drivers/soc/fsl/qbman/qman.c p->irq_sources &= ~bits; bits 244 drivers/soc/fsl/qbman/qman_ccsr.c u16 bits; bits 546 drivers/soc/fsl/qbman/qman_ccsr.c log_edata_bits(dev, error_mdata[memid].bits); bits 565 drivers/soc/fsl/qbman/qman_ccsr.c log_edata_bits(dev, error_mdata[memid].bits); bits 83 drivers/soc/fsl/qe/gpio.c unsigned long *mask, unsigned long *bits) bits 97 drivers/soc/fsl/qe/gpio.c if (test_bit(i, bits)) bits 117 drivers/soc/imx/gpcv2.c } bits; bits 143 drivers/soc/imx/gpcv2.c domain->bits.map, domain->bits.map); bits 161 drivers/soc/imx/gpcv2.c if (domain->bits.hsk) bits 163 drivers/soc/imx/gpcv2.c domain->bits.hsk, on ? domain->bits.hsk : 0); bits 166 drivers/soc/imx/gpcv2.c domain->bits.pxx, domain->bits.pxx); bits 173 drivers/soc/imx/gpcv2.c !(pxx_req & domain->bits.pxx), bits 207 drivers/soc/imx/gpcv2.c domain->bits.map, 0); bits 226 drivers/soc/imx/gpcv2.c .bits = { bits 238 drivers/soc/imx/gpcv2.c .bits = { bits 250 drivers/soc/imx/gpcv2.c .bits = { bits 286 drivers/soc/imx/gpcv2.c .bits = { bits 297 drivers/soc/imx/gpcv2.c .bits = { bits 308 drivers/soc/imx/gpcv2.c .bits = { bits 319 drivers/soc/imx/gpcv2.c .bits = { bits 330 drivers/soc/imx/gpcv2.c .bits = { bits 341 drivers/soc/imx/gpcv2.c .bits = { bits 353 drivers/soc/imx/gpcv2.c .bits = { bits 365 drivers/soc/imx/gpcv2.c .bits = { bits 377 drivers/soc/imx/gpcv2.c .bits = { bits 388 drivers/soc/imx/gpcv2.c .bits = { bits 399 drivers/soc/imx/gpcv2.c .bits = { bits 109 drivers/spi/spi-ath79.c u32 word, u8 bits, unsigned flags) bits 115 drivers/spi/spi-ath79.c for (word <<= (32 - bits); likely(bits); bits--) { bits 128 drivers/spi/spi-ath79.c if (bits == 1) bits 1180 drivers/spi/spi-atmel.c unsigned int bits = spi->bits_per_word; bits 1190 drivers/spi/spi-atmel.c csr = SPI_BF(BITS, bits - 8); bits 1236 drivers/spi/spi-atmel.c bits, spi->mode, spi->chip_select, csr); bits 1250 drivers/spi/spi-atmel.c u8 bits; bits 1265 drivers/spi/spi-atmel.c bits = (asd->csr >> 4) & 0xf; bits 1266 drivers/spi/spi-atmel.c if (bits != xfer->bits_per_word - 8) { bits 49 drivers/spi/spi-bitbang-txrx.h u32 word, u8 bits) bits 53 drivers/spi/spi-bitbang-txrx.h u32 oldbit = (!(word & (1<<(bits-1)))) << 31; bits 55 drivers/spi/spi-bitbang-txrx.h for (word <<= (32 - bits); likely(bits); bits--) { bits 81 drivers/spi/spi-bitbang-txrx.h u32 word, u8 bits) bits 85 drivers/spi/spi-bitbang-txrx.h u32 oldbit = (!(word & (1<<(bits-1)))) << 31; bits 87 drivers/spi/spi-bitbang-txrx.h for (word <<= (32 - bits); likely(bits); bits--) { bits 43 drivers/spi/spi-bitbang.c u32 word, u8 bits, unsigned flags); bits 48 drivers/spi/spi-bitbang.c u32 word, u8 bits, bits 58 drivers/spi/spi-bitbang.c u32 word, u8 bits, bits 64 drivers/spi/spi-bitbang.c unsigned bits = t->bits_per_word; bits 74 drivers/spi/spi-bitbang.c word = txrx_word(spi, ns, word, bits, flags); bits 86 drivers/spi/spi-bitbang.c u32 word, u8 bits, bits 92 drivers/spi/spi-bitbang.c unsigned bits = t->bits_per_word; bits 102 drivers/spi/spi-bitbang.c word = txrx_word(spi, ns, word, bits, flags); bits 114 drivers/spi/spi-bitbang.c u32 word, u8 bits, bits 120 drivers/spi/spi-bitbang.c unsigned bits = t->bits_per_word; bits 130 drivers/spi/spi-bitbang.c word = txrx_word(spi, ns, word, bits, flags); bits 138 drivers/spi/spi-butterfly.c u8 bits, unsigned flags) bits 140 drivers/spi/spi-butterfly.c return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits); bits 179 drivers/spi/spi-davinci.c static inline void set_io_bits(void __iomem *addr, u32 bits) bits 183 drivers/spi/spi-davinci.c v |= bits; bits 187 drivers/spi/spi-davinci.c static inline void clear_io_bits(void __iomem *addr, u32 bits) bits 191 drivers/spi/spi-davinci.c v &= ~bits; bits 109 drivers/spi/spi-fsl-dspi.c #define SPI_FRAME_BITS(bits) SPI_CTAR_FMSZ((bits) - 1) bits 110 drivers/spi/spi-fsl-dspi.c #define SPI_FRAME_EBITS(bits) SPI_CTARE_FMSZE(((bits) - 1) >> 4) bits 136 drivers/spi/spi-gpio.c unsigned nsecs, u32 word, u8 bits, unsigned flags) bits 138 drivers/spi/spi-gpio.c return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits); bits 142 drivers/spi/spi-gpio.c unsigned nsecs, u32 word, u8 bits, unsigned flags) bits 144 drivers/spi/spi-gpio.c return bitbang_txrx_be_cpha1(spi, nsecs, 0, flags, word, bits); bits 148 drivers/spi/spi-gpio.c unsigned nsecs, u32 word, u8 bits, unsigned flags) bits 150 drivers/spi/spi-gpio.c return bitbang_txrx_be_cpha0(spi, nsecs, 1, flags, word, bits); bits 154 drivers/spi/spi-gpio.c unsigned nsecs, u32 word, u8 bits, unsigned flags) bits 156 drivers/spi/spi-gpio.c return bitbang_txrx_be_cpha1(spi, nsecs, 1, flags, word, bits); bits 170 drivers/spi/spi-gpio.c unsigned nsecs, u32 word, u8 bits, unsigned flags) bits 173 drivers/spi/spi-gpio.c return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits); bits 177 drivers/spi/spi-gpio.c unsigned nsecs, u32 word, u8 bits, unsigned flags) bits 180 drivers/spi/spi-gpio.c return bitbang_txrx_be_cpha1(spi, nsecs, 0, flags, word, bits); bits 184 drivers/spi/spi-gpio.c unsigned nsecs, u32 word, u8 bits, unsigned flags) bits 187 drivers/spi/spi-gpio.c return bitbang_txrx_be_cpha0(spi, nsecs, 1, flags, word, bits); bits 191 drivers/spi/spi-gpio.c unsigned nsecs, u32 word, u8 bits, unsigned flags) bits 194 drivers/spi/spi-gpio.c return bitbang_txrx_be_cpha1(spi, nsecs, 1, flags, word, bits); bits 182 drivers/spi/spi-lm70llp.c static u32 lm70_txrx(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits, bits 185 drivers/spi/spi-lm70llp.c return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits); bits 69 drivers/spi/spi-lp8841-rtc.c u32 word, u8 bits) bits 73 drivers/spi/spi-lp8841-rtc.c u32 shift = 32 - bits; bits 75 drivers/spi/spi-lp8841-rtc.c for (; likely(bits); bits--) { bits 68 drivers/spi/spi-npcm-pspi.c static inline unsigned int bytes_per_word(unsigned int bits) bits 70 drivers/spi/spi-npcm-pspi.c return bits <= 8 ? 1 : 2; bits 208 drivers/spi/spi-omap-uwire.c unsigned bits = t->bits_per_word; bits 230 drivers/spi/spi-omap-uwire.c if (bits > 8) { bits 235 drivers/spi/spi-omap-uwire.c val <<= 16 - bits; bits 239 drivers/spi/spi-omap-uwire.c dev_name(&spi->dev), bits, val); bits 247 drivers/spi/spi-omap-uwire.c val = START | w | (bits << 5); bits 271 drivers/spi/spi-omap-uwire.c if (bits > 8) { bits 277 drivers/spi/spi-omap-uwire.c val = START | w | (bits << 0); bits 292 drivers/spi/spi-omap-uwire.c val &= (1 << bits) - 1; bits 299 drivers/spi/spi-omap-uwire.c dev_name(&spi->dev), bits, val); bits 1852 drivers/spi/spi-pl022.c unsigned int bits = spi->bits_per_word; bits 1949 drivers/spi/spi-pl022.c if ((bits <= 3) || (bits > pl022->vendor->max_bpw)) { bits 1955 drivers/spi/spi-pl022.c } else if (bits <= 8) { bits 1960 drivers/spi/spi-pl022.c } else if (bits <= 16) { bits 2015 drivers/spi/spi-pl022.c SSP_WRITE_BITS(chip->cr0, bits - 1, bits 2032 drivers/spi/spi-pl022.c SSP_WRITE_BITS(chip->cr0, bits - 1, bits 273 drivers/spi/spi-pxa2xx.c u32 clk_div, u8 bits) bits 279 drivers/spi/spi-pxa2xx.c | QUARK_X1000_SSCR0_DataSize(bits > 32 ? 8 : bits) bits 284 drivers/spi/spi-pxa2xx.c | SSCR0_DataSize(bits > 16 ? bits - 16 : bits) bits 286 drivers/spi/spi-pxa2xx.c | (bits > 16 ? SSCR0_EDSS : 0); bits 951 drivers/spi/spi-pxa2xx.c u8 bits; bits 990 drivers/spi/spi-pxa2xx.c bits = transfer->bits_per_word; bits 995 drivers/spi/spi-pxa2xx.c if (bits <= 8) { bits 1001 drivers/spi/spi-pxa2xx.c } else if (bits <= 16) { bits 1007 drivers/spi/spi-pxa2xx.c } else if (bits <= 32) { bits 1021 drivers/spi/spi-pxa2xx.c bits, &dma_burst, bits 1054 drivers/spi/spi-pxa2xx.c cr0 = pxa2xx_configure_sscr0(drv_data, clk_div, bits); bits 20 drivers/spi/spi-rockchip.c #define ROCKCHIP_SPI_CLR_BITS(reg, bits) \ bits 21 drivers/spi/spi-rockchip.c writel_relaxed(readl_relaxed(reg) & ~(bits), reg) bits 22 drivers/spi/spi-rockchip.c #define ROCKCHIP_SPI_SET_BITS(reg, bits) \ bits 23 drivers/spi/spi-rockchip.c writel_relaxed(readl_relaxed(reg) | (bits), reg) bits 391 drivers/spi/spi-sh-msiof.c u32 bits, u32 words) bits 393 drivers/spi/spi-sh-msiof.c u32 dr2 = MDR2_BITLEN1(bits) | MDR2_WDLEN1(words); bits 676 drivers/spi/spi-sh-msiof.c int words, int bits) bits 688 drivers/spi/spi-sh-msiof.c fifo_shift = 32 - bits; bits 694 drivers/spi/spi-sh-msiof.c sh_msiof_spi_set_mode_regs(p, tx_buf, rx_buf, bits, words); bits 917 drivers/spi/spi-sh-msiof.c unsigned int bits = t->bits_per_word; bits 943 drivers/spi/spi-sh-msiof.c if (bits <= 8) { bits 945 drivers/spi/spi-sh-msiof.c } else if (bits <= 16) { bits 975 drivers/spi/spi-sh-msiof.c if (bits <= 8 && len > 15) { bits 976 drivers/spi/spi-sh-msiof.c bits = 32; bits 983 drivers/spi/spi-sh-msiof.c if (bits <= 8) { bits 987 drivers/spi/spi-sh-msiof.c } else if (bits <= 16) { bits 1027 drivers/spi/spi-sh-msiof.c words, bits); bits 1039 drivers/spi/spi-sh-msiof.c bits = t->bits_per_word; bits 39 drivers/spi/spi-sh-sci.c static inline void setbits(struct sh_sci_spi *sp, int bits, int on) bits 50 drivers/spi/spi-sh-sci.c sp->val |= bits; bits 52 drivers/spi/spi-sh-sci.c sp->val &= ~bits; bits 79 drivers/spi/spi-sh-sci.c unsigned nsecs, u32 word, u8 bits, bits 82 drivers/spi/spi-sh-sci.c return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits); bits 86 drivers/spi/spi-sh-sci.c unsigned nsecs, u32 word, u8 bits, bits 89 drivers/spi/spi-sh-sci.c return bitbang_txrx_be_cpha1(spi, nsecs, 0, flags, word, bits); bits 93 drivers/spi/spi-sh-sci.c unsigned nsecs, u32 word, u8 bits, bits 96 drivers/spi/spi-sh-sci.c return bitbang_txrx_be_cpha0(spi, nsecs, 1, flags, word, bits); bits 100 drivers/spi/spi-sh-sci.c unsigned nsecs, u32 word, u8 bits, bits 103 drivers/spi/spi-sh-sci.c return bitbang_txrx_be_cpha1(spi, nsecs, 1, flags, word, bits); bits 255 drivers/spi/spi-sprd.c static void sprd_spi_set_transfer_bits(struct sprd_spi *ss, u32 bits) bits 261 drivers/spi/spi-sprd.c val |= bits << SPRD_SPI_CHNL_LEN; bits 354 drivers/spi/spi-stm32.c u32 offset, u32 bits) bits 356 drivers/spi/spi-stm32.c writel_relaxed(readl_relaxed(spi->base + offset) | bits, bits 361 drivers/spi/spi-stm32.c u32 offset, u32 bits) bits 363 drivers/spi/spi-stm32.c writel_relaxed(readl_relaxed(spi->base + offset) & ~bits, bits 91 drivers/spi/spi-uniphier.c static inline unsigned int bytes_per_word(unsigned int bits) bits 93 drivers/spi/spi-uniphier.c return bits <= 8 ? 1 : (bits <= 16 ? 2 : 4); bits 54 drivers/spi/spi-xtensa-xtfpga.c u32 v, u8 bits, unsigned flags) bits 58 drivers/spi/spi-xtensa-xtfpga.c xspi->data = (xspi->data << bits) | (v & GENMASK(bits - 1, 0)); bits 59 drivers/spi/spi-xtensa-xtfpga.c xspi->data_sz += bits; bits 613 drivers/staging/comedi/comedi_fops.c unsigned int bits) bits 615 drivers/staging/comedi/comedi_fops.c s->runflags &= ~bits; bits 619 drivers/staging/comedi/comedi_fops.c unsigned int bits) bits 621 drivers/staging/comedi/comedi_fops.c s->runflags |= bits; bits 626 drivers/staging/comedi/comedi_fops.c unsigned int bits) bits 632 drivers/staging/comedi/comedi_fops.c __comedi_set_subdevice_runflags(s, bits & mask); bits 20 drivers/staging/comedi/comedilib.h unsigned int mask, unsigned int *bits, bits 388 drivers/staging/comedi/drivers.c unsigned int bits = data[1]; bits 392 drivers/staging/comedi/drivers.c s->state |= (bits & mask); bits 191 drivers/staging/comedi/drivers/addi_apci_2032.c unsigned short bits = 0; bits 199 drivers/staging/comedi/drivers/addi_apci_2032.c bits |= (1 << i); bits 202 drivers/staging/comedi/drivers/addi_apci_2032.c comedi_buf_write_samples(s, &bits, 1); bits 71 drivers/staging/comedi/drivers/c6xdigio.c unsigned int *bits, bits 81 drivers/staging/comedi/drivers/c6xdigio.c *bits = val; bits 90 drivers/staging/comedi/drivers/c6xdigio.c unsigned int bits; bits 97 drivers/staging/comedi/drivers/c6xdigio.c bits = (val >> 0) & 0x03; bits 98 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00); bits 99 drivers/staging/comedi/drivers/c6xdigio.c bits = (val >> 2) & 0x03; bits 100 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_write_data(dev, cmd | bits | (1 << 2), 0x80); bits 101 drivers/staging/comedi/drivers/c6xdigio.c bits = (val >> 4) & 0x03; bits 102 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00); bits 103 drivers/staging/comedi/drivers/c6xdigio.c bits = (val >> 6) & 0x03; bits 104 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_write_data(dev, cmd | bits | (1 << 2), 0x80); bits 105 drivers/staging/comedi/drivers/c6xdigio.c bits = (val >> 8) & 0x03; bits 106 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00); bits 116 drivers/staging/comedi/drivers/c6xdigio.c unsigned int bits; bits 120 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_get_encoder_bits(dev, &bits, cmd | (1 << 2), 0x80); bits 121 drivers/staging/comedi/drivers/c6xdigio.c val |= (bits << 0); bits 123 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_get_encoder_bits(dev, &bits, cmd | (0 << 2), 0x00); bits 124 drivers/staging/comedi/drivers/c6xdigio.c val |= (bits << 3); bits 126 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_get_encoder_bits(dev, &bits, cmd | (1 << 2), 0x80); bits 127 drivers/staging/comedi/drivers/c6xdigio.c val |= (bits << 6); bits 129 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_get_encoder_bits(dev, &bits, cmd | (0 << 2), 0x00); bits 130 drivers/staging/comedi/drivers/c6xdigio.c val |= (bits << 9); bits 132 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_get_encoder_bits(dev, &bits, cmd | (1 << 2), 0x80); bits 133 drivers/staging/comedi/drivers/c6xdigio.c val |= (bits << 12); bits 135 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_get_encoder_bits(dev, &bits, cmd | (0 << 2), 0x00); bits 136 drivers/staging/comedi/drivers/c6xdigio.c val |= (bits << 15); bits 138 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_get_encoder_bits(dev, &bits, cmd | (1 << 2), 0x80); bits 139 drivers/staging/comedi/drivers/c6xdigio.c val |= (bits << 18); bits 141 drivers/staging/comedi/drivers/c6xdigio.c c6xdigio_get_encoder_bits(dev, &bits, cmd | (0 << 2), 0x00); bits 142 drivers/staging/comedi/drivers/c6xdigio.c val |= (bits << 21); bits 333 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int bits; bits 347 drivers/staging/comedi/drivers/cb_pcidas.c bits = PCIDAS_AI_CHAN(chan) | PCIDAS_AI_GAIN(range); bits 350 drivers/staging/comedi/drivers/cb_pcidas.c bits |= PCIDAS_AI_UNIP; bits 353 drivers/staging/comedi/drivers/cb_pcidas.c bits |= PCIDAS_AI_SE; bits 354 drivers/staging/comedi/drivers/cb_pcidas.c outw(bits, devpriv->pcibar1 + PCIDAS_AI_REG); bits 793 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int bits; bits 804 drivers/staging/comedi/drivers/cb_pcidas.c bits = PCIDAS_AI_FIRST(CR_CHAN(cmd->chanlist[0])) | bits 809 drivers/staging/comedi/drivers/cb_pcidas.c bits |= PCIDAS_AI_UNIP; bits 812 drivers/staging/comedi/drivers/cb_pcidas.c bits |= PCIDAS_AI_SE; bits 815 drivers/staging/comedi/drivers/cb_pcidas.c bits |= PCIDAS_AI_PACER_EXTP; bits 817 drivers/staging/comedi/drivers/cb_pcidas.c bits |= PCIDAS_AI_PACER_INT; bits 818 drivers/staging/comedi/drivers/cb_pcidas.c outw(bits, devpriv->pcibar1 + PCIDAS_AI_REG); bits 851 drivers/staging/comedi/drivers/cb_pcidas.c bits = 0; bits 853 drivers/staging/comedi/drivers/cb_pcidas.c bits |= PCIDAS_TRIG_SEL_SW; bits 855 drivers/staging/comedi/drivers/cb_pcidas.c bits |= PCIDAS_TRIG_SEL_EXT | PCIDAS_TRIG_EN | PCIDAS_TRIG_CLR; bits 858 drivers/staging/comedi/drivers/cb_pcidas.c bits |= PCIDAS_TRIG_POL; bits 860 drivers/staging/comedi/drivers/cb_pcidas.c bits |= PCIDAS_TRIG_MODE; bits 864 drivers/staging/comedi/drivers/cb_pcidas.c bits |= PCIDAS_TRIG_BURSTE; bits 865 drivers/staging/comedi/drivers/cb_pcidas.c outw(bits, devpriv->pcibar1 + PCIDAS_TRIG_REG); bits 1198 drivers/staging/comedi/drivers/cb_pcidas64.c u16 *bits, unsigned int channel, bits 1209 drivers/staging/comedi/drivers/cb_pcidas64.c *bits &= ~(0x3 << (2 * channel)); bits 1210 drivers/staging/comedi/drivers/cb_pcidas64.c *bits |= code << (2 * channel); bits 1260 drivers/staging/comedi/drivers/cb_pcidas64.c u32 bits; bits 1263 drivers/staging/comedi/drivers/cb_pcidas64.c bits = EN_ADC_OVERRUN_BIT | EN_ADC_DONE_INTR_BIT | bits 1272 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= ADC_INTR_EOSCAN_BITS | EN_ADC_INTR_SRC_BIT; bits 1275 drivers/staging/comedi/drivers/cb_pcidas64.c devpriv->intr_enable_bits |= bits; bits 1286 drivers/staging/comedi/drivers/cb_pcidas64.c u32 bits; bits 1293 drivers/staging/comedi/drivers/cb_pcidas64.c bits = PLX_BIGEND_DMA0 | PLX_BIGEND_DMA1; bits 1295 drivers/staging/comedi/drivers/cb_pcidas64.c bits = 0; bits 1297 drivers/staging/comedi/drivers/cb_pcidas64.c writel(bits, devpriv->plx9080_iobase + PLX_REG_BIGEND); bits 1305 drivers/staging/comedi/drivers/cb_pcidas64.c bits = 0; bits 1307 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= PLX_DMAMODE_READYIEN; bits 1309 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= PLX_DMAMODE_BTERMIEN; bits 1311 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= PLX_DMAMODE_CHAINEN; bits 1316 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= PLX_DMAMODE_DONEIEN; bits 1321 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= PLX_DMAMODE_LACONST; bits 1323 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= PLX_DMAMODE_INTRPCI; bits 1325 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= PLX_DMAMODE_DEMAND; bits 1327 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= PLX_DMAMODE_BURSTEN; bits 1330 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= PLX_DMAMODE_WIDTH_32; bits 1332 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= PLX_DMAMODE_WIDTH_16; bits 1333 drivers/staging/comedi/drivers/cb_pcidas64.c writel(bits, plx_iobase + PLX_REG_DMAMODE1); bits 1335 drivers/staging/comedi/drivers/cb_pcidas64.c writel(bits, plx_iobase + PLX_REG_DMAMODE0); bits 1372 drivers/staging/comedi/drivers/cb_pcidas64.c u16 bits; bits 1382 drivers/staging/comedi/drivers/cb_pcidas64.c bits = (~(num_increments - 1)) & fifo->fifo_size_reg_mask; bits 1384 drivers/staging/comedi/drivers/cb_pcidas64.c devpriv->fifo_size_bits |= bits; bits 1429 drivers/staging/comedi/drivers/cb_pcidas64.c u16 bits; bits 1446 drivers/staging/comedi/drivers/cb_pcidas64.c bits = SLOW_DAC_BIT | DMA_CH_SELECT_BIT; bits 1448 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= INTERNAL_CLOCK_4020_BITS; bits 1449 drivers/staging/comedi/drivers/cb_pcidas64.c devpriv->hw_config_bits |= bits; bits 1757 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int bits = 0, n; bits 1808 drivers/staging/comedi/drivers/cb_pcidas64.c bits = 0; bits 1810 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= ai_range_bits_6xxx(dev, CR_RANGE(insn->chanspec)); bits 1812 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= se_diff_bit_6xxx(dev, aref == AREF_DIFF); bits 1814 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= ADC_COMMON_BIT; bits 1815 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= adc_chan_bits(channel); bits 1820 drivers/staging/comedi/drivers/cb_pcidas64.c writew(bits, devpriv->main_iobase + ADC_QUEUE_LOAD_REG); bits 2422 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned short bits; bits 2430 drivers/staging/comedi/drivers/cb_pcidas64.c bits = 0; bits 2432 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= adc_chan_bits(CR_CHAN(cmd->chanlist[0])); bits 2434 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= ai_range_bits_6xxx(dev, bits 2437 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= se_diff_bit_6xxx(dev, bits 2441 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= ADC_COMMON_BIT; bits 2447 drivers/staging/comedi/drivers/cb_pcidas64.c writew(bits, bits 2468 drivers/staging/comedi/drivers/cb_pcidas64.c bits = 0; bits 2470 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= adc_chan_bits(CR_CHAN(chanspec)); bits 2472 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= ai_range_bits_6xxx(dev, bits 2478 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= se_diff_bit_6xxx(dev, use_differential); bits 2481 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= ADC_COMMON_BIT; bits 2484 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= QUEUE_EOSCAN_BIT | bits 2486 drivers/staging/comedi/drivers/cb_pcidas64.c writew(bits, bits 2564 drivers/staging/comedi/drivers/cb_pcidas64.c u32 bits; bits 2640 drivers/staging/comedi/drivers/cb_pcidas64.c bits = 0; bits 2642 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= EXT_START_TRIG_BNC_BIT; bits 2644 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= EXT_STOP_TRIG_BNC_BIT; bits 2645 drivers/staging/comedi/drivers/cb_pcidas64.c writew(bits, devpriv->main_iobase + DAQ_ATRIG_LOW_4020_REG); bits 2651 drivers/staging/comedi/drivers/cb_pcidas64.c bits = ADC_ENABLE_BIT | ADC_SOFT_GATE_BITS | ADC_GATE_LEVEL_BIT; bits 2653 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= ADC_DMA_DISABLE_BIT; bits 2656 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= ADC_START_TRIG_EXT_BITS; bits 2658 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= ADC_START_TRIG_FALLING_BIT; bits 2660 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= ADC_START_TRIG_SOFT_BITS; bits 2663 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= ADC_SAMPLE_COUNTER_EN_BIT; bits 2664 drivers/staging/comedi/drivers/cb_pcidas64.c writew(bits, devpriv->main_iobase + ADC_CONTROL0_REG); bits 3137 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int bits = DAC_ENABLE_BIT | WAVEFORM_GATE_LEVEL_BIT | bits 3141 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= WAVEFORM_TRIG_EXT_BITS; bits 3143 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= WAVEFORM_TRIG_FALLING_BIT; bits 3145 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= WAVEFORM_TRIG_SOFT_BITS; bits 3148 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= DAC_EXT_UPDATE_ENABLE_BIT; bits 3150 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= DAC_EXT_UPDATE_FALLING_BIT; bits 3152 drivers/staging/comedi/drivers/cb_pcidas64.c writew(bits, devpriv->main_iobase + DAC_CONTROL0_REG); bits 3178 drivers/staging/comedi/drivers/cb_pcidas64.c u16 bits; bits 3187 drivers/staging/comedi/drivers/cb_pcidas64.c bits = (first_channel & 0x7) | (last_channel & 0x7) << 3; bits 3189 drivers/staging/comedi/drivers/cb_pcidas64.c writew(bits, devpriv->main_iobase + DAC_SELECT_REG); bits 3443 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int bits; bits 3445 drivers/staging/comedi/drivers/cb_pcidas64.c bits = readb(dev->mmio + DI_REG); bits 3446 drivers/staging/comedi/drivers/cb_pcidas64.c bits &= 0xf; bits 3447 drivers/staging/comedi/drivers/cb_pcidas64.c data[1] = bits; bits 732 drivers/staging/comedi/drivers/das1800.c unsigned char bits; bits 734 drivers/staging/comedi/drivers/das1800.c bits = UQEN; bits 736 drivers/staging/comedi/drivers/das1800.c bits |= SD; bits 738 drivers/staging/comedi/drivers/das1800.c bits |= CMEN; bits 740 drivers/staging/comedi/drivers/das1800.c bits |= UB; bits 742 drivers/staging/comedi/drivers/das1800.c return bits; bits 542 drivers/staging/comedi/drivers/dt3000.c static void dt3k_dio_config(struct comedi_device *dev, int bits) bits 547 drivers/staging/comedi/drivers/dt3000.c writew(bits, dev->mmio + DPR_PARAMS(0)); bits 322 drivers/staging/comedi/drivers/dt9812.c static int dt9812_digital_in(struct comedi_device *dev, u8 *bits) bits 337 drivers/staging/comedi/drivers/dt9812.c *bits = (value[0] & 0x7f) | ((value[1] & 0x08) << 4); bits 344 drivers/staging/comedi/drivers/dt9812.c static int dt9812_digital_out(struct comedi_device *dev, u8 bits) bits 348 drivers/staging/comedi/drivers/dt9812.c u8 value[1] = { bits }; bits 547 drivers/staging/comedi/drivers/dt9812.c u8 bits = 0; bits 550 drivers/staging/comedi/drivers/dt9812.c ret = dt9812_digital_in(dev, &bits); bits 554 drivers/staging/comedi/drivers/dt9812.c data[1] = bits; bits 282 drivers/staging/comedi/drivers/gsc_hpdi.c u32 bits; bits 304 drivers/staging/comedi/drivers/gsc_hpdi.c bits = devpriv->dma_desc_phys_addr | PLX_DMADPR_DESCPCI | bits 306 drivers/staging/comedi/drivers/gsc_hpdi.c writel(bits, devpriv->plx9080_mmio + PLX_REG_DMADPR0); bits 539 drivers/staging/comedi/drivers/gsc_hpdi.c u32 bits; bits 543 drivers/staging/comedi/drivers/gsc_hpdi.c bits = PLX_BIGEND_DMA0 | PLX_BIGEND_DMA1; bits 545 drivers/staging/comedi/drivers/gsc_hpdi.c bits = 0; bits 547 drivers/staging/comedi/drivers/gsc_hpdi.c writel(bits, devpriv->plx9080_mmio + PLX_REG_BIGEND); bits 555 drivers/staging/comedi/drivers/gsc_hpdi.c bits = 0; bits 557 drivers/staging/comedi/drivers/gsc_hpdi.c bits |= PLX_DMAMODE_READYIEN; bits 559 drivers/staging/comedi/drivers/gsc_hpdi.c bits |= PLX_DMAMODE_CHAINEN; bits 564 drivers/staging/comedi/drivers/gsc_hpdi.c bits |= PLX_DMAMODE_DONEIEN; bits 569 drivers/staging/comedi/drivers/gsc_hpdi.c bits |= PLX_DMAMODE_LACONST; bits 571 drivers/staging/comedi/drivers/gsc_hpdi.c bits |= PLX_DMAMODE_INTRPCI; bits 573 drivers/staging/comedi/drivers/gsc_hpdi.c bits |= PLX_DMAMODE_DEMAND; bits 575 drivers/staging/comedi/drivers/gsc_hpdi.c bits |= PLX_DMAMODE_BURSTEN; bits 576 drivers/staging/comedi/drivers/gsc_hpdi.c bits |= PLX_DMAMODE_WIDTH_32; bits 577 drivers/staging/comedi/drivers/gsc_hpdi.c writel(bits, plx_iobase + PLX_REG_DMAMODE0); bits 682 drivers/staging/comedi/drivers/jr3_pci.h s32 bits; /* offset 0x00fd */ bits 71 drivers/staging/comedi/drivers/multiq3.c static void multiq3_set_ctrl(struct comedi_device *dev, unsigned int bits) bits 77 drivers/staging/comedi/drivers/multiq3.c outw(MULTIQ3_CTRL_SH | MULTIQ3_CTRL_CLK | bits, bits 429 drivers/staging/comedi/drivers/ni_65xx.c unsigned int port_mask, port_data, bits; bits 448 drivers/staging/comedi/drivers/ni_65xx.c bits = readb(dev->mmio + NI_65XX_IO_DATA_REG(port)); bits 449 drivers/staging/comedi/drivers/ni_65xx.c bits ^= s->io_bits; /* invert if necessary */ bits 450 drivers/staging/comedi/drivers/ni_65xx.c bits &= ~port_mask; bits 451 drivers/staging/comedi/drivers/ni_65xx.c bits |= (port_data & port_mask); bits 452 drivers/staging/comedi/drivers/ni_65xx.c bits ^= s->io_bits; /* invert back */ bits 453 drivers/staging/comedi/drivers/ni_65xx.c writeb(bits, dev->mmio + NI_65XX_IO_DATA_REG(port)); bits 457 drivers/staging/comedi/drivers/ni_65xx.c bits = readb(dev->mmio + NI_65XX_IO_DATA_REG(port)); bits 458 drivers/staging/comedi/drivers/ni_65xx.c bits ^= s->io_bits; /* invert if necessary */ bits 460 drivers/staging/comedi/drivers/ni_65xx.c bits <<= bitshift; bits 462 drivers/staging/comedi/drivers/ni_65xx.c bits >>= -bitshift; bits 464 drivers/staging/comedi/drivers/ni_65xx.c read_bits |= bits; bits 272 drivers/staging/comedi/drivers/ni_660x.c unsigned int bits, unsigned int reg) bits 278 drivers/staging/comedi/drivers/ni_660x.c writew(bits, dev->mmio + addr); bits 280 drivers/staging/comedi/drivers/ni_660x.c writel(bits, dev->mmio + addr); bits 294 drivers/staging/comedi/drivers/ni_660x.c static void ni_660x_gpct_write(struct ni_gpct *counter, unsigned int bits, bits 299 drivers/staging/comedi/drivers/ni_660x.c ni_660x_write(dev, counter->chip_index, bits, reg); bits 407 drivers/staging/comedi/drivers/ni_660x.c unsigned int bits = 0; bits 416 drivers/staging/comedi/drivers/ni_660x.c bits = NI660X_CLK_CFG_COUNTER_SWAP; bits 418 drivers/staging/comedi/drivers/ni_660x.c ni_660x_write(dev, chip, bits, NI660X_CLK_CFG); bits 538 drivers/staging/comedi/drivers/ni_660x.c unsigned int bits = data[1] << shift; bits 548 drivers/staging/comedi/drivers/ni_660x.c s->state |= (bits & mask); bits 567 drivers/staging/comedi/drivers/ni_660x.c unsigned int bits; bits 588 drivers/staging/comedi/drivers/ni_660x.c bits = ni_660x_read(dev, idle_chip, NI660X_IO_CFG(chan)); bits 589 drivers/staging/comedi/drivers/ni_660x.c bits &= ~NI660X_IO_CFG_OUT_SEL_MASK(chan); bits 590 drivers/staging/comedi/drivers/ni_660x.c bits |= NI660X_IO_CFG_OUT_SEL(chan, 0); /* high-z */ bits 591 drivers/staging/comedi/drivers/ni_660x.c ni_660x_write(dev, idle_chip, bits, NI660X_IO_CFG(chan)); bits 595 drivers/staging/comedi/drivers/ni_660x.c bits = ni_660x_read(dev, active_chip, NI660X_IO_CFG(chan)); bits 596 drivers/staging/comedi/drivers/ni_660x.c bits &= ~NI660X_IO_CFG_OUT_SEL_MASK(chan); bits 597 drivers/staging/comedi/drivers/ni_660x.c bits |= NI660X_IO_CFG_OUT_SEL(chan, out_sel); bits 598 drivers/staging/comedi/drivers/ni_660x.c ni_660x_write(dev, active_chip, bits, NI660X_IO_CFG(chan)); bits 242 drivers/staging/comedi/drivers/ni_at_ao.c unsigned int bits; bits 248 drivers/staging/comedi/drivers/ni_at_ao.c bits = (bit & bitstring) ? ATAO_CFG2_SDATA : 0; bits 250 drivers/staging/comedi/drivers/ni_at_ao.c outw(bits, dev->iobase + ATAO_CFG2_REG); bits 251 drivers/staging/comedi/drivers/ni_at_ao.c outw(bits | ATAO_CFG2_SCLK, bits 566 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int bits; bits 579 drivers/staging/comedi/drivers/ni_mio_common.c bits = NI_STC_DMA_CHAN_SEL(mite_chan->channel); bits 581 drivers/staging/comedi/drivers/ni_mio_common.c NI_E_DMA_AI_SEL_MASK, NI_E_DMA_AI_SEL(bits)); bits 592 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int bits; bits 605 drivers/staging/comedi/drivers/ni_mio_common.c bits = NI_STC_DMA_CHAN_SEL(mite_chan->channel); bits 607 drivers/staging/comedi/drivers/ni_mio_common.c NI_E_DMA_AO_SEL_MASK, NI_E_DMA_AO_SEL(bits)); bits 621 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int bits; bits 635 drivers/staging/comedi/drivers/ni_mio_common.c bits = NI_STC_DMA_CHAN_SEL(mite_chan->channel); bits 638 drivers/staging/comedi/drivers/ni_mio_common.c NI_E_DMA_G0_G1_SEL(gpct_index, bits)); bits 649 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int bits; bits 668 drivers/staging/comedi/drivers/ni_mio_common.c bits = NI_STC_DMA_CHAN_SEL(mite_chan->channel); bits 671 drivers/staging/comedi/drivers/ni_mio_common.c NI_M_CDIO_DMA_SEL_CDO(bits)); bits 864 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int bits, unsigned int value) bits 869 drivers/staging/comedi/drivers/ni_mio_common.c bit_values = bits; bits 872 drivers/staging/comedi/drivers/ni_mio_common.c ni_set_bitfield(dev, reg, bits, bit_values); bits 2906 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int bits; bits 2910 drivers/staging/comedi/drivers/ni_mio_common.c bits = bits 2943 drivers/staging/comedi/drivers/ni_mio_common.c bits |= NISTC_AO_PERSONAL_NUM_DAC; bits 2945 drivers/staging/comedi/drivers/ni_mio_common.c ni_stc_writew(dev, bits, NISTC_AO_PERSONAL_REG); bits 3164 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int bits = 0; bits 3171 drivers/staging/comedi/drivers/ni_mio_common.c bits = 0; bits 3175 drivers/staging/comedi/drivers/ni_mio_common.c bits |= 1 << chan; bits 3178 drivers/staging/comedi/drivers/ni_mio_common.c ni_ao_win_outw(dev, bits, NI611X_AO_TIMED_REG); bits 3185 drivers/staging/comedi/drivers/ni_mio_common.c bits = NISTC_AO_OUT_CTRL_CHANS(cmd->scan_end_arg - 1) bits 3190 drivers/staging/comedi/drivers/ni_mio_common.c bits = NISTC_AO_OUT_CTRL_UPDATE_SEL_HIGHZ; bits 3192 drivers/staging/comedi/drivers/ni_mio_common.c bits |= NISTC_AO_OUT_CTRL_CHANS(0); bits 3194 drivers/staging/comedi/drivers/ni_mio_common.c bits |= NISTC_AO_OUT_CTRL_CHANS( bits 3199 drivers/staging/comedi/drivers/ni_mio_common.c ni_stc_writew(dev, bits, NISTC_AO_OUT_CTRL_REG); bits 4005 drivers/staging/comedi/drivers/ni_mio_common.c static void ni_gpct_write_register(struct ni_gpct *counter, unsigned int bits, bits 4024 drivers/staging/comedi/drivers/ni_mio_common.c ni_writew(dev, bits, stc_register); bits 4032 drivers/staging/comedi/drivers/ni_mio_common.c ni_stc_writel(dev, bits, stc_register); bits 4039 drivers/staging/comedi/drivers/ni_mio_common.c bits); bits 4044 drivers/staging/comedi/drivers/ni_mio_common.c bits); bits 4047 drivers/staging/comedi/drivers/ni_mio_common.c ni_stc_writew(dev, bits, stc_register); bits 4360 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int loadbit = 0, bits = 0, bit, bitstring = 0; bits 4374 drivers/staging/comedi/drivers/ni_mio_common.c bits = caldacs[type].packbits(addr, val, &bitstring); bits 4382 drivers/staging/comedi/drivers/ni_mio_common.c if (bits == 0) bits 4385 drivers/staging/comedi/drivers/ni_mio_common.c for (bit = 1 << (bits - 1); bit; bit >>= 1) { bits 4643 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int bits; bits 4653 drivers/staging/comedi/drivers/ni_mio_common.c bits = ni_readl(dev, NI_M_PFI_FILTER_REG); bits 4654 drivers/staging/comedi/drivers/ni_mio_common.c bits &= ~NI_M_PFI_FILTER_SEL_MASK(chan); bits 4655 drivers/staging/comedi/drivers/ni_mio_common.c bits |= NI_M_PFI_FILTER_SEL(chan, filter); bits 4656 drivers/staging/comedi/drivers/ni_mio_common.c ni_writel(dev, bits, NI_M_PFI_FILTER_REG); bits 291 drivers/staging/comedi/drivers/ni_tio.c unsigned int bits = 0; bits 295 drivers/staging/comedi/drivers/ni_tio.c bits |= NI_GPCT_INVERT_CLOCK_SRC_BIT; bits 297 drivers/staging/comedi/drivers/ni_tio.c bits |= NI_GPCT_PRESCALE_X2_CLOCK_SRC_BITS; bits 299 drivers/staging/comedi/drivers/ni_tio.c bits |= NI_GPCT_PRESCALE_X8_CLOCK_SRC_BITS; bits 300 drivers/staging/comedi/drivers/ni_tio.c return bits; bits 447 drivers/staging/comedi/drivers/ni_tio.c unsigned int bits = 0; bits 493 drivers/staging/comedi/drivers/ni_tio.c bits = mask; bits 495 drivers/staging/comedi/drivers/ni_tio.c ni_tio_set_bits(counter, reg, mask, bits); bits 532 drivers/staging/comedi/drivers/ni_tio.c unsigned int bits = 0; bits 534 drivers/staging/comedi/drivers/ni_tio.c bits |= GI_CNT_MODE(mode >> NI_GPCT_COUNTING_MODE_SHIFT); bits 535 drivers/staging/comedi/drivers/ni_tio.c bits |= GI_INDEX_PHASE((mode >> NI_GPCT_INDEX_PHASE_BITSHIFT)); bits 537 drivers/staging/comedi/drivers/ni_tio.c bits |= GI_INDEX_MODE; bits 540 drivers/staging/comedi/drivers/ni_tio.c GI_INDEX_MODE, bits); bits 566 drivers/staging/comedi/drivers/ni_tio.c unsigned int bits = 0; bits 595 drivers/staging/comedi/drivers/ni_tio.c bits |= GI_HW_ARM_ENA | bits 605 drivers/staging/comedi/drivers/ni_tio.c GI_HW_ARM_ENA | mask, bits); bits 615 drivers/staging/comedi/drivers/ni_tio.c static int ni_660x_clk_src(unsigned int clock_source, unsigned int *bits) bits 662 drivers/staging/comedi/drivers/ni_tio.c *bits = GI_SRC_SEL(ni_660x_clock); bits 666 drivers/staging/comedi/drivers/ni_tio.c static int ni_m_clk_src(unsigned int clock_source, unsigned int *bits) bits 719 drivers/staging/comedi/drivers/ni_tio.c *bits = GI_SRC_SEL(ni_m_series_clock); bits 758 drivers/staging/comedi/drivers/ni_tio.c unsigned int bits = 0; bits 763 drivers/staging/comedi/drivers/ni_tio.c ret = ni_660x_clk_src(clock_source, &bits); bits 768 drivers/staging/comedi/drivers/ni_tio.c ret = ni_m_clk_src(clock_source, &bits); bits 780 drivers/staging/comedi/drivers/ni_tio.c bits |= GI_SRC_POL_INVERT; bits 782 drivers/staging/comedi/drivers/ni_tio.c GI_SRC_SEL_MASK | GI_SRC_POL_INVERT, bits); bits 786 drivers/staging/comedi/drivers/ni_tio.c bits = 0; bits 791 drivers/staging/comedi/drivers/ni_tio.c bits |= GI_PRESCALE_X2(counter_dev->variant); bits 794 drivers/staging/comedi/drivers/ni_tio.c bits |= GI_PRESCALE_X8(counter_dev->variant); bits 801 drivers/staging/comedi/drivers/ni_tio.c GI_PRESCALE_X8(counter_dev->variant), bits); bits 1666 drivers/staging/comedi/drivers/ni_tio.c unsigned int bits = ni_tio_read(counter, NITIO_SHARED_STATUS_REG(cidx)); bits 1668 drivers/staging/comedi/drivers/ni_tio.c return (bits & GI_NEXT_LOAD_SRC(cidx)) bits 44 drivers/staging/comedi/drivers/ni_tiocmd.c unsigned int bits; bits 47 drivers/staging/comedi/drivers/ni_tiocmd.c bits = 0; bits 51 drivers/staging/comedi/drivers/ni_tiocmd.c bits |= GI_READ_ACKS_IRQ; bits 53 drivers/staging/comedi/drivers/ni_tiocmd.c bits |= GI_WRITE_ACKS_IRQ; bits 55 drivers/staging/comedi/drivers/ni_tiocmd.c ni_tio_set_bits(counter, NITIO_INPUT_SEL_REG(cidx), mask, bits); bits 63 drivers/staging/comedi/drivers/ni_tiocmd.c bits = 0; bits 66 drivers/staging/comedi/drivers/ni_tiocmd.c bits |= GI_DMA_ENABLE | GI_DMA_INT_ENA; bits 68 drivers/staging/comedi/drivers/ni_tiocmd.c bits |= GI_DMA_WRITE; bits 69 drivers/staging/comedi/drivers/ni_tiocmd.c ni_tio_set_bits(counter, NITIO_DMA_CFG_REG(cidx), mask, bits); bits 386 drivers/staging/comedi/drivers/pcmmio.c unsigned int bits = 0; bits 399 drivers/staging/comedi/drivers/pcmmio.c bits |= (1 << chan); bits 403 drivers/staging/comedi/drivers/pcmmio.c bits &= ((1 << s->n_chan) - 1); bits 404 drivers/staging/comedi/drivers/pcmmio.c devpriv->enabled_mask = bits; bits 408 drivers/staging/comedi/drivers/pcmmio.c pcmmio_dio_write(dev, bits, PCMMIO_PAGE_ENAB, 0); bits 382 drivers/staging/comedi/drivers/pcmuio.c unsigned int bits = 0; bits 395 drivers/staging/comedi/drivers/pcmuio.c bits |= (1 << chan); bits 399 drivers/staging/comedi/drivers/pcmuio.c bits &= ((1 << s->n_chan) - 1); bits 400 drivers/staging/comedi/drivers/pcmuio.c chip->enabled_mask = bits; bits 404 drivers/staging/comedi/drivers/pcmuio.c pcmuio_write(dev, bits, asic, PCMUIO_PAGE_ENAB, 0); bits 166 drivers/staging/comedi/kcomedilib/kcomedilib_main.c unsigned int mask, unsigned int *bits, bits 187 drivers/staging/comedi/kcomedilib/kcomedilib_main.c data[1] = *bits; bits 205 drivers/staging/comedi/kcomedilib/kcomedilib_main.c *bits = data[1] >> shift; bits 46 drivers/staging/fbtft/fbtft-io.c int bits, i, j; bits 65 drivers/staging/fbtft/fbtft-io.c bits = 63; bits 69 drivers/staging/fbtft/fbtft-io.c tmp |= dc << bits; bits 70 drivers/staging/fbtft/fbtft-io.c bits -= 8; bits 71 drivers/staging/fbtft/fbtft-io.c tmp |= val << bits--; bits 205 drivers/staging/iio/accel/adis16240.c unsigned int bits) bits 211 drivers/staging/iio/accel/adis16240.c unsigned int shift = 16 - bits; bits 72 drivers/staging/iio/frequency/ad9832.c #define RES_MASK(bits) ((1 << (bits)) - 1) bits 54 drivers/staging/iio/frequency/ad9834.c #define RES_MASK(bits) (BIT(bits) - 1) bits 20 drivers/staging/iio/meter/ade7854-i2c.c int bits) bits 31 drivers/staging/iio/meter/ade7854-i2c.c switch (bits) { bits 70 drivers/staging/iio/meter/ade7854-i2c.c int bits) bits 84 drivers/staging/iio/meter/ade7854-i2c.c ret = i2c_master_recv(st->i2c, st->rx, bits); bits 88 drivers/staging/iio/meter/ade7854-i2c.c switch (bits) { bits 20 drivers/staging/iio/meter/ade7854-spi.c int bits) bits 35 drivers/staging/iio/meter/ade7854-spi.c switch (bits) { bits 72 drivers/staging/iio/meter/ade7854-spi.c int bits) bits 85 drivers/staging/iio/meter/ade7854-spi.c .len = bits, bits 102 drivers/staging/iio/meter/ade7854-spi.c switch (bits) { bits 160 drivers/staging/iio/meter/ade7854.h int bits); bits 162 drivers/staging/iio/meter/ade7854.h int bits); bits 531 drivers/staging/iio/resolver/ad2s1210.c static IIO_DEVICE_ATTR(bits, 0644, bits 246 drivers/staging/rtl8188eu/include/rtw_security.h static inline u32 rotr(u32 val, int bits) bits 248 drivers/staging/rtl8188eu/include/rtw_security.h return (val >> bits) | (val << (32 - bits)); bits 300 drivers/staging/rtl8723bs/include/rtw_security.h static inline u32 rotr(u32 val, int bits) bits 302 drivers/staging/rtl8723bs/include/rtw_security.h return (val >> bits) | (val << (32 - bits)); bits 132 drivers/staging/vt6656/mac.c int vnt_mac_reg_bits_off(struct vnt_private *priv, u8 reg_ofs, u8 bits) bits 137 drivers/staging/vt6656/mac.c data[1] = bits; bits 143 drivers/staging/vt6656/mac.c int vnt_mac_reg_bits_on(struct vnt_private *priv, u8 reg_ofs, u8 bits) bits 147 drivers/staging/vt6656/mac.c data[0] = bits; bits 148 drivers/staging/vt6656/mac.c data[1] = bits; bits 363 drivers/staging/vt6656/mac.h int vnt_mac_reg_bits_off(struct vnt_private *priv, u8 reg_ofs, u8 bits); bits 364 drivers/staging/vt6656/mac.h int vnt_mac_reg_bits_on(struct vnt_private *priv, u8 reg_ofs, u8 bits); bits 158 drivers/thermal/uniphier_thermal.c u32 bits = 0; bits 162 drivers/thermal/uniphier_thermal.c bits |= PMALERTINTCTL_EN(i); bits 166 drivers/thermal/uniphier_thermal.c PMALERTINTCTL_MASK, bits); bits 213 drivers/thermal/uniphier_thermal.c u32 mask = 0, bits = 0; bits 218 drivers/thermal/uniphier_thermal.c bits |= PMALERTINTCTL_CLR(i); bits 223 drivers/thermal/uniphier_thermal.c tdev->data->map_base + PMALERTINTCTL, mask, bits); bits 174 drivers/tty/amiserial.c static __inline__ void rtsdtr_ctrl(int bits) bits 176 drivers/tty/amiserial.c ciab.pra = ((bits & (SER_RTS | SER_DTR)) ^ (SER_RTS | SER_DTR)) | (ciab.pra & ~(SER_RTS | SER_DTR)); bits 652 drivers/tty/amiserial.c int bits; bits 659 drivers/tty/amiserial.c cval = 3; bits = 10; bits 662 drivers/tty/amiserial.c bits++; bits 666 drivers/tty/amiserial.c bits++; bits 712 drivers/tty/amiserial.c info->timeout = ((info->xmit_fifo_size*HZ*bits*quot) / baud_base); bits 2217 drivers/tty/mxser.c int max, irqbits, bits, msr; bits 2239 drivers/tty/mxser.c for (i = 0, bits = 1; i < max; i++, irqbits |= bits, bits <<= 1) { bits 2242 drivers/tty/mxser.c if (bits & irqbits) bits 2442 drivers/tty/mxser.c int id, i, bits, ret; bits 2510 drivers/tty/mxser.c for (i = 7, bits = 0x0100; i >= 0; i--, bits <<= 1) { bits 2511 drivers/tty/mxser.c if (regs[12] & bits) { bits 1141 drivers/tty/n_gsm.c u8 bits; bits 1159 drivers/tty/n_gsm.c bits = *dp; bits 1160 drivers/tty/n_gsm.c if ((bits & 1) == 0) bits 1165 drivers/tty/n_gsm.c if (bits & 2) bits 1167 drivers/tty/n_gsm.c if (bits & 4) bits 1169 drivers/tty/n_gsm.c if (bits & 8) bits 701 drivers/tty/rocket.c int bits, baud, divisor; bits 711 drivers/tty/rocket.c bits = 10; bits 714 drivers/tty/rocket.c bits = 9; bits 718 drivers/tty/rocket.c bits++; bits 725 drivers/tty/rocket.c bits++; bits 750 drivers/tty/rocket.c info->cps = baud / bits; bits 387 drivers/tty/serial/21285.c int *parity, int *bits) bits 395 drivers/tty/serial/21285.c *bits = 5; bits 398 drivers/tty/serial/21285.c *bits = 6; bits 401 drivers/tty/serial/21285.c *bits = 7; bits 405 drivers/tty/serial/21285.c *bits = 8; bits 425 drivers/tty/serial/21285.c int bits = 8; bits 438 drivers/tty/serial/21285.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 440 drivers/tty/serial/21285.c serial21285_get_options(port, &baud, &parity, &bits); bits 442 drivers/tty/serial/21285.c return uart_set_options(port, co, baud, parity, bits, flow); bits 101 drivers/tty/serial/8250/8250_ingenic.c unsigned int parity, bits, flow; /* unused for now */ bits 103 drivers/tty/serial/8250/8250_ingenic.c uart_parse_options(opt, &baud, &parity, &bits, &flow); bits 1963 drivers/tty/serial/8250/8250_port.c static void wait_for_xmitr(struct uart_8250_port *up, int bits) bits 1973 drivers/tty/serial/8250/8250_port.c if ((status & bits) == bits) bits 3220 drivers/tty/serial/8250/8250_port.c int bits = 8; bits 3228 drivers/tty/serial/8250/8250_port.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 3232 drivers/tty/serial/8250/8250_port.c return uart_set_options(port, port->cons, baud, parity, bits, flow); bits 464 drivers/tty/serial/altera_uart.c int bits = 8; bits 475 drivers/tty/serial/altera_uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 477 drivers/tty/serial/altera_uart.c return uart_set_options(port, co, baud, parity, bits, flow); bits 612 drivers/tty/serial/amba-pl010.c int *parity, int *bits) bits 627 drivers/tty/serial/amba-pl010.c *bits = 7; bits 629 drivers/tty/serial/amba-pl010.c *bits = 8; bits 641 drivers/tty/serial/amba-pl010.c int bits = 8; bits 664 drivers/tty/serial/amba-pl010.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 666 drivers/tty/serial/amba-pl010.c pl010_console_get_options(uap, &baud, &parity, &bits); bits 668 drivers/tty/serial/amba-pl010.c return uart_set_options(&uap->port, co, baud, parity, bits, flow); bits 2257 drivers/tty/serial/amba-pl011.c int *parity, int *bits) bits 2273 drivers/tty/serial/amba-pl011.c *bits = 7; bits 2275 drivers/tty/serial/amba-pl011.c *bits = 8; bits 2294 drivers/tty/serial/amba-pl011.c int bits = 8; bits 2332 drivers/tty/serial/amba-pl011.c &baud, &parity, &bits, &flow); bits 2334 drivers/tty/serial/amba-pl011.c pl011_console_get_options(uap, &baud, &parity, &bits); bits 2337 drivers/tty/serial/amba-pl011.c return uart_set_options(&uap->port, co, baud, parity, bits, flow); bits 456 drivers/tty/serial/apbuart.c int *parity, int *bits) bits 471 drivers/tty/serial/apbuart.c *bits = 8; bits 481 drivers/tty/serial/apbuart.c int bits = 8; bits 501 drivers/tty/serial/apbuart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 503 drivers/tty/serial/apbuart.c apbuart_console_get_options(port, &baud, &parity, &bits); bits 505 drivers/tty/serial/apbuart.c return uart_set_options(port, co, baud, parity, bits, flow); bits 585 drivers/tty/serial/ar933x_uart.c int bits = 8; bits 597 drivers/tty/serial/ar933x_uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 599 drivers/tty/serial/ar933x_uart.c return uart_set_options(&up->port, co, baud, parity, bits, flow); bits 492 drivers/tty/serial/arc_uart.c int bits = 8; bits 508 drivers/tty/serial/arc_uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 514 drivers/tty/serial/arc_uart.c return uart_set_options(port, co, baud, parity, bits, flow); bits 2599 drivers/tty/serial/atmel_serial.c int *parity, int *bits) bits 2613 drivers/tty/serial/atmel_serial.c *bits = 8; bits 2615 drivers/tty/serial/atmel_serial.c *bits = 7; bits 2638 drivers/tty/serial/atmel_serial.c int bits = 8; bits 2657 drivers/tty/serial/atmel_serial.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 2659 drivers/tty/serial/atmel_serial.c atmel_console_get_options(port, &baud, &parity, &bits); bits 2661 drivers/tty/serial/atmel_serial.c return uart_set_options(port, co, baud, parity, bits, flow); bits 738 drivers/tty/serial/bcm63xx_uart.c int bits = 8; bits 748 drivers/tty/serial/bcm63xx_uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 750 drivers/tty/serial/bcm63xx_uart.c return uart_set_options(port, co, baud, parity, bits, flow); bits 385 drivers/tty/serial/clps711x.c int baud = 38400, bits = 8, parity = 'n', flow = 'n'; bits 416 drivers/tty/serial/clps711x.c bits = 7; bits 422 drivers/tty/serial/clps711x.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 424 drivers/tty/serial/clps711x.c ret = uart_set_options(port, co, baud, parity, bits, flow); bits 499 drivers/tty/serial/cpm_uart/cpm_uart_core.c int bits, sbits; bits 537 drivers/tty/serial/cpm_uart/cpm_uart_core.c bits = 5; bits 540 drivers/tty/serial/cpm_uart/cpm_uart_core.c bits = 6; bits 543 drivers/tty/serial/cpm_uart/cpm_uart_core.c bits = 7; bits 546 drivers/tty/serial/cpm_uart/cpm_uart_core.c bits = 8; bits 550 drivers/tty/serial/cpm_uart/cpm_uart_core.c bits = 8; bits 553 drivers/tty/serial/cpm_uart/cpm_uart_core.c sbits = bits - 5; bits 558 drivers/tty/serial/cpm_uart/cpm_uart_core.c bits++; bits 564 drivers/tty/serial/cpm_uart/cpm_uart_core.c bits++; bits 612 drivers/tty/serial/cpm_uart/cpm_uart_core.c bits++; bits 633 drivers/tty/serial/cpm_uart/cpm_uart_core.c out_be16(&smcp->smc_smcmr, smcr_mk_clen(bits) | cval | bits 1291 drivers/tty/serial/cpm_uart/cpm_uart_core.c int bits = 8; bits 1332 drivers/tty/serial/cpm_uart/cpm_uart_core.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1362 drivers/tty/serial/cpm_uart/cpm_uart_core.c uart_set_options(port, co, baud, parity, bits, flow); bits 418 drivers/tty/serial/digicolor-usart.c int baud = 115200, bits = 8, parity = 'n', flow = 'n'; bits 429 drivers/tty/serial/digicolor-usart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 431 drivers/tty/serial/digicolor-usart.c return uart_set_options(port, co, baud, parity, bits, flow); bits 869 drivers/tty/serial/dz.c int bits = 8; bits 884 drivers/tty/serial/dz.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 886 drivers/tty/serial/dz.c return uart_set_options(&dport->port, co, baud, parity, bits, flow); bits 557 drivers/tty/serial/efm32-uart.c int *baud, int *parity, int *bits) bits 588 drivers/tty/serial/efm32-uart.c *bits = (frame & UARTn_FRAME_DATABITS__MASK) - bits 592 drivers/tty/serial/efm32-uart.c *baud, *parity, *bits); bits 599 drivers/tty/serial/efm32-uart.c int bits = 8; bits 632 drivers/tty/serial/efm32-uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 635 drivers/tty/serial/efm32-uart.c &baud, &parity, &bits); bits 637 drivers/tty/serial/efm32-uart.c return uart_set_options(&efm_port->port, co, baud, parity, bits, flow); bits 685 drivers/tty/serial/fsl_linflexuart.c linflex_console_get_options(struct uart_port *sport, int *parity, int *bits) bits 707 drivers/tty/serial/fsl_linflexuart.c *bits = 9; bits 709 drivers/tty/serial/fsl_linflexuart.c *bits = 8; bits 717 drivers/tty/serial/fsl_linflexuart.c int bits = 8; bits 736 drivers/tty/serial/fsl_linflexuart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 738 drivers/tty/serial/fsl_linflexuart.c linflex_console_get_options(sport, &parity, &bits); bits 756 drivers/tty/serial/fsl_linflexuart.c ret = uart_set_options(sport, co, baud, parity, bits, flow); bits 1145 drivers/tty/serial/fsl_lpuart.c int bits, baud; bits 1152 drivers/tty/serial/fsl_lpuart.c bits = (termios->c_cflag & CSIZE) == CS7 ? 9 : 10; bits 1154 drivers/tty/serial/fsl_lpuart.c bits++; bits 1160 drivers/tty/serial/fsl_lpuart.c sport->rx_dma_rng_buf_len = (DMA_RX_TIMEOUT * baud / bits / 1000) * 2; bits 2156 drivers/tty/serial/fsl_lpuart.c int *parity, int *bits) bits 2179 drivers/tty/serial/fsl_lpuart.c *bits = 9; bits 2181 drivers/tty/serial/fsl_lpuart.c *bits = 8; bits 2205 drivers/tty/serial/fsl_lpuart.c int *parity, int *bits) bits 2228 drivers/tty/serial/fsl_lpuart.c *bits = 9; bits 2230 drivers/tty/serial/fsl_lpuart.c *bits = 8; bits 2250 drivers/tty/serial/fsl_lpuart.c int bits = 8; bits 2267 drivers/tty/serial/fsl_lpuart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 2270 drivers/tty/serial/fsl_lpuart.c lpuart32_console_get_options(sport, &baud, &parity, &bits); bits 2272 drivers/tty/serial/fsl_lpuart.c lpuart_console_get_options(sport, &baud, &parity, &bits); bits 2279 drivers/tty/serial/fsl_lpuart.c return uart_set_options(&sport->port, co, baud, parity, bits, flow); bits 1995 drivers/tty/serial/imx.c int *parity, int *bits) bits 2015 drivers/tty/serial/imx.c *bits = 8; bits 2017 drivers/tty/serial/imx.c *bits = 7; bits 2057 drivers/tty/serial/imx.c int bits = 8; bits 2079 drivers/tty/serial/imx.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 2081 drivers/tty/serial/imx.c imx_uart_console_get_options(sport, &baud, &parity, &bits); bits 2085 drivers/tty/serial/imx.c retval = uart_set_options(&sport->port, co, baud, parity, bits, flow); bits 1035 drivers/tty/serial/ip22zilog.c int baud = 9600, bits = 8; bits 1052 drivers/tty/serial/ip22zilog.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1053 drivers/tty/serial/ip22zilog.c return uart_set_options(&up->port, con, baud, parity, bits, flow); bits 646 drivers/tty/serial/lantiq.c int bits = 8; bits 665 drivers/tty/serial/lantiq.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 666 drivers/tty/serial/lantiq.c return uart_set_options(port, co, baud, parity, bits, flow); bits 161 drivers/tty/serial/lpc32xx_hs.c int bits = 8; bits 173 drivers/tty/serial/lpc32xx_hs.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 177 drivers/tty/serial/lpc32xx_hs.c return uart_set_options(port, co, baud, parity, bits, flow); bits 549 drivers/tty/serial/mcf.c int bits = 8; bits 560 drivers/tty/serial/mcf.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 562 drivers/tty/serial/mcf.c return uart_set_options(port, co, baud, parity, bits, flow); bits 512 drivers/tty/serial/meson_uart.c int bits = 8; bits 526 drivers/tty/serial/meson_uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 528 drivers/tty/serial/meson_uart.c return uart_set_options(port, co, baud, parity, bits, flow); bits 429 drivers/tty/serial/milbeaut_usio.c int bits = 8; bits 440 drivers/tty/serial/milbeaut_usio.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 445 drivers/tty/serial/milbeaut_usio.c return uart_set_options(port, co, baud, parity, bits, flow); bits 1539 drivers/tty/serial/mpc52xx_uart.c int *baud, int *parity, int *bits, int *flow) bits 1554 drivers/tty/serial/mpc52xx_uart.c *bits = 5; bits 1557 drivers/tty/serial/mpc52xx_uart.c *bits = 6; bits 1560 drivers/tty/serial/mpc52xx_uart.c *bits = 7; bits 1564 drivers/tty/serial/mpc52xx_uart.c *bits = 8; bits 1617 drivers/tty/serial/mpc52xx_uart.c int bits = 8; bits 1668 drivers/tty/serial/mpc52xx_uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1670 drivers/tty/serial/mpc52xx_uart.c mpc52xx_console_get_options(port, &baud, &parity, &bits, &flow); bits 1673 drivers/tty/serial/mpc52xx_uart.c baud, bits, parity, flow); bits 1675 drivers/tty/serial/mpc52xx_uart.c return uart_set_options(port, co, baud, parity, bits, flow); bits 455 drivers/tty/serial/mps2-uart.c int bits = 8; bits 468 drivers/tty/serial/mps2-uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 470 drivers/tty/serial/mps2-uart.c return uart_set_options(&mps_port->port, co, baud, parity, bits, flow); bits 1661 drivers/tty/serial/msm_serial.c int bits = 8; bits 1676 drivers/tty/serial/msm_serial.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1680 drivers/tty/serial/msm_serial.c return uart_set_options(port, co, baud, parity, bits, flow); bits 696 drivers/tty/serial/mvebu-uart.c int bits = 8; bits 711 drivers/tty/serial/mvebu-uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 713 drivers/tty/serial/mvebu-uart.c return uart_set_options(port, co, baud, parity, bits, flow); bits 1402 drivers/tty/serial/mxs-auart.c int *parity, int *bits) bits 1421 drivers/tty/serial/mxs-auart.c *bits = 7; bits 1423 drivers/tty/serial/mxs-auart.c *bits = 8; bits 1440 drivers/tty/serial/mxs-auart.c int bits = 8; bits 1461 drivers/tty/serial/mxs-auart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1463 drivers/tty/serial/mxs-auart.c auart_console_get_options(s, &baud, &parity, &bits); bits 1465 drivers/tty/serial/mxs-auart.c ret = uart_set_options(&s->port, co, baud, parity, bits, flow); bits 1354 drivers/tty/serial/omap-serial.c int bits = 8; bits 1363 drivers/tty/serial/omap-serial.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1365 drivers/tty/serial/omap-serial.c return uart_set_options(&up->port, co, baud, parity, bits, flow); bits 553 drivers/tty/serial/owl-uart.c int bits = 8; bits 565 drivers/tty/serial/owl-uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 567 drivers/tty/serial/owl-uart.c return uart_set_options(&owl_port->port, co, baud, parity, bits, flow); bits 439 drivers/tty/serial/pch_uart.c unsigned int parity, unsigned int bits, bits 459 drivers/tty/serial/pch_uart.c if (bits & ~PCH_UART_LCR_WLS) { bits 460 drivers/tty/serial/pch_uart.c dev_err(priv->port.dev, "Invalid bits(0x%x)\n", bits); bits 470 drivers/tty/serial/pch_uart.c lcr |= bits; bits 1372 drivers/tty/serial/pch_uart.c unsigned int baud, parity, bits, stb; bits 1379 drivers/tty/serial/pch_uart.c bits = PCH_UART_HAL_5BIT; bits 1382 drivers/tty/serial/pch_uart.c bits = PCH_UART_HAL_6BIT; bits 1385 drivers/tty/serial/pch_uart.c bits = PCH_UART_HAL_7BIT; bits 1388 drivers/tty/serial/pch_uart.c bits = PCH_UART_HAL_8BIT; bits 1419 drivers/tty/serial/pch_uart.c rtn = pch_uart_hal_set_line(priv, baud, parity, bits, stb); bits 1513 drivers/tty/serial/pch_uart.c static void wait_for_xmitr(struct eg20t_port *up, int bits) bits 1521 drivers/tty/serial/pch_uart.c if ((status & bits) == bits) bits 1683 drivers/tty/serial/pch_uart.c int bits = 8; bits 1702 drivers/tty/serial/pch_uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1704 drivers/tty/serial/pch_uart.c return uart_set_options(port, co, baud, parity, bits, flow); bits 729 drivers/tty/serial/pic32_uart.c int bits = 8; bits 747 drivers/tty/serial/pic32_uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 749 drivers/tty/serial/pic32_uart.c return uart_set_options(port, co, baud, parity, bits, flow); bits 26 drivers/tty/serial/pic32_uart.h int bits; bits 1984 drivers/tty/serial/pmac_zilog.c int bits = 8; bits 2032 drivers/tty/serial/pmac_zilog.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 2034 drivers/tty/serial/pmac_zilog.c return uart_set_options(port, co, baud, parity, bits, flow); bits 723 drivers/tty/serial/pnx8xxx_uart.c int bits = 8; bits 737 drivers/tty/serial/pnx8xxx_uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 739 drivers/tty/serial/pnx8xxx_uart.c return uart_set_options(&sport->port, co, baud, parity, bits, flow); bits 730 drivers/tty/serial/pxa.c int bits = 8; bits 741 drivers/tty/serial/pxa.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 743 drivers/tty/serial/pxa.c return uart_set_options(&up->port, co, baud, parity, bits, flow); bits 1071 drivers/tty/serial/qcom_geni_serial.c int bits = 8; bits 1097 drivers/tty/serial/qcom_geni_serial.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1099 drivers/tty/serial/qcom_geni_serial.c return uart_set_options(uport, co, baud, parity, bits, flow); bits 640 drivers/tty/serial/rda-uart.c int bits = 8; bits 652 drivers/tty/serial/rda-uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 654 drivers/tty/serial/rda-uart.c return uart_set_options(&rda_port->port, co, baud, parity, bits, flow); bits 750 drivers/tty/serial/sa1100.c int *parity, int *bits) bits 770 drivers/tty/serial/sa1100.c *bits = 8; bits 772 drivers/tty/serial/sa1100.c *bits = 7; bits 785 drivers/tty/serial/sa1100.c int bits = 8; bits 799 drivers/tty/serial/sa1100.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 801 drivers/tty/serial/sa1100.c sa1100_console_get_options(sport, &baud, &parity, &bits); bits 803 drivers/tty/serial/sa1100.c return uart_set_options(&sport->port, co, baud, parity, bits, flow); bits 2132 drivers/tty/serial/samsung.c int *parity, int *bits) bits 2153 drivers/tty/serial/samsung.c *bits = 5; bits 2156 drivers/tty/serial/samsung.c *bits = 6; bits 2159 drivers/tty/serial/samsung.c *bits = 7; bits 2163 drivers/tty/serial/samsung.c *bits = 8; bits 2203 drivers/tty/serial/samsung.c int bits = 8; bits 2232 drivers/tty/serial/samsung.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 2234 drivers/tty/serial/samsung.c s3c24xx_serial_get_options(port, &baud, &parity, &bits); bits 2238 drivers/tty/serial/samsung.c return uart_set_options(port, co, baud, parity, bits, flow); bits 871 drivers/tty/serial/sb1250-duart.c int bits = 8; bits 886 drivers/tty/serial/sb1250-duart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 887 drivers/tty/serial/sb1250-duart.c return uart_set_options(uport, co, baud, parity, bits, flow); bits 863 drivers/tty/serial/sccnxp.c int baud = 9600, bits = 8, parity = 'n', flow = 'n'; bits 866 drivers/tty/serial/sccnxp.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 868 drivers/tty/serial/sccnxp.c return uart_set_options(port, co, baud, parity, bits, flow); bits 335 drivers/tty/serial/serial_core.c unsigned int bits; bits 340 drivers/tty/serial/serial_core.c bits = 7; bits 343 drivers/tty/serial/serial_core.c bits = 8; bits 346 drivers/tty/serial/serial_core.c bits = 9; bits 349 drivers/tty/serial/serial_core.c bits = 10; bits 354 drivers/tty/serial/serial_core.c bits++; bits 356 drivers/tty/serial/serial_core.c bits++; bits 361 drivers/tty/serial/serial_core.c bits = bits * port->fifosize; bits 367 drivers/tty/serial/serial_core.c port->timeout = (HZ * bits) / baud + HZ/50; bits 2031 drivers/tty/serial/serial_core.c int *bits, int *flow) bits 2041 drivers/tty/serial/serial_core.c *bits = *s++ - '0'; bits 2058 drivers/tty/serial/serial_core.c int baud, int parity, int bits, int flow) bits 2079 drivers/tty/serial/serial_core.c if (bits == 7) bits 2398 drivers/tty/serial/serial_core.c int bits = 8; bits 2422 drivers/tty/serial/serial_core.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 2423 drivers/tty/serial/serial_core.c ret = uart_set_options(port, NULL, baud, parity, bits, flow); bits 934 drivers/tty/serial/serial_txx9.c int bits = 8; bits 953 drivers/tty/serial/serial_txx9.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 955 drivers/tty/serial/serial_txx9.c return uart_set_options(port, co, baud, parity, bits, flow); bits 1027 drivers/tty/serial/sh-sci.c unsigned int bits; bits 1043 drivers/tty/serial/sh-sci.c bits = 0; bits 1046 drivers/tty/serial/sh-sci.c bits = SCFCR_RTRG0; bits 1049 drivers/tty/serial/sh-sci.c bits = SCFCR_RTRG1; bits 1052 drivers/tty/serial/sh-sci.c bits = SCFCR_RTRG0 | SCFCR_RTRG1; bits 1059 drivers/tty/serial/sh-sci.c bits = 0; bits 1062 drivers/tty/serial/sh-sci.c bits = SCFCR_RTRG0; bits 1065 drivers/tty/serial/sh-sci.c bits = SCFCR_RTRG1; bits 1068 drivers/tty/serial/sh-sci.c bits = SCFCR_RTRG0 | SCFCR_RTRG1; bits 1079 drivers/tty/serial/sh-sci.c ~(SCFCR_RTRG1 | SCFCR_RTRG0)) | bits); bits 2375 drivers/tty/serial/sh-sci.c unsigned int baud, smr_val = SCSMR_ASYNC, scr_val = 0, i, bits; bits 2502 drivers/tty/serial/sh-sci.c bits = 7; bits 2505 drivers/tty/serial/sh-sci.c bits = 8; bits 2508 drivers/tty/serial/sh-sci.c bits = 9; bits 2511 drivers/tty/serial/sh-sci.c bits = 10; bits 2516 drivers/tty/serial/sh-sci.c bits++; bits 2518 drivers/tty/serial/sh-sci.c bits++; bits 2541 drivers/tty/serial/sh-sci.c int last_stop = bits * 2 - 1; bits 2625 drivers/tty/serial/sh-sci.c s->rx_frame = (10000 * bits) / (baud / 100); bits 3020 drivers/tty/serial/sh-sci.c unsigned short bits, ctrl, ctrl_temp; bits 3044 drivers/tty/serial/sh-sci.c bits = SCxSR_TDxE(port) | SCxSR_TEND(port); bits 3045 drivers/tty/serial/sh-sci.c while ((serial_port_in(port, SCxSR) & bits) != bits) bits 3060 drivers/tty/serial/sh-sci.c int bits = 8; bits 3085 drivers/tty/serial/sh-sci.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 3087 drivers/tty/serial/sh-sci.c return uart_set_options(port, co, baud, parity, bits, flow); bits 804 drivers/tty/serial/sifive.c int bits = 8; bits 816 drivers/tty/serial/sifive.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 818 drivers/tty/serial/sifive.c return uart_set_options(&ssp->port, co, baud, parity, bits, flow); bits 1087 drivers/tty/serial/sirfsoc_uart.c unsigned int bits = 8; bits 1106 drivers/tty/serial/sirfsoc_uart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1112 drivers/tty/serial/sirfsoc_uart.c return uart_set_options(&sirfport->port, co, baud, parity, bits, flow); bits 991 drivers/tty/serial/sprd_serial.c int bits = 8; bits 1005 drivers/tty/serial/sprd_serial.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1008 drivers/tty/serial/sprd_serial.c parity, bits, flow); bits 916 drivers/tty/serial/st-asc.c int bits = 8; bits 935 drivers/tty/serial/st-asc.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 937 drivers/tty/serial/st-asc.c return uart_set_options(&ascport->port, co, baud, parity, bits, flow); bits 48 drivers/tty/serial/stm32-usart.c static void stm32_set_bits(struct uart_port *port, u32 reg, u32 bits) bits 53 drivers/tty/serial/stm32-usart.c val |= bits; bits 57 drivers/tty/serial/stm32-usart.c static void stm32_clr_bits(struct uart_port *port, u32 reg, u32 bits) bits 62 drivers/tty/serial/stm32-usart.c val &= ~bits; bits 653 drivers/tty/serial/stm32-usart.c unsigned int bits; bits 664 drivers/tty/serial/stm32-usart.c bits = 5; bits 667 drivers/tty/serial/stm32-usart.c bits = 6; bits 670 drivers/tty/serial/stm32-usart.c bits = 7; bits 674 drivers/tty/serial/stm32-usart.c bits = 8; bits 678 drivers/tty/serial/stm32-usart.c return bits; bits 688 drivers/tty/serial/stm32-usart.c unsigned int baud, bits; bits 720 drivers/tty/serial/stm32-usart.c bits = stm32_get_databits(termios); bits 721 drivers/tty/serial/stm32-usart.c stm32_port->rdr_mask = (BIT(bits) - 1); bits 724 drivers/tty/serial/stm32-usart.c bits++; bits 735 drivers/tty/serial/stm32-usart.c if (bits == 9) bits 737 drivers/tty/serial/stm32-usart.c else if ((bits == 7) && cfg->has_7bits_data) bits 739 drivers/tty/serial/stm32-usart.c else if (bits != 8) bits 741 drivers/tty/serial/stm32-usart.c , bits); bits 746 drivers/tty/serial/stm32-usart.c bits = bits + 3; /* 1 start bit + 2 stop bits */ bits 748 drivers/tty/serial/stm32-usart.c bits = bits + 2; /* 1 start bit + 1 stop bit */ bits 752 drivers/tty/serial/stm32-usart.c writel_relaxed(bits, port->membase + ofs->rtor); bits 1296 drivers/tty/serial/stm32-usart.c int bits = 8; bits 1315 drivers/tty/serial/stm32-usart.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1317 drivers/tty/serial/stm32-usart.c return uart_set_options(&stm32port->port, co, baud, parity, bits, flow); bits 89 drivers/tty/serial/suncore.c int baud, bits, stop, cflag; bits 123 drivers/tty/serial/suncore.c bits = simple_strtoul(++s, NULL, 0); bits 148 drivers/tty/serial/suncore.c switch (bits) { bits 688 drivers/tty/serial/sunsab.c int bits, n, m; bits 692 drivers/tty/serial/sunsab.c case CS5: dafo = SAB82532_DAFO_CHL5; bits = 7; break; bits 693 drivers/tty/serial/sunsab.c case CS6: dafo = SAB82532_DAFO_CHL6; bits = 8; break; bits 694 drivers/tty/serial/sunsab.c case CS7: dafo = SAB82532_DAFO_CHL7; bits = 9; break; bits 695 drivers/tty/serial/sunsab.c case CS8: dafo = SAB82532_DAFO_CHL8; bits = 10; break; bits 697 drivers/tty/serial/sunsab.c default: dafo = SAB82532_DAFO_CHL5; bits = 7; break; bits 702 drivers/tty/serial/sunsab.c bits++; bits 707 drivers/tty/serial/sunsab.c bits++; bits 513 drivers/tty/serial/uartlite.c int bits = 8; bits 533 drivers/tty/serial/uartlite.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 535 drivers/tty/serial/uartlite.c return uart_set_options(port, co, baud, parity, bits, flow); bits 777 drivers/tty/serial/vr41xx_siu.c int bits = 8; bits 794 drivers/tty/serial/vr41xx_siu.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 796 drivers/tty/serial/vr41xx_siu.c return uart_set_options(port, con, baud, parity, bits, flow); bits 525 drivers/tty/serial/vt8500_serial.c int bits = 8; bits 538 drivers/tty/serial/vt8500_serial.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 541 drivers/tty/serial/vt8500_serial.c co, baud, parity, bits, flow); bits 1248 drivers/tty/serial/xilinx_uartps.c int bits = 8; bits 1259 drivers/tty/serial/xilinx_uartps.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1261 drivers/tty/serial/xilinx_uartps.c return uart_set_options(port, co, baud, parity, bits, flow); bits 1205 drivers/tty/serial/zs.c int bits = 8; bits 1218 drivers/tty/serial/zs.c uart_parse_options(options, &baud, &parity, &bits, &flow); bits 1219 drivers/tty/serial/zs.c return uart_set_options(uport, co, baud, parity, bits, flow); bits 268 drivers/usb/c67x00/c67x00-ll-hpi.c void c67x00_ll_usb_clear_status(struct c67x00_sie *sie, u16 bits) bits 270 drivers/usb/c67x00/c67x00-ll-hpi.c hpi_write_word(sie->dev, USB_STAT_REG(sie->sie_num), bits); bits 256 drivers/usb/c67x00/c67x00.h void c67x00_ll_usb_clear_status(struct c67x00_sie *sie, u16 bits); bits 715 drivers/usb/core/hub.c unsigned long bits; bits 733 drivers/usb/core/hub.c bits = 0; bits 735 drivers/usb/core/hub.c bits |= ((unsigned long) ((*hub->buffer)[i])) bits 737 drivers/usb/core/hub.c hub->event_bits[0] = bits; bits 141 drivers/usb/gadget/function/uvc_configfs.c #define UVCG_CTRL_HDR_ATTR(cname, aname, bits, limit) \ bits 157 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(ch->desc.aname));\ bits 173 drivers/usb/gadget/function/uvc_configfs.c u##bits num; \ bits 186 drivers/usb/gadget/function/uvc_configfs.c ret = kstrtou##bits(page, 0, &num); \ bits 194 drivers/usb/gadget/function/uvc_configfs.c ch->desc.aname = cpu_to_le##bits(num); \ bits 259 drivers/usb/gadget/function/uvc_configfs.c #define UVCG_DEFAULT_PROCESSING_ATTR(cname, aname, bits) \ bits 277 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(pd->aname)); \ bits 362 drivers/usb/gadget/function/uvc_configfs.c #define UVCG_DEFAULT_CAMERA_ATTR(cname, aname, bits) \ bits 381 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(cd->aname)); \ bits 476 drivers/usb/gadget/function/uvc_configfs.c #define UVCG_DEFAULT_OUTPUT_ATTR(cname, aname, bits) \ bits 495 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(cd->aname)); \ bits 982 drivers/usb/gadget/function/uvc_configfs.c #define UVCG_STREAMING_HEADER_ATTR(cname, aname, bits) \ bits 998 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(sh->desc.aname));\ bits 1092 drivers/usb/gadget/function/uvc_configfs.c #define UVCG_FRAME_ATTR(cname, aname, bits) \ bits 1125 drivers/usb/gadget/function/uvc_configfs.c ret = kstrtou##bits(page, 0, &num); \ bits 1499 drivers/usb/gadget/function/uvc_configfs.c #define UVCG_UNCOMPRESSED_ATTR_RO(cname, aname, bits) \ bits 1515 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(u->desc.aname));\ bits 1524 drivers/usb/gadget/function/uvc_configfs.c #define UVCG_UNCOMPRESSED_ATTR(cname, aname, bits) \ bits 1540 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(u->desc.aname));\ bits 1694 drivers/usb/gadget/function/uvc_configfs.c #define UVCG_MJPEG_ATTR_RO(cname, aname, bits) \ bits 1709 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(u->desc.aname));\ bits 1718 drivers/usb/gadget/function/uvc_configfs.c #define UVCG_MJPEG_ATTR(cname, aname, bits) \ bits 1733 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(u->desc.aname));\ bits 1863 drivers/usb/gadget/function/uvc_configfs.c #define UVCG_DEFAULT_COLOR_MATCHING_ATTR(cname, aname, bits) \ bits 1881 drivers/usb/gadget/function/uvc_configfs.c result = sprintf(page, "%u\n", le##bits##_to_cpu(cd->aname)); \ bits 1081 drivers/usb/gadget/udc/fsl_udc_core.c u32 bits; bits 1096 drivers/usb/gadget/udc/fsl_udc_core.c bits = (1 << 16) | 1; bits 1098 drivers/usb/gadget/udc/fsl_udc_core.c bits = 1 << (16 + ep_num); bits 1100 drivers/usb/gadget/udc/fsl_udc_core.c bits = 1 << ep_num; bits 1104 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(bits, &dr_regs->endptflush); bits 1115 drivers/usb/gadget/udc/fsl_udc_core.c } while (fsl_readl(&dr_regs->endptstatus) & bits); bits 406 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_set_bit(struct renesas_usb3 *usb3, u32 bits, u32 offs) bits 410 drivers/usb/gadget/udc/renesas_usb3.c val |= bits; bits 414 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_clear_bit(struct renesas_usb3 *usb3, u32 bits, u32 offs) bits 418 drivers/usb/gadget/udc/renesas_usb3.c val &= ~bits; bits 448 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_enable_irq_1(struct renesas_usb3 *usb3, u32 bits) bits 450 drivers/usb/gadget/udc/renesas_usb3.c usb3_set_bit(usb3, bits, USB3_USB_INT_ENA_1); bits 453 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_disable_irq_1(struct renesas_usb3 *usb3, u32 bits) bits 455 drivers/usb/gadget/udc/renesas_usb3.c usb3_clear_bit(usb3, bits, USB3_USB_INT_ENA_1); bits 501 drivers/usb/gadget/udc/renesas_usb3.c u32 bits = USB20_CON_B2_PUE | USB20_CON_B2_CONNECT; bits 504 drivers/usb/gadget/udc/renesas_usb3.c usb3_set_bit(usb3, bits, USB3_USB20_CON); bits 506 drivers/usb/gadget/udc/renesas_usb3.c usb3_clear_bit(usb3, bits, USB3_USB20_CON); bits 562 drivers/usb/gadget/udc/renesas_usb3.c u32 bits = SSIFCMD_UDIR_U2 | SSIFCMD_UREQ_U2; bits 566 drivers/usb/gadget/udc/renesas_usb3.c usb3_clear_bit(usb3, bits, USB3_SSIFCMD); bits 568 drivers/usb/gadget/udc/renesas_usb3.c usb3_set_bit(usb3, bits, USB3_SSIFCMD); bits 573 drivers/usb/gadget/udc/renesas_usb3.c u32 bits = SSIFCMD_UDIR_U1 | SSIFCMD_UREQ_U1; bits 577 drivers/usb/gadget/udc/renesas_usb3.c usb3_clear_bit(usb3, bits, USB3_SSIFCMD); bits 579 drivers/usb/gadget/udc/renesas_usb3.c usb3_set_bit(usb3, bits, USB3_SSIFCMD); bits 150 drivers/usb/host/fhci-hcd.c u8 bits = 0; bits 158 drivers/usb/host/fhci-hcd.c bits |= 0x2; bits 162 drivers/usb/host/fhci-hcd.c bits |= 0x1; bits 164 drivers/usb/host/fhci-hcd.c return bits; bits 406 drivers/usb/mtu3/mtu3.h static inline void mtu3_setbits(void __iomem *base, u32 offset, u32 bits) bits 411 drivers/usb/mtu3/mtu3.h writel((tmp | (bits)), addr); bits 414 drivers/usb/mtu3/mtu3.h static inline void mtu3_clrbits(void __iomem *base, u32 offset, u32 bits) bits 419 drivers/usb/mtu3/mtu3.h writel((tmp & ~(bits)), addr); bits 55 drivers/usb/mtu3/mtu3_core.c u32 bits = mep->fifo_size / MTU3_EP_FIFO_UNIT; bits 58 drivers/usb/mtu3/mtu3_core.c if (unlikely(addr < fifo->base || bits > fifo->limit)) bits 62 drivers/usb/mtu3/mtu3_core.c bitmap_clear(fifo->bitmap, start_bit, bits); bits 151 drivers/usb/phy/phy-isp1301-omap.c isp1301_set_bits(struct isp1301 *isp, u8 reg, u8 bits) bits 153 drivers/usb/phy/phy-isp1301-omap.c return i2c_smbus_write_byte_data(isp->client, reg + 0, bits); bits 157 drivers/usb/phy/phy-isp1301-omap.c isp1301_clear_bits(struct isp1301 *isp, u8 reg, u8 bits) bits 159 drivers/usb/phy/phy-isp1301-omap.c return i2c_smbus_write_byte_data(isp->client, reg + 1, bits); bits 59 drivers/usb/serial/console.c int bits = 8; bits 78 drivers/usb/serial/console.c bits = *s++ - '0'; bits 87 drivers/usb/serial/console.c switch (bits) { bits 916 drivers/usb/serial/cp210x.c u16 bits; bits 926 drivers/usb/serial/cp210x.c cp210x_get_line_ctl(port, &bits); bits 928 drivers/usb/serial/cp210x.c switch (bits & BITS_DATA_MASK) { bits 948 drivers/usb/serial/cp210x.c bits &= ~BITS_DATA_MASK; bits 949 drivers/usb/serial/cp210x.c bits |= BITS_DATA_8; bits 950 drivers/usb/serial/cp210x.c cp210x_write_u16_reg(port, CP210X_SET_LINE_CTL, bits); bits 955 drivers/usb/serial/cp210x.c bits &= ~BITS_DATA_MASK; bits 956 drivers/usb/serial/cp210x.c bits |= BITS_DATA_8; bits 957 drivers/usb/serial/cp210x.c cp210x_write_u16_reg(port, CP210X_SET_LINE_CTL, bits); bits 961 drivers/usb/serial/cp210x.c switch (bits & BITS_PARITY_MASK) { bits 987 drivers/usb/serial/cp210x.c bits &= ~BITS_PARITY_MASK; bits 988 drivers/usb/serial/cp210x.c cp210x_write_u16_reg(port, CP210X_SET_LINE_CTL, bits); bits 993 drivers/usb/serial/cp210x.c switch (bits & BITS_STOP_MASK) { bits 999 drivers/usb/serial/cp210x.c bits &= ~BITS_STOP_MASK; bits 1000 drivers/usb/serial/cp210x.c cp210x_write_u16_reg(port, CP210X_SET_LINE_CTL, bits); bits 1008 drivers/usb/serial/cp210x.c bits &= ~BITS_STOP_MASK; bits 1009 drivers/usb/serial/cp210x.c cp210x_write_u16_reg(port, CP210X_SET_LINE_CTL, bits); bits 1156 drivers/usb/serial/cp210x.c u16 bits; bits 1166 drivers/usb/serial/cp210x.c cp210x_get_line_ctl(port, &bits); bits 1167 drivers/usb/serial/cp210x.c bits &= ~BITS_DATA_MASK; bits 1170 drivers/usb/serial/cp210x.c bits |= BITS_DATA_5; bits 1174 drivers/usb/serial/cp210x.c bits |= BITS_DATA_6; bits 1178 drivers/usb/serial/cp210x.c bits |= BITS_DATA_7; bits 1183 drivers/usb/serial/cp210x.c bits |= BITS_DATA_8; bits 1187 drivers/usb/serial/cp210x.c if (cp210x_write_u16_reg(port, CP210X_SET_LINE_CTL, bits)) bits 1193 drivers/usb/serial/cp210x.c cp210x_get_line_ctl(port, &bits); bits 1194 drivers/usb/serial/cp210x.c bits &= ~BITS_PARITY_MASK; bits 1198 drivers/usb/serial/cp210x.c bits |= BITS_PARITY_MARK; bits 1201 drivers/usb/serial/cp210x.c bits |= BITS_PARITY_SPACE; bits 1206 drivers/usb/serial/cp210x.c bits |= BITS_PARITY_ODD; bits 1209 drivers/usb/serial/cp210x.c bits |= BITS_PARITY_EVEN; bits 1214 drivers/usb/serial/cp210x.c if (cp210x_write_u16_reg(port, CP210X_SET_LINE_CTL, bits)) bits 1219 drivers/usb/serial/cp210x.c cp210x_get_line_ctl(port, &bits); bits 1220 drivers/usb/serial/cp210x.c bits &= ~BITS_STOP_MASK; bits 1222 drivers/usb/serial/cp210x.c bits |= BITS_STOP_2; bits 1225 drivers/usb/serial/cp210x.c bits |= BITS_STOP_1; bits 1228 drivers/usb/serial/cp210x.c if (cp210x_write_u16_reg(port, CP210X_SET_LINE_CTL, bits)) bits 1924 drivers/usb/serial/ftdi_sio.c unsigned long *bits) bits 1933 drivers/usb/serial/ftdi_sio.c *bits = result & *mask; bits 1939 drivers/usb/serial/ftdi_sio.c unsigned long *bits) bits 1947 drivers/usb/serial/ftdi_sio.c priv->gpio_value |= *bits & *mask; bits 572 drivers/usb/serial/io_edgeport.c struct edge_compatibility_bits *bits; bits 602 drivers/usb/serial/io_edgeport.c bits = &ep->epic_descriptor.Supports; bits 604 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " VendEnableSuspend: %s\n", bits->VendEnableSuspend ? "TRUE": "FALSE"); bits 605 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " IOSPOpen : %s\n", bits->IOSPOpen ? "TRUE": "FALSE"); bits 606 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " IOSPClose : %s\n", bits->IOSPClose ? "TRUE": "FALSE"); bits 607 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " IOSPChase : %s\n", bits->IOSPChase ? "TRUE": "FALSE"); bits 608 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " IOSPSetRxFlow : %s\n", bits->IOSPSetRxFlow ? "TRUE": "FALSE"); bits 609 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " IOSPSetTxFlow : %s\n", bits->IOSPSetTxFlow ? "TRUE": "FALSE"); bits 610 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " IOSPSetXChar : %s\n", bits->IOSPSetXChar ? "TRUE": "FALSE"); bits 611 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " IOSPRxCheck : %s\n", bits->IOSPRxCheck ? "TRUE": "FALSE"); bits 612 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " IOSPSetClrBreak : %s\n", bits->IOSPSetClrBreak ? "TRUE": "FALSE"); bits 613 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " IOSPWriteMCR : %s\n", bits->IOSPWriteMCR ? "TRUE": "FALSE"); bits 614 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " IOSPWriteLCR : %s\n", bits->IOSPWriteLCR ? "TRUE": "FALSE"); bits 615 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " IOSPSetBaudRate : %s\n", bits->IOSPSetBaudRate ? "TRUE": "FALSE"); bits 616 drivers/usb/serial/io_edgeport.c dev_dbg(dev, " TrueEdgeport : %s\n", bits->TrueEdgeport ? "TRUE": "FALSE"); bits 645 drivers/usb/serial/whiteheat.c case CS5: port_settings.bits = 5; break; bits 646 drivers/usb/serial/whiteheat.c case CS6: port_settings.bits = 6; break; bits 647 drivers/usb/serial/whiteheat.c case CS7: port_settings.bits = 7; break; bits 649 drivers/usb/serial/whiteheat.c case CS8: port_settings.bits = 8; break; bits 651 drivers/usb/serial/whiteheat.c dev_dbg(dev, "%s - data bits = %d\n", __func__, port_settings.bits); bits 92 drivers/usb/serial/whiteheat.h __u8 bits; /* 5, 6, 7, or 8 */ bits 246 drivers/usb/storage/alauda.c unsigned char par = 0, bit, bits[8] = {0}; bits 254 drivers/usb/storage/alauda.c bits[j] ^= bit; bits 258 drivers/usb/storage/alauda.c a = (bits[3] << 6) + (bits[2] << 4) + (bits[1] << 2) + bits[0]; bits 261 drivers/usb/storage/alauda.c a = (bits[7] << 6) + (bits[6] << 4) + (bits[5] << 2) + bits[4]; bits 214 drivers/usb/storage/sddr09.c unsigned char par = 0, bit, bits[8] = {0}; bits 222 drivers/usb/storage/sddr09.c bits[j] ^= bit; bits 226 drivers/usb/storage/sddr09.c a = (bits[3] << 6) + (bits[2] << 4) + (bits[1] << 2) + bits[0]; bits 229 drivers/usb/storage/sddr09.c a = (bits[7] << 6) + (bits[6] << 4) + (bits[5] << 2) + bits[4]; bits 1328 drivers/vfio/pci/vfio_pci_config.c int bits; bits 1336 drivers/vfio/pci/vfio_pci_config.c bits = byte ? round_up(byte, 32) : 256; bits 1337 drivers/vfio/pci/vfio_pci_config.c return 8 + (bits / 8); bits 1847 drivers/video/fbdev/amifb.c short height, width, bits, words; bits 1867 drivers/video/fbdev/amifb.c bits = 0; words = delta; datawords = 0; bits 1869 drivers/video/fbdev/amifb.c if (bits == 0) { bits 1870 drivers/video/fbdev/amifb.c bits = 16; --words; bits 1878 drivers/video/fbdev/amifb.c --bits; bits 1891 drivers/video/fbdev/amifb.c if (bits > 0) { bits 1922 drivers/video/fbdev/amifb.c short height, width, bits, words; bits 1956 drivers/video/fbdev/amifb.c bits = 16; words = delta; datawords = 0; bits 1972 drivers/video/fbdev/amifb.c if (--bits == 0) { bits 1973 drivers/video/fbdev/amifb.c bits = 16; --words; bits 1983 drivers/video/fbdev/amifb.c if (bits < 16) { bits 1989 drivers/video/fbdev/amifb.c : "=a" (lspr) : "0" (lspr), "d" (datawords), "d" (delta), "d" (bits)); bits 1991 drivers/video/fbdev/amifb.c *(lspr + delta) = (u_short) (datawords >> (16 + bits)); bits 1992 drivers/video/fbdev/amifb.c *lspr++ = (u_short) ((datawords & 0x0000ffff) >> bits); bits 655 drivers/video/fbdev/au1200fb.c int bits = 0; bits 660 drivers/video/fbdev/au1200fb.c bits = 1; bits 663 drivers/video/fbdev/au1200fb.c bits = 2; bits 666 drivers/video/fbdev/au1200fb.c bits = 4; bits 669 drivers/video/fbdev/au1200fb.c bits = 8; bits 679 drivers/video/fbdev/au1200fb.c bits = 16; bits 683 drivers/video/fbdev/au1200fb.c bits = 32; bits 687 drivers/video/fbdev/au1200fb.c return bits; bits 47 drivers/video/fbdev/core/cfbcopyarea.c const unsigned long __iomem *src, unsigned src_idx, int bits, bits 58 drivers/video/fbdev/core/cfbcopyarea.c memmove((char *)dst + ((dst_idx & (bits - 1))) / 8, bits 59 drivers/video/fbdev/core/cfbcopyarea.c (char *)src + ((src_idx & (bits - 1))) / 8, n / 8); bits 64 drivers/video/fbdev/core/cfbcopyarea.c last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); bits 69 drivers/video/fbdev/core/cfbcopyarea.c if (dst_idx+n <= bits) { bits 82 drivers/video/fbdev/core/cfbcopyarea.c n -= bits - dst_idx; bits 86 drivers/video/fbdev/core/cfbcopyarea.c n /= bits; bits 110 drivers/video/fbdev/core/cfbcopyarea.c int const left = shift & (bits - 1); bits 111 drivers/video/fbdev/core/cfbcopyarea.c int const right = -shift & (bits - 1); bits 113 drivers/video/fbdev/core/cfbcopyarea.c if (dst_idx+n <= bits) { bits 122 drivers/video/fbdev/core/cfbcopyarea.c } else if (src_idx+n <= bits) { bits 147 drivers/video/fbdev/core/cfbcopyarea.c n -= bits - dst_idx; bits 154 drivers/video/fbdev/core/cfbcopyarea.c n -= bits - dst_idx; bits 162 drivers/video/fbdev/core/cfbcopyarea.c m = n % bits; bits 163 drivers/video/fbdev/core/cfbcopyarea.c n /= bits; bits 190 drivers/video/fbdev/core/cfbcopyarea.c if (m <= bits - right) { bits 213 drivers/video/fbdev/core/cfbcopyarea.c const unsigned long __iomem *src, unsigned src_idx, int bits, bits 224 drivers/video/fbdev/core/cfbcopyarea.c memmove((char *)dst + ((dst_idx & (bits - 1))) / 8, bits 225 drivers/video/fbdev/core/cfbcopyarea.c (char *)src + ((src_idx & (bits - 1))) / 8, n / 8); bits 229 drivers/video/fbdev/core/cfbcopyarea.c dst += (dst_idx + n - 1) / bits; bits 230 drivers/video/fbdev/core/cfbcopyarea.c src += (src_idx + n - 1) / bits; bits 231 drivers/video/fbdev/core/cfbcopyarea.c dst_idx = (dst_idx + n - 1) % bits; bits 232 drivers/video/fbdev/core/cfbcopyarea.c src_idx = (src_idx + n - 1) % bits; bits 236 drivers/video/fbdev/core/cfbcopyarea.c first = ~fb_shifted_pixels_mask_long(p, (dst_idx + 1) % bits, bswapmask); bits 237 drivers/video/fbdev/core/cfbcopyarea.c last = fb_shifted_pixels_mask_long(p, (bits + dst_idx + 1 - n) % bits, bswapmask); bits 259 drivers/video/fbdev/core/cfbcopyarea.c n /= bits; bits 283 drivers/video/fbdev/core/cfbcopyarea.c int const left = shift & (bits-1); bits 284 drivers/video/fbdev/core/cfbcopyarea.c int const right = -shift & (bits-1); bits 336 drivers/video/fbdev/core/cfbcopyarea.c m = n % bits; bits 337 drivers/video/fbdev/core/cfbcopyarea.c n /= bits; bits 364 drivers/video/fbdev/core/cfbcopyarea.c if (m <= bits - left) { bits 387 drivers/video/fbdev/core/cfbcopyarea.c int bits = BITS_PER_LONG, bytes = bits >> 3; bits 417 drivers/video/fbdev/core/cfbcopyarea.c bitcpy_rev(p, base + (dst_idx / bits), dst_idx % bits, bits 418 drivers/video/fbdev/core/cfbcopyarea.c base + (src_idx / bits), src_idx % bits, bits, bits 423 drivers/video/fbdev/core/cfbcopyarea.c bitcpy(p, base + (dst_idx / bits), dst_idx % bits, bits 424 drivers/video/fbdev/core/cfbcopyarea.c base + (src_idx / bits), src_idx % bits, bits, bits 36 drivers/video/fbdev/core/cfbfillrect.c unsigned long pat, unsigned n, int bits, u32 bswapmask) bits 44 drivers/video/fbdev/core/cfbfillrect.c last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); bits 46 drivers/video/fbdev/core/cfbfillrect.c if (dst_idx+n <= bits) { bits 58 drivers/video/fbdev/core/cfbfillrect.c n -= bits - dst_idx; bits 62 drivers/video/fbdev/core/cfbfillrect.c n /= bits; bits 93 drivers/video/fbdev/core/cfbfillrect.c unsigned long pat, int left, int right, unsigned n, int bits) bits 101 drivers/video/fbdev/core/cfbfillrect.c last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); bits 103 drivers/video/fbdev/core/cfbfillrect.c if (dst_idx+n <= bits) { bits 115 drivers/video/fbdev/core/cfbfillrect.c n -= bits - dst_idx; bits 119 drivers/video/fbdev/core/cfbfillrect.c n /= bits; bits 147 drivers/video/fbdev/core/cfbfillrect.c int dst_idx, unsigned long pat, unsigned n, int bits, bits 157 drivers/video/fbdev/core/cfbfillrect.c last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); bits 159 drivers/video/fbdev/core/cfbfillrect.c if (dst_idx+n <= bits) { bits 172 drivers/video/fbdev/core/cfbfillrect.c n -= bits - dst_idx; bits 176 drivers/video/fbdev/core/cfbfillrect.c n /= bits; bits 219 drivers/video/fbdev/core/cfbfillrect.c unsigned n, int bits) bits 227 drivers/video/fbdev/core/cfbfillrect.c last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); bits 229 drivers/video/fbdev/core/cfbfillrect.c if (dst_idx+n <= bits) { bits 244 drivers/video/fbdev/core/cfbfillrect.c n -= bits - dst_idx; bits 248 drivers/video/fbdev/core/cfbfillrect.c n /= bits; bits 282 drivers/video/fbdev/core/cfbfillrect.c int bits = BITS_PER_LONG, bytes = bits >> 3; bits 302 drivers/video/fbdev/core/cfbfillrect.c left = bits % bpp; bits 309 drivers/video/fbdev/core/cfbfillrect.c unsigned long pat, unsigned n, int bits, bits 325 drivers/video/fbdev/core/cfbfillrect.c dst += dst_idx >> (ffs(bits) - 1); bits 326 drivers/video/fbdev/core/cfbfillrect.c dst_idx &= (bits - 1); bits 327 drivers/video/fbdev/core/cfbfillrect.c fill_op32(p, dst, dst_idx, pat, width*bpp, bits, bits 335 drivers/video/fbdev/core/cfbfillrect.c int right, unsigned n, int bits) = NULL; bits 355 drivers/video/fbdev/core/cfbfillrect.c dst += dst_idx / bits; bits 356 drivers/video/fbdev/core/cfbfillrect.c dst_idx &= (bits - 1); bits 361 drivers/video/fbdev/core/cfbfillrect.c width*bpp, bits); bits 29 drivers/video/fbdev/core/syscopyarea.c const unsigned long *src, unsigned src_idx, int bits, unsigned n) bits 36 drivers/video/fbdev/core/syscopyarea.c last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); bits 40 drivers/video/fbdev/core/syscopyarea.c if (dst_idx+n <= bits) { bits 52 drivers/video/fbdev/core/syscopyarea.c n -= bits - dst_idx; bits 56 drivers/video/fbdev/core/syscopyarea.c n /= bits; bits 80 drivers/video/fbdev/core/syscopyarea.c right = shift & (bits - 1); bits 81 drivers/video/fbdev/core/syscopyarea.c left = -shift & (bits - 1); bits 83 drivers/video/fbdev/core/syscopyarea.c if (dst_idx+n <= bits) { bits 90 drivers/video/fbdev/core/syscopyarea.c } else if (src_idx+n <= bits) { bits 114 drivers/video/fbdev/core/syscopyarea.c n -= bits - dst_idx; bits 122 drivers/video/fbdev/core/syscopyarea.c n -= bits - dst_idx; bits 126 drivers/video/fbdev/core/syscopyarea.c m = n % bits; bits 127 drivers/video/fbdev/core/syscopyarea.c n /= bits; bits 151 drivers/video/fbdev/core/syscopyarea.c if (m <= bits - right) { bits 171 drivers/video/fbdev/core/syscopyarea.c const unsigned long *src, unsigned src_idx, unsigned bits, bits 177 drivers/video/fbdev/core/syscopyarea.c dst += (dst_idx + n - 1) / bits; bits 178 drivers/video/fbdev/core/syscopyarea.c src += (src_idx + n - 1) / bits; bits 179 drivers/video/fbdev/core/syscopyarea.c dst_idx = (dst_idx + n - 1) % bits; bits 180 drivers/video/fbdev/core/syscopyarea.c src_idx = (src_idx + n - 1) % bits; bits 184 drivers/video/fbdev/core/syscopyarea.c first = ~FB_SHIFT_HIGH(p, ~0UL, (dst_idx + 1) % bits); bits 185 drivers/video/fbdev/core/syscopyarea.c last = FB_SHIFT_HIGH(p, ~0UL, (bits + dst_idx + 1 - n) % bits); bits 206 drivers/video/fbdev/core/syscopyarea.c n /= bits; bits 227 drivers/video/fbdev/core/syscopyarea.c int const left = shift & (bits-1); bits 228 drivers/video/fbdev/core/syscopyarea.c int const right = -shift & (bits-1); bits 276 drivers/video/fbdev/core/syscopyarea.c m = n % bits; bits 277 drivers/video/fbdev/core/syscopyarea.c n /= bits; bits 301 drivers/video/fbdev/core/syscopyarea.c if (m <= bits - left) { bits 321 drivers/video/fbdev/core/syscopyarea.c int bits = BITS_PER_LONG, bytes = bits >> 3; bits 350 drivers/video/fbdev/core/syscopyarea.c bitcpy_rev(p, base + (dst_idx / bits), dst_idx % bits, bits 351 drivers/video/fbdev/core/syscopyarea.c base + (src_idx / bits), src_idx % bits, bits, bits 356 drivers/video/fbdev/core/syscopyarea.c bitcpy(p, base + (dst_idx / bits), dst_idx % bits, bits 357 drivers/video/fbdev/core/syscopyarea.c base + (src_idx / bits), src_idx % bits, bits, bits 26 drivers/video/fbdev/core/sysfillrect.c unsigned long pat, unsigned n, int bits) bits 34 drivers/video/fbdev/core/sysfillrect.c last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); bits 36 drivers/video/fbdev/core/sysfillrect.c if (dst_idx+n <= bits) { bits 48 drivers/video/fbdev/core/sysfillrect.c n -= bits - dst_idx; bits 52 drivers/video/fbdev/core/sysfillrect.c n /= bits; bits 82 drivers/video/fbdev/core/sysfillrect.c unsigned long pat, int left, int right, unsigned n, int bits) bits 90 drivers/video/fbdev/core/sysfillrect.c last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); bits 92 drivers/video/fbdev/core/sysfillrect.c if (dst_idx+n <= bits) { bits 104 drivers/video/fbdev/core/sysfillrect.c n -= bits - dst_idx; bits 108 drivers/video/fbdev/core/sysfillrect.c n /= bits; bits 136 drivers/video/fbdev/core/sysfillrect.c unsigned long pat, unsigned n, int bits) bits 145 drivers/video/fbdev/core/sysfillrect.c last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); bits 147 drivers/video/fbdev/core/sysfillrect.c if (dst_idx+n <= bits) { bits 158 drivers/video/fbdev/core/sysfillrect.c n -= bits - dst_idx; bits 162 drivers/video/fbdev/core/sysfillrect.c n /= bits; bits 193 drivers/video/fbdev/core/sysfillrect.c int bits) bits 201 drivers/video/fbdev/core/sysfillrect.c last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); bits 203 drivers/video/fbdev/core/sysfillrect.c if (dst_idx+n <= bits) { bits 216 drivers/video/fbdev/core/sysfillrect.c n -= bits - dst_idx; bits 220 drivers/video/fbdev/core/sysfillrect.c n /= bits; bits 247 drivers/video/fbdev/core/sysfillrect.c int bits = BITS_PER_LONG, bytes = bits >> 3; bits 267 drivers/video/fbdev/core/sysfillrect.c left = bits % bpp; bits 273 drivers/video/fbdev/core/sysfillrect.c int bits) = NULL; bits 289 drivers/video/fbdev/core/sysfillrect.c dst += dst_idx >> (ffs(bits) - 1); bits 290 drivers/video/fbdev/core/sysfillrect.c dst_idx &= (bits - 1); bits 291 drivers/video/fbdev/core/sysfillrect.c fill_op32(p, dst, dst_idx, pat, width*bpp, bits); bits 298 drivers/video/fbdev/core/sysfillrect.c int right, unsigned n, int bits) = NULL; bits 319 drivers/video/fbdev/core/sysfillrect.c dst += dst_idx / bits; bits 320 drivers/video/fbdev/core/sysfillrect.c dst_idx &= (bits - 1); bits 325 drivers/video/fbdev/core/sysfillrect.c width*bpp, bits); bits 100 drivers/video/fbdev/omap/sossi.c static void sossi_set_bits(int reg, u32 bits) bits 102 drivers/video/fbdev/omap/sossi.c sossi_write_reg(reg, sossi_read_reg(reg) | bits); bits 105 drivers/video/fbdev/omap/sossi.c static void sossi_clear_bits(int reg, u32 bits) bits 107 drivers/video/fbdev/omap/sossi.c sossi_write_reg(reg, sossi_read_reg(reg) & ~bits); bits 43 drivers/video/fbdev/smscufx.c #define all_bits_set(x, bits) (((x) & (bits)) == (bits)) bits 212 drivers/video/fbdev/smscufx.c static int ufx_reg_set_bits(struct ufx_data *dev, u32 index, u32 bits) bits 214 drivers/video/fbdev/smscufx.c return ufx_reg_clear_and_set_bits(dev, index, 0, bits); bits 217 drivers/video/fbdev/smscufx.c static int ufx_reg_clear_bits(struct ufx_data *dev, u32 index, u32 bits) bits 219 drivers/video/fbdev/smscufx.c return ufx_reg_clear_and_set_bits(dev, index, bits, 0); bits 122 drivers/virtio/virtio_input.c unsigned long *bits, unsigned int bitcount) bits 147 drivers/virtio/virtio_input.c __set_bit(bit, bits); bits 42 drivers/xen/acpi.c unsigned int bits = extended ? 8 : 16; bits 55 drivers/xen/acpi.c if (WARN((val_a & (~0 << bits)) || (val_b & (~0 << bits)), bits 58 drivers/xen/acpi.c bits, val_a, val_b)) bits 230 drivers/xen/events/events_2l.c xen_ulong_t bits; bits 233 drivers/xen/events/events_2l.c bits = MASK_LSBS(pending_bits, bit_idx); bits 236 drivers/xen/events/events_2l.c if (bits == 0) bits 239 drivers/xen/events/events_2l.c bit_idx = EVTCHN_FIRST_BIT(bits); bits 1325 fs/btrfs/ctree.h #define DECLARE_BTRFS_SETGET_BITS(bits) \ bits 1326 fs/btrfs/ctree.h u##bits btrfs_get_token_##bits(const struct extent_buffer *eb, \ bits 1329 fs/btrfs/ctree.h void btrfs_set_token_##bits(struct extent_buffer *eb, const void *ptr, \ bits 1330 fs/btrfs/ctree.h unsigned long off, u##bits val, \ bits 1332 fs/btrfs/ctree.h u##bits btrfs_get_##bits(const struct extent_buffer *eb, \ bits 1334 fs/btrfs/ctree.h void btrfs_set_##bits(struct extent_buffer *eb, void *ptr, \ bits 1335 fs/btrfs/ctree.h unsigned long off, u##bits val); bits 1342 fs/btrfs/ctree.h #define BTRFS_SETGET_FUNCS(name, type, member, bits) \ bits 1343 fs/btrfs/ctree.h static inline u##bits btrfs_##name(const struct extent_buffer *eb, \ bits 1346 fs/btrfs/ctree.h BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \ bits 1347 fs/btrfs/ctree.h return btrfs_get_##bits(eb, s, offsetof(type, member)); \ bits 1350 fs/btrfs/ctree.h u##bits val) \ bits 1352 fs/btrfs/ctree.h BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \ bits 1353 fs/btrfs/ctree.h btrfs_set_##bits(eb, s, offsetof(type, member), val); \ bits 1355 fs/btrfs/ctree.h static inline u##bits btrfs_token_##name(const struct extent_buffer *eb,\ bits 1359 fs/btrfs/ctree.h BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \ bits 1360 fs/btrfs/ctree.h return btrfs_get_token_##bits(eb, s, offsetof(type, member), token); \ bits 1363 fs/btrfs/ctree.h type *s, u##bits val, \ bits 1366 fs/btrfs/ctree.h BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \ bits 1367 fs/btrfs/ctree.h btrfs_set_token_##bits(eb, s, offsetof(type, member), val, token); \ bits 1370 fs/btrfs/ctree.h #define BTRFS_SETGET_HEADER_FUNCS(name, type, member, bits) \ bits 1371 fs/btrfs/ctree.h static inline u##bits btrfs_##name(const struct extent_buffer *eb) \ bits 1374 fs/btrfs/ctree.h u##bits res = le##bits##_to_cpu(p->member); \ bits 1378 fs/btrfs/ctree.h u##bits val) \ bits 1381 fs/btrfs/ctree.h p->member = cpu_to_le##bits(val); \ bits 1384 fs/btrfs/ctree.h #define BTRFS_SETGET_STACK_FUNCS(name, type, member, bits) \ bits 1385 fs/btrfs/ctree.h static inline u##bits btrfs_##name(const type *s) \ bits 1387 fs/btrfs/ctree.h return le##bits##_to_cpu(s->member); \ bits 1389 fs/btrfs/ctree.h static inline void btrfs_set_##name(type *s, u##bits val) \ bits 1391 fs/btrfs/ctree.h s->member = cpu_to_le##bits(val); \ bits 2850 fs/btrfs/ctree.h unsigned *bits); bits 2852 fs/btrfs/ctree.h struct extent_state *state, unsigned *bits); bits 57 fs/btrfs/extent-tree.c static int block_group_bits(struct btrfs_block_group_cache *cache, u64 bits) bits 59 fs/btrfs/extent-tree.c return (cache->flags & bits) == bits; bits 130 fs/btrfs/extent_io.c static int add_extent_changeset(struct extent_state *state, unsigned bits, bits 138 fs/btrfs/extent_io.c if (set && (state->state & bits) == bits) bits 140 fs/btrfs/extent_io.c if (!set && (state->state & bits) == 0) bits 504 fs/btrfs/extent_io.c struct extent_state *state, unsigned *bits, bits 521 fs/btrfs/extent_io.c unsigned *bits, struct extent_changeset *changeset) bits 533 fs/btrfs/extent_io.c set_state_bits(tree, state, bits, changeset); bits 602 fs/btrfs/extent_io.c unsigned *bits, int wake, bits 606 fs/btrfs/extent_io.c unsigned bits_to_clear = *bits & ~EXTENT_CTLBITS; bits 616 fs/btrfs/extent_io.c btrfs_clear_delalloc_extent(tree->private_data, state, bits); bits 669 fs/btrfs/extent_io.c unsigned bits, int wake, int delete, bits 682 fs/btrfs/extent_io.c trace_btrfs_clear_extent_bit(tree, start, end - start + 1, bits); bits 684 fs/btrfs/extent_io.c if (bits & EXTENT_DELALLOC) bits 685 fs/btrfs/extent_io.c bits |= EXTENT_NORESERVE; bits 688 fs/btrfs/extent_io.c bits |= ~EXTENT_CTLBITS; bits 690 fs/btrfs/extent_io.c if (bits & (EXTENT_LOCKED | EXTENT_BOUNDARY)) bits 738 fs/btrfs/extent_io.c if (!(state->state & bits)) { bits 770 fs/btrfs/extent_io.c state = clear_state_bit(tree, state, &bits, wake, bits 792 fs/btrfs/extent_io.c clear_state_bit(tree, prealloc, &bits, wake, changeset); bits 798 fs/btrfs/extent_io.c state = clear_state_bit(tree, state, &bits, wake, changeset); bits 842 fs/btrfs/extent_io.c unsigned long bits) bits 866 fs/btrfs/extent_io.c if (state->state & bits) { bits 889 fs/btrfs/extent_io.c unsigned *bits, struct extent_changeset *changeset) bits 891 fs/btrfs/extent_io.c unsigned bits_to_set = *bits & ~EXTENT_CTLBITS; bits 895 fs/btrfs/extent_io.c btrfs_set_delalloc_extent(tree->private_data, state, bits); bits 938 fs/btrfs/extent_io.c unsigned bits, unsigned exclusive_bits, bits 952 fs/btrfs/extent_io.c trace_btrfs_set_extent_bit(tree, start, end - start + 1, bits); bits 984 fs/btrfs/extent_io.c &p, &parent, &bits, changeset); bits 1010 fs/btrfs/extent_io.c set_state_bits(tree, state, &bits, changeset); bits 1056 fs/btrfs/extent_io.c set_state_bits(tree, state, &bits, changeset); bits 1091 fs/btrfs/extent_io.c NULL, NULL, &bits, changeset); bits 1119 fs/btrfs/extent_io.c set_state_bits(tree, prealloc, &bits, changeset); bits 1144 fs/btrfs/extent_io.c unsigned bits, u64 * failed_start, bits 1147 fs/btrfs/extent_io.c return __set_extent_bit(tree, start, end, bits, 0, failed_start, bits 1171 fs/btrfs/extent_io.c unsigned bits, unsigned clear_bits, bits 1185 fs/btrfs/extent_io.c trace_btrfs_convert_extent_bit(tree, start, end - start + 1, bits, bits 1224 fs/btrfs/extent_io.c &p, &parent, &bits, NULL); bits 1243 fs/btrfs/extent_io.c set_state_bits(tree, state, &bits, NULL); bits 1284 fs/btrfs/extent_io.c set_state_bits(tree, state, &bits, NULL); bits 1322 fs/btrfs/extent_io.c NULL, NULL, &bits, NULL); bits 1347 fs/btrfs/extent_io.c set_state_bits(tree, prealloc, &bits, NULL); bits 1372 fs/btrfs/extent_io.c unsigned bits, struct extent_changeset *changeset) bits 1380 fs/btrfs/extent_io.c BUG_ON(bits & EXTENT_LOCKED); bits 1382 fs/btrfs/extent_io.c return __set_extent_bit(tree, start, end, bits, 0, NULL, NULL, GFP_NOFS, bits 1387 fs/btrfs/extent_io.c unsigned bits) bits 1389 fs/btrfs/extent_io.c return __set_extent_bit(tree, start, end, bits, 0, NULL, NULL, bits 1394 fs/btrfs/extent_io.c unsigned bits, int wake, int delete, bits 1397 fs/btrfs/extent_io.c return __clear_extent_bit(tree, start, end, bits, wake, delete, bits 1402 fs/btrfs/extent_io.c unsigned bits, struct extent_changeset *changeset) bits 1408 fs/btrfs/extent_io.c BUG_ON(bits & EXTENT_LOCKED); bits 1410 fs/btrfs/extent_io.c return __clear_extent_bit(tree, start, end, bits, 0, 0, NULL, GFP_NOFS, bits 1491 fs/btrfs/extent_io.c u64 start, unsigned bits) bits 1506 fs/btrfs/extent_io.c if (state->end >= start && (state->state & bits)) bits 1525 fs/btrfs/extent_io.c u64 *start_ret, u64 *end_ret, unsigned bits, bits 1536 fs/btrfs/extent_io.c if (state->state & bits) bits 1547 fs/btrfs/extent_io.c state = find_first_extent_bit_state(tree, start, bits); bits 1576 fs/btrfs/extent_io.c u64 *start_ret, u64 *end_ret, unsigned bits) bits 1613 fs/btrfs/extent_io.c if (state->state & bits) { bits 1662 fs/btrfs/extent_io.c if (state->end >= start && !(state->state & bits)) { bits 1964 fs/btrfs/extent_io.c unsigned bits, int contig) bits 1977 fs/btrfs/extent_io.c if (cur_start == 0 && bits == EXTENT_DIRTY) { bits 1995 fs/btrfs/extent_io.c if (state->end >= cur_start && (state->state & bits) == bits) { bits 2084 fs/btrfs/extent_io.c unsigned bits, int filled, struct extent_state *cached) bits 2107 fs/btrfs/extent_io.c if (state->state & bits) { bits 284 fs/btrfs/extent_io.h u64 max_bytes, unsigned bits, int contig); bits 288 fs/btrfs/extent_io.h unsigned bits, int filled, bits 291 fs/btrfs/extent_io.h unsigned bits, struct extent_changeset *changeset); bits 293 fs/btrfs/extent_io.h unsigned bits, int wake, int delete, bits 296 fs/btrfs/extent_io.h unsigned bits, int wake, int delete, bits 320 fs/btrfs/extent_io.h u64 end, unsigned bits) bits 324 fs/btrfs/extent_io.h if (bits & EXTENT_LOCKED) bits 327 fs/btrfs/extent_io.h return clear_extent_bit(tree, start, end, bits, wake, 0, NULL); bits 331 fs/btrfs/extent_io.h unsigned bits, struct extent_changeset *changeset); bits 333 fs/btrfs/extent_io.h unsigned bits, u64 *failed_start, bits 336 fs/btrfs/extent_io.h unsigned bits); bits 339 fs/btrfs/extent_io.h u64 end, unsigned bits) bits 341 fs/btrfs/extent_io.h return set_extent_bit(tree, start, end, bits, NULL, NULL, GFP_NOFS); bits 367 fs/btrfs/extent_io.h unsigned bits, unsigned clear_bits, bits 402 fs/btrfs/extent_io.h u64 *start_ret, u64 *end_ret, unsigned bits, bits 405 fs/btrfs/extent_io.h u64 *start_ret, u64 *end_ret, unsigned bits); bits 352 fs/btrfs/extent_map.c static void extent_map_device_set_bits(struct extent_map *em, unsigned bits) bits 363 fs/btrfs/extent_map.c stripe->physical + stripe_size - 1, bits); bits 367 fs/btrfs/extent_map.c static void extent_map_device_clear_bits(struct extent_map *em, unsigned bits) bits 378 fs/btrfs/extent_map.c stripe->physical + stripe_size - 1, bits, bits 1752 fs/btrfs/free-space-cache.c unsigned long bits, i; bits 1769 fs/btrfs/free-space-cache.c bits = bytes_to_bits(*bytes, ctl->unit); bits 1772 fs/btrfs/free-space-cache.c if (for_alloc && bits == 1) { bits 1779 fs/btrfs/free-space-cache.c if (extent_bits >= bits) { bits 1886 fs/btrfs/inode.c unsigned *bits) bits 1890 fs/btrfs/inode.c if ((*bits & EXTENT_DEFRAG) && !(*bits & EXTENT_DELALLOC)) bits 1897 fs/btrfs/inode.c if (!(state->state & EXTENT_DELALLOC) && (*bits & EXTENT_DELALLOC)) { bits 1915 fs/btrfs/inode.c if (*bits & EXTENT_DEFRAG) bits 1924 fs/btrfs/inode.c (*bits & EXTENT_DELALLOC_NEW)) { bits 1937 fs/btrfs/inode.c struct extent_state *state, unsigned *bits) bits 1944 fs/btrfs/inode.c if ((state->state & EXTENT_DEFRAG) && (*bits & EXTENT_DEFRAG)) { bits 1955 fs/btrfs/inode.c if ((state->state & EXTENT_DELALLOC) && (*bits & EXTENT_DELALLOC)) { bits 1968 fs/btrfs/inode.c if (*bits & EXTENT_CLEAR_META_RESV && bits 1978 fs/btrfs/inode.c (*bits & EXTENT_CLEAR_DATA_RESV)) bits 1995 fs/btrfs/inode.c (*bits & EXTENT_DELALLOC_NEW)) { bits 594 fs/btrfs/send.c #define TLV_PUT_DEFINE_INT(bits) \ bits 595 fs/btrfs/send.c static int tlv_put_u##bits(struct send_ctx *sctx, \ bits 596 fs/btrfs/send.c u##bits attr, u##bits value) \ bits 598 fs/btrfs/send.c __le##bits __tmp = cpu_to_le##bits(value); \ bits 635 fs/btrfs/send.c #define TLV_PUT_INT(sctx, attrtype, bits, value) \ bits 637 fs/btrfs/send.c ret = tlv_put_u##bits(sctx, attrtype, value); \ bits 40 fs/btrfs/struct-funcs.c #define DEFINE_BTRFS_SETGET_BITS(bits) \ bits 41 fs/btrfs/struct-funcs.c u##bits btrfs_get_token_##bits(const struct extent_buffer *eb, \ bits 52 fs/btrfs/struct-funcs.c int size = sizeof(u##bits); \ bits 53 fs/btrfs/struct-funcs.c u##bits res; \ bits 62 fs/btrfs/struct-funcs.c res = get_unaligned_le##bits(p + off); \ bits 68 fs/btrfs/struct-funcs.c __le##bits leres; \ bits 71 fs/btrfs/struct-funcs.c return le##bits##_to_cpu(leres); \ bits 74 fs/btrfs/struct-funcs.c res = get_unaligned_le##bits(p + off); \ bits 79 fs/btrfs/struct-funcs.c u##bits btrfs_get_##bits(const struct extent_buffer *eb, \ bits 89 fs/btrfs/struct-funcs.c int size = sizeof(u##bits); \ bits 90 fs/btrfs/struct-funcs.c u##bits res; \ bits 95 fs/btrfs/struct-funcs.c __le##bits leres; \ bits 98 fs/btrfs/struct-funcs.c return le##bits##_to_cpu(leres); \ bits 101 fs/btrfs/struct-funcs.c res = get_unaligned_le##bits(p + off); \ bits 104 fs/btrfs/struct-funcs.c void btrfs_set_token_##bits(struct extent_buffer *eb, \ bits 106 fs/btrfs/struct-funcs.c u##bits val, \ bits 116 fs/btrfs/struct-funcs.c int size = sizeof(u##bits); \ bits 125 fs/btrfs/struct-funcs.c put_unaligned_le##bits(val, p + off); \ bits 131 fs/btrfs/struct-funcs.c __le##bits val2; \ bits 133 fs/btrfs/struct-funcs.c val2 = cpu_to_le##bits(val); \ bits 138 fs/btrfs/struct-funcs.c put_unaligned_le##bits(val, p + off); \ bits 142 fs/btrfs/struct-funcs.c void btrfs_set_##bits(struct extent_buffer *eb, void *ptr, \ bits 143 fs/btrfs/struct-funcs.c unsigned long off, u##bits val) \ bits 152 fs/btrfs/struct-funcs.c int size = sizeof(u##bits); \ bits 157 fs/btrfs/struct-funcs.c __le##bits val2; \ bits 159 fs/btrfs/struct-funcs.c val2 = cpu_to_le##bits(val); \ bits 164 fs/btrfs/struct-funcs.c put_unaligned_le##bits(val, p + off); \ bits 2032 fs/btrfs/super.c int bits = dentry->d_sb->s_blocksize_bits; bits 2073 fs/btrfs/super.c buf->f_blocks >>= bits; bits 2074 fs/btrfs/super.c buf->f_bfree = buf->f_blocks - (div_u64(total_used, factor) >> bits); bits 2079 fs/btrfs/super.c if (buf->f_bfree >= block_rsv->size >> bits) bits 2080 fs/btrfs/super.c buf->f_bfree -= block_rsv->size >> bits; bits 2090 fs/btrfs/super.c buf->f_bavail = buf->f_bavail >> bits; bits 975 fs/ceph/caps.c int i, bits = 0; bits 978 fs/ceph/caps.c bits |= 1 << i; bits 980 fs/ceph/caps.c if (bits == 0) bits 982 fs/ceph/caps.c return ceph_caps_for_mode(bits >> 1); bits 4097 fs/ceph/caps.c int bits = (fmode << 1) | 1; bits 4099 fs/ceph/caps.c if (bits & (1 << i)) bits 4112 fs/ceph/caps.c int bits = (fmode << 1) | 1; bits 4115 fs/ceph/caps.c if (bits & (1 << i)) { bits 1050 fs/ceph/mds_client.c static const unsigned char bits[] = CEPHFS_FEATURES_CLIENT_SUPPORTED; bits 1051 fs/ceph/mds_client.c static const size_t count = ARRAY_SIZE(bits); bits 1055 fs/ceph/mds_client.c size_t size = ((size_t)bits[count - 1] + 64) / 64 * 8; bits 1061 fs/ceph/mds_client.c ((unsigned char*)(*p))[i / 8] |= 1 << (bits[i] % 8); bits 641 fs/cifs/cifsacl.c const struct cifs_sid *psid, __u64 nmode, umode_t bits) bits 649 fs/cifs/cifsacl.c mode_to_access_flags(nmode, bits, &access_req); bits 141 fs/crypto/fname.c int i, bits = 0, ac = 0; bits 145 fs/crypto/fname.c ac += src[i] << bits; bits 146 fs/crypto/fname.c bits += 8; bits 150 fs/crypto/fname.c bits -= 6; bits 151 fs/crypto/fname.c } while (bits >= 6); bits 153 fs/crypto/fname.c if (bits) bits 160 fs/crypto/fname.c int i, bits = 0, ac = 0; bits 168 fs/crypto/fname.c ac += (p - lookup_table) << bits; bits 169 fs/crypto/fname.c bits += 6; bits 170 fs/crypto/fname.c if (bits >= 8) { bits 173 fs/crypto/fname.c bits -= 8; bits 259 fs/erofs/internal.h unsigned int bits) bits 262 fs/erofs/internal.h return (value >> bit) & ((1 << bits) - 1); bits 750 fs/ext2/super.c static loff_t ext2_max_size(int bits) bits 755 fs/ext2/super.c unsigned int ppb = 1 << (bits-2); bits 767 fs/ext2/super.c upper_limit >>= (bits - 9); bits 770 fs/ext2/super.c res += 1LL << (bits-2); bits 771 fs/ext2/super.c res += 1LL << (2*(bits-2)); bits 772 fs/ext2/super.c res += 1LL << (3*(bits-2)); bits 796 fs/ext2/super.c res <<= bits; bits 697 fs/ext4/mballoc.c int bits; bits 701 fs/ext4/mballoc.c bits = sb->s_blocksize_bits + 1; bits 702 fs/ext4/mballoc.c for (i = bits; i >= 0; i--) { bits 2817 fs/ext4/super.c static loff_t ext4_max_bitmap_size(int bits, int has_huge_files) bits 2839 fs/ext4/super.c upper_limit >>= (bits - 9); bits 2855 fs/ext4/super.c meta_blocks += 1 + (1LL << (bits-2)); bits 2857 fs/ext4/super.c meta_blocks += 1 + (1LL << (bits-2)) + (1LL << (2*(bits-2))); bits 2860 fs/ext4/super.c upper_limit <<= bits; bits 2862 fs/ext4/super.c res += 1LL << (bits-2); bits 2863 fs/ext4/super.c res += 1LL << (2*(bits-2)); bits 2864 fs/ext4/super.c res += 1LL << (3*(bits-2)); bits 2865 fs/ext4/super.c res <<= bits; bits 136 fs/hpfs/super.c unsigned long *bits; bits 139 fs/hpfs/super.c bits = hpfs_map_4sectors(s, secno, &qbh, 0); bits 140 fs/hpfs/super.c if (!bits) bits 142 fs/hpfs/super.c count = bitmap_weight(bits, 2048 * BITS_PER_BYTE); bits 44 fs/jffs2/compr_rubin.c int bits[8]; bits 88 fs/jffs2/compr_rubin.c static void init_rubin(struct rubin_state *rs, int div, int *bits) bits 98 fs/jffs2/compr_rubin.c rs->bits[c] = bits[c]; bits 151 fs/jffs2/compr_rubin.c static void init_decode(struct rubin_state *rs, int div, int *bits) bits 153 fs/jffs2/compr_rubin.c init_rubin(rs, div, bits); bits 168 fs/jffs2/compr_rubin.c int c, bits = 0; bits 176 fs/jffs2/compr_rubin.c bits++; bits 185 fs/jffs2/compr_rubin.c rs->bit_number += bits; bits 196 fs/jffs2/compr_rubin.c } while (--bits); bits 237 fs/jffs2/compr_rubin.c ret = encode(rs, rs->bit_divider-rs->bits[i], bits 238 fs/jffs2/compr_rubin.c rs->bits[i], byte & 1); bits 254 fs/jffs2/compr_rubin.c result |= decode(rs, bit_divider - rs->bits[i], bits 255 fs/jffs2/compr_rubin.c rs->bits[i]) << i; bits 262 fs/jffs2/compr_rubin.c static int rubin_do_compress(int bit_divider, int *bits, unsigned char *data_in, bits 272 fs/jffs2/compr_rubin.c init_rubin(&rs, bit_divider, bits); bits 308 fs/jffs2/compr_rubin.c int bits[8]; bits 323 fs/jffs2/compr_rubin.c memset(bits, 0, sizeof(int)*8); bits 326 fs/jffs2/compr_rubin.c bits[7] += histo[i]; bits 328 fs/jffs2/compr_rubin.c bits[6] += histo[i]; bits 330 fs/jffs2/compr_rubin.c bits[5] += histo[i]; bits 332 fs/jffs2/compr_rubin.c bits[4] += histo[i]; bits 334 fs/jffs2/compr_rubin.c bits[3] += histo[i]; bits 336 fs/jffs2/compr_rubin.c bits[2] += histo[i]; bits 338 fs/jffs2/compr_rubin.c bits[1] += histo[i]; bits 340 fs/jffs2/compr_rubin.c bits[0] += histo[i]; bits 344 fs/jffs2/compr_rubin.c bits[i] = (bits[i] * 256) / mysrclen; bits 345 fs/jffs2/compr_rubin.c if (!bits[i]) bits[i] = 1; bits 346 fs/jffs2/compr_rubin.c if (bits[i] > 255) bits[i] = 255; bits 347 fs/jffs2/compr_rubin.c cpage_out[i] = bits[i]; bits 350 fs/jffs2/compr_rubin.c ret = rubin_do_compress(256, bits, data_in, cpage_out+8, &mysrclen, bits 368 fs/jffs2/compr_rubin.c static void rubin_do_decompress(int bit_divider, int *bits, bits 377 fs/jffs2/compr_rubin.c init_decode(&rs, bit_divider, bits); bits 397 fs/jffs2/compr_rubin.c int bits[8]; bits 401 fs/jffs2/compr_rubin.c bits[c] = data_in[c]; bits 403 fs/jffs2/compr_rubin.c rubin_do_decompress(256, bits, data_in+8, cpage_out, sourcelen-8, bits 100 fs/minix/bitmap.c u32 bits = sbi->s_nzones - sbi->s_firstdatazone + 1; bits 102 fs/minix/bitmap.c return (count_free(sbi->s_zmap, sb->s_blocksize, bits) bits 270 fs/minix/bitmap.c u32 bits = sbi->s_ninodes + 1; bits 272 fs/minix/bitmap.c return count_free(sbi->s_imap, sb->s_blocksize, bits); bits 91 fs/minix/minix.h static inline unsigned minix_blocks_needed(unsigned bits, unsigned blocksize) bits 93 fs/minix/minix.h return DIV_ROUND_UP(bits, blocksize * 8); bits 103 fs/nilfs2/page.c unsigned long bits; bits 118 fs/nilfs2/page.c bits = sbh->b_state & (BIT(BH_Uptodate) | BIT(BH_Mapped)); bits 121 fs/nilfs2/page.c bits &= bh->b_state; bits 124 fs/nilfs2/page.c if (bits & BIT(BH_Uptodate)) bits 128 fs/nilfs2/page.c if (bits & BIT(BH_Mapped)) bits 515 fs/ocfs2/cluster/heartbeat.c unsigned int bits = reg->hr_block_bits; bits 533 fs/ocfs2/cluster/heartbeat.c bio->bi_iter.bi_sector = (reg->hr_start_block + cs) << (bits - 9); bits 539 fs/ocfs2/cluster/heartbeat.c vec_start = (cs << bits) % PAGE_SIZE; bits 120 fs/ocfs2/cluster/masklog.h #define __mlog_test_u64(mask, bits) \ bits 121 fs/ocfs2/cluster/masklog.h ( (u32)(mask & 0xffffffff) & bits.words[0] || \ bits 122 fs/ocfs2/cluster/masklog.h ((u64)(mask) >> 32) & bits.words[1] ) bits 123 fs/ocfs2/cluster/masklog.h #define __mlog_set_u64(mask, bits) do { \ bits 124 fs/ocfs2/cluster/masklog.h bits.words[0] |= (u32)(mask & 0xffffffff); \ bits 125 fs/ocfs2/cluster/masklog.h bits.words[1] |= (u64)(mask) >> 32; \ bits 127 fs/ocfs2/cluster/masklog.h #define __mlog_clear_u64(mask, bits) do { \ bits 128 fs/ocfs2/cluster/masklog.h bits.words[0] &= ~((u32)(mask & 0xffffffff)); \ bits 129 fs/ocfs2/cluster/masklog.h bits.words[1] &= ~((u64)(mask) >> 32); \ bits 140 fs/ocfs2/cluster/masklog.h #define __mlog_test_u64(mask, bits) ((mask) & bits.words[0]) bits 141 fs/ocfs2/cluster/masklog.h #define __mlog_set_u64(mask, bits) do { \ bits 142 fs/ocfs2/cluster/masklog.h bits.words[0] |= (mask); \ bits 144 fs/ocfs2/cluster/masklog.h #define __mlog_clear_u64(mask, bits) do { \ bits 145 fs/ocfs2/cluster/masklog.h bits.words[0] &= ~(mask); \ bits 693 fs/ocfs2/dlm/dlmcommon.h #define BITS_TO_BYTES(bits) (((bits)+BITS_PER_BYTE-1)/BITS_PER_BYTE) bits 244 fs/ocfs2/localalloc.c int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits) bits 259 fs/ocfs2/localalloc.c if (bits > (la_bits / 2)) bits 265 fs/ocfs2/localalloc.c (unsigned long long)bits, osb->local_alloc_state, la_bits, ret); bits 1044 fs/ocfs2/localalloc.c unsigned int bits; bits 1063 fs/ocfs2/localalloc.c bits = osb->local_alloc_bits >> 1; bits 1064 fs/ocfs2/localalloc.c if (bits > ocfs2_megabytes_to_clusters(osb->sb, 1)) { bits 1073 fs/ocfs2/localalloc.c osb->local_alloc_bits = bits; bits 30 fs/ocfs2/localalloc.h u64 bits); bits 784 fs/ocfs2/ocfs2.h int bits = OCFS2_SB(sb)->s_clustersize_bits - sb->s_blocksize_bits; bits 788 fs/ocfs2/ocfs2.h return (u64)clusters << bits; bits 48 fs/ocfs2/reservations.c unsigned int bits; bits 52 fs/ocfs2/reservations.c bits = 4 << osb->osb_resv_level; bits 54 fs/ocfs2/reservations.c bits = 4 << osb->osb_dir_resv_level; bits 56 fs/ocfs2/reservations.c return bits; bits 20 fs/reiserfs/bitmap.c #define SB_ALLOC_OPTS(s) (REISERFS_SB(s)->s_alloc_options.bits) bits 579 fs/reiserfs/bitmap.c REISERFS_SB(s)->s_alloc_options.bits = 0; bits 557 fs/reiserfs/reiserfs.h unsigned long bits; bits 1377 fs/reiserfs/super.c static void handle_barrier_mode(struct super_block *s, unsigned long bits) bits 1383 fs/reiserfs/super.c if (bits & all_barrier) { bits 1385 fs/reiserfs/super.c if (bits & flush) { bits 1388 fs/reiserfs/super.c } else if (bits & none) { bits 625 fs/select.c void *bits; bits 650 fs/select.c bits = stack_fds; bits 658 fs/select.c bits = kvmalloc(alloc_size, GFP_KERNEL); bits 659 fs/select.c if (!bits) bits 662 fs/select.c fds.in = bits; bits 663 fs/select.c fds.out = bits + size; bits 664 fs/select.c fds.ex = bits + 2*size; bits 665 fs/select.c fds.res_in = bits + 3*size; bits 666 fs/select.c fds.res_out = bits + 4*size; bits 667 fs/select.c fds.res_ex = bits + 5*size; bits 694 fs/select.c if (bits != stack_fds) bits 695 fs/select.c kvfree(bits); bits 1179 fs/select.c void *bits; bits 1201 fs/select.c bits = stack_fds; bits 1203 fs/select.c bits = kmalloc_array(6, size, GFP_KERNEL); bits 1205 fs/select.c if (!bits) bits 1208 fs/select.c fds.in = (unsigned long *) bits; bits 1209 fs/select.c fds.out = (unsigned long *) (bits + size); bits 1210 fs/select.c fds.ex = (unsigned long *) (bits + 2*size); bits 1211 fs/select.c fds.res_in = (unsigned long *) (bits + 3*size); bits 1212 fs/select.c fds.res_out = (unsigned long *) (bits + 4*size); bits 1213 fs/select.c fds.res_ex = (unsigned long *) (bits + 5*size); bits 1239 fs/select.c if (bits != stack_fds) bits 1240 fs/select.c kfree(bits); bits 48 fs/ubifs/lpt.c int i, n, bits, per_leb_wastage, max_pnode_cnt; bits 80 fs/ubifs/lpt.c bits = UBIFS_LPT_CRC_BITS + UBIFS_LPT_TYPE_BITS + bits 83 fs/ubifs/lpt.c c->pnode_sz = (bits + 7) / 8; bits 85 fs/ubifs/lpt.c bits = UBIFS_LPT_CRC_BITS + UBIFS_LPT_TYPE_BITS + bits 88 fs/ubifs/lpt.c c->nnode_sz = (bits + 7) / 8; bits 90 fs/ubifs/lpt.c bits = UBIFS_LPT_CRC_BITS + UBIFS_LPT_TYPE_BITS + bits 92 fs/ubifs/lpt.c c->ltab_sz = (bits + 7) / 8; bits 94 fs/ubifs/lpt.c bits = UBIFS_LPT_CRC_BITS + UBIFS_LPT_TYPE_BITS + bits 96 fs/ubifs/lpt.c c->lsave_sz = (bits + 7) / 8; bits 524 fs/ubifs/lpt.c int num, bits; bits 528 fs/ubifs/lpt.c bits = (col & (UBIFS_LPT_FANOUT - 1)); bits 531 fs/ubifs/lpt.c num |= bits; bits 764 fs/ufs/super.c int bits = uspi->s_apbshift; bits 767 fs/ufs/super.c if (bits > 21) bits 770 fs/ufs/super.c res = UFS_NDADDR + (1LL << bits) + (1LL << (2*bits)) + bits 771 fs/ufs/super.c (1LL << (3*bits)); bits 93 include/asm-generic/word-at-a-time.h static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) bits 96 include/asm-generic/word-at-a-time.h *bits = mask; bits 100 include/asm-generic/word-at-a-time.h static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) bits 102 include/asm-generic/word-at-a-time.h return bits; bits 105 include/asm-generic/word-at-a-time.h static inline unsigned long create_zero_mask(unsigned long bits) bits 107 include/asm-generic/word-at-a-time.h bits = (bits - 1) & ~bits; bits 108 include/asm-generic/word-at-a-time.h return bits >> 7; bits 22 include/clocksource/samsung_pwm.h u8 bits; bits 77 include/crypto/sha1_base.h __be64 *bits = (__be64 *)(sctx->buffer + bit_offset); bits 89 include/crypto/sha1_base.h *bits = cpu_to_be64(sctx->count << 3); bits 78 include/crypto/sha256_base.h __be64 *bits = (__be64 *)(sctx->buf + bit_offset); bits 90 include/crypto/sha256_base.h *bits = cpu_to_be64(sctx->count << 3); bits 100 include/crypto/sha512_base.h __be64 *bits = (__be64 *)(sctx->buf + bit_offset); bits 112 include/crypto/sha512_base.h bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61); bits 113 include/crypto/sha512_base.h bits[1] = cpu_to_be64(sctx->count[0] << 3); bits 80 include/crypto/sm3_base.h __be64 *bits = (__be64 *)(sctx->buffer + bit_offset); bits 92 include/crypto/sm3_base.h *bits = cpu_to_be64(sctx->count << 3); bits 55 include/drm/drm_hashtab.h unsigned long seed, int bits, int shift, bits 190 include/linux/bitmap.h const unsigned long *old, const unsigned long *new, int bits); bits 192 include/linux/bitmap.h const unsigned long *relmap, unsigned int bits); bits 195 include/linux/bitmap.h extern int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order); bits 246 include/linux/bitops.h #define set_mask_bits(ptr, mask, bits) \ bits 248 include/linux/bitops.h const typeof(*(ptr)) mask__ = (mask), bits__ = (bits); \ bits 1477 include/linux/blkdev.h unsigned int bits = 8; bits 1479 include/linux/blkdev.h bits++; bits 1482 include/linux/blkdev.h return bits; bits 125 include/linux/clocksource.h #define CLOCKSOURCE_MASK(bits) GENMASK_ULL((bits) - 1, 0) bits 415 include/linux/compat.h #define BITS_TO_COMPAT_LONGS(bits) DIV_ROUND_UP(bits, BITS_PER_COMPAT_LONG) bits 532 include/linux/cper.h void cper_print_bits(const char *prefix, unsigned int bits, bits 17 include/linux/cpumask.h typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; bits 26 include/linux/cpumask.h #define cpumask_bits(maskp) ((maskp)->bits) bits 134 include/linux/cpumask.h static inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits) bits 137 include/linux/cpumask.h WARN_ON_ONCE(cpu >= bits); bits 7 include/linux/crc4.h extern uint8_t crc4(uint8_t c, uint64_t x, int bits); bits 26 include/linux/dim.h #define BIT_GAP(bits, end, start) ((((end) - (start)) + BIT_ULL(bits)) \ bits 27 include/linux/dim.h & (BIT_ULL(bits) - 1)) bits 214 include/linux/dmaengine.h typedef struct { DECLARE_BITMAP(bits, DMA_TX_TYPE_END); } dma_cap_mask_t; bits 1206 include/linux/dmaengine.h set_bit(tx_type, dstp->bits); bits 1213 include/linux/dmaengine.h clear_bit(tx_type, dstp->bits); bits 1219 include/linux/dmaengine.h bitmap_zero(dstp->bits, DMA_TX_TYPE_END); bits 1226 include/linux/dmaengine.h return test_bit(tx_type, srcp->bits); bits 1230 include/linux/dmaengine.h for_each_set_bit(cap, mask.bits, DMA_TX_TYPE_END) bits 1714 include/linux/efi.h u8 bits[]; bits 580 include/linux/fb.h #define FB_SHIFT_HIGH(p, val, bits) (fb_be_math(p) ? (val) >> (bits) : \ bits 581 include/linux/fb.h (val) << (bits)) bits 582 include/linux/fb.h #define FB_SHIFT_LOW(p, val, bits) (fb_be_math(p) ? (val) << (bits) : \ bits 583 include/linux/fb.h (val) >> (bits)) bits 79 include/linux/genalloc.h unsigned long bits[0]; /* bitmap for allocating memory chunk */ bits 360 include/linux/gpio/driver.h unsigned long *bits); bits 365 include/linux/gpio/driver.h unsigned long *bits); bits 16 include/linux/hash.h #define hash_long(val, bits) hash_32(val, bits) bits 18 include/linux/hash.h #define hash_long(val, bits) hash_64(val, bits) bits 68 include/linux/hash.h static inline u32 hash_32_generic(u32 val, unsigned int bits) bits 71 include/linux/hash.h return __hash_32(val) >> (32 - bits); bits 77 include/linux/hash.h static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) bits 81 include/linux/hash.h return val * GOLDEN_RATIO_64 >> (64 - bits); bits 84 include/linux/hash.h return hash_32((u32)val ^ __hash_32(val >> 32), bits); bits 88 include/linux/hash.h static inline u32 hash_ptr(const void *ptr, unsigned int bits) bits 90 include/linux/hash.h return hash_long((unsigned long)ptr, bits); bits 16 include/linux/hashtable.h #define DEFINE_HASHTABLE(name, bits) \ bits 17 include/linux/hashtable.h struct hlist_head name[1 << (bits)] = \ bits 18 include/linux/hashtable.h { [0 ... ((1 << (bits)) - 1)] = HLIST_HEAD_INIT } bits 20 include/linux/hashtable.h #define DEFINE_READ_MOSTLY_HASHTABLE(name, bits) \ bits 21 include/linux/hashtable.h struct hlist_head name[1 << (bits)] __read_mostly = \ bits 22 include/linux/hashtable.h { [0 ... ((1 << (bits)) - 1)] = HLIST_HEAD_INIT } bits 24 include/linux/hashtable.h #define DECLARE_HASHTABLE(name, bits) \ bits 25 include/linux/hashtable.h struct hlist_head name[1 << (bits)] bits 31 include/linux/hashtable.h #define hash_min(val, bits) \ bits 32 include/linux/hashtable.h (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits)) bits 56 include/linux/hdlcdrv.h unsigned int bits) bits 58 include/linux/hdlcdrv.h buf->buffer[buf->wr] = bits & 0xff; bits 60 include/linux/hdlcdrv.h buf->buffer[buf->wr] = (bits >> 8) & 0xff; bits 221 include/linux/hdlcdrv.h static inline void hdlcdrv_putbits(struct hdlcdrv_state *s, unsigned int bits) bits 223 include/linux/hdlcdrv.h hdlcdrv_hbuf_put(&s->hdlcrx.hbuf, bits); bits 164 include/linux/iio/imu/adis.h #define ADIS_VOLTAGE_CHAN(addr, si, chan, name, info_all, bits) { \ bits 176 include/linux/iio/imu/adis.h .realbits = (bits), \ bits 182 include/linux/iio/imu/adis.h #define ADIS_SUPPLY_CHAN(addr, si, info_all, bits) \ bits 183 include/linux/iio/imu/adis.h ADIS_VOLTAGE_CHAN(addr, si, 0, "supply", info_all, bits) bits 185 include/linux/iio/imu/adis.h #define ADIS_AUX_ADC_CHAN(addr, si, info_all, bits) \ bits 186 include/linux/iio/imu/adis.h ADIS_VOLTAGE_CHAN(addr, si, 1, NULL, info_all, bits) bits 188 include/linux/iio/imu/adis.h #define ADIS_TEMP_CHAN(addr, si, info_all, bits) { \ bits 200 include/linux/iio/imu/adis.h .realbits = (bits), \ bits 206 include/linux/iio/imu/adis.h #define ADIS_MOD_CHAN(_type, mod, addr, si, info_sep, info_all, bits) { \ bits 218 include/linux/iio/imu/adis.h .realbits = (bits), \ bits 224 include/linux/iio/imu/adis.h #define ADIS_ACCEL_CHAN(mod, addr, si, info_sep, info_all, bits) \ bits 225 include/linux/iio/imu/adis.h ADIS_MOD_CHAN(IIO_ACCEL, mod, addr, si, info_sep, info_all, bits) bits 227 include/linux/iio/imu/adis.h #define ADIS_GYRO_CHAN(mod, addr, si, info_sep, info_all, bits) \ bits 228 include/linux/iio/imu/adis.h ADIS_MOD_CHAN(IIO_ANGL_VEL, mod, addr, si, info_sep, info_all, bits) bits 230 include/linux/iio/imu/adis.h #define ADIS_INCLI_CHAN(mod, addr, si, info_sep, info_all, bits) \ bits 231 include/linux/iio/imu/adis.h ADIS_MOD_CHAN(IIO_INCLI, mod, addr, si, info_sep, info_all, bits) bits 233 include/linux/iio/imu/adis.h #define ADIS_ROT_CHAN(mod, addr, si, info_sep, info_all, bits) \ bits 234 include/linux/iio/imu/adis.h ADIS_MOD_CHAN(IIO_ROT, mod, addr, si, info_sep, info_all, bits) bits 267 include/linux/ipv6.h } bits; bits 360 include/linux/ipv6.h inet6_sk(sk)->rxopt.bits.rxinfo) bits 1222 include/linux/libata.h extern int pci_test_config_bits(struct pci_dev *pdev, const struct pci_bits *bits); bits 1940 include/linux/libata.h static inline u8 ata_sff_busy_wait(struct ata_port *ap, unsigned int bits, bits 1949 include/linux/libata.h } while (status != 0xff && (status & bits) && (max > 0)); bits 65 include/linux/lp.h unsigned long bits; bits 30 include/linux/mfd/abx500/ab8500-sysctrl.h static inline int ab8500_sysctrl_set(u16 reg, u8 bits) bits 32 include/linux/mfd/abx500/ab8500-sysctrl.h return ab8500_sysctrl_write(reg, bits, bits); bits 35 include/linux/mfd/abx500/ab8500-sysctrl.h static inline int ab8500_sysctrl_clear(u16 reg, u8 bits) bits 37 include/linux/mfd/abx500/ab8500-sysctrl.h return ab8500_sysctrl_write(reg, bits, 0); bits 571 include/linux/mfd/dbx500-prcmu.h static inline void prcmu_set(unsigned int reg, u32 bits) bits 573 include/linux/mfd/dbx500-prcmu.h prcmu_write_masked(reg, bits, bits); bits 576 include/linux/mfd/dbx500-prcmu.h static inline void prcmu_clear(unsigned int reg, u32 bits) bits 578 include/linux/mfd/dbx500-prcmu.h prcmu_write_masked(reg, bits, 0); bits 69 include/linux/mfd/pcf50633/core.h int pcf50633_reg_clear_bits(struct pcf50633 *pcf, u8 reg, u8 bits); bits 664 include/linux/mlx4/device.h unsigned long *bits[2]; bits 18 include/linux/netfilter/ipset/ip_set_bitmap.h range_to_mask(u32 from, u32 to, u8 *bits) bits 22 include/linux/netfilter/ipset/ip_set_bitmap.h *bits = 32; bits 23 include/linux/netfilter/ipset/ip_set_bitmap.h while (--(*bits) > 0 && mask && (to & mask) != from) bits 98 include/linux/nodemask.h typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; bits 115 include/linux/nodemask.h return m ? m->bits : NULL; bits 130 include/linux/nodemask.h set_bit(node, dstp->bits); bits 136 include/linux/nodemask.h clear_bit(node, dstp->bits); bits 142 include/linux/nodemask.h bitmap_fill(dstp->bits, nbits); bits 148 include/linux/nodemask.h bitmap_zero(dstp->bits, nbits); bits 152 include/linux/nodemask.h #define node_isset(node, nodemask) test_bit((node), (nodemask).bits) bits 158 include/linux/nodemask.h return test_and_set_bit(node, addr->bits); bits 166 include/linux/nodemask.h bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); bits 174 include/linux/nodemask.h bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); bits 182 include/linux/nodemask.h bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); bits 190 include/linux/nodemask.h bitmap_andnot(dstp->bits, src1p->bits, src2p->bits, nbits); bits 198 include/linux/nodemask.h bitmap_complement(dstp->bits, srcp->bits, nbits); bits 206 include/linux/nodemask.h return bitmap_equal(src1p->bits, src2p->bits, nbits); bits 214 include/linux/nodemask.h return bitmap_intersects(src1p->bits, src2p->bits, nbits); bits 222 include/linux/nodemask.h return bitmap_subset(src1p->bits, src2p->bits, nbits); bits 228 include/linux/nodemask.h return bitmap_empty(srcp->bits, nbits); bits 234 include/linux/nodemask.h return bitmap_full(srcp->bits, nbits); bits 240 include/linux/nodemask.h return bitmap_weight(srcp->bits, nbits); bits 248 include/linux/nodemask.h bitmap_shift_right(dstp->bits, srcp->bits, n, nbits); bits 256 include/linux/nodemask.h bitmap_shift_left(dstp->bits, srcp->bits, n, nbits); bits 265 include/linux/nodemask.h return min_t(int, MAX_NUMNODES, find_first_bit(srcp->bits, MAX_NUMNODES)); bits 271 include/linux/nodemask.h return min_t(int,MAX_NUMNODES,find_next_bit(srcp->bits, MAX_NUMNODES, n+1)); bits 291 include/linux/nodemask.h m.bits[0] = 1UL << (node); \ bits 302 include/linux/nodemask.h find_first_zero_bit(maskp->bits, MAX_NUMNODES)); bits 329 include/linux/nodemask.h #define nodes_addr(src) ((src).bits) bits 336 include/linux/nodemask.h return bitmap_parse_user(buf, len, dstp->bits, nbits); bits 342 include/linux/nodemask.h return bitmap_parselist(buf, dstp->bits, nbits); bits 350 include/linux/nodemask.h return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits); bits 358 include/linux/nodemask.h bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); bits 366 include/linux/nodemask.h bitmap_onto(dstp->bits, origp->bits, relmapp->bits, nbits); bits 374 include/linux/nodemask.h bitmap_fold(dstp->bits, origp->bits, sz, nbits); bits 25 include/linux/nsc_gpio.h u32 (*gpio_config) (unsigned iminor, u32 mask, u32 bits); bits 54 include/linux/olpc-ec.h extern int olpc_ec_mask_write(u16 bits); bits 279 include/linux/phylink.h void phylink_set_port_modes(unsigned long *bits); bits 11 include/linux/sched_clock.h extern void sched_clock_register(u64 (*read)(void), int bits, bits 16 include/linux/sched_clock.h static inline void sched_clock_register(u64 (*read)(void), int bits, bits 398 include/linux/serial_core.h void uart_parse_options(const char *options, int *baud, int *parity, int *bits, bits 401 include/linux/serial_core.h int parity, int bits, int flow); bits 452 include/linux/spi/spi.h #define SPI_BPW_MASK(bits) BIT((bits) - 1) bits 33 include/linux/spi/spi_bitbang.h u32 word, u8 bits, unsigned flags); bits 178 include/linux/sunrpc/svcauth.h static inline unsigned long hash_str(char const *name, int bits) bits 180 include/linux/sunrpc/svcauth.h return hashlen_hash(hashlen_string(NULL, name)) >> (32 - bits); bits 183 include/linux/sunrpc/svcauth.h static inline unsigned long hash_mem(char const *buf, int length, int bits) bits 185 include/linux/sunrpc/svcauth.h return full_name_hash(NULL, buf, length) >> (32 - bits); bits 14 include/linux/timecounter.h #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) bits 10 include/linux/types.h #define DECLARE_BITMAP(name,bits) \ bits 11 include/linux/types.h unsigned long name[BITS_TO_LONGS(bits)] bits 60 include/linux/usb/musb.h u8 bits; bits 66 include/linux/yam.h unsigned char bits[YAM_FPGA_SIZE]; bits 70 include/math-emu/double.h } bits __attribute__((packed)); bits 142 include/math-emu/double.h } bits __attribute__((packed)); bits 79 include/math-emu/op-1.h X##_f = _flo.bits.frac; \ bits 80 include/math-emu/op-1.h X##_e = _flo.bits.exp; \ bits 81 include/math-emu/op-1.h X##_s = _flo.bits.sign; \ bits 89 include/math-emu/op-1.h X##_f = _flo->bits.frac; \ bits 90 include/math-emu/op-1.h X##_e = _flo->bits.exp; \ bits 91 include/math-emu/op-1.h X##_s = _flo->bits.sign; \ bits 102 include/math-emu/op-1.h _flo.bits.frac = X##_f; \ bits 103 include/math-emu/op-1.h _flo.bits.exp = X##_e; \ bits 104 include/math-emu/op-1.h _flo.bits.sign = X##_s; \ bits 114 include/math-emu/op-1.h _flo->bits.frac = X##_f; \ bits 115 include/math-emu/op-1.h _flo->bits.exp = X##_e; \ bits 116 include/math-emu/op-1.h _flo->bits.sign = X##_s; \ bits 184 include/math-emu/op-2.h X##_f0 = _flo.bits.frac0; \ bits 185 include/math-emu/op-2.h X##_f1 = _flo.bits.frac1; \ bits 186 include/math-emu/op-2.h X##_e = _flo.bits.exp; \ bits 187 include/math-emu/op-2.h X##_s = _flo.bits.sign; \ bits 195 include/math-emu/op-2.h X##_f0 = _flo->bits.frac0; \ bits 196 include/math-emu/op-2.h X##_f1 = _flo->bits.frac1; \ bits 197 include/math-emu/op-2.h X##_e = _flo->bits.exp; \ bits 198 include/math-emu/op-2.h X##_s = _flo->bits.sign; \ bits 210 include/math-emu/op-2.h _flo.bits.frac0 = X##_f0; \ bits 211 include/math-emu/op-2.h _flo.bits.frac1 = X##_f1; \ bits 212 include/math-emu/op-2.h _flo.bits.exp = X##_e; \ bits 213 include/math-emu/op-2.h _flo.bits.sign = X##_s; \ bits 223 include/math-emu/op-2.h _flo->bits.frac0 = X##_f0; \ bits 224 include/math-emu/op-2.h _flo->bits.frac1 = X##_f1; \ bits 225 include/math-emu/op-2.h _flo->bits.exp = X##_e; \ bits 226 include/math-emu/op-2.h _flo->bits.sign = X##_s; \ bits 187 include/math-emu/op-4.h X##_f[0] = _flo.bits.frac0; \ bits 188 include/math-emu/op-4.h X##_f[1] = _flo.bits.frac1; \ bits 189 include/math-emu/op-4.h X##_f[2] = _flo.bits.frac2; \ bits 190 include/math-emu/op-4.h X##_f[3] = _flo.bits.frac3; \ bits 191 include/math-emu/op-4.h X##_e = _flo.bits.exp; \ bits 192 include/math-emu/op-4.h X##_s = _flo.bits.sign; \ bits 200 include/math-emu/op-4.h X##_f[0] = _flo->bits.frac0; \ bits 201 include/math-emu/op-4.h X##_f[1] = _flo->bits.frac1; \ bits 202 include/math-emu/op-4.h X##_f[2] = _flo->bits.frac2; \ bits 203 include/math-emu/op-4.h X##_f[3] = _flo->bits.frac3; \ bits 204 include/math-emu/op-4.h X##_e = _flo->bits.exp; \ bits 205 include/math-emu/op-4.h X##_s = _flo->bits.sign; \ bits 211 include/math-emu/op-4.h _flo.bits.frac0 = X##_f[0]; \ bits 212 include/math-emu/op-4.h _flo.bits.frac1 = X##_f[1]; \ bits 213 include/math-emu/op-4.h _flo.bits.frac2 = X##_f[2]; \ bits 214 include/math-emu/op-4.h _flo.bits.frac3 = X##_f[3]; \ bits 215 include/math-emu/op-4.h _flo.bits.exp = X##_e; \ bits 216 include/math-emu/op-4.h _flo.bits.sign = X##_s; \ bits 225 include/math-emu/op-4.h _flo->bits.frac0 = X##_f[0]; \ bits 226 include/math-emu/op-4.h _flo->bits.frac1 = X##_f[1]; \ bits 227 include/math-emu/op-4.h _flo->bits.frac2 = X##_f[2]; \ bits 228 include/math-emu/op-4.h _flo->bits.frac3 = X##_f[3]; \ bits 229 include/math-emu/op-4.h _flo->bits.exp = X##_e; \ bits 230 include/math-emu/op-4.h _flo->bits.sign = X##_s; \ bits 75 include/math-emu/quad.h } bits __attribute__((packed)); bits 149 include/math-emu/quad.h } bits; bits 59 include/math-emu/single.h } bits __attribute__((packed)); bits 217 include/media/drv-intf/saa7146_vv.h void saa7146_res_free(struct saa7146_fh *fh, unsigned int bits); bits 176 include/net/caif/caif_hsi.h unsigned long bits; bits 17 include/net/netfilter/nf_conntrack_labels.h unsigned long bits[NF_CT_LABELS_MAX_SIZE / sizeof(long)]; bits 221 include/sound/ac97_codec.h unsigned short bits; /* resolution bitmask */ bits 24 include/sound/cs8403.h SND_CS8403_DECL void SND_CS8403_DECODE(struct snd_aes_iec958 *diga, unsigned char bits) bits 26 include/sound/cs8403.h if (bits & 0x01) { /* consumer */ bits 27 include/sound/cs8403.h if (!(bits & 0x02)) bits 29 include/sound/cs8403.h if (!(bits & 0x08)) bits 31 include/sound/cs8403.h switch (bits & 0x10) { bits 35 include/sound/cs8403.h if (!(bits & 0x80)) bits 37 include/sound/cs8403.h switch (bits & 0x60) { bits 43 include/sound/cs8403.h switch (bits & 0x06) { bits 50 include/sound/cs8403.h switch (bits & 0x18) { bits 56 include/sound/cs8403.h switch (bits & 0x60) { bits 62 include/sound/cs8403.h if (bits & 0x80) bits 69 include/sound/cs8403.h unsigned char bits; bits 72 include/sound/cs8403.h bits = 0x01; /* consumer mode */ bits 74 include/sound/cs8403.h bits &= ~0x02; bits 76 include/sound/cs8403.h bits |= 0x02; bits 78 include/sound/cs8403.h bits &= ~0x08; bits 80 include/sound/cs8403.h bits |= 0x08; bits 83 include/sound/cs8403.h case IEC958_AES0_CON_EMPHASIS_NONE: bits |= 0x10; break; bits 84 include/sound/cs8403.h case IEC958_AES0_CON_EMPHASIS_5015: bits |= 0x00; break; bits 87 include/sound/cs8403.h bits &= ~0x80; bits 89 include/sound/cs8403.h bits |= 0x80; bits 91 include/sound/cs8403.h bits |= 0x60; bits 95 include/sound/cs8403.h bits |= 0x00; break; bits 97 include/sound/cs8403.h bits |= 0x20; break; bits 100 include/sound/cs8403.h bits |= 0x40; break; bits 105 include/sound/cs8403.h case IEC958_AES3_CON_FS_44100: bits |= 0x00; break; bits 106 include/sound/cs8403.h case IEC958_AES3_CON_FS_48000: bits |= 0x02; break; bits 107 include/sound/cs8403.h case IEC958_AES3_CON_FS_32000: bits |= 0x04; break; bits 110 include/sound/cs8403.h bits = 0x00; /* professional mode */ bits 112 include/sound/cs8403.h bits &= ~0x02; bits 114 include/sound/cs8403.h bits |= 0x02; bits 117 include/sound/cs8403.h case IEC958_AES0_PRO_FS_32000: bits |= 0x00; break; bits 118 include/sound/cs8403.h case IEC958_AES0_PRO_FS_44100: bits |= 0x10; break; /* 44.1kHz */ bits 119 include/sound/cs8403.h case IEC958_AES0_PRO_FS_48000: bits |= 0x08; break; /* 48kHz */ bits 121 include/sound/cs8403.h case IEC958_AES0_PRO_FS_NOTID: bits |= 0x18; break; bits 124 include/sound/cs8403.h case IEC958_AES0_PRO_EMPHASIS_NONE: bits |= 0x20; break; bits 125 include/sound/cs8403.h case IEC958_AES0_PRO_EMPHASIS_5015: bits |= 0x40; break; bits 126 include/sound/cs8403.h case IEC958_AES0_PRO_EMPHASIS_CCITT: bits |= 0x00; break; bits 128 include/sound/cs8403.h case IEC958_AES0_PRO_EMPHASIS_NOTID: bits |= 0x60; break; bits 132 include/sound/cs8403.h case IEC958_AES1_PRO_MODE_STEREOPHONIC: bits |= 0x00; break; bits 133 include/sound/cs8403.h default: bits |= 0x80; break; bits 136 include/sound/cs8403.h return bits; bits 154 include/sound/cs8403.h SND_CS8404_DECL void SND_CS8404_DECODE(struct snd_aes_iec958 *diga, unsigned char bits) bits 156 include/sound/cs8403.h if (bits & 0x10) { /* consumer */ bits 157 include/sound/cs8403.h if (!(bits & 0x20)) bits 159 include/sound/cs8403.h if (!(bits & 0x40)) bits 161 include/sound/cs8403.h if (!(bits & 0x80)) bits 163 include/sound/cs8403.h switch (bits & 0x03) { bits 167 include/sound/cs8403.h switch (bits & 0x06) { bits 174 include/sound/cs8403.h if (!(bits & 0x04)) bits 176 include/sound/cs8403.h switch (bits & 0x60) { bits 182 include/sound/cs8403.h switch (bits & 0x03) { bits 188 include/sound/cs8403.h if (!(bits & 0x80)) bits 195 include/sound/cs8403.h unsigned char bits; bits 198 include/sound/cs8403.h bits = 0x10; /* consumer mode */ bits 200 include/sound/cs8403.h bits |= 0x20; bits 202 include/sound/cs8403.h bits |= 0x40; bits 204 include/sound/cs8403.h bits |= 0x80; bits 206 include/sound/cs8403.h bits |= 0x03; bits 209 include/sound/cs8403.h case IEC958_AES3_CON_FS_44100: bits |= 0x06; break; bits 210 include/sound/cs8403.h case IEC958_AES3_CON_FS_48000: bits |= 0x04; break; bits 211 include/sound/cs8403.h case IEC958_AES3_CON_FS_32000: bits |= 0x02; break; bits 214 include/sound/cs8403.h bits = 0x00; /* professional mode */ bits 216 include/sound/cs8403.h bits |= 0x04; bits 218 include/sound/cs8403.h case IEC958_AES0_PRO_FS_32000: bits |= 0x00; break; bits 219 include/sound/cs8403.h case IEC958_AES0_PRO_FS_44100: bits |= 0x40; break; /* 44.1kHz */ bits 220 include/sound/cs8403.h case IEC958_AES0_PRO_FS_48000: bits |= 0x20; break; /* 48kHz */ bits 222 include/sound/cs8403.h case IEC958_AES0_PRO_FS_NOTID: bits |= 0x00; break; bits 225 include/sound/cs8403.h case IEC958_AES0_PRO_EMPHASIS_NONE: bits |= 0x02; break; bits 226 include/sound/cs8403.h case IEC958_AES0_PRO_EMPHASIS_5015: bits |= 0x01; break; bits 227 include/sound/cs8403.h case IEC958_AES0_PRO_EMPHASIS_CCITT: bits |= 0x00; break; bits 229 include/sound/cs8403.h case IEC958_AES0_PRO_EMPHASIS_NOTID: bits |= 0x03; break; bits 233 include/sound/cs8403.h case IEC958_AES1_PRO_MODE_STEREOPHONIC: bits |= 0x00; break; bits 234 include/sound/cs8403.h default: bits |= 0x80; break; bits 237 include/sound/cs8403.h return bits; bits 45 include/sound/pcm_params.h if (mask->bits[i]) bits 54 include/sound/pcm_params.h if (mask->bits[i]) bits 55 include/sound/pcm_params.h return __ffs(mask->bits[i]) + (i << 5); bits 64 include/sound/pcm_params.h if (mask->bits[i]) bits 65 include/sound/pcm_params.h return __fls(mask->bits[i]) + (i << 5); bits 72 include/sound/pcm_params.h mask->bits[MASK_OFS(val)] |= MASK_BIT(val); bits 84 include/sound/pcm_params.h mask->bits[MASK_OFS(val)] &= ~MASK_BIT(val); bits 92 include/sound/pcm_params.h mask->bits[MASK_OFS(i)] |= MASK_BIT(i); bits 100 include/sound/pcm_params.h mask->bits[MASK_OFS(i)] &= ~MASK_BIT(i); bits 106 include/sound/pcm_params.h v = mask->bits[MASK_OFS(val)] & MASK_BIT(val); bits 108 include/sound/pcm_params.h mask->bits[MASK_OFS(val)] = v; bits 116 include/sound/pcm_params.h mask->bits[i] &= v->bits[i]; bits 133 include/sound/pcm_params.h return mask->bits[MASK_OFS(val)] & MASK_BIT(val); bits 140 include/sound/pcm_params.h if (! mask->bits[i]) bits 142 include/sound/pcm_params.h if (mask->bits[i] & (mask->bits[i] - 1)) bits 313 include/sound/vx_core.h void vx_set_iec958_status(struct vx_core *chip, unsigned int bits); bits 32 include/trace/events/fsi_master_ast_cf.h __field(u8, bits) bits 38 include/trace/events/fsi_master_ast_cf.h __entry->bits = cmd->bits; bits 43 include/trace/events/fsi_master_ast_cf.h __entry->bits, __entry->rbits bits 12 include/trace/events/fsi_master_gpio.h TP_PROTO(const struct fsi_master_gpio *master, int bits, uint64_t msg), bits 13 include/trace/events/fsi_master_gpio.h TP_ARGS(master, bits, msg), bits 16 include/trace/events/fsi_master_gpio.h __field(int, bits) bits 21 include/trace/events/fsi_master_gpio.h __entry->bits = bits; bits 22 include/trace/events/fsi_master_gpio.h __entry->msg = msg & ((1ull<<bits) - 1); bits 26 include/trace/events/fsi_master_gpio.h (__entry->bits + 3) / 4, bits 28 include/trace/events/fsi_master_gpio.h __entry->bits bits 33 include/trace/events/fsi_master_gpio.h TP_PROTO(const struct fsi_master_gpio *master, int bits, uint64_t msg), bits 34 include/trace/events/fsi_master_gpio.h TP_ARGS(master, bits, msg), bits 37 include/trace/events/fsi_master_gpio.h __field(int, bits) bits 42 include/trace/events/fsi_master_gpio.h __entry->bits = bits; bits 43 include/trace/events/fsi_master_gpio.h __entry->msg = msg & ((1ull<<bits) - 1); bits 47 include/trace/events/fsi_master_gpio.h (__entry->bits + 3) / 4, bits 49 include/trace/events/fsi_master_gpio.h __entry->bits bits 64 include/trace/events/random.h TP_PROTO(const char *pool_name, int bits, int entropy_count, bits 67 include/trace/events/random.h TP_ARGS(pool_name, bits, entropy_count, IP), bits 71 include/trace/events/random.h __field( int, bits ) bits 78 include/trace/events/random.h __entry->bits = bits; bits 84 include/trace/events/random.h __entry->pool_name, __entry->bits, bits 72 include/uapi/drm/vc4_drm.h __u16 bits; bits 59 include/uapi/linux/hdlcdrv.h unsigned char bits; bits 393 include/uapi/sound/asound.h __u32 bits[(SNDRV_MASK_MAX+31)/32]; bits 43 include/uapi/sound/emu10k1.h #define __EMU10K1_DECLARE_BITMAP(name,bits) \ bits 44 include/uapi/sound/emu10k1.h unsigned long name[(bits) / (sizeof(unsigned long) * 8)] bits 162 kernel/bpf/btf.c #define BITS_PER_BYTE_MASKED(bits) ((bits) & BITS_PER_BYTE_MASK) bits 163 kernel/bpf/btf.c #define BITS_ROUNDDOWN_BYTES(bits) ((bits) >> 3) bits 164 kernel/bpf/btf.c #define BITS_ROUNDUP_BYTES(bits) \ bits 165 kernel/bpf/btf.c (BITS_ROUNDDOWN_BYTES(bits) + !!BITS_PER_BYTE_MASKED(bits)) bits 274 kernel/bpf/core.c __be64 *bits; bits 315 kernel/bpf/core.c bits = (__be64 *)(todo + bsize - sizeof(__be64)); bits 317 kernel/bpf/core.c bits = (__be64 *)(todo + bsize + bits_offset); bits 320 kernel/bpf/core.c *bits = cpu_to_be64((psize - 1) << 3); bits 24 kernel/bpf/tnum.c u8 bits = fls64(chi); bits 27 kernel/bpf/tnum.c if (bits > 63) bits 33 kernel/bpf/tnum.c delta = (1ULL << bits) - 1; bits 884 kernel/power/snapshot.c unsigned long bits, pfn, pages; bits 889 kernel/power/snapshot.c bits = min(pages - bm->cur.node_pfn, BM_BITS_PER_BLOCK); bits 890 kernel/power/snapshot.c bit = find_next_bit(bm->cur.node->data, bits, bits 892 kernel/power/snapshot.c if (bit < bits) { bits 168 kernel/time/sched_clock.c sched_clock_register(u64 (*read)(void), int bits, unsigned long rate) bits 184 kernel/time/sched_clock.c new_mask = CLOCKSOURCE_MASK(bits); bits 231 kernel/time/sched_clock.c bits, r, r_unit, res, wrap); bits 1381 kernel/trace/ftrace.c int bits = 0; bits 1394 kernel/trace/ftrace.c bits++; bits 1397 kernel/trace/ftrace.c if (bits > FTRACE_HASH_MAX_BITS) bits 1398 kernel/trace/ftrace.c bits = FTRACE_HASH_MAX_BITS; bits 1400 kernel/trace/ftrace.c new_hash = alloc_ftrace_hash(bits); bits 2680 kernel/workqueue.c unsigned long *bits = work_data_bits(target); bits 2684 kernel/workqueue.c linked = *bits & WORK_STRUCT_LINKED; bits 2685 kernel/workqueue.c __set_bit(WORK_STRUCT_LINKED_BIT, bits); bits 169 lib/842/842_compress.c int b = p->bit, bits = b + n, s = round_up(bits, 8) - bits; bits 181 lib/842/842_compress.c if (bits > 64) bits 183 lib/842/842_compress.c else if (p->olen < 8 && bits > 32 && bits <= 56) bits 185 lib/842/842_compress.c else if (p->olen < 4 && bits > 16 && bits <= 24) bits 188 lib/842/842_compress.c if (DIV_ROUND_UP(bits, 8) > p->olen) bits 194 lib/842/842_compress.c if (bits <= 8) bits 196 lib/842/842_compress.c else if (bits <= 16) bits 198 lib/842/842_compress.c else if (bits <= 24) bits 200 lib/842/842_compress.c else if (bits <= 32) bits 202 lib/842/842_compress.c else if (bits <= 40) bits 204 lib/842/842_compress.c else if (bits <= 48) bits 206 lib/842/842_compress.c else if (bits <= 56) bits 89 lib/842/842_decompress.c u8 *in = p->in, b = p->bit, bits = b + n; bits 99 lib/842/842_decompress.c if (bits > 64) bits 101 lib/842/842_decompress.c else if (p->ilen < 8 && bits > 32 && bits <= 56) bits 103 lib/842/842_decompress.c else if (p->ilen < 4 && bits > 16 && bits <= 24) bits 106 lib/842/842_decompress.c if (DIV_ROUND_UP(bits, 8) > p->ilen) bits 109 lib/842/842_decompress.c if (bits <= 8) bits 110 lib/842/842_decompress.c *d = *in >> (8 - bits); bits 111 lib/842/842_decompress.c else if (bits <= 16) bits 112 lib/842/842_decompress.c *d = be16_to_cpu(get_unaligned((__be16 *)in)) >> (16 - bits); bits 113 lib/842/842_decompress.c else if (bits <= 32) bits 114 lib/842/842_decompress.c *d = be32_to_cpu(get_unaligned((__be32 *)in)) >> (32 - bits); bits 116 lib/842/842_decompress.c *d = be64_to_cpu(get_unaligned((__be64 *)in)) >> (64 - bits); bits 163 lib/842/842_decompress.c static int __do_index(struct sw842_param *p, u8 size, u8 bits, u64 fsize) bits 168 lib/842/842_decompress.c ret = next_bits(p, &index, bits); bits 47 lib/bitmap.c const unsigned long *bitmap2, unsigned int bits) bits 49 lib/bitmap.c unsigned int k, lim = bits/BITS_PER_LONG; bits 54 lib/bitmap.c if (bits % BITS_PER_LONG) bits 55 lib/bitmap.c if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) bits 65 lib/bitmap.c unsigned int bits) bits 67 lib/bitmap.c unsigned int k, lim = bits / BITS_PER_LONG; bits 75 lib/bitmap.c if (!(bits % BITS_PER_LONG)) bits 79 lib/bitmap.c return (tmp & BITMAP_LAST_WORD_MASK(bits)) == 0; bits 82 lib/bitmap.c void __bitmap_complement(unsigned long *dst, const unsigned long *src, unsigned int bits) bits 84 lib/bitmap.c unsigned int k, lim = BITS_TO_LONGS(bits); bits 172 lib/bitmap.c const unsigned long *bitmap2, unsigned int bits) bits 175 lib/bitmap.c unsigned int lim = bits/BITS_PER_LONG; bits 180 lib/bitmap.c if (bits % BITS_PER_LONG) bits 182 lib/bitmap.c BITMAP_LAST_WORD_MASK(bits)); bits 188 lib/bitmap.c const unsigned long *bitmap2, unsigned int bits) bits 191 lib/bitmap.c unsigned int nr = BITS_TO_LONGS(bits); bits 199 lib/bitmap.c const unsigned long *bitmap2, unsigned int bits) bits 202 lib/bitmap.c unsigned int nr = BITS_TO_LONGS(bits); bits 210 lib/bitmap.c const unsigned long *bitmap2, unsigned int bits) bits 213 lib/bitmap.c unsigned int lim = bits/BITS_PER_LONG; bits 218 lib/bitmap.c if (bits % BITS_PER_LONG) bits 220 lib/bitmap.c BITMAP_LAST_WORD_MASK(bits)); bits 226 lib/bitmap.c const unsigned long *bitmap2, unsigned int bits) bits 228 lib/bitmap.c unsigned int k, lim = bits/BITS_PER_LONG; bits 233 lib/bitmap.c if (bits % BITS_PER_LONG) bits 234 lib/bitmap.c if ((bitmap1[k] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) bits 241 lib/bitmap.c const unsigned long *bitmap2, unsigned int bits) bits 243 lib/bitmap.c unsigned int k, lim = bits/BITS_PER_LONG; bits 248 lib/bitmap.c if (bits % BITS_PER_LONG) bits 249 lib/bitmap.c if ((bitmap1[k] & ~bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) bits 255 lib/bitmap.c int __bitmap_weight(const unsigned long *bitmap, unsigned int bits) bits 257 lib/bitmap.c unsigned int k, lim = bits/BITS_PER_LONG; bits 263 lib/bitmap.c if (bits % BITS_PER_LONG) bits 264 lib/bitmap.c w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); bits 839 lib/bitmap.c const unsigned long *new, int bits) bits 841 lib/bitmap.c int w = bitmap_weight(new, bits); bits 842 lib/bitmap.c int n = bitmap_pos_to_ord(old, oldbit, bits); bits 846 lib/bitmap.c return bitmap_ord_to_pos(new, n % w, bits); bits 956 lib/bitmap.c const unsigned long *relmap, unsigned int bits) bits 962 lib/bitmap.c bitmap_zero(dst, bits); bits 975 lib/bitmap.c for_each_set_bit(n, relmap, bits) { bits 1098 lib/bitmap.c int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order) bits 1102 lib/bitmap.c for (pos = 0 ; (end = pos + (1U << order)) <= bits; pos = end) { bits 25 lib/crc4.c uint8_t crc4(uint8_t c, uint64_t x, int bits) bits 30 lib/crc4.c x &= (1ull << bits) - 1; bits 33 lib/crc4.c bits = (bits + 3) & ~0x3; bits 36 lib/crc4.c for (i = bits - 4; i >= 0; i -= 4) bits 249 lib/crypto/sha256.c __be64 bits; bits 255 lib/crypto/sha256.c bits = cpu_to_be64(sctx->count << 3); bits 263 lib/crypto/sha256.c sha256_update(sctx, (const u8 *)&bits, sizeof(bits)); bits 118 lib/decompress_bunzip2.c unsigned int bits = 0; bits 138 lib/decompress_bunzip2.c bits = bd->inbufBits&((1 << bd->inbufBitCount)-1); bits 140 lib/decompress_bunzip2.c bits <<= bits_wanted; bits 149 lib/decompress_bunzip2.c bits |= (bd->inbufBits >> bd->inbufBitCount)&((1 << bits_wanted)-1); bits 151 lib/decompress_bunzip2.c return bits; bits 252 lib/genalloc.c bit = find_next_bit(chunk->bits, end_bit, 0); bits 302 lib/genalloc.c start_bit = algo(chunk->bits, end_bit, start_bit, bits 306 lib/genalloc.c remain = bitmap_set_ll(chunk->bits, start_bit, nbits); bits 308 lib/genalloc.c remain = bitmap_clear_ll(chunk->bits, start_bit, bits 505 lib/genalloc.c remain = bitmap_clear_ll(chunk->bits, start_bit, nbits); bits 220 lib/list_sort.c size_t bits; bits 224 lib/list_sort.c for (bits = count; bits & 1; bits >>= 1) bits 227 lib/list_sort.c if (likely(bits)) { bits 27 lib/nodemask.c bit = bitmap_ord_to_pos(maskp->bits, bits 315 lib/sbitmap.c unsigned int bits = min(8 - byte_bits, word_bits); bits 317 lib/sbitmap.c byte |= (word & (BIT(bits) - 1)) << byte_bits; bits 318 lib/sbitmap.c byte_bits += bits; bits 325 lib/sbitmap.c word >>= bits; bits 326 lib/sbitmap.c word_bits -= bits; bits 669 lib/test_kasan.c long *bits = kzalloc(sizeof(*bits) + 1, GFP_KERNEL); bits 670 lib/test_kasan.c if (!bits) bits 679 lib/test_kasan.c set_bit(BITS_PER_LONG, bits); bits 682 lib/test_kasan.c __set_bit(BITS_PER_LONG, bits); bits 685 lib/test_kasan.c clear_bit(BITS_PER_LONG, bits); bits 688 lib/test_kasan.c __clear_bit(BITS_PER_LONG, bits); bits 691 lib/test_kasan.c clear_bit_unlock(BITS_PER_LONG, bits); bits 694 lib/test_kasan.c __clear_bit_unlock(BITS_PER_LONG, bits); bits 697 lib/test_kasan.c change_bit(BITS_PER_LONG, bits); bits 700 lib/test_kasan.c __change_bit(BITS_PER_LONG, bits); bits 706 lib/test_kasan.c test_and_set_bit(BITS_PER_LONG + BITS_PER_BYTE, bits); bits 709 lib/test_kasan.c __test_and_set_bit(BITS_PER_LONG + BITS_PER_BYTE, bits); bits 712 lib/test_kasan.c test_and_set_bit_lock(BITS_PER_LONG + BITS_PER_BYTE, bits); bits 715 lib/test_kasan.c test_and_clear_bit(BITS_PER_LONG + BITS_PER_BYTE, bits); bits 718 lib/test_kasan.c __test_and_clear_bit(BITS_PER_LONG + BITS_PER_BYTE, bits); bits 721 lib/test_kasan.c test_and_change_bit(BITS_PER_LONG + BITS_PER_BYTE, bits); bits 724 lib/test_kasan.c __test_and_change_bit(BITS_PER_LONG + BITS_PER_BYTE, bits); bits 727 lib/test_kasan.c (void)test_bit(BITS_PER_LONG + BITS_PER_BYTE, bits); bits 731 lib/test_kasan.c clear_bit_unlock_is_negative_byte(BITS_PER_LONG + BITS_PER_BYTE, bits); bits 733 lib/test_kasan.c kfree(bits); bits 525 lib/test_printf.c unsigned long *bits = bitmap_zalloc(nbits, GFP_KERNEL); bits 526 lib/test_printf.c if (!bits) bits 529 lib/test_printf.c bitmap_set(bits, 1, 20); bits 530 lib/test_printf.c bitmap_set(bits, 60000, 15); bits 531 lib/test_printf.c test("1-20,60000-60014", "%*pbl", nbits, bits); bits 532 lib/test_printf.c bitmap_free(bits); bits 538 lib/test_printf.c DECLARE_BITMAP(bits, 20); bits 542 lib/test_printf.c bitmap_zero(bits, 20); bits 543 lib/test_printf.c test("00000|00000", "%20pb|%*pb", bits, 20, bits); bits 544 lib/test_printf.c test("|", "%20pbl|%*pbl", bits, 20, bits); bits 547 lib/test_printf.c set_bit(primes[i], bits); bits 548 lib/test_printf.c test("a28ac|a28ac", "%20pb|%*pb", bits, 20, bits); bits 549 lib/test_printf.c test("2-3,5,7,11,13,17,19|2-3,5,7,11,13,17,19", "%20pbl|%*pbl", bits, 20, bits); bits 551 lib/test_printf.c bitmap_fill(bits, 20); bits 552 lib/test_printf.c test("fffff|fffff", "%20pb|%*pb", bits, 20, bits); bits 553 lib/test_printf.c test("0-19|0-19", "%20pbl|%*pbl", bits, 20, bits); bits 79 lib/ubsan.c unsigned bits = type_bit_width(type); bits 83 lib/ubsan.c return bits <= inline_bits; bits 229 lib/zlib_deflate/deftree.c int bits; /* bit counter */ bits 272 lib/zlib_deflate/deftree.c for (bits = 0; bits <= MAX_BITS; bits++) bl_count[bits] = 0; bits 420 lib/zlib_deflate/deftree.c int bits; /* bit length */ bits 425 lib/zlib_deflate/deftree.c for (bits = 0; bits <= MAX_BITS; bits++) s->bl_count[bits] = 0; bits 434 lib/zlib_deflate/deftree.c bits = tree[tree[n].Dad].Len + 1; bits 435 lib/zlib_deflate/deftree.c if (bits > max_length) bits = max_length, overflow++; bits 436 lib/zlib_deflate/deftree.c tree[n].Len = (ush)bits; bits 441 lib/zlib_deflate/deftree.c s->bl_count[bits]++; bits 445 lib/zlib_deflate/deftree.c s->opt_len += (ulg)f * (bits + xbits); bits 455 lib/zlib_deflate/deftree.c bits = max_length-1; bits 456 lib/zlib_deflate/deftree.c while (s->bl_count[bits] == 0) bits--; bits 457 lib/zlib_deflate/deftree.c s->bl_count[bits]--; /* move one leaf down the tree */ bits 458 lib/zlib_deflate/deftree.c s->bl_count[bits+1] += 2; /* move one overflow item as its brother */ bits 471 lib/zlib_deflate/deftree.c for (bits = max_length; bits != 0; bits--) { bits 472 lib/zlib_deflate/deftree.c n = s->bl_count[bits]; bits 476 lib/zlib_deflate/deftree.c if (tree[m].Len != (unsigned) bits) { bits 477 lib/zlib_deflate/deftree.c Trace((stderr,"code %d bits %d->%d\n", m, tree[m].Len, bits)); bits 478 lib/zlib_deflate/deftree.c s->opt_len += ((long)bits - (long)tree[m].Len) bits 480 lib/zlib_deflate/deftree.c tree[m].Len = (ush)bits; bits 503 lib/zlib_deflate/deftree.c int bits; /* bit index */ bits 509 lib/zlib_deflate/deftree.c for (bits = 1; bits <= MAX_BITS; bits++) { bits 510 lib/zlib_deflate/deftree.c next_code[bits] = code = (code + bl_count[bits-1]) << 1; bits 104 lib/zlib_inflate/inffast.c unsigned bits; /* local strm->bits */ bits 131 lib/zlib_inflate/inffast.c bits = state->bits; bits 140 lib/zlib_inflate/inffast.c if (bits < 15) { bits 141 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; bits 142 lib/zlib_inflate/inffast.c bits += 8; bits 143 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; bits 144 lib/zlib_inflate/inffast.c bits += 8; bits 148 lib/zlib_inflate/inffast.c op = (unsigned)(this.bits); bits 150 lib/zlib_inflate/inffast.c bits -= op; bits 159 lib/zlib_inflate/inffast.c if (bits < op) { bits 160 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; bits 161 lib/zlib_inflate/inffast.c bits += 8; bits 165 lib/zlib_inflate/inffast.c bits -= op; bits 167 lib/zlib_inflate/inffast.c if (bits < 15) { bits 168 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; bits 169 lib/zlib_inflate/inffast.c bits += 8; bits 170 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; bits 171 lib/zlib_inflate/inffast.c bits += 8; bits 175 lib/zlib_inflate/inffast.c op = (unsigned)(this.bits); bits 177 lib/zlib_inflate/inffast.c bits -= op; bits 182 lib/zlib_inflate/inffast.c if (bits < op) { bits 183 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; bits 184 lib/zlib_inflate/inffast.c bits += 8; bits 185 lib/zlib_inflate/inffast.c if (bits < op) { bits 186 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; bits 187 lib/zlib_inflate/inffast.c bits += 8; bits 199 lib/zlib_inflate/inffast.c bits -= op; bits 333 lib/zlib_inflate/inffast.c len = bits >> 3; bits 335 lib/zlib_inflate/inffast.c bits -= len << 3; bits 336 lib/zlib_inflate/inffast.c hold &= (1U << bits) - 1; bits 345 lib/zlib_inflate/inffast.c state->bits = bits; bits 37 lib/zlib_inflate/inflate.c state->bits = 0; bits 153 lib/zlib_inflate/inflate.c if (state->mode == STORED && state->bits == 0) { bits 173 lib/zlib_inflate/inflate.c bits = state->bits; \ bits 184 lib/zlib_inflate/inflate.c state->bits = bits; \ bits 191 lib/zlib_inflate/inflate.c bits = 0; \ bits 200 lib/zlib_inflate/inflate.c hold += (unsigned long)(*next++) << bits; \ bits 201 lib/zlib_inflate/inflate.c bits += 8; \ bits 208 lib/zlib_inflate/inflate.c while (bits < (unsigned)(n)) \ bits 220 lib/zlib_inflate/inflate.c bits -= (unsigned)(n); \ bits 226 lib/zlib_inflate/inflate.c hold >>= bits & 7; \ bits 227 lib/zlib_inflate/inflate.c bits -= bits & 7; \ bits 324 lib/zlib_inflate/inflate.c unsigned bits; /* bits in bit buffer */ bits 494 lib/zlib_inflate/inflate.c if ((unsigned)(this.bits) <= bits) break; bits 498 lib/zlib_inflate/inflate.c NEEDBITS(this.bits); bits 499 lib/zlib_inflate/inflate.c DROPBITS(this.bits); bits 504 lib/zlib_inflate/inflate.c NEEDBITS(this.bits + 2); bits 505 lib/zlib_inflate/inflate.c DROPBITS(this.bits); bits 516 lib/zlib_inflate/inflate.c NEEDBITS(this.bits + 3); bits 517 lib/zlib_inflate/inflate.c DROPBITS(this.bits); bits 523 lib/zlib_inflate/inflate.c NEEDBITS(this.bits + 7); bits 524 lib/zlib_inflate/inflate.c DROPBITS(this.bits); bits 573 lib/zlib_inflate/inflate.c if ((unsigned)(this.bits) <= bits) break; bits 580 lib/zlib_inflate/inflate.c (BITS(last.bits + last.op) >> last.bits)]; bits 581 lib/zlib_inflate/inflate.c if ((unsigned)(last.bits + this.bits) <= bits) break; bits 584 lib/zlib_inflate/inflate.c DROPBITS(last.bits); bits 586 lib/zlib_inflate/inflate.c DROPBITS(this.bits); bits 615 lib/zlib_inflate/inflate.c if ((unsigned)(this.bits) <= bits) break; bits 622 lib/zlib_inflate/inflate.c (BITS(last.bits + last.op) >> last.bits)]; bits 623 lib/zlib_inflate/inflate.c if ((unsigned)(last.bits + this.bits) <= bits) break; bits 626 lib/zlib_inflate/inflate.c DROPBITS(last.bits); bits 628 lib/zlib_inflate/inflate.c DROPBITS(this.bits); bits 741 lib/zlib_inflate/inflate.c strm->data_type = state->bits + (state->last ? 64 : 0) + bits 90 lib/zlib_inflate/inflate.h unsigned bits; /* number of bits in "in" */ bits 24 lib/zlib_inflate/inftrees.c code **table, unsigned *bits, unsigned short *work) bits 99 lib/zlib_inflate/inftrees.c root = *bits; bits 105 lib/zlib_inflate/inftrees.c this.bits = (unsigned char)1; bits 109 lib/zlib_inflate/inftrees.c *bits = 1; bits 204 lib/zlib_inflate/inftrees.c this.bits = (unsigned char)(len - drop); bits 272 lib/zlib_inflate/inftrees.c (*table)[low].bits = (unsigned char)root; bits 285 lib/zlib_inflate/inftrees.c this.bits = (unsigned char)(len - drop); bits 293 lib/zlib_inflate/inftrees.c this.bits = (unsigned char)len; bits 313 lib/zlib_inflate/inftrees.c *bits = root; bits 29 lib/zlib_inflate/inftrees.h unsigned char bits; /* bits in this part of the code */ bits 58 lib/zlib_inflate/inftrees.h unsigned *bits, unsigned short *work); bits 6994 mm/page_alloc.c highest = find_last_bit(node_possible_map.bits, MAX_NUMNODES); bits 365 mm/percpu.c int *bits) bits 371 mm/percpu.c *bits = 0; bits 375 mm/percpu.c if (*bits) { bits 376 mm/percpu.c *bits += block->left_free; bits 390 mm/percpu.c *bits = block->contig_hint; bits 391 mm/percpu.c if (*bits && block->contig_hint_start >= block_off && bits 392 mm/percpu.c *bits + block->contig_hint_start < PCPU_BITMAP_BLOCK_BITS) { bits 400 mm/percpu.c *bits = block->right_free; bits 420 mm/percpu.c int align, int *bit_off, int *bits) bits 426 mm/percpu.c *bits = 0; bits 430 mm/percpu.c if (*bits) { bits 431 mm/percpu.c *bits += block->left_free; bits 432 mm/percpu.c if (*bits >= alloc_bits) bits 439 mm/percpu.c *bits = ALIGN(block->contig_hint_start, align) - bits 447 mm/percpu.c block->contig_hint >= *bits + alloc_bits) { bits 450 mm/percpu.c *bits += alloc_bits + block->contig_hint_start - bits 460 mm/percpu.c *bits = PCPU_BITMAP_BLOCK_BITS - *bit_off; bits 462 mm/percpu.c if (*bits >= alloc_bits) bits 476 mm/percpu.c #define pcpu_for_each_md_free_region(chunk, bit_off, bits) \ bits 477 mm/percpu.c for (pcpu_next_md_free_region((chunk), &(bit_off), &(bits)); \ bits 479 mm/percpu.c (bit_off) += (bits) + 1, \ bits 480 mm/percpu.c pcpu_next_md_free_region((chunk), &(bit_off), &(bits))) bits 482 mm/percpu.c #define pcpu_for_each_fit_region(chunk, alloc_bits, align, bit_off, bits) \ bits 484 mm/percpu.c &(bits)); \ bits 486 mm/percpu.c (bit_off) += (bits), \ bits 488 mm/percpu.c &(bits))) bits 686 mm/percpu.c int bits) bits 689 mm/percpu.c int e_off = s_off + bits; bits 721 mm/percpu.c int bit_off, bits; bits 734 mm/percpu.c bits = 0; bits 735 mm/percpu.c pcpu_for_each_md_free_region(chunk, bit_off, bits) { bits 736 mm/percpu.c pcpu_block_update(chunk_md, bit_off, bit_off + bits); bits 785 mm/percpu.c int bits) bits 800 mm/percpu.c e_index = pcpu_off_to_block_index(bit_off + bits - 1); bits 802 mm/percpu.c e_off = pcpu_off_to_block_off(bit_off + bits - 1) + 1; bits 820 mm/percpu.c s_off + bits); bits 825 mm/percpu.c s_off + bits)) bits 832 mm/percpu.c s_off + bits)) { bits 897 mm/percpu.c bit_off + bits)) bits 909 mm/percpu.c bit_off + bits)) bits 932 mm/percpu.c int bits) bits 947 mm/percpu.c e_index = pcpu_off_to_block_index(bit_off + bits - 1); bits 949 mm/percpu.c e_off = pcpu_off_to_block_off(bit_off + bits - 1) + 1; bits 1041 mm/percpu.c static bool pcpu_is_populated(struct pcpu_chunk *chunk, int bit_off, int bits, bits 1047 mm/percpu.c page_end = PFN_UP((bit_off + bits) * PCPU_MIN_ALLOC_SIZE); bits 1081 mm/percpu.c int bit_off, bits, next_off; bits 1095 mm/percpu.c bits = 0; bits 1096 mm/percpu.c pcpu_for_each_fit_region(chunk, alloc_bits, align, bit_off, bits) { bits 1097 mm/percpu.c if (!pop_only || pcpu_is_populated(chunk, bit_off, bits, bits 1102 mm/percpu.c bits = 0; bits 1246 mm/percpu.c int bit_off, bits, end, oslot; bits 1258 mm/percpu.c bits = end - bit_off; bits 1259 mm/percpu.c bitmap_clear(chunk->alloc_map, bit_off, bits); bits 1262 mm/percpu.c chunk->free_bytes += bits * PCPU_MIN_ALLOC_SIZE; bits 1267 mm/percpu.c pcpu_block_update_hint_free(chunk, bit_off, bits); bits 1599 mm/percpu.c size_t bits, bit_align; bits 1611 mm/percpu.c bits = size >> PCPU_MIN_ALLOC_SHIFT; bits 1639 mm/percpu.c off = pcpu_find_block_fit(chunk, bits, bit_align, is_atomic); bits 1645 mm/percpu.c off = pcpu_alloc_area(chunk, bits, bit_align, off); bits 1657 mm/percpu.c off = pcpu_find_block_fit(chunk, bits, bit_align, bits 1665 mm/percpu.c off = pcpu_alloc_area(chunk, bits, bit_align, off); bits 265 net/ceph/crush/mapper.c int bits = __builtin_clz(x & 0x1FFFF) - 16; bits 266 net/ceph/crush/mapper.c x <<= bits; bits 267 net/ceph/crush/mapper.c iexpon = 15 - bits; bits 289 net/core/flow_dissector.c memcpy(key->ct_labels, cl->bits, sizeof(key->ct_labels)); bits 357 net/dccp/ipv6.c np->rxopt.bits.rxinfo || np->rxopt.bits.rxoinfo || bits 358 net/dccp/ipv6.c np->rxopt.bits.rxhlim || np->rxopt.bits.rxohlim) { bits 657 net/dccp/ipv6.c if (np->rxopt.bits.rxinfo || np->rxopt.bits.rxoinfo) bits 659 net/dccp/ipv6.c if (np->rxopt.bits.rxhlim || np->rxopt.bits.rxohlim) bits 661 net/dccp/ipv6.c if (np->rxopt.bits.rxflow || np->rxopt.bits.rxtclass) bits 117 net/ipv4/fib_trie.c #define IS_TNODE(n) ((n)->bits) bits 118 net/ipv4/fib_trie.c #define IS_LEAF(n) (!(n)->bits) bits 123 net/ipv4/fib_trie.c unsigned char bits; /* 2log(KEYLENGTH) bits needed */ bits 139 net/ipv4/fib_trie.c #define tn_bits kv[0].bits bits 215 net/ipv4/fib_trie.c return (1ul << tn->bits) & ~(1ul); bits 322 net/ipv4/fib_trie.c static struct tnode *tnode_alloc(int bits) bits 327 net/ipv4/fib_trie.c if (bits > TNODE_VMALLOC_MAX) bits 331 net/ipv4/fib_trie.c size = TNODE_SIZE(1ul << bits); bits 368 net/ipv4/fib_trie.c l->bits = 0; bits 378 net/ipv4/fib_trie.c static struct key_vector *tnode_new(t_key key, int pos, int bits) bits 380 net/ipv4/fib_trie.c unsigned int shift = pos + bits; bits 385 net/ipv4/fib_trie.c BUG_ON(!bits || (shift > KEYLENGTH)); bits 387 net/ipv4/fib_trie.c tnode = tnode_alloc(bits); bits 392 net/ipv4/fib_trie.c sizeof(struct key_vector *) << bits); bits 394 net/ipv4/fib_trie.c if (bits == KEYLENGTH) bits 397 net/ipv4/fib_trie.c tnode->empty_children = 1ul << bits; bits 402 net/ipv4/fib_trie.c tn->bits = bits; bits 413 net/ipv4/fib_trie.c return n && ((n->pos + n->bits) == tn->pos) && IS_TNODE(n); bits 497 net/ipv4/fib_trie.c tnode_free_size += TNODE_SIZE(1ul << tn->bits); bits 547 net/ipv4/fib_trie.c tn = tnode_new(oldtnode->key, oldtnode->pos - 1, oldtnode->bits + 1); bits 578 net/ipv4/fib_trie.c if (inode->bits == 1) { bits 598 net/ipv4/fib_trie.c node1 = tnode_new(inode->key | m, inode->pos, inode->bits - 1); bits 601 net/ipv4/fib_trie.c node0 = tnode_new(inode->key, inode->pos, inode->bits - 1); bits 642 net/ipv4/fib_trie.c tn = tnode_new(oldtnode->key, oldtnode->pos + 1, oldtnode->bits - 1); bits 720 net/ipv4/fib_trie.c slen_max = min_t(unsigned char, tn->pos + tn->bits - 1, tn->slen); bits 831 net/ipv4/fib_trie.c return (used > 1) && (tn->bits > 1) && ((100 * used) < threshold); bits 841 net/ipv4/fib_trie.c if ((tn->bits == KEYLENGTH) && tn_info(tn)->full_children) bits 966 net/ipv4/fib_trie.c if (index >= (1ul << n->bits)) { bits 1356 net/ipv4/fib_trie.c if (index >= (1ul << n->bits)) bits 1629 net/ipv4/fib_trie.c if (cindex >> pn->bits) bits 1645 net/ipv4/fib_trie.c if (cindex >= (1ul << pn->bits)) { bits 1713 net/ipv4/fib_trie.c cindex = 1ul << n->bits; bits 1831 net/ipv4/fib_trie.c cindex = 1ul << n->bits; bits 1901 net/ipv4/fib_trie.c cindex = 1ul << n->bits; bits 1978 net/ipv4/fib_trie.c cindex = 1ul << n->bits; bits 2356 net/ipv4/fib_trie.c if (n->bits < MAX_STAT_DEPTH) bits 2357 net/ipv4/fib_trie.c s->nodesizes[n->bits]++; bits 2622 net/ipv4/fib_trie.c &prf, KEYLENGTH - n->pos - n->bits, n->bits, bits 524 net/ipv4/inet_diag.c static int bitstring_match(const __be32 *a1, const __be32 *a2, int bits) bits 526 net/ipv4/inet_diag.c int words = bits >> 5; bits 528 net/ipv4/inet_diag.c bits &= 0x1f; bits 534 net/ipv4/inet_diag.c if (bits) { bits 541 net/ipv4/inet_diag.c mask = htonl((0xffffffff) << (32 - bits)); bits 789 net/ipv6/af_inet6.c (np->rxopt.bits.hopopts || np->rxopt.bits.ohopopts)) || bits 791 net/ipv6/af_inet6.c np->rxopt.bits.rxflow) || bits 792 net/ipv6/af_inet6.c (opt->srcrt && (np->rxopt.bits.srcrt || bits 793 net/ipv6/af_inet6.c np->rxopt.bits.osrcrt)) || bits 795 net/ipv6/af_inet6.c (np->rxopt.bits.dstopts || np->rxopt.bits.odstopts))) bits 369 net/ipv6/datagram.c if (!np->rxopt.bits.rxpmtu) bits 579 net/ipv6/datagram.c if (np->rxopt.bits.rxinfo) { bits 605 net/ipv6/datagram.c if (np->rxopt.bits.rxhlim) { bits 610 net/ipv6/datagram.c if (np->rxopt.bits.rxtclass) { bits 615 net/ipv6/datagram.c if (np->rxopt.bits.rxflow) { bits 622 net/ipv6/datagram.c if (np->rxopt.bits.hopopts && (opt->flags & IP6SKB_HOPBYHOP)) { bits 628 net/ipv6/datagram.c (np->rxopt.bits.dstopts || np->rxopt.bits.srcrt)) { bits 649 net/ipv6/datagram.c if (np->rxopt.bits.dstopts) bits 655 net/ipv6/datagram.c if (np->rxopt.bits.srcrt) bits 673 net/ipv6/datagram.c if (np->rxopt.bits.rxoinfo) { bits 680 net/ipv6/datagram.c if (np->rxopt.bits.rxohlim) { bits 684 net/ipv6/datagram.c if (np->rxopt.bits.ohopopts && (opt->flags & IP6SKB_HOPBYHOP)) { bits 688 net/ipv6/datagram.c if (np->rxopt.bits.odstopts && opt->dst0) { bits 692 net/ipv6/datagram.c if (np->rxopt.bits.osrcrt && opt->srcrt) { bits 696 net/ipv6/datagram.c if (np->rxopt.bits.odstopts && opt->dst1) { bits 700 net/ipv6/datagram.c if (np->rxopt.bits.rxorigdstaddr) { bits 722 net/ipv6/datagram.c if (np->rxopt.bits.recvfragsize && opt->frag_max_size) { bits 271 net/ipv6/ipv6_sockglue.c np->rxopt.bits.rxinfo = valbool; bits 278 net/ipv6/ipv6_sockglue.c np->rxopt.bits.rxoinfo = valbool; bits 285 net/ipv6/ipv6_sockglue.c np->rxopt.bits.rxhlim = valbool; bits 292 net/ipv6/ipv6_sockglue.c np->rxopt.bits.rxohlim = valbool; bits 299 net/ipv6/ipv6_sockglue.c np->rxopt.bits.srcrt = valbool; bits 306 net/ipv6/ipv6_sockglue.c np->rxopt.bits.osrcrt = valbool; bits 313 net/ipv6/ipv6_sockglue.c np->rxopt.bits.hopopts = valbool; bits 320 net/ipv6/ipv6_sockglue.c np->rxopt.bits.ohopopts = valbool; bits 327 net/ipv6/ipv6_sockglue.c np->rxopt.bits.dstopts = valbool; bits 334 net/ipv6/ipv6_sockglue.c np->rxopt.bits.odstopts = valbool; bits 353 net/ipv6/ipv6_sockglue.c np->rxopt.bits.rxtclass = valbool; bits 360 net/ipv6/ipv6_sockglue.c np->rxopt.bits.rxflow = valbool; bits 367 net/ipv6/ipv6_sockglue.c np->rxopt.bits.rxpmtu = valbool; bits 395 net/ipv6/ipv6_sockglue.c np->rxopt.bits.rxorigdstaddr = valbool; bits 921 net/ipv6/ipv6_sockglue.c np->rxopt.bits.recvfragsize = valbool; bits 1086 net/ipv6/ipv6_sockglue.c if (np->rxopt.bits.rxinfo) { bits 1093 net/ipv6/ipv6_sockglue.c if (np->rxopt.bits.rxhlim) { bits 1097 net/ipv6/ipv6_sockglue.c if (np->rxopt.bits.rxtclass) { bits 1102 net/ipv6/ipv6_sockglue.c if (np->rxopt.bits.rxoinfo) { bits 1110 net/ipv6/ipv6_sockglue.c if (np->rxopt.bits.rxohlim) { bits 1114 net/ipv6/ipv6_sockglue.c if (np->rxopt.bits.rxflow) { bits 1143 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxinfo; bits 1147 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxoinfo; bits 1151 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxhlim; bits 1155 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxohlim; bits 1159 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.srcrt; bits 1163 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.osrcrt; bits 1185 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.hopopts; bits 1189 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.ohopopts; bits 1193 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.dstopts; bits 1197 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.odstopts; bits 1205 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxtclass; bits 1209 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxflow; bits 1213 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxpmtu; bits 1252 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxorigdstaddr; bits 1368 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.recvfragsize; bits 477 net/ipv6/raw.c if (np->rxpmtu && np->rxopt.bits.rxpmtu) bits 190 net/ipv6/syncookies.c np->rxopt.bits.rxinfo || np->rxopt.bits.rxoinfo || bits 191 net/ipv6/syncookies.c np->rxopt.bits.rxhlim || np->rxopt.bits.rxohlim) { bits 763 net/ipv6/tcp_ipv6.c np->rxopt.bits.rxinfo || bits 764 net/ipv6/tcp_ipv6.c np->rxopt.bits.rxoinfo || np->rxopt.bits.rxhlim || bits 765 net/ipv6/tcp_ipv6.c np->rxopt.bits.rxohlim || np->repflow)) { bits 1433 net/ipv6/tcp_ipv6.c if (np->rxopt.bits.rxinfo || np->rxopt.bits.rxoinfo) bits 1435 net/ipv6/tcp_ipv6.c if (np->rxopt.bits.rxhlim || np->rxopt.bits.rxohlim) bits 1437 net/ipv6/tcp_ipv6.c if (np->rxopt.bits.rxflow || np->rxopt.bits.rxtclass) bits 283 net/ipv6/udp.c if (np->rxpmtu && np->rxopt.bits.rxpmtu) bits 927 net/mac80211/mesh.c unsigned long bits = changed; bits 930 net/mac80211/mesh.c if (!bits) bits 934 net/mac80211/mesh.c for_each_set_bit(bit, &bits, sizeof(changed) * BITS_PER_BYTE) bits 151 net/netfilter/ipset/ip_set_hash_gen.h u8 bits = fls(hashsize - 1); bits 153 net/netfilter/ipset/ip_set_hash_gen.h if (jhash_size(bits) != hashsize) bits 155 net/netfilter/ipset/ip_set_hash_gen.h bits = fls(hashsize); bits 157 net/netfilter/ipset/ip_set_hash_gen.h return bits; bits 165 net/netfilter/nf_conntrack_h323_asn1.c static int nf_h323_error_boundary(struct bitstr *bs, size_t bytes, size_t bits) bits 167 net/netfilter/nf_conntrack_h323_asn1.c bits += bs->bit; bits 168 net/netfilter/nf_conntrack_h323_asn1.c bytes += bits / BITS_PER_BYTE; bits 169 net/netfilter/nf_conntrack_h323_asn1.c if (bits % BITS_PER_BYTE > 0) bits 43 net/netfilter/nf_conntrack_labels.c size = sizeof(labels->bits); bits 47 net/netfilter/nf_conntrack_labels.c dst = (u32 *) labels->bits; bits 61 net/netfilter/nf_conntrack_labels.c int nf_connlabels_get(struct net *net, unsigned int bits) bits 63 net/netfilter/nf_conntrack_labels.c if (BIT_WORD(bits) >= NF_CT_LABELS_MAX_SIZE / sizeof(long)) bits 364 net/netfilter/nf_conntrack_netlink.c return nla_total_size(sizeof(labels->bits)); bits 378 net/netfilter/nf_conntrack_netlink.c if (labels->bits[i] != 0) bits 379 net/netfilter/nf_conntrack_netlink.c return nla_put(skb, CTA_LABELS, sizeof(labels->bits), bits 380 net/netfilter/nf_conntrack_netlink.c labels->bits); bits 382 net/netfilter/nf_conntrack_netlink.c } while (i < ARRAY_SIZE(labels->bits)); bits 126 net/netfilter/nft_ct.c memcpy(dest, labels->bits, NF_CT_LABELS_MAX_SIZE); bits 36 net/netfilter/xt_connlabel.c if (test_bit(info->bit, labels->bits)) bits 40 net/netfilter/xt_connlabel.c if (!test_and_set_bit(info->bit, labels->bits)) bits 170 net/openvswitch/conntrack.c memcpy(labels, cl->bits, OVS_CT_LABELS_LEN); bits 390 net/openvswitch/conntrack.c u32 *dst = (u32 *)cl->bits; bits 404 net/openvswitch/conntrack.c memcpy(&key->ct.labels, cl->bits, OVS_CT_LABELS_LEN); bits 426 net/openvswitch/conntrack.c memcpy(&key->ct.labels, cl->bits, OVS_CT_LABELS_LEN); bits 32 net/xfrm/xfrm_hash.h static inline u32 __bits2mask32(__u8 bits) bits 36 net/xfrm/xfrm_hash.h if (bits == 0) bits 38 net/xfrm/xfrm_hash.h else if (bits < 32) bits 39 net/xfrm/xfrm_hash.h mask32 <<= (32 - bits); bits 149 samples/vfs/test-statx.c unsigned char bits, mbits; bits 167 samples/vfs/test-statx.c bits = stx->stx_attributes >> byte; bits 174 samples/vfs/test-statx.c else if (bits & 0x80) bits 178 samples/vfs/test-statx.c bits <<= 1; bits 158 scripts/dtc/data.c struct data data_append_integer(struct data d, uint64_t value, int bits) bits 165 scripts/dtc/data.c switch (bits) { bits 183 scripts/dtc/data.c die("Invalid literal size (%d)\n", bits); bits 32 scripts/dtc/dtc-parser.y int bits; bits 354 scripts/dtc/dtc-parser.y unsigned long long bits; bits 357 scripts/dtc/dtc-parser.y bits = $2; bits 359 scripts/dtc/dtc-parser.y switch (bits) { bits 367 scripts/dtc/dtc-parser.y bits = 32; bits 371 scripts/dtc/dtc-parser.y $$.bits = bits; bits 376 scripts/dtc/dtc-parser.y $$.bits = 32; bits 112 scripts/dtc/dtc.h struct data data_append_integer(struct data d, uint64_t word, int bits); bits 312 sound/core/oss/pcm_plugin.c if (formats.bits[0] & lower_32_bits(linfmts)) bits 313 sound/core/oss/pcm_plugin.c formats.bits[0] |= lower_32_bits(linfmts); bits 314 sound/core/oss/pcm_plugin.c if (formats.bits[1] & upper_32_bits(linfmts)) bits 315 sound/core/oss/pcm_plugin.c formats.bits[1] |= upper_32_bits(linfmts); bits 57 sound/core/pcm_dmaengine.c int bits; bits 59 sound/core/pcm_dmaengine.c bits = params_physical_width(params); bits 60 sound/core/pcm_dmaengine.c if (bits < 8 || bits > 64) bits 62 sound/core/pcm_dmaengine.c else if (bits == 8) bits 64 sound/core/pcm_dmaengine.c else if (bits == 16) bits 66 sound/core/pcm_dmaengine.c else if (bits == 24) bits 68 sound/core/pcm_dmaengine.c else if (bits <= 32) bits 1168 sound/core/pcm_lib.c *maskp->bits &= mask; bits 1169 sound/core/pcm_lib.c memset(maskp->bits + 1, 0, (SNDRV_MASK_MAX-32) / 8); /* clear rest */ bits 1170 sound/core/pcm_lib.c if (*maskp->bits == 0) bits 1190 sound/core/pcm_lib.c maskp->bits[0] &= (u_int32_t)mask; bits 1191 sound/core/pcm_lib.c maskp->bits[1] &= (u_int32_t)(mask >> 32); bits 1192 sound/core/pcm_lib.c memset(maskp->bits + 2, 0, (SNDRV_MASK_MAX-64) / 8); /* clear rest */ bits 1193 sound/core/pcm_lib.c if (! maskp->bits[0] && ! maskp->bits[1]) bits 638 sound/core/pcm_native.c unsigned int bits; bits 695 sound/core/pcm_native.c bits = snd_pcm_format_physical_width(runtime->format); bits 696 sound/core/pcm_native.c runtime->sample_bits = bits; bits 697 sound/core/pcm_native.c bits *= runtime->channels; bits 698 sound/core/pcm_native.c runtime->frame_bits = bits; bits 700 sound/core/pcm_native.c while (bits % 8 != 0) { bits 701 sound/core/pcm_native.c bits *= 2; bits 704 sound/core/pcm_native.c runtime->byte_align = bits / 8; bits 2150 sound/core/pcm_native.c int bits; bits 2153 sound/core/pcm_native.c bits = snd_pcm_format_physical_width(k); bits 2154 sound/core/pcm_native.c if (bits <= 0) bits 2156 sound/core/pcm_native.c if ((unsigned)bits < i->min || (unsigned)bits > i->max) bits 2172 sound/core/pcm_native.c int bits; bits 2175 sound/core/pcm_native.c bits = snd_pcm_format_physical_width(k); bits 2176 sound/core/pcm_native.c if (bits <= 0) bits 2178 sound/core/pcm_native.c if (t.min > (unsigned)bits) bits 2179 sound/core/pcm_native.c t.min = bits; bits 2180 sound/core/pcm_native.c if (t.max < (unsigned)bits) bits 2181 sound/core/pcm_native.c t.max = bits; bits 3578 sound/core/pcm_native.c params->masks[i].bits[0] = oparams->masks[i]; bits 3597 sound/core/pcm_native.c oparams->masks[i] = params->masks[i].bits[0]; bits 50 sound/core/pcm_param_trace.h memcpy(__entry->prev_bits, prev->bits, sizeof(__u32) * 8); bits 51 sound/core/pcm_param_trace.h memcpy(__entry->curr_bits, curr->bits, sizeof(__u32) * 8); bits 612 sound/drivers/aloop.c m.bits[0] = (u_int32_t)cable->hw.formats; bits 613 sound/drivers/aloop.c m.bits[1] = (u_int32_t)(cable->hw.formats >> 32); bits 216 sound/drivers/vx/vx_uer.c void vx_set_iec958_status(struct vx_core *chip, unsigned int bits) bits 224 sound/drivers/vx/vx_uer.c vx_write_one_cbit(chip, i, bits & (1 << i)); bits 138 sound/firewire/dice/dice-transaction.c u32 bits; bits 150 sound/firewire/dice/dice-transaction.c bits = be32_to_cpup(data); bits 153 sound/firewire/dice/dice-transaction.c dice->notification_bits |= bits; bits 158 sound/firewire/dice/dice-transaction.c if (bits & NOTIFY_LOCK_CHG) bits 393 sound/isa/ad1816a/ad1816a_lib.c unsigned short bits; bits 397 sound/isa/ad1816a/ad1816a_lib.c bits = snd_ad1816a_read(chip, AD1816A_INTERRUPT_ENABLE); bits 399 sound/isa/ad1816a/ad1816a_lib.c if (!(bits & AD1816A_TIMER_ENABLE)) { bits 299 sound/isa/es1688/es1688_lib.c unsigned int bits, divider; bits 302 sound/isa/es1688/es1688_lib.c bits = 256 - runtime->rate_den; bits 304 sound/isa/es1688/es1688_lib.c bits = 128 - runtime->rate_den; bits 308 sound/isa/es1688/es1688_lib.c snd_es1688_write(chip, 0xa1, bits); bits 402 sound/isa/es18xx.c unsigned int bits, div0; bits 406 sound/isa/es18xx.c bits = 128 - runtime->rate_den; bits 408 sound/isa/es18xx.c bits = 256 - runtime->rate_den; bits 411 sound/isa/es18xx.c bits = 256 - runtime->rate_den; bits 413 sound/isa/es18xx.c bits = 128 - runtime->rate_den; bits 420 sound/isa/es18xx.c snd_es18xx_mixer_write(chip, 0x70, bits); bits 428 sound/isa/es18xx.c snd_es18xx_write(chip, 0xA1, bits); bits 1752 sound/isa/wavefront/wavefront_synth.c int bits; bits 1756 sound/isa/wavefront/wavefront_synth.c bits = 0x00; bits 1759 sound/isa/wavefront/wavefront_synth.c bits = 0x08; bits 1762 sound/isa/wavefront/wavefront_synth.c bits = 0x10; bits 1765 sound/isa/wavefront/wavefront_synth.c bits = 0x18; bits 1770 sound/isa/wavefront/wavefront_synth.c bits = -1; bits 1773 sound/isa/wavefront/wavefront_synth.c return bits; bits 1799 sound/isa/wavefront/wavefront_synth.c int bits; bits 1804 sound/isa/wavefront/wavefront_synth.c bits = snd_wavefront_interrupt_bits (dev->irq); bits 1846 sound/isa/wavefront/wavefront_synth.c outb (0x80 | 0x40 | bits, dev->data_port); bits 252 sound/mips/ad1843.c int w, m, mask, bits; bits 255 sound/mips/ad1843.c bits = 0; bits 268 sound/mips/ad1843.c bits |= (value << fp->lo_bit) & m; bits 276 sound/mips/ad1843.c w = (w & ~mask) | bits; bits 1086 sound/pci/ac97/ac97_codec.c *lo_max = tbl->bits & 0xff; bits 1087 sound/pci/ac97/ac97_codec.c *hi_max = (tbl->bits >> 8) & 0xff; bits 2412 sound/pci/ac97/ac97_codec.c unsigned int power_up, bits; bits 2437 sound/pci/ac97/ac97_codec.c bits = 0; bits 2439 sound/pci/ac97/ac97_codec.c bits = power_regs[i].mask; bits 2441 sound/pci/ac97/ac97_codec.c power_regs[i].mask, bits); bits 161 sound/pci/ac97/ac97_pcm.c unsigned short old, bits, reg, mask; bits 170 sound/pci/ac97/ac97_pcm.c case 48000: bits = 0; break; bits 171 sound/pci/ac97/ac97_pcm.c case 44100: bits = 1 << AC97_SC_SPSR_SHIFT; break; bits 184 sound/pci/ac97/ac97_pcm.c case 44100: bits = AC97_SC_SPSR_44K; break; bits 185 sound/pci/ac97/ac97_pcm.c case 48000: bits = AC97_SC_SPSR_48K; break; bits 186 sound/pci/ac97/ac97_pcm.c case 32000: bits = AC97_SC_SPSR_32K; break; bits 197 sound/pci/ac97/ac97_pcm.c if (old != bits) { bits 199 sound/pci/ac97/ac97_pcm.c snd_ac97_update_bits_nolock(ac97, reg, mask, bits); bits 2814 sound/pci/au88x0/au88x0_core.c vortex_translateformat(vortex_t * vortex, char bits, char nch, int encod) bits 2818 sound/pci/au88x0/au88x0_core.c if ((bits != 8) && (bits != 16)) bits 2823 sound/pci/au88x0/au88x0_core.c if (bits == 0x10) bits 2827 sound/pci/au88x0/au88x0_core.c if (bits == 8) bits 2854 sound/pci/au88x0/au88x0_core.c static void vortex_cdmacore_setformat(vortex_t * vortex, int bits, int nch) bits 2858 sound/pci/au88x0/au88x0_core.c d = ((bits >> 3) * nch); bits 954 sound/pci/ca0106/ca0106_main.c u32 bits; bits 986 sound/pci/ca0106/ca0106_main.c bits = snd_ca0106_ptr_read(emu, EXTENDED_INT_MASK, 0); bits 987 sound/pci/ca0106/ca0106_main.c bits |= extended; bits 988 sound/pci/ca0106/ca0106_main.c snd_ca0106_ptr_write(emu, EXTENDED_INT_MASK, 0, bits); bits 989 sound/pci/ca0106/ca0106_main.c bits = snd_ca0106_ptr_read(emu, BASIC_INTERRUPT, 0); bits 990 sound/pci/ca0106/ca0106_main.c bits |= basic; bits 991 sound/pci/ca0106/ca0106_main.c snd_ca0106_ptr_write(emu, BASIC_INTERRUPT, 0, bits); bits 995 sound/pci/ca0106/ca0106_main.c bits = snd_ca0106_ptr_read(emu, BASIC_INTERRUPT, 0); bits 996 sound/pci/ca0106/ca0106_main.c bits &= ~basic; bits 997 sound/pci/ca0106/ca0106_main.c snd_ca0106_ptr_write(emu, BASIC_INTERRUPT, 0, bits); bits 998 sound/pci/ca0106/ca0106_main.c bits = snd_ca0106_ptr_read(emu, EXTENDED_INT_MASK, 0); bits 999 sound/pci/ca0106/ca0106_main.c bits &= ~extended; bits 1000 sound/pci/ca0106/ca0106_main.c snd_ca0106_ptr_write(emu, EXTENDED_INT_MASK, 0, bits); bits 317 sound/pci/ca0106/ca0106_mixer.c static void decode_spdif_bits(unsigned char *status, unsigned int bits) bits 319 sound/pci/ca0106/ca0106_mixer.c status[0] = (bits >> 0) & 0xff; bits 320 sound/pci/ca0106/ca0106_mixer.c status[1] = (bits >> 8) & 0xff; bits 321 sound/pci/ca0106/ca0106_mixer.c status[2] = (bits >> 16) & 0xff; bits 322 sound/pci/ca0106/ca0106_mixer.c status[3] = (bits >> 24) & 0xff; bits 119 sound/pci/echoaudio/echoaudio.c fmt.bits[0] &= ~SNDRV_PCM_FMTBIT_S32_BE; bits 125 sound/pci/echoaudio/echoaudio.c fmt.bits[0] &= ~(SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S32_BE); bits 145 sound/pci/echoaudio/echoaudio.c if (f->bits[0] == SNDRV_PCM_FMTBIT_S32_BE) { bits 156 sound/pci/echoaudio/echoaudio.c if (f->bits[0] == SNDRV_PCM_FMTBIT_U8) { bits 178 sound/pci/echoaudio/echoaudio.c fmask = fmt.bits[0] + ((u64)fmt.bits[1] << 32); bits 196 sound/pci/echoaudio/echoaudio.c fmt.bits[0] &= (u32)fmask; bits 197 sound/pci/echoaudio/echoaudio.c fmt.bits[1] &= (u32)(fmask >> 32); bits 214 sound/pci/echoaudio/echoaudio.c fmask = f->bits[0] + ((u64)f->bits[1] << 32); bits 1516 sound/pci/emu10k1/emupcm.c unsigned int nval[2], bits; bits 1522 sound/pci/emu10k1/emupcm.c for (idx = 0, bits = 0; idx < nefx; idx++) bits 1525 sound/pci/emu10k1/emupcm.c bits++; bits 1529 sound/pci/emu10k1/emupcm.c if (1 << idx == bits) bits 1701 sound/pci/emu10k1/emupcm.c unsigned int bits; bits 1702 sound/pci/emu10k1/emupcm.c bits = SPCS_CLKACCY_1000PPM | SPCS_SAMPLERATE_48 | bits 1705 sound/pci/emu10k1/emupcm.c snd_emu10k1_ptr_write(emu, SPCS0 + i, 0, bits); bits 172 sound/pci/emu10k1/irq.c unsigned int bits; bits 176 sound/pci/emu10k1/irq.c bits = INTE_FXDSPENABLE | bits 190 sound/pci/emu10k1/irq.c bits |= INTE_A_MIDITXENABLE2 | INTE_A_MIDIRXENABLE2; bits 191 sound/pci/emu10k1/irq.c snd_emu10k1_intr_disable(emu, bits); bits 449 sound/pci/es1938.c unsigned int bits, div0; bits 452 sound/pci/es1938.c bits = 128 - runtime->rate_den; bits 454 sound/pci/es1938.c bits = 256 - runtime->rate_den; bits 460 sound/pci/es1938.c snd_es1938_mixer_write(chip, 0x70, bits); bits 463 sound/pci/es1938.c snd_es1938_write(chip, 0xA1, bits); bits 1234 sound/pci/hda/hda_codec.c int dir, unsigned int bits) bits 1239 sound/pci/hda/hda_codec.c if (query_amp_caps(codec, nid, dir) & bits) bits 4019 sound/pci/hda/hda_codec.c static unsigned int bits[] = { 8, 16, 20, 24, 32 }; bits 4022 sound/pci/hda/hda_codec.c for (i = 0, j = 0; i < ARRAY_SIZE(bits); i++) bits 4024 sound/pci/hda/hda_codec.c j += scnprintf(buf + j, buflen - j, " %d", bits[i]); bits 135 sound/pci/hda/hda_eld.c #define GRAB_BITS(buf, byte, lowbit, bits) \ bits 138 sound/pci/hda/hda_eld.c BUILD_BUG_ON(bits > 8); \ bits 139 sound/pci/hda/hda_eld.c BUILD_BUG_ON(bits <= 0); \ bits 141 sound/pci/hda/hda_eld.c (buf[byte] >> (lowbit)) & ((1 << (bits)) - 1); \ bits 525 sound/pci/hda/hda_local.h int dir, unsigned int bits); bits 473 sound/pci/ice1712/aureon.c static void aureon_spi_write(struct snd_ice1712 *ice, unsigned int cs, unsigned int data, int bits) bits 499 sound/pci/ice1712/aureon.c for (i = bits - 1; i >= 0; i--) { bits 527 sound/pci/ice1712/aureon.c unsigned int data, int bits, unsigned char *buffer, int size) bits 538 sound/pci/ice1712/aureon.c for (i = bits-1; i >= 0; i--) { bits 172 sound/pci/ice1712/delta.c static void snd_ice1712_delta_cs8403_spdif_write(struct snd_ice1712 *ice, unsigned char bits) bits 183 sound/pci/ice1712/delta.c if (bits & (1 << idx)) bits 218 sound/pci/ice1712/ews.c static void snd_ice1712_ews_cs8404_spdif_write(struct snd_ice1712 *ice, unsigned char bits) bits 229 sound/pci/ice1712/ews.c if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_CS8404], &bits, 1) bits 237 sound/pci/ice1712/ews.c if (bits != bytes[1]) { bits 238 sound/pci/ice1712/ews.c bytes[1] = bits; bits 395 sound/pci/ice1712/ice1712.h static inline void snd_ice1712_gpio_set_dir(struct snd_ice1712 *ice, unsigned int bits) bits 397 sound/pci/ice1712/ice1712.h ice->gpio.set_dir(ice, bits); bits 405 sound/pci/ice1712/ice1712.h static inline void snd_ice1712_gpio_set_mask(struct snd_ice1712 *ice, unsigned int bits) bits 407 sound/pci/ice1712/ice1712.h ice->gpio.set_mask(ice, bits); bits 454 sound/pci/ice1712/ice1712.h unsigned int mask, unsigned int bits) bits 462 sound/pci/ice1712/ice1712.h val |= mask & bits; bits 284 sound/pci/ice1712/maya44.c unsigned int bits) bits 288 sound/pci/ice1712/maya44.c if ((data & mask) == bits) bits 290 sound/pci/ice1712/maya44.c snd_ice1712_gpio_write(ice, (data & ~mask) | bits); bits 198 sound/pci/ice1712/phase.c unsigned int data, int bits) bits 212 sound/pci/ice1712/phase.c for (i = bits - 1; i >= 0; i--) { bits 108 sound/pci/ice1712/psc724.c u32 st, bits; bits 116 sound/pci/ice1712/psc724.c bits = snd_ice1712_gpio_read(ice) & ~PSC724_SPI_MASK; bits 117 sound/pci/ice1712/psc724.c snd_ice1712_gpio_write(ice, bits); bits 121 sound/pci/ice1712/psc724.c bits &= ~PSC724_SPI_CLK; bits 125 sound/pci/ice1712/psc724.c bits |= PSC724_SPI_DATA; bits 127 sound/pci/ice1712/psc724.c bits &= ~PSC724_SPI_DATA; bits 128 sound/pci/ice1712/psc724.c snd_ice1712_gpio_write(ice, bits); bits 131 sound/pci/ice1712/psc724.c bits |= PSC724_SPI_CLK; bits 132 sound/pci/ice1712/psc724.c snd_ice1712_gpio_write(ice, bits); bits 136 sound/pci/ice1712/psc724.c bits |= PSC724_SPI_LOAD; bits 137 sound/pci/ice1712/psc724.c snd_ice1712_gpio_write(ice, bits); bits 140 sound/pci/ice1712/psc724.c bits |= (PSC724_SPI_DATA | PSC724_SPI_CLK); bits 141 sound/pci/ice1712/psc724.c snd_ice1712_gpio_write(ice, bits); bits 157 sound/pci/ice1712/psc724.c unsigned int bits = snd_ice1712_gpio_read(ice); bits 162 sound/pci/ice1712/psc724.c bits &= ~(GPIO_MUTE_ALL | GPIO_MUTE_SUR); bits 164 sound/pci/ice1712/psc724.c bits |= GPIO_MUTE_ALL | GPIO_MUTE_SUR; bits 165 sound/pci/ice1712/psc724.c snd_ice1712_gpio_write(ice, bits); bits 123 sound/pci/ice1712/se.c unsigned int bits; bits 135 sound/pci/ice1712/se.c bits = snd_ice1712_gpio_read(ice) & ~ALL_MASK; bits 137 sound/pci/ice1712/se.c snd_ice1712_gpio_write(ice, bits); bits 140 sound/pci/ice1712/se.c bits &= ~CLOCK; bits 143 sound/pci/ice1712/se.c bits |= DATA; bits 145 sound/pci/ice1712/se.c bits &= ~DATA; bits 147 sound/pci/ice1712/se.c snd_ice1712_gpio_write(ice, bits); bits 150 sound/pci/ice1712/se.c bits |= CLOCK; bits 151 sound/pci/ice1712/se.c snd_ice1712_gpio_write(ice, bits); bits 155 sound/pci/ice1712/se.c bits |= LOAD; bits 156 sound/pci/ice1712/se.c snd_ice1712_gpio_write(ice, bits); bits 159 sound/pci/ice1712/se.c bits |= (DATA | CLOCK); bits 160 sound/pci/ice1712/se.c snd_ice1712_gpio_write(ice, bits); bits 485 sound/pci/lola/lola.h void lola_pcm_update(struct lola *chip, struct lola_pcm *pcm, unsigned int bits); bits 562 sound/pci/lola/lola_pcm.c void lola_pcm_update(struct lola *chip, struct lola_pcm *pcm, unsigned int bits) bits 566 sound/pci/lola/lola_pcm.c for (i = 0; bits && i < pcm->num_streams; i++) { bits 567 sound/pci/lola/lola_pcm.c if (bits & (1 << i)) { bits 571 sound/pci/lola/lola_pcm.c bits &= ~(1 << i); bits 301 sound/pci/oxygen/oxygen_mixer.c static void oxygen_to_iec958(u32 bits, struct snd_ctl_elem_value *value) bits 304 sound/pci/oxygen/oxygen_mixer.c bits & (OXYGEN_SPDIF_NONAUDIO | OXYGEN_SPDIF_C | bits 307 sound/pci/oxygen/oxygen_mixer.c bits >> OXYGEN_SPDIF_CATEGORY_SHIFT; bits 312 sound/pci/oxygen/oxygen_mixer.c u32 bits; bits 314 sound/pci/oxygen/oxygen_mixer.c bits = value->value.iec958.status[0] & bits 317 sound/pci/oxygen/oxygen_mixer.c bits |= value->value.iec958.status[1] << OXYGEN_SPDIF_CATEGORY_SHIFT; bits 318 sound/pci/oxygen/oxygen_mixer.c if (bits & OXYGEN_SPDIF_NONAUDIO) bits 319 sound/pci/oxygen/oxygen_mixer.c bits |= OXYGEN_SPDIF_V; bits 320 sound/pci/oxygen/oxygen_mixer.c return bits; bits 323 sound/pci/oxygen/oxygen_mixer.c static inline void write_spdif_bits(struct oxygen *chip, u32 bits) bits 325 sound/pci/oxygen/oxygen_mixer.c oxygen_write32_masked(chip, OXYGEN_SPDIF_OUTPUT_BITS, bits, bits 418 sound/pci/oxygen/oxygen_mixer.c u32 bits; bits 420 sound/pci/oxygen/oxygen_mixer.c bits = oxygen_read32(chip, OXYGEN_SPDIF_INPUT_BITS); bits 421 sound/pci/oxygen/oxygen_mixer.c value->value.iec958.status[0] = bits; bits 422 sound/pci/oxygen/oxygen_mixer.c value->value.iec958.status[1] = bits >> 8; bits 423 sound/pci/oxygen/oxygen_mixer.c value->value.iec958.status[2] = bits >> 16; bits 424 sound/pci/oxygen/oxygen_mixer.c value->value.iec958.status[3] = bits >> 24; bits 382 sound/soc/atmel/atmel-pdmic.c int bits = params_width(params); bits 401 sound/soc/atmel/atmel-pdmic.c switch (bits) { bits 463 sound/soc/atmel/atmel_ssc_dai.c int dir, channels, bits; bits 530 sound/soc/atmel/atmel_ssc_dai.c bits = 8; bits 534 sound/soc/atmel/atmel_ssc_dai.c bits = 16; bits 538 sound/soc/atmel/atmel_ssc_dai.c bits = 24; bits 542 sound/soc/atmel/atmel_ssc_dai.c bits = 32; bits 554 sound/soc/atmel/atmel_ssc_dai.c fslen_ext = (bits - 1) / 16; bits 555 sound/soc/atmel/atmel_ssc_dai.c fslen = (bits - 1) % 16; bits 645 sound/soc/atmel/atmel_ssc_dai.c | SSC_BF(RFMR_DATLEN, (bits - 1)); bits 655 sound/soc/atmel/atmel_ssc_dai.c | SSC_BF(TFMR_DATLEN, (bits - 1)); bits 659 sound/soc/atmel/atmel_ssc_dai.c bits); bits 130 sound/soc/codecs/ak5558.c u8 bits; bits 135 sound/soc/codecs/ak5558.c bits = AK5558_DIF_24BIT_MODE; bits 138 sound/soc/codecs/ak5558.c bits = AK5558_DIF_32BIT_MODE; bits 144 sound/soc/codecs/ak5558.c snd_soc_component_update_bits(component, AK5558_02_CONTROL1, AK5558_BITS, bits); bits 335 sound/soc/codecs/da732x.c unsigned int bits; bits 339 sound/soc/codecs/da732x.c bits = DA732X_HPF_DIS; bits 342 sound/soc/codecs/da732x.c bits = DA732X_HPF_VOICE_EN; bits 345 sound/soc/codecs/da732x.c bits = DA732X_HPF_MUSIC_EN; bits 351 sound/soc/codecs/da732x.c snd_soc_component_update_bits(component, reg, DA732X_HPF_MASK, bits); bits 331 sound/soc/codecs/tlv320aic31xx.c unsigned int bits; bits 333 sound/soc/codecs/tlv320aic31xx.c int ret = regmap_read(aic31xx->regmap, reg, &bits); bits 335 sound/soc/codecs/tlv320aic31xx.c while ((bits & mask) != wbits && counter && !ret) { bits 337 sound/soc/codecs/tlv320aic31xx.c ret = regmap_read(aic31xx->regmap, reg, &bits); bits 340 sound/soc/codecs/tlv320aic31xx.c if ((bits & mask) != wbits) { bits 343 sound/soc/codecs/tlv320aic31xx.c __func__, reg, bits, wbits, ret, mask, bits 1735 sound/soc/codecs/wm8996.c int bits, i, bclk_rate, best; bits 1779 sound/soc/codecs/wm8996.c bits = params_width(params); bits 1780 sound/soc/codecs/wm8996.c if (bits < 0) bits 1781 sound/soc/codecs/wm8996.c return bits; bits 1782 sound/soc/codecs/wm8996.c aifdata |= (bits << WM8996_AIF1TX_WL_SHIFT) | bits; bits 48 sound/soc/hisilicon/hi6210-i2s.c u8 bits; bits 257 sound/soc/hisilicon/hi6210-i2s.c u32 bits = 0, rate = 0, signed_data = 0, fmt = 0; bits 266 sound/soc/hisilicon/hi6210-i2s.c bits = HII2S_BITS_16; bits 272 sound/soc/hisilicon/hi6210-i2s.c bits = HII2S_BITS_24; bits 311 sound/soc/hisilicon/hi6210-i2s.c switch (bits) { bits 313 sound/soc/hisilicon/hi6210-i2s.c i2s->bits = 32; bits 317 sound/soc/hisilicon/hi6210-i2s.c i2s->bits = 16; bits 323 sound/soc/hisilicon/hi6210-i2s.c i2s->channel_length = i2s->channels * i2s->bits; bits 449 sound/soc/hisilicon/hi6210-i2s.c val |= (bits << HII2S_I2S_CFG__S2_CODEC_IO_WORDLENGTH_SHIFT); bits 362 sound/soc/intel/baytrail/sst-baytrail-ipc.c int bits) bits 364 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream->request.pcm_params.pcm_wd_sz = bits; bits 35 sound/soc/intel/baytrail/sst-baytrail-ipc.h int bits); bits 69 sound/soc/intel/baytrail/sst-baytrail-pcm.c u32 rate, bits; bits 89 sound/soc/intel/baytrail/sst-baytrail-pcm.c bits = snd_pcm_format_width(params_format(params)); bits 90 sound/soc/intel/baytrail/sst-baytrail-pcm.c ret = sst_byt_stream_set_bits(byt, pcm_data->stream, bits); bits 252 sound/soc/intel/boards/bytcht_es8316.c int ret, bits; bits 261 sound/soc/intel/boards/bytcht_es8316.c bits = 16; bits 265 sound/soc/intel/boards/bytcht_es8316.c bits = 24; bits 283 sound/soc/intel/boards/bytcht_es8316.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2, bits); bits 674 sound/soc/intel/boards/bytcr_rt5651.c int ret, bits; bits 684 sound/soc/intel/boards/bytcr_rt5651.c bits = 16; bits 688 sound/soc/intel/boards/bytcr_rt5651.c bits = 24; bits 707 sound/soc/intel/boards/bytcr_rt5651.c ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2, bits); bits 1032 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_hsw_stream *stream, enum sst_hsw_bitdepth bits) bits 1039 sound/soc/intel/haswell/sst-haswell-ipc.c stream->request.format.bitdepth = bits; bits 1094 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_hsw_stream *stream, u32 bits) bits 1101 sound/soc/intel/haswell/sst-haswell-ipc.c stream->request.format.valid_bit = bits; bits 435 sound/soc/intel/haswell/sst-haswell-ipc.h u32 bits); bits 439 sound/soc/intel/haswell/sst-haswell-ipc.h enum sst_hsw_bitdepth bits); bits 475 sound/soc/intel/haswell/sst-haswell-pcm.c u32 rate, bits, map, pages, module_id; bits 556 sound/soc/intel/haswell/sst-haswell-pcm.c bits = SST_HSW_DEPTH_16BIT; bits 560 sound/soc/intel/haswell/sst-haswell-pcm.c bits = SST_HSW_DEPTH_32BIT; bits 564 sound/soc/intel/haswell/sst-haswell-pcm.c bits = SST_HSW_DEPTH_8BIT; bits 568 sound/soc/intel/haswell/sst-haswell-pcm.c bits = SST_HSW_DEPTH_32BIT; bits 577 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_set_bits(hsw, pcm_data->stream, bits); bits 579 sound/soc/intel/haswell/sst-haswell-pcm.c dev_err(rtd->dev, "error: could not set bits %d\n", bits); bits 134 sound/soc/sh/ssi.c unsigned int bits, channels, swl, recv, i; bits 137 sound/soc/sh/ssi.c bits = params->msbits; bits 141 sound/soc/sh/ssi.c pr_debug("bits: %u channels: %u\n", bits, channels); bits 159 sound/soc/sh/ssi.c switch (bits) { bits 182 sound/soc/sh/ssi.c if ((bits > 16) && (bits <= 24)) { bits 183 sound/soc/sh/ssi.c bits = 24; /* these are padded by the SSI */ bits 187 sound/soc/sh/ssi.c swl = (bits * channels) / 2; bits 178 sound/soc/soc-generic-dmaengine-pcm.c int bits = snd_pcm_format_physical_width(i); bits 184 sound/soc/soc-generic-dmaengine-pcm.c switch (bits) { bits 190 sound/soc/soc-generic-dmaengine-pcm.c if (addr_widths & (1 << (bits / 8))) bits 308 sound/soc/soc-pcm.c static void soc_pcm_set_msb(struct snd_pcm_substream *substream, int bits) bits 313 sound/soc/soc-pcm.c if (!bits) bits 316 sound/soc/soc-pcm.c ret = snd_pcm_hw_constraint_msbits(substream->runtime, 0, 0, bits); bits 319 sound/soc/soc-pcm.c bits, ret); bits 328 sound/soc/soc-pcm.c unsigned int bits = 0, cpu_bits; bits 333 sound/soc/soc-pcm.c bits = 0; bits 336 sound/soc/soc-pcm.c bits = max(codec_dai->driver->playback.sig_bits, bits); bits 342 sound/soc/soc-pcm.c bits = 0; bits 345 sound/soc/soc-pcm.c bits = max(codec_dai->driver->capture.sig_bits, bits); bits 350 sound/soc/soc-pcm.c soc_pcm_set_msb(substream, bits); bits 93 sound/soc/sof/intel/hda-pcm.c u32 size, rate, bits; bits 97 sound/soc/sof/intel/hda-pcm.c bits = get_bits(sdev, params_width(params)); bits 103 sound/soc/sof/intel/hda-pcm.c hstream->format_val = rate | bits | (params_channels(params) - 1); bits 198 sound/soc/sti/sti_uniperif.c maskp->bits[0] &= (u_int32_t)format; bits 199 sound/soc/sti/sti_uniperif.c maskp->bits[1] &= (u_int32_t)(format >> 32); bits 201 sound/soc/sti/sti_uniperif.c memset(maskp->bits + 2, 0, (SNDRV_MASK_MAX - 64) / 8); bits 203 sound/soc/sti/sti_uniperif.c if (!maskp->bits[0] && !maskp->bits[1]) bits 2020 sound/sparc/dbri.c fmt.bits[0] &= SNDRV_PCM_FMTBIT_S16_BE; bits 2035 sound/sparc/dbri.c if (!(f->bits[0] & SNDRV_PCM_FMTBIT_S16_BE)) { bits 979 sound/usb/pcm.c check_fmts.bits[0] = (u32)fp->formats; bits 980 sound/usb/pcm.c check_fmts.bits[1] = (u32)(fp->formats >> 32); bits 1124 sound/usb/pcm.c hwc_debug("hw_rule_format: %x:%x\n", fmt->bits[0], fmt->bits[1]); bits 1132 sound/usb/pcm.c oldbits[0] = fmt->bits[0]; bits 1133 sound/usb/pcm.c oldbits[1] = fmt->bits[1]; bits 1134 sound/usb/pcm.c fmt->bits[0] &= (u32)fbits; bits 1135 sound/usb/pcm.c fmt->bits[1] &= (u32)(fbits >> 32); bits 1136 sound/usb/pcm.c if (!fmt->bits[0] && !fmt->bits[1]) { bits 1140 sound/usb/pcm.c changed = (oldbits[0] != fmt->bits[0] || oldbits[1] != fmt->bits[1]); bits 1141 sound/usb/pcm.c hwc_debug(" --> %x:%x (changed = %d)\n", fmt->bits[0], fmt->bits[1], changed); bits 239 sound/usb/stream.c static struct snd_pcm_chmap_elem *convert_chmap(int channels, unsigned int bits, bits 302 sound/usb/stream.c if (bits) { bits 303 sound/usb/stream.c for (; bits && *maps; maps++, bits >>= 1) bits 304 sound/usb/stream.c if (bits & 1) bits 282 sound/xen/xen_snd_front_alsa.c req.formats = to_sndif_formats_mask((u64)formats->bits[0] | bits 283 sound/xen/xen_snd_front_alsa.c (u64)(formats->bits[1]) << 32); bits 311 sound/xen/xen_snd_front_alsa.c mask.bits[0] = (u32)sndif_formats; bits 312 sound/xen/xen_snd_front_alsa.c mask.bits[1] = (u32)(sndif_formats >> 32); bits 361 tools/arch/s390/include/uapi/asm/ptrace.h per_cr_bits bits; bits 379 tools/arch/s390/include/uapi/asm/ptrace.h per_lowcore_bits bits; bits 91 tools/arch/x86/include/uapi/asm/kvm.h __u64 bits; bits 17 tools/bpf/bpftool/btf_dumper.c #define BITS_PER_BYTE_MASKED(bits) ((bits) & BITS_PER_BYTE_MASK) bits 18 tools/bpf/bpftool/btf_dumper.c #define BITS_ROUNDDOWN_BYTES(bits) ((bits) >> 3) bits 19 tools/bpf/bpftool/btf_dumper.c #define BITS_ROUNDUP_BYTES(bits) \ bits 20 tools/bpf/bpftool/btf_dumper.c (BITS_ROUNDDOWN_BYTES(bits) + !!BITS_PER_BYTE_MASKED(bits)) bits 708 tools/firewire/nosy-dump.c uint32_t bits; bits 710 tools/firewire/nosy-dump.c bits = get_bits(packet, offset, f->width); bits 711 tools/firewire/nosy-dump.c printf("%s", f->value_names[bits]); bits 717 tools/firewire/nosy-dump.c unsigned long long bits; bits 725 tools/firewire/nosy-dump.c bits = get_bits(packet, offset, high_width); bits 726 tools/firewire/nosy-dump.c bits = (bits << low_width) | bits 729 tools/firewire/nosy-dump.c bits = get_bits(packet, offset, f->width); bits 732 tools/firewire/nosy-dump.c printf("%s=0x%0*llx", f->name, (f->width + 3) / 4, bits); bits 735 tools/firewire/nosy-dump.c data_length = bits; bits 10 tools/include/linux/bitmap.h #define DECLARE_BITMAP(name,bits) \ bits 11 tools/include/linux/bitmap.h unsigned long name[BITS_TO_LONGS(bits)] bits 13 tools/include/linux/bitmap.h int __bitmap_weight(const unsigned long *bitmap, int bits); bits 15 tools/include/linux/bitmap.h const unsigned long *bitmap2, int bits); bits 17 tools/include/linux/bitmap.h const unsigned long *bitmap2, unsigned int bits); bits 16 tools/include/linux/hash.h #define hash_long(val, bits) hash_32(val, bits) bits 18 tools/include/linux/hash.h #define hash_long(val, bits) hash_64(val, bits) bits 68 tools/include/linux/hash.h static inline u32 hash_32_generic(u32 val, unsigned int bits) bits 71 tools/include/linux/hash.h return __hash_32(val) >> (32 - bits); bits 77 tools/include/linux/hash.h static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) bits 81 tools/include/linux/hash.h return val * GOLDEN_RATIO_64 >> (64 - bits); bits 84 tools/include/linux/hash.h return hash_32((u32)val ^ __hash_32(val >> 32), bits); bits 88 tools/include/linux/hash.h static inline u32 hash_ptr(const void *ptr, unsigned int bits) bits 90 tools/include/linux/hash.h return hash_long((unsigned long)ptr, bits); bits 17 tools/include/linux/hashtable.h #define DEFINE_HASHTABLE(name, bits) \ bits 18 tools/include/linux/hashtable.h struct hlist_head name[1 << (bits)] = \ bits 19 tools/include/linux/hashtable.h { [0 ... ((1 << (bits)) - 1)] = HLIST_HEAD_INIT } bits 21 tools/include/linux/hashtable.h #define DECLARE_HASHTABLE(name, bits) \ bits 22 tools/include/linux/hashtable.h struct hlist_head name[1 << (bits)] bits 28 tools/include/linux/hashtable.h #define hash_min(val, bits) \ bits 29 tools/include/linux/hashtable.h (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits)) bits 393 tools/include/uapi/sound/asound.h __u32 bits[(SNDRV_MASK_MAX+31)/32]; bits 8 tools/lib/bitmap.c int __bitmap_weight(const unsigned long *bitmap, int bits) bits 10 tools/lib/bitmap.c int k, w = 0, lim = bits/BITS_PER_LONG; bits 15 tools/lib/bitmap.c if (bits % BITS_PER_LONG) bits 16 tools/lib/bitmap.c w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); bits 22 tools/lib/bitmap.c const unsigned long *bitmap2, int bits) bits 25 tools/lib/bitmap.c int nr = BITS_TO_LONGS(bits); bits 61 tools/lib/bitmap.c const unsigned long *bitmap2, unsigned int bits) bits 64 tools/lib/bitmap.c unsigned int lim = bits/BITS_PER_LONG; bits 69 tools/lib/bitmap.c if (bits % BITS_PER_LONG) bits 71 tools/lib/bitmap.c BITMAP_LAST_WORD_MASK(bits)); bits 20 tools/lib/bpf/hashmap.h static inline size_t hash_bits(size_t h, int bits) bits 23 tools/lib/bpf/hashmap.h return (h * 11400714819323198485llu) >> (__WORDSIZE - bits); bits 19 tools/lib/bpf/libbpf_internal.h #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ bits 21 tools/lib/bpf/libbpf_internal.h BTF_INT_ENC(encoding, bits_offset, bits) bits 96 tools/perf/arch/x86/util/intel-pt.c static u64 intel_pt_masked_bits(u64 mask, u64 bits) bits 105 tools/perf/arch/x86/util/intel-pt.c if (bits & top_bit) bits 109 tools/perf/arch/x86/util/intel-pt.c bits <<= 1; bits 167 tools/perf/arch/x86/util/intel-pt.c static int intel_pt_pick_bit(int bits, int target) bits 171 tools/perf/arch/x86/util/intel-pt.c for (pos = 0; bits; bits >>= 1, pos++) { bits 172 tools/perf/arch/x86/util/intel-pt.c if (bits & 1) { bits 485 tools/perf/arch/x86/util/intel-pt.c u64 bits; bits 497 tools/perf/arch/x86/util/intel-pt.c bits = perf_pmu__format_bits(&intel_pt_pmu->format, name); bits 499 tools/perf/arch/x86/util/intel-pt.c config &= bits; bits 501 tools/perf/arch/x86/util/intel-pt.c for (shift = 0; bits && !(bits & 1); shift++) bits 502 tools/perf/arch/x86/util/intel-pt.c bits >>= 1; bits 179 tools/perf/builtin-trace.c #define TP_UINT_FIELD(bits) \ bits 180 tools/perf/builtin-trace.c static u64 tp_field__u##bits(struct tp_field *field, struct perf_sample *sample) \ bits 182 tools/perf/builtin-trace.c u##bits value; \ bits 192 tools/perf/builtin-trace.c #define TP_UINT_FIELD__SWAPPED(bits) \ bits 193 tools/perf/builtin-trace.c static u64 tp_field__swapped_u##bits(struct tp_field *field, struct perf_sample *sample) \ bits 195 tools/perf/builtin-trace.c u##bits value; \ bits 197 tools/perf/builtin-trace.c return bswap_##bits(value);\ bits 1372 tools/perf/util/auxtrace.c unsigned int bits; bits 1375 tools/perf/util/auxtrace.c struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, bits 1386 tools/perf/util/auxtrace.c sz = 1UL << bits; bits 1399 tools/perf/util/auxtrace.c c->bits = bits; bits 1455 tools/perf/util/auxtrace.c hlist_add_head(&entry->hash, &c->hashtable[hash_32(key, c->bits)]); bits 1468 tools/perf/util/auxtrace.c hlist = &c->hashtable[hash_32(key, c->bits)]; bits 485 tools/perf/util/auxtrace.h struct auxtrace_cache *auxtrace_cache__new(unsigned int bits, size_t entry_size, bits 544 tools/perf/util/cpumap.c unsigned char bits = bitmap[cpu / 8]; bits 547 tools/perf/util/cpumap.c bits >>= 4; bits 549 tools/perf/util/cpumap.c bits &= 0xf; bits 551 tools/perf/util/cpumap.c *ptr++ = hex_char(bits); bits 451 tools/perf/util/intel-pt.c unsigned int bits; bits 456 tools/perf/util/intel-pt.c bits = intel_pt_cache_size(dso, machine); bits 459 tools/perf/util/intel-pt.c c = auxtrace_cache__new(bits, sizeof(struct intel_pt_cache_entry), 200); bits 15 tools/perf/util/perf_event_attr_fprintf.c static void __p_bits(char *buf, size_t size, u64 value, struct bit_names *bits) bits 21 tools/perf/util/perf_event_attr_fprintf.c if (value & bits[i].bit) { bits 22 tools/perf/util/perf_event_attr_fprintf.c buf += scnprintf(buf, size, "%s%s", first_bit ? "" : "|", bits[i].name); bits 25 tools/perf/util/perf_event_attr_fprintf.c } while (bits[++i].name != NULL); bits 31 tools/perf/util/perf_event_attr_fprintf.c struct bit_names bits[] = { bits 41 tools/perf/util/perf_event_attr_fprintf.c __p_bits(buf, size, value, bits); bits 47 tools/perf/util/perf_event_attr_fprintf.c struct bit_names bits[] = { bits 56 tools/perf/util/perf_event_attr_fprintf.c __p_bits(buf, size, value, bits); bits 62 tools/perf/util/perf_event_attr_fprintf.c struct bit_names bits[] = { bits 68 tools/perf/util/perf_event_attr_fprintf.c __p_bits(buf, size, value, bits); bits 31 tools/perf/util/pmu.c DECLARE_BITMAP(bits, PERF_PMU_FORMAT_BITS); bits 916 tools/perf/util/pmu.c __u64 bits = 0; bits 922 tools/perf/util/pmu.c for_each_set_bit(fbit, format->bits, PERF_PMU_FORMAT_BITS) bits 923 tools/perf/util/pmu.c bits |= 1ULL << fbit; bits 925 tools/perf/util/pmu.c return bits; bits 1075 tools/perf/util/pmu.c bitmap_weight(format->bits, PERF_PMU_FORMAT_BITS) > 1) { bits 1102 tools/perf/util/pmu.c max_val = pmu_format_max_value(format->bits); bits 1118 tools/perf/util/pmu.c pmu_format_value(format->bits, val, vp, zero); bits 1269 tools/perf/util/pmu.c int config, unsigned long *bits) bits 1279 tools/perf/util/pmu.c memcpy(format->bits, bits, sizeof(format->bits)); bits 1285 tools/perf/util/pmu.c void perf_pmu__set_format(unsigned long *bits, long from, long to) bits 1292 tools/perf/util/pmu.c memset(bits, 0, BITS_TO_BYTES(PERF_PMU_FORMAT_BITS)); bits 1294 tools/perf/util/pmu.c set_bit(b, bits); bits 81 tools/perf/util/pmu.h int config, unsigned long *bits); bits 82 tools/perf/util/pmu.h void perf_pmu__set_format(unsigned long *bits, long from, long to); bits 26 tools/perf/util/pmu.y %type <bits> bit_term bits 27 tools/perf/util/pmu.y %type <bits> bits bits 32 tools/perf/util/pmu.y DECLARE_BITMAP(bits, PERF_PMU_FORMAT_BITS); bits 43 tools/perf/util/pmu.y PP_CONFIG ':' bits bits 50 tools/perf/util/pmu.y PP_CONFIG1 ':' bits bits 57 tools/perf/util/pmu.y PP_CONFIG2 ':' bits bits 64 tools/perf/util/pmu.y bits: bits 65 tools/perf/util/pmu.y bits ',' bit_term bits 689 tools/perf/util/svghelper.c #define cpumask_bits(maskp) ((maskp)->bits) bits 690 tools/perf/util/svghelper.c typedef struct { DECLARE_BITMAP(bits, MAX_NR_CPUS); } cpumask_t; bits 29 tools/power/cpupower/utils/helpers/amd.c } bits; bits 51 tools/power/cpupower/utils/helpers/amd.c t = pstate.bits.did; bits 67 tools/power/cpupower/utils/helpers/amd.c fid = pstate.bits.fid; bits 124 tools/power/cpupower/utils/helpers/amd.c else if (!pstate.bits.en) bits 82 tools/spi/spidev_fdx.c __u8 lsb, bits; bits 93 tools/spi/spidev_fdx.c if (ioctl(fd, SPI_IOC_RD_BITS_PER_WORD, &bits) < 0) { bits 103 tools/spi/spidev_fdx.c name, mode, bits, lsb ? "(lsb first) " : "", speed); bits 35 tools/spi/spidev_test.c static uint8_t bits = 8; bits 123 tools/spi/spidev_test.c .bits_per_word = bits, bits 234 tools/spi/spidev_test.c bits = atoi(optarg); bits 426 tools/spi/spidev_test.c ret = ioctl(fd, SPI_IOC_WR_BITS_PER_WORD, &bits); bits 430 tools/spi/spidev_test.c ret = ioctl(fd, SPI_IOC_RD_BITS_PER_WORD, &bits); bits 446 tools/spi/spidev_test.c printf("bits per word: %d\n", bits); bits 15 tools/testing/selftests/bpf/test_btf.h #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ bits 17 tools/testing/selftests/bpf/test_btf.h BTF_INT_ENC(encoding, bits_offset, bits) bits 28 tools/testing/selftests/kvm/lib/aarch64/ucall.c unsigned int bits; bits 54 tools/testing/selftests/kvm/lib/aarch64/ucall.c bits = vm->va_bits - 1; bits 55 tools/testing/selftests/kvm/lib/aarch64/ucall.c bits = vm->pa_bits < bits ? vm->pa_bits : bits; bits 56 tools/testing/selftests/kvm/lib/aarch64/ucall.c end = 1ul << bits; bits 60 tools/testing/selftests/powerpc/primitives/word-at-a-time.h static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) bits 66 tools/testing/selftests/powerpc/primitives/word-at-a-time.h *bits = ret; bits 71 tools/testing/selftests/powerpc/primitives/word-at-a-time.h static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) bits 73 tools/testing/selftests/powerpc/primitives/word-at-a-time.h return bits; bits 77 tools/testing/selftests/powerpc/primitives/word-at-a-time.h static inline unsigned long create_zero_mask(unsigned long bits) bits 86 tools/testing/selftests/powerpc/primitives/word-at-a-time.h : "b" (bits)); bits 127 tools/testing/selftests/powerpc/primitives/word-at-a-time.h static inline unsigned long create_zero_mask(unsigned long bits) bits 129 tools/testing/selftests/powerpc/primitives/word-at-a-time.h bits = (bits - 1) & ~bits; bits 130 tools/testing/selftests/powerpc/primitives/word-at-a-time.h return bits >> 7; bits 139 tools/testing/selftests/powerpc/primitives/word-at-a-time.h static inline unsigned long has_zero(unsigned long a, unsigned long *bits, const struct word_at_a_time *c) bits 142 tools/testing/selftests/powerpc/primitives/word-at-a-time.h *bits = mask; bits 146 tools/testing/selftests/powerpc/primitives/word-at-a-time.h static inline unsigned long prep_zero_mask(unsigned long a, unsigned long bits, const struct word_at_a_time *c) bits 148 tools/testing/selftests/powerpc/primitives/word-at-a-time.h return bits; bits 16 tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/types.h #define DECLARE_BITMAP(name, bits) \ bits 17 tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/types.h unsigned long name[BITS_TO_LONGS(bits)] bits 2189 tools/testing/selftests/seccomp/seccomp_bpf.c int bits = 0; bits 2195 tools/testing/selftests/seccomp/seccomp_bpf.c bits ++; bits 2198 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(1, bits); bits 57 tools/testing/selftests/vDSO/parse_vdso.c #define ELF_BITS_XFORM2(bits, x) Elf##bits##_##x bits 58 tools/testing/selftests/vDSO/parse_vdso.c #define ELF_BITS_XFORM(bits, x) ELF_BITS_XFORM2(bits, x) bits 60 tools/testing/selftests/vm/virtual_address_range.c int bits = HIGH_ADDR_SHIFT + rand() % (63 - HIGH_ADDR_SHIFT); bits 62 tools/testing/selftests/vm/virtual_address_range.c return (char *) (1UL << bits); bits 1145 tools/vm/page-types.c static void add_bits_filter(uint64_t mask, uint64_t bits) bits 1151 tools/vm/page-types.c opt_bits[nr_bit_filters] = bits; bits 1197 tools/vm/page-types.c uint64_t bits; bits 1203 tools/vm/page-types.c bits = parse_flag_names(p + 1, 0); bits 1206 tools/vm/page-types.c bits = parse_flag_names(p + 1, 0); bits 1209 tools/vm/page-types.c bits = parse_flag_names(optarg, 0); bits 1212 tools/vm/page-types.c bits = KPF_ALL_BITS; bits 1215 tools/vm/page-types.c add_bits_filter(mask, bits); bits 48 virt/kvm/arm/vgic/vgic-mmio.h #define VGIC_ADDR_IRQ_MASK(bits) (((bits) * 1024 / 8) - 1) bits 58 virt/kvm/arm/vgic/vgic-mmio.h #define VGIC_ADDR_TO_INTID(addr, bits) (((addr) & VGIC_ADDR_IRQ_MASK(bits)) * \ bits 59 virt/kvm/arm/vgic/vgic-mmio.h 8 >> ilog2(bits))