Home
last modified time | relevance | path

Searched refs:idaws (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/s390/cio/
H A Dvfio_ccw_cp.c193 dma64_t *idaws) in page_array_idal_create_words() argument
206 idaws[i] = virt_to_dma64(page_to_virt(pa->pa_page[i])); in page_array_idal_create_words()
209 idaws[i] = dma64_add(idaws[i], pa->pa_iova[i] & ~PAGE_MASK); in page_array_idal_create_words()
512 dma64_t *idaws; in get_guest_idal() local
514 int idal_len = idaw_nr * sizeof(*idaws); in get_guest_idal()
519 idaws = kcalloc(idaw_nr, sizeof(*idaws), GFP_DMA | GFP_KERNEL); in get_guest_idal()
520 if (!idaws) in get_guest_idal()
525 ret = vfio_dma_rw(vdev, dma32_to_u32(ccw->cda), idaws, idal_len, false); in get_guest_idal()
527 kfree(idaws); in get_guest_idal()
533 idaws[0] = u64_to_dma64(dma32_to_u32(ccw->cda)); in get_guest_idal()
[all …]
/linux/arch/s390/include/asm/
H A Didals.h69 static inline dma64_t *idal_create_words(dma64_t *idaws, void *vaddr, unsigned int length) in idal_create_words() argument
74 *idaws++ = paddr; in idal_create_words()
79 *idaws++ = paddr; in idal_create_words()
81 return idaws; in idal_create_words()
/linux/drivers/s390/block/
H A Ddasd_fba.c431 dma64_t *idaws; in dasd_fba_build_cp_regular() local
491 idaws = (dma64_t *)(cqr->data + sizeof(struct DE_fba_data)); in dasd_fba_build_cp_regular()
492 LO_data = (struct LO_fba_data *) (idaws + cidaw); in dasd_fba_build_cp_regular()
527 ccw->cda = virt_to_dma32(idaws); in dasd_fba_build_cp_regular()
529 idaws = idal_create_words(idaws, dst, blksize); in dasd_fba_build_cp_regular()
H A Ddasd_eckd.c3965 dma64_t *idaws; in dasd_eckd_build_cp_cmd_single() local
4043 idaws = (dma64_t *)(cqr->data + sizeof(struct PFX_eckd_data)); in dasd_eckd_build_cp_cmd_single()
4053 idaws = (dma64_t *)(cqr->data + sizeof(struct DE_eckd_data)); in dasd_eckd_build_cp_cmd_single()
4056 LO_data = (struct LO_eckd_data *) (idaws + cidaw); in dasd_eckd_build_cp_cmd_single()
4107 ccw->cda = virt_to_dma32(idaws); in dasd_eckd_build_cp_cmd_single()
4109 idaws = idal_create_words(idaws, dst, blksize); in dasd_eckd_build_cp_cmd_single()
4152 dma64_t *idaws; in dasd_eckd_build_cp_cmd_track() local
4222 idaws = (dma64_t *)(cqr->data + sizeof(struct PFX_eckd_data)); in dasd_eckd_build_cp_cmd_track()
4243 ccw->cda = virt_to_dma32(idaws); in dasd_eckd_build_cp_cmd_track()
4287 idaws = idal_create_words(idaws, idaw_dst, in dasd_eckd_build_cp_cmd_track()
[all …]