Lines Matching refs:interrupt_info
835 struct hinic_msix_config *interrupt_info) in hinic_get_interrupt_cfg() argument
837 u16 out_size = sizeof(*interrupt_info); in hinic_get_interrupt_cfg()
841 if (!hwdev || !interrupt_info) in hinic_get_interrupt_cfg()
846 interrupt_info->func_id = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_get_interrupt_cfg()
850 interrupt_info, sizeof(*interrupt_info), in hinic_get_interrupt_cfg()
851 interrupt_info, &out_size, HINIC_MGMT_MSG_SYNC); in hinic_get_interrupt_cfg()
852 if (err || !out_size || interrupt_info->status) { in hinic_get_interrupt_cfg()
854 err, interrupt_info->status, out_size); in hinic_get_interrupt_cfg()
862 struct hinic_msix_config *interrupt_info) in hinic_set_interrupt_cfg() argument
864 u16 out_size = sizeof(*interrupt_info); in hinic_set_interrupt_cfg()
874 interrupt_info->func_id = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_set_interrupt_cfg()
880 interrupt_info->lli_credit_cnt = temp_info.lli_credit_cnt; in hinic_set_interrupt_cfg()
881 interrupt_info->lli_timer_cnt = temp_info.lli_timer_cnt; in hinic_set_interrupt_cfg()
885 interrupt_info, sizeof(*interrupt_info), in hinic_set_interrupt_cfg()
886 interrupt_info, &out_size, HINIC_MGMT_MSG_SYNC); in hinic_set_interrupt_cfg()
887 if (err || !out_size || interrupt_info->status) { in hinic_set_interrupt_cfg()
889 err, interrupt_info->status, out_size); in hinic_set_interrupt_cfg()