Lines Matching +full:start +full:- +full:of +full:- +full:frame

6  * Copyright (c) 2015-2016 Intel Corporation
9 * SPDX-License-Identifier: Apache-2.0
36 /** Transaction label provided by the application and is replicated by the sender of the message in
37 * each packet of the sequence. It isused at the receiver side to identify packets that belong to
40 #define BT_AVCTP_HDR_GET_TRANSACTION_LABLE(hdr) FIELD_GET(GENMASK(7, 4), ((hdr)->byte0))
42 * packet. Alternatively, set to (01) for start, (10) for continue, or (11) for end packet.
44 #define BT_AVCTP_HDR_GET_PACKET_TYPE(hdr) FIELD_GET(GENMASK(3, 2), ((hdr)->byte0))
45 /** Indicates whether the messageconveys a command frame (0) or a response frame (1). */
46 #define BT_AVCTP_HDR_GET_CR(hdr) FIELD_GET(BIT(1), ((hdr)->byte0))
48 * the command message of the same transaction; otherwise this bit is set to zero. In command
49 * messages this bit is set to zero. This field is only present in the start packet of the message.
51 #define BT_AVCTP_HDR_GET_IPID(hdr) FIELD_GET(BIT(0), ((hdr)->byte0))
53 /** Transaction label provided by the application and is replicated by the sender of the message in
54 * each packet of the sequence. It isused at the receiver side to identify packets that belong to
58 (hdr)->byte0 = (((hdr)->byte0) & ~GENMASK(7, 4)) | FIELD_PREP(GENMASK(7, 4), (tl))
60 * packet. Alternatively, set to (01) for start, (10) for continue, or (11) for end packet.
63 (hdr)->byte0 = (((hdr)->byte0) & ~GENMASK(3, 2)) | FIELD_PREP(GENMASK(3, 2), (packet_type))
64 /** Indicates whether the messageconveys a command frame (0) or a response frame (1). */
66 (hdr)->byte0 = (((hdr)->byte0) & ~BIT(1)) | FIELD_PREP(BIT(1), (cr))
68 * the command message of the same transaction; otherwise this bit is set to zero. In command
69 * messages this bit is set to zero. This field is only present in the start packet of the message.
72 (hdr)->byte0 = (((hdr)->byte0) & ~BIT(0)) | FIELD_PREP(BIT(0), (ipid))