Searched refs:phys_mem (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/arch/x86/kernel/ |
D | amd_gart_64.c | 197 static dma_addr_t dma_map_area(struct device *dev, dma_addr_t phys_mem, in dma_map_area() argument 200 unsigned long npages = iommu_num_pages(phys_mem, size, PAGE_SIZE); in dma_map_area() 204 if (unlikely(phys_mem + size > GART_MAX_PHYS_ADDR)) in dma_map_area() 209 if (!nonforced_iommu(dev, phys_mem, size)) in dma_map_area() 210 return phys_mem; in dma_map_area() 218 iommu_gatt_base[iommu_page + i] = GPTE_ENCODE(phys_mem); in dma_map_area() 219 phys_mem += PAGE_SIZE; in dma_map_area() 221 return iommu_bus_base + iommu_page*PAGE_SIZE + (phys_mem & ~PAGE_MASK); in dma_map_area()
|
/linux-6.1.9/drivers/pcmcia/ |
D | xxs1500_ss.c | 61 phys_addr_t phys_mem; member 195 map->static_start = sock->phys_mem + map->card_start; in au1x00_pcmcia_set_mem_map() 235 sock->phys_mem = r->start; in xxs1500_pcmcia_probe()
|
D | db1xxx_ss.c | 50 phys_addr_t phys_mem; member 410 map->static_start = sock->phys_mem + map->card_start; in au1x00_pcmcia_set_mem_map() 508 sock->phys_mem = r->start; in db1x_pcmcia_socket_probe() 566 sock->phys_attr, sock->phys_mem, sock->card_irq, in db1x_pcmcia_socket_probe()
|
/linux-6.1.9/drivers/net/wan/ |
D | farsync.c | 448 unsigned int phys_mem; /* Physical memory window address */ member 2381 card->phys_mem = pci_resource_start(pdev, 2); in fst_add_one() 2383 card->mem = ioremap(card->phys_mem, FST_MEMSIZE); in fst_add_one() 2443 dev->mem_start = card->phys_mem in fst_add_one() 2445 dev->mem_end = card->phys_mem in fst_add_one() 2462 card->pci_conf, card->phys_mem, card->phys_ctlmem); in fst_add_one()
|
/linux-6.1.9/drivers/vfio/pci/ |
D | vfio_pci_config.c | 570 bool phys_mem, virt_mem, new_mem, phys_io, virt_io, new_io; in vfio_basic_config_write() local 583 phys_mem = !!(phys_cmd & PCI_COMMAND_MEMORY); in vfio_basic_config_write() 601 if ((new_mem && virt_mem && !phys_mem && in vfio_basic_config_write()
|