Lines Matching refs:command
72 u8 command; member
99 u8 command, bool create) in stub_find_block() argument
104 if (b->command == command) { in stub_find_block()
113 rb->command = command; in stub_find_block()
132 char read_write, u8 command, int size, union i2c_smbus_data *data) in stub_xfer() argument
159 chip->pointer = command; in stub_xfer()
162 addr, command); in stub_xfer()
175 wordp = stub_get_wordp(chip, command); in stub_xfer()
181 addr, data->byte, command); in stub_xfer()
184 if (chip->bank_words && command == chip->bank_reg) { in stub_xfer()
196 addr, data->byte, command); in stub_xfer()
198 chip->pointer = command + 1; in stub_xfer()
204 wordp = stub_get_wordp(chip, command); in stub_xfer()
209 addr, data->word, command); in stub_xfer()
214 addr, data->word, command); in stub_xfer()
225 if (data->block[0] > 256 - command) /* Avoid overrun */ in stub_xfer()
226 data->block[0] = 256 - command; in stub_xfer()
230 chip->words[command + i] &= 0xff00; in stub_xfer()
231 chip->words[command + i] |= data->block[1 + i]; in stub_xfer()
235 addr, len, command); in stub_xfer()
239 chip->words[command + i] & 0xff; in stub_xfer()
243 addr, len, command); in stub_xfer()
254 b = stub_find_block(&adap->dev, chip, command, false); in stub_xfer()
262 b = stub_find_block(&adap->dev, chip, command, in stub_xfer()
275 chip->words[command] = (b->block[0] << 8) | b->len; in stub_xfer()
278 addr, len, command); in stub_xfer()
292 addr, len, command); in stub_xfer()