Searched refs:usbPacket (Results 1 – 1 of 1) sorted by relevance
209 static inline int getLayerId(const __u8 *usbPacket) in getLayerId() argument211 return __le32_to_cpup((__le32 *)(usbPacket)); in getLayerId()214 static inline int getPacketId(const __u8 *usbPacket) in getPacketId() argument216 return __le32_to_cpup((__le32 *)(usbPacket+4)); in getPacketId()219 static inline int getDataLength(const __u8 *usbPacket) in getDataLength() argument221 return __le32_to_cpup((__le32 *)(usbPacket+8)); in getDataLength()