Lines Matching refs:dev
151 struct device *dev = mdev_dev(mdev_state->mdev); in handle_pci_cfg_write() local
163 dev_info(dev, "BAR0 @ 0x%x\n", cfg_addr); in handle_pci_cfg_write()
196 dev_info(mdev_state->vdev.dev, in mdev_access()
229 struct mdev_device *mdev = to_mdev_device(vdev->dev); in mdpy_init_dev()
252 dev_info(vdev->dev, "%s: %s (%dx%d)\n", __func__, type->type.pretty_name, in mdpy_init_dev()
266 mdev_state = vfio_alloc_device(mdev_state, vdev, &mdev->dev, in mdpy_probe()
274 dev_set_drvdata(&mdev->dev, mdev_state); in mdpy_probe()
293 struct mdev_state *mdev_state = dev_get_drvdata(&mdev->dev); in mdpy_remove()
295 dev_info(&mdev->dev, "%s\n", __func__); in mdpy_remove()
628 resolution_show(struct device *dev, struct device_attribute *attr, in resolution_show() argument
631 struct mdev_state *mdev_state = dev_get_drvdata(dev); in resolution_show()
693 static void mdpy_device_release(struct device *dev) in mdpy_device_release() argument