Lines Matching refs:devt
2549 if (MAJOR(dev->devt)) { in dev_uevent()
2556 add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt)); in dev_uevent()
2557 add_uevent_var(env, "MINOR=%u", MINOR(dev->devt)); in dev_uevent()
2959 return print_dev_t(buf, dev->devt); in dev_show()
3495 format_dev_t(devt_str, dev->devt); in device_create_sys_dev_entry()
3508 format_dev_t(devt_str, dev->devt); in device_remove_sys_dev_entry()
3633 if (MAJOR(dev->devt)) { in device_add()
3702 if (MAJOR(dev->devt)) in device_add()
3839 if (MAJOR(dev->devt)) { in device_del()
4332 dev_t devt, void *drvdata, in device_create_groups_vargs() argument
4349 dev->devt = devt; in device_create_groups_vargs()
4396 dev_t devt, void *drvdata, const char *fmt, ...) in device_create() argument
4402 dev = device_create_groups_vargs(class, parent, devt, drvdata, NULL, in device_create()
4437 struct device *parent, dev_t devt, in device_create_with_groups() argument
4446 dev = device_create_groups_vargs(class, parent, devt, drvdata, groups, in device_create_with_groups()
4461 void device_destroy(struct class *class, dev_t devt) in device_destroy() argument
4465 dev = class_find_device_by_devt(class, devt); in device_destroy()
4874 if (MAJOR(dev->devt)) { in set_dev_info()
4883 "%c%u:%u", c, MAJOR(dev->devt), MINOR(dev->devt)); in set_dev_info()
5139 return dev->devt == *(dev_t *)pdevt; in device_match_devt()