/linux-2.4.37.9/drivers/hotplug/ |
D | acpiphp_pci.c | 48 u32 bar, len; in init_config_space() local 70 pci_bus_read_config_dword(bus, devfn, address[count], &bar); in init_config_space() 72 if (!bar) /* This BAR is not implemented */ in init_config_space() 76 PCI_FUNC(devfn), count, bar); in init_config_space() 78 if (bar & PCI_BASE_ADDRESS_SPACE_IO) { in init_config_space() 81 len = bar & (PCI_BASE_ADDRESS_IO_MASK & 0xFFFF); in init_config_space() 101 if (bar & PCI_BASE_ADDRESS_MEM_PREFETCH) { in init_config_space() 104 len = bar & 0xFFFFFFF0; in init_config_space() 121 if (bar & PCI_BASE_ADDRESS_MEM_TYPE_64) { /* takes up another dword */ in init_config_space() 133 len = bar & 0xFFFFFFF0; in init_config_space() [all …]
|
D | ibmphp_pci.c | 347 u32 bar[6]; in configure_device() local 388 …nfig_dword_nodev (ibmphp_pci_root_ops, func->busno, device, function, address[count], &bar[count]); in configure_device() 390 if (!bar[count]) /* This BAR is not implemented */ in configure_device() 393 debug ("Device %x BAR %d wants %x\n", func->device, count, bar[count]); in configure_device() 395 if (bar[count] & PCI_BASE_ADDRESS_SPACE_IO) { in configure_device() 399 len[count] = bar[count] & 0xFFFFFFFC; in configure_device() 428 …nfig_dword_nodev (ibmphp_pci_root_ops, func->busno, device, function, address[count], &bar[count]); in configure_device() 429 debug ("after writing.... the start address is %x\n", bar[count]); in configure_device() 434 if (bar[count] & PCI_BASE_ADDRESS_MEM_PREFETCH) { in configure_device() 438 len[count] = bar[count] & 0xFFFFFFF0; in configure_device() [all …]
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | pci_auto.c | 49 int bar, addr_mask; in pciauto_setup_bars() local 56 for (bar = PCI_BASE_ADDRESS_0; bar <= bar_limit; bar+=4) { in pciauto_setup_bars() 61 bar, in pciauto_setup_bars() 66 bar, in pciauto_setup_bars() 77 DBG("PCI Autoconfig: BAR 0x%x, I/O, ", bar); in pciauto_setup_bars() 85 DBG("PCI Autoconfig: BAR 0x%x, Mem ", bar); in pciauto_setup_bars() 98 bar, in pciauto_setup_bars() 109 bar += 4; in pciauto_setup_bars() 113 bar, in pciauto_setup_bars()
|
/linux-2.4.37.9/arch/ppc/platforms/ |
D | ep405.c | 77 unsigned int bar_response, bar; in bios_fixup() local 127 for (bar = PCI_BASE_ADDRESS_1; bar <= PCI_BASE_ADDRESS_2; bar += 4) { in bios_fixup() 129 PCI_FUNC(hose->first_busno), bar, in bios_fixup() 132 PCI_FUNC(hose->first_busno), bar, in bios_fixup() 136 PCI_FUNC(hose->first_busno), bar, bar_response); in bios_fixup()
|
D | walnut.c | 133 unsigned int bar_response, bar; in bios_fixup() local 200 for (bar = PCI_BASE_ADDRESS_1; bar <= PCI_BASE_ADDRESS_2; bar += 4) { in bios_fixup() 202 PCI_FUNC(hose->first_busno), bar, in bios_fixup() 205 PCI_FUNC(hose->first_busno), bar, in bios_fixup() 209 PCI_FUNC(hose->first_busno), bar, bar_response); in bios_fixup()
|
/linux-2.4.37.9/arch/mips/pci/ |
D | pci_auto.c | 109 u32 bar, addr_mask, bar_nr = 0; in pciauto_setup_bars() local 114 for (bar = PCI_BASE_ADDRESS_0; bar <= bar_limit; bar+=4) { in pciauto_setup_bars() 119 bar, in pciauto_setup_bars() 124 bar, in pciauto_setup_bars() 193 bar, bar_value); in pciauto_setup_bars() 203 bar += 4; in pciauto_setup_bars() 207 bar, in pciauto_setup_bars()
|
/linux-2.4.37.9/include/linux/ |
D | pci.h | 780 #define pci_resource_start(dev,bar) ((dev)->resource[(bar)].start) argument 781 #define pci_resource_end(dev,bar) ((dev)->resource[(bar)].end) argument 782 #define pci_resource_flags(dev,bar) ((dev)->resource[(bar)].flags) argument 783 #define pci_resource_len(dev,bar) \ argument 784 ((pci_resource_start((dev),(bar)) == 0 && \ 785 pci_resource_end((dev),(bar)) == \ 786 pci_resource_start((dev),(bar))) ? 0 : \ 788 (pci_resource_end((dev),(bar)) - \ 789 pci_resource_start((dev),(bar)) + 1))
|
D | libata-compat.h | 130 pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument 132 unsigned long start = pci_resource_start(dev, bar); in pci_iomap() 133 unsigned long len = pci_resource_len(dev, bar); in pci_iomap() 134 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap()
|
/linux-2.4.37.9/fs/hfs/ |
D | HFS.txt | 206 metadata file. The directory ./bar is represented by: 214 ./bar. 218 subdirectories in ./bar. 221 The metadata file for the directory ./bar. 247 file''. The directory ./bar is represented by: 255 The header file for the directory ./bar, containing the 295 metadata file. The directory ./bar is represented by: 303 ./bar and the files it contains, but not for the 307 The header file for the directory ./bar, containing the 553 instance to copy the file foo to dir/bar you should do the following: [all …]
|
/linux-2.4.37.9/drivers/pci/ |
D | pci.c | 492 void pci_release_region(struct pci_dev *pdev, int bar) in pci_release_region() argument 494 if (pci_resource_len(pdev, bar) == 0) in pci_release_region() 496 if (pci_resource_flags(pdev, bar) & IORESOURCE_IO) in pci_release_region() 497 release_region(pci_resource_start(pdev, bar), in pci_release_region() 498 pci_resource_len(pdev, bar)); in pci_release_region() 499 else if (pci_resource_flags(pdev, bar) & IORESOURCE_MEM) in pci_release_region() 500 release_mem_region(pci_resource_start(pdev, bar), in pci_release_region() 501 pci_resource_len(pdev, bar)); in pci_release_region() 518 int pci_request_region(struct pci_dev *pdev, int bar, char *res_name) in pci_request_region() argument 520 if (pci_resource_len(pdev, bar) == 0) in pci_request_region() [all …]
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | mfgpt-compat.h | 227 static inline void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument 229 unsigned long start = pci_resource_start(dev, bar); in pci_iomap() 230 unsigned long len = pci_resource_len(dev, bar); in pci_iomap() 231 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap()
|
/linux-2.4.37.9/arch/arm/kernel/ |
D | plx90x0.c | 131 unsigned long bar = (unsigned long)virt_to_bus((void *)PAGE_OFFSET); in plx90x0_init() local 169 __raw_writel(0x8 | bar, base + 0x18); in plx90x0_init()
|
/linux-2.4.37.9/drivers/scsi/ |
D | sata_nv.c | 376 u32 bar; in nv_init_one() local 381 for (bar=0; bar<6; bar++) in nv_init_one() 382 if (pci_resource_start(pdev, bar) == 0) in nv_init_one()
|
/linux-2.4.37.9/include/asm-ia64/sn/pci/ |
D | pci_defs.h | 342 uint32_t bar[6]; member 370 uint32_t bar[2]; member 446 uint32_t bar[6]; member 474 uint32_t bar[2]; member
|
/linux-2.4.37.9/drivers/ide/raid/ |
D | silraid.c | 381 unsigned long bar; in fill_cutoff() local 384 bar = 0; in fill_cutoff() 388 if ((raid[device].disk[j].sectors < smallest) && (raid[device].disk[j].sectors>bar)) in fill_cutoff() 396 bar = smallest; in fill_cutoff()
|
D | pdcraid.c | 485 unsigned long bar; in fill_cutoff() local 488 bar = 0; in fill_cutoff() 492 if ((raid[device].disk[j].sectors < smallest) && (raid[device].disk[j].sectors>bar)) in fill_cutoff() 500 bar = smallest; in fill_cutoff()
|
D | hptraid.c | 743 unsigned long bar; in fill_cutoff() local 746 bar = 0; in fill_cutoff() 750 if ((device->disk[j].sectors < smallest) && (device->disk[j].sectors>bar)) in fill_cutoff() 758 bar = smallest; in fill_cutoff()
|
/linux-2.4.37.9/Documentation/filesystems/ |
D | befs.txt | 48 Assuming that your kernel source is in /foo/bar/linux and the patchfile 51 cd /foo/bar/linux 66 cd /foo/bar/linux
|
/linux-2.4.37.9/include/asm-cris/ |
D | user.h | 63 unsigned long bar; /* Not accessible. */ member
|
/linux-2.4.37.9/drivers/ide/ |
D | setup-pci.c | 381 static int ide_pci_check_iomem(struct pci_dev *dev, ide_pci_device_t *d, int bar) in ide_pci_check_iomem() argument 383 ulong flags = pci_resource_flags(dev, bar); in ide_pci_check_iomem() 386 if (!flags || pci_resource_len(dev, bar) == 0) in ide_pci_check_iomem()
|
/linux-2.4.37.9/arch/ia64/sn/io/sn2/pcibr/ |
D | pcibr_slot.c | 1793 int bar; in pcibr_device_info_free() local 1813 for (bar = 0; bar < PCI_CFG_BASE_ADDRS; bar++) { in pcibr_device_info_free() 1814 if (pcibr_info->f_window[bar].w_space == PCIIO_SPACE_NONE) in pcibr_device_info_free() 1818 pciibr_bus_addr_free(pcibr_soft, &pcibr_info->f_window[bar]); in pcibr_device_info_free() 1821 devio_index = pcibr_info->f_window[bar].w_devio_index; in pcibr_device_info_free()
|
D | pcibr_dvr.c | 1965 unsigned bar; /* which BASE reg on device is decoding */ in pcibr_addr_pci_to_xio() local 2051 bar = space - PCIIO_SPACE_WIN0; in pcibr_addr_pci_to_xio() 2052 if (bar < 6) { in pcibr_addr_pci_to_xio() 2053 wspace = pciio_info->c_window[bar].w_space; in pcibr_addr_pci_to_xio() 2058 wbase = pciio_info->c_window[bar].w_base; in pcibr_addr_pci_to_xio() 2059 wsize = pciio_info->c_window[bar].w_size; in pcibr_addr_pci_to_xio() 2076 bar = -1; in pcibr_addr_pci_to_xio() 2178 if (bar != -1) in pcibr_addr_pci_to_xio() 2179 pcibr_info->f_window[bar].w_devio_index = win; in pcibr_addr_pci_to_xio() 2224 if (bar != -1) in pcibr_addr_pci_to_xio() [all …]
|
/linux-2.4.37.9/drivers/char/drm/ |
D | i830_dma.c | 909 int bar = dev_priv->dma_used / 10240; in i830_cp_performance_boxes() local 910 if (bar > 100) bar = 100; in i830_cp_performance_boxes() 911 if (bar < 1) bar = 1; in i830_cp_performance_boxes() 912 i830_fill_box( dev, 4, 16, bar, 4, 196, 128, 128 ); in i830_cp_performance_boxes()
|
/linux-2.4.37.9/drivers/sound/ |
D | ad1889.c | 976 unsigned long bar; in ad1889_probe() local 990 bar = pci_resource_start(pcidev, 0); in ad1889_probe() 1002 request_mem_region(bar, AD_DSIOMEMSIZE, DEVNAME); in ad1889_probe() 1003 dev->regbase = (unsigned long)ioremap_nocache(bar, AD_DSIOMEMSIZE); in ad1889_probe()
|
/linux-2.4.37.9/drivers/nubus/ |
D | nubus.c | 817 unsigned short foo, bar; in nubus_add_board() local 819 bar = nubus_get_rom(&rp, 2, bytelanes); in nubus_add_board() 820 printk("%04x %04x ", foo, bar); in nubus_add_board()
|