/linux-master/drivers/hwtracing/intel_th/ |
H A D | msu-sink.c | 55 struct scatterlist *sg_ptr; local 70 for_each_sg((*sgt)->sgl, sg_ptr, nents, i) { 72 PAGE_SIZE, &sg_dma_address(sg_ptr), 77 sg_set_buf(sg_ptr, block, PAGE_SIZE); 87 struct scatterlist *sg_ptr; local 90 for_each_sg(sgt->sgl, sg_ptr, sgt->nents, i) { 92 sg_virt(sg_ptr), sg_dma_address(sg_ptr));
|
H A D | msu.c | 994 struct scatterlist *sg_ptr; local 1002 for_each_sg(win->sgt->sgl, sg_ptr, nr_segs, i) { 1004 PAGE_SIZE, &sg_dma_address(sg_ptr), 1009 sg_set_buf(sg_ptr, block, PAGE_SIZE); 1015 for_each_sg(win->sgt->sgl, sg_ptr, i, ret) 1017 sg_virt(sg_ptr), sg_dma_address(sg_ptr)); 1027 struct scatterlist *sg_ptr; local 1037 for_each_sg(win->sgt->sgl, sg_ptr, win->nr_segs, i) { 1039 set_memory_uc((unsigned long)sg_virt(sg_ptr), 1047 struct scatterlist *sg_ptr; local [all...] |
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cpt_reqmgr.h | 216 struct otx2_cpt_sglist_component *sg_ptr; local 237 sg_ptr = (struct otx2_cpt_sglist_component *)buffer; 239 sg_ptr->len0 = cpu_to_be16(list[i * SG_COMPS_MAX + 0].size); 240 sg_ptr->len1 = cpu_to_be16(list[i * SG_COMPS_MAX + 1].size); 241 sg_ptr->len2 = cpu_to_be16(list[i * SG_COMPS_MAX + 2].size); 242 sg_ptr->len3 = cpu_to_be16(list[i * SG_COMPS_MAX + 3].size); 243 sg_ptr->ptr0 = cpu_to_be64(list[i * SG_COMPS_MAX + 0].dma_addr); 244 sg_ptr->ptr1 = cpu_to_be64(list[i * SG_COMPS_MAX + 1].dma_addr); 245 sg_ptr->ptr2 = cpu_to_be64(list[i * SG_COMPS_MAX + 2].dma_addr); 246 sg_ptr 285 struct cn10kb_cpt_sglist_component *sg_ptr; local [all...] |
/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_reqmgr.c | 100 struct otx_cpt_sglist_component *sg_ptr = NULL; local 125 sg_ptr = (struct otx_cpt_sglist_component *)buffer; 127 sg_ptr->u.s.len0 = cpu_to_be16(list[i * 4 + 0].size); 128 sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size); 129 sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); 130 sg_ptr->u.s.len3 = cpu_to_be16(list[i * 4 + 3].size); 131 sg_ptr->ptr0 = cpu_to_be64(list[i * 4 + 0].dma_addr); 132 sg_ptr->ptr1 = cpu_to_be64(list[i * 4 + 1].dma_addr); 133 sg_ptr->ptr2 = cpu_to_be64(list[i * 4 + 2].dma_addr); 134 sg_ptr [all...] |
/linux-master/drivers/crypto/cavium/cpt/ |
H A D | cptvf_reqmanager.c | 49 struct sglist_component *sg_ptr = NULL; local 74 sg_ptr = (struct sglist_component *)buffer; 76 sg_ptr->u.s.len0 = cpu_to_be16(list[i * 4 + 0].size); 77 sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size); 78 sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); 79 sg_ptr->u.s.len3 = cpu_to_be16(list[i * 4 + 3].size); 80 sg_ptr->ptr0 = cpu_to_be64(list[i * 4 + 0].dma_addr); 81 sg_ptr->ptr1 = cpu_to_be64(list[i * 4 + 1].dma_addr); 82 sg_ptr->ptr2 = cpu_to_be64(list[i * 4 + 2].dma_addr); 83 sg_ptr [all...] |
/linux-master/drivers/staging/rts5208/ |
H A D | rtsx_transport.c | 324 struct scatterlist *sg_ptr; local 359 sg_ptr = sg; 368 sg_ptr = sg_next(sg_ptr); 374 addr = sg_dma_address(sg_ptr); 375 len = sg_dma_len(sg_ptr); 403 sg_ptr = sg_next(sg_ptr); 488 struct scatterlist *sg_ptr; local 521 sg_ptr [all...] |
/linux-master/drivers/mmc/host/ |
H A D | renesas_sdhi_sys_dmac.c | 138 host->sg_ptr, host->sg_len, 142 host->sg_ptr, host->sg_len, 158 struct scatterlist *sg = host->sg_ptr, *sg_tmp; 187 host->sg_ptr = &host->bounce_sg; 188 sg = host->sg_ptr; 230 struct scatterlist *sg = host->sg_ptr, *sg_tmp; 263 host->sg_ptr = &host->bounce_sg; 264 sg = host->sg_ptr;
|
H A D | uniphier-sd.c | 109 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, 151 sg_len = dma_map_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, 156 desc = dmaengine_prep_slave_sg(priv->chan, host->sg_ptr, sg_len, 173 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, 256 struct scatterlist *sg = host->sg_ptr; 349 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, 1, priv->dma_dir);
|
H A D | au1xmmc.c | 380 unsigned char *sg_ptr, val; local 391 sg_ptr = kmap_local_page(sg_page(sg)) + sg->offset + host->pio.offset; 407 val = sg_ptr[count]; 412 kunmap_local(sg_ptr); 436 unsigned char *sg_ptr = NULL; local 449 sg_ptr = kmap_local_page(sg_page(sg)) + sg->offset + host->pio.offset; 487 if (sg_ptr) 488 sg_ptr[count] = (unsigned char)(val & 0xFF); 490 if (sg_ptr) 491 kunmap_local(sg_ptr); [all...] |
H A D | tmio_mmc_core.c | 123 host->sg_ptr = data->sg; 130 host->sg_ptr = sg_next(host->sg_ptr); 426 sg_virt = kmap_local_page(sg_page(host->sg_ptr)); 427 buf = (unsigned short *)(sg_virt + host->sg_ptr->offset + host->sg_off); 429 count = host->sg_ptr->length - host->sg_off; 443 if (host->sg_off == host->sg_ptr->length) 449 if (host->sg_ptr == &host->bounce_sg) {
|
H A D | tmio_mmc.h | 146 struct scatterlist *sg_ptr; member in struct:tmio_mmc_host
|
H A D | renesas_sdhi_internal_dmac.c | 360 * sg_ptr only. So, renesas_sdhi_internal_dmac_{un}map() should use a sg 361 * pointer in a mmc_data instead of host->sg_ptr. 406 struct scatterlist *sg = host->sg_ptr;
|
/linux-master/drivers/mmc/core/ |
H A D | sdio_ops.c | 120 struct scatterlist sg, *sg_ptr; local 160 for_each_sg(data.sg, sg_ptr, data.sg_len, i) { 161 sg_set_buf(sg_ptr, buf + i * seg_size,
|
/linux-master/drivers/vhost/ |
H A D | scsi.c | 886 struct scatterlist *sg_ptr, *sg_prot_ptr = NULL; local 890 sg_ptr = cmd->tvc_sgl; 897 sg_ptr = NULL; 907 if (target_submit_prep(se_cmd, cmd->tvc_cdb, sg_ptr,
|
/linux-master/drivers/scsi/ |
H A D | FlashPoint.c | 5112 u32 sg_ptr; local 5171 sg_ptr = pCurrSCCB->Sccb_sgseg + SG_BUF_CNT; 5173 if (sg_ptr > 5177 sg_ptr = (u32)(pCurrSCCB->DataLength / 5185 sg_ptr--; 5187 DataPointer) + (sg_ptr * 2); 5199 pCurrSCCB->Sccb_sgseg = (unsigned short)sg_ptr; 5201 if ((unsigned long)(sg_ptr * SG_ELEMENT_SIZE) ==
|
H A D | advansys.c | 1716 __le32 sg_ptr; /* Pointer to next sg block. */ member in struct:adv_sg_block 2546 printk(" sg_cnt %u, sg_ptr 0x%x\n", 2547 b->sg_cnt, (u32)le32_to_cpu(b->sg_ptr)); 2549 if (b->sg_ptr != 0) 2566 struct adv_sg_block *sg_ptr; local 2597 sg_ptr = &sgblkp->sg_block; 2598 asc_prt_adv_sgblock(sg_blk_cnt, sg_ptr); 2599 if (sg_ptr->sg_ptr == 0) { 7608 prev_sg_block->sg_ptr [all...] |