Home
last modified time | relevance | path

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

/drivers/gpu/drm/r128/
Dati_pcigart.c126 dma_addr_t bus_address = 0; in drm_ati_pcigart_init() local
153 bus_address = gart_info->table_handle->busaddr; in drm_ati_pcigart_init()
156 bus_address = gart_info->bus_addr; in drm_ati_pcigart_init()
158 (unsigned long long)bus_address, in drm_ati_pcigart_init()
183 bus_address = 0; in drm_ati_pcigart_init()
226 gart_info->bus_addr = bus_address; in drm_ati_pcigart_init()
Dr128_state.c577 int offset = buf->bus_address; in r128_cce_dispatch_vertex()
649 int offset = buf->bus_address + start; in r128_cce_dispatch_indirect()
/drivers/scsi/smartpqi/
Dsmartpqi_sis.c308 dma_addr_t bus_address; in sis_init_base_struct_addr() local
329 bus_address = dma_map_single(&ctrl_info->pci_dev->dev, base_struct, in sis_init_base_struct_addr()
331 if (dma_mapping_error(&ctrl_info->pci_dev->dev, bus_address)) { in sis_init_base_struct_addr()
337 params.mailbox[1] = lower_32_bits((u64)bus_address); in sis_init_base_struct_addr()
338 params.mailbox[2] = upper_32_bits((u64)bus_address); in sis_init_base_struct_addr()
344 dma_unmap_single(&ctrl_info->pci_dev->dev, bus_address, in sis_init_base_struct_addr()
Dsmartpqi_init.c526 dma_addr_t bus_address; in pqi_map_single() local
531 bus_address = dma_map_single(&pci_dev->dev, buffer, buffer_length, in pqi_map_single()
533 if (dma_mapping_error(&pci_dev->dev, bus_address)) in pqi_map_single()
536 put_unaligned_le64((u64)bus_address, &sg_descriptor->address); in pqi_map_single()
/drivers/misc/habanalabs/common/
Dcommand_buffer.c48 rc = hl_mmu_map_contiguous(ctx, cb->virtual_addr, cb->bus_address, cb->roundup_size); in cb_map_mem()
83 hl_asic_dma_free_coherent(hdev, cb->size, cb->kernel_address, cb->bus_address); in cb_fini()
132 cb->bus_address = hdev->internal_cb_va_base + cb_offset; in hl_cb_alloc()
134 p = hl_asic_dma_alloc_coherent(hdev, cb_size, &cb->bus_address, GFP_ATOMIC); in hl_cb_alloc()
136 p = hl_asic_dma_alloc_coherent(hdev, cb_size, &cb->bus_address, GFP_KERNEL); in hl_cb_alloc()
138 p = hl_asic_dma_alloc_coherent(hdev, cb_size, &cb->bus_address, in hl_cb_alloc()
251 cb->bus_address, cb->size); in hl_cb_mmap()
Dhw_queue.c288 ptr = cb->bus_address; in ext_queue_schedule_job()
308 cq_addr = cq->bus_address + cq->pi * sizeof(struct hl_cq_entry); in ext_queue_schedule_job()
347 bd.ptr = cpu_to_le64(job->user_cb->bus_address); in int_queue_schedule_job()
395 ptr = job->patched_cb->bus_address; in hw_queue_schedule_job()
397 ptr = job->user_cb->bus_address; in hw_queue_schedule_job()
820 p = hl_cpu_accessible_dma_pool_alloc(hdev, HL_QUEUE_SIZE_IN_BYTES, &q->bus_address); in ext_and_cpu_queue_init()
822 p = hl_asic_dma_alloc_coherent(hdev, HL_QUEUE_SIZE_IN_BYTES, &q->bus_address, in ext_and_cpu_queue_init()
849 q->bus_address); in ext_and_cpu_queue_init()
859 &q->bus_address, &q->int_queue_len); in int_queue_init()
888 p = hl_asic_dma_alloc_coherent(hdev, HL_QUEUE_SIZE_IN_BYTES, &q->bus_address, in hw_queue_init()
[all …]
Dirq.c472 p = hl_asic_dma_alloc_coherent(hdev, HL_CQ_SIZE_IN_BYTES, &q->bus_address, in hl_cq_init()
498 hl_asic_dma_free_coherent(hdev, HL_CQ_SIZE_IN_BYTES, q->kernel_address, q->bus_address); in hl_cq_fini()
531 p = hl_cpu_accessible_dma_pool_alloc(hdev, HL_EQ_SIZE_IN_BYTES, &q->bus_address); in hl_eq_init()
Dhabanalabs.h943 dma_addr_t bus_address; member
1040 dma_addr_t bus_address; member
1065 dma_addr_t bus_address; member
1166 dma_addr_t bus_address; member
/drivers/acpi/
Ddevice_sysfs.c424 if (acpi_dev->pnp.bus_address > U32_MAX) in adr_show()
425 return sprintf(buf, "0x%016llx\n", acpi_dev->pnp.bus_address); in adr_show()
427 return sprintf(buf, "0x%08llx\n", acpi_dev->pnp.bus_address); in adr_show()
557 if (dev->pnp.type.bus_address) in acpi_device_setup_files()
642 if (dev->pnp.type.bus_address) in acpi_device_remove_files()
Dglue.c141 if (!adev->pnp.type.bus_address || acpi_device_adr(adev) != wd->address) in check_one_child()
Dscan.c1358 pnp->bus_address = info->address; in acpi_set_pnp_ids()
1359 pnp->type.bus_address = 1; in acpi_set_pnp_ids()
Ddevice_pm.c462 if (!(adev->flags.power_manageable && adev->pnp.type.bus_address)) in acpi_power_up_if_adr_present()
/drivers/gpu/drm/savage/
Dsavage_state.c361 if (dmabuf->bus_address != dev_priv->state.common.vbaddr) { in savage_dispatch_dma_prim()
364 BCI_WRITE(dmabuf->bus_address | dev_priv->dma_type); in savage_dispatch_dma_prim()
365 dev_priv->state.common.vbaddr = dmabuf->bus_address; in savage_dispatch_dma_prim()
613 if (dmabuf->bus_address != dev_priv->state.common.vbaddr) { in savage_dispatch_dma_idx()
616 BCI_WRITE(dmabuf->bus_address | dev_priv->dma_type); in savage_dispatch_dma_idx()
617 dev_priv->state.common.vbaddr = dmabuf->bus_address; in savage_dispatch_dma_idx()
/drivers/scsi/be2iscsi/
Dbe_mgmt.h145 bus_address.u.a32.address_lo; \
147 bus_address.u.a32.address_hi; \
Dbe_main.c2533 mem_arr->bus_address.u. in beiscsi_alloc_mem()
2566 bus_address.u.a64.address); in beiscsi_alloc_mem()
2773 bus_address.u.a64.address; in hwi_init_async_pdu_ctx()
2879 bus_address.u.a64.address; in hwi_init_async_pdu_ctx()
2921 bus_address.u.a64.address; in hwi_init_async_pdu_ctx()
2979 pmem->bus_address.u.a64.address, in hwi_build_be_sgl_arr()
2991 pmem->bus_address.u.a64.address, in hwi_build_be_sgl_by_offset()
3171 bus_address.u.a64.address; in beiscsi_create_def_hdr()
3224 bus_address.u.a64.address; in beiscsi_create_def_data()
3375 pa_addr_lo = mem_descr->mem_array[idx].bus_address.u.a64.address; in beiscsi_create_wrb_rings()
[all …]
Dbe_mgmt.c1350 mem_descr->mem_array[0].bus_address.u.a32.address_hi); in beiscsi_offload_cxn_v0()
1353 mem_descr->mem_array[0].bus_address.u.a32.address_lo); in beiscsi_offload_cxn_v0()
Dbe_main.h197 struct be_bus_address bus_address; /* Bus address of location */ member
/drivers/staging/most/dim2/
Ddim2.c188 BUG_ON(mbo->bus_address == 0); in try_start_dim_transfer()
189 if (!dim_enqueue_buffer(&hdm_ch->ch, mbo->bus_address, buf_size)) { in try_start_dim_transfer()
572 if (mbo->bus_address == 0) in enqueue()
671 return dma_alloc_coherent(dev, size, &mbo->bus_address, GFP_KERNEL); in dma_alloc()
678 dma_free_coherent(dev, size, mbo->virt_address, mbo->bus_address); in dma_free()
/drivers/gpu/drm/i810/
Di810_dma.c142 MAP_SHARED, buf->bus_address); in i810_map_buffer()
306 buf_priv->map.offset = buf->bus_address; in i810_freelist_init()
719 unsigned long address = (unsigned long)buf->bus_address; in i810_dma_dispatch_vertex()
1038 unsigned long address = (unsigned long)buf->bus_address; in i810_dma_dispatch_mc()
/drivers/gpu/drm/mga/
Dmga_state.c627 u32 address = (u32) buf->bus_address; in mga_dma_dispatch_vertex()
675 u32 address = (u32) buf->bus_address; in mga_dma_dispatch_indices()
725 buf->bus_address | dev_priv->dma_access | MGA_SRCMAP_SYSMEM; in mga_dma_dispatch_iload()
/drivers/most/
Dmost_usb.c490 urb->transfer_dma = mbo->bus_address; in hdm_enqueue()
540 &mbo->bus_address); in hdm_dma_alloc()
548 mbo->bus_address); in hdm_dma_free()
/drivers/misc/habanalabs/goya/
Dgoya.c1080 dma_addr_t bus_address) in goya_init_dma_qman() argument
1099 WREG32(mmDMA_QM_0_PQ_BASE_LO + reg_off, lower_32_bits(bus_address)); in goya_init_dma_qman()
1100 WREG32(mmDMA_QM_0_PQ_BASE_HI + reg_off, upper_32_bits(bus_address)); in goya_init_dma_qman()
1178 goya_init_dma_qman(hdev, i, q->bus_address); in goya_init_dma_qmans()
1342 WREG32(mmCPU_PQ_BASE_ADDR_LOW, lower_32_bits(cpu_pq->bus_address)); in goya_init_cpu_queues()
1343 WREG32(mmCPU_PQ_BASE_ADDR_HIGH, upper_32_bits(cpu_pq->bus_address)); in goya_init_cpu_queues()
1345 WREG32(mmCPU_EQ_BASE_ADDR_LOW, lower_32_bits(eq->bus_address)); in goya_init_cpu_queues()
1346 WREG32(mmCPU_EQ_BASE_ADDR_HIGH, upper_32_bits(eq->bus_address)); in goya_init_cpu_queues()
3112 job->job_cb_size, cb->bus_address); in goya_send_job_on_qman0()
/drivers/gpu/drm/
Ddrm_bufs.c818 buf->bus_address = agp_offset + offset; in drm_legacy_addbufs_agp()
1034 buf->bus_address = dmah->busaddr + offset; in drm_legacy_addbufs_pci()
1196 buf->bus_address = agp_offset + offset; in drm_legacy_addbufs_sg()
/drivers/misc/habanalabs/gaudi2/
Dgaudi2.c4028 WREG32(mmCPU_IF_PQ_BASE_ADDR_LOW, lower_32_bits(cpu_pq->bus_address)); in gaudi2_init_cpu_queues()
4029 WREG32(mmCPU_IF_PQ_BASE_ADDR_HIGH, upper_32_bits(cpu_pq->bus_address)); in gaudi2_init_cpu_queues()
4031 WREG32(mmCPU_IF_EQ_BASE_ADDR_LOW, lower_32_bits(eq->bus_address)); in gaudi2_init_cpu_queues()
4032 WREG32(mmCPU_IF_EQ_BASE_ADDR_HIGH, upper_32_bits(eq->bus_address)); in gaudi2_init_cpu_queues()
4088 lower_32_bits(q->bus_address)); in gaudi2_init_qman_pq()
4090 upper_32_bits(q->bus_address)); in gaudi2_init_qman_pq()
4495 hdev->completion_queue[i].bus_address; in gaudi2_init_sm()
/drivers/misc/habanalabs/gaudi/
Dgaudi.c2772 q->bus_address); in gaudi_init_pci_dma_qmans()
3896 WREG32(mmCPU_IF_PQ_BASE_ADDR_LOW, lower_32_bits(cpu_pq->bus_address)); in gaudi_init_cpu_queues()
3897 WREG32(mmCPU_IF_PQ_BASE_ADDR_HIGH, upper_32_bits(cpu_pq->bus_address)); in gaudi_init_cpu_queues()
3899 WREG32(mmCPU_IF_EQ_BASE_ADDR_LOW, lower_32_bits(eq->bus_address)); in gaudi_init_cpu_queues()
3900 WREG32(mmCPU_IF_EQ_BASE_ADDR_HIGH, upper_32_bits(eq->bus_address)); in gaudi_init_cpu_queues()
6467 job->job_cb_size, cb->bus_address); in gaudi_send_job_on_qman0()