Lines Matching refs:command
65 u8 command; member
92 u8 command, bool create) in stub_find_block() argument
97 if (b->command == command) { in stub_find_block()
106 rb->command = command; in stub_find_block()
125 char read_write, u8 command, int size, union i2c_smbus_data *data) in stub_xfer() argument
152 chip->pointer = command; in stub_xfer()
155 addr, command); in stub_xfer()
168 wordp = stub_get_wordp(chip, command); in stub_xfer()
174 addr, data->byte, command); in stub_xfer()
177 if (chip->bank_words && command == chip->bank_reg) { in stub_xfer()
189 addr, data->byte, command); in stub_xfer()
191 chip->pointer = command + 1; in stub_xfer()
197 wordp = stub_get_wordp(chip, command); in stub_xfer()
202 addr, data->word, command); in stub_xfer()
207 addr, data->word, command); in stub_xfer()
218 if (data->block[0] > 256 - command) /* Avoid overrun */ in stub_xfer()
219 data->block[0] = 256 - command; in stub_xfer()
223 chip->words[command + i] &= 0xff00; in stub_xfer()
224 chip->words[command + i] |= data->block[1 + i]; in stub_xfer()
228 addr, len, command); in stub_xfer()
232 chip->words[command + i] & 0xff; in stub_xfer()
236 addr, len, command); in stub_xfer()
247 b = stub_find_block(&adap->dev, chip, command, false); in stub_xfer()
255 b = stub_find_block(&adap->dev, chip, command, in stub_xfer()
268 chip->words[command] = (b->block[0] << 8) | b->len; in stub_xfer()
271 addr, len, command); in stub_xfer()
285 addr, len, command); in stub_xfer()