Lines Matching refs:mbx

313 	struct qlcnic_mailbox *mbx = ahw->mailbox;  in qlcnic_sriov_post_bc_msg()  local
326 err = mbx->ops->enqueue_cmd(adapter, &cmd, &timeout); in qlcnic_sriov_post_bc_msg()
340 flush_workqueue(mbx->work_q); in qlcnic_sriov_post_bc_msg()
717 static int qlcnic_sriov_alloc_bc_mbx_args(struct qlcnic_cmd_args *mbx, u32 type) in qlcnic_sriov_alloc_bc_mbx_args() argument
727 mbx->op_type = QLC_BC_CMD; in qlcnic_sriov_alloc_bc_mbx_args()
728 mbx->req.num = mbx_tbl[i].in_args; in qlcnic_sriov_alloc_bc_mbx_args()
729 mbx->rsp.num = mbx_tbl[i].out_args; in qlcnic_sriov_alloc_bc_mbx_args()
730 mbx->req.arg = kcalloc(mbx->req.num, sizeof(u32), in qlcnic_sriov_alloc_bc_mbx_args()
732 if (!mbx->req.arg) in qlcnic_sriov_alloc_bc_mbx_args()
734 mbx->rsp.arg = kcalloc(mbx->rsp.num, sizeof(u32), in qlcnic_sriov_alloc_bc_mbx_args()
736 if (!mbx->rsp.arg) { in qlcnic_sriov_alloc_bc_mbx_args()
737 kfree(mbx->req.arg); in qlcnic_sriov_alloc_bc_mbx_args()
738 mbx->req.arg = NULL; in qlcnic_sriov_alloc_bc_mbx_args()
741 mbx->req.arg[0] = (type | (mbx->req.num << 16) | in qlcnic_sriov_alloc_bc_mbx_args()
743 mbx->rsp.arg[0] = (type & 0xffff) | mbx->rsp.num << 16; in qlcnic_sriov_alloc_bc_mbx_args()
1375 struct qlcnic_mailbox *mbx = ahw->mailbox; in __qlcnic_sriov_issue_cmd() local
1392 if (!test_bit(QLC_83XX_MBX_READY, &mbx->status)) { in __qlcnic_sriov_issue_cmd()
1440 clear_bit(QLC_83XX_MBX_READY, &mbx->status); in __qlcnic_sriov_issue_cmd()
1769 struct qlcnic_mailbox *mbx = ahw->mailbox; in qlcnic_sriov_vf_handle_context_reset() local
1780 clear_bit(QLC_83XX_MBX_READY, &mbx->status); in qlcnic_sriov_vf_handle_context_reset()
1805 clear_bit(QLC_83XX_MBX_READY, &mbx->status); in qlcnic_sriov_vf_handle_context_reset()
1855 struct qlcnic_mailbox *mbx = adapter->ahw->mailbox; in qlcnic_sriov_vf_idc_need_quiescent_state() local
1863 clear_bit(QLC_83XX_MBX_READY, &mbx->status); in qlcnic_sriov_vf_idc_need_quiescent_state()
1872 struct qlcnic_mailbox *mbx = adapter->ahw->mailbox; in qlcnic_sriov_vf_idc_init_reset_state() local
1882 clear_bit(QLC_83XX_MBX_READY, &mbx->status); in qlcnic_sriov_vf_idc_init_reset_state()