Home
last modified time | relevance | path

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

12

/Linux-v6.1/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()
/Linux-v6.1/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()
344 /* bus_address is actually a mmu mapped address in int_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()
[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.h925 * @bus_address: Holds the CB's DMA address.
941 dma_addr_t bus_address; member
1021 * @bus_address: holds the queue's DMA address.
1038 dma_addr_t bus_address; member
1053 * @bus_address: holds the queue's DMA address
1063 dma_addr_t bus_address; member
1153 * @bus_address: holds the queue's DMA address
1164 dma_addr_t bus_address; member
/Linux-v6.1/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()
/Linux-v6.1/drivers/acpi/
Ddevice_sysfs.c422 if (acpi_dev->pnp.bus_address > U32_MAX) in adr_show()
423 return sprintf(buf, "0x%016llx\n", acpi_dev->pnp.bus_address); in adr_show()
425 return sprintf(buf, "0x%08llx\n", acpi_dev->pnp.bus_address); in adr_show()
555 if (dev->pnp.type.bus_address) in acpi_device_setup_files()
640 if (dev->pnp.type.bus_address) in acpi_device_remove_files()
Dglue.c131 if (!adev->pnp.type.bus_address || acpi_device_adr(adev) != wd->address) in check_one_child()
/Linux-v6.1/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()
2772 bus_address.u.a64.address; in hwi_init_async_pdu_ctx()
2878 bus_address.u.a64.address; in hwi_init_async_pdu_ctx()
2920 bus_address.u.a64.address; in hwi_init_async_pdu_ctx()
2978 pmem->bus_address.u.a64.address, in hwi_build_be_sgl_arr()
2990 pmem->bus_address.u.a64.address, in hwi_build_be_sgl_by_offset()
3170 bus_address.u.a64.address; in beiscsi_create_def_hdr()
3223 bus_address.u.a64.address; in beiscsi_create_def_data()
3374 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()
/Linux-v6.1/Documentation/devicetree/bindings/pci/
Dloongson.yaml58 // BUS_ADDRESS(3) CPU_PHYSICAL(2) SIZE(2)
Dhost-generic-pci.yaml161 // BUS_ADDRESS(3) CPU_PHYSICAL(2) SIZE(2)
/Linux-v6.1/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()
/Linux-v6.1/arch/xtensa/boot/dts/
Dvirt.dts58 // BUS_ADDRESS(3) CPU_PHYSICAL(1) SIZE(2)
/Linux-v6.1/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()
/Linux-v6.1/include/linux/
Dmost.h147 * @bus_address: (in) bus address of the buffer
184 dma_addr_t bus_address; member
/Linux-v6.1/include/acpi/
Dacpi_bus.h231 u32 bus_address:1; member
240 acpi_bus_address bus_address; /* _ADR */ member
249 #define acpi_device_adr(d) ((d)->pnp.bus_address)
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/include/drm/
Ddrm_legacy.h77 unsigned long bus_address; /**< Bus address of buffer */ member
/Linux-v6.1/arch/ia64/include/asm/
Dsal.h524 bus_address : 1, member
537 u64 bus_address; member
/Linux-v6.1/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()
/Linux-v6.1/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()

12