Lines Matching refs:cmd_rc
574 int *cmd_rc) in nfit_test_cmd_ars_start() argument
582 *cmd_rc = -EBUSY; in nfit_test_cmd_ars_start()
588 *cmd_rc = 0; in nfit_test_cmd_ars_start()
597 int *cmd_rc) in nfit_test_cmd_ars_status() argument
607 *cmd_rc = -EBUSY; in nfit_test_cmd_ars_status()
611 *cmd_rc = 0; in nfit_test_cmd_ars_status()
619 unsigned int buf_len, int *cmd_rc) in nfit_test_cmd_clear_error() argument
631 *cmd_rc = 0; in nfit_test_cmd_clear_error()
1353 unsigned int buf_len, int *cmd_rc) in nfit_test_ctl() argument
1360 if (!cmd_rc) in nfit_test_ctl()
1361 cmd_rc = &__cmd_rc; in nfit_test_ctl()
1362 *cmd_rc = 0; in nfit_test_ctl()
1580 buf_len, cmd_rc); in nfit_test_ctl()
1584 cmd_rc); in nfit_test_ctl()
1587 rc = nfit_test_cmd_clear_error(t, buf, buf_len, cmd_rc); in nfit_test_ctl()
2888 int rc, cmd_rc; in nfit_ctl_test() local
2981 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
2983 if (rc < 0 || cmd_rc || cmd.cfg_size.status != 0 in nfit_ctl_test()
2987 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3001 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
3003 if (rc < 0 || cmd_rc) { in nfit_ctl_test()
3005 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3020 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
3022 if (rc < 0 || cmd_rc) { in nfit_ctl_test()
3024 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3042 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
3044 if (rc < 0 || cmd_rc || record->length != test_val) { in nfit_ctl_test()
3046 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3064 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
3066 if (rc < 0 || cmd_rc || record->length != test_val) { in nfit_ctl_test()
3068 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3082 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
3084 if (rc < 0 || cmd_rc >= 0) { in nfit_ctl_test()
3086 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3100 cmd.buf, cmd_size, &cmd_rc); in nfit_ctl_test()
3101 if (rc < 0 || cmd_rc) { in nfit_ctl_test()
3103 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()
3130 &cmd, sizeof(cmd.pkg) + cmd_size, &cmd_rc); in nfit_ctl_test()
3131 if (rc < 0 || cmd_rc) { in nfit_ctl_test()
3133 __func__, __LINE__, rc, cmd_rc); in nfit_ctl_test()