Home
last modified time | relevance | path

Searched refs:nblocks (Results 1 – 11 of 11) sorted by relevance

/drivers/media/usb/pwc/
Dpwc-dec23.c594 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/
Dtape_char.c193 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/
Dsram.c179 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()
265 rblocks[nblocks - 1].start = size; in sram_reserve_regions()
266 rblocks[nblocks - 1].size = 0; in sram_reserve_regions()
267 list_add_tail(&rblocks[nblocks - 1].list, &reserve_list); in sram_reserve_regions()
/drivers/staging/greybus/
Dsdio.c255 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/
Dbbt.c26 unsigned int nblocks = nanddev_neraseblocks(nand); in nanddev_bbt_init() local
27 unsigned int nwords = DIV_ROUND_UP(nblocks * bits_per_block, in nanddev_bbt_init()
/drivers/mtd/
Dftl.c749 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/nvme/host/
Dioctl.c134 length = (io.nblocks + 1) << ns->lba_shift; in nvme_submit_io()
147 meta_len = (io.nblocks + 1) * ns->ms; in nvme_submit_io()
164 c.rw.length = cpu_to_le16(io.nblocks); in nvme_submit_io()
310 __u16 nblocks; member
/drivers/block/
Dvirtio_blk.c497 unsigned long long nblocks; in virtblk_update_capacity() local
503 nblocks = DIV_ROUND_UP_ULL(capacity, queue_logical_block_size(q) >> 9); in virtblk_update_capacity()
505 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()
507 string_get_size(nblocks, queue_logical_block_size(q), in virtblk_update_capacity()
514 nblocks, in virtblk_update_capacity()
/drivers/cdrom/
Dcdrom.c2063 int blocksize, int nblocks) in cdrom_read_cd() argument
2073 cgc->cmd[6] = (nblocks >> 16) & 0xff; in cdrom_read_cd()
2074 cgc->cmd[7] = (nblocks >> 8) & 0xff; in cdrom_read_cd()
2075 cgc->cmd[8] = nblocks & 0xff; in cdrom_read_cd()
2076 cgc->buflen = blocksize * nblocks; in cdrom_read_cd()
2083 int lba, int nblocks, int format, int blksize) in cdrom_read_block() argument
2097 cgc->cmd[6] = (nblocks >> 16) & 0xff; in cdrom_read_block()
2098 cgc->cmd[7] = (nblocks >> 8) & 0xff; in cdrom_read_block()
2099 cgc->cmd[8] = nblocks & 0xff; in cdrom_read_block()
2100 cgc->buflen = blksize * nblocks; in cdrom_read_block()
/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dtopaz_pcie.c909 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()
/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c1318 u32 nblocks = 0; in vxge_hw_device_initialize() local
1356 nblocks++; in vxge_hw_device_initialize()
1364 nblocks += device_config->vp_config[i].ring.ring_blocks; in vxge_hw_device_initialize()
1368 nblocks += device_config->vp_config[i].fifo.fifo_blocks; in vxge_hw_device_initialize()
1369 nblocks++; in vxge_hw_device_initialize()
1374 device_config->dma_blockpool_initial + nblocks, in vxge_hw_device_initialize()
1375 device_config->dma_blockpool_max + nblocks) != VXGE_HW_OK) { in vxge_hw_device_initialize()