Searched refs:nbits (Results 51 - 75 of 117) sorted by relevance

12345

/linux-master/drivers/mfd/
H A Dtwl4030-irq.c81 #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 Dnvmem-provider.h59 * @nbits: Number of bits.
71 unsigned int nbits; member in struct:nvmem_cell_info
/linux-master/fs/ntfs3/
H A Dbitmap.c302 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 Dindex.c200 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 Dcma.c390 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 Dprime_numbers.c9 #define bitmap_size(nbits) (BITS_TO_LONGS(nbits) * sizeof(unsigned long))
/linux-master/fs/btrfs/
H A Dextent_io.h84 #define BITMAP_LAST_BYTE_MASK(nbits) \
85 (BYTE_MASK >> (-(nbits) & (BITS_PER_BYTE - 1)))
/linux-master/include/linux/firmware/cirrus/
H A Dcs_dsp.h324 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 Dspi-pic32-sqi.c267 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 Dspi-armada-3700.c596 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 Dspi-sun6i.c283 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 Dpinctrl-iproc-gpio.c445 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 Dec.c37 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 Dmpiutil.c109 a->nbits = 0;
/linux-master/arch/x86/kernel/
H A Daperture_64.c170 int nbits; local
190 nbits = hweight16(apsize);
191 *order = 7 - nbits;
/linux-master/arch/sparc/include/asm/
H A Delf_64.h223 NEW_AUX_ENT(AT_ADI_NBITS, adi_state.caps.nbits); \
/linux-master/drivers/crypto/aspeed/
H A Daspeed-acry.c253 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 Dmtk-efuse.c58 if (cell->nbits <= 3 &&
/linux-master/lib/
H A Dbch.c1024 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 Dtest_printf.c546 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 Dimg-hash.c466 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 Diommufd_utils.h353 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 Dtraps.c59 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 Dsm2.c28 unsigned int nbits; /* Number of bits. */ member in struct:ecc_domain_parms
53 .nbits = 256,
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dalloc.c80 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

Completed in 238 milliseconds

12345