Lines Matching refs:pci_epf
17 struct pci_epf;
64 int (*bind)(struct pci_epf *epf);
65 void (*unbind)(struct pci_epf *epf);
66 struct config_group *(*add_cfs)(struct pci_epf *epf,
78 int (*core_init)(struct pci_epf *epf);
79 int (*link_up)(struct pci_epf *epf);
80 int (*link_down)(struct pci_epf *epf);
81 int (*bme)(struct pci_epf *epf);
96 int (*probe)(struct pci_epf *epf,
98 void (*remove)(struct pci_epf *epf);
154 struct pci_epf { struct
165 struct pci_epf *epf_pf; argument
198 #define to_pci_epf(epf_dev) container_of((epf_dev), struct pci_epf, dev) argument
203 static inline void epf_set_drvdata(struct pci_epf *epf, void *data) in epf_set_drvdata()
208 static inline void *epf_get_drvdata(struct pci_epf *epf) in epf_get_drvdata()
213 struct pci_epf *pci_epf_create(const char *name);
214 void pci_epf_destroy(struct pci_epf *epf);
218 void *pci_epf_alloc_space(struct pci_epf *epf, size_t size, enum pci_barno bar,
220 void pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar,
222 int pci_epf_bind(struct pci_epf *epf);
223 void pci_epf_unbind(struct pci_epf *epf);
224 int pci_epf_add_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf);
225 void pci_epf_remove_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf);