Home
last modified time | relevance | path

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

12

/arch/arm/mach-shmobile/
Dpm-rcar-gen2.c56 u32 bar; in rcar_gen2_pm_init() local
94 bar = (boot_vector_addr >> 8) & 0xfffffc00; in rcar_gen2_pm_init()
96 writel_relaxed(bar, p + CA15BAR); in rcar_gen2_pm_init()
97 writel_relaxed(bar | 0x10, p + CA15BAR); in rcar_gen2_pm_init()
104 writel_relaxed(bar, p + CA7BAR); in rcar_gen2_pm_init()
105 writel_relaxed(bar | 0x10, p + CA7BAR); in rcar_gen2_pm_init()
/arch/xtensa/lib/
Dpci-auto.c79 int bar, bar_nr; in pciauto_setup_bars() local
83 for (bar = PCI_BASE_ADDRESS_0, bar_nr = 0; in pciauto_setup_bars()
84 bar <= bar_limit; in pciauto_setup_bars()
85 bar+=4, bar_nr++) in pciauto_setup_bars()
88 pci_write_config_dword(dev, bar, 0xffffffff); in pciauto_setup_bars()
89 pci_read_config_dword(dev, bar, &bar_size); in pciauto_setup_bars()
117 pci_write_config_dword(dev, bar, *upper_limit); in pciauto_setup_bars()
126 pci_write_config_dword(dev, (bar+=4), 0x00000000); in pciauto_setup_bars()
/arch/s390/include/asm/
Dpci_io.h18 u8 bar; member
36 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, LENGTH); \
51 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, LENGTH); \
145 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, size); in zpci_memcpy_fromio()
169 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, size); in zpci_memcpy_toio()
Dpci_clp.h97 u32 bar[PCI_BAR_COUNT]; member
/arch/powerpc/platforms/embedded6xx/
Dholly.c199 unsigned long bar; in holly_restart() local
218 bar = ioread32be(ocn_bar1); in holly_restart()
219 bar |= 2; in holly_restart()
220 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/s390/pci/
Dpci.c263 int bar, in pci_iomap_range() argument
271 if ((bar & 7) != bar) in pci_iomap_range()
274 idx = zdev->bars[bar].map_idx; in pci_iomap_range()
278 zpci_iomap_start[idx].bar != bar); in pci_iomap_range()
281 zpci_iomap_start[idx].bar = bar; in pci_iomap_range()
292 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument
294 return pci_iomap_range(dev, bar, 0, maxlen); in pci_iomap()
308 zpci_iomap_start[idx].bar = 0; in pci_iounmap()
Dpci_clp.c111 zdev->bars[i].val = le32_to_cpu(response->bar[i]); in clp_store_query_pci_fn()
/arch/cris/include/uapi/arch-v10/arch/
Duser.h36 unsigned long bar; /* Not accessible. */ member
/arch/sparc/include/asm/
Dpci_64.h58 void pci_resource_to_user(const struct pci_dev *dev, int bar,
/arch/x86/pci/
Dcommon.c132 int bar; in pcibios_fixup_device_resources() local
140 for (bar = 0; bar <= PCI_STD_RESOURCE_END; bar++) { in pcibios_fixup_device_resources()
141 bar_r = &dev->resource[bar]; in pcibios_fixup_device_resources()
Dintel_mid_pci.c98 int bar = (reg - PCI_BASE_ADDRESS_0) >> 2; in pci_device_update_fixed() local
107 offset + 8 + (bar * 4), 4, &size); in pci_device_update_fixed()
/arch/sh/include/asm/
Dsuspend.h40 unsigned long bar; member
/arch/microblaze/include/asm/
Dpci.h87 extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
/arch/mips/include/asm/
Dpci.h85 static inline void pci_resource_to_user(const struct pci_dev *dev, int bar, in pci_resource_to_user() argument
/arch/x86/lguest/
Dboot.c1211 cfg_offset + offsetof(struct virtio_pci_cap, bar), in set_cfg_window()
1260 u8 type, bar; in probe_pci_console() local
1265 bar = read_pci_config_byte(0, 1, 0, in probe_pci_console()
1266 cap + offsetof(struct virtio_pci_cap, bar)); in probe_pci_console()
1274 if (bar == 0) { in probe_pci_console()
/arch/powerpc/include/asm/
Dpci.h141 extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
/arch/sh/kernel/
Dasm-offsets.c47 DEFINE(SH_SLEEP_REG_BAR, offsetof(struct sh_sleep_regs, bar)); in main()
/arch/sh/kernel/cpu/shmobile/
Dpm.c92 sdp->addr.bar = 0xa4150040; /* BAR */ in sh_mobile_register_self_refresh()
/arch/frv/kernel/
Dhead.S50 bar
63 bar
73 bar
378 bar
Dswitch_to.S153 bar
Dsleep.S264 bar
/arch/arm/kernel/
Dhead-nommu.S176 .macro setup_region bar, acr, sr, side = MPU_DATA_SIDE
177 mcr p15, 0, \bar, c6, c1, (0 + \side) @ I/DRBAR
/arch/cris/arch-v10/kernel/
Dkgdb.c227 unsigned int bar; /* 0x5A Breakpoint address register */ member
/arch/m68k/hp300/
Dhp300map.map125 keycode 101 = backslash bar

12