Home
last modified time | relevance | path

Searched refs:tag_mem (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/arm/tcg/
H A Dmte_helper.c452 void *tag_mem; in HELPER() local
463 if (!tag_mem) { in HELPER()
482 ret = *(uint8_t *)tag_mem; in HELPER()
486 ret = cpu_to_le16(*(uint16_t *)tag_mem); in HELPER()
490 ret = cpu_to_le32(*(uint32_t *)tag_mem); in HELPER()
512 void *tag_mem; in HELPER() local
525 if (!tag_mem) { in HELPER()
535 *(uint8_t *)tag_mem = val; in HELPER()
539 *(uint16_t *)tag_mem = cpu_to_le16(val); in HELPER()
543 *(uint32_t *)tag_mem = cpu_to_le32(val); in HELPER()
[all …]
/openbmc/linux/drivers/scsi/be2iscsi/
H A Dbe_mgmt.c248 struct be_dma_mem *tag_mem; in beiscsi_exec_nemb_cmd() local
252 tag_mem = &phba->ctrl.ptag_state[tag].tag_mem_state; in beiscsi_exec_nemb_cmd()
255 tag_mem->size = nonemb_cmd->size; in beiscsi_exec_nemb_cmd()
256 tag_mem->va = nonemb_cmd->va; in beiscsi_exec_nemb_cmd()
257 tag_mem->dma = nonemb_cmd->dma; in beiscsi_exec_nemb_cmd()
308 struct be_dma_mem *tag_mem; in __beiscsi_eq_delay_compl() local
312 tag_mem = &phba->ctrl.ptag_state[tag].tag_mem_state; in __beiscsi_eq_delay_compl()
313 if (tag_mem->size) { in __beiscsi_eq_delay_compl()
314 dma_free_coherent(&phba->pcidev->dev, tag_mem->size, in __beiscsi_eq_delay_compl()
315 tag_mem->va, tag_mem->dma); in __beiscsi_eq_delay_compl()
[all …]
H A Dbe_cmds.c274 struct be_dma_mem *tag_mem; in beiscsi_mccq_compl_wait() local
282 tag_mem = &phba->ctrl.ptag_state[tag].tag_mem_state; in beiscsi_mccq_compl_wait()
284 tag_mem->size = mbx_cmd_mem->size; in beiscsi_mccq_compl_wait()
285 tag_mem->va = mbx_cmd_mem->va; in beiscsi_mccq_compl_wait()
286 tag_mem->dma = mbx_cmd_mem->dma; in beiscsi_mccq_compl_wait()
288 tag_mem->size = 0; in beiscsi_mccq_compl_wait()
489 struct be_dma_mem *tag_mem; in beiscsi_process_mcc_compl() local
516 tag_mem = &ctrl->ptag_state[tag].tag_mem_state; in beiscsi_process_mcc_compl()
517 if (tag_mem->size) { in beiscsi_process_mcc_compl()
519 tag_mem->va, tag_mem->dma); in beiscsi_process_mcc_compl()
[all …]