/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86LegalizerInfo.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
H A D | X86LegalizerInfo.cpp | 49 const LLT s8 = LLT::scalar(8); in X86LegalizerInfo() local 90 return typeInSet(0, {p0, s1, s8, s16, s32, s64})(Query) || in X86LegalizerInfo() 96 return typeInSet(0, {p0, s8, s16, s32})(Query) || in X86LegalizerInfo() 100 .clampScalar(0, s8, sMaxScalar); in X86LegalizerInfo() 109 .minScalar(LitTyIdx, s8) in X86LegalizerInfo() 140 if (typeInSet(0, {s8, s16, s32})(Query)) in X86LegalizerInfo() 154 .clampMinNumElements(0, s8, 16) in X86LegalizerInfo() 158 .clampMaxNumElements(0, s8, HasBWI ? 64 : (HasAVX2 ? 32 : 16)) in X86LegalizerInfo() 163 .clampScalar(0, s8, sMaxScalar) in X86LegalizerInfo() 168 return typePairInSet(0, 1, {{s8, s1}, {s16, s1}, {s32, s1}})(Query) || in X86LegalizerInfo() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76x02.h | 29 s8 high_gain[MT_MAX_CHAINS]; 30 s8 rssi_offset[MT_MAX_CHAINS]; 31 s8 lna_gain; 44 s8 avg_rssi_all; 45 s8 agc_gain_adjust; 46 s8 agc_lowest_gain; 47 s8 low_gain; 49 s8 temp_vco; 50 s8 temp; 60 s8 tssi_dc; [all …]
|
H A D | eeprom.c | 282 static s8 296 mt76_apply_array_limit(s8 *pwr, size_t pwr_len, const __be32 *data, in mt76_apply_array_limit() 297 s8 target_power, s8 nss_delta, s8 *max_power) in mt76_apply_array_limit() 305 pwr[i] = min_t(s8, target_power, in mt76_apply_array_limit() 312 mt76_apply_multi_array_limit(s8 *pwr, size_t pwr_len, s8 pwr_num, in mt76_apply_multi_array_limit() 313 const __be32 *data, size_t len, s8 target_power, in mt76_apply_multi_array_limit() 314 s8 nss_delta, s8 *max_power) in mt76_apply_multi_array_limit() 342 s8 mt76_get_rate_power_limits(struct mt76_phy *phy, in mt76_get_rate_power_limits() 345 s8 target_power) in mt76_get_rate_power_limits() 359 s8 max_power = 0; in mt76_get_rate_power_limits() [all …]
|
H A D | mt76x02_txrx.c | 56 s8 mt76x02_tx_get_max_txpwr_adj(struct mt76x02_dev *dev, in mt76x02_tx_get_max_txpwr_adj() 59 s8 max_txpwr; in mt76x02_tx_get_max_txpwr_adj() 96 s8 mt76x02_tx_get_txpwr_adj(struct mt76x02_dev *dev, s8 txpwr, s8 max_txpwr_adj) in mt76x02_tx_get_txpwr_adj() 98 txpwr = min_t(s8, txpwr, dev->txpower_conf); in mt76x02_tx_get_txpwr_adj() 100 txpwr = min_t(s8, txpwr, max_txpwr_adj); in mt76x02_tx_get_txpwr_adj() 105 return min_t(s8, txpwr, 7); in mt76x02_tx_get_txpwr_adj() 110 void mt76x02_tx_set_txpwr_auto(struct mt76x02_dev *dev, s8 txpwr) in mt76x02_tx_set_txpwr_auto() 112 s8 txpwr_adj; in mt76x02_tx_set_txpwr_auto()
|
H A D | mt76x02_eeprom.h | 154 static inline s8 mt76x02_rate_power_val(u8 val) in mt76x02_rate_power_val() 176 u16 *rssi_offset, s8 *lna_2g, s8 *lna_5g); 178 s8 *lna_2g, s8 *lna_5g,
|
H A D | mt76x02_eeprom.c | 103 u16 *rssi_offset, s8 *lna_2g, s8 *lna_5g) in mt76x02_get_rx_gain() 131 s8 *lna_2g, s8 *lna_5g, in mt76x02_get_lna_gain() 141 memset(lna_5g, 0, sizeof(s8) * 3); in mt76x02_get_lna_gain()
|
H A D | mt792x_acpi_sar.c | 200 static s8 202 enum nl80211_band band, s8 dyn_power) in mt792x_asar_get_geo_pwr() 206 s8 geo_power; in mt792x_asar_get_geo_pwr() 255 static s8 307 frp->power = min_t(s8, set_default ? 127 : frp->power, in mt792x_init_acpi_sar_power()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/GISel/ |
H A D | M68kLegalizerInfo.cpp | 24 const LLT s8 = LLT::scalar(8); in M68kLegalizerInfo() local 30 .legalFor({s8, s16, s32}) in M68kLegalizerInfo() 31 .clampScalar(0, s8, s32) in M68kLegalizerInfo() 43 {s32, p0, s8, 4}, in M68kLegalizerInfo() 45 {s8, p0, s8, 1}, in M68kLegalizerInfo() 47 .clampScalar(0, s8, s32); in M68kLegalizerInfo()
|
/freebsd/sys/contrib/dev/athk/ |
H A D | spectral_common.h | 55 s8 rssi; 56 s8 noise; 73 s8 lower_rssi; 74 s8 upper_rssi; 78 s8 lower_noise; 79 s8 upper_noise; 105 s8 max_index; 117 s8 max_index;
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | main.h | 432 s8 ofdm:4; 433 s8 bw20:4; 435 s8 bw20:4; 436 s8 ofdm:4; 442 s8 bw20:4; 443 s8 bw40:4; 444 s8 cck:4; 445 s8 ofdm:4; 447 s8 ofdm:4; 448 s8 cc [all...] |
H A D | sar.c | 9 s8 rtw_query_sar(struct rtw_dev *rtwdev, const struct rtw_sar_arg *arg) in rtw_query_sar() 19 return (s8)rtwdev->chip->max_power_index; in rtw_query_sar() 41 static s8 rtw_sar_to_phy(struct rtw_dev *rtwdev, u8 fct, s32 sar, in rtw_sar_to_phy() 48 s8 base; in rtw_sar_to_phy() 55 return (s8)clamp_t(s32, tmp, -max - 1, max) - base; in rtw_sar_to_phy() 84 s8 val; in rtw_set_sar_specs()
|
H A D | phy.h | 21 u8 rtw_phy_rf_power_2_rssi(s8 *rf_power, u8 path_num); 55 s8 rtw_phy_pwrtrack_get_pwridx(struct rtw_dev *rtwdev, 74 s8 txpwr_lmt; 148 s8 pwr_offset; 149 s8 pwr_limit; 150 s8 pwr_remnant; 151 s8 pwr_sar;
|
H A D | phy.c | 783 static u8 rtw_phy_power_2_db(s8 power) in rtw_phy_power_2_db() 860 u8 rtw_phy_rf_power_2_rssi(s8 *rf_power, u8 path_num) in rtw_phy_rf_power_2_rssi() 862 s8 power; in rtw_phy_rf_power_2_rssi() 1456 s8 offset; in rtw_phy_store_tx_power_by_rate() 1457 s8 pwr_by_rate[RTW_RF_PATH_MAX] = {0}; in rtw_phy_store_tx_power_by_rate() 1530 u8 bw, u8 rs, u8 ch, s8 pwr_limit) in rtw_phy_set_tx_power_limit() 1534 s8 ww; in rtw_phy_set_tx_power_limit() 1537 pwr_limit = clamp_t(s8, pwr_limit, in rtw_phy_set_tx_power_limit() 1552 ww = min_t(s8, ww, pwr_limit); in rtw_phy_set_tx_power_limit() 1557 ww = min_t(s8, w in rtw_phy_set_tx_power_limit() [all...] |
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/ |
H A D | eeprom.h | 24 s8 delta_bw40; 25 s8 delta_bw80; 28 s8 tssi_slope; 29 s8 tssi_offset; 30 s8 target_power; 31 s8 delta;
|
H A D | phy.c | 13 mt76x2_adjust_high_lna_gain(struct mt76x02_dev *dev, int reg, s8 offset) in mt76x2_adjust_high_lna_gain() 15 s8 gain; in mt76x2_adjust_high_lna_gain() 24 mt76x2_adjust_agc_gain(struct mt76x02_dev *dev, int reg, s8 offset) in mt76x2_adjust_agc_gain() 26 s8 gain; in mt76x2_adjust_agc_gain() 35 s8 *gain_adj = dev->cal.rx.high_gain; in mt76x2_apply_gain_adj() 122 s8 ret = 0; in mt76x2_get_min_rate_power()
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | phy.h | 314 const s8 (*delta_swingidx_6gb_n)[DELTA_SWINGIDX_SIZE]; 315 const s8 (*delta_swingidx_6gb_p)[DELTA_SWINGIDX_SIZE]; 316 const s8 (*delta_swingidx_6ga_n)[DELTA_SWINGIDX_SIZE]; 317 const s8 (*delta_swingidx_6ga_p)[DELTA_SWINGIDX_SIZE]; 318 const s8 (*delta_swingidx_5gb_n)[DELTA_SWINGIDX_SIZE]; 319 const s8 (*delta_swingidx_5gb_p)[DELTA_SWINGIDX_SIZE]; 320 const s8 (*delta_swingidx_5ga_n)[DELTA_SWINGIDX_SIZE]; 321 const s8 (*delta_swingidx_5ga_p)[DELTA_SWINGIDX_SIZE]; 322 const s8 *delta_swingidx_2gb_n; 323 const s8 *delta_swingidx_2gb_ [all...] |
H A D | core.h | 50 #define RTW89_RSSI_RAW_TO_DBM(rssi) ((s8)((rssi) >> RSSI_FACTOR) - MAX_RSSI) 760 s8 constraint; /* unit: dBm */ 778 s8 cck[RTW89_RATE_CCK_NUM]; 779 s8 ofdm[RTW89_RATE_OFDM_NUM]; 780 s8 mcs[RTW89_OFDMA_NUM][RTW89_NSS_NUM][__RTW89_RATE_MCS_NUM]; 781 s8 hedcm[RTW89_OFDMA_NUM][RTW89_NSS_HEDCM_NUM][RTW89_RATE_HEDCM_NUM]; 782 s8 offset[__RTW89_RATE_OFFSET_NUM]; 783 s8 trap; 1818 s8 record_pwr[16]; 1820 s8 pw [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64LegalizerInfo.cpp | 47 const LLT s8 = LLT::scalar(8); in AArch64LegalizerInfo() local 64 const LLT nxv16s8 = LLT::scalable_vector(16, s8); in AArch64LegalizerInfo() 75 std::initializer_list<LLT> ScalarAndPtrTypesList = {s8, s16, s32, s64, p0}; in AArch64LegalizerInfo() 97 .legalFor({p0, s8, s16, s32, s64}) in AArch64LegalizerInfo() 100 .clampScalar(0, s8, s64) in AArch64LegalizerInfo() 114 .clampMaxNumElements(0, s8, 16) in AArch64LegalizerInfo() 133 .clampMaxNumElements(0, s8, 16) in AArch64LegalizerInfo() 151 0, s8) in AArch64LegalizerInfo() 198 .lowerFor({s8, s16, s32, s64, v2s64, v4s32, v2s32}) in AArch64LegalizerInfo() 285 typeInSet(1, {s8, s16, s32}), smallerThan(1, 0))) in AArch64LegalizerInfo() [all …]
|
/freebsd/contrib/wpa/src/utils/ |
H A D | const_time.h | 142 static inline s8 const_time_select_s8(u8 mask, s8 true_val, s8 false_val) in const_time_select_s8() 144 return (s8) const_time_select(mask, (unsigned int) true_val, in const_time_select_s8()
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/ |
H A D | ed25519_ref10.c | 1120 int64_t s8; in sc25519_muladd() local 1171 s8 = c8 + a0 * b8 + a1 * b7 + a2 * b6 + a3 * b5 + a4 * b4 + a5 * b3 + in sc25519_muladd() 1209 carry8 = (s8 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd() 1211 s8 -= carry8 * ((uint64_t) 1L << 21); in sc25519_muladd() 1244 s8 += carry7; in sc25519_muladd() 1289 s8 += s20 * 666643; in sc25519_muladd() 1297 s8 += s19 * 470296; in sc25519_muladd() 1305 s8 += s18 * 654183; in sc25519_muladd() 1313 carry8 = (s8 + (int64_t) (1L << 20)) >> 21; in sc25519_muladd() 1315 s8 -= carry8 * ((uint64_t) 1L << 21); in sc25519_muladd() [all …]
|
/freebsd/tests/sys/sys/ |
H A D | qmath_test.c | 76 s8q_t s8; in ATF_TC_BODY() local 78 Q_INI(&s8, QTEST_IV, 0, QTEST_RPSHFT); in ATF_TC_BODY() 79 Q_TOSTR(s8, -1, 10, buf, sizeof(buf)); in ATF_TC_BODY() 81 ATF_CHECK_EQ(sizeof(s8) << 3, Q_NTBITS(s8)); in ATF_TC_BODY() 82 ATF_CHECK_EQ(QTEST_RPSHFT, Q_NFBITS(s8)); in ATF_TC_BODY() 83 ATF_CHECK_EQ(QTEST_INTBITS(s8), Q_NIBITS(s8)); in ATF_TC_BODY() 84 ATF_CHECK_EQ(QTEST_QITRUNC(s8, INT8_MAX), Q_IMAXVAL(s8)); in ATF_TC_BODY() 85 ATF_CHECK_EQ(-Q_IMAXVAL(s8), Q_IMINVAL(s8)); in ATF_TC_BODY()
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-eeprom-parse.c |
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVLegalizerInfo.cpp | 64 const LLT s8 = LLT::scalar(8); in SPIRVLegalizerInfo() local 111 p0, p1, p2, p3, p4, p5, p6, s1, s8, s16, in SPIRVLegalizerInfo() 122 s1, s8, s16, s32, s64, v2s1, v2s8, v2s16, v2s32, v2s64, in SPIRVLegalizerInfo() 126 auto allIntScalarsAndVectors = {s8, s16, s32, s64, v2s8, v2s16, in SPIRVLegalizerInfo() 133 auto allIntScalars = {s8, s16, s32, s64}; in SPIRVLegalizerInfo() 141 auto allFloatAndIntScalarsAndPtrs = {s8, s16, s32, s64, p0, p1, in SPIRVLegalizerInfo()
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | curve25519.c | 4635 int64_t s8 = kBottom21Bits & load_3(s + 21); in x25519_sc_reduce() local 4693 s8 += s20 * 666643; in x25519_sc_reduce() 4702 s8 += s19 * 470296; in x25519_sc_reduce() 4711 s8 += s18 * 654183; in x25519_sc_reduce() 4720 carry8 = (s8 + (1 << 20)) >> 21; in x25519_sc_reduce() 4722 s8 -= carry8 * (1 << 21); in x25519_sc_reduce() 4737 s8 += carry7; in x25519_sc_reduce() 4755 s8 -= s17 * 997805; in x25519_sc_reduce() 4764 s8 += s16 * 136657; in x25519_sc_reduce() 4773 s8 -= s15 * 683901; in x25519_sc_reduce() [all …]
|