Lines Matching defs:pci_epf
16 struct pci_epf;
66 int (*bind)(struct pci_epf *epf);
67 void (*unbind)(struct pci_epf *epf);
82 int (*probe)(struct pci_epf *epf);
83 int (*remove)(struct pci_epf *epf);
110 * struct pci_epf - represents the PCI EPF device
119 * @list: to add pci_epf as a list of PCI endpoint functions to pci_epc
123 struct pci_epf {
153 #define to_pci_epf(epf_dev) container_of((epf_dev), struct pci_epf, dev)
158 static inline void epf_set_drvdata(struct pci_epf *epf, void *data)
163 static inline void *epf_get_drvdata(struct pci_epf *epf)
169 pci_epf_match_device(const struct pci_epf_device_id *id, struct pci_epf *epf);
170 struct pci_epf *pci_epf_create(const char *name);
171 void pci_epf_destroy(struct pci_epf *epf);
175 void *pci_epf_alloc_space(struct pci_epf *epf, size_t size, enum pci_barno bar,
177 void pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar);
178 int pci_epf_bind(struct pci_epf *epf);
179 void pci_epf_unbind(struct pci_epf *epf);