Home
last modified time | relevance | path

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

12345678910>>...45

/Linux-v6.1/sound/aoa/codecs/
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-v6.1/sound/pci/vx222/
Dvx222_ops.c514 0x7f, // [000] = +0.000 dB -> AKM(0x7f) = +0.000 dB error(+0.000 dB)
515 0x7d, // [001] = -0.500 dB -> AKM(0x7d) = -0.572 dB error(-0.072 dB)
516 0x7c, // [002] = -1.000 dB -> AKM(0x7c) = -0.873 dB error(+0.127 dB)
517 0x7a, // [003] = -1.500 dB -> AKM(0x7a) = -1.508 dB error(-0.008 dB)
518 0x79, // [004] = -2.000 dB -> AKM(0x79) = -1.844 dB error(+0.156 dB)
519 0x77, // [005] = -2.500 dB -> AKM(0x77) = -2.557 dB error(-0.057 dB)
520 0x76, // [006] = -3.000 dB -> AKM(0x76) = -2.937 dB error(+0.063 dB)
521 0x75, // [007] = -3.500 dB -> AKM(0x75) = -3.334 dB error(+0.166 dB)
522 0x73, // [008] = -4.000 dB -> AKM(0x73) = -4.188 dB error(-0.188 dB)
523 0x72, // [009] = -4.500 dB -> AKM(0x72) = -4.648 dB error(-0.148 dB)
[all …]
/Linux-v6.1/drivers/net/ethernet/davicom/
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 …]
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-v6.1/sound/pci/pcxhr/
Dpcxhr_mix22.c103 0x00, /* [000] -49.5 dB: AKM[000] = -1.#INF dB (mute) */
104 0x01, /* [001] -49.0 dB: AKM[001] = -48.131 dB (diff=0.86920 dB) */
105 0x01, /* [002] -48.5 dB: AKM[001] = -48.131 dB (diff=0.36920 dB) */
106 0x01, /* [003] -48.0 dB: AKM[001] = -48.131 dB (diff=0.13080 dB) */
107 0x01, /* [004] -47.5 dB: AKM[001] = -48.131 dB (diff=0.63080 dB) */
108 0x01, /* [005] -46.5 dB: AKM[001] = -48.131 dB (diff=1.63080 dB) */
109 0x01, /* [006] -47.0 dB: AKM[001] = -48.131 dB (diff=1.13080 dB) */
110 0x01, /* [007] -46.0 dB: AKM[001] = -48.131 dB (diff=2.13080 dB) */
111 0x01, /* [008] -45.5 dB: AKM[001] = -48.131 dB (diff=2.63080 dB) */
112 0x02, /* [009] -45.0 dB: AKM[002] = -42.110 dB (diff=2.88980 dB) */
[all …]
/Linux-v6.1/sound/pci/mixart/
Dmixart_mixer.c24 0xc2c00000, /* [000] -96.0 dB */
25 0xc2bf0000, /* [001] -95.5 dB */
26 0xc2be0000, /* [002] -95.0 dB */
27 0xc2bd0000, /* [003] -94.5 dB */
28 0xc2bc0000, /* [004] -94.0 dB */
29 0xc2bb0000, /* [005] -93.5 dB */
30 0xc2ba0000, /* [006] -93.0 dB */
31 0xc2b90000, /* [007] -92.5 dB */
32 0xc2b80000, /* [008] -92.0 dB */
33 0xc2b70000, /* [009] -91.5 dB */
[all …]
/Linux-v6.1/drivers/net/ethernet/dec/tulip/
Ddmfe.c354 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()
436 if (!db->buf_pool_ptr) { in dmfe_init_one()
441 db->first_tx_desc = (struct tx_desc *) db->desc_pool_ptr; in dmfe_init_one()
[all …]
Duli526x.c226 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 …]
/Linux-v6.1/drivers/net/ethernet/allwinner/
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-v6.1/sound/soc/codecs/
Dtas5805m.c71 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 */
79 0x000000A7, /* 16, -94dB */ 0x000000BC, /* 17, -93dB */
80 0x000000D3, /* 18, -92dB */ 0x000000EC, /* 19, -91dB */
[all …]
/Linux-v6.1/drivers/staging/rtl8723bs/hal/
Dodm.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-v6.1/drivers/net/ppp/
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-v6.1/drivers/infiniband/hw/hns/
Dhns_roce_db.c11 struct hns_roce_db *db) in hns_roce_db_map_user() argument
44 db->dma = sg_dma_address(page->umem->sgt_append.sgt.sgl) + offset; in hns_roce_db_map_user()
45 db->virt_addr = sg_virt(page->umem->sgt_append.sgt.sgl) + offset; in hns_roce_db_map_user()
46 db->u.user_page = page; in hns_roce_db_map_user()
56 struct hns_roce_db *db) in hns_roce_db_unmap_user() argument
60 refcount_dec(&db->u.user_page->refcount); in hns_roce_db_unmap_user()
61 if (refcount_dec_if_one(&db->u.user_page->refcount)) { in hns_roce_db_unmap_user()
62 list_del(&db->u.user_page->list); in hns_roce_db_unmap_user()
63 ib_umem_release(db->u.user_page->umem); in hns_roce_db_unmap_user()
64 kfree(db->u.user_page); in hns_roce_db_unmap_user()
[all …]
/Linux-v6.1/arch/powerpc/platforms/ps3/
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-v6.1/drivers/gpu/drm/panel/
Dpanel-samsung-db7430.c93 static int db7430_power_on(struct db7430 *db) in db7430_power_on() argument
95 struct mipi_dbi *dbi = &db->dbi; in db7430_power_on()
99 ret = regulator_bulk_enable(ARRAY_SIZE(db->regulators), in db7430_power_on()
100 db->regulators); in db7430_power_on()
102 dev_err(db->dev, "failed to enable regulators: %d\n", ret); in db7430_power_on()
108 gpiod_set_value_cansleep(db->reset, 1); in db7430_power_on()
111 gpiod_set_value_cansleep(db->reset, 0); in db7430_power_on()
114 dev_dbg(db->dev, "de-asserted RESET\n"); in db7430_power_on()
168 static int db7430_power_off(struct db7430 *db) in db7430_power_off() argument
171 gpiod_set_value_cansleep(db->reset, 1); in db7430_power_off()
[all …]
/Linux-v6.1/security/integrity/platform_certs/
Dload_powerpc.c24 void *db; in get_cert_list() local
32 db = kmalloc(*size, GFP_KERNEL); in get_cert_list()
33 if (!db) in get_cert_list()
36 rc = secvar_ops->get(key, keylen, db, size); in get_cert_list()
38 kfree(db); in get_cert_list()
43 return db; in get_cert_list()
53 void *db = NULL, *dbx = NULL; in load_powerpc_certs() local
67 * Get db, and dbx. They might not exist, so it isn't an error if we in load_powerpc_certs()
70 db = get_cert_list("db", 3, &dbsize); in load_powerpc_certs()
71 if (!db) { in load_powerpc_certs()
[all …]
Dload_uefi.c17 * On T2 Macs reading the db and dbx efi variables to load UEFI Secure Boot
46 * the certs/hashes in the UEFI db variable for verification purposes. If it
47 * is set, we should ignore the db variable also and the true return indicates
53 unsigned int db = 0; in uefi_check_ignore_db() local
54 unsigned long size = sizeof(db); in uefi_check_ignore_db()
57 status = efi.get_variable(L"MokIgnoreDB", &guid, NULL, &size, &db); in uefi_check_ignore_db()
69 void *db; in get_cert_list() local
80 db = kmalloc(lsize, GFP_KERNEL); in get_cert_list()
81 if (!db) in get_cert_list()
84 *status = efi.get_variable(name, guid, NULL, &lsize, db); in get_cert_list()
[all …]
/Linux-v6.1/drivers/staging/r8188eu/hal/
Dodm.c23 0x7f8001fe, /* 0, +6.0dB */
24 0x788001e2, /* 1, +5.5dB */
25 0x71c001c7, /* 2, +5.0dB */
26 0x6b8001ae, /* 3, +4.5dB */
27 0x65400195, /* 4, +4.0dB */
28 0x5fc0017f, /* 5, +3.5dB */
29 0x5a400169, /* 6, +3.0dB */
30 0x55400155, /* 7, +2.5dB */
31 0x50800142, /* 8, +2.0dB */
32 0x4c000130, /* 9, +1.5dB */
[all …]
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
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-v6.1/drivers/gpu/drm/nouveau/include/nvif/
Dpush.h130 #define PUSH_2(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument
133 PUSH_##f(X, (p), X##mB, 0, o, (dB), ds, ""); \
135 #define PUSH_3(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument
138 PUSH_##f(X, (p), X##mB, 0, o, (dB), ds, ""); \
140 #define PUSH_4(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument
143 PUSH_##f(X, (p), X##mB, 0, o, (dB), ds, ""); \
145 #define PUSH_5(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument
148 PUSH_##f(X, (p), X##mB, 0, o, (dB), ds, ""); \
150 #define PUSH_6(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument
153 PUSH_##f(X, (p), X##mB, 0, o, (dB), ds, ""); \
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
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 …]
Dalloc.c163 struct mlx5_db *db) in mlx5_alloc_db_from_pgdir() argument
175 db->u.pgdir = pgdir; in mlx5_alloc_db_from_pgdir()
176 db->index = i; in mlx5_alloc_db_from_pgdir()
177 offset = db->index * cache_line_size(); in mlx5_alloc_db_from_pgdir()
178 db->db = pgdir->db_page + offset / sizeof(*pgdir->db_page); in mlx5_alloc_db_from_pgdir()
179 db->dma = pgdir->db_dma + offset; in mlx5_alloc_db_from_pgdir()
181 db->db[0] = 0; in mlx5_alloc_db_from_pgdir()
182 db->db[1] = 0; in mlx5_alloc_db_from_pgdir()
187 int mlx5_db_alloc_node(struct mlx5_core_dev *dev, struct mlx5_db *db, int node) in mlx5_db_alloc_node() argument
195 if (!mlx5_alloc_db_from_pgdir(pgdir, db)) in mlx5_db_alloc_node()
[all …]
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfpcore/
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-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
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-v6.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_fdma.c11 struct lan966x_db *db) in lan966x_fdma_rx_alloc_page() argument
27 db->dataptr = dma_addr; in lan966x_fdma_rx_alloc_page()
40 struct lan966x_db *db; in lan966x_fdma_rx_free_pages() local
47 db = &dcb->db[j]; in lan966x_fdma_rx_free_pages()
49 (dma_addr_t)db->dataptr, in lan966x_fdma_rx_free_pages()
61 struct lan966x_db *db; in lan966x_fdma_rx_add_dcb() local
65 db = &dcb->db[i]; in lan966x_fdma_rx_add_dcb()
66 db->status = FDMA_DCB_STATUS_INTR; in lan966x_fdma_rx_add_dcb()
80 struct lan966x_db *db; in lan966x_fdma_rx_alloc() local
102 /* For each db allocate a page and map it to the DB dataptr. */ in lan966x_fdma_rx_alloc()
[all …]

12345678910>>...45