/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ScaledNumber.h | 52 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, in getRounded() 64 inline std::pair<uint32_t, int16_t> getRounded32(uint32_t Digits, int16_t Scale, in getRounded32() 70 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale, in getRounded64() 79 inline std::pair<DigitsT, int16_t> getAdjusted(uint64_t Digits, 80 int16_t Scale = 0) { 94 inline std::pair<uint32_t, int16_t> getAdjusted32(uint64_t Digits, 95 int16_t Scale = 0) { 100 inline std::pair<uint64_t, int16_t> getAdjusted64(uint64_t Digits, 101 int16_t Scale = 0) { 108 std::pair<uint64_t, int16_t> multiply64(uint64_t LHS, uint64_t RHS); [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5112.c | 51 int16_t *power, int16_t maxPower, int16_t *retVals); 52 static int16_t getPminAndPcdacTableFromPowerTable(int16_t *pwrTableT4, 54 static int16_t getPminAndPcdacTableFromTwoPowerTables(int16_t *pwrTableLXpdT4, 55 int16_t *pwrTableHXpdT4, uint16_t retVals[], int16_t *pMid); 56 static int16_t interpolate_signed(uint16_t target, 58 int16_t targetLeft, int16_t targetRight); 345 int16_t *pPowerMin, int16_t *pPowerMax, in ar5112SetPowerTable() 354 int16_t powerMid, *pPowerMid = &powerMid; in ar5112SetPowerTable() 360 int16_t minPwr_t4, maxPwr_t4, Pmin, Pmid; in ar5112SetPowerTable() 365 int16_t pwr_table0[64]; in ar5112SetPowerTable() [all …]
|
H A D | ar2316.c | 252 GetLowerUpperIndex(int16_t v, const uint16_t *lp, uint16_t listSize, in GetLowerUpperIndex() 255 int16_t target = v; in GetLowerUpperIndex() 256 const int16_t *ep = lp+listSize; in GetLowerUpperIndex() 257 const int16_t *tp; in GetLowerUpperIndex() 278 *vlo = *vhi = tp - (const int16_t *) lp; in GetLowerUpperIndex() 286 *vlo = tp - (const int16_t *) lp; in GetLowerUpperIndex() 297 ar2316FillVpdTable(uint32_t pdGainIdx, int16_t Pmin, int16_t Pmax, in ar2316FillVpdTable() 298 const int16_t *pwrList, const int16_t *VpdList, in ar2316FillVpdTable() 302 int16_t currPwr = (int16_t)(2*Pmin); in ar2316FillVpdTable() 337 static int16_t [all …]
|
H A D | ar2317.c | 229 GetLowerUpperIndex(int16_t v, const uint16_t *lp, uint16_t listSize, in GetLowerUpperIndex() 232 int16_t target = v; in GetLowerUpperIndex() 233 const int16_t *ep = lp+listSize; in GetLowerUpperIndex() 234 const int16_t *tp; in GetLowerUpperIndex() 255 *vlo = *vhi = tp - (const int16_t *) lp; in GetLowerUpperIndex() 263 *vlo = tp - (const int16_t *) lp; in GetLowerUpperIndex() 274 ar2317FillVpdTable(uint32_t pdGainIdx, int16_t Pmin, int16_t Pmax, in ar2317FillVpdTable() 275 const int16_t *pwrList, const int16_t *VpdList, in ar2317FillVpdTable() 279 int16_t currPwr = (int16_t)(2*Pmin); in ar2317FillVpdTable() 314 static int16_t [all …]
|
H A D | ar2413.c | 246 GetLowerUpperIndex(int16_t v, const uint16_t *lp, uint16_t listSize, in GetLowerUpperIndex() 249 int16_t target = v; in GetLowerUpperIndex() 291 ar2413FillVpdTable(uint32_t pdGainIdx, int16_t Pmin, int16_t Pmax, in ar2413FillVpdTable() 292 const int16_t *pwrList, const uint16_t *VpdList, in ar2413FillVpdTable() 296 int16_t currPwr = (int16_t)(2*Pmin); in ar2413FillVpdTable() 331 static int16_t 333 int16_t targetLeft, int16_t targetRight) in interpolate_signed() 335 int16_t rv; in interpolate_signed() 354 int16_t *pMinCalPower, uint16_t pPdGainBoundaries[], in ar2413getGainBoundariesAndPdadcsForPowers() 369 int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL]; in ar2413getGainBoundariesAndPdadcsForPowers() [all …]
|
H A D | ar2425.c | 247 GetLowerUpperIndex(int16_t v, const uint16_t *lp, uint16_t listSize, in GetLowerUpperIndex() 250 int16_t target = v; in GetLowerUpperIndex() 292 ar2425FillVpdTable(uint32_t pdGainIdx, int16_t Pmin, int16_t Pmax, in ar2425FillVpdTable() 293 const int16_t *pwrList, const uint16_t *VpdList, in ar2425FillVpdTable() 298 int16_t currPwr = (int16_t)(2*Pmin); in ar2425FillVpdTable() 333 static int16_t 335 int16_t targetLeft, int16_t targetRight) in interpolate_signed() 337 int16_t rv; in interpolate_signed() 356 int16_t *pMinCalPower, uint16_t pPdGainBoundaries[], in ar2425getGainBoundariesAndPdadcsForPowers() 374 static int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL]; in ar2425getGainBoundariesAndPdadcsForPowers() [all …]
|
H A D | ar5413.c | 288 GetLowerUpperIndex(int16_t v, const uint16_t *lp, uint16_t listSize, in GetLowerUpperIndex() 291 int16_t target = v; in GetLowerUpperIndex() 333 ar5413FillVpdTable(uint32_t pdGainIdx, int16_t Pmin, int16_t Pmax, in ar5413FillVpdTable() 334 const int16_t *pwrList, const uint16_t *VpdList, in ar5413FillVpdTable() 339 int16_t currPwr = (int16_t)(2*Pmin); in ar5413FillVpdTable() 374 static int16_t 376 int16_t targetLeft, int16_t targetRight) in interpolate_signed() 378 int16_t rv; in interpolate_signed() 397 int16_t *pMinCalPower, uint16_t pPdGainBoundaries[], in ar5413getGainBoundariesAndPdadcsForPowers() 412 int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL]; in ar5413getGainBoundariesAndPdadcsForPowers() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah_eeprom_v3.h | 172 int16_t PwrValues[64]; 182 int16_t PwrValues[NUM_PCDAC_VALUES]; 236 int16_t pwr_t4[NUM_POINTS_XPD0]; /* or gainF */ 241 int16_t maxPower_t4; 255 int16_t pwr1_xg0; 257 int16_t pwr2_xg0; 259 int16_t pwr3_xg0; 261 int16_t pwr4_xg0; 262 int16_t maxPower_t4; 263 int16_t pwr1_xg3; /* pcdac = 20 */ [all …]
|
/freebsd/contrib/ntp/include/ |
H A D | mbg_gps166.h | 117 int16_t handshake; ///< handshake mode, yet only ::HS_NONE supported 405 int16_t year; ///< year number, 0..9999 408 int16_t yday; ///< day of year, 1..365, or 366 in case of leap year 491 int16_t channel; ///< -1: the current on-board time; >= 0 the capture channel number 631 int16_t freq; ///< four digits used; scale: 0.1 Hz; e.g. 1234 -> 123.4 Hz 632 int16_t range; ///< scale factor for freq; 0..::MAX_SYNTH_RANGE 633 int16_t phase; ///< -::MAX_SYNTH_PHASE..+::MAX_SYNTH_PHASE; >0 -> pulses later 751 int16_t status; ///< current status of antenna, see ::ANT_STATUS_CODES 778 int16_t valid; ///< flag data are valid 832 int16_t valid; ///< Flag indicating %UTC parameters are valid [all …]
|
/freebsd/sys/dev/evdev/ |
H A D | input.h | 183 int16_t level; 188 int16_t start_level; 189 int16_t end_level; 199 int16_t right_coeff; 200 int16_t left_coeff; 203 int16_t center; /* center of dead zone */ 223 int16_t magnitude; /* peak */ 224 int16_t offset; /* mean, roughly */ 228 int16_t *custom_data; /* FF_CUSTOM waveform only */ 254 int16_t id;
|
/freebsd/sys/contrib/xen/ |
H A D | grant_table.h | 350 int16_t status; /* => enum grant_status */ 374 int16_t status; /* => enum grant_status */ 393 int16_t status; /* => enum grant_status */ 411 int16_t status; /* => enum grant_status */ 431 int16_t status; 473 int16_t status; 491 int16_t status; /* => enum grant_status */ 513 int16_t status; /* => enum grant_status */ 550 int16_t status; /* => enum grant_status */ 578 int16_t status; /* => enum grant_status */
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | admin.h | 108 int16_t key_data_ver; /* Version */ 109 int16_t key_data_kvno; /* Key Version */ 110 int16_t key_data_type[2]; /* Array of types */ 111 int16_t key_data_length[2]; /* Array of lengths */ 117 int16_t tl_data_type; 118 int16_t tl_data_length; 153 int16_t n_key_data; 154 int16_t n_tl_data;
|
/freebsd/sys/dev/ath/ath_hal/ar9002/ |
H A D | ar9285_reset.c | 56 const struct ieee80211_channel *chan, int16_t *ratesArray, 63 int16_t *pTxPowerIndexOffset); 67 uint16_t tPdGainOverlap, int16_t *pMinCalPower, 80 int16_t txPowerIndexOffset = 0; in ar9285SetTransmitPower() 87 int16_t maxPower; in ar9285SetTransmitPower() 141 AH5416(ah)->ah_ratesArray[i] = (int16_t)(txPowerIndexOffset + AH5416(ah)->ah_ratesArray[i]); in ar9285SetTransmitPower() 398 int16_t *ratesArray, uint16_t cfgCtl, in ar9285SetPowerPerRateTable() 411 int16_t twiceLargestAntenna; in ar9285SetPowerPerRateTable() 416 int16_t scaledPower, minCtlPower; in ar9285SetPowerPerRateTable() 431 twiceLargestAntenna = (int16_t)AH_MIN((AntennaReduction) - twiceLargestAntenna, 0); in ar9285SetPowerPerRateTable() [all …]
|
H A D | ar9280.c | 42 const struct ieee80211_channel *, int16_t *maxPow,int16_t *minPow); 43 int16_t ar9280GetNfAdjust(struct ath_hal *ah, const HAL_CHANNEL_INTERNAL *c); 245 ar9280SetPowerTable(struct ath_hal *ah, int16_t *pPowerMin, int16_t *pPowerMax, in ar9280SetPowerTable() 252 static int16_t 256 int16_t minGain,minPwr,minPcdac,retVal; 282 int16_t *maxPow, int16_t *minPow) in ar9280GetChannelMaxMinPower() 353 ar9280GetNoiseFloor(struct ath_hal *ah, int16_t nfarray[]) in ar9280GetNoiseFloor() 355 int16_t nf; in ar9280GetNoiseFloor() 395 int16_t
|
H A D | ar9287.c | 42 const struct ieee80211_channel *, int16_t *maxPow,int16_t *minPow); 43 int16_t ar9287GetNfAdjust(struct ath_hal *ah, const HAL_CHANNEL_INTERNAL *c); 187 ar9287SetPowerTable(struct ath_hal *ah, int16_t *pPowerMin, int16_t *pPowerMax, in ar9287SetPowerTable() 194 static int16_t 198 int16_t minGain,minPwr,minPcdac,retVal; 224 int16_t *maxPow, int16_t *minPow) in ar9287GetChannelMaxMinPower() 295 ar9287GetNoiseFloor(struct ath_hal *ah, int16_t nfarray[]) in ar9287GetNoiseFloor() 297 int16_t nf; in ar9287GetNoiseFloor() 337 int16_t
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_acl.h | 35 int16_t ae_tag; 36 int16_t ae_perm; 41 int16_t ae_tag; 42 int16_t ae_perm;
|
/freebsd/sys/gnu/dev/bwn/phy_n/ |
H A D | if_bwn_phy_n_sprom.h | 45 int16_t pa_2g[3]; 46 int16_t pa_5gl[4]; 47 int16_t pa_5g[4]; 48 int16_t pa_5gh[4];
|
/freebsd/sys/dev/bwi/ |
H A D | bwiphy.h | 43 int16_t tbl_gain1; 44 int16_t tbl_gain2; 45 int16_t phy_gain; 55 int16_t bwi_nrssi_read(struct bwi_mac *, uint16_t); 56 void bwi_nrssi_write(struct bwi_mac *, uint16_t, int16_t);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
H A D | endian_test.cpp | 64 int16_t original_int16 = static_cast<int16_t>(value); in TEST() 79 original_int16 = static_cast<int16_t>(value); in TEST() 116 EXPECT_EQ(int16_t(0x1122), getSwappedBytes(int16_t(0x2211))); in TEST() 159 int16_t value = 0x2211; in TEST() 161 EXPECT_EQ(int16_t(0x1122), value); in TEST()
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/arithmetic/ |
H A D | tst.compcast.d | 30 x = (int32_t)(int16_t)0xfff0; 34 x = (uint32_t)(int16_t)0xfff0; 40 x = (int16_t)(int32_t)0xfff0; 42 x = (int16_t)(uint32_t)0xfff0;
|
H A D | tst.execcast.d | 32 x = (int32_t)(int16_t)z; 36 x = (uint32_t)(int16_t)z; 42 x = (int16_t)(int32_t)z; 44 x = (int16_t)(uint32_t)z;
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_leapsec.h | 70 int16_t taiof; /* offset to TAI in this era */ 98 int16_t tai_offs; 99 int16_t tai_diff; 100 int16_t warped; 118 int16_t taiof; /* total offset to TAI */
|
/freebsd/sys/arm/ti/ |
H A D | ti_edma3.h | 61 int16_t srcbidx; /* Source B Index */ 62 int16_t dstbidx; /* Destination B Index */ 65 int16_t srccidx; /* Source C Index */ 66 int16_t dstcidx; /* Destination C Index */
|
/freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/ |
H A D | hlsl_basic_types.h | 25 typedef short int16_t; typedef 38 typedef vector<int16_t, 2> int16_t2; 39 typedef vector<int16_t, 3> int16_t3; 40 typedef vector<int16_t, 4> int16_t4;
|
/freebsd/sys/ufs/ufs/ |
H A D | dir.h | 129 int16_t dot_reclen; 134 int16_t dotdot_reclen; 145 int16_t dot_reclen; 149 int16_t dotdot_reclen;
|