| /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 | max9759.c | 39 /* From 6dB to 24dB in steps of 6dB */ 55 {true, true}, /* +6dB */ 56 {false, true}, /* +12dB */ 57 {true, false}, /* +18dB */ 58 {false, false}, /* +24dB */ [all...] |
| H A D | inno_rk3036.h | 29 #define INNO_R00_PRB_DISABLE (0x0 << 6) /*power reset bypass*/ 30 #define INNO_R00_PRB_ENABLE (0x1 << 6) 90 /* Gain of output, 1.5db step: -39db(0x0) ~ 0db(0x1a) ~ 6db(0x1f) */ 101 #define INNO_R09_DACR_SWITCH_SHIFT 6
|
| H A D | twl6040.c | 340 * from -6 to 0 dB in 6 dB steps 346 * from 6 to 30 dB in 6 dB steps 352 * from -18 to 24 dB in 6 d [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/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/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/drivers/iio/amplifiers/ |
| H A D | Kconfig | 21 ADRF5702: 0.125 dB LSB, 8-Bit, Silicon Digital Attenuator 22 ADRF5703: 0.25 dB LSB, 7-Bit, Silicon Digital Attenuator 23 ADRF5720: 0.5 dB LSB, 6-Bit, Silicon Digital Attenuator 24 ADRF5730: 0.5 dB LSB, 6-Bit, Silicon Digital Attenuator 25 ADRF5731: 2 dB LSB, 4-Bit, Silicon Digital Attenuator 26 HMC271A: 1dB LSB 5-Bit Digital Attenuator SMT 27 HMC792A 0.25 dB LSB GaAs MMIC 6-Bit Digital Attenuator 28 HMC1018A: 1.0 dB LSB GaAs MMIC 5-BIT Digital Attenuator 29 HMC1019A: 0.5 dB LSB GaAs MMIC 5-BIT Digital Attenuator 30 HMC1119 0.25 dB LSB, 7-Bit, Silicon Digital Attenuator
|
| H A D | ad8366.c | 8 * ADRF5702: 0.125 dB LSB, 8-Bit, Silicon Digital Attenuator, 50 MHz to 20 GHz 9 * ADRF5703: 0.25 dB LSB, 7-Bit, Silicon Digital Attenuator, 9 kHz to 20 GHz 10 * ADRF5720: 0.5 dB LSB, 6-Bit, Silicon Digital Attenuator, 9 kHz to 40 GHz 11 * ADRF5730: 0.5 dB LSB, 6-Bit, Silicon Digital Attenuator, 100 MHz to 40 GHz 12 * ADRF5731: 2 dB LSB, 4-Bit, Silicon Digital Attenuator, 100 MHz to 40 GHz 13 * HMC271A: 1dB LSB 5-Bit Digital Attenuator SMT, 0.7 - 3.7 GHz 14 * HMC792A 0.25 dB LSB GaAs MMIC 6-Bit Digital Attenuator 15 * HMC1018A: 1.0 dB LSB GaAs MMIC 5-BIT DIGITAL ATTENUATOR, 0.1 - 30 GHz 16 * HMC1019A: 0.5 dB LSB GaAs MMIC 5-BIT DIGITAL ATTENUATOR, 0.1 - 30 GHz 17 * HMC1119 0.25 dB LSB, 7-Bit, Silicon Digital Attenuator [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/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/drivers/media/dvb-frontends/ |
| H A D | dib0090.c | 133 s16 wbd_target; /* in dB */ 318 #define WBD_ALPHA 6 533 …if ((PllCfg & 0x1FFF) != ((cfg->io.pll_range << 12) | (cfg->io.pll_loopdiv << 6) | (cfg->io.pll_pr… in dib0090_reset_digital() 545 …PllCfg = (1 << 15) | (0 << 13) | (cfg->io.pll_range << 12) | (cfg->io.pll_loopdiv << 6) | (cfg->io… in dib0090_reset_digital() 605 …if ((PllCfg & 0x1FFF) != ((cfg->io.pll_range << 12) | (cfg->io.pll_loopdiv << 6) | (cfg->io.pll_pr… in dib0090_fw_reset_digital() 616 …PllCfg = (1 << 15) | (0 << 13) | (cfg->io.pll_range << 12) | (cfg->io.pll_loopdiv << 6) | (cfg->io… 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 */ 685 (4 << 9) | 208, /* BB_RAMP5 = 29dB */ [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | tda7432.c | 23 * maxvol - set maximum volume to +20db (1), default is 0db(0) 57 MODULE_PARM_DESC(maxvol, "Set maximum volume to +20dB(0) else +0dB(1). Default is +20dB(0)."); 138 /* Lower 7 bits control volume from -79dB to +32dB in 1dB steps 139 * Recommended maximum is +20 dB 141 * +32dB: 0x00 142 * +20dB: 0x0c 143 * 0dB: 0x20 144 * -79dB: 0x6f 155 /* Bits 0,1,2 control absolute treble gain from 0dB to 14dB 156 * 0x0 is 14dB, 0x7 is 0dB [all …]
|
| /linux/sound/pci/ice1712/ |
| H A D | wm8776.h | 35 #define WM8776_DAC_PL_RL (1 << 6) /* R chan: L signal */ 36 #define WM8776_DAC_PL_RR (2 << 6) /* R chan: R signal */ 37 #define WM8776_DAC_PL_RB (3 << 6) /* R chan: both */ 59 #define WM8776_FMT_ADCMCLK_INVERTED (1 << 6) 80 #define WM8776_PWR_AINPD (1 << 6) 86 #define WM8776_ALC1_LCT_MASK 0x0f /* 0=-16dB, 1=-15dB..15=-1dB */ 87 #define WM8776_ALC1_MAXGAIN_MASK 0x70 /* 0,1=0dB, 2=+4dB...7=+24dB */ 103 #define WM8776_NGAT_THR_MASK 0x1c /*0=-78dB, 1=-72dB...7=-36dB */ 113 #define WM8776_ADC_MUTER (1 << 6)
|
| /linux/drivers/net/ethernet/davicom/ |
| H A D | dm9000.c | 57 MODULE_PARM_DESC(debug, "dm9000 debug level (0-6)"); 141 #define dm9000_dbg(db, lev, msg...) do { \ argument 143 dev_dbg(db->dev, msg); \ 158 ior(struct board_info *db, int reg) in ior() argument 160 writeb(reg, db->io_addr); in ior() 161 return readb(db->io_data); in ior() 169 iow(struct board_info *db, int reg, int value) in iow() argument 171 writeb(reg, db->io_addr); in iow() 172 writeb(value, db->io_data); in iow() 176 dm9000_reset(struct board_info *db) in dm9000_reset() argument [all …]
|
| /linux/sound/aoa/codecs/ |
| H A D | onyx.h | 15 * -1 (0dB) to -127 (-63.0 dB) or others (muted) */ 22 # define ONYX_SRST (1<<6) 29 # define ONYX_OVR1 (1<<6) 47 /* 8 + input gain in dB, valid range for input gain is -4 .. 20 dB */ 67 # define ONYX_VALIDR (1<<6)
|
| H A D | tas-gain-table.h | 13 printf(" * hwvalue = 1048576.0*exp(0.057564628*dB*2)\n"); 16 printf(" 0x000000, /" "* -infinity dB *" "/\n"); 18 printf(" 0x%.6x, /" "* %-02.1f dB *" "/\n", (int)(1048576.0*exp(0.057564628*dB2)), dB2/2.0); 28 * hwvalue = 1048576.0*exp(0.057564628*dB*2) 31 0x000000, /* -infinity dB */ 32 0x00014b, /* -70.0 dB */ 33 0x00015f, /* -69.5 dB */ 34 0x000174, /* -69.0 dB */ 35 0x00018a, /* -68.5 dB */ 36 0x0001a1, /* -68.0 dB */ [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() 53 for (i = 0; i < 6; ++i) in snd_pt2258_reset()
|
| /linux/arch/m68k/include/asm/ |
| H A D | atarihw.h | 161 #define TT_HIGH 6 627 #define ACIA_D8E1S (6<<2) /* 8 data, even parity, 1 stop */ 647 #define ACIA_PE (1<<6) /* Parity Error */ 753 #define MW_LM1992_VOLUME(dB) \ argument 754 (0x0c0 | ((dB) < -80 ? 0 : (dB) > 0 ? 40 : (((dB) + 80) / 2))) 755 #define MW_LM1992_BALLEFT(dB) \ argument 756 (0x140 | ((dB) < -40 ? 0 : (dB) > 0 ? 20 : (((dB) + 40) / 2))) 757 #define MW_LM1992_BALRIGHT(dB) \ argument 758 (0x100 | ((dB) < -40 ? 0 : (dB) > 0 ? 20 : (((dB) + 40) / 2))) 759 #define MW_LM1992_TREBLE(dB) \ argument [all …]
|
| /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) */ 104 #define AR5K_EEPROM_MISC2 AR5K_EEPROM_INFO(6) 129 #define AR5K_EEPROM_FCC_MID_EN (((_v) >> 6) & 0x1) /* 5.47-5.7GHz supported */ 222 #define AR5K_EEPROM_N_POWER_LOC_11G 6 266 AR5K_CTL_5GHT20 = 6, 289 * level curves in 0.25dB units */ 303 * power levels in 0.5dB units */ 320 * 0.25dB units */ 343 * Note: Values in 0.5dB units */ 346 /* Power level for 6-24Mbit/s rates or [all …]
|
| /linux/arch/sparc/math-emu/ |
| H A D | math_32.c | 282 …mmy, r, ru, b, bu, a, au) type = (au << 2) | (a << 0) | (bu << 5) | (b << 3) | (ru << 8) | (r << 6) in do_one_mathemu() 287 FP_DECL_D(DA); FP_DECL_D(DB); FP_DECL_D(DR); in do_one_mathemu() 359 *pfsr |= (6 << 14); in do_one_mathemu() 365 *pfsr |= (6 << 14); in do_one_mathemu() 372 case 6: FP_UNPACK_DP (DA, rs1); break; in do_one_mathemu() 380 *pfsr |= (6 << 14); in do_one_mathemu() 386 *pfsr |= (6 << 14); in do_one_mathemu() 393 case 6: FP_UNPACK_DP (DB, rs2); break; in do_one_mathemu() 397 switch ((type >> 6) & 0x3) { /* and finally rd. This one's a bit different */ in do_one_mathemu() 401 *pfsr |= (6 << 14); /* (should probably flag as invalid opcode */ in do_one_mathemu() [all …]
|
| H A D | math_64.c | 176 …, bu, a, au) type = (au << 2) | (a << 0) | (bu << 5) | (b << 3) | (ru << 8) | (r << 6) | (ftt << 9) in do_mathemu() 182 FP_DECL_D(DA); FP_DECL_D(DB); FP_DECL_D(DR); in do_mathemu() 285 case 6: if (XR == 2) IR = 1; break; /* Greater */ in do_mathemu() 307 case 6: if (XR & 8) IR = 1; break; /* Negative */ in do_mathemu() 376 current_thread_info()->xfsr[0] |= (6 << 14) /* invalid_fp_register */; in do_mathemu() 388 case 6: FP_UNPACK_DP (DA, rs1); break; in do_mathemu() 394 current_thread_info()->xfsr[0] |= (6 << 14) /* invalid_fp_register */; in do_mathemu() 406 case 6: FP_UNPACK_DP (DB, rs2); break; in do_mathemu() 410 switch ((type >> 6) & 0x3) { in do_mathemu() 412 current_thread_info()->xfsr[0] |= (6 << 14) /* invalid_fp_register */; in do_mathemu() [all …]
|
| /linux/drivers/video/fbdev/core/ |
| H A D | modedb.c | 80 { NULL, 72, 800, 600, 20000, 64, 56, 23, 37, 120, 6, 85 { NULL, 60, 1024, 768, 15384, 168, 8, 29, 3, 144, 6, 0, 89 { NULL, 100, 640, 480, 21834, 96, 32, 36, 8, 96, 6, 0, 101 { NULL, 70, 1024, 768, 13333, 144, 24, 29, 3, 136, 6, 0, 109 { NULL, 100, 800, 600, 14357, 160, 64, 30, 4, 64, 6, 0, 139 { NULL, 85, 1024, 768, 10111, 192, 32, 34, 14, 160, 6, 0, 190 { NULL, 60, 1680, 1050, 6848, 280, 104, 30, 3, 176, 6, 272 { NULL, 60, 1152, 768, 14047, 158, 26, 29, 3, 136, 6, 317 /* 6 640x480-85 VESA */ 329 { NULL, 72, 800, 600, 20000, 64, 56, 23, 37, 120, 6, [all …]
|
| /linux/Documentation/devicetree/bindings/iio/amplifiers/ |
| H A D | adi,hmc425a.yaml | 15 ADRF5750 2 dB LSB, 4-Bit, Silicon Digital Attenuator, 10 MHz to 60 GHz 18 HMC425A 0.5 dB LSB GaAs MMIC 6-BIT DIGITAL POSITIVE CONTROL ATTENUATOR, 2.2 - 8.0 GHz 21 HMC540S 1 dB LSB Silicon MMIC 4-Bit Digital Positive Control Attenuator, 0.1 - 8 GHz 43 HMC425A - 6 GPIO connected to V1-V6 46 maxItems: 6 57 minItems: 6 58 maxItems: 6
|
| /linux/drivers/net/ethernet/dec/tulip/ |
| H A D | uli526x.c | 226 static void phy_write_1bit(struct uli526x_board_info *db, u32); 227 static u16 phy_read_1bit(struct uli526x_board_info *db); 239 static void srom_clk_write(struct uli526x_board_info *db, u32 data) in srom_clk_write() argument 241 void __iomem *ioaddr = db->ioaddr; in srom_clk_write() 272 struct uli526x_board_info *db; /* board information structure */ in uli526x_init_one() local 281 dev = alloc_etherdev(sizeof(*db)); in uli526x_init_one() 316 db = netdev_priv(dev); in uli526x_init_one() 321 db->desc_pool_ptr = dma_alloc_coherent(&pdev->dev, in uli526x_init_one() 323 &db->desc_pool_dma_ptr, GFP_KERNEL); in uli526x_init_one() 324 if (!db->desc_pool_ptr) in uli526x_init_one() [all …]
|