Lines Matching defs:pci_epf
17 struct pci_epf;
65 int (*bind)(struct pci_epf *epf);
66 void (*unbind)(struct pci_epf *epf);
67 struct config_group *(*add_cfs)(struct pci_epf *epf,
79 int (*core_init)(struct pci_epf *epf);
80 int (*link_up)(struct pci_epf *epf);
81 int (*link_down)(struct pci_epf *epf);
82 int (*bme)(struct pci_epf *epf);
97 int (*probe)(struct pci_epf *epf,
99 void (*remove)(struct pci_epf *epf);
128 * struct pci_epf - represents the PCI EPF device
141 * @list: to add pci_epf as a list of PCI endpoint functions to pci_epc
144 * @sec_epc_list: to add pci_epf as list of PCI endpoint functions to secondary
155 struct pci_epf {
166 struct pci_epf *epf_pf;
199 #define to_pci_epf(epf_dev) container_of((epf_dev), struct pci_epf, dev)
204 static inline void epf_set_drvdata(struct pci_epf *epf, void *data)
209 static inline void *epf_get_drvdata(struct pci_epf *epf)
214 struct pci_epf *pci_epf_create(const char *name);
215 void pci_epf_destroy(struct pci_epf *epf);
219 void *pci_epf_alloc_space(struct pci_epf *epf, size_t size, enum pci_barno bar,
222 void pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar,
224 int pci_epf_bind(struct pci_epf *epf);
225 void pci_epf_unbind(struct pci_epf *epf);
226 int pci_epf_add_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf);
227 void pci_epf_remove_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf);