/arch/arm/mm/ |
D | pmsa-v8.c | 140 static int __init __pmsav8_setup_region(unsigned int number, u32 bar, u32 lar) in __pmsav8_setup_region() argument 149 prbar_write(bar); in __pmsav8_setup_region() 152 mpu_rgn_info.rgns[number].prbar = bar; in __pmsav8_setup_region() 162 u32 bar, lar; in pmsav8_setup_ram() local 167 bar = start; in pmsav8_setup_ram() 170 bar |= PMSAv8_AP_PL1RW_PL0RW | PMSAv8_RGN_SHARED; in pmsav8_setup_ram() 173 return __pmsav8_setup_region(number, bar, lar); in pmsav8_setup_ram() 178 u32 bar, lar; in pmsav8_setup_io() local 183 bar = start; in pmsav8_setup_io() 186 bar |= PMSAv8_AP_PL1RW_PL0RW | PMSAv8_RGN_SHARED | PMSAv8_BAR_XN; in pmsav8_setup_io() [all …]
|
D | cache-b15-rac.c | 101 #define BUILD_RAC_CACHE_OP(name, bar) \ argument 109 bar; \ 119 bar; \
|
/arch/arm/mach-shmobile/ |
D | pm-rcar-gen2.c | 48 u32 bar; in rcar_gen2_pm_init() local 107 bar = phys_to_sbar(res.start); in rcar_gen2_pm_init() 109 writel_relaxed(bar, p + CA15BAR); in rcar_gen2_pm_init() 110 writel_relaxed(bar | SBAR_BAREN, p + CA15BAR); in rcar_gen2_pm_init() 118 writel_relaxed(bar, p + CA7BAR); in rcar_gen2_pm_init() 119 writel_relaxed(bar | SBAR_BAREN, p + CA7BAR); in rcar_gen2_pm_init()
|
/arch/xtensa/lib/ |
D | pci-auto.c | 64 int bar, bar_nr; in pciauto_setup_bars() local 68 for (bar = PCI_BASE_ADDRESS_0, bar_nr = 0; in pciauto_setup_bars() 69 bar <= bar_limit; in pciauto_setup_bars() 70 bar+=4, bar_nr++) in pciauto_setup_bars() 73 pci_write_config_dword(dev, bar, 0xffffffff); in pciauto_setup_bars() 74 pci_read_config_dword(dev, bar, &bar_size); in pciauto_setup_bars() 102 pci_write_config_dword(dev, bar, *upper_limit); in pciauto_setup_bars() 111 pci_write_config_dword(dev, (bar+=4), 0x00000000); in pciauto_setup_bars()
|
/arch/s390/pci/ |
D | pci.c | 265 static void __iomem *pci_iomap_range_fh(struct pci_dev *pdev, int bar, in pci_iomap_range_fh() argument 271 idx = zdev->bars[bar].map_idx; in pci_iomap_range_fh() 276 zpci_iomap_start[idx].bar = bar; in pci_iomap_range_fh() 282 static void __iomem *pci_iomap_range_mio(struct pci_dev *pdev, int bar, in pci_iomap_range_mio() argument 286 unsigned long barsize = pci_resource_len(pdev, bar); in pci_iomap_range_mio() 290 iova = ioremap((unsigned long) zdev->bars[bar].mio_wt, barsize); in pci_iomap_range_mio() 294 void __iomem *pci_iomap_range(struct pci_dev *pdev, int bar, in pci_iomap_range() argument 297 if (!pci_resource_len(pdev, bar) || bar >= PCI_BAR_COUNT) in pci_iomap_range() 301 return pci_iomap_range_mio(pdev, bar, offset, max); in pci_iomap_range() 303 return pci_iomap_range_fh(pdev, bar, offset, max); in pci_iomap_range() [all …]
|
D | pci_insn.c | 169 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, len); in zpci_load_fh() 253 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, len); in zpci_store_fh() 333 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, len); in zpci_write_block_fh()
|
D | pci_clp.c | 149 zdev->bars[i].val = le32_to_cpu(response->bar[i]); in clp_store_query_pci_fn()
|
/arch/xtensa/kernel/ |
D | pci.c | 74 int pci_iobar_pfn(struct pci_dev *pdev, int bar, struct vm_area_struct *vma) in pci_iobar_pfn() argument 77 resource_size_t ioaddr = pci_resource_start(pdev, bar); in pci_iobar_pfn()
|
/arch/powerpc/platforms/embedded6xx/ |
D | holly.c | 197 unsigned long bar; in holly_restart() local 216 bar = ioread32be(ocn_bar1); in holly_restart() 217 bar |= 2; in holly_restart() 218 iowrite32be(bar, ocn_bar1); in holly_restart()
|
/arch/alpha/kernel/ |
D | pci-sysfs.c | 71 struct pci_bus_region bar; in pci_mmap_resource() local 86 pcibios_resource_to_bus(pdev->bus, &bar, res); in pci_mmap_resource() 87 vma->vm_pgoff += bar.start >> (PAGE_SHIFT - (sparse ? 5 : 0)); in pci_mmap_resource() 137 struct pci_bus_region bar; in sparse_mem_mmap_fits() local 142 pcibios_resource_to_bus(pdev->bus, &bar, &pdev->resource[num]); in sparse_mem_mmap_fits() 151 return bar.end < sparse_size; in sparse_mem_mmap_fits()
|
/arch/mips/pci/ |
D | pci.c | 47 void pci_resource_to_user(const struct pci_dev *dev, int bar, in pci_resource_to_user() argument
|
/arch/sh/include/asm/ |
D | suspend.h | 41 unsigned long bar; member
|
/arch/x86/pci/ |
D | common.c | 130 int bar; in pcibios_fixup_device_resources() local 138 for (bar = 0; bar <= PCI_STD_RESOURCE_END; bar++) { in pcibios_fixup_device_resources() 139 bar_r = &dev->resource[bar]; in pcibios_fixup_device_resources()
|
D | intel_mid_pci.c | 100 int bar = (reg - PCI_BASE_ADDRESS_0) >> 2; in pci_device_update_fixed() local 109 offset + 8 + (bar * 4), 4, &size); in pci_device_update_fixed()
|
/arch/sh/kernel/ |
D | asm-offsets.c | 48 DEFINE(SH_SLEEP_REG_BAR, offsetof(struct sh_sleep_regs, bar)); in main()
|
/arch/sh/kernel/cpu/shmobile/ |
D | pm.c | 89 sdp->addr.bar = 0xa4150040; /* BAR */ in sh_mobile_register_self_refresh()
|
/arch/powerpc/platforms/pseries/ |
D | pci.c | 52 __be64 bar; /* Input: Virtual Function BAR */ member 127 vf_pe_array[vf_index].bar = in pseries_associate_pes()
|
/arch/arm/kernel/ |
D | head-nommu.S | 222 .macro setup_region bar, acr, sr, side = PMSAv7_DATA_SIDE, unused 223 mcr p15, 0, \bar, c6, c1, (0 + \side) @ I/DRBAR 233 .macro setup_region bar, acr, sr, unused, base 236 str \bar, [\base, #PMSAv7_RBAR]
|
/arch/s390/include/asm/ |
D | pci_clp.h | 103 __le32 bar[PCI_BAR_COUNT]; member
|
D | pci_io.h | 29 u8 bar; member
|
/arch/powerpc/kernel/ |
D | eeh.c | 1932 struct resource *bar = NULL; in eeh_debugfs_break_device() local 1948 bar = r; in eeh_debugfs_break_device() 1952 if (!bar) { in eeh_debugfs_break_device() 1957 pci_err(pdev, "Going to break: %pR\n", bar); in eeh_debugfs_break_device() 2008 mapped = ioremap(bar->start, PAGE_SIZE); in eeh_debugfs_break_device() 2010 pci_err(pdev, "Unable to map MMIO BAR %pR\n", bar); in eeh_debugfs_break_device()
|
D | pci-common.c | 434 int pci_iobar_pfn(struct pci_dev *pdev, int bar, struct vm_area_struct *vma) in pci_iobar_pfn() argument 437 resource_size_t ioaddr = pci_resource_start(pdev, bar); in pci_iobar_pfn() 636 void pci_resource_to_user(const struct pci_dev *dev, int bar, in pci_resource_to_user() argument
|
/arch/microblaze/pci/ |
D | pci-common.c | 153 int pci_iobar_pfn(struct pci_dev *pdev, int bar, struct vm_area_struct *vma) in pci_iobar_pfn() argument 156 resource_size_t ioaddr = pci_resource_start(pdev, bar); in pci_iobar_pfn() 359 void pci_resource_to_user(const struct pci_dev *dev, int bar, in pci_resource_to_user() argument
|
/arch/m68k/hp300/ |
D | hp300map.map | 125 keycode 101 = backslash bar
|
/arch/sparc/kernel/ |
D | pci.c | 886 int pci_mmap_page_range(struct pci_dev *dev, int bar, in pci_mmap_page_range() argument 990 void pci_resource_to_user(const struct pci_dev *pdev, int bar, in pci_resource_to_user() argument
|