Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/accel/habanalabs/common/
Dcommand_buffer.c43 rc = hl_mmu_map_contiguous(ctx, cb->virtual_addr, cb->bus_address, cb->roundup_size); in cb_map_mem()
86 hl_asic_dma_free_coherent(hdev, cb->size, cb->kernel_address, cb->bus_address); in cb_fini()
136 cb->bus_address = hdev->internal_cb_va_base + cb_offset; in hl_cb_alloc()
138 p = hl_asic_dma_alloc_coherent(hdev, cb_size, &cb->bus_address, GFP_ATOMIC); in hl_cb_alloc()
140 p = hl_asic_dma_alloc_coherent(hdev, cb_size, &cb->bus_address, GFP_KERNEL); in hl_cb_alloc()
142 p = hl_asic_dma_alloc_coherent(hdev, cb_size, &cb->bus_address, in hl_cb_alloc()
255 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.c512 p = hl_asic_dma_alloc_coherent(hdev, HL_CQ_SIZE_IN_BYTES, &q->bus_address, in hl_cq_init()
538 hl_asic_dma_free_coherent(hdev, HL_CQ_SIZE_IN_BYTES, q->kernel_address, q->bus_address); in hl_cq_fini()
571 p = hl_cpu_accessible_dma_pool_alloc(hdev, HL_EQ_SIZE_IN_BYTES, &q->bus_address); in hl_eq_init()
Dhabanalabs.h945 * @bus_address: Holds the CB's DMA address.
962 dma_addr_t bus_address; member
1043 * @bus_address: holds the queue's DMA address.
1060 dma_addr_t bus_address; member
1075 * @bus_address: holds the queue's DMA address
1085 dma_addr_t bus_address; member
1184 * @bus_address: holds the queue's DMA address
1195 dma_addr_t bus_address; member
/Linux-v6.6/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.6/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.c141 if (!adev->pnp.type.bus_address || acpi_device_adr(adev) != wd->address) in check_one_child()
Dscan.c1363 pnp->bus_address = info->address; in acpi_set_pnp_ids()
1364 pnp->type.bus_address = 1; in acpi_set_pnp_ids()
/Linux-v6.6/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()
Dbe_main.h196 struct be_bus_address bus_address; /* Bus address of location */ member
/Linux-v6.6/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.6/arch/xtensa/boot/dts/
Dvirt.dts58 // BUS_ADDRESS(3) CPU_PHYSICAL(1) SIZE(2)
/Linux-v6.6/drivers/staging/most/dim2/
Ddim2.c191 BUG_ON(mbo->bus_address == 0); in try_start_dim_transfer()
192 if (!dim_enqueue_buffer(&hdm_ch->ch, mbo->bus_address, buf_size)) { in try_start_dim_transfer()
575 if (mbo->bus_address == 0) in enqueue()
674 return dma_alloc_coherent(dev, size, &mbo->bus_address, GFP_KERNEL); in dma_alloc()
681 dma_free_coherent(dev, size, mbo->virt_address, mbo->bus_address); in dma_free()
/Linux-v6.6/include/linux/
Dmost.h147 * @bus_address: (in) bus address of the buffer
184 dma_addr_t bus_address; member
/Linux-v6.6/include/acpi/
Dacpi_bus.h232 u32 bus_address:1; member
242 acpi_bus_address bus_address; /* _ADR */ member
251 #define acpi_device_adr(d) ((d)->pnp.bus_address)
/Linux-v6.6/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.6/include/drm/
Ddrm_legacy.h77 unsigned long bus_address; /**< Bus address of buffer */ member
/Linux-v6.6/arch/ia64/include/asm/
Dsal.h524 bus_address : 1, member
537 u64 bus_address; member
/Linux-v6.6/drivers/accel/habanalabs/goya/
Dgoya.c1087 dma_addr_t bus_address) in goya_init_dma_qman() argument
1106 WREG32(mmDMA_QM_0_PQ_BASE_LO + reg_off, lower_32_bits(bus_address)); in goya_init_dma_qman()
1107 WREG32(mmDMA_QM_0_PQ_BASE_HI + reg_off, upper_32_bits(bus_address)); in goya_init_dma_qman()
1185 goya_init_dma_qman(hdev, i, q->bus_address); in goya_init_dma_qmans()
1349 WREG32(mmCPU_PQ_BASE_ADDR_LOW, lower_32_bits(cpu_pq->bus_address)); in goya_init_cpu_queues()
1350 WREG32(mmCPU_PQ_BASE_ADDR_HIGH, upper_32_bits(cpu_pq->bus_address)); in goya_init_cpu_queues()
1352 WREG32(mmCPU_EQ_BASE_ADDR_LOW, lower_32_bits(eq->bus_address)); in goya_init_cpu_queues()
1353 WREG32(mmCPU_EQ_BASE_ADDR_HIGH, upper_32_bits(eq->bus_address)); in goya_init_cpu_queues()
3117 job->job_cb_size, cb->bus_address); in goya_send_job_on_qman0()
/Linux-v6.6/drivers/gpu/drm/
Ddrm_bufs.c814 buf->bus_address = agp_offset + offset; in drm_legacy_addbufs_agp()
1030 buf->bus_address = dmah->busaddr + offset; in drm_legacy_addbufs_pci()
1192 buf->bus_address = agp_offset + offset; in drm_legacy_addbufs_sg()
/Linux-v6.6/drivers/accel/habanalabs/gaudi/
Dgaudi.c2713 q->bus_address); in gaudi_init_pci_dma_qmans()
3833 WREG32(mmCPU_IF_PQ_BASE_ADDR_LOW, lower_32_bits(cpu_pq->bus_address)); in gaudi_init_cpu_queues()
3834 WREG32(mmCPU_IF_PQ_BASE_ADDR_HIGH, upper_32_bits(cpu_pq->bus_address)); in gaudi_init_cpu_queues()
3836 WREG32(mmCPU_IF_EQ_BASE_ADDR_LOW, lower_32_bits(eq->bus_address)); in gaudi_init_cpu_queues()
3837 WREG32(mmCPU_IF_EQ_BASE_ADDR_HIGH, upper_32_bits(eq->bus_address)); in gaudi_init_cpu_queues()
6389 job->job_cb_size, cb->bus_address); in gaudi_send_job_on_qman0()
/Linux-v6.6/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c4790 WREG32(mmCPU_IF_PQ_BASE_ADDR_LOW, lower_32_bits(cpu_pq->bus_address)); in gaudi2_init_cpu_queues()
4791 WREG32(mmCPU_IF_PQ_BASE_ADDR_HIGH, upper_32_bits(cpu_pq->bus_address)); in gaudi2_init_cpu_queues()
4793 WREG32(mmCPU_IF_EQ_BASE_ADDR_LOW, lower_32_bits(eq->bus_address)); in gaudi2_init_cpu_queues()
4794 WREG32(mmCPU_IF_EQ_BASE_ADDR_HIGH, upper_32_bits(eq->bus_address)); in gaudi2_init_cpu_queues()
4850 lower_32_bits(q->bus_address)); in gaudi2_init_qman_pq()
4852 upper_32_bits(q->bus_address)); in gaudi2_init_qman_pq()
5243 hdev->completion_queue[i].bus_address; in gaudi2_init_sm()

12