Searched refs:bar_val (Results 1 – 2 of 2) sorted by relevance
831 u32 bar_val; in early_dbgp_init() local862 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()
1982 static u64 get_bar_size(u64 bar_val) in get_bar_size() argument1984 return round_up((1 + ~(bar_val & PCI_BASE_ADDRESS_MEM_MASK)), in get_bar_size()1998 u64 bar_val; in survey_child_resources() local2031 bar_val = hpdev->probed_bar[i]; in survey_child_resources()2032 if (bar_val & PCI_BASE_ADDRESS_MEM_TYPE_64) in survey_child_resources()2033 bar_val |= in survey_child_resources()2036 bar_val |= 0xffffffff00000000ULL; in survey_child_resources()2038 bar_size = get_bar_size(bar_val); in survey_child_resources()2040 if (bar_val & PCI_BASE_ADDRESS_MEM_TYPE_64) in survey_child_resources()2073 u64 bar_val; in prepopulate_bars() local[all …]