Lines Matching refs:ARGV_DEV

26 #define ARGV_DEV	1  macro
51 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_scan()
53 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_scan()
78 shell_print(sh, "%u devices found on %s", cnt, argv[ARGV_DEV]); in cmd_smbus_scan()
90 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_quick()
92 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_quick()
114 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_byte_read()
116 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_byte_read()
143 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_byte_write()
145 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_byte_write()
172 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_byte_data_read()
174 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_byte_data_read()
202 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_byte_data_write()
204 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_byte_data_write()
231 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_word_data_read()
233 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_word_data_read()
261 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_word_data_write()
263 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_word_data_write()
296 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_block_write()
298 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_block_write()
331 dev = device_get_binding(argv[ARGV_DEV]); in cmd_smbus_block_read()
333 shell_error(sh, "SMBus: Device %s not found", argv[ARGV_DEV]); in cmd_smbus_block_read()