Searched refs:amt (Results 1 – 6 of 6) sorted by relevance
/drivers/video/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 | 2110 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/ |
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/infiniband/hw/qib/ |
D | qib_init.c | 1485 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/ |
D | ipath_driver.c | 1770 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/ |
D | n_tty.c | 1661 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()
|