Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_api_cmd.c289 struct hinic_api_cmd_status *wb_status; in api_cmd_status_update() local
295 wb_status = chain->wb_status; in api_cmd_status_update()
296 status_header = be64_to_cpu(wb_status->header); in api_cmd_status_update()
298 status = be32_to_cpu(wb_status->status); in api_cmd_status_update()
833 chain->wb_status = dma_alloc_coherent(&pdev->dev, in api_chain_init()
834 sizeof(*chain->wb_status), in api_chain_init()
837 if (!chain->wb_status) { in api_chain_init()
854 dma_free_coherent(&pdev->dev, sizeof(*chain->wb_status), in api_chain_free()
855 chain->wb_status, chain->wb_status_paddr); in api_chain_free()
Dhinic_hw_mbox.c660 *mbox->wb_status = 0; in clear_mbox_status()
748 u64 wb_val = be64_to_cpu(*mbox->wb_status); in get_mbox_status()
757 int poll, u16 *wb_status) in wait_for_mbox_seg_completion() argument
767 *wb_status = get_mbox_status(send_mbox); in wait_for_mbox_seg_completion()
768 if (MBOX_STATUS_FINISHED(*wb_status)) in wait_for_mbox_seg_completion()
777 *wb_status); in wait_for_mbox_seg_completion()
790 *wb_status = get_mbox_status(send_mbox); in wait_for_mbox_seg_completion()
805 u16 dst_aeqn, wb_status = 0, errcode; in send_mbox_seg() local
826 if (wait_for_mbox_seg_completion(func_to_func, poll, &wb_status)) in send_mbox_seg()
829 if (!MBOX_STATUS_SUCCESS(wb_status)) { in send_mbox_seg()
[all …]
Dhinic_hw_api_cmd.h188 struct hinic_api_cmd_status *wb_status; member
Dhinic_hw_mbox.h60 u64 *wb_status; member