Lines Matching refs:p

145 #define AVDT_MSG_PRS_HDR(p, lbl, pkt, msg) \  argument
146 lbl = *(p) >> 4; \
147 pkt = (*(p) >> 2) & 0x03; \
148 msg = *(p)++ & 0x03;
150 #define AVDT_MSG_PRS_DISC(p, seid, in_use, type, tsep) \ argument
151 seid = *(p) >> 2; \
152 in_use = (*(p)++ >> 1) & 0x01; \
153 type = *(p) >> 4; \
154 tsep = (*(p)++ >> 3) & 0x01;
156 #define AVDT_MSG_PRS_SIG(p, sig) \ argument
157 sig = *(p)++ & 0x3F;
159 #define AVDT_MSG_PRS_SEID(p, seid) \ argument
160 seid = *(p)++ >> 2;
162 #define AVDT_MSG_PRS_PKT_TYPE(p, pkt) \ argument
163 pkt = (*(p) >> 2) & 0x03;
165 #define AVDT_MSG_PRS_OCTET1(p, o_v, o_p, o_x, o_cc) \ argument
166 o_v = *(p) >> 6; \
167 o_p = (*(p) >> 5) & 0x01; \
168 o_x = (*(p) >> 4) & 0x01; \
169 o_cc = *(p)++ & 0x0F;
171 #define AVDT_MSG_PRS_RPT_OCTET1(p, o_v, o_p, o_cc) \ argument
172 o_v = *(p) >> 6; \
173 o_p = (*(p) >> 5) & 0x01; \
174 o_cc = *(p)++ & 0x1F;
176 #define AVDT_MSG_PRS_M_PT(p, m_pt, marker) \ argument
177 marker = *(p) >> 7; \
178 m_pt = *(p)++ & 0x7F;
180 #define AVDT_MSG_BLD_HDR(p, lbl, pkt, msg) \ argument
181 *(p)++ = (UINT8) ((lbl) << 4) | ((pkt) << 2) | (msg);
183 #define AVDT_MSG_BLD_DISC(p, seid, in_use, type, tsep) \ argument
184 *(p)++ = (UINT8) (((seid) << 2) | ((in_use) << 1)); \
185 *(p)++ = (UINT8) (((type) << 4) | ((tsep) << 3));
187 #define AVDT_MSG_BLD_SIG(p, sig) \ argument
188 *(p)++ = (UINT8) (sig);
190 #define AVDT_MSG_BLD_SEID(p, seid) \ argument
191 *(p)++ = (UINT8) ((seid) << 2);
193 #define AVDT_MSG_BLD_ERR(p, err) \ argument
194 *(p)++ = (UINT8) (err);
196 #define AVDT_MSG_BLD_PARAM(p, param) \ argument
197 *(p)++ = (UINT8) (param);
199 #define AVDT_MSG_BLD_NOSP(p, nosp) \ argument
200 *(p)++ = (UINT8) (nosp);