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

/linux-4.1.27/include/linux/
H A Di2c-dev.h27 #define I2C_MAJOR 89 /* Device major number */ macro
/linux-4.1.27/drivers/i2c/
H A Di2c-dev.c560 MKDEV(I2C_MAJOR, adap->nr), NULL, i2cdev_attach_adapter()
589 device_destroy(i2c_dev_class, MKDEV(I2C_MAJOR, adap->nr)); i2cdev_detach_adapter()
626 res = register_chrdev(I2C_MAJOR, "i2c", &i2cdev_fops); i2c_dev_init()
650 unregister_chrdev(I2C_MAJOR, "i2c"); i2c_dev_init()
661 unregister_chrdev(I2C_MAJOR, "i2c"); i2c_dev_exit()
/linux-4.1.27/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()
/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Di2c.c48 #define I2C_MAJOR 123 /* LOCAL/EXPERIMENTAL */ macro
737 res = register_chrdev(I2C_MAJOR, i2c_name, &i2c_fops); i2c_register()

Completed in 177 milliseconds