Home
last modified time | relevance | path

Searched refs:BITS_PER_BYTE (Results 1 – 24 of 24) sorted by relevance

/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_features.c39 byte_index = bit_position / BITS_PER_BYTE; in pqi_is_firmware_feature_supported()
48 (1 << (bit_position % BITS_PER_BYTE))) ? true : false; in pqi_is_firmware_feature_supported()
65 byte_index = (bit_position / BITS_PER_BYTE) + in pqi_is_firmware_feature_enabled()
73 (1 << (bit_position % BITS_PER_BYTE))) ? true : false; in pqi_is_firmware_feature_enabled()
88 byte_index = (bit_position / BITS_PER_BYTE) + in pqi_request_firmware_feature()
93 (1 << (bit_position % BITS_PER_BYTE)); in pqi_request_firmware_feature()
H A Dsmartpqi_defines.h46 #define BITS_PER_BYTE 8 macro
774 #define BITS_PER_BYTE 8 macro
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dcrc64.h46 #define BITS_PER_BYTE 8 macro
52 #define CRC64_TABLE_ENTRIES ( 1 << BITS_PER_BYTE )
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dbitops.h55 #define BITS_PER_BYTE 8 macro
56 #define BITS_PER_TYPE(t) (sizeof(t) * BITS_PER_BYTE)
57 #define BITS_TO_BYTES(n) howmany((n), BITS_PER_BYTE)
/freebsd/sys/dev/ice/
H A Dice_defs.h44 #define BITS_PER_BYTE 8 macro
H A Dice_bitops.h49 #define BITS_PER_CHUNK (BITS_PER_BYTE * sizeof(ice_bitmap_t))
503 #define BITS_PER_U32 (sizeof(u32) * BITS_PER_BYTE) in ice_bitmap_from_array32()
H A Dice_flex_type.h489 BITS_PER_BYTE))
H A Dice_flow.c59 .off = (_offset_bytes) * BITS_PER_BYTE, \
60 .size = (_size_bytes) * BITS_PER_BYTE, \
660 ese_bits = ICE_FLOW_FV_EXTRACT_SZ * BITS_PER_BYTE; in ice_flow_xtract_fld()
H A Dice_sched.c3972 bytes_per_sec = DIV_S64((s64)bw * 1000, BITS_PER_BYTE); in ice_sched_calc_wakeup()
4024 bytes_per_sec = DIV_S64((s64)bw * 1000, BITS_PER_BYTE); in ice_sched_bw_to_rl_profile()
H A Dice_adminq_cmd.h995 u8 vsi_list[DIVIDE_AND_ROUND_UP(ICE_MAX_VSI, BITS_PER_BYTE)];
H A Dice_common.c5045 if (ce_info[f].width > (ce_info[f].size_of * BITS_PER_BYTE)) { in ice_get_lan_q_ctx()
/freebsd/sys/ofed/include/rdma/
H A Drdmavt_qp.h392 #define RVT_QPNMAP_ENTRIES (RVT_QPN_MAX / PAGE_SIZE / BITS_PER_BYTE)
393 #define RVT_BITS_PER_PAGE (PAGE_SIZE * BITS_PER_BYTE)
/freebsd/sys/dev/mlx5/mlx5_core/
H A Deswitch.h40 #define MLX5_L2_ADDR_HASH_SIZE (BIT(BITS_PER_BYTE))
/freebsd/sys/dev/qlnx/qlnxe/
H A Dqlnx_def.h65 #ifndef BITS_PER_BYTE
66 #define BITS_PER_BYTE 8 macro
/freebsd/sys/dev/ath/
H A Dif_ath_tx_ht.c157 #define BITS_PER_BYTE 8 macro
497 minlen = (nsymbols * nsymbits) / BITS_PER_BYTE; in ath_compute_num_delims()
/freebsd/contrib/tcsh/
H A Dsh.exec.c70 #define BITS_PER_BYTE 8 macro
90 # define widthof(t) (sizeof(t) * BITS_PER_BYTE)
125 static char xhash[HSHSIZ / BITS_PER_BYTE];
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Dtx-gen2.c1416 BUILD_BUG_ON(IWL_TFH_NUM_TBS > sizeof(out_meta->tbs) * BITS_PER_BYTE);
H A Dtx.c1591 BUILD_BUG_ON(IWL_TFH_NUM_TBS > sizeof(out_meta->tbs) * BITS_PER_BYTE); in iwl_trans_pcie_tx()
/freebsd/sys/dev/qat/qat_common/
H A Dadf_freebsd_admin.c366 sizeof(accel_dev->au_info->sym_ae_msk) * BITS_PER_BYTE; in adf_get_fw_pke_stats()
/freebsd/sys/dev/mlx4/mlx4_en/
H A Den.h533 #define MLX4_EN_MAC_HASH_SIZE (1 << BITS_PER_BYTE)
/freebsd/sys/dev/mlx5/mlx5_en/
H A Den.h964 #define MLX5E_ETH_ADDR_HASH_SIZE (1 << BITS_PER_BYTE)
/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Ddbg.c2628 BUILD_BUG_ON((sizeof(trigger->regions_mask) * BITS_PER_BYTE) <
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dsta.c3238 BUILD_BUG_ON((sizeof(mvmsta->agg_tids) * BITS_PER_BYTE) in iwl_mvm_sta_tx_agg_oper()
/freebsd/sys/contrib/dev/rtw89/
H A Dcore.c3648 int tids_nbit = BITS_PER_BYTE; in _rtw89_core_set_tid_config()