Home
last modified time | relevance | path

Searched refs:cdev_dev (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/dma/idxd/
Dcdev.c297 fdev->parent = cdev_dev(idxd_cdev); in idxd_cdev_open()
464 dev = cdev_dev(idxd_cdev); in idxd_wq_add_cdev()
506 cdev_device_del(&idxd_cdev->cdev, cdev_dev(idxd_cdev)); in idxd_wq_del_cdev()
507 put_device(cdev_dev(idxd_cdev)); in idxd_wq_del_cdev()
Didxd.h408 #define cdev_dev(cdev) &cdev->idxd_dev.conf_dev macro
/linux-6.6.21/drivers/block/
Dublk_drv.c163 struct device cdev_dev; member
653 if (kobject_get_unless_zero(&ub->cdev_dev.kobj)) in ublk_get_device()
660 put_device(&ub->cdev_dev); in ublk_put_device()
717 put_device(&ub->cdev_dev); in ublk_free_disk()
2054 struct ublk_device *ub = container_of(dev, struct ublk_device, cdev_dev); in ublk_cdev_rel()
2065 struct device *dev = &ub->cdev_dev; in ublk_add_chdev()
2125 cdev_device_del(&ub->cdev, &ub->cdev_dev); in ublk_remove()
2126 put_device(&ub->cdev_dev); in ublk_remove()
2188 get_device(&ub->cdev_dev); in ublk_ctrl_start_dev()
2490 ub->params.devt.char_major = MAJOR(ub->cdev_dev.devt); in ublk_ctrl_fill_params_devt()
[all …]