Lines Matching refs: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,
80 int (*epc_init)(struct pci_epf *epf);
81 void (*epc_deinit)(struct pci_epf *epf);
82 int (*link_up)(struct pci_epf *epf);
83 int (*link_down)(struct pci_epf *epf);
84 int (*bus_master_enable)(struct pci_epf *epf);
99 int (*probe)(struct pci_epf *epf,
101 void (*remove)(struct pci_epf *epf);
156 struct pci_epf { struct
167 struct pci_epf *epf_pf; argument
201 #define to_pci_epf(epf_dev) container_of((epf_dev), struct pci_epf, dev) argument
206 static inline void epf_set_drvdata(struct pci_epf *epf, void *data) in epf_set_drvdata()
211 static inline void *epf_get_drvdata(struct pci_epf *epf) in epf_get_drvdata()
216 struct pci_epf *pci_epf_create(const char *name);
217 void pci_epf_destroy(struct pci_epf *epf);
221 void *pci_epf_alloc_space(struct pci_epf *epf, size_t size, enum pci_barno bar,
224 void pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar,
226 int pci_epf_bind(struct pci_epf *epf);
227 void pci_epf_unbind(struct pci_epf *epf);
228 int pci_epf_add_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf);
229 void pci_epf_remove_vepf(struct pci_epf *epf_pf, struct pci_epf *epf_vf);