Searched refs:amt (Results 1 – 7 of 7) sorted by relevance
/drivers/video/fbdev/riva/ |
D | nv_driver.c | 161 u32 amt; in riva_get_memlen() local 230 pci_read_config_dword(dev, 0x7C, &amt); in riva_get_memlen() 232 memlen = (((amt >> 6) & 31) + 1) * 1024; in riva_get_memlen() 235 pci_read_config_dword(dev, 0x84, &amt); in riva_get_memlen() 237 memlen = (((amt >> 4) & 127) + 1) * 1024; in riva_get_memlen()
|
D | riva_hw.c | 2109 u32 amt; in nv10GetConfig() local 2122 pci_read_config_dword(dev, 0x7C, &amt); in nv10GetConfig() 2124 chip->RamAmountKBytes = (((amt >> 6) & 31) + 1) * 1024; in nv10GetConfig() 2127 pci_read_config_dword(dev, 0x84, &amt); in nv10GetConfig() 2129 chip->RamAmountKBytes = (((amt >> 4) & 127) + 1) * 1024; in nv10GetConfig()
|
/drivers/video/fbdev/nvidia/ |
D | nv_setup.c | 269 u32 amt; in nv10GetConfig() local 271 pci_read_config_dword(dev, 0x7c, &amt); in nv10GetConfig() 272 par->RamAmountKBytes = (((amt >> 6) & 31) + 1) * 1024; in nv10GetConfig() 274 u32 amt; in nv10GetConfig() local 276 pci_read_config_dword(dev, 0x84, &amt); in nv10GetConfig() 277 par->RamAmountKBytes = (((amt >> 4) & 127) + 1) * 1024; in nv10GetConfig()
|
/drivers/staging/rdma/hfi1/ |
D | init.c | 1462 unsigned amt; in hfi1_create_rcvhdrq() local 1473 amt = ALIGN(rcd->rcvhdrq_cnt * rcd->rcvhdrqentsize * in hfi1_create_rcvhdrq() 1479 &dd->pcidev->dev, amt, &rcd->rcvhdrq_phys, in hfi1_create_rcvhdrq() 1485 amt, rcd->ctxt); in hfi1_create_rcvhdrq() 1505 rcd->rcvhdrq_size = amt; in hfi1_create_rcvhdrq() 1532 dma_free_coherent(&dd->pcidev->dev, amt, rcd->rcvhdrq, in hfi1_create_rcvhdrq()
|
/drivers/infiniband/hw/qib/ |
D | qib_init.c | 1594 unsigned amt; in qib_create_rcvhdrq() local 1601 amt = ALIGN(dd->rcvhdrcnt * dd->rcvhdrentsize * in qib_create_rcvhdrq() 1609 &dd->pcidev->dev, amt, &rcd->rcvhdrq_phys, in qib_create_rcvhdrq() 1616 amt, rcd->ctxt); in qib_create_rcvhdrq() 1637 rcd->rcvhdrq_size = amt; in qib_create_rcvhdrq() 1653 dma_free_coherent(&dd->pcidev->dev, amt, rcd->rcvhdrq, in qib_create_rcvhdrq()
|
/drivers/staging/rdma/ipath/ |
D | ipath_driver.c | 1777 int amt = ALIGN(dd->ipath_rcvhdrcnt * dd->ipath_rcvhdrentsize * in ipath_create_rcvhdrq() local 1781 &dd->pcidev->dev, amt, &pd->port_rcvhdrq_phys, in ipath_create_rcvhdrq() 1787 amt, pd->port_port); in ipath_create_rcvhdrq() 1801 dma_free_coherent(&dd->pcidev->dev, amt, in ipath_create_rcvhdrq() 1813 pd->port_rcvhdrq_size = amt; in ipath_create_rcvhdrq() 1817 amt >> PAGE_SHIFT, pd->port_rcvhdrq, in ipath_create_rcvhdrq()
|
/drivers/tty/ |
D | n_tty.c | 1973 int amt = poll && !TIME_CHAR(tty) && MIN_CHAR(tty) ? MIN_CHAR(tty) : 1; in input_available_p() local 1978 return ldata->commit_head - ldata->read_tail >= amt; in input_available_p()
|