Lines Matching refs:mcb_device
19 struct mcb_device;
34 int (*get_irq)(struct mcb_device *dev);
56 struct mcb_device { struct
72 #define to_mcb_device(x) container_of((x), struct mcb_device, dev) argument
86 int (*probe)(struct mcb_device *mdev, const struct mcb_device_id *id);
87 void (*remove)(struct mcb_device *mdev);
88 void (*shutdown)(struct mcb_device *mdev);
92 static inline void *mcb_get_drvdata(struct mcb_device *dev) in mcb_get_drvdata()
97 static inline void mcb_set_drvdata(struct mcb_device *dev, void *data) in mcb_set_drvdata()
111 extern int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev);
115 extern struct mcb_device *mcb_alloc_dev(struct mcb_bus *bus);
116 extern void mcb_free_dev(struct mcb_device *dev);
118 extern struct resource *mcb_request_mem(struct mcb_device *dev,
121 extern int mcb_get_irq(struct mcb_device *dev);