Lines Matching defs:command

127 s32 i2c_smbus_xfer(struct i2c_adapter *adapter, u16 addr, unsigned short flags, char read_write, u8 command,
131 s32 __i2c_smbus_xfer(struct i2c_adapter *adapter, u16 addr, unsigned short flags, char read_write, u8 command,
139 s32 i2c_smbus_read_byte_data(const struct i2c_client *client, u8 command);
140 s32 i2c_smbus_write_byte_data(const struct i2c_client *client, u8 command, u8 value);
141 s32 i2c_smbus_read_word_data(const struct i2c_client *client, u8 command);
142 s32 i2c_smbus_write_word_data(const struct i2c_client *client, u8 command, u16 value);
144 static inline s32 i2c_smbus_read_word_swapped(const struct i2c_client *client, u8 command)
146 s32 value = i2c_smbus_read_word_data(client, command);
151 static inline s32 i2c_smbus_write_word_swapped(const struct i2c_client *client, u8 command, u16 value)
153 return i2c_smbus_write_word_data(client, command, swab16(value));
157 s32 i2c_smbus_read_block_data(const struct i2c_client *client, u8 command, u8 *values);
158 s32 i2c_smbus_write_block_data(const struct i2c_client *client, u8 command, u8 length, const u8 *values);
160 s32 i2c_smbus_read_i2c_block_data(const struct i2c_client *client, u8 command, u8 length, u8 *values);
161 s32 i2c_smbus_write_i2c_block_data(const struct i2c_client *client, u8 command, u8 length, const u8 *values);
162 s32 i2c_smbus_read_i2c_block_data_or_emulated(const struct i2c_client *client, u8 command, u8 length, u8 *values);
206 * @command: Callback for bus-wide signaling (optional)
257 /* a ioctl like command that can be used to perform specific functions
260 int (*command)(struct i2c_client *client, unsigned int cmd, void *arg);
495 int (*smbus_xfer)(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size,
497 int (*smbus_xfer_atomic)(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command,
817 /* call the i2c_client->command() of all attached clients with