| /linux/drivers/media/dvb-frontends/ |
| H A D | stv0900_init.h | 21 { -30, 13348 }, /*C/N=-3dB*/ 22 { -20, 12640 }, /*C/N=-2dB*/ 23 { -10, 11883 }, /*C/N=-1dB*/ 24 { 0, 11101 }, /*C/N=-0dB*/ 25 { 5, 10718 }, /*C/N=0.5dB*/ 26 { 10, 10339 }, /*C/N=1.0dB*/ 27 { 15, 9947 }, /*C/N=1.5dB*/ 28 { 20, 9552 }, /*C/N=2.0dB*/ 29 { 25, 9183 }, /*C/N=2.5dB*/ 30 { 30, 8799 }, /*C/N=3.0dB*/ [all …]
|
| H A D | dib0090.c | 133 s16 wbd_target; /* in dB */ 315 … if (cfg->sleep) cfg->sleep(fe, 0); msleep(10); cfg->reset(fe, 1); msleep(10); cfg->reset(fe, 0)… 521 …dib0090_write_reg(state, 0x20, ((cfg->io.adc_clock_ratio - 1) << 11) | (0 << 10) | (1 << 9) | (1 <… in dib0090_reset_digital() 523 …dib0090_write_reg(state, 0x23, (0 << 15) | ((!cfg->analog_output) << 14) | (2 << 10) | (1 << 9) | … in dib0090_reset_digital() 526 …dib0090_write_reg(state, 0x23, (0 << 15) | ((!cfg->analog_output) << 14) | (2 << 10) | (1 << 9) | … in dib0090_reset_digital() 590 …((cfg->io.adc_clock_ratio - 1) << 11) | (0 << 10) | (1 << 9) | (1 << 8) | (cfg->data_tx_drv << 4) … in dib0090_fw_reset_digital() 598 v |= 2 << 10; in dib0090_fw_reset_digital() 680 550, /* max BB gain in 10th of dB */ 681 (1<<9) | 8, /* ramp_slope = 1dB of gain -> clock_ticks_per_db = clk_khz / ramp_slope -> BB_RAMP2 */ 683 (4 << 9) | 0, /* BB_RAMP3 = 26dB */ [all …]
|
| H A D | stv0910.c | 213 { 0, 9242 }, /* C/N= 0dB */ 214 { 5, 9105 }, /* C/N= 0.5dB */ 215 { 10, 8950 }, /* C/N= 1.0dB */ 216 { 15, 8780 }, /* C/N= 1.5dB */ 217 { 20, 8566 }, /* C/N= 2.0dB */ 218 { 25, 8366 }, /* C/N= 2.5dB */ 219 { 30, 8146 }, /* C/N= 3.0dB */ 220 { 35, 7908 }, /* C/N= 3.5dB */ 221 { 40, 7666 }, /* C/N= 4.0dB */ 222 { 45, 7405 }, /* C/N= 4.5dB */ [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-utils.c | 86 static u32 iwl_div_by_db(u32 value, u8 db) in iwl_div_by_db() argument 89 * 2^32 * 10**(i / 10) for i = [1, 10], skipping 0 and simply stopping in iwl_div_by_db() 90 * at 10 dB and looping instead of using a much larger table. in iwl_div_by_db() 100 while (value && db > 0) { in iwl_div_by_db() 101 u8 change = min_t(u8, db, ARRAY_SIZE(db_to_val)); in iwl_div_by_db() 105 db -= change; in iwl_div_by_db() 122 * dB (dBm) values is a bit annoying though due to the large range of in iwl_average_neg_dbm() 123 * at least -10 to -110 dBm that will not fit into a 32 bit integer. in iwl_average_neg_dbm() 133 * (1/2^16 is somewhere around -48 dB, so effectively zero). in iwl_average_neg_dbm() 136 * sum = sum_factor / 2^16 * 10^(sum_magnitude / 10) mW in iwl_average_neg_dbm() [all …]
|
| /linux/sound/i2c/other/ |
| H A D | pt2258.c | 24 0x80, 0x90, /* channel 1: -10dB, -1dB */ 25 0x40, 0x50, /* channel 2: -10dB, -1dB */ 26 0x00, 0x10, /* channel 3: -10dB, -1dB */ 27 0x20, 0x30, /* channel 4: -10dB, -1dB */ 28 0x60, 0x70, /* channel 5: -10dB, -1dB */ 29 0xa0, 0xb0 /* channel 6: -10dB, -1dB */ 52 /* set all channels to 0dB */ in snd_pt2258_reset() 108 bytes[0] = pt2258_channel_code[2 * base] | (val0 / 10); in pt2258_stereo_volume_put() 109 bytes[1] = pt2258_channel_code[2 * base + 1] | (val0 % 10); in pt2258_stereo_volume_put() 116 bytes[0] = pt2258_channel_code[2 * base + 2] | (val1 / 10); in pt2258_stereo_volume_put() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| H A D | dm.c | 17 0x081, /* 0, -12.0dB */ 18 0x088, /* 1, -11.5dB */ 19 0x090, /* 2, -11.0dB */ 20 0x099, /* 3, -10.5dB */ 21 0x0A2, /* 4, -10.0dB */ 22 0x0AC, /* 5, -9.5dB */ 23 0x0B6, /* 6, -9.0dB */ 24 0x0C0, /* 7, -8.5dB */ 25 0x0CC, /* 8, -8.0dB */ 26 0x0D8, /* 9, -7.5dB */ [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
| H A D | dm_common.c | 13 0x7f8001fe, /* 0, +6.0dB */ 14 0x788001e2, /* 1, +5.5dB */ 15 0x71c001c7, /* 2, +5.0dB */ 16 0x6b8001ae, /* 3, +4.5dB */ 17 0x65400195, /* 4, +4.0dB */ 18 0x5fc0017f, /* 5, +3.5dB */ 19 0x5a400169, /* 6, +3.0dB */ 20 0x55400155, /* 7, +2.5dB */ 21 0x50800142, /* 8, +2.0dB */ 22 0x4c000130, /* 9, +1.5dB */ [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| H A D | dm.c | 18 0x0b40002d, /* 0, -15.0dB */ 19 0x0c000030, /* 1, -14.5dB */ 20 0x0cc00033, /* 2, -14.0dB */ 21 0x0d800036, /* 3, -13.5dB */ 22 0x0e400039, /* 4, -13.0dB */ 23 0x0f00003c, /* 5, -12.5dB */ 24 0x10000040, /* 6, -12.0dB */ 25 0x11000044, /* 7, -11.5dB */ 26 0x12000048, /* 8, -11.0dB */ 27 0x1300004c, /* 9, -10.5dB */ [all …]
|
| /linux/sound/soc/atmel/ |
| H A D | atmel-pdmic.c | 227 /* range from -90 dB to 90 dB */ 229 { 1, 15}, { 1, 14}, /* -90, -84 dB */ 230 { 3, 15}, { 1, 13}, { 3, 14}, { 1, 12}, /* -81, -78, -75, -72 dB */ 231 { 5, 14}, { 13, 15}, /* -70, -68 dB */ 232 { 9, 14}, { 21, 15}, { 23, 15}, { 13, 14}, /* -65 ~ -62 dB */ 233 { 29, 15}, { 33, 15}, { 37, 15}, { 41, 15}, /* -61 ~ -58 dB */ 234 { 23, 14}, { 13, 13}, { 58, 15}, { 65, 15}, /* -57 ~ -54 dB */ 235 { 73, 15}, { 41, 14}, { 23, 13}, { 13, 12}, /* -53 ~ -50 dB */ 236 { 29, 13}, { 65, 14}, { 73, 14}, { 41, 13}, /* -49 ~ -46 dB */ [all...] |
| /linux/sound/aoa/codecs/ |
| H A D | tas-basstreble.h | 17 150, /* -18 dB */ 53 114, /* 0 dB */ 86 10, 89 1, /* +18 dB */ 103 2, /* 7 dB, offset 50 */ 120 10, 125 1, /* 18 dB */
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | eeprom.h | 53 #define AR5K_EEPROM_VERSION_3_1 0x3001 /* ob/db values for 2GHz (ar5211_rfregs) */ 109 #define AR5K_EEPROM_ART_BUILD_NUM(_v) (((_v) >> 10) & 0x3f) 122 #define AR5K_EEPROM_MAX_QCU(_v) (((_v) >> 4) & 0xf) /* max number of QCUs. defaults to 10 */ 126 #define AR5K_EEPROM_MISC6 AR5K_EEPROM_INFO(10) 133 #define AR5K_EEPROM_JAP_U1ODD_EN (((_v) >> 10) & 0x1) /* Japan UNII2 band (5.15-5.25GHz) on odd cha… 182 #define AR5K_EEPROM_EEP_DELTA 10 184 #define AR5K_EEPROM_N_5GHZ_CHAN 10 189 #define AR5K_EEPROM_MAX_CHAN 10 206 #define AR5K_EEPROM_SCALE_OC_DELTA(_x) (((_x) * 2) / 10) 223 #define AR5K_EEPROM_I_GAIN 10 [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| H A D | dm.c | 16 0x7f8001fe, /* 0, +6.0dB */ 17 0x788001e2, /* 1, +5.5dB */ 18 0x71c001c7, /* 2, +5.0dB */ 19 0x6b8001ae, /* 3, +4.5dB */ 20 0x65400195, /* 4, +4.0dB */ 21 0x5fc0017f, /* 5, +3.5dB */ 22 0x5a400169, /* 6, +3.0dB */ 23 0x55400155, /* 7, +2.5dB */ 24 0x50800142, /* 8, +2.0dB */ 25 0x4c000130, /* 9, +1.5dB */ [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | es83xx-dsm-common.h | 159 #define LINEIN_GAIN_0db 0x00 /* gain = 0db */ 160 #define LINEIN_GAIN_3db 0x01 /* gain = +3db */ 161 #define LINEIN_GAIN_6db 0x02 /* gain = +6db */ 162 #define LINEIN_GAIN_9db 0x03 /* gain = +9db */ 163 #define LINEIN_GAIN_12db 0x04 /* gain = +12db */ 164 #define LINEIN_GAIN_15db 0x05 /* gain = +15db */ 165 #define LINEIN_GAIN_18db 0x06 /* gain = +18db */ 166 #define LINEIN_GAIN_21db 0x07 /* gain = +21db */ 167 #define LINEIN_GAIN_24db 0x08 /* gain = +24db */ 168 #define LINEIN_GAIN_27db 0x09 /* gain = +27db */ [all …]
|
| H A D | rt5631.h | 159 #define RT5631_M_MONO_IN_P_TO_OUTMIXER_L (0x1 << 10) 160 #define RT5631_M_MONO_INP_OUTMIXL_BIT 10 179 #define RT5631_M_MONO_IN_N_TO_OUTMIXER_R (0x1 << 10) 180 #define RT5631_M_MONO_INN_OUTMIXR_BIT 10 318 #define RT5631_M_OUTVOL_R_TO_MONOMIXER (0x1 << 10) 319 #define RT5631_M_OUTVOLR_MONOMIX_BIT 10 328 #define RT5631_SPK_R_MUX_SEL_MASK (0x3 << 10) 329 #define RT5631_SPK_R_MUX_SEL_SPKMIXER_R (0x0 << 10) 330 #define RT5631_SPK_R_MUX_SEL_MONO_IN (0x1 << 10) 331 #define RT5631_SPK_R_MUX_SEL_DAC_R (0x3 << 10) [all …]
|
| H A D | tlv320adcx140.c | 198 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */ 201 /* ADC gain. From 0 to 42 dB in 1 dB steps */ 204 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */ 206 /* DRE Max Gain. From 2 dB to 26 dB in 2 dB step [all...] |
| /linux/drivers/usb/gadget/function/ |
| H A D | u_uac1.h | 22 #define UAC1_DEF_INT_REQ_NUM 10 26 #define UAC1_DEF_MIN_DB (-100*256) /* -100 dB */ 27 #define UAC1_DEF_MAX_DB 0 /* 0 dB */ 28 #define UAC1_DEF_RES_DB (1*256) /* 1 dB */
|
| H A D | u_uac2.h | 31 #define UAC2_DEF_MIN_DB (-100*256) /* -100 dB */ 32 #define UAC2_DEF_MAX_DB 0 /* 0 dB */ 33 #define UAC2_DEF_RES_DB (1*256) /* 1 dB */ 36 #define UAC2_DEF_INT_REQ_NUM 10
|
| /linux/sound/usb/ |
| H A D | mixer_maps.c | 18 const struct usbmix_dB_map *dB; member 49 Mic-IN[9] --+->FU[10]----------------------------+ | 66 { 10, "Mic Playback" }, /* FU */ 113 /* { 10, "Mic Capture", 1 }, */ /* FU, Mic Capture */ 114 { 10, /* "Mic Capture", */ NULL, 2, .dB = &mp3plus_dB_2 }, 116 { 10, "Mic Boost", 7 }, /* FU, default Auto Gain Input */ 117 { 11, "Line Capture", .dB = &mp3plus_dB_2 }, 120 { 13, /* "Mic Playback", */ .dB = &mp3plus_dB_1 }, 122 { 14, "Line Playback", .dB = &mp3plus_dB_1 }, /* FU, default Speaker */ 229 { 10, "Line Capture" }, /* FU */ [all …]
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965.h | 312 * regulatory limit by 3 dB (half-power) for each transmitter, so the 320 * Backoff values below are in 1/2 dB units (equivalent to steps in 323 * OFDM 6 - 36 MBit: 10 steps (5 dB) 324 * OFDM 48 MBit: 15 steps (7.5 dB) 325 * OFDM 54 MBit: 17 steps (8.5 dB) 326 * OFDM 60 MBit: 20 steps (10 dB) 327 * CCK all rates: 10 steps (5 dB) 388 * txpower is reached. Each step in the gain table is 1/2 dB. 392 * by 3 dB. 405 * 2.4 GHz all channels: 3.5 degrees per half-dB step [all …]
|
| /linux/tools/perf/scripts/python/ |
| H A D | task-analyzer.py | 8 # perf record -e sched:sched_switch -a -- sleep 10 45 LEN_RUNTIME = len("999999.999") # 10 189 global db 190 db = dict() 191 db["running"] = dict() 192 db["cpu"] = dict() 193 db["tid"] = dict() 194 db["global"] = [] 196 db["task_info"] = dict() 197 db["runtime_info"] = dict() [all …]
|
| H A D | export-to-sqlite.py | 57 # sqlite> select * from samples_view where id < 10; 59 # sqlite> select * from samples_view where id < 10; 156 db = QSqlDatabase.addDatabase('QSQLITE') variable 157 db.setDatabaseName(dbname) 158 db.open() 160 query = QSqlQuery(db) 572 evsel_query = QSqlQuery(db) 574 machine_query = QSqlQuery(db) 576 thread_query = QSqlQuery(db) 578 comm_query = QSqlQuery(db) [all …]
|
| /linux/drivers/iio/test/ |
| H A D | iio-test-format.c | 56 values[1] = 10; in iio_test_iio_format_value_fixedpoint() 62 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "1.000010 dB\n"); in iio_test_iio_format_value_fixedpoint() 75 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "0.000012 dB\n"); in iio_test_iio_format_value_fixedpoint() 82 values[1] = 10; in iio_test_iio_format_value_fixedpoint() 88 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-1.000010 dB\n"); in iio_test_iio_format_value_fixedpoint() 100 IIO_TEST_FORMAT_EXPECT_EQ(test, buf, ret, "-0.000123 dB\n"); in iio_test_iio_format_value_fixedpoint() 117 values[1] = 10; in iio_test_iio_format_value_fractional() 141 values[1] = -10; in iio_test_iio_format_value_fractional() 157 values[1] = 10; in iio_test_iio_format_value_fractional_log2() 163 values[1] = 10; in iio_test_iio_format_value_fractional_log2() [all …]
|
| /linux/drivers/net/ethernet/tehuti/ |
| H A D | tehuti.c | 30 * skb db - used to keep track of all skbs owned by SW and their dma addresses. 33 * skb db. Implemented as array with bitmask. 35 * usage and skb db. Each RXD and RXF Fifo has its own fifo structure. 398 /* 10G overall max length (vlan, eth&ip header, ip payload, crc) */ in bdx_hw_start() 465 for (i = 0; i < 70; i++, mdelay(10)) in bdx_hw_reset_direct() 489 for (i = 0; i < 70; i++, mdelay(10)) in bdx_hw_reset() 516 mdelay(10); in bdx_sw_reset() 536 /* 10. unseet port disable */ in bdx_sw_reset() 914 * Rx DB * 917 static void bdx_rxdb_destroy(struct rxdb *db) in bdx_rxdb_destroy() argument [all …]
|
| /linux/include/sound/ |
| H A D | tas2563-tlv.h | 20 /* pow(10, db/20) * pow(2,30) */ 22 { 0X00, 0X00, 0X00, 0X00 }, /* -121.5db */ 23 { 0X00, 0X00, 0X03, 0XBC }, /* -121.0db */ 24 { 0X00, 0X00, 0X03, 0XF5 }, /* -120.5db */ 25 { 0X00, 0X00, 0X04, 0X31 }, /* -120.0db */ 26 { 0X00, 0X00, 0X04, 0X71 }, /* -119.5db */ 27 { 0X00, 0X00, 0X04, 0XB4 }, /* -119.0db */ 28 { 0X00, 0X00, 0X04, 0XFC }, /* -118.5db */ 29 { 0X00, 0X00, 0X05, 0X47 }, /* -118.0db */ 30 { 0X00, 0X00, 0X05, 0X97 }, /* -117.5db */ [all …]
|
| /linux/arch/sparc/math-emu/ |
| H A D | math_64.c | 182 FP_DECL_D(DA); FP_DECL_D(DB); FP_DECL_D(DR); in do_mathemu() 273 XR = current_thread_info()->xfsr[0] >> 10; in do_mathemu() 275 XR = current_thread_info()->xfsr[0] >> (30 + ((insn >> 10) & 0x6)); in do_mathemu() 336 switch ((insn >> 10) & 3) { in do_mathemu() 341 if ((insn >> 10) & 4) in do_mathemu() 406 case 6: FP_UNPACK_DP (DB, rs2); break; in do_mathemu() 434 case FADDD: FP_ADD_D (DR, DA, DB); break; in do_mathemu() 438 case FSUBD: FP_SUB_D (DR, DA, DB); break; in do_mathemu() 443 FP_CONV (D, S, 1, 1, DB, SB); in do_mathemu() 444 case FMULD: FP_MUL_D (DR, DA, DB); break; in do_mathemu() [all …]
|