Home
last modified time | relevance | path

Searched refs:bit_pos (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-internal-utils.cc233 int bit_pos = 0; in Base64Unescape() local
244 if (bit_pos == 0) { in Base64Unescape()
246 bit_pos = 6; in Base64Unescape()
248 dst |= static_cast<char>(src_bin >> (bit_pos - 2)); in Base64Unescape()
250 dst = static_cast<char>(src_bin << (10 - bit_pos)); in Base64Unescape()
251 bit_pos = (bit_pos + 6) % 8; in Base64Unescape()
/freebsd/contrib/xz/src/liblzma/simple/
H A Dia64.c34 uint32_t bit_pos = 5; in ia64_code() local
36 for (size_t slot = 0; slot < 3; ++slot, bit_pos += 41) { in ia64_code()
40 const size_t byte_pos = (bit_pos >> 3); in ia64_code()
41 const uint32_t bit_res = bit_pos & 0x7; in ia64_code()
/freebsd/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_bcj.c204 uint32_t bit_pos; in bcj_ia64() local
224 for (slot = 0, bit_pos = 5; slot < 3; ++slot, bit_pos += 41) { in bcj_ia64()
228 byte_pos = bit_pos >> 3; in bcj_ia64()
229 bit_res = bit_pos & 7; in bcj_ia64()
/freebsd/sys/dev/aq/
H A Daq_hw.c1122 uint32_t bit_pos = i * HW_ATL_RSS_INDIRECTION_ENTRY_BITS; in aq_hw_rss_set() local
1123 uint32_t word = bit_pos / 16U; in aq_hw_rss_set()
1124 uint32_t shift = bit_pos % 16U; in aq_hw_rss_set()
H A Daq_main.c1192 int bit_pos = 0; in aq_update_vlan_filters() local
1200 bit_ffs_at(softc->vlan_tags, bit_pos, 4096, &vlan_tag); in aq_update_vlan_filters()
1206 bit_pos = vlan_tag + 1; in aq_update_vlan_filters()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.cpp1171 integer bit_pos = UInt(b5:b40); in EmulateTBZ()
1179 uint32_t bit_pos = (Bit32(opcode, 31) << 6) | (Bits32(opcode, 23, 19)); in EmulateTBZ() local
1188 if (m_ignore_conditions || Bit32(operand, bit_pos) == bit_val) { in EmulateTBZ()
/freebsd/sys/dev/ixl/
H A Dixl_pf_main.c3376 ixl_phy_type_string(u32 bit_pos, bool ext) in ixl_phy_type_string() argument
3423 if (ext && bit_pos > 7) return "Invalid_Ext"; in ixl_phy_type_string()
3424 if (bit_pos > 31) return "Invalid"; in ixl_phy_type_string()
3426 return (ext) ? ext_phy_types_str[bit_pos] : phy_types_str[bit_pos]; in ixl_phy_type_string()
4401 u8 bit_pos, int *is_set) in ixl_get_fec_config() argument
4420 *is_set = !!(abilities->fec_cfg_curr_mod_ext_info & bit_pos); in ixl_get_fec_config()
4426 u8 bit_pos, int set) in ixl_set_fec_config() argument
4435 config.fec_config = abilities->fec_cfg_curr_mod_ext_info & ~(bit_pos); in ixl_set_fec_config()
4437 config.fec_config |= bit_pos; in ixl_set_fec_config()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DScalar.h76 bool SignExtend(uint32_t bit_pos);
/freebsd/contrib/ldns/
H A Dhost2str.c879 uint16_t bit_pos; in ldns_rdf2buffer_str_nsec_fmt() local
889 for (bit_pos = 0; bit_pos < (bitmap_length) * 8; bit_pos++) { in ldns_rdf2buffer_str_nsec_fmt()
890 if (! ldns_get_bit(&data[pos], bit_pos)) { in ldns_rdf2buffer_str_nsec_fmt()
893 type = 256 * (uint16_t) window_block_nr + bit_pos; in ldns_rdf2buffer_str_nsec_fmt()
/freebsd/sys/dev/cxgbe/cudbg/
H A Dcudbg_lib.c1730 int bit_pos = 0; in check_valid()
1734 bit_pos = 176; in check_valid()
1737 bit_pos = 141; in check_valid()
1740 bit_pos = 89; in check_valid()
1743 index = bit_pos / 32; in check_valid()
1744 bit = bit_pos % 32; in check_valid()
1727 int bit_pos = 0; check_valid() local
/freebsd/sys/dev/vnic/
H A Dnicvf_queues.c124 uint64_t reg, int bit_pos, int bits, int val) in nicvf_poll_reg() argument
131 bit_mask = (bit_mask << bit_pos); in nicvf_poll_reg()
135 if (((reg_val & bit_mask) >> bit_pos) == val) in nicvf_poll_reg()
/freebsd/sys/dev/cxgbe/
H A Dt4_filter.c1423 set_tcb_tflag(struct adapter *sc, int tid, u_int bit_pos, u_int val, in get_tcamfilter()
1427 return (set_tcb_field(sc, tid, W_TCB_T_FLAGS, 1ULL << bit_pos, in get_tcamfilter()
1428 (uint64_t)val << bit_pos, no_reply)); in get_tcamfilter()
1213 set_tcb_tflag(struct adapter * sc,int tid,u_int bit_pos,u_int val,u_int no_reply) set_tcb_tflag() argument
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.c3294 u32 bit_pos = IEEE80211_EHT_PPE_THRES_INFO_HEADER_SIZE, val; in ath12k_mac_set_eht_ppe_threshold() local
3311 val |= (((ppe_thres[bit_pos / 8] >> in ath12k_mac_set_eht_ppe_threshold()
3312 (bit_pos % 8)) & 0x1) << i); in ath12k_mac_set_eht_ppe_threshold()
3313 bit_pos++; in ath12k_mac_set_eht_ppe_threshold()