Lines Matching refs:send_mbox
650 struct hinic_send_mbox *send_mbox; in hinic_mbox_self_aeqe_handler() local
653 send_mbox = &func_to_func->send_mbox; in hinic_mbox_self_aeqe_handler()
655 complete(&send_mbox->send_done); in hinic_mbox_self_aeqe_handler()
759 struct hinic_send_mbox *send_mbox = &func_to_func->send_mbox; in wait_for_mbox_seg_completion() local
761 struct completion *done = &send_mbox->send_done; in wait_for_mbox_seg_completion()
767 *wb_status = get_mbox_status(send_mbox); in wait_for_mbox_seg_completion()
790 *wb_status = get_mbox_status(send_mbox); in wait_for_mbox_seg_completion()
800 struct hinic_send_mbox *send_mbox = &func_to_func->send_mbox; in send_mbox_seg() local
803 struct completion *done = &send_mbox->send_done; in send_mbox_seg()
816 clear_mbox_status(send_mbox); in send_mbox_seg()
818 mbox_copy_header(hwdev, send_mbox, &header); in send_mbox_seg()
820 mbox_copy_send_data(hwdev, send_mbox, seg, seg_len); in send_mbox_seg()
1187 struct hinic_send_mbox *send_mbox = &func_to_func->send_mbox; in prepare_send_mbox() local
1189 send_mbox->data = MBOX_AREA(func_to_func->hwif); in prepare_send_mbox()
1194 struct hinic_send_mbox *send_mbox = &func_to_func->send_mbox; in alloc_mbox_wb_status() local
1198 send_mbox->wb_vaddr = dma_alloc_coherent(&hwdev->hwif->pdev->dev, in alloc_mbox_wb_status()
1200 &send_mbox->wb_paddr, in alloc_mbox_wb_status()
1202 if (!send_mbox->wb_vaddr) in alloc_mbox_wb_status()
1205 send_mbox->wb_status = send_mbox->wb_vaddr; in alloc_mbox_wb_status()
1207 addr_h = upper_32_bits(send_mbox->wb_paddr); in alloc_mbox_wb_status()
1208 addr_l = lower_32_bits(send_mbox->wb_paddr); in alloc_mbox_wb_status()
1220 struct hinic_send_mbox *send_mbox = &func_to_func->send_mbox; in free_mbox_wb_status() local
1229 send_mbox->wb_vaddr, in free_mbox_wb_status()
1230 send_mbox->wb_paddr); in free_mbox_wb_status()