Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/radeon/
Datom.c590 int dptr = *ptr; in atom_op_add() local
597 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_add()
604 int dptr = *ptr; in atom_op_and() local
611 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_and()
639 int dptr = *ptr; in atom_op_clear() local
644 atom_put_dst(ctx, arg, attr, &dptr, 0, saved); in atom_op_clear()
752 int dptr = *ptr; in atom_op_mask() local
762 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_mask()
769 int dptr = *ptr; in atom_op_move() local
779 atom_put_dst(ctx, arg, attr, &dptr, src, saved); in atom_op_move()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Datom.c587 int dptr = *ptr; in atom_op_add() local
594 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_add()
601 int dptr = *ptr; in atom_op_and() local
608 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_and()
636 int dptr = *ptr; in atom_op_clear() local
641 atom_put_dst(ctx, arg, attr, &dptr, 0, saved); in atom_op_clear()
771 int dptr = *ptr; in atom_op_mask() local
781 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_mask()
788 int dptr = *ptr; in atom_op_move() local
798 atom_put_dst(ctx, arg, attr, &dptr, src, saved); in atom_op_move()
[all …]
/drivers/net/ethernet/cavium/liquidio/
Docteon_iq.h187 u64 dptr; member
209 u64 dptr; member
233 u64 dptr; member
Dlio_vf_main.c814 dma_unmap_single(&lio->oct_dev->pci_dev->dev, finfo->dptr, skb->len, in free_netbuf()
1428 u64 dptr = 0; in liquidio_xmit() local
1496 dptr = dma_map_single(&oct->pci_dev->dev, in liquidio_xmit()
1500 if (dma_mapping_error(&oct->pci_dev->dev, dptr)) { in liquidio_xmit()
1506 ndata.cmd.cmd3.dptr = dptr; in liquidio_xmit()
1507 finfo->dptr = dptr; in liquidio_xmit()
1575 dptr = g->sg_dma_ptr; in liquidio_xmit()
1577 ndata.cmd.cmd3.dptr = dptr; in liquidio_xmit()
1578 finfo->dptr = dptr; in liquidio_xmit()
1629 if (dptr) in liquidio_xmit()
[all …]
Dlio_main.c1428 dma_unmap_single(&lio->oct_dev->pci_dev->dev, finfo->dptr, skb->len, in free_netbuf()
2325 u64 dptr = 0; in liquidio_xmit() local
2399 dptr = dma_map_single(&oct->pci_dev->dev, in liquidio_xmit()
2403 if (dma_mapping_error(&oct->pci_dev->dev, dptr)) { in liquidio_xmit()
2411 ndata.cmd.cmd3.dptr = dptr; in liquidio_xmit()
2413 ndata.cmd.cmd2.dptr = dptr; in liquidio_xmit()
2414 finfo->dptr = dptr; in liquidio_xmit()
2484 dptr = g->sg_dma_ptr; in liquidio_xmit()
2487 ndata.cmd.cmd3.dptr = dptr; in liquidio_xmit()
2489 ndata.cmd.cmd2.dptr = dptr; in liquidio_xmit()
[all …]
Docteon_main.h60 u64 dptr; member
/drivers/scsi/lpfc/
Dlpfc_nvme.c819 uint32_t *wptr, *dptr; in lpfc_nvme_adj_fcp_sgls() local
859 dptr = (uint32_t *)nCmd->cmdaddr; /* payload ptr */ in lpfc_nvme_adj_fcp_sgls()
860 dptr++; /* Skip Word 0 in payload */ in lpfc_nvme_adj_fcp_sgls()
862 *wptr++ = *dptr++; /* Word 1 */ in lpfc_nvme_adj_fcp_sgls()
863 *wptr++ = *dptr++; /* Word 2 */ in lpfc_nvme_adj_fcp_sgls()
864 *wptr++ = *dptr++; /* Word 3 */ in lpfc_nvme_adj_fcp_sgls()
865 *wptr++ = *dptr++; /* Word 4 */ in lpfc_nvme_adj_fcp_sgls()
866 dptr++; /* Skip Word 5 in payload */ in lpfc_nvme_adj_fcp_sgls()
867 *wptr++ = *dptr++; /* Word 6 */ in lpfc_nvme_adj_fcp_sgls()
868 *wptr++ = *dptr++; /* Word 7 */ in lpfc_nvme_adj_fcp_sgls()
[all …]
/drivers/net/ethernet/renesas/
Dravb.h870 __le32 dptr; /* Descriptor pointer */ member
898 __le32 dptr; /* Descpriptor pointer */ member
905 __le32 dptr; /* Descpriptor pointer */ member
935 __le32 dptr; /* Descpriptor pointer */ member
Dravb_main.c200 dma_unmap_single(ndev->dev.parent, le32_to_cpu(desc->dptr), in ravb_tx_free()
232 le32_to_cpu(desc->dptr))) in ravb_rx_ring_free()
234 le32_to_cpu(desc->dptr), in ravb_rx_ring_free()
307 rx_desc->dptr = cpu_to_le32(dma_addr); in ravb_rx_ring_format()
311 rx_desc->dptr = cpu_to_le32((u32)priv->rx_desc_dma[q]); in ravb_rx_ring_format()
344 tx_desc->dptr = cpu_to_le32((u32)priv->tx_desc_dma[q]); in ravb_ring_format()
350 desc->dptr = cpu_to_le32((u32)priv->rx_desc_dma[q]); in ravb_ring_format()
355 desc->dptr = cpu_to_le32((u32)priv->tx_desc_dma[q]); in ravb_ring_format()
632 dma_unmap_single(ndev->dev.parent, le32_to_cpu(desc->dptr), in ravb_rcar_rx()
682 desc->dptr = cpu_to_le32(dma_addr); in ravb_rcar_rx()
[all …]
/drivers/crypto/
Dhifn_795x.c883 u32 dptr = dev->desc_dma; in hifn_init_dma() local
887 dma->cmdr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
890 dma->resr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
894 dma->cmdr[HIFN_D_CMD_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
896 dma->srcr[HIFN_D_SRC_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
898 dma->dstr[HIFN_D_DST_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
900 dma->resr[HIFN_D_RES_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
975 u32 dptr = dev->desc_dma; in hifn_init_registers() local
983 hifn_write_1(dev, HIFN_1_DMA_CRAR, dptr + in hifn_init_registers()
985 hifn_write_1(dev, HIFN_1_DMA_SRAR, dptr + in hifn_init_registers()
[all …]
/drivers/nvme/target/
Dcore.c97 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_to_sgl()
106 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_copy_from_sgl()
115 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_zero_sgl()
990 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_check_transfer_len()
1002 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_check_data_len_lte()
1354 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_alloc_ctrl()
1365 req->error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_alloc_ctrl()
Drdma.c854 struct nvme_sgl_desc *sgl = &rsp->req.cmd->common.dptr.sgl; in nvmet_rdma_map_sgl_inline()
919 struct nvme_keyed_sgl_desc *sgl = &rsp->req.cmd->common.dptr.ksgl; in nvmet_rdma_map_sgl()
929 offsetof(struct nvme_common_command, dptr); in nvmet_rdma_map_sgl()
941 offsetof(struct nvme_common_command, dptr); in nvmet_rdma_map_sgl()
946 rsp->req.error_loc = offsetof(struct nvme_common_command, dptr); in nvmet_rdma_map_sgl()
/drivers/dma/sh/
Drcar-dmac.c1323 unsigned int dptr = 0; in rcar_dmac_chan_get_residue() local
1399 dptr = chcrb >> RCAR_DMACHCRB_DPTR_SHIFT; in rcar_dmac_chan_get_residue()
1400 if (dptr == 0) in rcar_dmac_chan_get_residue()
1401 dptr = desc->nchunks; in rcar_dmac_chan_get_residue()
1402 dptr--; in rcar_dmac_chan_get_residue()
1403 WARN_ON(dptr >= desc->nchunks); in rcar_dmac_chan_get_residue()
1410 if (chunk == running || ++dptr == desc->nchunks) in rcar_dmac_chan_get_residue()
/drivers/crypto/cavium/cpt/
Drequest_manager.h139 u64 dptr; member
Dcptvf_reqmanager.c469 vq_cmd.dptr = info->dptr_baddr; in process_request()
520 cptinst.s.ei1 = vq_cmd.dptr; in process_request()
/drivers/crypto/marvell/octeontx2/
Dotx2_cpt_reqmgr.h69 u64 dptr; member
Dotx2_cptlf.h301 cptinst->s.ei1 = iq_cmd->dptr; in otx2_cpt_fill_inst()
/drivers/crypto/marvell/octeontx/
Dotx_cptvf_reqmgr.h117 u64 dptr; member
Dotx_cptvf_reqmgr.c257 inst->s.ei1 = cmd->dptr; in cpt_fill_inst()
369 iq_cmd.dptr = info->dptr_baddr; in process_request()
/drivers/nvme/host/
Dpci.c692 cmnd->dptr.prp1 = cpu_to_le64(sg_dma_address(iod->sg)); in nvme_pci_setup_prps()
693 cmnd->dptr.prp2 = cpu_to_le64(iod->first_dma); in nvme_pci_setup_prps()
740 nvme_pci_sgl_set_data(&cmd->dptr.sgl, sg); in nvme_pci_setup_sgls()
761 nvme_pci_sgl_set_seg(&cmd->dptr.sgl, sgl_dma, entries); in nvme_pci_setup_sgls()
801 cmnd->dptr.prp1 = cpu_to_le64(iod->first_dma); in nvme_setup_prp_simple()
803 cmnd->dptr.prp2 = cpu_to_le64(iod->first_dma + first_prp_len); in nvme_setup_prp_simple()
805 cmnd->dptr.prp2 = 0; in nvme_setup_prp_simple()
821 cmnd->dptr.sgl.addr = cpu_to_le64(iod->first_dma); in nvme_setup_sgl_simple()
822 cmnd->dptr.sgl.length = cpu_to_le32(iod->dma_len); in nvme_setup_sgl_simple()
823 cmnd->dptr.sgl.type = NVME_SGL_FMT_DATA_DESC << 4; in nvme_setup_sgl_simple()
/drivers/net/wan/
Dz85230.h273 u8 *dptr; /* Pointer into rx buffer */ member
Dz85230.c326 *c->dptr++ = ch; in z8530_rx()
336 c->dptr = c->skb->data; in z8530_rx()
1525 c->dptr = c->skb->data; in z8530_rx_done()
/drivers/video/fbdev/aty/
Daty128fb.c813 u16 dptr; in aty128_map_ROM() local
841 dptr = BIOS_IN16(0x18); in aty128_map_ROM()
868 if (BIOS_IN32(dptr) != (('R' << 24) | ('I' << 16) | ('C' << 8) | 'P')) { in aty128_map_ROM()
870 BIOS_IN32(dptr)); in aty128_map_ROM()
873 rom_type = BIOS_IN8(dptr + 0x14); in aty128_map_ROM()
Dradeon_base.c417 u16 dptr; in radeon_map_ROM() local
451 dptr = BIOS_IN16(0x18); in radeon_map_ROM()
477 if (BIOS_IN32(dptr) != (('R' << 24) | ('I' << 16) | ('C' << 8) | 'P')) { in radeon_map_ROM()
479 "incorrect: %08x\n", pci_name(rinfo->pdev), BIOS_IN32(dptr)); in radeon_map_ROM()
482 rom_type = BIOS_IN8(dptr + 0x14); in radeon_map_ROM()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1515 u8 *dptr, num = 0; in brcmf_sdio_rxglom() local
1534 dptr = bus->glomd->data; in brcmf_sdio_rxglom()
1543 sublen = get_unaligned_le16(dptr); in brcmf_sdio_rxglom()
1545 dptr += sizeof(u16); in brcmf_sdio_rxglom()
1688 dptr = (u8 *) (pfirst->data); in brcmf_sdio_rxglom()
1689 sublen = get_unaligned_le16(dptr); in brcmf_sdio_rxglom()
1690 doff = brcmf_sdio_getdatoffset(&dptr[SDPCM_HWHDR_LEN]); in brcmf_sdio_rxglom()
1693 dptr, pfirst->len, in brcmf_sdio_rxglom()
1713 if (brcmf_sdio_fromevntchan(&dptr[SDPCM_HWHDR_LEN])) in brcmf_sdio_rxglom()

12