Lines Matching +full:0 +full:xb
12 #define AVCTP_VER_1_4 (0x0104u)
13 #define AVRCP_VER_1_6 (0x0106u)
15 #define AVRCP_CAT_1 BIT(0) /* Player/Recorder */
20 #define AVRCP_SUBUNIT_PAGE (0) /* Fixed value according to AVRCP */
24 BT_AVRCP_CTYPE_CONTROL = 0x0,
25 BT_AVRCP_CTYPE_STATUS = 0x1,
26 BT_AVRCP_CTYPE_SPECIFIC_INQUIRY = 0x2,
27 BT_AVRCP_CTYPE_NOTIFY = 0x3,
28 BT_AVRCP_CTYPE_GENERAL_INQUIRY = 0x4,
29 BT_AVRCP_CTYPE_NOT_IMPLEMENTED = 0x8,
30 BT_AVRCP_CTYPE_ACCEPTED = 0x9,
31 BT_AVRCP_CTYPE_REJECTED = 0xA,
32 BT_AVRCP_CTYPE_IN_TRANSITION = 0xB,
33 BT_AVRCP_CTYPE_IMPLEMENTED_STABLE = 0xC,
34 BT_AVRCP_CTYPE_CHANGED = 0xD,
35 BT_AVRCP_CTYPE_INTERIM = 0xF,
39 BT_AVRCP_SUBUNIT_ID_ZERO = 0x0,
40 BT_AVRCP_SUBUNIT_ID_IGNORE = 0x7,
44 BT_AVRCP_SUBUNIT_TYPE_PANEL = 0x9,
45 BT_AVRCP_SUBUNIT_TYPE_UNIT = 0x1F,
49 BT_AVRCP_OPC_VENDOR_DEPENDENT = 0x0,
50 BT_AVRCP_OPC_UNIT_INFO = 0x30,
51 BT_AVRCP_OPC_SUBUNIT_INFO = 0x31,
52 BT_AVRCP_OPC_PASS_THROUGH = 0x7c,
62 uint8_t byte0; /** [7:4]: RFA, [3:0]: Ctype */
63 uint8_t byte1; /** [7:3]: Subunit_type, [2:0]: Subunit_ID */
68 #define BT_AVRCP_HDR_GET_CTYPE(hdr) FIELD_GET(GENMASK(3, 0), ((hdr)->byte0))
74 #define BT_AVRCP_HDR_GET_SUBUNIT_ID(hdr) FIELD_GET(GENMASK(2, 0), ((hdr)->byte1))
84 (hdr)->byte0 = (((hdr)->byte0) & ~GENMASK(3, 0)) | FIELD_PREP(GENMASK(3, 0), (ctype))
91 (hdr)->byte1 = (((hdr)->byte1) & ~GENMASK(2, 0)) | FIELD_PREP(GENMASK(2, 0), (subunit_id))
102 uint8_t data[0];