Searched refs:amt (Results 1 – 5 of 5) 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 | 268 u32 amt; in nv10GetConfig() local 270 pci_read_config_dword(dev, 0x7c, &amt); in nv10GetConfig() 271 par->RamAmountKBytes = (((amt >> 6) & 31) + 1) * 1024; in nv10GetConfig() 273 u32 amt; in nv10GetConfig() local 275 pci_read_config_dword(dev, 0x84, &amt); in nv10GetConfig() 276 par->RamAmountKBytes = (((amt >> 4) & 127) + 1) * 1024; in nv10GetConfig()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_driver.c | 1804 int amt = ALIGN(dd->ipath_rcvhdrcnt * dd->ipath_rcvhdrentsize * in ipath_create_rcvhdrq() local 1808 &dd->pcidev->dev, amt, &pd->port_rcvhdrq_phys, in ipath_create_rcvhdrq() 1814 amt, pd->port_port); in ipath_create_rcvhdrq() 1828 dma_free_coherent(&dd->pcidev->dev, amt, in ipath_create_rcvhdrq() 1840 pd->port_rcvhdrq_size = amt; in ipath_create_rcvhdrq() 1844 amt >> PAGE_SHIFT, pd->port_rcvhdrq, in ipath_create_rcvhdrq()
|
/drivers/char/ |
D | n_tty.c | 1606 static inline int input_available_p(struct tty_struct *tty, int amt) in input_available_p() argument 1611 } else if (tty->read_cnt >= (amt ? amt : 1)) in input_available_p()
|