Lines Matching refs:rej
1239 struct conf_rej rej; in avdtp_setconf_cmd() local
1327 rej.error = err; in avdtp_setconf_cmd()
1328 rej.category = category; in avdtp_setconf_cmd()
1330 AVDTP_SET_CONFIGURATION, &rej, sizeof(rej)); in avdtp_setconf_cmd()
1438 struct stream_rej rej; in avdtp_start_cmd() local
1482 memset(&rej, 0, sizeof(rej)); in avdtp_start_cmd()
1483 rej.acp_seid = failed_seid; in avdtp_start_cmd()
1484 rej.error = err; in avdtp_start_cmd()
1486 AVDTP_START, &rej, sizeof(rej)); in avdtp_start_cmd()
1543 struct stream_rej rej; in avdtp_suspend_cmd() local
1587 memset(&rej, 0, sizeof(rej)); in avdtp_suspend_cmd()
1588 rej.acp_seid = failed_seid; in avdtp_suspend_cmd()
1589 rej.error = err; in avdtp_suspend_cmd()
1591 AVDTP_SUSPEND, &rej, sizeof(rej)); in avdtp_suspend_cmd()
2611 static gboolean seid_rej_to_err(struct seid_rej *rej, unsigned int size, in seid_rej_to_err() argument
2619 avdtp_error_init(err, AVDTP_ERROR_ERROR_CODE, rej->error); in seid_rej_to_err()
2624 static gboolean conf_rej_to_err(struct conf_rej *rej, unsigned int size, in conf_rej_to_err() argument
2632 avdtp_error_init(err, AVDTP_ERROR_ERROR_CODE, rej->error); in conf_rej_to_err()
2635 *category = rej->category; in conf_rej_to_err()
2640 static gboolean stream_rej_to_err(struct stream_rej *rej, unsigned int size, in stream_rej_to_err() argument
2649 avdtp_error_init(err, AVDTP_ERROR_ERROR_CODE, rej->error); in stream_rej_to_err()
2652 *acp_seid = rej->acp_seid; in stream_rej_to_err()