Lines Matching defs:devt
1902 if (MAJOR(dev->devt)) {
1909 add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt));
1910 add_uevent_var(env, "MINOR=%u", MINOR(dev->devt));
2302 return print_dev_t(buf, dev->devt);
2821 format_dev_t(devt_str, dev->devt);
2834 format_dev_t(devt_str, dev->devt);
2961 if (MAJOR(dev->devt)) {
3021 if (MAJOR(dev->devt))
3158 if (MAJOR(dev->devt)) {
3621 dev_t devt, void *drvdata,
3638 dev->devt = devt;
3664 * @devt: the dev_t for the char device to be added
3685 dev_t devt, void *drvdata, const char *fmt, ...)
3691 dev = device_create_groups_vargs(class, parent, devt, drvdata, NULL,
3702 * @devt: the dev_t for the char device to be added
3726 struct device *parent, dev_t devt,
3735 dev = device_create_groups_vargs(class, parent, devt, drvdata, groups,
3745 * @devt: the dev_t of the device that was previously registered
3750 void device_destroy(struct class *class, dev_t devt)
3754 dev = class_find_device_by_devt(class, devt);
4163 if (MAJOR(dev->devt)) {
4172 "%c%u:%u", c, MAJOR(dev->devt), MINOR(dev->devt));
4416 return dev->devt == *(dev_t *)pdevt;