Home
last modified time | relevance | path

Searched refs:chain_bitmap (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dlib.c757 static u8 iwl_count_chain_bitmap(u32 chain_bitmap) in iwl_count_chain_bitmap() argument
760 res = (chain_bitmap & BIT(0)) >> 0; in iwl_count_chain_bitmap()
761 res += (chain_bitmap & BIT(1)) >> 1; in iwl_count_chain_bitmap()
762 res += (chain_bitmap & BIT(2)) >> 2; in iwl_count_chain_bitmap()
763 res += (chain_bitmap & BIT(3)) >> 3; in iwl_count_chain_bitmap()
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr.h1151 unsigned long *chain_bitmap; member
H A Dmpi3mr_os.c147 clear_bit(priv->chain_idx, mrioc->chain_bitmap); in mpi3mr_clear_scmd_priv()
151 clear_bit(priv->meta_chain_idx, mrioc->chain_bitmap); in mpi3mr_clear_scmd_priv()
3382 cmd_idx = find_first_zero_bit(mrioc->chain_bitmap, in mpi3mr_get_chain_idx()
3385 set_bit(cmd_idx, mrioc->chain_bitmap); in mpi3mr_get_chain_idx()
H A Dmpi3mr_fw.c3453 mrioc->chain_bitmap = bitmap_zalloc(num_chains, GFP_KERNEL); in mpi3mr_alloc_chain_bufs()
3454 if (!mrioc->chain_bitmap) in mpi3mr_alloc_chain_bufs()
4376 bitmap_free(mrioc->chain_bitmap); in mpi3mr_free_mem()
4377 mrioc->chain_bitmap = NULL; in mpi3mr_free_mem()
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965-mac.c1121 il4965_count_chain_bitmap(u32 chain_bitmap) in il4965_count_chain_bitmap() argument
1124 res = (chain_bitmap & BIT(0)) >> 0; in il4965_count_chain_bitmap()
1125 res += (chain_bitmap & BIT(1)) >> 1; in il4965_count_chain_bitmap()
1126 res += (chain_bitmap & BIT(2)) >> 2; in il4965_count_chain_bitmap()
1127 res += (chain_bitmap & BIT(3)) >> 3; in il4965_count_chain_bitmap()