Home
last modified time | relevance | path

Searched refs:busaddr (Results 1 – 21 of 21) sorted by relevance

/drivers/gpu/drm/
Ddrm_scatter.c61 drm_free(entry->busaddr, in drm_sg_cleanup()
62 entry->pages * sizeof(*entry->busaddr), DRM_MEM_PAGES); in drm_sg_cleanup()
105 entry->busaddr = drm_alloc(pages * sizeof(*entry->busaddr), in drm_sg_alloc()
107 if (!entry->busaddr) { in drm_sg_alloc()
114 memset((void *)entry->busaddr, 0, pages * sizeof(*entry->busaddr)); in drm_sg_alloc()
118 drm_free(entry->busaddr, in drm_sg_alloc()
119 entry->pages * sizeof(*entry->busaddr), DRM_MEM_PAGES); in drm_sg_alloc()
Dati_pcigart.c77 if (!entry->busaddr[i]) in drm_ati_pcigart_cleanup()
79 pci_unmap_page(dev->pdev, entry->busaddr[i], in drm_ati_pcigart_cleanup()
121 bus_address = gart_info->table_handle->busaddr; in drm_ati_pcigart_init()
140 entry->busaddr[i] = pci_map_page(dev->pdev, entry->pagelist[i], in drm_ati_pcigart_init()
142 if (entry->busaddr[i] == 0) { in drm_ati_pcigart_init()
149 page_base = (u32) entry->busaddr[i]; in drm_ati_pcigart_init()
Ddrm_pci.c87 dmah->vaddr = dma_alloc_coherent(&dev->pdev->dev, size, &dmah->busaddr, GFP_KERNEL | __GFP_COMP); in drm_pci_alloc()
153 dmah->busaddr); in __drm_pci_free()
Ddrm_bufs.c287 map->offset = (unsigned long)dmah->busaddr; in drm_addmap_core()
431 dmah.busaddr = map->offset; in drm_rmmap_locked()
874 buf->bus_address = dmah->busaddr + offset; in drm_addbufs_pci()
Ddrm_vm.c266 dmah.busaddr = map->offset; in drm_vm_shm_close()
/drivers/block/
Dsmart1,2.h44 writel(c->busaddr, h->vaddr + S42XX_REQUEST_PORT_OFFSET); in smart4_submit_command()
123 writel(c->busaddr, h->vaddr + COMMAND_FIFO); in smart2_submit_command()
159 outl(c->busaddr, h->io_mem_addr + COMMAND_FIFO); in smart2e_submit_command()
217 outl(c->busaddr, h->io_mem_addr + SMART1_LISTADDR); in smart1_submit_command()
Dcciss.h157 printk("Sending %x - down to controller\n", c->busaddr ); in SA5_submit_command()
159 writel(c->busaddr, h->vaddr + SA5_REQUEST_PORT_OFFSET); in SA5_submit_command()
Dcciss_scsi.c106 __u32 busaddr; member
163 c->cmd.busaddr = c->busaddr; in scsi_cmd_alloc()
167 temp64.val = (__u64) (c->busaddr + sizeof(CommandList_struct)); in scsi_cmd_alloc()
225 stk->elem[i]->busaddr = (__u32) (stk->cmd_pool_handle + in scsi_cmd_stack_setup()
923 cp->Header.Tag.lower = cp->busaddr; // Use k. address of cmd as tag in cciss_scsi_do_simple_cmd()
1462 cp->Header.Tag.lower = cp->busaddr; // Use k. address of cmd as tag in cciss_scsi_queue_command()
Dcciss.c496 c->busaddr = (__u32) cmd_dma_handle; in cmd_alloc()
520 c, (dma_addr_t) c->busaddr); in cmd_free()
999 c->Header.Tag.lower = c->busaddr; // use the kernel address the cmd block for tag in cciss_ioctl()
1149 c->Header.Tag.lower = c->busaddr; in cciss_ioctl()
1879 c->Header.Tag.lower = c->busaddr; in fill_cmd()
2434 && (complete & ~CISS_ERROR_BIT) == c->busaddr) { in sendcmd()
2445 complete = c->busaddr; in sendcmd()
2496 if (complete != c->busaddr) { in sendcmd()
2975 a = c->busaddr; in do_cciss_intr()
2983 if (c->busaddr == a) in do_cciss_intr()
[all …]
Dcciss_cmd.h263 __u32 busaddr; /* physical address of this record */ member
Dcpqarray.c1061 while(c->busaddr != a) { in do_ida_intr()
1070 if (c->busaddr == a) { in do_ida_intr()
1371 c->busaddr = cmd_dhandle; in cmd_alloc()
1381 c->busaddr); in cmd_free()
1462 if (complete != c->busaddr) { in sendcmd()
Dida_cmd.h92 __u32 busaddr; member
/drivers/net/irda/
Dvlsi_ir.c410 dma_addr_t busaddr; in vlsi_alloc_ring() local
435 || !(busaddr = pci_map_single(pdev, rd->buf, len, dir))) { in vlsi_alloc_ring()
444 busaddr = rd_get_addr(rd); in vlsi_alloc_ring()
446 if (busaddr) in vlsi_alloc_ring()
447 pci_unmap_single(pdev, busaddr, len, dir); in vlsi_alloc_ring()
454 rd_set_addr_status(rd, busaddr, 0); in vlsi_alloc_ring()
465 dma_addr_t busaddr; in vlsi_free_ring() local
471 busaddr = rd_get_addr(rd); in vlsi_free_ring()
473 if (busaddr) in vlsi_free_ring()
474 pci_unmap_single(r->pdev, busaddr, r->len, r->dir); in vlsi_free_ring()
[all …]
Dvlsi_ir.h723 dma_addr_t busaddr; member
/drivers/net/benet/
Dbe_main.c368 u64 busaddr; in make_tx_wrbs() local
383 busaddr = pci_map_single(pdev, skb->data, len, in make_tx_wrbs()
386 wrb_fill(wrb, busaddr, len); in make_tx_wrbs()
395 busaddr = pci_map_page(pdev, frag->page, in make_tx_wrbs()
399 wrb_fill(wrb, busaddr, frag->size); in make_tx_wrbs()
916 u64 busaddr; in be_tx_compl_process() local
928 busaddr = ((u64)wrb->frag_pa_hi << 32) | (u64)wrb->frag_pa_lo; in be_tx_compl_process()
929 if (busaddr != 0) { in be_tx_compl_process()
930 pci_unmap_single(adapter->pdev, busaddr, in be_tx_compl_process()
/drivers/scsi/aic7xxx/
Daic79xx_core.c7288 uint32_t busaddr; in ahd_chip_init() local
7543 busaddr = ahd->shared_data_map.physaddr; in ahd_chip_init()
7544 ahd_outl(ahd, SHARED_DATA_ADDR, busaddr); in ahd_chip_init()
7545 ahd_outl(ahd, QOUTFIFO_NEXT_ADDR, busaddr); in ahd_chip_init()
7593 busaddr = ahd_le32toh(ahd->next_queued_hscb->hscb_busaddr); in ahd_chip_init()
7594 ahd_outl(ahd, NEXT_QUEUED_SCB_ADDR, busaddr); in ahd_chip_init()
8118 uint32_t busaddr; in ahd_qinfifo_requeue() local
8120 busaddr = ahd_le32toh(scb->hscb->hscb_busaddr); in ahd_qinfifo_requeue()
8121 ahd_outl(ahd, NEXT_QUEUED_SCB_ADDR, busaddr); in ahd_qinfifo_requeue()
8208 uint32_t busaddr; in ahd_search_qinfifo() local
[all …]
/drivers/gpu/drm/radeon/
Dradeon_cp.c621 RADEON_WRITE(RADEON_CP_RB_RPTR_ADDR, entry->busaddr[page_ofs]); in radeon_cp_init_ring_buffer()
623 (unsigned long)entry->busaddr[page_ofs], in radeon_cp_init_ring_buffer()
/drivers/gpu/drm/i915/
Di915_dma.c94 dev_priv->dma_status_page = dev_priv->status_page_dmah->busaddr; in i915_init_phys_hws()
Dintel_display.c1048 addr = obj_priv->phys_obj->handle->busaddr; in intel_crtc_cursor_set()
/drivers/scsi/
Dips.c1798 ips_fill_scb_sg_single(ips_ha_t * ha, dma_addr_t busaddr, in ips_fill_scb_sg_single() argument
1815 cpu_to_le32(pci_dma_lo32(busaddr)); in ips_fill_scb_sg_single()
1817 cpu_to_le32(pci_dma_hi32(busaddr)); in ips_fill_scb_sg_single()
1821 cpu_to_le32(pci_dma_lo32(busaddr)); in ips_fill_scb_sg_single()
Ddc395x.c1026 u32 busaddr = (u32)sg_dma_address(sg); in build_srb() local
1028 sgp[i].address = busaddr; in build_srb()