Lines Matching refs:shell_error
151 shell_error(can_shell_tx_msgq_sh, "failed to submit tx msgq polling (err %d)", in can_shell_tx_msgq_poll_submit()
167 shell_error(can_shell_tx_msgq_sh, "failed to send CAN frame #%u (err %d)", in can_shell_tx_msgq_triggered_work_handler()
220 shell_error(can_shell_rx_msgq_sh, "failed to submit rx msgq polling (err %d)", in can_shell_rx_msgq_poll_submit()
288 shell_error(sh, "device %s not ready", argv[1]); in cmd_can_start()
296 shell_error(sh, "failed to start CAN controller (err %d)", err); in cmd_can_start()
309 shell_error(sh, "device %s not ready", argv[1]); in cmd_can_stop()
317 shell_error(sh, "failed to stop CAN controller (err %d)", err); in cmd_can_stop()
340 shell_error(sh, "device %s not ready", argv[1]); in cmd_can_show()
346 shell_error(sh, "failed to get CAN core clock (err %d)", err); in cmd_can_show()
354 shell_error(sh, "failed to get maximum standard (11-bit) filters (err %d)", err); in cmd_can_show()
360 shell_error(sh, "failed to get maximum extended (29-bit) filters (err %d)", err); in cmd_can_show()
366 shell_error(sh, "failed to get CAN controller capabilities (err %d)", err); in cmd_can_show()
372 shell_error(sh, "failed to get CAN controller state (%d)", err); in cmd_can_show()
445 shell_error(sh, "device %s not ready", argv[1]); in cmd_can_bitrate_set()
451 shell_error(sh, "failed to parse bitrate"); in cmd_can_bitrate_set()
458 shell_error(sh, "failed to parse sample point"); in cmd_can_bitrate_set()
464 shell_error(sh, "failed to calculate timing for " in cmd_can_bitrate_set()
474 shell_error(sh, "failed to parse SJW"); in cmd_can_bitrate_set()
490 shell_error(sh, "failed to set timing (err %d)", err); in cmd_can_bitrate_set()
498 shell_error(sh, "failed to set bitrate (err %d)", err); in cmd_can_bitrate_set()
516 shell_error(sh, "device %s not ready", argv[1]); in cmd_can_dbitrate_set()
522 shell_error(sh, "failed to parse data bitrate"); in cmd_can_dbitrate_set()
529 shell_error(sh, "failed to parse sample point"); in cmd_can_dbitrate_set()
535 shell_error(sh, "failed to calculate timing for " in cmd_can_dbitrate_set()
545 shell_error(sh, "failed to parse SJW"); in cmd_can_dbitrate_set()
561 shell_error(sh, "failed to set data timing (err %d)", err); in cmd_can_dbitrate_set()
569 shell_error(sh, "failed to set data bitrate (err %d)", err); in cmd_can_dbitrate_set()
584 shell_error(sh, "failed to parse sjw"); in can_shell_parse_timing()
590 shell_error(sh, "failed to parse prop_seg"); in can_shell_parse_timing()
596 shell_error(sh, "failed to parse phase_seg1"); in can_shell_parse_timing()
602 shell_error(sh, "failed to parse phase_seg2"); in can_shell_parse_timing()
608 shell_error(sh, "failed to parse prescaler"); in can_shell_parse_timing()
622 shell_error(sh, "device %s not ready", argv[1]); in cmd_can_timing_set()
637 shell_error(sh, "failed to set timing (err %d)", err); in cmd_can_timing_set()
651 shell_error(sh, "device %s not ready", argv[1]); in cmd_can_dtiming_set()
666 shell_error(sh, "failed to set data phase timing (err %d)", err); in cmd_can_dtiming_set()
684 shell_error(sh, "device %s not ready", argv[1]); in cmd_can_mode_set()
705 shell_error(sh, "failed to parse mode"); in cmd_can_mode_set()
714 shell_error(sh, "failed to set mode 0x%08x (err %d)", mode, err); in cmd_can_mode_set()
736 shell_error(sh, "device %s not ready", argv[1]); in cmd_can_send()
764 shell_error(sh, "unsupported option %s", argv[argidx]); in cmd_can_send()
772 shell_error(sh, "missing CAN ID parameter"); in cmd_can_send()
779 shell_error(sh, "failed to parse CAN ID"); in cmd_can_send()
784 shell_error(sh, "CAN ID 0x%0*x out of range", in cmd_can_send()
794 shell_error(sh, "excessive amount of data (%d bytes)", nbytes); in cmd_can_send()
804 shell_error(sh, "failed to parse data %s", argv[argidx++]); in cmd_can_send()
809 shell_error(sh, "data 0x%x out of range", val); in cmd_can_send()
835 shell_error(sh, "failed to enqueue CAN frame #%u (err %d)", frame_no, err); in cmd_can_send()
853 shell_error(sh, "device %s not ready", argv[1]); in cmd_can_filter_add()
871 shell_error(sh, "unsupported argument %s", argv[argidx]); in cmd_can_filter_add()
879 shell_error(sh, "missing CAN ID parameter"); in cmd_can_filter_add()
886 shell_error(sh, "failed to parse CAN ID"); in cmd_can_filter_add()
891 shell_error(sh, "CAN ID 0x%0*x out of range", in cmd_can_filter_add()
903 shell_error(sh, "failed to parse CAN ID mask"); in cmd_can_filter_add()
908 shell_error(sh, "CAN ID mask 0x%0*x out of range", in cmd_can_filter_add()
933 shell_error(sh, "failed to add filter (err %d)", err); in cmd_can_filter_add()
949 shell_error(sh, "device %s not ready", argv[1]); in cmd_can_filter_remove()
956 shell_error(sh, "failed to parse filter ID"); in cmd_can_filter_remove()
975 shell_error(sh, "device %s not ready", argv[1]); in cmd_can_recover()
983 shell_error(sh, "failed to parse timeout"); in cmd_can_recover()
995 shell_error(sh, "failed to recover CAN controller from bus-off (err %d)", err); in cmd_can_recover()