Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dmcb.h18 struct mcb_device;
39 int (*get_irq)(struct mcb_device *dev);
63 struct mcb_device { struct
93 void (*remove)(struct mcb_device *mdev);
94 void (*shutdown)(struct mcb_device *mdev);
102 static inline void *mcb_get_drvdata(struct mcb_device *dev) in mcb_get_drvdata()
125 extern struct mcb_device *mcb_alloc_dev(struct mcb_bus *bus);
126 extern void mcb_free_dev(struct mcb_device *dev);
128 extern struct resource *mcb_request_mem(struct mcb_device *dev,
131 extern int mcb_get_irq(struct mcb_device *dev);
[all …]
/openbmc/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()
99 struct mcb_device *mdev = to_mcb_device(dev); in mcb_shutdown()
210 struct mcb_device *mdev = to_mcb_device(dev); in mcb_release_dev()
365 struct mcb_device *dev; in mcb_alloc_dev()
383 void mcb_free_dev(struct mcb_device *dev) in mcb_free_dev()
471 static int __mcb_get_irq(struct mcb_device *dev) in __mcb_get_irq()
[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.c42 struct mcb_device *mdev; in chameleon_parse_gdd()
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_men_mcb.c59 static u32 men_lookup_uartclk(struct mcb_device *mdev) in men_lookup_uartclk()
115 static int read_serial_data(struct mcb_device *mdev, in read_serial_data()
164 static int init_serial_data(struct mcb_device *mdev, in init_serial_data()
182 static int serial_8250_men_mcb_probe(struct mcb_device *mdev, in serial_8250_men_mcb_probe()
238 static void serial_8250_men_mcb_remove(struct mcb_device *mdev) in serial_8250_men_mcb_remove()
/openbmc/linux/drivers/iio/adc/
H A Dmen_z188_adc.c100 static int men_z188_probe(struct mcb_device *dev, in men_z188_probe()
145 static void men_z188_remove(struct mcb_device *dev) in men_z188_remove()
/openbmc/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()
/openbmc/linux/drivers/gpio/
H A Dgpio-menz127.c130 static int men_z127_probe(struct mcb_device *mdev, in men_z127_probe()
185 static void men_z127_remove(struct mcb_device *mdev) in men_z127_remove()
/openbmc/linux/drivers/tty/serial/
H A Dmen_z135_uart.c121 struct mcb_device *mdev;
740 struct mcb_device *mdev = uart->mdev; in men_z135_request_port()
806 static int men_z135_probe(struct mcb_device *mdev, in men_z135_probe()
861 static void men_z135_remove(struct mcb_device *mdev) in men_z135_remove()
/openbmc/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