Lines Matching refs:pci_epf
17 struct pci_epf;
69 int (*bind)(struct pci_epf *epf);
70 void (*unbind)(struct pci_epf *epf);
71 struct config_group *(*add_cfs)(struct pci_epf *epf,
87 int (*probe)(struct pci_epf *epf);
88 void (*remove)(struct pci_epf *epf);
143 struct pci_epf { struct
154 struct pci_epf *epf_pf; argument
186 #define to_pci_epf(epf_dev) container_of((epf_dev), struct pci_epf, dev) argument
191 static inline void epf_set_drvdata(struct pci_epf *epf, void *data) in epf_set_drvdata()
196 static inline void *epf_get_drvdata(struct pci_epf *epf) in epf_get_drvdata()
201 struct pci_epf *pci_epf_create(const char *name);
202 void pci_epf_destroy(struct pci_epf *epf);
206 void *pci_epf_alloc_space(struct pci_epf *epf, size_t size, enum pci_barno bar,
208 void pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar,
210 int pci_epf_bind(struct pci_epf *epf);
211 void pci_epf_unbind(struct pci_epf *epf);
212 struct config_group *pci_epf_type_add_cfs(struct pci_epf *epf,
214 int pci_epf_add_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf);
215 void pci_epf_remove_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf);