Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/pci/
Dprobe.c442 u16 mem_base_lo, mem_limit_lo; in pci_read_bridge_mmio() local
448 pci_read_config_word(dev, PCI_MEMORY_BASE, &mem_base_lo); in pci_read_bridge_mmio()
450 base = ((unsigned long) mem_base_lo & PCI_MEMORY_RANGE_MASK) << 16; in pci_read_bridge_mmio()
453 res->flags = (mem_base_lo & PCI_MEMORY_RANGE_TYPE_MASK) | IORESOURCE_MEM; in pci_read_bridge_mmio()
464 u16 mem_base_lo, mem_limit_lo; in pci_read_bridge_mmio_pref() local
471 pci_read_config_word(dev, PCI_PREF_MEMORY_BASE, &mem_base_lo); in pci_read_bridge_mmio_pref()
473 base64 = (mem_base_lo & PCI_PREF_RANGE_MASK) << 16; in pci_read_bridge_mmio_pref()
476 if ((mem_base_lo & PCI_PREF_RANGE_TYPE_MASK) == PCI_PREF_RANGE_TYPE_64) { in pci_read_bridge_mmio_pref()
503 res->flags = (mem_base_lo & PCI_PREF_RANGE_TYPE_MASK) | in pci_read_bridge_mmio_pref()