Home
last modified time | relevance | path

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

12345678910>>...59

/openbmc/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 …]
/openbmc/linux/sound/pci/vx222/
H A 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 …]
/openbmc/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 …]
/openbmc/linux/sound/pci/pcxhr/
H A 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 …]
/openbmc/linux/sound/pci/mixart/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A 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 …]
H A 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 …]
/openbmc/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 …]
/openbmc/qemu/accel/tcg/
H A Dtranslator.c22 static void set_can_do_io(DisasContextBase *db, bool val) in set_can_do_io() argument
30 bool translator_io_start(DisasContextBase *db) in translator_io_start() argument
36 if (db->is_jmp == DISAS_NEXT) { in translator_io_start()
37 db->is_jmp = DISAS_TOO_MANY; in translator_io_start()
42 static TCGOp *gen_tb_start(DisasContextBase *db, uint32_t cflags) in gen_tb_start() argument
105 bool translator_use_goto_tb(DisasContextBase *db, vaddr dest) in translator_use_goto_tb() argument
108 if (tb_cflags(db->tb) & CF_NO_GOTO_TB) { in translator_use_goto_tb()
113 return ((db->pc_first ^ dest) & TARGET_PAGE_MASK) == 0; in translator_use_goto_tb()
118 DisasContextBase *db) in translator_loop() argument
126 db->tb = tb; in translator_loop()
[all …]
/openbmc/linux/sound/soc/codecs/
H A 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 …]
/openbmc/libpldm/tests/
H A Dinstance-id.cpp22 struct pldm_instance_db* db = (struct pldm_instance_db*)8; in TEST() local
25 EXPECT_EQ(::pldm_instance_db_init(&db, nonexistentDb.c_str()), -EINVAL); in TEST()
30 struct pldm_instance_db* db = nullptr; in TEST() local
32 EXPECT_NE(::pldm_instance_db_init(&db, ""), 0); in TEST()
40 static const char dbTmpl[] = "db.XXXXXX"; in SetUp()
66 struct pldm_instance_db* db = nullptr; in TEST_F() local
69 EXPECT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), -EINVAL); in TEST_F()
74 struct pldm_instance_db* db = nullptr; in TEST_F() local
78 EXPECT_EQ(pldm_instance_db_init(&db, dbPath.c_str()), -EINVAL); in TEST_F()
83 struct pldm_instance_db* db = nullptr; in TEST_F() local
[all …]
/openbmc/u-boot/drivers/net/
H A Duli526x.c207 struct uli526x_board_info *db; /* board information structure */ in uli526x_initialize() local
228 db = (struct uli526x_board_info *) in uli526x_initialize()
231 dev->priv = db; in uli526x_initialize()
232 db->pdev = devno; in uli526x_initialize()
240 /* init db */ in uli526x_initialize()
241 db->ioaddr = dev->iobase; in uli526x_initialize()
244 pci_read_config_dword(devno, PCI_VENDOR_ID, &db->chip_id); in uli526x_initialize()
247 printf("uli526x: chip_id%x\n", db->chip_id); in uli526x_initialize()
260 struct uli526x_board_info *db = dev->priv; in uli526x_init_one() local
276 db->desc_pool_ptr = (uchar *)&desc_pool_array[0]; in uli526x_init_one()
[all …]
/openbmc/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 …]
/openbmc/linux/drivers/staging/rtl8723bs/hal/
H A 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 …]
/openbmc/linux/drivers/infiniband/hw/hns/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-magnachip-d53e6ea8966.c42 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 …]
H A Dpanel-samsung-db7430.c89 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 …]
/openbmc/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, int err),
[all …]
/openbmc/qemu/include/exec/
H A Dtranslator.h120 * Disassemble one instruction and set db->pc_next for the start
121 * of the following instruction. Set db->is_jmp as necessary to
125 * Emit any opcodes required to exit the TB, based on db->is_jmp.
131 void (*init_disas_context)(DisasContextBase *db, CPUState *cpu);
132 void (*tb_start)(DisasContextBase *db, CPUState *cpu);
133 void (*insn_start)(DisasContextBase *db, CPUState *cpu);
134 void (*translate_insn)(DisasContextBase *db, CPUState *cpu);
135 void (*tb_stop)(DisasContextBase *db, CPUState *cpu);
136 bool (*disas_log)(const DisasContextBase *db, CPUState *cpu, FILE *f);
147 * @db: Disassembly context.
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/openbmc/poky/meta/recipes-connectivity/bind/bind/
H A Dconf.patch7 diff -urN bind-9.3.1.orig/conf/db.0 bind-9.3.1/conf/db.0
8 --- bind-9.3.1.orig/conf/db.0 1970-01-01 01:00:00.000000000 +0100
9 +++ bind-9.3.1/conf/db.0 2005-07-10 22:14:00.000000000 +0200
23 diff -urN bind-9.3.1.orig/conf/db.127 bind-9.3.1/conf/db.127
24 --- bind-9.3.1.orig/conf/db.127 1970-01-01 01:00:00.000000000 +0100
25 +++ bind-9.3.1/conf/db.127 2005-07-10 22:14:00.000000000 +0200
40 diff -urN bind-9.3.1.orig/conf/db.empty bind-9.3.1/conf/db.empty
41 --- bind-9.3.1.orig/conf/db.empty 1970-01-01 01:00:00.000000000 +0100
42 +++ bind-9.3.1/conf/db.empty 2005-07-10 22:14:00.000000000 +0200
58 diff -urN bind-9.3.1.orig/conf/db.255 bind-9.3.1/conf/db.255
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/postfix/files/
H A D0001-Fix-makedefs.patch39 - *) if [ -f /usr/include/db.h ]
40 + *) if [ -f "$BUILD_SYSROOT"/usr/include/db.h ]
43 - elif [ -f /usr/include/db/db.h ]
44 + elif [ -f "$BUILD_SYSROOT"/usr/include/db/db.h ]
46 - CCARGS="$CCARGS -I/usr/include/db"
47 + CCARGS="$CCARGS -I"$BUILD_SYSROOT"/usr/include/db"
52 echo "Install the appropriate db*-devel package first." 1>&2
88 - *) if [ -f /usr/include/db.h ]
89 + *) if [ -f "$BUILD_SYSROOT"/usr/include/db.h ]
92 - elif [ -f /usr/include/db/db.h ]
[all …]
/openbmc/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()
[all …]

12345678910>>...59