Home
last modified time | relevance | path

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

12

/arch/mn10300/unit-asb2305/
Dpci-iomap.c17 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument
19 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap()
20 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap()
21 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap()
/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
35 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, LENGTH); \
50 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, LENGTH); \
143 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, size); in zpci_memcpy_fromio()
166 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, size); in zpci_memcpy_toio()
Dpci_clp.h96 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.c72 struct pci_bus_region bar; in pci_mmap_resource() local
87 pcibios_resource_to_bus(pdev, &bar, res); in pci_mmap_resource()
88 vma->vm_pgoff += bar.start >> (PAGE_SHIFT - (sparse ? 5 : 0)); in pci_mmap_resource()
138 struct pci_bus_region bar; in sparse_mem_mmap_fits() local
143 pcibios_resource_to_bus(pdev, &bar, &pdev->resource[num]); in sparse_mem_mmap_fits()
152 return bar.end < sparse_size; in sparse_mem_mmap_fits()
/arch/cris/include/uapi/arch-v10/arch/
Duser.h36 unsigned long bar; /* Not accessible. */ member
/arch/sh/include/asm/
Dsuspend.h40 unsigned long bar; member
/arch/sparc/include/asm/
Dpci_64.h82 extern 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()
Dmrst.c93 int bar = (reg - PCI_BASE_ADDRESS_0) >> 2; in pci_device_update_fixed() local
102 offset + 8 + (bar * 4), 4, &size); in pci_device_update_fixed()
/arch/s390/pci/
Dpci.c339 void __iomem *pci_iomap(struct pci_dev *pdev, int bar, unsigned long max) in pci_iomap() argument
345 if ((bar & 7) != bar) in pci_iomap()
348 idx = zdev->bars[bar].map_idx; in pci_iomap()
351 zpci_iomap_start[idx].bar = bar; in pci_iomap()
366 zpci_iomap_start[idx].bar = 0; in pci_iounmap()
Dpci_clp.c101 zdev->bars[i].val = le32_to_cpu(response->bar[i]); in clp_store_query_pci_fn()
/arch/sh/kernel/
Dasm-offsets.c49 DEFINE(SH_SLEEP_REG_BAR, offsetof(struct sh_sleep_regs, bar)); in main()
/arch/microblaze/include/asm/
Dpci.h142 extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
/arch/sh/kernel/cpu/shmobile/
Dpm.c92 sdp->addr.bar = 0xa4150040; /* BAR */ in sh_mobile_register_self_refresh()
/arch/powerpc/include/asm/
Dpci.h181 extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
/arch/frv/kernel/
Dhead.S50 bar
63 bar
73 bar
378 bar
Dswitch_to.S153 bar
Dhead-uc-fr401.S164 bar
Dhead-mmu-fr451.S157 bar
Dsleep.S264 bar
Dhead-uc-fr555.S150 bar
/arch/m68k/hp300/
Dhp300map.map125 keycode 101 = backslash bar
/arch/cris/arch-v10/kernel/
Dkgdb.c227 unsigned int bar; /* 0x5A Breakpoint address register */ member

12