Home
last modified time | relevance | path

Searched refs:I2C_MAJOR (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/include/linux/
Di2c-dev.h14 #define I2C_MAJOR 89 /* Device major number */ macro
/linux-6.1.9/drivers/i2c/
Di2c-dev.c667 i2c_dev->dev.devt = MKDEV(I2C_MAJOR, adap->nr); in i2cdev_attach_adapter()
738 res = register_chrdev_region(MKDEV(I2C_MAJOR, 0), I2C_MINORS, "i2c"); in i2c_dev_init()
762 unregister_chrdev_region(MKDEV(I2C_MAJOR, 0), I2C_MINORS); in i2c_dev_init()
773 unregister_chrdev_region(MKDEV(I2C_MAJOR, 0), I2C_MINORS); in i2c_dev_exit()