Home
last modified time | relevance | path

Searched refs:mcb_bus (Results 1 – 5 of 5) sorted by relevance

/linux/include/linux/
H A Dmcb.h31 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;
117 extern void mcb_bus_add_devices(const struct mcb_bus *bus);
118 extern int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev);
119 extern struct mcb_bus *mcb_alloc_bus(struct device *carrier);
120 extern struct mcb_bus *mcb_bus_get(struct mcb_bus *bus);
121 extern void mcb_bus_put(struct mcb_bus *bus);
122 extern struct mcb_device *mcb_alloc_dev(struct mcb_bus *bus);
[all …]
/linux/drivers/mcb/
H A Dmcb-core.c108 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()
270 struct mcb_bus *mcb_alloc_bus(struct device *carrier) in mcb_alloc_bus()
272 struct mcb_bus *bus; in mcb_alloc_bus()
276 bus = kzalloc(sizeof(struct mcb_bus), GFP_KERNEL); in mcb_alloc_bus()
314 static void mcb_devices_unregister(struct mcb_bus *bus) in mcb_devices_unregister()
[all …]
H A Dmcb-parse.c24 static int chameleon_parse_bdd(struct mcb_bus *bus, in chameleon_parse_bdd()
31 static int chameleon_parse_gdd(struct mcb_bus *bus, in chameleon_parse_gdd()
170 int chameleon_parse_cells(struct mcb_bus *bus, phys_addr_t mapbase, in chameleon_parse_cells()
H A Dmcb-pci.c16 struct mcb_bus *bus;
23 struct mcb_bus *mbus = mdev->bus; in mcb_pci_get_irq()
H A Dmcb-internal.h125 int chameleon_parse_cells(struct mcb_bus *bus, phys_addr_t mapbase,