Lines Matching refs:packet

74     u32     packet;         /* Command packet size (minimum length) */  member
198 int packet) in WBTi_InitBitmap() argument
200 SDK_ASSERT(packet > 0); in WBTi_InitBitmap()
203 pkt_bmp->total = (length + packet - 1) / packet; in WBTi_InitBitmap()
221 static BOOL WBTi_MergeBitmapIndex(WBTPacketBitmap * pkt_bmp, int index, u32 packet, const void *src) in WBTi_MergeBitmapIndex() argument
229 const u32 offset = index * packet; in WBTi_MergeBitmapIndex()
231 u32 length = (u32)MATH_MIN(packet, total - offset); in WBTi_MergeBitmapIndex()
604 u32 packet = work->my_data_packet_size; in WBTi_TryCreateResponse() local
611 id, index, packet); in WBTi_TryCreateResponse()
620 system_cmd->prepare_send_data.own_packet_size = (s16)packet; in WBTi_TryCreateResponse()
631 packet = system_cmd->prepare_send_data.own_packet_size; in WBTi_TryCreateResponse()
645 WBTi_CopySafeMemory(data_ptr, &format->res_getblock + 1, (u32)packet); in WBTi_TryCreateResponse()
647 sizeof(format->res_getblock) + packet); in WBTi_TryCreateResponse()
657 int packet = work->my_data_packet_size; in WBTi_TryCreateResponse() local
660 packet); in WBTi_TryCreateResponse()
675 WBTi_CopySafeMemory(data_ptr, &format->res_getblock + 1, (u32)packet); in WBTi_TryCreateResponse()
677 packet); in WBTi_TryCreateResponse()
1100 else if (length < WBTi_CommandTable[command].packet) in WBT_CallPacketRecvHook()
1242 u32 packet = (u32)work->peer_data_packet_size; in WBT_CallPacketRecvHook() local
1243 if (WBTi_MergeBitmapIndex(pkt_bmp, index, packet, src)) in WBT_CallPacketRecvHook()
1487 int packet = work->peer_data_packet_size; in WBT_GetBitmapLength() local
1488 SDK_ASSERT(packet > 0); in WBT_GetBitmapLength()
1489 return (int)(sizeof(u32) * MATH_ROUNDUP(((length + packet - 1) / packet), 32)); in WBT_GetBitmapLength()