• Home
  • Raw
  • Download

Lines Matching refs:avctp

203 	uuid_t root_uuid, l2cap, avctp, avrct;  in avrcp_ct_record()  local
230 sdp_uuid16_create(&avctp, AVCTP_UUID); in avrcp_ct_record()
231 proto[1] = sdp_list_append(0, &avctp); in avrcp_ct_record()
266 uuid_t root_uuid, l2cap, avctp, avrtg; in avrcp_tg_record() local
293 sdp_uuid16_create(&avctp, AVCTP_UUID); in avrcp_tg_record()
294 proto[1] = sdp_list_append(0, &avctp); in avrcp_tg_record()
454 struct avctp_header *avctp; in control_cb() local
476 avctp = (struct avctp_header *) buf; in control_cb()
480 avctp->transaction, avctp->packet_type, in control_cb()
481 avctp->cr, avctp->ipid, ntohs(avctp->pid)); in control_cb()
498 avctp->cr ? "response" : "command", in control_cb()
502 if (avctp->packet_type != AVCTP_PACKET_SINGLE) { in control_cb()
503 avctp->cr = AVCTP_RESPONSE; in control_cb()
505 } else if (avctp->pid != htons(AV_REMOTE_SVCLASS_ID)) { in control_cb()
506 avctp->ipid = 1; in control_cb()
507 avctp->cr = AVCTP_RESPONSE; in control_cb()
509 } else if (avctp->cr == AVCTP_COMMAND && in control_cb()
514 avctp->cr = AVCTP_RESPONSE; in control_cb()
516 } else if (avctp->cr == AVCTP_COMMAND && in control_cb()
520 avctp->cr = AVCTP_RESPONSE; in control_cb()
533 avctp->cr = AVCTP_RESPONSE; in control_cb()
932 struct avctp_header *avctp = (void *) buf; in avctp_send_passthrough() local
940 avctp->transaction = transaction++; in avctp_send_passthrough()
941 avctp->packet_type = AVCTP_PACKET_SINGLE; in avctp_send_passthrough()
942 avctp->cr = AVCTP_COMMAND; in avctp_send_passthrough()
943 avctp->pid = htons(AV_REMOTE_SVCLASS_ID); in avctp_send_passthrough()
957 avctp->transaction = transaction++; in avctp_send_passthrough()