/linux/mm/ |
H A D | cma.c | 390 unsigned long nbits = cma_bitmap_maxno(cma); in cma_debug_show_areas() local 395 next_zero_bit = find_next_zero_bit(cma->bitmap, nbits, start); in cma_debug_show_areas() 396 if (next_zero_bit >= nbits) in cma_debug_show_areas() 398 next_set_bit = find_next_bit(cma->bitmap, nbits, next_zero_bit); in cma_debug_show_areas()
|
/linux/arch/sparc/kernel/ |
H A D | adi_64.c | 93 adi_state.caps.nbits = *val; in mdesc_adi_init() 108 if (adi_state.caps.nbits > 4) { in mdesc_adi_init() 119 adi_state.caps.nbits = 0; in mdesc_adi_init()
|
/linux/lib/ |
H A D | find_bit_benchmark.c | 151 unsigned long nbits = BITMAP_LEN / SPARSE; in find_bit_test() local 176 while (nbits--) { in find_bit_test()
|
H A D | bch.c | 1024 unsigned int nbits; in bch_decode() local 1067 nbits = (len*8)+bch->ecc_bits; in bch_decode() 1069 if (errloc[i] >= nbits) { in bch_decode() 1073 errloc[i] = nbits-1-errloc[i]; in bch_decode() 1204 unsigned int i, j, nbits, r, word, *roots; in compute_generator_polynomial() local 1246 nbits = (n > 32) ? 32 : n; in compute_generator_polynomial() 1247 for (j = 0, word = 0; j < nbits; j++) { in compute_generator_polynomial() 1252 n -= nbits; in compute_generator_polynomial()
|
H A D | test_printf.c | 546 const int nbits = 1 << 16; in large_bitmap() local 547 unsigned long *bits = bitmap_zalloc(nbits, GFP_KERNEL); in large_bitmap() 553 test("1-20,60000-60014", "%*pbl", nbits, bits); in large_bitmap()
|
/linux/include/crypto/ |
H A D | ecc_curve.h | 38 u32 nbits; member
|
/linux/drivers/spi/ |
H A D | spi-pic32-sqi.c | 267 u32 nbits; in pic32_sqi_one_transfer() local 275 nbits = xfer->rx_nbits; in pic32_sqi_one_transfer() 279 nbits = xfer->tx_nbits; in pic32_sqi_one_transfer() 284 if (nbits & SPI_NBITS_QUAD) in pic32_sqi_one_transfer() 286 else if (nbits & SPI_NBITS_DUAL) in pic32_sqi_one_transfer()
|
H A D | spi-armada-3700.c | 596 unsigned int nbits = 0, byte_len; in a3700_spi_transfer_one_fifo() local 607 nbits = xfer->tx_nbits; in a3700_spi_transfer_one_fifo() 609 nbits = xfer->rx_nbits; in a3700_spi_transfer_one_fifo() 611 a3700_spi_pin_mode_set(a3700_spi, nbits, xfer->rx_buf ? true : false); in a3700_spi_transfer_one_fifo()
|
H A D | spi-sun6i.c | 284 unsigned int tx_len = 0, rx_len = 0, nbits = 0; in sun6i_spi_transfer_one() local 439 nbits = tfr->tx_nbits; in sun6i_spi_transfer_one() 441 nbits = tfr->rx_nbits; in sun6i_spi_transfer_one() 444 switch (nbits) { in sun6i_spi_transfer_one()
|
/linux/drivers/media/usb/pwc/ |
H A D | pwc-dec23.h | 25 unsigned int nbitsmask, nbits; /* Number of bits of a color in the compressed stream */ member
|
/linux/include/linux/firmware/cirrus/ |
H A D | cs_dsp.h | 328 int cs_dsp_chunk_write(struct cs_dsp_chunk *ch, int nbits, u32 val); 330 int cs_dsp_chunk_read(struct cs_dsp_chunk *ch, int nbits);
|
/linux/drivers/mfd/ |
H A D | twl4030-irq.c | 81 #define SIH_INITIALIZER(modname, nbits) \ argument 84 .bits = nbits, \ 85 .bytes_ixr = DIV_ROUND_UP(nbits, 8), \ 87 .bytes_edr = DIV_ROUND_UP((2*(nbits)), 8), \
|
/linux/arch/parisc/include/asm/ |
H A D | irq.h | 41 extern int txn_alloc_irq(unsigned int nbits);
|
/linux/arch/x86/kernel/ |
H A D | aperture_64.c | 170 int nbits; in read_agp() local 190 nbits = hweight16(apsize); in read_agp() 191 *order = 7 - nbits; in read_agp()
|
/linux/lib/crypto/mpi/ |
H A D | ec.c | 41 (void)nbits; /* Currently not used. */ in mpi_point_new() 580 ctx->nbits = 256; in mpi_ec_init() 582 ctx->nbits = mpi_get_nbits(p); in mpi_ec_init() 1229 unsigned int nbits; in mpi_ec_mul_point() local 1233 nbits = mpi_get_nbits(scalar); in mpi_ec_mul_point() 1235 nbits = mpi_get_nbits(ctx->p); in mpi_ec_mul_point() 1245 for (j = nbits-1; j >= 0; j--) { in mpi_ec_mul_point() 1252 unsigned int nbits; in mpi_ec_mul_point() local 1264 nbits = mpi_get_nbits(scalar); in mpi_ec_mul_point() 1287 for (j = nbits-1; j >= 0; j--) { in mpi_ec_mul_point() [all …]
|
/linux/tools/testing/selftests/iommu/ |
H A D | iommufd_utils.h | 353 unsigned long nbits = bitmap_size * BITS_PER_BYTE; in _test_mock_dirty_bitmaps() local 354 unsigned long j, i, nr = nbits / pteset ?: 1; in _test_mock_dirty_bitmaps() 359 for (i = 0; i < nbits; i += pteset) in _test_mock_dirty_bitmaps() 371 for (i = 0; i < nbits; i += pteset) { in _test_mock_dirty_bitmaps() 384 for (i = 0; i < nbits; i += pteset) { in _test_mock_dirty_bitmaps()
|
/linux/arch/parisc/math-emu/ |
H A D | driver.c | 70 extern void printbinary(unsigned long x, int nbits); in handle_fpe()
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | cdns-pcie-host.yaml | 25 cdns,no-bar-match-nbits:
|
/linux/fs/btrfs/ |
H A D | extent_io.h | 85 #define BITMAP_LAST_BYTE_MASK(nbits) \ argument 86 (BYTE_MASK >> (-(nbits) & (BITS_PER_BYTE - 1)))
|
/linux/drivers/crypto/aspeed/ |
H A D | aspeed-acry.c | 253 int nbits, ndw; in aspeed_acry_rsa_ctx_copy() local 268 nbits = nbytes * 8; in aspeed_acry_rsa_ctx_copy() 270 nbits -= count_leading_zeros(src[0]) - (BITS_PER_LONG - 8); in aspeed_acry_rsa_ctx_copy() 296 return nbits; in aspeed_acry_rsa_ctx_copy()
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio-grgpio.txt | 18 - nbits : The number of gpio lines. If not present driver assumes 32 lines.
|
/linux/arch/parisc/kernel/ |
H A D | traps.c | 59 static int printbinary(char *buf, unsigned long x, int nbits) in printbinary() argument 61 unsigned long mask = 1UL << (nbits - 1); in printbinary() 68 return nbits; in printbinary()
|
/linux/drivers/firmware/cirrus/ |
H A D | cs_dsp.c | 3300 * @nbits: Number of bits to write in cs_dsp_chunk_flush() 3310 int cs_dsp_chunk_write(struct cs_dsp_chunk *ch, int nbits, u32 val) 3314 nwrite = min(CS_DSP_DATA_WORD_BITS - ch->cachebits, nbits); 3317 ch->cache |= val >> (nbits - nwrite); in cs_dsp_chunk_read() 3319 nbits -= nwrite; in cs_dsp_chunk_read() 3333 if (nbits) in cs_dsp_chunk_read() 3334 return cs_dsp_chunk_write(ch, nbits, val); in cs_dsp_chunk_read() 3362 * @nbits: Number of bits to read 3369 int cs_dsp_chunk_read(struct cs_dsp_chunk *ch, int nbits) 3387 nread = min(ch->cachebits, nbits); 3256 cs_dsp_chunk_write(struct cs_dsp_chunk * ch,int nbits,u32 val) cs_dsp_chunk_write() argument 3315 cs_dsp_chunk_read(struct cs_dsp_chunk * ch,int nbits) cs_dsp_chunk_read() argument [all...] |
/linux/drivers/crypto/ |
H A D | img-hash.c | 466 unsigned long long nbits; in img_hash_hw_init() local 473 nbits = (u64)hdev->req->nbytes << 3; in img_hash_hw_init() 474 u = nbits >> 32; in img_hash_hw_init() 475 l = nbits; in img_hash_hw_init() 483 dev_dbg(hdev->dev, "hw initialized, nbits: %llx\n", nbits); in img_hash_hw_init()
|
/linux/arch/sparc/include/asm/ |
H A D | elf_64.h | 223 NEW_AUX_ENT(AT_ADI_NBITS, adi_state.caps.nbits); \
|