Home
last modified time | relevance | path

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

12

/drivers/parisc/
Diommu-helpers.h22 unsigned long dma_offset = 0, dma_len = 0; in iommu_fill_pdir() local
53 dma_offset = (unsigned long) pide & ~IOVP_MASK; in iommu_fill_pdir()
72 size = startsg->length + dma_offset; in iommu_fill_pdir()
73 dma_offset = 0; in iommu_fill_pdir()
106 unsigned long dma_offset, dma_len; /* start/len of DMA stream */ in iommu_coalesce_chunks() local
121 dma_offset = startsg->offset; in iommu_coalesce_chunks()
149 if (unlikely(ALIGN(dma_len + dma_offset + startsg->length, IOVP_SIZE) > in iommu_coalesce_chunks()
172 dma_len = ALIGN(dma_len + dma_offset, IOVP_SIZE); in iommu_coalesce_chunks()
176 | dma_offset; in iommu_coalesce_chunks()
/drivers/scsi/
Dzorro_esp.c627 unsigned long dma_offset; member
650 .dma_offset = 0x10000,
657 .dma_offset = 0x10021,
664 .dma_offset = 0x1ffe0,
670 .dma_offset = 0xf800,
676 .dma_offset = 0x1ff43,
683 .dma_offset = 0x1000041,
764 dmaaddr = zdd->dma_offset; in zorro_esp_probe()
767 dmaaddr = board + zdd->dma_offset; in zorro_esp_probe()
/drivers/gpu/drm/via/
Dvia_dma.c90 uint32_t agp_base = dev_priv->dma_offset + (uint32_t) dev_priv->agpAddr; in via_cmdbuf_space()
104 uint32_t agp_base = dev_priv->dma_offset + (uint32_t) dev_priv->agpAddr; in via_cmdbuf_lag()
119 uint32_t agp_base = dev_priv->dma_offset + (uint32_t) dev_priv->agpAddr; in via_cmdbuf_wait()
224 dev_priv->dma_offset = init->offset; in via_initialize()
425 dev_priv->dma_offset + (uint32_t) dev_priv->agpAddr + 4; in via_hook_segment()
501 agp_base = dev_priv->dma_offset + (uint32_t) dev_priv->agpAddr; in via_align_cmd()
529 agp_base = dev_priv->dma_offset + (uint32_t) dev_priv->agpAddr; in via_cmdbuf_start()
563 dev_priv->dma_offset + (uint32_t) dev_priv->agpAddr + 4; in via_cmdbuf_start()
Dvia_drv.h80 unsigned int dma_offset; member
/drivers/media/platform/exynos4-is/
Dfimc-core.c432 f->dma_offset.y_h = f->offs_h; in fimc_prepare_dma_offset()
434 f->dma_offset.y_h *= (depth >> 3); in fimc_prepare_dma_offset()
436 f->dma_offset.y_v = f->offs_v; in fimc_prepare_dma_offset()
438 f->dma_offset.cb_h = f->offs_h; in fimc_prepare_dma_offset()
439 f->dma_offset.cb_v = f->offs_v; in fimc_prepare_dma_offset()
441 f->dma_offset.cr_h = f->offs_h; in fimc_prepare_dma_offset()
442 f->dma_offset.cr_v = f->offs_v; in fimc_prepare_dma_offset()
446 f->dma_offset.cb_h >>= 1; in fimc_prepare_dma_offset()
447 f->dma_offset.cr_h >>= 1; in fimc_prepare_dma_offset()
450 f->dma_offset.cb_v >>= 1; in fimc_prepare_dma_offset()
[all …]
Dfimc-reg.c170 struct fimc_dma_offset *offset = &frame->dma_offset; in fimc_hw_set_out_dma()
424 struct fimc_dma_offset *offset = &frame->dma_offset; in fimc_hw_set_in_dma()
Dfimc-core.h259 struct fimc_dma_offset dma_offset; member
/drivers/net/ethernet/mellanox/mlx4/
Dicm.c317 int offset, dma_offset, i; in mlx4_table_find() local
330 dma_offset = offset = idx % MLX4_TABLE_CHUNK_SIZE; in mlx4_table_find()
359 if (dma_handle && dma_offset >= 0) { in mlx4_table_find()
360 if (len > dma_offset) in mlx4_table_find()
361 *dma_handle = dma_addr + dma_offset; in mlx4_table_find()
362 dma_offset -= len; in mlx4_table_find()
/drivers/infiniband/hw/mthca/
Dmthca_memfree.c280 int idx, offset, dma_offset, i; in mthca_table_find() local
292 dma_offset = offset = idx % MTHCA_TABLE_CHUNK_SIZE; in mthca_table_find()
299 if (dma_handle && dma_offset >= 0) { in mthca_table_find()
300 if (sg_dma_len(&chunk->mem[i]) > dma_offset) in mthca_table_find()
302 dma_offset; in mthca_table_find()
303 dma_offset -= sg_dma_len(&chunk->mem[i]); in mthca_table_find()
/drivers/misc/habanalabs/gaudi/
Dgaudi.c2805 u32 dma_offset = dma_id * DMA_CORE_OFFSET; in gaudi_init_dma_core() local
2809 WREG32(mmDMA0_CORE_RD_MAX_OUTSTAND + dma_offset, 0); in gaudi_init_dma_core()
2810 WREG32(mmDMA0_CORE_RD_MAX_SIZE + dma_offset, 0); in gaudi_init_dma_core()
2813 WREG32(mmDMA0_CORE_LBW_MAX_OUTSTAND + dma_offset, 15); in gaudi_init_dma_core()
2819 WREG32(mmDMA0_CORE_ERR_CFG + dma_offset, dma_err_cfg); in gaudi_init_dma_core()
2825 WREG32(mmDMA0_CORE_ERRMSG_ADDR_LO + dma_offset, in gaudi_init_dma_core()
2827 WREG32(mmDMA0_CORE_ERRMSG_ADDR_HI + dma_offset, in gaudi_init_dma_core()
2830 WREG32(mmDMA0_CORE_ERRMSG_WDATA + dma_offset, in gaudi_init_dma_core()
2832 WREG32(mmDMA0_CORE_PROT + dma_offset, in gaudi_init_dma_core()
2835 WREG32(mmDMA0_CORE_SECURE_PROPS + dma_offset, in gaudi_init_dma_core()
[all …]
/drivers/dma/ti/
Ddma-crossbar.c210 u32 dma_offset; member
283 dma_spec->args[0] = map->xbar_out + xbar->dma_offset; in ti_dra7_xbar_route_allocate()
416 xbar->dma_offset = *(u32 *)match->data; in ti_dra7_xbar_probe()
/drivers/infiniband/hw/hns/
Dhns_roce_hem.c724 int offset, dma_offset; in hns_roce_table_find() local
739 dma_offset = offset = idx_offset * table->obj_size; in hns_roce_table_find()
755 dma_offset = offset = obj * seg_size % mhop.bt_chunk_size; in hns_roce_table_find()
757 dma_offset = offset = 0; in hns_roce_table_find()
766 if (dma_handle && dma_offset >= 0) { in hns_roce_table_find()
767 if (length > (u32)dma_offset) in hns_roce_table_find()
769 &chunk->mem[i]) + dma_offset; in hns_roce_table_find()
770 dma_offset -= length; in hns_roce_table_find()
/drivers/media/pci/ivtv/
Divtv-irq.c256 s->name, s->dma_offset); in dma_post()
282 write_dec_sync(0, s->dma_offset - IVTV_DECODER_OFFSET); in dma_post()
285 write_enc_sync(0, s->dma_offset); in dma_post()
478 s_vbi->dma_offset = s_vbi->pending_offset; in ivtv_dma_enc_start()
490 s->dma_offset = s->pending_offset; in ivtv_dma_enc_start()
610 s->dma_offset, s->sg_processed, s->sg_processing_size, itv->dma_retries); in ivtv_irq_enc_dma_complete()
Divtvfb.c376 unsigned long dma_offset = in ivtvfb_write() local
426 p + lead + dma_offset, (void __user *)buf, dma_size); in ivtvfb_write()
/drivers/gpu/drm/nouveau/include/nvfw/
Dpmu.h17 u8 dma_offset; member
/drivers/net/ethernet/sfc/
Dtx_tso.c266 buffer->dma_offset = buffer->unmap_len - buffer->len; in tso_fill_packet_with_fragment()
330 buffer->dma_offset = 0; in tso_start_new_packet()
Dtx_common.c153 dma_addr_t unmap_addr = buffer->dma_addr - buffer->dma_offset; in efx_dequeue_buffer()
380 buffer->dma_offset = buffer->dma_addr - unmap_addr; in efx_tx_map_data()
/drivers/acpi/
Dscan.c1474 u64 len, dma_start = U64_MAX, dma_end = 0, dma_offset = 0; in acpi_dma_get_range() local
1500 if (dma_offset && rentry->offset != dma_offset) { in acpi_dma_get_range()
1505 dma_offset = rentry->offset; in acpi_dma_get_range()
1520 *dma_addr = dma_start - dma_offset; in acpi_dma_get_range()
1523 *offset = dma_offset; in acpi_dma_get_range()
/drivers/media/platform/s3c-camif/
Dcamif-core.h121 struct camif_dma_offset dma_offset; member
Dcamif-capture.c57 f->dma_offset.initial = f->rect.top * f->f_width + f->rect.left; in camif_prepare_dma_offset()
58 f->dma_offset.line = f->f_width - (f->rect.left + f->rect.width); in camif_prepare_dma_offset()
61 f->dma_offset.initial, f->dma_offset.line); in camif_prepare_dma_offset()
/drivers/net/ethernet/sfc/falcon/
Dtx.c58 dma_addr_t unmap_addr = buffer->dma_addr - buffer->dma_offset; in ef4_dequeue_buffer()
240 buffer->dma_offset = buffer->dma_addr - unmap_addr; in ef4_tx_map_data()
/drivers/net/ethernet/chelsio/cxgb/
Dsge.c200 u16 dma_offset; /* DMA offset to align IP headers */ member
567 q->dma_offset = sge->rx_pkt_pad ? 0 : NET_IP_ALIGN; in alloc_rx_resources()
589 sge->freelQ[!sge->jumbo_fl].dma_offset; in alloc_rx_resources()
798 sge->freelQ[sge->jumbo_fl].dma_offset - in jumbo_payload_capacity()
835 unsigned int dma_len = q->rx_buffer_size - q->dma_offset; in refill_free_list()
845 skb_reserve(skb, q->dma_offset); in refill_free_list()
/drivers/misc/cxl/
Dvphb.c42 dev->dev.archdata.dma_offset = PAGE_OFFSET; in cxl_pci_enable_device_hook()
/drivers/net/ethernet/broadcom/
Db44.h373 u32 dma_offset; member
Db44.c719 dp->addr = cpu_to_le32((u32) mapping + bp->dma_offset); in b44_alloc_rx_skb()
1025 bp->tx_ring[entry].addr = cpu_to_le32((u32) mapping+bp->dma_offset); in b44_start_xmit()
1431 bw32(bp, B44_DMATX_ADDR, bp->tx_ring_dma + bp->dma_offset); in b44_init_hw()
1434 bw32(bp, B44_DMARX_ADDR, bp->rx_ring_dma + bp->dma_offset); in b44_init_hw()
2161 bp->dma_offset = ssb_dma_translation(sdev); in b44_get_invariants()

12