/linux-6.12.1/sound/aoa/codecs/ |
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-6.12.1/sound/pci/vx222/ |
D | vx222_ops.c | 514 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-6.12.1/include/sound/ |
D | tas2563-tlv.h | 20 /* 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-6.12.1/drivers/net/ethernet/davicom/ |
D | dm9051.c | 119 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 …]
|
D | dm9000.c | 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 178 dev_dbg(db->dev, "resetting device\n"); in dm9000_reset() [all …]
|
/linux-6.12.1/sound/pci/pcxhr/ |
D | pcxhr_mix22.c | 103 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-6.12.1/sound/pci/mixart/ |
D | mixart_mixer.c | 24 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-6.12.1/sound/soc/codecs/ |
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 …]
|
D | tas5805m.c | 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 */ 79 0x000000A7, /* 16, -94dB */ 0x000000BC, /* 17, -93dB */ 80 0x000000D3, /* 18, -92dB */ 0x000000EC, /* 19, -91dB */ [all …]
|
/linux-6.12.1/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 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() 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 …]
|
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 …]
|
/linux-6.12.1/drivers/net/ethernet/allwinner/ |
D | sun4i-emac.c | 95 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-6.12.1/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 …]
|
/linux-6.12.1/drivers/net/ppp/ |
D | bsd_comp.c | 173 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-6.12.1/drivers/infiniband/hw/hns/ |
D | hns_roce_db.c | 11 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-6.12.1/drivers/gpu/drm/panel/ |
D | panel-magnachip-d53e6ea8966.c | 42 void (*panel_init_seq)(struct d53e6ea8966 *db); 44 int (*backlight_register)(struct d53e6ea8966 *db); 166 static void ams495qa01_panel_init(struct d53e6ea8966 *db) in ams495qa01_panel_init() argument 168 struct mipi_dbi *dbi = &db->dbi; in ams495qa01_panel_init() 206 struct d53e6ea8966 *db = to_d53e6ea8966(panel); in d53e6ea8966_prepare() local 210 ret = regulator_enable(db->reg_vdd); in d53e6ea8966_prepare() 212 dev_err(db->dev, "failed to enable vdd regulator: %d\n", ret); in d53e6ea8966_prepare() 216 if (db->reg_elvdd) { in d53e6ea8966_prepare() 217 ret = regulator_enable(db->reg_elvdd); in d53e6ea8966_prepare() 219 dev_err(db->dev, in d53e6ea8966_prepare() [all …]
|
D | panel-samsung-db7430.c | 89 static int db7430_power_on(struct db7430 *db) in db7430_power_on() argument 91 struct mipi_dbi *dbi = &db->dbi; in db7430_power_on() 95 ret = regulator_bulk_enable(ARRAY_SIZE(db->regulators), in db7430_power_on() 96 db->regulators); in db7430_power_on() 98 dev_err(db->dev, "failed to enable regulators: %d\n", ret); in db7430_power_on() 104 gpiod_set_value_cansleep(db->reset, 1); in db7430_power_on() 107 gpiod_set_value_cansleep(db->reset, 0); in db7430_power_on() 110 dev_dbg(db->dev, "de-asserted RESET\n"); in db7430_power_on() 164 static int db7430_power_off(struct db7430 *db) in db7430_power_off() argument 167 gpiod_set_value_cansleep(db->reset, 1); in db7430_power_off() [all …]
|
/linux-6.12.1/net/dsa/ |
D | trace.h | 21 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, int err), [all …]
|
/linux-6.12.1/arch/powerpc/platforms/ps3/ |
D | os-area.c | 110 #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-6.12.1/tools/perf/scripts/python/ |
D | task-analyzer.py | 189 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-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
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-6.12.1/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 …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/include/nvif/ |
D | push.h | 130 #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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | wq.c | 46 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-6.12.1/security/integrity/platform_certs/ |
D | load_uefi.c | 17 * 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() [all …]
|