Lines Matching refs:command
168 uint8_t addr, command; in cmd_smbus_byte_data_read() local
179 command = strtol(argv[ARGV_CMD], NULL, 16); in cmd_smbus_byte_data_read()
181 ret = smbus_byte_data_read(dev, addr, command, &out); in cmd_smbus_byte_data_read()
198 uint8_t addr, command; in cmd_smbus_byte_data_write() local
209 command = strtol(argv[ARGV_CMD], NULL, 16); in cmd_smbus_byte_data_write()
212 ret = smbus_byte_data_write(dev, addr, command, value); in cmd_smbus_byte_data_write()
227 uint8_t addr, command; in cmd_smbus_word_data_read() local
238 command = strtol(argv[ARGV_CMD], NULL, 16); in cmd_smbus_word_data_read()
240 ret = smbus_word_data_read(dev, addr, command, &out); in cmd_smbus_word_data_read()
257 uint8_t addr, command; in cmd_smbus_word_data_write() local
268 command = strtol(argv[ARGV_CMD], NULL, 16); in cmd_smbus_word_data_write()
271 ret = smbus_word_data_write(dev, addr, command, value); in cmd_smbus_word_data_write()
286 uint8_t addr, command; in cmd_smbus_block_write() local
303 command = strtol(argv[ARGV_CMD], NULL, 16); in cmd_smbus_block_write()
311 ret = smbus_block_write(dev, addr, command, count, buf); in cmd_smbus_block_write()
326 uint8_t addr, command; in cmd_smbus_block_read() local
338 command = strtol(argv[ARGV_CMD], NULL, 16); in cmd_smbus_block_read()
340 ret = smbus_block_read(dev, addr, command, &count, buf); in cmd_smbus_block_read()