Lines Matching refs:dev
190 struct dvb_device *dev; in dvbdev_get_free_id() local
192 list_for_each_entry(dev, &adap->device_list, list_head) in dvbdev_get_free_id()
193 if (dev->type == type && dev->id == id) in dvbdev_get_free_id()
1042 if (!try_module_get(client->dev.driver->owner)) { in dvb_module_probe()
1057 module_put(client->dev.driver->owner); in dvb_module_release()
1063 static int dvb_uevent(const struct device *dev, struct kobj_uevent_env *env) in dvb_uevent() argument
1065 const struct dvb_device *dvbdev = dev_get_drvdata(dev); in dvb_uevent()
1073 static char *dvb_devnode(const struct device *dev, umode_t *mode) in dvb_devnode() argument
1075 const struct dvb_device *dvbdev = dev_get_drvdata(dev); in dvb_devnode()
1084 dev_t dev = MKDEV(DVB_MAJOR, 0); in init_dvbdev() local
1086 retval = register_chrdev_region(dev, MAX_DVB_MINORS, "DVB"); in init_dvbdev()
1093 retval = cdev_add(&dvb_device_cdev, dev, MAX_DVB_MINORS); in init_dvbdev()
1110 unregister_chrdev_region(dev, MAX_DVB_MINORS); in init_dvbdev()