Home
last modified time | relevance | path

Searched refs:bar (Results 1 – 25 of 27) sorted by relevance

12

/arch/arm/mm/
Dpmsa-v8.c140 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 …]
Dcache-b15-rac.c101 #define BUILD_RAC_CACHE_OP(name, bar) \ argument
109 bar; \
119 bar; \
/arch/arm/mach-shmobile/
Dpm-rcar-gen2.c48 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/
Dpci-auto.c64 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/
Dpci.c265 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 …]
Dpci_insn.c169 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()
Dpci_clp.c149 zdev->bars[i].val = le32_to_cpu(response->bar[i]); in clp_store_query_pci_fn()
/arch/xtensa/kernel/
Dpci.c74 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/
Dholly.c197 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/
Dpci-sysfs.c71 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/
Dpci.c47 void pci_resource_to_user(const struct pci_dev *dev, int bar, in pci_resource_to_user() argument
/arch/sh/include/asm/
Dsuspend.h41 unsigned long bar; member
/arch/x86/pci/
Dcommon.c130 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()
Dintel_mid_pci.c100 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/
Dasm-offsets.c48 DEFINE(SH_SLEEP_REG_BAR, offsetof(struct sh_sleep_regs, bar)); in main()
/arch/sh/kernel/cpu/shmobile/
Dpm.c89 sdp->addr.bar = 0xa4150040; /* BAR */ in sh_mobile_register_self_refresh()
/arch/powerpc/platforms/pseries/
Dpci.c52 __be64 bar; /* Input: Virtual Function BAR */ member
127 vf_pe_array[vf_index].bar = in pseries_associate_pes()
/arch/arm/kernel/
Dhead-nommu.S222 .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/
Dpci_clp.h103 __le32 bar[PCI_BAR_COUNT]; member
Dpci_io.h29 u8 bar; member
/arch/powerpc/kernel/
Deeh.c1932 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()
Dpci-common.c434 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/
Dpci-common.c153 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/
Dhp300map.map125 keycode 101 = backslash bar
/arch/sparc/kernel/
Dpci.c886 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

12