Home
last modified time | relevance | path

Searched +full:8 +full:db (Results 1 – 25 of 474) sorted by relevance

12345678910>>...19

/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
H A Ddm_common.c13 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/ppp/
H A Dbsd_comp.c173 static int bsd_init (void *db, unsigned char *options,
213 #define RATIO_SCALE_LOG 8
222 bsd_clear(struct bsd_db *db) in bsd_clear() argument
224 db->clear_count++; in bsd_clear()
225 db->max_ent = FIRST-1; in bsd_clear()
226 db->n_bits = BSD_INIT_BITS; in bsd_clear()
227 db->bytes_out = 0; in bsd_clear()
228 db->in_count = 0; in bsd_clear()
229 db->ratio = 0; in bsd_clear()
230 db->checkpoint = CHECK_GAP; in bsd_clear()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Ddm.c18 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/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Ddm.c16 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/net/ethernet/allwinner/
H A Dsun4i-emac.c95 struct emac_board_info *db; member
104 struct emac_board_info *db = netdev_priv(dev); in emac_update_speed() local
108 reg_val = readl(db->membase + EMAC_MAC_SUPP_REG); in emac_update_speed()
110 if (db->speed == SPEED_100) in emac_update_speed()
112 writel(reg_val, db->membase + EMAC_MAC_SUPP_REG); in emac_update_speed()
117 struct emac_board_info *db = netdev_priv(dev); in emac_update_duplex() local
121 reg_val = readl(db->membase + EMAC_MAC_CTL1_REG); in emac_update_duplex()
123 if (db->duplex) in emac_update_duplex()
125 writel(reg_val, db->membase + EMAC_MAC_CTL1_REG); in emac_update_duplex()
130 struct emac_board_info *db = netdev_priv(dev); in emac_handle_link_change() local
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Ddm.c17 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/media/dvb-frontends/
H A Dstv0910.c130 u8 data[3] = {reg >> 8, reg & 0xff, val}; in write_reg()
145 u8 msg[2] = {reg >> 8, reg & 0xff}; in i2c_read_regs16()
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 */
[all …]
H A Ddib0090.c133 s16 wbd_target; /* in dB */
225 ret = (state->i2c_read_buffer[0] << 8) in dib0090_read_reg()
242 state->i2c_write_buffer[1] = val >> 8; in dib0090_write_reg()
281 ret = (state->i2c_read_buffer[0] << 8) in dib0090_fw_read_reg()
297 state->i2c_write_buffer[0] = val >> 8; in dib0090_fw_write_reg()
344 identity->product = (v >> 8) & 0xf; in dib0090_identify()
434 identity->product = (v >> 8) & 0xf; in dib0090_fw_identify()
520 /* adcClkOutRatio=8->7, release reset */ in dib0090_reset_digital()
521 …ate, 0x20, ((cfg->io.adc_clock_ratio - 1) << 11) | (0 << 10) | (1 << 9) | (1 << 8) | (0 << 4) | 0); in dib0090_reset_digital()
523 …_write_reg(state, 0x23, (0 << 15) | ((!cfg->analog_output) << 14) | (2 << 10) | (1 << 9) | (0 << 8) in dib0090_reset_digital()
[all …]
/linux/Documentation/devicetree/bindings/iio/frequency/
H A Dadi,admfm2000.yaml15 from 0.5 to 32 GHz and an output IF frequency range from 0.1 to 8 GHz.
47 and 32 GHz to IF between 0.5 GHz and 8 GHz. If not present, the channel
49 between 2 GHz and 8 GHz to IF between 0.5 GHz and 8 GHz.
68 1 1 1 1 1 0 dB
69 1 1 1 1 0 -1 dB
70 1 1 1 0 1 -2 dB
71 1 1 0 1 1 -4 dB
72 1 0 1 1 1 -8 dB
73 0 1 1 1 1 -16 dB
74 0 0 0 0 0 -31 dB
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_hwinfo.c71 * N+8: u32 key_2 Offset to the second key
83 #define NFP_HWINFO_VERSION_1 ('H' << 24 | 'I' << 16 | 1 << 8 | 0 << 1 | 0)
84 #define NFP_HWINFO_VERSION_2 ('H' << 24 | 'I' << 16 | 2 << 8 | 0 << 1 | 0)
129 hwinfo_db_validate(struct nfp_cpp *cpp, struct nfp_hwinfo *db, u32 len) in hwinfo_db_validate() argument
133 size = le32_to_cpu(db->size); in hwinfo_db_validate()
140 crc = crc32_posix(db, size); in hwinfo_db_validate()
141 if (crc != get_unaligned_le32(db->start + size)) { in hwinfo_db_validate()
143 crc, get_unaligned_le32(db->start + size)); in hwinfo_db_validate()
148 return hwinfo_db_walk(cpp, db, size); in hwinfo_db_validate()
159 u8 *db; in hwinfo_try_fetch() local
[all …]
/linux/drivers/net/ethernet/davicom/
H A Ddm9000.c141 #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
178 dev_dbg(db->dev, "resetting device\n"); in dm9000_reset()
[all …]
H A Ddm9051.c119 static int dm9051_set_reg(struct board_info *db, unsigned int reg, unsigned int val) in dm9051_set_reg() argument
123 ret = regmap_write(db->regmap_dm, reg, val); in dm9051_set_reg()
125 netif_err(db, drv, db->ndev, "%s: error %d set reg %02x\n", in dm9051_set_reg()
130 static int dm9051_update_bits(struct board_info *db, unsigned int reg, unsigned int mask, in dm9051_update_bits() argument
135 ret = regmap_update_bits(db->regmap_dm, reg, mask, val); in dm9051_update_bits()
137 netif_err(db, drv, db->ndev, "%s: error %d update bits reg %02x\n", in dm9051_update_bits()
144 static int dm9051_dumpblk(struct board_info *db, u8 reg, size_t count) in dm9051_dumpblk() argument
146 struct net_device *ndev = db->ndev; in dm9051_dumpblk()
155 ret = regmap_read(db->regmap_dm, reg, &rb); in dm9051_dumpblk()
157 netif_err(db, drv, ndev, "%s: error %d dumping read reg %02x\n", in dm9051_dumpblk()
[all …]
/linux/sound/soc/atmel/
H A Datmel-pdmic.c227 /* 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/security/integrity/platform_certs/
H A Dload_powerpc.c18 #define extract_esl(db, data, size, offset) \ argument
19 do { db = data + offset; size = size - offset; } while (0)
32 void *db; in get_cert_list() local
41 db = kmalloc(*size, GFP_KERNEL); in get_cert_list()
42 if (!db) in get_cert_list()
45 rc = secvar_ops->get(key, keylen, db, size); in get_cert_list()
47 kfree(db); in get_cert_list()
51 return db; in get_cert_list()
61 void *db = NULL, *dbx = NULL, *data = NULL; in load_powerpc_certs() local
85 /* PLPKS authenticated variables ESL data is prefixed with 8 bytes of timestamp */ in load_powerpc_certs()
[all …]
/linux/sound/pci/ice1712/
H A Dwm8776.h18 #define WM8776_VOL_UPDATE (1 << 8) /* update volume */
60 #define WM8776_FMT_ADCHPD (1 << 8)
74 #define WM8776_IF_ADC_MASTER (1 << 8)
84 #define WM8776_ADC_ZCEN (1 << 8)
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 */
96 #define WM8776_ALC2_LCEN (1 << 8)
100 #define WM8776_ALC3_FDECAY (1 << 8)
103 #define WM8776_NGAT_THR_MASK 0x1c /*0=-78dB, 1=-72dB...7=-36dB */
115 #define WM8776_ADC_LRBOTH (1 << 8)
/linux/arch/powerpc/platforms/ps3/
H A Dos-area.c107 u8 _reserved_5[8];
110 #define OS_AREA_DB_MAGIC_NUM "-db-"
114 * @magic_num: Always '-db-'.
160 OS_AREA_DB_KEY_MAX = 8,
371 static int db_verify(const struct os_area_db *db) in db_verify() argument
373 if (memcmp(db->magic_num, OS_AREA_DB_MAGIC_NUM, in db_verify()
374 sizeof(db->magic_num))) { in db_verify()
379 if (db->version != 1) { in db_verify()
393 const struct os_area_db *db; member
416 static int db_for_each_64(const struct os_area_db *db, in db_for_each_64() argument
[all …]
/linux/drivers/iio/amplifiers/
H A DKconfig21 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 Dhmc425a.c27 * values (OUTPUT_V / INPUT_V): 0(shutdown), 0.25, 0.5, 1, 2, 4, 8, 16
29 * Except for the shutdown value, all can be converted to dB using 20 * log10(x)
31 * with the correspondent of 6.020dB.
102 /* Bit [0-3]: 2dB 4dB 8dB 8dB */ in adrf5740_gain_dB_to_code()
138 * Bit [0-3]: 2dB 4dB 8dB 8dB in adrf5740_code_to_gain_dB()
311 .default_gain = -0x40, /* set default gain -31.5db*/
322 .default_gain = -0x10, /* set default gain -15.0db*/
333 .default_gain = 0xF, /* set default gain -22.0db*/
/linux/sound/aoa/codecs/
H A Dtas-basstreble.h17 150, /* -18 dB */
53 114, /* 0 dB */
89 1, /* +18 dB */
103 2, /* 7 dB, offset 50 */
118 8,
124 8,
125 1, /* 18 dB */
H A Donyx.h15 * -1 (0dB) to -127 (-63.0 dB) or others (muted) */
47 /* 8 + input gain in dB, valid range for input gain is -4 .. 20 dB */
60 /* controls channel bits 8-15 */
/linux/arch/m68k/include/asm/
H A Datarihw.h91 ATARIHW_DECLARE(FDCSPEED); /* 8/16 MHz switch for FDC */
120 * MFP always has a 8 MHz clock. This avoids problems with the varying length
625 #define ACIA_D8N2S (4<<2) /* 8 data, no parity, 2 stop */
626 #define ACIA_D8N1S (5<<2) /* 8 data, no parity, 1 stop */
627 #define ACIA_D8E1S (6<<2) /* 8 data, even parity, 1 stop */
628 #define ACIA_D8O1S (7<<2) /* 8 data, odd parity, 1 stop */
728 tt_dmasnd.bas_mid = (unsigned char)(((bufstart) & 0x00ff00) >> 8); \
733 (tt_dmasnd.addr_mid << 8) + \
739 tt_dmasnd.end_mid = (unsigned char)(((bufend) & 0x00ff00) >> 8); \
753 #define MW_LM1992_VOLUME(dB) \ argument
[all …]
/linux/drivers/mailbox/
H A Dtegra-hsp.c25 #define HSP_INT_FULL_SHIFT 8
155 static bool tegra_hsp_doorbell_can_ring(struct tegra_hsp_doorbell *db) in tegra_hsp_doorbell_can_ring() argument
159 value = tegra_hsp_channel_readl(&db->channel, HSP_DB_ENABLE); in tegra_hsp_doorbell_can_ring()
179 struct tegra_hsp_doorbell *db; in tegra_hsp_doorbell_get() local
183 db = __tegra_hsp_doorbell_get(hsp, master); in tegra_hsp_doorbell_get()
186 return db; in tegra_hsp_doorbell_get()
192 struct tegra_hsp_doorbell *db; in tegra_hsp_doorbell_irq() local
195 db = tegra_hsp_doorbell_get(hsp, TEGRA_HSP_DB_MASTER_CCPLEX); in tegra_hsp_doorbell_irq()
196 if (!db) in tegra_hsp_doorbell_irq()
199 value = tegra_hsp_channel_readl(&db->channel, HSP_DB_PENDING); in tegra_hsp_doorbell_irq()
[all …]
/linux/drivers/net/ethernet/tehuti/
H A Dtn40.c73 struct tn40_rxdb *db; in tn40_rxdb_alloc() local
76 db = vzalloc(size); in tn40_rxdb_alloc()
77 if (db) { in tn40_rxdb_alloc()
78 db->stack = (int *)(db + 1); in tn40_rxdb_alloc()
79 db->elems = (void *)(db->stack + nelem); in tn40_rxdb_alloc()
80 db->nelem = nelem; in tn40_rxdb_alloc()
81 db->top = nelem; in tn40_rxdb_alloc()
82 /* make the first alloc close to db struct */ in tn40_rxdb_alloc()
84 db->stack[i] = nelem - i - 1; in tn40_rxdb_alloc()
86 return db; in tn40_rxdb_alloc()
[all …]
H A Dtehuti.c30 * 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.
140 * @fsz_type: fifo size type: 0-4KB, 1-8KB, 2-16KB, 3-32KB
373 val = (ndev->dev_addr[0] << 8) | (ndev->dev_addr[1]); in bdx_restore_mac()
375 val = (ndev->dev_addr[2] << 8) | (ndev->dev_addr[3]); in bdx_restore_mac()
377 val = (ndev->dev_addr[4] << 8) | (ndev->dev_addr[5]); in bdx_restore_mac()
529 /* 8. reset port */ in bdx_sw_reset()
796 WRITE_REG(priv, regRX_MAC_MCST0 + i * 8, 0); in bdx_setmulti()
797 WRITE_REG(priv, regRX_MAC_MCST1 + i * 8, 0); in bdx_setmulti()
[all …]
/linux/drivers/net/wireless/ath/ath5k/
H A Deeprom.h53 #define AR5K_EEPROM_VERSION_3_1 0x3001 /* ob/db values for 2GHz (ar5211_rfregs) */
89 #define AR5K_EEPROM_ANT_GAIN_5GHZ(_v) ((s8)(((_v) >> 8) & 0xff))
105 #define AR5K_EEPROM_EEP_FILE_VERSION(_v) (((_v) >> 8) & 0xff)
112 #define AR5K_EEPROM_MISC4 AR5K_EEPROM_INFO(8)
123 #define AR5K_EEPROM_HEAVY_CLIP_EN(_v) (((_v) >> 8) & 0x1) /* enable heavy clipping */
131 #define AR5K_EEPROM_JAP_U2_EN (((_v) >> 8) & 0x1) /* Japan UNII2 band (5.25-5.35GHz) supported */
185 #define AR5K_EEPROM_N_5GHZ_RATE_CHAN 8
193 #define AR5K_EEPROM_N_TEST_FREQ 8
194 #define AR5K_EEPROM_N_EDGES 8
202 #define AR5K_EEPROM_CHANNEL_POWER 8
[all …]

12345678910>>...19