Lines Matching refs:cmd_rc
571 int *cmd_rc) in nfit_test_cmd_ars_start() argument
579 *cmd_rc = -EBUSY; in nfit_test_cmd_ars_start()
585 *cmd_rc = 0; in nfit_test_cmd_ars_start()
594 int *cmd_rc) in nfit_test_cmd_ars_status() argument
604 *cmd_rc = -EBUSY; in nfit_test_cmd_ars_status()
608 *cmd_rc = 0; in nfit_test_cmd_ars_status()
616 unsigned int buf_len, int *cmd_rc) in nfit_test_cmd_clear_error() argument
628 *cmd_rc = 0; in nfit_test_cmd_clear_error()
1350 unsigned int buf_len, int *cmd_rc) in nfit_test_ctl() argument
1357 if (!cmd_rc) in nfit_test_ctl()
1358 cmd_rc = &__cmd_rc; in nfit_test_ctl()
1359 *cmd_rc = 0; in nfit_test_ctl()
1577 buf_len, cmd_rc); in nfit_test_ctl()
1581 cmd_rc); in nfit_test_ctl()
1584 rc = nfit_test_cmd_clear_error(t, buf, buf_len, cmd_rc); in nfit_test_ctl()
2871 int rc, cmd_rc; in nfit_ctl_test() local
2964 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
2966 if (rc < 0 || cmd_rc || cmd.cfg_size.status != 0 in nfit_ctl_test()
2970 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
2984 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
2986 if (rc < 0 || cmd_rc) { in nfit_ctl_test()
2988 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3003 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
3005 if (rc < 0 || cmd_rc) { in nfit_ctl_test()
3007 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3025 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
3027 if (rc < 0 || cmd_rc || record->length != test_val) { in nfit_ctl_test()
3029 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3047 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
3049 if (rc < 0 || cmd_rc || record->length != test_val) { in nfit_ctl_test()
3051 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3065 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
3067 if (rc < 0 || cmd_rc >= 0) { in nfit_ctl_test()
3069 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3083 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
3084 if (rc < 0 || cmd_rc) { in nfit_ctl_test()
3086 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3113 &cmd, sizeof(cmd.pkg) + cmd_size, &cmd_rc); in nfit_ctl_test()
3114 if (rc < 0 || cmd_rc) { in nfit_ctl_test()
3116 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()