Lines Matching refs:ARGV_DEV
18 #define ARGV_DEV 1 macro
150 *dev = shell_device_get_binding(argv[ARGV_DEV]); in i3c_parse_args()
152 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in i3c_parse_args()
178 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_info()
181 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_info()
301 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_speed()
307 speed = strtol(argv[ARGV_DEV + 1], NULL, 10); in cmd_i3c_speed()
332 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_recover()
406 return i3c_write_from_buffer(sh, argv[ARGV_DEV], argv[ARGV_TDEV], argv[ARGV_REG], &argv[4], in cmd_i3c_write()
413 return i3c_write_from_buffer(sh, argv[ARGV_DEV], argv[ARGV_TDEV], argv[ARGV_REG], &argv[4], in cmd_i3c_write_byte()
464 ret = i3c_read_to_buffer(sh, argv[ARGV_DEV], argv[ARGV_TDEV], argv[ARGV_REG], &out, 1); in cmd_i3c_read_byte()
488 ret = i3c_read_to_buffer(sh, argv[ARGV_DEV], argv[ARGV_TDEV], argv[ARGV_REG], buf, in cmd_i3c_read()
577 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_rstdaa()
579 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_rstdaa()
603 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_entdaa()
605 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_entdaa()
619 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_setaasa()
621 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_setaasa()
929 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_setmrl_bc()
931 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_setmrl_bc()
964 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_setmwl_bc()
966 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_setmwl_bc()
991 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_deftgts()
993 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_deftgts()
1018 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_enttm()
1020 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_enttm()
1042 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_rstact_bc()
1044 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_rstact_bc()
1104 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_enec_bc()
1106 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_enec_bc()
1128 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_disec_bc()
1130 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_disec_bc()
1200 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_entas0_bc()
1202 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_entas0_bc()
1223 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_entas1_bc()
1225 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_entas1_bc()
1246 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_entas2_bc()
1248 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_entas2_bc()
1269 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_entas3_bc()
1271 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_entas3_bc()
1485 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_getvendor()
1487 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_getvendor()
1539 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_setvendor()
1541 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_setvendor()
1588 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_setvendor_bc()
1590 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_setvendor_bc()
1623 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ccc_setbuscon()
1625 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ccc_setbuscon()
1712 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_attach()
1714 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_attach()
1786 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_i2c_attach()
1788 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_i2c_attach()
1813 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_i2c_detach()
1815 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_i2c_detach()
1862 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_i2c_scan()
1865 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_i2c_scan()
1926 shell_print(sh, "%u additional devices found on %s", cnt, argv[ARGV_DEV]); in cmd_i3c_i2c_scan()
1939 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ibi_hj()
1941 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ibi_hj()
1964 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ibi_cr()
1966 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ibi_cr()
1992 dev = shell_device_get_binding(argv[ARGV_DEV]); in cmd_i3c_ibi_tir()
1994 shell_error(sh, "I3C: Device driver %s not found.", argv[ARGV_DEV]); in cmd_i3c_ibi_tir()