Home
last modified time | relevance | path

Searched refs:send_mbox (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_mbox.c650 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()
[all …]
H A Dhinic_hw_mbox.h94 struct hinic_send_mbox send_mbox; member
/linux/drivers/isdn/hardware/mISDN/
H A DmISDNisar.c57 send_mbox(struct isar_hw *isar, u8 his, u8 creg, u8 len, u8 *msg) in send_mbox() function
158 if (!send_mbox(isar, ISAR_HIS_VNR, 0, 3, NULL)) in ISARVersion()
218 if (!send_mbox(isar, ISAR_HIS_DKEY, blk_head.d_key & 0xff, in load_firmware()
259 if (!send_mbox(isar, ISAR_HIS_FIRM, 0, nom, NULL)) { in load_firmware()
290 if (!send_mbox(isar, ISAR_HIS_STDSP, 0, 2, NULL)) { in load_firmware()
330 if (!send_mbox(isar, ISAR_HIS_DIAG, ISAR_CTRL_STST, 0, NULL)) { in load_firmware()
358 if (!send_mbox(isar, ISAR_HIS_DIAG, ISAR_CTRL_SWVER, 0, NULL)) { in load_firmware()
506 send_mbox(ch->is, SET_DPS(ch->dpath) | in isar_rcv_frame()
560 send_mbox(ch->is, SET_DPS(ch->dpath) | in isar_rcv_frame()
592 send_mbox(ch->is, SET_DPS(ch->dpath) | ISAR_HIS_SDATA, in isar_fill_fifo()
[all …]
/linux/drivers/net/ethernet/huawei/hinic3/
H A Dhinic3_mbox.c351 struct hinic3_send_mbox *send_mbox = &mbox->send_mbox; in prepare_send_mbox() local
353 send_mbox->data = MBOX_AREA(mbox->hwdev->hwif); in prepare_send_mbox()
358 struct hinic3_send_mbox *send_mbox = &mbox->send_mbox; in alloc_mbox_wb_status() local
362 send_mbox->wb_vaddr = dma_alloc_coherent(hwdev->dev, in alloc_mbox_wb_status()
364 &send_mbox->wb_paddr, in alloc_mbox_wb_status()
366 if (!send_mbox->wb_vaddr) in alloc_mbox_wb_status()
369 addr_h = upper_32_bits(send_mbox->wb_paddr); in alloc_mbox_wb_status()
370 addr_l = lower_32_bits(send_mbox->wb_paddr); in alloc_mbox_wb_status()
381 struct hinic3_send_mbox *send_mbox = &mbox->send_mbox; in free_mbox_wb_status() local
390 send_mbox->wb_vaddr, send_mbox->wb_paddr); in free_mbox_wb_status()
[all …]
H A Dhinic3_mbox.h117 struct hinic3_send_mbox send_mbox; member
/linux/drivers/net/ethernet/cavium/thunder/
H A Dnic_main.c742 goto send_mbox; in nic_alloc_sqs()
753 send_mbox: in nic_alloc_sqs()