Lines Matching refs:command
64 u8 command; member
91 u8 command, bool create) in stub_find_block() argument
96 if (b->command == command) { in stub_find_block()
105 rb->command = command; in stub_find_block()
124 char read_write, u8 command, int size, union i2c_smbus_data *data) in stub_xfer() argument
151 chip->pointer = command; in stub_xfer()
154 addr, command); in stub_xfer()
167 wordp = stub_get_wordp(chip, command); in stub_xfer()
173 addr, data->byte, command); in stub_xfer()
176 if (chip->bank_words && command == chip->bank_reg) { in stub_xfer()
188 addr, data->byte, command); in stub_xfer()
190 chip->pointer = command + 1; in stub_xfer()
196 wordp = stub_get_wordp(chip, command); in stub_xfer()
201 addr, data->word, command); in stub_xfer()
206 addr, data->word, command); in stub_xfer()
217 if (data->block[0] > 256 - command) /* Avoid overrun */ in stub_xfer()
218 data->block[0] = 256 - command; in stub_xfer()
222 chip->words[command + i] &= 0xff00; in stub_xfer()
223 chip->words[command + i] |= data->block[1 + i]; in stub_xfer()
227 addr, len, command); in stub_xfer()
231 chip->words[command + i] & 0xff; in stub_xfer()
235 addr, len, command); in stub_xfer()
246 b = stub_find_block(&adap->dev, chip, command, false); in stub_xfer()
254 b = stub_find_block(&adap->dev, chip, command, in stub_xfer()
267 chip->words[command] = (b->block[0] << 8) | b->len; in stub_xfer()
270 addr, len, command); in stub_xfer()
284 addr, len, command); in stub_xfer()