/linux-master/drivers/mfd/ |
H A D | twl4030-irq.c | 81 #define SIH_INITIALIZER(modname, nbits) \ 84 .bits = nbits, \ 85 .bytes_ixr = DIV_ROUND_UP(nbits, 8), \ 87 .bytes_edr = DIV_ROUND_UP((2*(nbits)), 8), \
|
/linux-master/include/linux/ |
H A D | nvmem-provider.h | 59 * @nbits: Number of bits. 71 unsigned int nbits; member in struct:nvmem_cell_info
|
/linux-master/fs/ntfs3/ |
H A D | bitmap.c | 302 wnd->nbits : 571 if (wbit + wbits > wnd->nbits) 572 wbits = wnd->nbits - wbit; 622 wnd_add_free_ext(wnd, wnd->nbits - prev_tail, prev_tail, true); 644 int wnd_init(struct wnd_bitmap *wnd, struct super_block *sb, size_t nbits) argument 653 wnd->nbits = nbits; 654 wnd->total_zeroes = nbits; 657 wnd->nwnd = bytes_to_block(sb, bitmap_size(nbits)); 658 wnd->bits_last = nbits [all...] |
H A D | index.c | 200 u32 nbits; member in struct:bmp_buf 233 bbuf->nbits = data_size * 8; 281 bbuf->nbits = 8 * blocksize; 370 u32 nbits = sb->s_blocksize * 8; local 389 from &= nbits - 1; 432 nbits = 8 * (data_size - vbo); 434 ok = nbits > from ? 435 (*fn)((ulong *)bh->b_data, from, nbits, ret) : 492 u32 nbits = 8 * le32_to_cpu(b->res.data_size); local 493 size_t pos = find_next_zero_bit_le(resident_data(b), nbits, 539 u32 nbits = le32_to_cpu(b->res.data_size) * 8; local 2046 size_t nbits; local [all...] |
/linux-master/mm/ |
H A D | cma.c | 390 unsigned long nbits = cma_bitmap_maxno(cma); local 395 next_zero_bit = find_next_zero_bit(cma->bitmap, nbits, start); 396 if (next_zero_bit >= nbits) 398 next_set_bit = find_next_bit(cma->bitmap, nbits, next_zero_bit);
|
/linux-master/lib/math/ |
H A D | prime_numbers.c | 9 #define bitmap_size(nbits) (BITS_TO_LONGS(nbits) * sizeof(unsigned long))
|
/linux-master/fs/btrfs/ |
H A D | extent_io.h | 84 #define BITMAP_LAST_BYTE_MASK(nbits) \ 85 (BYTE_MASK >> (-(nbits) & (BITS_PER_BYTE - 1)))
|
/linux-master/include/linux/firmware/cirrus/ |
H A D | cs_dsp.h | 324 int cs_dsp_chunk_write(struct cs_dsp_chunk *ch, int nbits, u32 val); 326 int cs_dsp_chunk_read(struct cs_dsp_chunk *ch, int nbits);
|
/linux-master/drivers/spi/ |
H A D | spi-pic32-sqi.c | 267 u32 nbits; local 275 nbits = xfer->rx_nbits; 279 nbits = xfer->tx_nbits; 284 if (nbits & SPI_NBITS_QUAD) 286 else if (nbits & SPI_NBITS_DUAL)
|
H A D | spi-armada-3700.c | 596 unsigned int nbits = 0, byte_len; local 607 nbits = xfer->tx_nbits; 609 nbits = xfer->rx_nbits; 611 a3700_spi_pin_mode_set(a3700_spi, nbits, xfer->rx_buf ? true : false);
|
H A D | spi-sun6i.c | 283 unsigned int tx_len = 0, rx_len = 0, nbits = 0; local 438 nbits = tfr->tx_nbits; 440 nbits = tfr->rx_nbits; 443 switch (nbits) {
|
/linux-master/drivers/pinctrl/bcm/ |
H A D | pinctrl-iproc-gpio.c | 445 unsigned int bit, nbits = 0; local 449 nbits++; 451 if (!nbits) 458 chip->pinconf_disable = devm_kcalloc(chip->dev, nbits, 464 chip->nr_pinconf_disable = nbits; 467 nbits = 0; 469 chip->pinconf_disable[nbits++] = iproc_pinconf_disable_map[bit];
|
/linux-master/lib/crypto/mpi/ |
H A D | ec.c | 37 MPI_POINT mpi_point_new(unsigned int nbits) argument 41 (void)nbits; /* Currently not used. */ 580 ctx->nbits = 256; 582 ctx->nbits = mpi_get_nbits(p); 1229 unsigned int nbits; local 1233 nbits = mpi_get_nbits(scalar); 1235 nbits = mpi_get_nbits(ctx->p); 1245 for (j = nbits-1; j >= 0; j--) { 1252 unsigned int nbits; local 1264 nbits [all...] |
H A D | mpiutil.c | 109 a->nbits = 0;
|
/linux-master/arch/x86/kernel/ |
H A D | aperture_64.c | 170 int nbits; local 190 nbits = hweight16(apsize); 191 *order = 7 - nbits;
|
/linux-master/arch/sparc/include/asm/ |
H A D | elf_64.h | 223 NEW_AUX_ENT(AT_ADI_NBITS, adi_state.caps.nbits); \
|
/linux-master/drivers/crypto/aspeed/ |
H A D | aspeed-acry.c | 253 int nbits, ndw; local 268 nbits = nbytes * 8; 270 nbits -= count_leading_zeros(src[0]) - (BITS_PER_LONG - 8); 296 return nbits;
|
/linux-master/drivers/nvmem/ |
H A D | mtk-efuse.c | 58 if (cell->nbits <= 3 &&
|
/linux-master/lib/ |
H A D | bch.c | 1024 unsigned int nbits; local 1067 nbits = (len*8)+bch->ecc_bits; 1069 if (errloc[i] >= nbits) { 1073 errloc[i] = nbits-1-errloc[i]; 1204 unsigned int i, j, nbits, r, word, *roots; local 1246 nbits = (n > 32) ? 32 : n; 1247 for (j = 0, word = 0; j < nbits; j++) { 1252 n -= nbits;
|
H A D | test_printf.c | 546 const int nbits = 1 << 16; local 547 unsigned long *bits = bitmap_zalloc(nbits, GFP_KERNEL); 553 test("1-20,60000-60014", "%*pbl", nbits, bits);
|
/linux-master/drivers/crypto/ |
H A D | img-hash.c | 466 unsigned long long nbits; local 473 nbits = (u64)hdev->req->nbytes << 3; 474 u = nbits >> 32; 475 l = nbits; 483 dev_dbg(hdev->dev, "hw initialized, nbits: %llx\n", nbits);
|
/linux-master/tools/testing/selftests/iommu/ |
H A D | iommufd_utils.h | 353 unsigned long nbits = bitmap_size * BITS_PER_BYTE; local 354 unsigned long j, i, nr = nbits / pteset ?: 1; 359 for (i = 0; i < nbits; i += pteset) 371 for (i = 0; i < nbits; i += pteset) { 384 for (i = 0; i < nbits; i += pteset) {
|
/linux-master/arch/parisc/kernel/ |
H A D | traps.c | 59 static int printbinary(char *buf, unsigned long x, int nbits) argument 61 unsigned long mask = 1UL << (nbits - 1); 68 return nbits;
|
/linux-master/crypto/ |
H A D | sm2.c | 28 unsigned int nbits; /* Number of bits. */ member in struct:ecc_domain_parms 53 .nbits = 256,
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | alloc.c | 80 u32 start, u32 nbits, 88 while ((start < nbits) && (test_bit(start, bitmap) || 92 if (start >= nbits) 96 if (end > nbits) 79 find_aligned_range(unsigned long *bitmap, u32 start, u32 nbits, int len, int align, u32 skip_mask) argument
|