Searched refs:I2C_MAJOR (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/include/linux/
H A Di2c-dev.h27 #define I2C_MAJOR 89 /* Device major number */ macro
/linux-4.4.14/drivers/i2c/
H A Di2c-dev.c557 MKDEV(I2C_MAJOR, adap->nr), NULL, i2cdev_attach_adapter()
586 device_destroy(i2c_dev_class, MKDEV(I2C_MAJOR, adap->nr)); i2cdev_detach_adapter()
623 res = register_chrdev(I2C_MAJOR, "i2c", &i2cdev_fops); i2c_dev_init()
647 unregister_chrdev(I2C_MAJOR, "i2c"); i2c_dev_init()
658 unregister_chrdev(I2C_MAJOR, "i2c"); i2c_dev_exit()
/linux-4.4.14/arch/cris/arch-v10/drivers/
H A Di2c.c36 #define I2C_MAJOR 123 /* LOCAL/EXPERIMENTAL */ macro
683 res = register_chrdev(I2C_MAJOR, i2c_name, &i2c_fops); i2c_register()

Completed in 387 milliseconds