Lines Matching refs:can
5 Each registered i2c adapter gets a number, counting from 0. You can
7 Alternatively, you can run "i2cdetect -l" to obtain a formated list of all
30 Adapter numbers are assigned somewhat dynamically, so you can not
31 assume much about them. They can even change from one boot to the next.
42 /* ERROR HANDLING; you can check errno to see what went wrong */
52 /* ERROR HANDLING; you can check errno to see what went wrong */
56 Well, you are all set up now. You can now use SMBus commands or plain
88 Note that only a subset of the I2C and SMBus protocols can be achieved by
143 You can do plain i2c transactions by using read(2) and write(2) calls.
147 You can do SMBus level transactions (see documentation file smbus-protocol
160 All these transactions return -1 on failure; you can read errno to see
183 respectively. You can think of i2c-dev as a generic I2C chip driver
184 that can be programmed from user-space.