Home
last modified time | relevance | path

Searched full:db (Results 1 – 25 of 798) sorted by relevance

12345678910>>...32

/linux/sound/aoa/codecs/
H A Dtas-gain-table.h13 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/include/sound/
H A Dtas2563-tlv.h20 /* 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/drivers/net/ethernet/davicom/
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 …]
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 …]
/linux/sound/soc/codecs/
H A Des83xx-dsm-common.h159 #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 …]
/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/ppp/
H A Dbsd_comp.c173 static int bsd_init (void *db, unsigned char *options,
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()
247 static int bsd_check (struct bsd_db *db) /* 1=output CLEAR */ in bsd_check() argument
[all …]
/linux/net/dsa/
H A Dtrace.h21 void dsa_db_print(const struct dsa_db *db, char buf[DSA_DB_BUFSIZ]);
27 const struct dsa_db *db, int err),
29 TP_ARGS(dp, addr, vid, db, err),
47 dsa_db_print(db, __entry->db_buf);
51 TP_printk("%s %s port %d addr %pM vid %u db \"%s\" err %d",
62 u16 vid, const struct dsa_db *db, int err),
63 TP_ARGS(dp, addr, vid, db, err));
67 u16 vid, const struct dsa_db *db, int err),
68 TP_ARGS(dp, addr, vid, db, err));
75 u16 vid, const struct dsa_db *db, in
[all...]
H A Dswitch.c146 struct dsa_db db) in dsa_mac_addr_find() argument
152 dsa_db_equal(&a->db, &db)) in dsa_mac_addr_find()
160 struct dsa_db db) in dsa_port_do_mdb_add() argument
169 err = ds->ops->port_mdb_add(ds, port, mdb, db); in dsa_port_do_mdb_add()
170 trace_dsa_mdb_add_hw(dp, mdb->addr, mdb->vid, &db, err); in dsa_port_do_mdb_add()
177 a = dsa_mac_addr_find(&dp->mdbs, mdb->addr, mdb->vid, db); in dsa_port_do_mdb_add()
180 trace_dsa_mdb_add_bump(dp, mdb->addr, mdb->vid, &db, in dsa_port_do_mdb_add()
191 err = ds->ops->port_mdb_add(ds, port, mdb, db); in dsa_port_do_mdb_add()
192 trace_dsa_mdb_add_hw(dp, mdb->addr, mdb->vid, &db, err); in dsa_port_do_mdb_add()
200 a->db = db; in dsa_port_do_mdb_add()
[all …]
/linux/arch/powerpc/platforms/ps3/
H A Dos-area.c110 #define OS_AREA_DB_MAGIC_NUM "-db-"
114 * @magic_num: Always '-db-'.
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
420 if (!i->db) { in db_for_each_64()
421 i->db = db; in db_for_each_64()
[all …]
/linux/tools/perf/scripts/python/
H A Dtask-analyzer.py189 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()
199 db["task_info"]["pid"] = len("PID")
200 db["task_info"]["tid"] = len("TID")
[all …]
/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/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/security/integrity/platform_certs/
H A Dload_uefi.c17 * On T2 Macs reading the db and dbx efi variables to load UEFI Secure Boot
47 * the certs/hashes in the UEFI db variable for verification purposes. If it
48 * is set, we should ignore the db variable also and the true return indicates
54 unsigned int db = 0; in uefi_check_ignore_db() local
55 unsigned long size = sizeof(db); in uefi_check_ignore_db()
58 status = efi.get_variable(L"MokIgnoreDB", &guid, NULL, &size, &db); in uefi_check_ignore_db()
70 void *db; in get_cert_list() local
81 db = kmalloc(lsize, GFP_KERNEL); in get_cert_list()
82 if (!db) in get_cert_list()
85 *status = efi.get_variable(name, guid, NULL, &lsize, db); in get_cert_list()
164 void *db = NULL, *dbx = NULL, *mokx = NULL; load_uefi_certs() local
[all...]
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
89 * Get db, and dbx. They might not exist, so it isn't an error if we in load_powerpc_certs()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dwq.c46 err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); in mlx5_wq_cyc_create()
52 wq->db = wq_ctrl->db.db; in mlx5_wq_cyc_create()
69 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_wq_cyc_create()
113 err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); in mlx5_wq_qp_create()
146 wq->rq.db = &wq_ctrl->db.db[MLX5_RCV_DBR]; in mlx5_wq_qp_create()
147 wq->sq.db = &wq_ctrl->db.db[MLX5_SND_DBR]; in mlx5_wq_qp_create()
154 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_wq_qp_create()
168 err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); in mlx5_cqwq_create()
174 wq->db = wq_ctrl->db.db; in mlx5_cqwq_create()
192 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_cqwq_create()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_hwinfo.c129 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
181 db = kmalloc(*cpp_size + 1, GFP_KERNEL); in hwinfo_try_fetch()
182 if (!db) in hwinfo_try_fetch()
185 err = nfp_cpp_read(cpp, cpp_id, cpp_addr, db, *cpp_size); in hwinfo_try_fetch()
[all …]
/linux/sound/soc/sophgo/
H A Dcv1800b-sound-adc.c66 0x0001, /* 0dB */
67 0x0002, /* 2dB */
68 0x0004, /* 4dB */
69 0x0008, /* 6dB */
70 0x0010, /* 8dB */
71 0x0020, /* 10dB */
72 0x0040, /* 12dB */
73 0x0080, /* 14dB */
74 0x0100, /* 16dB */
75 0x0200, /* 18dB */
[all …]
/linux/drivers/media/dvb-frontends/
H A Dstv0900_init.h21 { -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 Dstv0910.c213 { 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/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/drivers/mailbox/
H A Dtegra-hsp.c155 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()
200 tegra_hsp_channel_writel(&db->channel, value, HSP_DB_PENDING); in tegra_hsp_doorbell_irq()
[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/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
/linux/drivers/net/ethernet/tehuti/
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.
914 * Rx DB *
917 static void bdx_rxdb_destroy(struct rxdb *db) in bdx_rxdb_destroy() argument
919 vfree(db); in bdx_rxdb_destroy()
924 struct rxdb *db; in bdx_rxdb_create() local
927 db = vmalloc(sizeof(struct rxdb) in bdx_rxdb_create()
930 if (likely(db != NULL)) { in bdx_rxdb_create()
931 db->stack = (int *)(db + 1); in bdx_rxdb_create()
[all …]

12345678910>>...32