/drivers/media/usb/pwc/ |
D | pwc-dec23.c | 594 int compression_index, nblocks; in DecompressBand23() local 605 nblocks = compressed_image_width / 4; in DecompressBand23() 611 while (nblocks) { in DecompressBand23() 615 nblocks--; in DecompressBand23() 619 nblocks = compressed_image_width / 8; in DecompressBand23() 625 while (nblocks) { in DecompressBand23() 634 nblocks -= 2; in DecompressBand23()
|
/drivers/s390/char/ |
D | tape_char.c | 193 int nblocks; in tapechar_write() local 206 nblocks = count / block_size; in tapechar_write() 209 nblocks = 1; in tapechar_write() 217 DBF_EVENT(6, "TCHAR:nblocks: %x\n", nblocks); in tapechar_write() 224 for (i = 0; i < nblocks; i++) { in tapechar_write()
|
/drivers/misc/ |
D | sram.c | 179 unsigned int nblocks, exports = 0; in sram_reserve_regions() local 191 nblocks = (np) ? of_get_available_child_count(np) + 1 : 1; in sram_reserve_regions() 192 rblocks = kcalloc(nblocks, sizeof(*rblocks), GFP_KERNEL); in sram_reserve_regions() 261 rblocks[nblocks - 1].start = size; in sram_reserve_regions() 262 rblocks[nblocks - 1].size = 0; in sram_reserve_regions() 263 list_add_tail(&rblocks[nblocks - 1].list, &reserve_list); in sram_reserve_regions()
|
/drivers/staging/greybus/ |
D | sdio.c | 255 size_t len, u16 nblocks, off_t skip) in _gb_sdio_send() argument 277 request->data_blocks = cpu_to_le16(nblocks); in _gb_sdio_send() 309 size_t len, u16 nblocks, off_t skip) in _gb_sdio_recv() argument 331 request->data_blocks = cpu_to_le16(nblocks); in _gb_sdio_recv() 365 u16 nblocks; in gb_sdio_transfer() local 385 nblocks = len / data->blksz; in gb_sdio_transfer() 386 len = nblocks * data->blksz; in gb_sdio_transfer() 389 ret = _gb_sdio_recv(host, data, len, nblocks, skip); in gb_sdio_transfer() 393 ret = _gb_sdio_send(host, data, len, nblocks, skip); in gb_sdio_transfer()
|
/drivers/mtd/nand/ |
D | bbt.c | 26 unsigned int nblocks = nanddev_neraseblocks(nand); in nanddev_bbt_init() local 28 nand->bbt.cache = bitmap_zalloc(nblocks * bits_per_block, GFP_KERNEL); in nanddev_bbt_init()
|
/drivers/mtd/ |
D | ftl.c | 749 u_long sector, u_long nblocks) in ftl_read() argument 757 part, sector, nblocks); in ftl_read() 764 for (i = 0; i < nblocks; i++) { in ftl_read() 863 u_long sector, u_long nblocks) in ftl_write() argument 871 part, sector, nblocks); in ftl_write() 877 while (part->FreeTotal < nblocks) { in ftl_write() 886 for (i = 0; i < nblocks; i++) { in ftl_write()
|
/drivers/dma/ |
D | apple-admac.c | 155 int i, ret = 0, nblocks; in admac_alloc_sram_carveout() local 164 nblocks = sram->size / SRAM_BLOCK; in admac_alloc_sram_carveout() 165 for (i = 0; i < nblocks; i++) in admac_alloc_sram_carveout() 169 if (i < nblocks) { in admac_alloc_sram_carveout()
|
/drivers/nvme/host/ |
D | ioctl.c | 287 length = (io.nblocks + 1) << ns->lba_shift; in nvme_submit_io() 300 meta_len = (io.nblocks + 1) * ns->ms; in nvme_submit_io() 317 c.rw.length = cpu_to_le16(io.nblocks); in nvme_submit_io() 671 __u16 nblocks; member
|
/drivers/cdrom/ |
D | cdrom.c | 2050 int blocksize, int nblocks) in cdrom_read_cd() argument 2060 cgc->cmd[6] = (nblocks >> 16) & 0xff; in cdrom_read_cd() 2061 cgc->cmd[7] = (nblocks >> 8) & 0xff; in cdrom_read_cd() 2062 cgc->cmd[8] = nblocks & 0xff; in cdrom_read_cd() 2063 cgc->buflen = blocksize * nblocks; in cdrom_read_cd() 2070 int lba, int nblocks, int format, int blksize) in cdrom_read_block() argument 2084 cgc->cmd[6] = (nblocks >> 16) & 0xff; in cdrom_read_block() 2085 cgc->cmd[7] = (nblocks >> 8) & 0xff; in cdrom_read_block() 2086 cgc->cmd[8] = nblocks & 0xff; in cdrom_read_block() 2087 cgc->buflen = blksize * nblocks; in cdrom_read_block()
|
/drivers/block/ |
D | virtio_blk.c | 980 unsigned long long nblocks; in virtblk_update_capacity() local 986 nblocks = DIV_ROUND_UP_ULL(capacity, queue_logical_block_size(q) >> 9); in virtblk_update_capacity() 988 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity() 990 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity() 997 nblocks, in virtblk_update_capacity()
|
/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
D | topaz_pcie.c | 909 u32 nblocks; in qtnf_ep_fw_load() local 939 nblocks = NBLOCKS(fw_size, blksize); in qtnf_ep_fw_load() 950 for (count = 0 ; count < nblocks; count++) { in qtnf_ep_fw_load()
|