Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/pci/
Dprobe.c441 u16 mem_base_lo, mem_limit_lo; in pci_read_bridge_mmio() local
447 pci_read_config_word(dev, PCI_MEMORY_BASE, &mem_base_lo); in pci_read_bridge_mmio()
449 base = ((unsigned long) mem_base_lo & PCI_MEMORY_RANGE_MASK) << 16; in pci_read_bridge_mmio()
452 res->flags = (mem_base_lo & PCI_MEMORY_RANGE_TYPE_MASK) | IORESOURCE_MEM; in pci_read_bridge_mmio()
463 u16 mem_base_lo, mem_limit_lo; in pci_read_bridge_mmio_pref() local
470 pci_read_config_word(dev, PCI_PREF_MEMORY_BASE, &mem_base_lo); in pci_read_bridge_mmio_pref()
472 base64 = (mem_base_lo & PCI_PREF_RANGE_MASK) << 16; in pci_read_bridge_mmio_pref()
475 if ((mem_base_lo & PCI_PREF_RANGE_TYPE_MASK) == PCI_PREF_RANGE_TYPE_64) { in pci_read_bridge_mmio_pref()
502 res->flags = (mem_base_lo & PCI_PREF_RANGE_TYPE_MASK) | in pci_read_bridge_mmio_pref()