Home
last modified time | relevance | path

Searched refs:utrd_addr (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dufs-test.c97 uint64_t utrd_addr = ufs->utrlba + slot * sizeof(UtpTransferReqDesc); in ufs_send_nop_out() local
101 qtest_memwrite(ufs->dev.bus->qts, utrd_addr, &utrd, sizeof(utrd)); in ufs_send_nop_out()
116 qtest_memread(ufs->dev.bus->qts, utrd_addr, utrd_out, sizeof(*utrd_out)); in ufs_send_nop_out()
127 uint64_t utrd_addr = ufs->utrlba + slot * sizeof(UtpTransferReqDesc); in ufs_send_query() local
131 qtest_memwrite(ufs->dev.bus->qts, utrd_addr, &utrd, sizeof(utrd)); in ufs_send_query()
155 qtest_memread(ufs->dev.bus->qts, utrd_addr, utrd_out, sizeof(*utrd_out)); in ufs_send_query()
220 uint64_t utrd_addr = ufs->utrlba + slot * sizeof(UtpTransferReqDesc); in ufs_send_scsi_command() local
222 qtest_memwrite(ufs->dev.bus->qts, utrd_addr, &utrd, sizeof(utrd)); in ufs_send_scsi_command()
241 qtest_memread(ufs->dev.bus->qts, utrd_addr, utrd_out, sizeof(*utrd_out)); in ufs_send_scsi_command()
/openbmc/qemu/hw/ufs/
H A Dufs.c117 hwaddr utrd_addr = utrl_base_addr + slot * sizeof(UtpTransferReqDesc); in ufs_get_utrd_addr() local
119 return utrd_addr; in ufs_get_utrd_addr()
143 hwaddr utrd_addr = ufs_get_utrd_addr(u, req->slot); in ufs_dma_read_utrd() local
146 ret = ufs_addr_read(u, utrd_addr, &req->utrd, sizeof(req->utrd)); in ufs_dma_read_utrd()
148 trace_ufs_err_dma_read_utrd(req->slot, utrd_addr); in ufs_dma_read_utrd()
258 hwaddr utrd_addr = ufs_get_utrd_addr(u, req->slot); in ufs_dma_write_utrd() local
261 ret = ufs_addr_write(u, utrd_addr, &req->utrd, sizeof(req->utrd)); in ufs_dma_write_utrd()
263 trace_ufs_err_dma_write_utrd(req->slot, utrd_addr); in ufs_dma_write_utrd()