Lines Matching refs:fsl_mc_device

23 struct fsl_mc_device;
50 int (*probe)(struct fsl_mc_device *dev);
51 int (*remove)(struct fsl_mc_device *dev);
52 void (*shutdown)(struct fsl_mc_device *dev);
53 int (*suspend)(struct fsl_mc_device *dev, pm_message_t state);
54 int (*resume)(struct fsl_mc_device *dev);
109 struct fsl_mc_device *mc_dev;
205 struct fsl_mc_device { struct
221 container_of(_dev, struct fsl_mc_device, dev) argument
344 struct fsl_mc_device *dpmcp_dev;
414 int __must_check fsl_mc_portal_allocate(struct fsl_mc_device *mc_dev,
422 int __must_check fsl_mc_object_allocate(struct fsl_mc_device *mc_dev,
424 struct fsl_mc_device **new_mc_adev);
426 void fsl_mc_object_free(struct fsl_mc_device *mc_adev);
432 int __must_check fsl_mc_allocate_irqs(struct fsl_mc_device *mc_dev);
434 void fsl_mc_free_irqs(struct fsl_mc_device *mc_dev);
436 struct fsl_mc_device *fsl_mc_get_endpoint(struct fsl_mc_device *mc_dev,
457 static inline bool is_fsl_mc_bus_dprc(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dprc()
462 static inline bool is_fsl_mc_bus_dpni(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpni()
467 static inline bool is_fsl_mc_bus_dpio(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpio()
472 static inline bool is_fsl_mc_bus_dpsw(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpsw()
477 static inline bool is_fsl_mc_bus_dpdmux(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpdmux()
482 static inline bool is_fsl_mc_bus_dpbp(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpbp()
487 static inline bool is_fsl_mc_bus_dpcon(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpcon()
492 static inline bool is_fsl_mc_bus_dpmcp(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpmcp()
497 static inline bool is_fsl_mc_bus_dpmac(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpmac()
502 static inline bool is_fsl_mc_bus_dprtc(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dprtc()
507 static inline bool is_fsl_mc_bus_dpseci(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpseci()
512 static inline bool is_fsl_mc_bus_dpdcei(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpdcei()
517 static inline bool is_fsl_mc_bus_dpaiop(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpaiop()
522 static inline bool is_fsl_mc_bus_dpci(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpci()
527 static inline bool is_fsl_mc_bus_dpdmai(const struct fsl_mc_device *mc_dev) in is_fsl_mc_bus_dpdmai()
539 int dprc_scan_container(struct fsl_mc_device *mc_bus_dev,
542 void dprc_remove_devices(struct fsl_mc_device *mc_bus_dev,
546 int dprc_cleanup(struct fsl_mc_device *mc_dev);
548 int dprc_setup(struct fsl_mc_device *mc_dev);
556 int fsl_mc_populate_irq_pool(struct fsl_mc_device *mc_bus_dev,
559 void fsl_mc_cleanup_irq_pool(struct fsl_mc_device *mc_bus_dev);