Home
last modified time | relevance | path

Searched refs:amt (Results 1 – 7 of 7) sorted by relevance

/drivers/crypto/
Domap-crypto.c161 int amt; in omap_crypto_copy_data() local
178 amt = min(src->length - srco, dst->length - dsto); in omap_crypto_copy_data()
179 amt = min(len, amt); in omap_crypto_copy_data()
184 memcpy(dstb, srcb, amt); in omap_crypto_copy_data()
191 srco += amt; in omap_crypto_copy_data()
192 dsto += amt; in omap_crypto_copy_data()
193 len -= amt; in omap_crypto_copy_data()
/drivers/video/fbdev/riva/
Dnv_driver.c161 u32 amt; in riva_get_memlen() local
231 pci_read_config_dword(dev, 0x7C, &amt); in riva_get_memlen()
233 memlen = (((amt >> 6) & 31) + 1) * 1024; in riva_get_memlen()
236 pci_read_config_dword(dev, 0x84, &amt); in riva_get_memlen()
238 memlen = (((amt >> 4) & 127) + 1) * 1024; in riva_get_memlen()
Driva_hw.c2075 u32 amt; in nv10GetConfig() local
2088 pci_read_config_dword(dev, 0x7C, &amt); in nv10GetConfig()
2090 chip->RamAmountKBytes = (((amt >> 6) & 31) + 1) * 1024; in nv10GetConfig()
2093 pci_read_config_dword(dev, 0x84, &amt); in nv10GetConfig()
2095 chip->RamAmountKBytes = (((amt >> 4) & 127) + 1) * 1024; in nv10GetConfig()
/drivers/video/fbdev/nvidia/
Dnv_setup.c243 u32 amt; in nv10GetConfig() local
245 pci_read_config_dword(dev, 0x7c, &amt); in nv10GetConfig()
246 par->RamAmountKBytes = (((amt >> 6) & 31) + 1) * 1024; in nv10GetConfig()
248 u32 amt; in nv10GetConfig() local
250 pci_read_config_dword(dev, 0x84, &amt); in nv10GetConfig()
251 par->RamAmountKBytes = (((amt >> 4) & 127) + 1) * 1024; in nv10GetConfig()
/drivers/infiniband/hw/qib/
Dqib_init.c1545 unsigned amt; in qib_create_rcvhdrq() local
1552 amt = ALIGN(dd->rcvhdrcnt * dd->rcvhdrentsize * in qib_create_rcvhdrq()
1560 &dd->pcidev->dev, amt, &rcd->rcvhdrq_phys, in qib_create_rcvhdrq()
1567 amt, rcd->ctxt); in qib_create_rcvhdrq()
1588 rcd->rcvhdrq_size = amt; in qib_create_rcvhdrq()
1604 dma_free_coherent(&dd->pcidev->dev, amt, rcd->rcvhdrq, in qib_create_rcvhdrq()
/drivers/infiniband/hw/hfi1/
Dinit.c1760 unsigned amt; in hfi1_create_rcvhdrq() local
1765 amt = rcvhdrq_size(rcd); in hfi1_create_rcvhdrq()
1771 rcd->rcvhdrq = dma_alloc_coherent(&dd->pcidev->dev, amt, in hfi1_create_rcvhdrq()
1778 amt, rcd->ctxt); in hfi1_create_rcvhdrq()
1802 dma_free_coherent(&dd->pcidev->dev, amt, rcd->rcvhdrq, in hfi1_create_rcvhdrq()
/drivers/tty/
Dn_tty.c1879 int amt = poll && !TIME_CHAR(tty) && MIN_CHAR(tty) ? MIN_CHAR(tty) : 1; in input_available_p() local
1884 return ldata->commit_head - ldata->read_tail >= amt; in input_available_p()