Home
last modified time | relevance | path

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

/drivers/video/riva/
Dnv_driver.c161 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()
Driva_hw.c2110 u32 amt; in nv10GetConfig() local
2123 pci_read_config_dword(dev, 0x7C, &amt); in nv10GetConfig()
2125 chip->RamAmountKBytes = (((amt >> 6) & 31) + 1) * 1024; in nv10GetConfig()
2128 pci_read_config_dword(dev, 0x84, &amt); in nv10GetConfig()
2130 chip->RamAmountKBytes = (((amt >> 4) & 127) + 1) * 1024; in nv10GetConfig()
/drivers/video/nvidia/
Dnv_setup.c269 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/infiniband/hw/qib/
Dqib_init.c1485 unsigned amt; in qib_create_rcvhdrq() local
1491 amt = ALIGN(dd->rcvhdrcnt * dd->rcvhdrentsize * in qib_create_rcvhdrq()
1496 &dd->pcidev->dev, amt, &rcd->rcvhdrq_phys, in qib_create_rcvhdrq()
1502 amt, rcd->ctxt); in qib_create_rcvhdrq()
1521 rcd->rcvhdrq_size = amt; in qib_create_rcvhdrq()
1537 dma_free_coherent(&dd->pcidev->dev, amt, rcd->rcvhdrq, in qib_create_rcvhdrq()
/drivers/infiniband/hw/ipath/
Dipath_driver.c1770 int amt = ALIGN(dd->ipath_rcvhdrcnt * dd->ipath_rcvhdrentsize * in ipath_create_rcvhdrq() local
1774 &dd->pcidev->dev, amt, &pd->port_rcvhdrq_phys, in ipath_create_rcvhdrq()
1780 amt, pd->port_port); in ipath_create_rcvhdrq()
1794 dma_free_coherent(&dd->pcidev->dev, amt, in ipath_create_rcvhdrq()
1806 pd->port_rcvhdrq_size = amt; in ipath_create_rcvhdrq()
1810 amt >> PAGE_SHIFT, pd->port_rcvhdrq, in ipath_create_rcvhdrq()
/drivers/tty/
Dn_tty.c1661 static inline int input_available_p(struct tty_struct *tty, int amt) in input_available_p() argument
1669 } else if (ldata->read_cnt >= (amt ? amt : 1)) in input_available_p()