Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - E index
The Linux kernel configuration item CONFIG_ETRAX_I2C
has multiple definitions:
arch/cris/arch-v10/drivers/Kconfig
The configuration item CONFIG_ETRAX_I2C:
CONFIG_ETRAX_ARCH_V10
Enables an I2C driver on ETRAX100. EXAMPLE usage: i2c_arg = I2C_WRITEARG(STA013_WRITE_ADDR, reg, val); ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_WRITEREG), i2c_arg); i2c_arg = I2C_READARG(STA013_READ_ADDR, reg); val = ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_READREG), i2c_arg);
arch/cris/arch-v32/drivers/Kconfig
The configuration item CONFIG_ETRAX_I2C:
CONFIG_ETRAX_ARCH_V32
This option enables the I2C driver used by e.g. the RTC driver.
arch/cris/drivers/Kconfig
The configuration item CONFIG_ETRAX_I2C:
(none)
Enables an I2C driver on PB0 and PB1 on ETRAX100. EXAMPLE usage: i2c_arg = I2C_WRITEARG(STA013_WRITE_ADDR, reg, val); ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_WRITEREG), i2c_arg); i2c_arg = I2C_READARG(STA013_READ_ADDR, reg); val = ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_READREG), i2c_arg);
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - E index
Automatically generated (in year 2024). See also LKDDb sources on GitLab