Lines Matching refs:s2io_entries
3746 nic->s2io_entries = kzalloc(size, GFP_KERNEL); in s2io_enable_msi_x()
3747 if (!nic->s2io_entries) { in s2io_enable_msi_x()
3759 nic->s2io_entries[0].entry = 0; in s2io_enable_msi_x()
3760 nic->s2io_entries[0].in_use = MSIX_FLG; in s2io_enable_msi_x()
3761 nic->s2io_entries[0].type = MSIX_ALARM_TYPE; in s2io_enable_msi_x()
3762 nic->s2io_entries[0].arg = &nic->mac_control.fifos; in s2io_enable_msi_x()
3766 nic->s2io_entries[i].entry = ((i - 1) * 8) + 1; in s2io_enable_msi_x()
3767 nic->s2io_entries[i].arg = NULL; in s2io_enable_msi_x()
3768 nic->s2io_entries[i].in_use = 0; in s2io_enable_msi_x()
3774 nic->s2io_entries[j+1].arg = &nic->mac_control.rings[j]; in s2io_enable_msi_x()
3775 nic->s2io_entries[j+1].type = MSIX_RING_TYPE; in s2io_enable_msi_x()
3776 nic->s2io_entries[j+1].in_use = MSIX_FLG; in s2io_enable_msi_x()
3790 kfree(nic->s2io_entries); in s2io_enable_msi_x()
3794 nic->s2io_entries = NULL; in s2io_enable_msi_x()
3869 if (sp->s2io_entries[i].in_use == MSIX_REGISTERED_SUCCESS) { in remove_msix_isr()
3871 void *arg = sp->s2io_entries[i].arg; in remove_msix_isr()
3877 kfree(sp->s2io_entries); in remove_msix_isr()
3879 sp->s2io_entries = NULL; in remove_msix_isr()
3946 if (sp->s2io_entries) { in s2io_open()
3947 kfree(sp->s2io_entries); in s2io_open()
6937 if (sp->s2io_entries[i].in_use == MSIX_FLG) { in s2io_add_isr()
6938 if (sp->s2io_entries[i].type == in s2io_add_isr()
6948 sp->s2io_entries[i].arg); in s2io_add_isr()
6949 } else if (sp->s2io_entries[i].type == in s2io_add_isr()
6959 sp->s2io_entries[i].arg); in s2io_add_isr()
6987 sp->s2io_entries[i].in_use = in s2io_add_isr()