• Home
  • Raw
  • Download

Lines Matching full:smbus

3  * Linux I2C core SMBus and SMBus emulation code
5 * This file contains the SMBus functions which are always included in the I2C
6 * core because they can be emulated via I2C. SMBus specific extensions
7 * (e.g. smbalert) are handled in a separate i2c-smbus module.
9 * All SMBus-related things are written by Frodo Looijaard <frodol@dds.nl>
10 * SMBus 2.0 support by Mark Studebaker <mdsxyz123@yahoo.com> and
16 #include <linux/i2c-smbus.h>
22 #include <trace/events/smbus.h>
25 /* The SMBus parts */
50 /* Assume a 7-bit address, which is reasonable for SMBus */
87 * i2c_smbus_read_byte - SMBus "receive byte" protocol
90 * This executes the SMBus "receive byte" protocol, returning negative errno
106 * i2c_smbus_write_byte - SMBus "send byte" protocol
110 * This executes the SMBus "send byte" protocol, returning negative errno
121 * i2c_smbus_read_byte_data - SMBus "read byte" protocol
125 * This executes the SMBus "read byte" protocol, returning negative errno
141 * i2c_smbus_write_byte_data - SMBus "write byte" protocol
146 * This executes the SMBus "write byte" protocol, returning negative errno
161 * i2c_smbus_read_word_data - SMBus "read word" protocol
165 * This executes the SMBus "read word" protocol, returning negative errno
181 * i2c_smbus_write_word_data - SMBus "write word" protocol
186 * This executes the SMBus "write word" protocol, returning negative errno
201 * i2c_smbus_read_block_data - SMBus "block read" protocol
205 * the data returned by the slave. SMBus allows at most 32 bytes.
207 * This executes the SMBus "block read" protocol, returning negative errno
233 * i2c_smbus_write_block_data - SMBus "block write" protocol
236 * @length: Size of data block; SMBus allows at most 32 bytes
239 * This executes the SMBus "block write" protocol, returning negative errno
310 * Simulate a SMBus command using the I2C protocol.
520 * i2c_smbus_xfer - execute SMBus protocol operations
522 * @addr: Address of SMBus slave on that bus
526 * @protocol: SMBus protocol operation to execute, such as I2C_SMBUS_PROC_CALL
529 * This executes an SMBus protocol operation, and returns a negative
600 * implement native support for the SMBus operation. in __i2c_smbus_xfer()
622 * @length: Size of data block; SMBus allows at most I2C_SMBUS_BLOCK_MAX bytes
624 * the data returned by the slave. SMBus allows at most
627 * This executes the SMBus "block read" protocol if supported by the adapter.
676 * i2c_new_smbus_alert_device - get ara client for SMBus alert support
678 * @setup: setup data for the SMBus alert handler
681 * Setup handling of the SMBus alert protocol on a given I2C bus segment.