Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/early/
Dehci-dbgp.c831 u32 bar_val; in early_dbgp_init() local
862 bar_val = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); in early_dbgp_init()
863 dbgp_printk("bar_val: %02x offset: %03x\n", bar_val, offset); in early_dbgp_init()
864 if (bar_val & ~PCI_BASE_ADDRESS_MEM_MASK) { in early_dbgp_init()
882 set_fixmap_nocache(FIX_DBGP_BASE, bar_val & PAGE_MASK); in early_dbgp_init()
884 ehci_bar += bar_val & ~PAGE_MASK; in early_dbgp_init()
/Linux-v6.6/drivers/pci/controller/
Dpci-hyperv.c2125 static u64 get_bar_size(u64 bar_val) in get_bar_size() argument
2127 return round_up((1 + ~(bar_val & PCI_BASE_ADDRESS_MEM_MASK)), in get_bar_size()
2141 u64 bar_val; in survey_child_resources() local
2174 bar_val = hpdev->probed_bar[i]; in survey_child_resources()
2175 if (bar_val & PCI_BASE_ADDRESS_MEM_TYPE_64) in survey_child_resources()
2176 bar_val |= in survey_child_resources()
2179 bar_val |= 0xffffffff00000000ULL; in survey_child_resources()
2181 bar_size = get_bar_size(bar_val); in survey_child_resources()
2183 if (bar_val & PCI_BASE_ADDRESS_MEM_TYPE_64) in survey_child_resources()
2216 u64 bar_val; in prepopulate_bars() local
[all …]