Lines Matching refs:fsl_mc_device
23 struct fsl_mc_device;
43 int (*probe)(struct fsl_mc_device *dev);
44 int (*remove)(struct fsl_mc_device *dev);
45 void (*shutdown)(struct fsl_mc_device *dev);
46 int (*suspend)(struct fsl_mc_device *dev, pm_message_t state);
47 int (*resume)(struct fsl_mc_device *dev);
101 struct fsl_mc_device *mc_dev;
195 struct fsl_mc_device { struct
211 container_of(_dev, struct fsl_mc_device, dev) argument
334 struct fsl_mc_device *dpmcp_dev;
404 int __must_check fsl_mc_portal_allocate(struct fsl_mc_device *mc_dev,
412 int __must_check fsl_mc_object_allocate(struct fsl_mc_device *mc_dev,
414 struct fsl_mc_device **new_mc_adev);
416 void fsl_mc_object_free(struct fsl_mc_device *mc_adev);
422 int __must_check fsl_mc_allocate_irqs(struct fsl_mc_device *mc_dev);
424 void fsl_mc_free_irqs(struct fsl_mc_device *mc_dev);
426 struct fsl_mc_device *fsl_mc_get_endpoint(struct fsl_mc_device *mc_dev,
447 static inline bool is_fsl_mc_bus_dprc(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dprc()
452 static inline bool is_fsl_mc_bus_dpni(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpni()
457 static inline bool is_fsl_mc_bus_dpio(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpio()
462 static inline bool is_fsl_mc_bus_dpsw(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpsw()
467 static inline bool is_fsl_mc_bus_dpdmux(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpdmux()
472 static inline bool is_fsl_mc_bus_dpbp(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpbp()
477 static inline bool is_fsl_mc_bus_dpcon(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpcon()
482 static inline bool is_fsl_mc_bus_dpmcp(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpmcp()
487 static inline bool is_fsl_mc_bus_dpmac(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpmac()
492 static inline bool is_fsl_mc_bus_dprtc(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dprtc()
497 static inline bool is_fsl_mc_bus_dpseci(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpseci()
502 static inline bool is_fsl_mc_bus_dpdcei(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpdcei()
507 static inline bool is_fsl_mc_bus_dpaiop(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpaiop()
512 static inline bool is_fsl_mc_bus_dpci(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpci()
517 static inline bool is_fsl_mc_bus_dpdmai(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpdmai()
529 int dprc_scan_container(struct fsl_mc_device *mc_bus_dev,
532 void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev,
536 int dprc_cleanup(struct fsl_mc_device *mc_dev);
538 int dprc_setup(struct fsl_mc_device *mc_dev);
546 int fsl_mc_populate_irq_pool(struct fsl_mc_device *mc_bus_dev,
549 void fsl_mc_cleanup_irq_pool(struct fsl_mc_device *mc_bus_dev);