Searched refs:phys_mem (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/arch/x86/kernel/ |
D | amd_gart_64.c | 199 static dma_addr_t dma_map_area(struct device *dev, dma_addr_t phys_mem, in dma_map_area() argument 202 unsigned long npages = iommu_num_pages(phys_mem, size, PAGE_SIZE); in dma_map_area() 206 if (unlikely(phys_mem + size > GART_MAX_PHYS_ADDR)) in dma_map_area() 211 if (!nonforced_iommu(dev, phys_mem, size)) in dma_map_area() 212 return phys_mem; in dma_map_area() 220 iommu_gatt_base[iommu_page + i] = GPTE_ENCODE(phys_mem); in dma_map_area() 221 phys_mem += PAGE_SIZE; in dma_map_area() 223 return iommu_bus_base + iommu_page*PAGE_SIZE + (phys_mem & ~PAGE_MASK); in dma_map_area()
|
/Linux-v5.10/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 409 map->static_start = sock->phys_mem + map->card_start; in au1x00_pcmcia_set_mem_map() 507 sock->phys_mem = r->start; in db1x_pcmcia_socket_probe() 565 sock->phys_attr, sock->phys_mem, sock->card_irq, in db1x_pcmcia_socket_probe()
|
/Linux-v5.10/drivers/net/wan/ |
D | farsync.c | 448 unsigned int phys_mem; /* Physical memory window address */ member 2450 card->phys_mem = pci_resource_start(pdev, 2); in fst_add_one() 2452 if ((card->mem = ioremap(card->phys_mem, FST_MEMSIZE)) == NULL) { in fst_add_one() 2509 dev->mem_start = card->phys_mem in fst_add_one() 2511 dev->mem_end = card->phys_mem in fst_add_one() 2528 card->pci_conf, card->phys_mem, card->phys_ctlmem); in fst_add_one()
|
/Linux-v5.10/drivers/vfio/pci/ |
D | vfio_pci_config.c | 567 bool phys_mem, virt_mem, new_mem, phys_io, virt_io, new_io; in vfio_basic_config_write() local 580 phys_mem = !!(phys_cmd & PCI_COMMAND_MEMORY); in vfio_basic_config_write() 598 if ((new_mem && virt_mem && !phys_mem && in vfio_basic_config_write()
|