Lines Matching refs:command
73 u8 command; member
100 u8 command, bool create) in stub_find_block() argument
105 if (b->command == command) { in stub_find_block()
114 rb->command = command; in stub_find_block()
133 char read_write, u8 command, int size, union i2c_smbus_data *data) in stub_xfer() argument
160 chip->pointer = command; in stub_xfer()
163 addr, command); in stub_xfer()
176 wordp = stub_get_wordp(chip, command); in stub_xfer()
182 addr, data->byte, command); in stub_xfer()
185 if (chip->bank_words && command == chip->bank_reg) { in stub_xfer()
197 addr, data->byte, command); in stub_xfer()
199 chip->pointer = command + 1; in stub_xfer()
205 wordp = stub_get_wordp(chip, command); in stub_xfer()
210 addr, data->word, command); in stub_xfer()
215 addr, data->word, command); in stub_xfer()
226 if (data->block[0] > 256 - command) /* Avoid overrun */ in stub_xfer()
227 data->block[0] = 256 - command; in stub_xfer()
231 chip->words[command + i] &= 0xff00; in stub_xfer()
232 chip->words[command + i] |= data->block[1 + i]; in stub_xfer()
236 addr, len, command); in stub_xfer()
240 chip->words[command + i] & 0xff; in stub_xfer()
244 addr, len, command); in stub_xfer()
255 b = stub_find_block(&adap->dev, chip, command, false); in stub_xfer()
263 b = stub_find_block(&adap->dev, chip, command, in stub_xfer()
276 chip->words[command] = (b->block[0] << 8) | b->len; in stub_xfer()
279 addr, len, command); in stub_xfer()
293 addr, len, command); in stub_xfer()