Lines Matching refs:s2io_entries

3747 	nic->s2io_entries = kzalloc(size, GFP_KERNEL);  in s2io_enable_msi_x()
3748 if (!nic->s2io_entries) { in s2io_enable_msi_x()
3760 nic->s2io_entries[0].entry = 0; in s2io_enable_msi_x()
3761 nic->s2io_entries[0].in_use = MSIX_FLG; in s2io_enable_msi_x()
3762 nic->s2io_entries[0].type = MSIX_ALARM_TYPE; in s2io_enable_msi_x()
3763 nic->s2io_entries[0].arg = &nic->mac_control.fifos; in s2io_enable_msi_x()
3767 nic->s2io_entries[i].entry = ((i - 1) * 8) + 1; in s2io_enable_msi_x()
3768 nic->s2io_entries[i].arg = NULL; in s2io_enable_msi_x()
3769 nic->s2io_entries[i].in_use = 0; in s2io_enable_msi_x()
3775 nic->s2io_entries[j+1].arg = &nic->mac_control.rings[j]; in s2io_enable_msi_x()
3776 nic->s2io_entries[j+1].type = MSIX_RING_TYPE; in s2io_enable_msi_x()
3777 nic->s2io_entries[j+1].in_use = MSIX_FLG; in s2io_enable_msi_x()
3791 kfree(nic->s2io_entries); in s2io_enable_msi_x()
3795 nic->s2io_entries = NULL; in s2io_enable_msi_x()
3870 if (sp->s2io_entries[i].in_use == MSIX_REGISTERED_SUCCESS) { in remove_msix_isr()
3872 void *arg = sp->s2io_entries[i].arg; in remove_msix_isr()
3878 kfree(sp->s2io_entries); in remove_msix_isr()
3880 sp->s2io_entries = NULL; in remove_msix_isr()
3947 if (sp->s2io_entries) { in s2io_open()
3948 kfree(sp->s2io_entries); in s2io_open()
6931 if (sp->s2io_entries[i].in_use == MSIX_FLG) { in s2io_add_isr()
6932 if (sp->s2io_entries[i].type == in s2io_add_isr()
6942 sp->s2io_entries[i].arg); in s2io_add_isr()
6943 } else if (sp->s2io_entries[i].type == in s2io_add_isr()
6953 sp->s2io_entries[i].arg); in s2io_add_isr()
6981 sp->s2io_entries[i].in_use = in s2io_add_isr()