Lines Matching refs:devt
2296 if (MAJOR(dev->devt)) { in dev_uevent()
2303 add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt)); in dev_uevent()
2304 add_uevent_var(env, "MINOR=%u", MINOR(dev->devt)); in dev_uevent()
2692 return print_dev_t(buf, dev->devt); in dev_show()
3218 format_dev_t(devt_str, dev->devt); in device_create_sys_dev_entry()
3231 format_dev_t(devt_str, dev->devt); in device_remove_sys_dev_entry()
3356 if (MAJOR(dev->devt)) { in device_add()
3425 if (MAJOR(dev->devt)) in device_add()
3561 if (MAJOR(dev->devt)) { in device_del()
4024 dev_t devt, void *drvdata, in device_create_groups_vargs() argument
4041 dev->devt = devt; in device_create_groups_vargs()
4088 dev_t devt, void *drvdata, const char *fmt, ...) in device_create() argument
4094 dev = device_create_groups_vargs(class, parent, devt, drvdata, NULL, in device_create()
4129 struct device *parent, dev_t devt, in device_create_with_groups() argument
4138 dev = device_create_groups_vargs(class, parent, devt, drvdata, groups, in device_create_with_groups()
4153 void device_destroy(struct class *class, dev_t devt) in device_destroy() argument
4157 dev = class_find_device_by_devt(class, devt); in device_destroy()
4566 if (MAJOR(dev->devt)) { in set_dev_info()
4575 "%c%u:%u", c, MAJOR(dev->devt), MINOR(dev->devt)); in set_dev_info()
4831 return dev->devt == *(dev_t *)pdevt; in device_match_devt()