| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
| D | ar9003_aic.c | 37 5, 5, 4, 4, 3 115 aic_atten_word[0] = (0x1 & 0xf) << 14 | (0x1f & 0x1f) << 9 | (0x0 & 0xf) << 5 | in ar9003_aic_gain_table() 116 (0x1f & 0x1f); /* -01 dB: 4'd1, 5'd31, 00 dB: 4'd0, 5'd31 */ in ar9003_aic_gain_table() 117 aic_atten_word[1] = (0x3 & 0xf) << 14 | (0x1f & 0x1f) << 9 | (0x2 & 0xf) << 5 | in ar9003_aic_gain_table() 118 (0x1f & 0x1f); /* -03 dB: 4'd3, 5'd31, -02 dB: 4'd2, 5'd31 */ in ar9003_aic_gain_table() 119 aic_atten_word[2] = (0x5 & 0xf) << 14 | (0x1f & 0x1f) << 9 | (0x4 & 0xf) << 5 | in ar9003_aic_gain_table() 120 (0x1f & 0x1f); /* -05 dB: 4'd5, 5'd31, -04 dB: 4'd4, 5'd31 */ in ar9003_aic_gain_table() 121 aic_atten_word[3] = (0x1 & 0xf) << 14 | (0x1e & 0x1f) << 9 | (0x0 & 0xf) << 5 | in ar9003_aic_gain_table() 122 (0x1e & 0x1f); /* -07 dB: 4'd1, 5'd30, -06 dB: 4'd0, 5'd30 */ in ar9003_aic_gain_table() 123 aic_atten_word[4] = (0x3 & 0xf) << 14 | (0x1e & 0x1f) << 9 | (0x2 & 0xf) << 5 | in ar9003_aic_gain_table() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
| D | ar9003_aic.c | 37 5, 5, 4, 4, 3 115 aic_atten_word[0] = (0x1 & 0xf) << 14 | (0x1f & 0x1f) << 9 | (0x0 & 0xf) << 5 | in ar9003_aic_gain_table() 116 (0x1f & 0x1f); /* -01 dB: 4'd1, 5'd31, 00 dB: 4'd0, 5'd31 */ in ar9003_aic_gain_table() 117 aic_atten_word[1] = (0x3 & 0xf) << 14 | (0x1f & 0x1f) << 9 | (0x2 & 0xf) << 5 | in ar9003_aic_gain_table() 118 (0x1f & 0x1f); /* -03 dB: 4'd3, 5'd31, -02 dB: 4'd2, 5'd31 */ in ar9003_aic_gain_table() 119 aic_atten_word[2] = (0x5 & 0xf) << 14 | (0x1f & 0x1f) << 9 | (0x4 & 0xf) << 5 | in ar9003_aic_gain_table() 120 (0x1f & 0x1f); /* -05 dB: 4'd5, 5'd31, -04 dB: 4'd4, 5'd31 */ in ar9003_aic_gain_table() 121 aic_atten_word[3] = (0x1 & 0xf) << 14 | (0x1e & 0x1f) << 9 | (0x0 & 0xf) << 5 | in ar9003_aic_gain_table() 122 (0x1e & 0x1f); /* -07 dB: 4'd1, 5'd30, -06 dB: 4'd0, 5'd30 */ in ar9003_aic_gain_table() 123 aic_atten_word[4] = (0x3 & 0xf) << 14 | (0x1e & 0x1f) << 9 | (0x2 & 0xf) << 5 | in ar9003_aic_gain_table() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| 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 …]
|
| D | stv0910.c | 227 { 0, 9242 }, /* C/N= 0dB */ 228 { 5, 9105 }, /* C/N= 0.5dB */ 229 { 10, 8950 }, /* C/N= 1.0dB */ 230 { 15, 8780 }, /* C/N= 1.5dB */ 231 { 20, 8566 }, /* C/N= 2.0dB */ 232 { 25, 8366 }, /* C/N= 2.5dB */ 233 { 30, 8146 }, /* C/N= 3.0dB */ 234 { 35, 7908 }, /* C/N= 3.5dB */ 235 { 40, 7666 }, /* C/N= 4.0dB */ 236 { 45, 7405 }, /* C/N= 4.5dB */ [all …]
|
| /kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
| 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 …]
|
| D | stv0910.c | 218 { 0, 9242 }, /* C/N= 0dB */ 219 { 5, 9105 }, /* C/N= 0.5dB */ 220 { 10, 8950 }, /* C/N= 1.0dB */ 221 { 15, 8780 }, /* C/N= 1.5dB */ 222 { 20, 8566 }, /* C/N= 2.0dB */ 223 { 25, 8366 }, /* C/N= 2.5dB */ 224 { 30, 8146 }, /* C/N= 3.0dB */ 225 { 35, 7908 }, /* C/N= 3.5dB */ 226 { 40, 7666 }, /* C/N= 4.0dB */ 227 { 45, 7405 }, /* C/N= 4.5dB */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | tas5805m.c | 13 // It has been simplified a little and reworked for the 5.x ALSA SoC API. 62 * 5ms delay while we wait for the DSP to boot. 71 0x0000001B, /* 0, -110dB */ 0x0000001E, /* 1, -109dB */ 72 0x00000021, /* 2, -108dB */ 0x00000025, /* 3, -107dB */ 73 0x0000002A, /* 4, -106dB */ 0x0000002F, /* 5, -105dB */ 74 0x00000035, /* 6, -104dB */ 0x0000003B, /* 7, -103dB */ 75 0x00000043, /* 8, -102dB */ 0x0000004B, /* 9, -101dB */ 76 0x00000054, /* 10, -100dB */ 0x0000005E, /* 11, -99dB */ 77 0x0000006A, /* 12, -98dB */ 0x00000076, /* 13, -97dB */ 78 0x00000085, /* 14, -96dB */ 0x00000095, /* 15, -95dB */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
| D | uli526x.c | 64 #define ULI526X_100MFD 5 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() 244 udelay(5); in srom_clk_write() 246 udelay(5); in srom_clk_write() 248 udelay(5); in srom_clk_write() 272 struct uli526x_board_info *db; /* board information structure */ in uli526x_init_one() local 280 dev = alloc_etherdev(sizeof(*db)); in uli526x_init_one() [all …]
|
| D | dmfe.c | 118 #define DM9802_NOISE_FLOOR 5 128 #define DMFE_100MFD 5 354 struct dmfe_board_info *db; /* board information structure */ in dmfe_init_one() local 378 dev = alloc_etherdev(sizeof(*db)); in dmfe_init_one() 422 db = netdev_priv(dev); in dmfe_init_one() 425 db->desc_pool_ptr = dma_alloc_coherent(&pdev->dev, in dmfe_init_one() 427 &db->desc_pool_dma_ptr, GFP_KERNEL); in dmfe_init_one() 428 if (!db->desc_pool_ptr) { in dmfe_init_one() 433 db->buf_pool_ptr = dma_alloc_coherent(&pdev->dev, in dmfe_init_one() 435 &db->buf_pool_dma_ptr, GFP_KERNEL); in dmfe_init_one() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/ |
| D | uli526x.c | 64 #define ULI526X_100MFD 5 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() 244 udelay(5); in srom_clk_write() 246 udelay(5); in srom_clk_write() 248 udelay(5); 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() [all …]
|
| D | dmfe.c | 118 #define DM9802_NOISE_FLOOR 5 128 #define DMFE_100MFD 5 354 struct dmfe_board_info *db; /* board information structure */ in dmfe_init_one() local 378 dev = alloc_etherdev(sizeof(*db)); in dmfe_init_one() 422 db = netdev_priv(dev); in dmfe_init_one() 425 db->desc_pool_ptr = dma_alloc_coherent(&pdev->dev, in dmfe_init_one() 427 &db->desc_pool_dma_ptr, GFP_KERNEL); in dmfe_init_one() 428 if (!db->desc_pool_ptr) { in dmfe_init_one() 433 db->buf_pool_ptr = dma_alloc_coherent(&pdev->dev, in dmfe_init_one() 435 &db->buf_pool_dma_ptr, GFP_KERNEL); in dmfe_init_one() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/i2c/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| 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 …]
|
| /kernel/linux/linux-5.10/sound/soc/atmel/ |
| 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 */ 237 { 23, 12}, { 207, 15}, { 29, 12}, { 65, 13}, /* -45 ~ -42 dB */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/atmel/ |
| 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 */ 237 { 23, 12}, { 207, 15}, { 29, 12}, { 65, 13}, /* -45 ~ -42 dB */ [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/ |
| D | odm.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 …]
|
| /kernel/linux/linux-6.6/sound/aoa/codecs/ |
| D | onyx.h | 16 * -1 (0dB) to -127 (-63.0 dB) or others (muted) */ 24 # define ONYX_ADPSV (1<<5) 35 # define ONYX_DIGDEEMPH_SHIFT 5 40 # define ONYX_ROLLOFF_FAST (1<<5) 47 # define ONYX_ADC_INPUT_MIC (1<<5) 48 /* 8 + input gain in dB, valid range for input gain is -4 .. 20 dB */ 57 /* bits 1-5 control channel bits 1-5 */ 69 # define ONYX_SPDIF_ENABLE (1<<5)
|
| /kernel/linux/linux-5.10/sound/aoa/codecs/ |
| D | onyx.h | 17 * -1 (0dB) to -127 (-63.0 dB) or others (muted) */ 25 # define ONYX_ADPSV (1<<5) 36 # define ONYX_DIGDEEMPH_SHIFT 5 41 # define ONYX_ROLLOFF_FAST (1<<5) 48 # define ONYX_ADC_INPUT_MIC (1<<5) 49 /* 8 + input gain in dB, valid range for input gain is -4 .. 20 dB */ 58 /* bits 1-5 control channel bits 1-5 */ 70 # define ONYX_SPDIF_ENABLE (1<<5)
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| 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 …]
|