Lines Matching refs:error_out
374 const struct chan_opts *opts, char **error_out) in setup_one_line() argument
381 *error_out = "Device is already open"; in setup_one_line()
390 parse_chan_pair(NULL, line, n, opts, error_out); in setup_one_line()
396 *error_out = "Failed to allocate memory"; in setup_one_line()
405 err = parse_chan_pair(new, line, n, opts, error_out); in setup_one_line()
410 *error_out = "Failed to register device"; in setup_one_line()
412 parse_chan_pair(NULL, line, n, opts, error_out); in setup_one_line()
466 const struct chan_opts *opts, char **error_out) in line_config() argument
472 *error_out = "Can't configure all devices from mconsole"; in line_config()
478 *error_out = "Couldn't parse device number"; in line_config()
482 *error_out = "Device number out of range"; in line_config()
486 return setup_one_line(lines, n, end, opts, error_out); in line_config()
490 int size, char **error_out) in line_get_config() argument
498 *error_out = "line_get_config failed to parse device number"; in line_get_config()
503 *error_out = "device number out of range"; in line_get_config()
516 n = chan_config_string(line, str, size, error_out); in line_get_config()
539 int line_remove(struct line *lines, unsigned int num, int n, char **error_out) in line_remove() argument
542 *error_out = "Device number out of range"; in line_remove()
545 return setup_one_line(lines, n, "none", NULL, error_out); in line_remove()