mbdev             624 drivers/dma/mic_x100_dma.c static struct mic_dma_device *mic_dma_dev_reg(struct mbus_device *mbdev,
mbdev             629 drivers/dma/mic_x100_dma.c 	struct device *dev = &mbdev->dev;
mbdev             636 drivers/dma/mic_x100_dma.c 	mic_dma_dev->mbdev = mbdev;
mbdev             638 drivers/dma/mic_x100_dma.c 	mic_dma_dev->mmio = mbdev->mmio_va;
mbdev             704 drivers/dma/mic_x100_dma.c static int mic_dma_driver_probe(struct mbus_device *mbdev)
mbdev             709 drivers/dma/mic_x100_dma.c 	if (MBUS_DEV_DMA_MIC == mbdev->id.device)
mbdev             714 drivers/dma/mic_x100_dma.c 	mic_dma_dev = mic_dma_dev_reg(mbdev, owner);
mbdev             715 drivers/dma/mic_x100_dma.c 	dev_set_drvdata(&mbdev->dev, mic_dma_dev);
mbdev             718 drivers/dma/mic_x100_dma.c 		mic_dma_dev->dbg_dir = debugfs_create_dir(dev_name(&mbdev->dev),
mbdev             726 drivers/dma/mic_x100_dma.c static void mic_dma_driver_remove(struct mbus_device *mbdev)
mbdev             730 drivers/dma/mic_x100_dma.c 	mic_dma_dev = dev_get_drvdata(&mbdev->dev);
mbdev             133 drivers/dma/mic_x100_dma.h 	struct mbus_device *mbdev;
mbdev             154 drivers/dma/mic_x100_dma.h 	return to_mic_dma_dev(ch)->mbdev;
mbdev             455 drivers/macintosh/macio_asic.c 	struct macio_dev *rdev, *mdev, *mbdev = NULL, *sdev = NULL;
mbdev             486 drivers/macintosh/macio_asic.c 			mbdev = mdev;
mbdev             492 drivers/macintosh/macio_asic.c 	if (mbdev) {
mbdev             493 drivers/macintosh/macio_asic.c 		pnode = mbdev->ofdev.dev.of_node;
mbdev             498 drivers/macintosh/macio_asic.c 			if (macio_add_one_device(chip, &mbdev->ofdev.dev, np,
mbdev             499 drivers/macintosh/macio_asic.c 						 mbdev,  root_res) == NULL)
mbdev             130 drivers/misc/mic/bus/mic_bus.c 	struct mbus_device *mbdev = dev_to_mbus(d);
mbdev             131 drivers/misc/mic/bus/mic_bus.c 	kfree(mbdev);
mbdev             140 drivers/misc/mic/bus/mic_bus.c 	struct mbus_device *mbdev;
mbdev             142 drivers/misc/mic/bus/mic_bus.c 	mbdev = kzalloc(sizeof(*mbdev), GFP_KERNEL);
mbdev             143 drivers/misc/mic/bus/mic_bus.c 	if (!mbdev)
mbdev             146 drivers/misc/mic/bus/mic_bus.c 	mbdev->mmio_va = mmio_va;
mbdev             147 drivers/misc/mic/bus/mic_bus.c 	mbdev->dev.parent = pdev;
mbdev             148 drivers/misc/mic/bus/mic_bus.c 	mbdev->id.device = id;
mbdev             149 drivers/misc/mic/bus/mic_bus.c 	mbdev->id.vendor = MBUS_DEV_ANY_ID;
mbdev             150 drivers/misc/mic/bus/mic_bus.c 	mbdev->dev.dma_ops = dma_ops;
mbdev             151 drivers/misc/mic/bus/mic_bus.c 	mbdev->dev.dma_mask = &mbdev->dev.coherent_dma_mask;
mbdev             152 drivers/misc/mic/bus/mic_bus.c 	dma_set_mask(&mbdev->dev, DMA_BIT_MASK(64));
mbdev             153 drivers/misc/mic/bus/mic_bus.c 	mbdev->dev.release = mbus_release_dev;
mbdev             154 drivers/misc/mic/bus/mic_bus.c 	mbdev->hw_ops = hw_ops;
mbdev             155 drivers/misc/mic/bus/mic_bus.c 	mbdev->dev.bus = &mic_bus;
mbdev             156 drivers/misc/mic/bus/mic_bus.c 	mbdev->index = index;
mbdev             157 drivers/misc/mic/bus/mic_bus.c 	dev_set_name(&mbdev->dev, "mbus-dev%u", mbdev->index);
mbdev             162 drivers/misc/mic/bus/mic_bus.c 	ret = device_register(&mbdev->dev);
mbdev             165 drivers/misc/mic/bus/mic_bus.c 	return mbdev;
mbdev             167 drivers/misc/mic/bus/mic_bus.c 	put_device(&mbdev->dev);
mbdev             172 drivers/misc/mic/bus/mic_bus.c void mbus_unregister_device(struct mbus_device *mbdev)
mbdev             174 drivers/misc/mic/bus/mic_bus.c 	device_unregister(&mbdev->dev);
mbdev             190 drivers/misc/mic/card/mic_x100.c static inline struct mic_driver *mbdev_to_mdrv(struct mbus_device *mbdev)
mbdev             192 drivers/misc/mic/card/mic_x100.c 	return dev_get_drvdata(mbdev->dev.parent);
mbdev             196 drivers/misc/mic/card/mic_x100.c _mic_request_threaded_irq(struct mbus_device *mbdev,
mbdev             206 drivers/misc/mic/card/mic_x100.c 		dev_err(mbdev_to_mdrv(mbdev)->dev,
mbdev             213 drivers/misc/mic/card/mic_x100.c static void _mic_free_irq(struct mbus_device *mbdev,
mbdev             220 drivers/misc/mic/card/mic_x100.c static void _mic_ack_interrupt(struct mbus_device *mbdev, int num)
mbdev             222 drivers/misc/mic/card/mic_x100.c 	mic_ack_interrupt(&mbdev_to_mdrv(mbdev)->mdev);
mbdev             310 drivers/misc/mic/host/mic_boot.c static inline struct mic_device *mbdev_to_mdev(struct mbus_device *mbdev)
mbdev             312 drivers/misc/mic/host/mic_boot.c 	return dev_get_drvdata(mbdev->dev.parent);
mbdev             341 drivers/misc/mic/host/mic_boot.c _mic_request_threaded_irq(struct mbus_device *mbdev,
mbdev             345 drivers/misc/mic/host/mic_boot.c 	return mic_request_threaded_irq(mbdev_to_mdev(mbdev), handler,
mbdev             350 drivers/misc/mic/host/mic_boot.c static void _mic_free_irq(struct mbus_device *mbdev,
mbdev             353 drivers/misc/mic/host/mic_boot.c 	mic_free_irq(mbdev_to_mdev(mbdev), cookie, data);
mbdev             356 drivers/misc/mic/host/mic_boot.c static void _mic_ack_interrupt(struct mbus_device *mbdev, int num)
mbdev             358 drivers/misc/mic/host/mic_boot.c 	struct mic_device *mdev = mbdev_to_mdev(mbdev);
mbdev              71 include/linux/mic_bus.h 	struct mic_irq* (*request_threaded_irq)(struct mbus_device *mbdev,
mbdev              76 include/linux/mic_bus.h 	void (*free_irq)(struct mbus_device *mbdev,
mbdev              78 include/linux/mic_bus.h 	void (*ack_interrupt)(struct mbus_device *mbdev, int num);
mbdev              85 include/linux/mic_bus.h void mbus_unregister_device(struct mbus_device *mbdev);