Lines Matching refs:shell_error

41 			shell_error(sh, "Unknown option %c", *arg);  in read_io_options()
57 shell_error(sh, W1DEV_X_NOT_FOUND, argv[1]); in cmd_w1_reset_bus()
64 shell_error(sh, "Failed to reset bus [%d]", ret); in cmd_w1_reset_bus()
79 shell_error(sh, W1DEV_X_NOT_FOUND, argv[1]); in cmd_w1_read_bit()
86 shell_error(sh, "Failed to read bit [%d]", ret); in cmd_w1_read_bit()
103 shell_error(sh, W1DEV_X_NOT_FOUND, argv[1]); in cmd_w1_read_byte()
110 shell_error(sh, "Failed to read byte [%d]", ret); in cmd_w1_read_byte()
129 shell_error(sh, W1DEV_X_NOT_FOUND, argv[1]); in cmd_w1_read_block()
135 shell_error(sh, "num_bytes is not a number"); in cmd_w1_read_block()
139 shell_error(sh, "num_bytes limited to: %u", BUF_SIZE); in cmd_w1_read_block()
146 shell_error(sh, "Failed to read byte [%d]", ret); in cmd_w1_read_block()
170 shell_error(sh, W1DEV_X_NOT_FOUND, argv[1]); in cmd_w1_write_bit()
174 shell_error(sh, "input must not be > 0b1"); in cmd_w1_write_bit()
181 shell_error(sh, "Failed to write bit [%d]", ret); in cmd_w1_write_bit()
199 shell_error(sh, W1DEV_X_NOT_FOUND, argv[pos]); in cmd_w1_write_byte()
209 shell_error(sh, "Missing data to be written."); in cmd_w1_write_byte()
215 shell_error(sh, "input must not be > 0xFF"); in cmd_w1_write_byte()
223 shell_error(sh, "Failed to reset bus [%d]", ret); in cmd_w1_write_byte()
230 shell_error(sh, "Failed to write byte [%d]", ret); in cmd_w1_write_byte()
248 shell_error(sh, W1DEV_X_NOT_FOUND, argv[1]); in cmd_w1_write_block()
258 shell_error(sh, "Missing data to be written."); in cmd_w1_write_block()
262 shell_error(sh, "Too much data to be written."); in cmd_w1_write_block()
276 shell_error(sh, "Failed to reset bus [%d]", ret); in cmd_w1_write_block()
283 shell_error(sh, "Failed to write block [%d]", ret); in cmd_w1_write_block()
302 shell_error(sh, W1DEV_X_NOT_FOUND, argv[1]); in cmd_w1_configure()
315 shell_error(sh, "Unknown config name (%s)", type_name); in cmd_w1_configure()
321 shell_error(sh, "invalid type %u", type); in cmd_w1_configure()
328 shell_error(sh, "Failed to configure [%d]", ret); in cmd_w1_configure()
355 shell_error(sh, W1DEV_X_NOT_FOUND, argv[1]); in cmd_w1_search()
362 shell_error(sh, "Failed to initiate search [%d]", ret); in cmd_w1_search()