Lines Matching defs:devt
2646 if (MAJOR(dev->devt)) {
2653 add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt));
2654 add_uevent_var(env, "MINOR=%u", MINOR(dev->devt));
3017 return print_dev_t(buf, dev->devt);
3546 format_dev_t(devt_str, dev->devt);
3559 format_dev_t(devt_str, dev->devt);
3686 if (MAJOR(dev->devt)) {
3752 if (MAJOR(dev->devt))
3888 if (MAJOR(dev->devt)) {
4385 dev_t devt, void *drvdata,
4402 dev->devt = devt;
4428 * @devt: the dev_t for the char device to be added
4446 dev_t devt, void *drvdata, const char *fmt, ...)
4452 dev = device_create_groups_vargs(class, parent, devt, drvdata, NULL,
4463 * @devt: the dev_t for the char device to be added
4484 struct device *parent, dev_t devt,
4493 dev = device_create_groups_vargs(class, parent, devt, drvdata, groups,
4503 * @devt: the dev_t of the device that was previously registered
4508 void device_destroy(const struct class *class, dev_t devt)
4512 dev = class_find_device_by_devt(class, devt);
4923 if (MAJOR(dev->devt)) {
4932 "%c%u:%u", c, MAJOR(dev->devt), MINOR(dev->devt));
5193 return dev->devt == *(dev_t *)pdevt;