Lines Matching refs:bitmap
205 pkt_bmp->bitmap = bits; in WBTi_InitBitmap()
226 if ((pkt_bmp->bitmap[pos] & (1 << bit)) == 0) in WBTi_MergeBitmapIndex()
233 pkt_bmp->bitmap[pos] |= (1 << bit); in WBTi_MergeBitmapIndex()
262 bmp = pkt_bmp->bitmap + div32(num); in WBTi_FindBitmapIndex()
280 bmp = pkt_bmp->bitmap; in WBTi_FindBitmapIndex()
484 MI_StoreLE16(&format->header.bitmap, (u16)target); in WBTi_MakeCommandHeader()
1082 u16 bitmap; in WBT_CallPacketRecvHook() local
1085 bitmap = MI_LoadLE16(&format->header.bitmap); in WBT_CallPacketRecvHook()
1094 if ((WBT_GetAid(work) != -1) && ((bitmap & (1 << WBT_GetAid(work))) != 0)) in WBT_CallPacketRecvHook()
1387 void WBT_PostCommand(WBTContext *work, WBTCommandList *list, u16 bitmap, in WBT_PostCommand() argument
1401 list->command.target_bmp = bitmap; in WBT_PostCommand()
1423 int WBT_CancelCommand(WBTContext * work, int bitmap) in WBT_CancelCommand() argument
1433 bitmap &= current->target_bmp; in WBT_CancelCommand()
1437 if (bit > bitmap) in WBT_CancelCommand()
1441 if ((bit & bitmap) == 0) in WBT_CancelCommand()
1443 bitmap &= ~bit; in WBT_CancelCommand()
1473 return bitmap; in WBT_CancelCommand()