Lines Matching refs:interrupt_info
850 struct hinic_msix_config *interrupt_info) in hinic_get_interrupt_cfg() argument
852 u16 out_size = sizeof(*interrupt_info); in hinic_get_interrupt_cfg()
856 if (!hwdev || !interrupt_info) in hinic_get_interrupt_cfg()
861 interrupt_info->func_id = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_get_interrupt_cfg()
865 interrupt_info, sizeof(*interrupt_info), in hinic_get_interrupt_cfg()
866 interrupt_info, &out_size, HINIC_MGMT_MSG_SYNC); in hinic_get_interrupt_cfg()
867 if (err || !out_size || interrupt_info->status) { in hinic_get_interrupt_cfg()
869 err, interrupt_info->status, out_size); in hinic_get_interrupt_cfg()
877 struct hinic_msix_config *interrupt_info) in hinic_set_interrupt_cfg() argument
879 u16 out_size = sizeof(*interrupt_info); in hinic_set_interrupt_cfg()
889 interrupt_info->func_id = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_set_interrupt_cfg()
895 interrupt_info->lli_credit_cnt = temp_info.lli_credit_cnt; in hinic_set_interrupt_cfg()
896 interrupt_info->lli_timer_cnt = temp_info.lli_timer_cnt; in hinic_set_interrupt_cfg()
900 interrupt_info, sizeof(*interrupt_info), in hinic_set_interrupt_cfg()
901 interrupt_info, &out_size, HINIC_MGMT_MSG_SYNC); in hinic_set_interrupt_cfg()
902 if (err || !out_size || interrupt_info->status) { in hinic_set_interrupt_cfg()
904 err, interrupt_info->status, out_size); in hinic_set_interrupt_cfg()