Lines Matching refs:devt
2639 if (MAJOR(dev->devt)) { in dev_uevent()
2646 add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt)); in dev_uevent()
2647 add_uevent_var(env, "MINOR=%u", MINOR(dev->devt)); in dev_uevent()
2968 return print_dev_t(buf, dev->devt); in dev_show()
3497 format_dev_t(devt_str, dev->devt); in device_create_sys_dev_entry()
3510 format_dev_t(devt_str, dev->devt); in device_remove_sys_dev_entry()
3637 if (MAJOR(dev->devt)) { in device_add()
3703 if (MAJOR(dev->devt)) in device_add()
3839 if (MAJOR(dev->devt)) { in device_del()
4371 dev_t devt, void *drvdata, in device_create_groups_vargs() argument
4388 dev->devt = devt; in device_create_groups_vargs()
4432 dev_t devt, void *drvdata, const char *fmt, ...) in device_create() argument
4438 dev = device_create_groups_vargs(class, parent, devt, drvdata, NULL, in device_create()
4470 struct device *parent, dev_t devt, in device_create_with_groups() argument
4479 dev = device_create_groups_vargs(class, parent, devt, drvdata, groups, in device_create_with_groups()
4494 void device_destroy(const struct class *class, dev_t devt) in device_destroy() argument
4498 dev = class_find_device_by_devt(class, devt); in device_destroy()
4914 if (MAJOR(dev->devt)) { in set_dev_info()
4923 "%c%u:%u", c, MAJOR(dev->devt), MINOR(dev->devt)); in set_dev_info()
5195 return dev->devt == *(dev_t *)pdevt; in device_match_devt()