Lines Matching defs:pbuf
288 #define SetToDs(pbuf) \ argument
293 #define GetToDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_TO_DS_)) != 0) argument
295 #define ClearToDs(pbuf) \ argument
300 #define SetFrDs(pbuf) \ argument
305 #define GetFrDs(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_FROM_DS_)) != 0) argument
307 #define ClearFrDs(pbuf) \ argument
315 #define SetMFrag(pbuf) \ argument
320 #define GetMFrag(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_MORE_FRAG_)) != 0) argument
322 #define ClearMFrag(pbuf) \ argument
327 #define SetRetry(pbuf) \ argument
332 #define GetRetry(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_RETRY_)) != 0) argument
334 #define ClearRetry(pbuf) \ argument
339 #define SetPwrMgt(pbuf) \ argument
344 #define GetPwrMgt(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_PWRMGT_)) != 0) argument
346 #define ClearPwrMgt(pbuf) \ argument
351 #define SetMData(pbuf) \ argument
356 #define GetMData(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_MORE_DATA_)) != 0) argument
358 #define ClearMData(pbuf) \ argument
363 #define SetPrivacy(pbuf) \ argument
368 #define GetPrivacy(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_PRIVACY_)) != 0) argument
370 #define ClearPrivacy(pbuf) \ argument
376 #define GetOrder(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_ORDER_)) != 0) argument
378 #define GetFrameType(pbuf) (le16_to_cpu(*(unsigned short *)(pbuf)) & (BIT(3) | BIT(2))) argument
380 #define SetFrameType(pbuf, type) \ argument
386 #define get_frame_sub_type(pbuf) (cpu_to_le16(*(unsigned short *)(pbuf)) & (BIT(7) | BIT(6) | BIT(5… argument
389 #define set_frame_sub_type(pbuf, type) \ argument
396 #define GetSequence(pbuf) (cpu_to_le16(*(unsigned short *)((SIZE_PTR)(pbuf) + 22)) >> 4) argument
398 #define GetFragNum(pbuf) (cpu_to_le16(*(unsigned short *)((SIZE_PTR)(pbuf) + 22)) & 0x0f) argument
400 #define GetTupleCache(pbuf) (cpu_to_le16(*(unsigned short *)((SIZE_PTR)(pbuf) + 22))) argument
402 #define SetFragNum(pbuf, num) \ argument
409 #define SetSeqNum(pbuf, num) \ argument
416 #define set_duration(pbuf, dur) \ argument
443 #define GetAid(pbuf) (cpu_to_le16(*(unsigned short *)((SIZE_PTR)(pbuf) + 2)) & 0x3fff) argument
445 #define GetTid(pbuf) (cpu_to_le16(*(unsigned short *)((SIZE_PTR)(pbuf) + (((GetToDs(pbuf)<<1) | Get… argument
447 #define GetAddr1Ptr(pbuf) ((unsigned char *)((SIZE_PTR)(pbuf) + 4)) argument
449 #define get_addr2_ptr(pbuf) ((unsigned char *)((SIZE_PTR)(pbuf) + 10)) argument
451 #define GetAddr3Ptr(pbuf) ((unsigned char *)((SIZE_PTR)(pbuf) + 16)) argument
453 #define GetAddr4Ptr(pbuf) ((unsigned char *)((SIZE_PTR)(pbuf) + 24)) argument
780 #define set_htc_order_bit(pbuf) \ argument
787 #define GetOrderBit(pbuf) (((*(unsigned short *)(pbuf)) & le16_to_cpu(_ORDER_)) != 0) argument