Lines Matching refs:msi_config
2379 struct cnss_msi_config *msi_config; in cnss_pci_config_msi_data() local
2382 msi_config = pci_priv->msi_config; in cnss_pci_config_msi_data()
2385 pci_priv->msi_ep_base_data = msi_config->users[0].base_vector; in cnss_pci_config_msi_data()
5531 struct cnss_msi_config *msi_config; in cnss_pci_enable_msi() local
5547 msi_config = pci_priv->msi_config; in cnss_pci_enable_msi()
5548 if (!msi_config) { in cnss_pci_enable_msi()
5555 msi_config->total_vectors, in cnss_pci_enable_msi()
5556 msi_config->total_vectors, in cnss_pci_enable_msi()
5558 if ((num_vectors != msi_config->total_vectors) && in cnss_pci_enable_msi()
5561 msi_config->total_vectors, num_vectors); in cnss_pci_enable_msi()
5602 pci_priv->msi_config = NULL; in cnss_pci_enable_msi()
5623 struct cnss_msi_config *msi_config; in cnss_get_user_msi_assignment() local
5629 msi_config = pci_priv->msi_config; in cnss_get_user_msi_assignment()
5630 if (!msi_config) { in cnss_get_user_msi_assignment()
5635 for (idx = 0; idx < msi_config->total_users; idx++) { in cnss_get_user_msi_assignment()
5636 if (strcmp(user_name, msi_config->users[idx].name) == 0) { in cnss_get_user_msi_assignment()
5637 *num_vectors = msi_config->users[idx].num_vectors; in cnss_get_user_msi_assignment()
5638 *user_base_data = msi_config->users[idx].base_vector in cnss_get_user_msi_assignment()
5640 *base_vector = msi_config->users[idx].base_vector; in cnss_get_user_msi_assignment()