Lines Matching refs:mcb_device
18 struct mcb_device;
39 int (*get_irq)(struct mcb_device *dev);
63 struct mcb_device { struct
79 static inline struct mcb_device *to_mcb_device(struct device *dev) in to_mcb_device() argument
81 return container_of(dev, struct mcb_device, dev); in to_mcb_device()
96 int (*probe)(struct mcb_device *mdev, const struct mcb_device_id *id);
97 void (*remove)(struct mcb_device *mdev);
98 void (*shutdown)(struct mcb_device *mdev);
106 static inline void *mcb_get_drvdata(struct mcb_device *dev) in mcb_get_drvdata()
111 static inline void mcb_set_drvdata(struct mcb_device *dev, void *data) in mcb_set_drvdata()
125 extern int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev);
129 extern struct mcb_device *mcb_alloc_dev(struct mcb_bus *bus);
130 extern void mcb_free_dev(struct mcb_device *dev);
132 extern struct resource *mcb_request_mem(struct mcb_device *dev,
135 extern int mcb_get_irq(struct mcb_device *dev);
136 extern struct resource *mcb_get_resource(struct mcb_device *dev,