Home
last modified time | relevance | path

Searched refs:use_size (Results 1 – 3 of 3) sorted by relevance

/drivers/mtd/
Dmtdswap.c1178 uint64_t use_size; in mtdswap_show() local
1206 use_size = (uint64_t)d->eblks * d->mtd->erasesize; in mtdswap_show()
1207 bb_cnt = mtdswap_badblocks(d->mtd, use_size); in mtdswap_show()
1348 uint64_t swap_size, use_size, size_limit; in mtdswap_add_mtd() local
1388 use_size = mtd->size; in mtdswap_add_mtd()
1394 use_size = size_limit; in mtdswap_add_mtd()
1397 eblocks = mtd_div_by_eb(use_size, mtd); in mtdswap_add_mtd()
1398 use_size = (uint64_t)eblocks * mtd->erasesize; in mtdswap_add_mtd()
1399 bad_blocks = mtdswap_badblocks(mtd, use_size); in mtdswap_add_mtd()
/drivers/staging/comedi/drivers/
Daddi_apci_3120.c140 unsigned int use_size; member
192 apci3120_addon_write(dev, dmabuf->use_size, AMCC_OP_REG_AMWTC); in apci3120_init_dma()
248 dmabuf0->use_size = dmalen0; in apci3120_setup_dma()
249 dmabuf1->use_size = dmalen1; in apci3120_setup_dma()
436 nbytes = dmabuf->use_size - inl(devpriv->amcc + AMCC_OP_REG_MWTC); in apci3120_interrupt_dma()
438 if (nbytes < dmabuf->use_size) in apci3120_interrupt_dma()
Dadl_pci9118.c195 unsigned int use_size; /* which size we may now use for transfer */ member
251 outl(dmabuf->use_size, devpriv->iobase_a + AMCC_OP_REG_MWTC); in pci9118_amcc_setup_dma()
642 unsigned int n_all = comedi_bytes_to_samples(s, dmabuf->use_size); in pci9118_ai_get_dma()
900 dmabuf0->use_size = dmalen0; in pci9118_ai_setup_dma()
901 dmabuf1->use_size = dmalen1; in pci9118_ai_setup_dma()