Lines Matching refs:ARGV_DEV
18 #define ARGV_DEV 1 macro
56 dev = device_get_binding(argv[ARGV_DEV]); in cmd_i2c_scan()
60 argv[ARGV_DEV]); in cmd_i2c_scan()
93 cnt, argv[ARGV_DEV]); in cmd_i2c_scan()
105 dev = device_get_binding(argv[ARGV_DEV]); in cmd_i2c_recover()
178 return i2c_write_from_buffer(shell_ctx, argv[ARGV_DEV], in cmd_i2c_write()
187 return i2c_write_from_buffer(shell_ctx, argv[ARGV_DEV], in cmd_i2c_write_byte()
238 ret = i2c_read_to_buffer(shell_ctx, argv[ARGV_DEV], in cmd_i2c_read_byte()
263 ret = i2c_read_to_buffer(shell_ctx, argv[ARGV_DEV], in cmd_i2c_read()
278 char *s_dev_name = argv[ARGV_DEV]; in cmd_i2c_speed()
291 speed = strtol(argv[ARGV_DEV + 1], NULL, 10); in cmd_i2c_speed()