/drivers/gpu/drm/nouveau/core/include/core/ |
H A D | ramht.h | 8 int bits; member in struct:nouveau_ramht
|
/drivers/gpu/drm/nouveau/core/include/subdev/bios/ |
H A D | M0209.h | 9 u8 bits; member in struct:nvbios_M0209E
|
/drivers/spi/ |
H A D | spi-bitbang-txrx.h | 48 u32 word, u8 bits) 53 for (word <<= (32 - bits); likely(bits); bits--) { 75 u32 word, u8 bits) 80 for (word <<= (32 - bits); likely(bits); bits--) { 46 bitbang_txrx_be_cpha0(struct spi_device *spi, unsigned nsecs, unsigned cpol, unsigned flags, u32 word, u8 bits) argument 73 bitbang_txrx_be_cpha1(struct spi_device *spi, unsigned nsecs, unsigned cpol, unsigned flags, u32 word, u8 bits) argument
|
/drivers/clocksource/ |
H A D | mmio.c | 49 * @bits: Number of valid bits 53 unsigned long hz, int rating, unsigned bits, 58 if (bits > 32 || bits < 16) 69 cs->clksrc.mask = CLOCKSOURCE_MASK(bits); 52 clocksource_mmio_init(void __iomem *base, const char *name, unsigned long hz, int rating, unsigned bits, cycle_t (*read)(struct clocksource *)) argument
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_wc_x86_64.c | 56 unsigned bits; local 68 * register has both offsets, 2K in low 32 bits, 4K in high 32 bits. 90 for (bits = 0; !(piolen & (1ULL << bits)); bits++) 93 if (piolen != (1ULL << bits)) { 94 piolen >>= bits; local 96 bits++; 97 piolen = 1ULL << (bits [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_wc_x86_64.c | 57 unsigned bits; local 69 * register has both offsets, 2K in low 32 bits, 4K in high 32 bits. 93 for (bits = 0; !(piolen & (1ULL << bits)); bits++) 96 if (piolen != (1ULL << bits)) { 97 piolen >>= bits; local 99 bits++; 100 piolen = 1ULL << (bits [all...] |
/drivers/xen/ |
H A D | acpi.c | 42 unsigned int bits = extended ? 8 : 16; local 55 if (WARN((val_a & (~0 << bits)) || (val_b & (~0 << bits)), 56 "Using more than %u bits of sleep control values %#x/%#x!" 58 bits, val_a, val_b))
|
/drivers/acpi/ |
H A D | acpi_cmos_rtc.c | 32 u32 bits, u64 *value64, 46 for (i = 0; i < DIV_ROUND_UP(bits, 8); ++i, ++address, ++value) 31 acpi_cmos_rtc_space_handler(u32 function, acpi_physical_address address, u32 bits, u64 *value64, void *handler_context, void *region_context) argument
|
/drivers/misc/cb710/ |
H A D | debug.c | 25 static inline int allow_reg_read(unsigned block, unsigned offset, unsigned bits) argument 27 unsigned mask = (1 << bits/8) - 1; 28 offset *= bits/8;
|
/drivers/cpufreq/ |
H A D | powernow-k7.h | 23 } bits; member in union:msr_fidvidctl 41 } bits; member in union:msr_fidvidstatus
|
/drivers/gpu/drm/nouveau/core/subdev/bios/ |
H A D | M0209.c | 84 info->bits = nv_ro08(bios, data + 0x00) & 0x3f; 123 u32 bits = (i % M0209E.modulo) * M0209E.bits; local 124 u32 mask = (1ULL << M0209E.bits) - 1; 125 u16 off = bits / 8; 126 u8 mod = bits % 8;
|
/drivers/mfd/ |
H A D | pcf50633-irq.c | 96 u8 reg, bits; local 99 bits = 1 << (irq & 0x07); 101 return pcf->mask_regs[reg] & bits;
|
/drivers/misc/altera-stapl/ |
H A D | altera-comp.c | 53 static u32 altera_read_packed(u8 *buffer, u32 bits, u32 *bits_avail, argument 60 while (bits > 0) { 65 if (bits <= *bits_avail) { 66 result &= (0xffff >> (SHORT_BITS - (bits + shift))); 67 *bits_avail -= bits; 68 bits = 0; 72 bits -= *bits_avail;
|
/drivers/s390/cio/ |
H A D | airq.c | 116 * @bits: number of bits in the interrupt vector 121 struct airq_iv *airq_iv_create(unsigned long bits, unsigned long flags) argument 129 iv->bits = bits; 130 size = BITS_TO_LONGS(bits) * sizeof(unsigned long); 141 iv->end = bits; 148 size = bits * sizeof(unsigned long); 154 size = bits * sizeof(unsigned int); 189 * airq_iv_alloc - allocate irq bits fro [all...] |
/drivers/staging/comedi/kcomedilib/ |
H A D | kcomedilib_main.c | 175 unsigned int mask, unsigned int *bits, 196 data[1] = *bits; 214 *bits = data[1] >> shift; 174 comedi_dio_bitfield2(struct comedi_device *dev, unsigned int subdev, unsigned int mask, unsigned int *bits, unsigned int base_channel) argument
|
/drivers/staging/iio/accel/ |
H A D | adis16201_core.c | 39 int bits; local 80 bits = 12; 83 bits = 9; 95 val16 &= (1 << bits) - 1; 96 val16 = (s16)(val16 << (16 - bits)) >> (16 - bits); 111 int bits; local 119 bits = 12; 122 bits = 9; 127 val16 = val & ((1 << bits) [all...] |
H A D | adis16203_core.c | 51 int bits; local 85 bits = 14; 93 val16 &= (1 << bits) - 1; 94 val16 = (s16)(val16 << (16 - bits)) >> (16 - bits);
|
H A D | adis16204_core.c | 43 int bits; local 90 bits = 12; 93 bits = 14; 103 val16 &= (1 << bits) - 1; 104 val16 = (s16)(val16 << (16 - bits)) >> (16 - bits); 119 int bits; local 127 bits = 12; 132 val16 = val & ((1 << bits) - 1);
|
H A D | adis16209_core.c | 44 int bits; local 53 bits = 14; 58 val16 = val & ((1 << bits) - 1); 72 int bits; local 112 bits = 14; 124 val16 &= (1 << bits) - 1; 125 val16 = (s16)(val16 << (16 - bits)) >> (16 - bits);
|
/drivers/video/fbdev/core/ |
H A D | cfbfillrect.c | 36 unsigned long pat, unsigned n, int bits, u32 bswapmask) 44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); 46 if (dst_idx+n <= bits) { 54 // Leading bits 58 n -= bits - dst_idx; 62 n /= bits; 77 // Trailing bits 93 unsigned long pat, int left, int right, unsigned n, int bits) 101 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); 103 if (dst_idx+n <= bits) { 35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, unsigned n, int bits, u32 bswapmask) argument 92 bitfill_unaligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument 146 bitfill_aligned_rev(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, unsigned n, int bits, u32 bswapmask) argument 217 bitfill_unaligned_rev(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument 282 int bits = BITS_PER_LONG, bytes = bits >> 3; local [all...] |
H A D | syscopyarea.c | 29 const unsigned long *src, int src_idx, int bits, unsigned n) 36 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); 40 if (dst_idx+n <= bits) { 47 /* Leading bits */ 52 n -= bits - dst_idx; 56 n /= bits; 71 /* Trailing bits */ 80 right = shift & (bits - 1); 81 left = -shift & (bits - 1); 83 if (dst_idx+n <= bits) { 28 bitcpy(struct fb_info *p, unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, int bits, unsigned n) argument 169 bitcpy_rev(struct fb_info *p, unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, int bits, unsigned n) argument 321 int bits = BITS_PER_LONG, bytes = bits >> 3; local [all...] |
H A D | sysfillrect.c | 26 unsigned long pat, unsigned n, int bits) 34 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); 36 if (dst_idx+n <= bits) { 44 /* Leading bits */ 48 n -= bits - dst_idx; 52 n /= bits; 66 /* Trailing bits */ 82 unsigned long pat, int left, int right, unsigned n, int bits) 90 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); 92 if (dst_idx+n <= bits) { 25 bitfill_aligned(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, unsigned n, int bits) argument 81 bitfill_unaligned(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument 135 bitfill_aligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, unsigned n, int bits) argument 191 bitfill_unaligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument 247 int bits = BITS_PER_LONG, bytes = bits >> 3; local [all...] |
/drivers/block/drbd/ |
H A D | drbd_vli.h | 41 * gives the number of set or unset bits. 47 * Still, there may be areas where the polarity flips every few bits, 56 * For some cases, we produce more code bits than plaintext input. 88 * Number of data bits follow fibonacci sequence, with the exception of the 90 * encoding bit polarity runlength is 1 plain bits => 2 code bits. 91 prefix data bits max val NÂș data bits 119 #................. s ........................... plain bits .......... 124 /* LEVEL: (total bits, prefi 219 bitstream_cursor_advance(struct bitstream_cursor *cur, unsigned int bits) argument 260 bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) argument 293 bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) argument 343 int bits = __vli_encode_bits(&code, in); local [all...] |
/drivers/gpu/drm/ |
H A D | drm_hashtab.c | 137 * Just insert an item and return any "bits" bit key that hasn't been 141 unsigned long seed, int bits, int shift, 145 unsigned long mask = (1 << bits) - 1; 148 unshifted_key = hash_long(seed, bits); 140 drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, unsigned long seed, int bits, int shift, unsigned long add) argument
|
/drivers/input/keyboard/ |
H A D | goldfish_events.c | 59 unsigned long bits[], unsigned type, size_t count) 77 set_bit(i + j, bits); 58 events_import_bits(struct event_dev *edev, unsigned long bits[], unsigned type, size_t count) argument
|