Home
last modified time | relevance | path

Searched refs:bus_addr (Results 1 – 20 of 20) sorted by relevance

/linux-2.4.37.9/include/asm-ppc64/
Dfloppy.h43 static dma_addr_t bus_addr = 0; in ppc64_fd_dma_setup() local
50 if (bus_addr in ppc64_fd_dma_setup()
53 pci_unmap_single(NULL, bus_addr, prev_size, prev_dir); in ppc64_fd_dma_setup()
54 bus_addr = 0; in ppc64_fd_dma_setup()
57 if (!bus_addr) /* need to map it */ { in ppc64_fd_dma_setup()
58 bus_addr = pci_map_single(NULL, addr, size, dir); in ppc64_fd_dma_setup()
69 set_dma_addr(FLOPPY_DMA, bus_addr); in ppc64_fd_dma_setup()
/linux-2.4.37.9/include/asm-alpha/
Dfloppy.h44 static dma_addr_t bus_addr = 0; in alpha_fd_dma_setup() local
51 if (bus_addr in alpha_fd_dma_setup()
54 pci_unmap_single(NULL, bus_addr, prev_size, prev_dir); in alpha_fd_dma_setup()
55 bus_addr = 0; in alpha_fd_dma_setup()
58 if (!bus_addr) /* need to map it */ in alpha_fd_dma_setup()
59 bus_addr = pci_map_single(NULL, addr, size, dir); in alpha_fd_dma_setup()
69 set_dma_addr(FLOPPY_DMA, bus_addr); in alpha_fd_dma_setup()
/linux-2.4.37.9/arch/sparc64/kernel/
Dpci_iommu.c337 u32 bus_addr, ret; in pci_map_single() local
356 bus_addr = (iommu->page_table_map_base + in pci_map_single()
358 ret = bus_addr | (oaddr & ~IO_PAGE_MASK); in pci_map_single()
384 void pci_unmap_single(struct pci_dev *pdev, dma_addr_t bus_addr, size_t sz, int direction) in pci_unmap_single() argument
399 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in pci_unmap_single()
402 ((bus_addr - iommu->page_table_map_base) >> IO_PAGE_SHIFT); in pci_unmap_single()
406 bus_addr, sz, __builtin_return_address(0)); in pci_unmap_single()
408 bus_addr &= IO_PAGE_MASK; in pci_unmap_single()
419 u32 vaddr = bus_addr; in pci_unmap_single()
445 free_streaming_cluster(iommu, bus_addr - iommu->page_table_map_base, in pci_unmap_single()
[all …]
/linux-2.4.37.9/drivers/acorn/char/
Dserial-card.c69 unsigned long bus_addr; in serial_card_probe() local
82 bus_addr = ec->resource[type->type].start; in serial_card_probe()
83 virt_addr = ioremap(bus_addr, ec->resource[type->type].end - bus_addr + 1); in serial_card_probe()
90 unsigned long baddr = bus_addr + type->offset[port]; in serial_card_probe()
/linux-2.4.37.9/drivers/char/drm/
Dati_pcigart.h92 dma_addr_t *bus_addr) in DRM()
164 *bus_addr = bus_address; in DRM()
170 dma_addr_t bus_addr) in DRM()
182 if ( bus_addr ) { in DRM()
183 pci_unmap_single(dev->pdev, bus_addr, in DRM()
DdrmP.h981 dma_addr_t *bus_addr);
984 dma_addr_t bus_addr);
/linux-2.4.37.9/arch/alpha/kernel/
Dcore_cia.c332 unsigned long bus_addr; in cia_pci_tbi_try2() local
355 bus_addr = cia_ioremap(CIA_BROKEN_TBIA_BASE, 32768 * 4); in cia_pci_tbi_try2()
357 cia_readl(bus_addr + 0x00000); in cia_pci_tbi_try2()
358 cia_readl(bus_addr + 0x08000); in cia_pci_tbi_try2()
359 cia_readl(bus_addr + 0x10000); in cia_pci_tbi_try2()
360 cia_readl(bus_addr + 0x18000); in cia_pci_tbi_try2()
362 cia_iounmap(bus_addr); in cia_pci_tbi_try2()
401 unsigned long bus_addr; in verify_tb_operation() local
436 bus_addr = cia_ioremap(addr0, 8*PAGE_SIZE); in verify_tb_operation()
473 temp = cia_readl(bus_addr); in verify_tb_operation()
[all …]
/linux-2.4.37.9/drivers/scsi/
DNCR5380.h344 unsigned long bus_addr = virt_to_bus(ptr); in NCR5380_pc_dma_setup() local
350 limit = 65536 - (bus_addr & 0xFFFF); in NCR5380_pc_dma_setup()
354 limit = 65536 * 2 - (bus_addr & 0x1FFFF); in NCR5380_pc_dma_setup()
360 if ((count & 1) || (bus_addr & 1)) in NCR5380_pc_dma_setup()
366 set_dma_addr(instance->dma_channel, bus_addr); in NCR5380_pc_dma_setup()
/linux-2.4.37.9/drivers/ieee1394/
Ddma.c23 prog->bus_addr = 0; in dma_prog_region_init()
33 prog->kvirt = pci_alloc_consistent(dev, prog->n_pages * PAGE_SIZE, &prog->bus_addr); in dma_prog_region_alloc()
48 pci_free_consistent(prog->dev, prog->n_pages * PAGE_SIZE, prog->kvirt, prog->bus_addr); in dma_prog_region_free()
54 prog->bus_addr = 0; in dma_prog_region_free()
Ddma.h26 dma_addr_t bus_addr; /* base bus address */ member
36 return prog->bus_addr + offset; in dma_prog_region_offset_to_bus()
/linux-2.4.37.9/Documentation/
Dzorro.txt85 virt_addr = ZTWO_VADDR(bus_addr);
86 bus_addr = ZTWO_PADDR(virt_addr);
91 virt_addr = z_ioremap(bus_addr, size);
DIO-mapping.txt79 bus_addr = virt_to_bus(virt_addr);
80 virt_addr = bus_to_virt(bus_addr);
/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic7xxx_osm_pci.c56 u_long *bus_addr,
260 u_long *bus_addr, in ahc_linux_pci_reserve_mem_region() argument
280 *bus_addr = start; in ahc_linux_pci_reserve_mem_region()
Daic79xx_osm_pci.c57 u_long *bus_addr,
280 u_long *bus_addr, in ahd_linux_pci_reserve_mem_region() argument
306 *bus_addr = start; in ahd_linux_pci_reserve_mem_region()
Daic7xxx_osm.h193 bus_addr_t bus_addr; member
Daic79xx_osm.h181 bus_addr_t bus_addr; member
Daic79xx_osm.c1805 dmat->maxsize, &map->bus_addr);
1831 vaddr, map->bus_addr);
1849 stack_sg.ds_addr = map->bus_addr;
Daic7xxx_osm.c1440 dmat->maxsize, &map->bus_addr);
1466 vaddr, map->bus_addr);
1484 stack_sg.ds_addr = map->bus_addr;
/linux-2.4.37.9/drivers/net/fc/
Diph5526.c538 u_int bus_addr, bus_indx_addr, i;
562 bus_addr = virt_to_bus(fi->q.ptr_ocq_base);
563 writel(bus_addr, fi->t_r.ptr_ocq_base_reg);
571 bus_addr = virt_to_bus(fi->q.ptr_imq_base);
572 writel(bus_addr, fi->t_r.ptr_imq_base_reg);
581 bus_addr = virt_to_bus(fi->q.ptr_mfsbq_base);
582 writel(bus_addr, fi->t_r.ptr_mfsbq_base_reg);
594 bus_addr = virt_to_bus(fi->q.ptr_sfsbq_base);
595 writel(bus_addr, fi->t_r.ptr_sfsbq_base_reg);
604 bus_addr = virt_to_bus(fi->q.ptr_sest_base);
[all …]
/linux-2.4.37.9/drivers/media/video/
Dzr36067.c2741 u32 bus_addr[BUZ_NUM_STAT_COM]; in error_handler() local
2743 memcpy(bus_addr, zr->stat_com, in error_handler()
2744 sizeof(bus_addr)); in error_handler()
2747 bus_addr[(i + in error_handler()