Lines Matching defs:devt
2556 if (MAJOR(dev->devt)) {
2563 add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt));
2564 add_uevent_var(env, "MINOR=%u", MINOR(dev->devt));
2927 return print_dev_t(buf, dev->devt);
3456 format_dev_t(devt_str, dev->devt);
3469 format_dev_t(devt_str, dev->devt);
3596 if (MAJOR(dev->devt)) {
3662 if (MAJOR(dev->devt))
3798 if (MAJOR(dev->devt)) {
4290 dev_t devt, void *drvdata,
4307 dev->devt = devt;
4333 * @devt: the dev_t for the char device to be added
4351 dev_t devt, void *drvdata, const char *fmt, ...)
4357 dev = device_create_groups_vargs(class, parent, devt, drvdata, NULL,
4368 * @devt: the dev_t for the char device to be added
4389 struct device *parent, dev_t devt,
4398 dev = device_create_groups_vargs(class, parent, devt, drvdata, groups,
4408 * @devt: the dev_t of the device that was previously registered
4413 void device_destroy(const struct class *class, dev_t devt)
4417 dev = class_find_device_by_devt(class, devt);
4828 if (MAJOR(dev->devt)) {
4837 "%c%u:%u", c, MAJOR(dev->devt), MINOR(dev->devt));
5097 return dev->devt == *(dev_t *)pdevt;