Searched refs:mcb_bus (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | mcb.h | 31 struct mcb_bus { struct 42 static inline struct mcb_bus *to_mcb_bus(struct device *dev) in to_mcb_bus() argument 44 return container_of(dev, struct mcb_bus, dev); in to_mcb_bus() 65 struct mcb_bus *bus; 120 extern void mcb_bus_add_devices(const struct mcb_bus *bus); 121 extern int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev); 122 extern struct mcb_bus *mcb_alloc_bus(struct device *carrier); 123 extern struct mcb_bus *mcb_bus_get(struct mcb_bus *bus); 124 extern void mcb_bus_put(struct mcb_bus *bus); 125 extern struct mcb_device *mcb_alloc_dev(struct mcb_bus *bus); [all …]
|
/openbmc/linux/drivers/mcb/ |
H A D | mcb-core.c | 108 struct mcb_bus *bus = to_mcb_bus(dev); in revision_show() 117 struct mcb_bus *bus = to_mcb_bus(dev); in model_show() 126 struct mcb_bus *bus = to_mcb_bus(dev); in minor_show() 135 struct mcb_bus *bus = to_mcb_bus(dev); in name_show() 223 int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev) in mcb_device_register() 257 struct mcb_bus *bus = to_mcb_bus(dev); in mcb_free_bus() 269 struct mcb_bus *mcb_alloc_bus(struct device *carrier) in mcb_alloc_bus() 271 struct mcb_bus *bus; in mcb_alloc_bus() 275 bus = kzalloc(sizeof(struct mcb_bus), GFP_KERNEL); in mcb_alloc_bus() 313 static void mcb_devices_unregister(struct mcb_bus *bus) in mcb_devices_unregister() [all …]
|
H A D | mcb-parse.c | 29 static int chameleon_parse_bdd(struct mcb_bus *bus, in chameleon_parse_bdd() 36 static int chameleon_parse_gdd(struct mcb_bus *bus, in chameleon_parse_gdd() 175 int chameleon_parse_cells(struct mcb_bus *bus, phys_addr_t mapbase, in chameleon_parse_cells()
|
H A D | mcb-pci.c | 16 struct mcb_bus *bus; 23 struct mcb_bus *mbus = mdev->bus; in mcb_pci_get_irq()
|
H A D | mcb-internal.h | 125 int chameleon_parse_cells(struct mcb_bus *bus, phys_addr_t mapbase,
|
H A D | mcb-lpc.c | 17 struct mcb_bus *bus;
|