Lines Matching refs:epc_features
63 const struct pci_epc_features *epc_features;
719 const struct pci_epc_features *epc_features;
721 epc_features = epf_test->epc_features;
732 if (!!(epc_features->reserved_bar & (1 << bar)))
753 const struct pci_epc_features *epc_features;
760 epc_features = pci_epc_get_features(epc, epf->func_no, epf->vfunc_no);
761 if (epc_features) {
762 msix_capable = epc_features->msix_capable;
763 msi_capable = epc_features->msi_capable;
828 const struct pci_epc_features *epc_features;
831 epc_features = epf_test->epc_features;
835 msix_capable = epc_features->msix_capable;
844 if (epc_features->bar_fixed_size[test_reg_bar]) {
851 epc_features->align, PRIMARY_INTERFACE);
865 if (!!(epc_features->reserved_bar & (1 << bar)))
869 epc_features->align,
881 const struct pci_epc_features *epc_features)
889 bar_fixed_64bit = !!(epc_features->bar_fixed_64bit & (1 << i));
892 if (epc_features->bar_fixed_size[i])
893 bar_size[i] = epc_features->bar_fixed_size[i];
901 const struct pci_epc_features *epc_features;
910 epc_features = pci_epc_get_features(epc, epf->func_no, epf->vfunc_no);
911 if (!epc_features) {
912 dev_err(&epf->dev, "epc_features not implemented\n");
916 linkup_notifier = epc_features->linkup_notifier;
917 core_init_notifier = epc_features->core_init_notifier;
918 test_reg_bar = pci_epc_get_first_free_bar(epc_features);
921 pci_epf_configure_bar(epf, epc_features);
924 epf_test->epc_features = epc_features;