Home
last modified time | relevance | path

Searched refs:mcb_device (Results 1 – 6 of 6) sorted by relevance

/linux/include/linux/
H A Dmcb.h18 struct mcb_device;
39 int (*get_irq)(struct mcb_device *dev);
63 struct mcb_device { struct
78 #define to_mcb_device(__dev) container_of_const(__dev, struct mcb_device, dev) argument
92 int (*probe)(struct mcb_device *mdev, const struct mcb_device_id *id);
93 void (*remove)(struct mcb_device *mdev);
94 void (*shutdown)(struct mcb_device *mdev);
99 static inline void *mcb_get_drvdata(struct mcb_device *dev) in mcb_get_drvdata()
104 static inline void mcb_set_drvdata(struct mcb_device *dev, void *data) in mcb_set_drvdata()
118 extern int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev);
[all …]
/linux/drivers/mcb/
H A Dmcb-core.c18 struct mcb_device *dev) in mcb_match_id()
34 struct mcb_device *mdev = to_mcb_device(dev); in mcb_match()
46 const struct mcb_device *mdev = to_mcb_device(dev); in mcb_uevent()
59 struct mcb_device *mdev = to_mcb_device(dev); in mcb_probe()
85 struct mcb_device *mdev = to_mcb_device(dev); in mcb_remove()
100 struct mcb_device *mdev = to_mcb_device(dev); in mcb_shutdown()
211 struct mcb_device *mdev = to_mcb_device(dev); in mcb_release_dev()
224 int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev) in mcb_device_register()
365 struct mcb_device *mcb_alloc_dev(struct mcb_bus *bus) in mcb_alloc_dev()
367 struct mcb_device *dev; in mcb_alloc_dev()
[all …]
H A Dmcb-pci.c21 static int mcb_pci_get_irq(struct mcb_device *mdev) in mcb_pci_get_irq()
H A Dmcb-parse.c37 struct mcb_device *mdev; in chameleon_parse_gdd()
/linux/drivers/watchdog/
H A Dmenz69_wdt.c101 static int men_z069_probe(struct mcb_device *dev, in men_z069_probe()
139 static void men_z069_remove(struct mcb_device *dev) in men_z069_remove()
/linux/Documentation/driver-api/
H A Dmen-chameleon-bus.rst152 static init foo_probe(struct mcb_device *mdev, const struct mcb_device_id *id);
153 static void foo_remove(struct mcb_device *mdev);
182 carrier device's 'struct device'. Fortunately 'struct mcb_device' embeds a