| /linux/drivers/net/ethernet/dec/tulip/ |
| A D | dmfe.c | 523 pci_iounmap(db->pdev, db->ioaddr); in dmfe_remove_one() 766 db->tx_jabber_timeout, db->reset_count, db->reset_cr8, in dmfe_stop() 1212 dmfe_phy_read (db->ioaddr, db->phy_addr, 1, db->chip_id); in dmfe_timer() 1706 dmfe_phy_write(db->ioaddr, db->phy_addr, 4, phy_reg, db->chip_id); in dmfe_set_phyxcer() 1710 dmfe_phy_write(db->ioaddr, db->phy_addr, 0, 0x1800, db->chip_id); in dmfe_set_phyxcer() 1712 dmfe_phy_write(db->ioaddr, db->phy_addr, 0, 0x1200, db->chip_id); in dmfe_set_phyxcer() 2027 dmfe_phy_write(db->ioaddr, db->phy_addr, 16, db->HPNA_command, db->chip_id); in dmfe_program_DM9801() 2028 dmfe_phy_write(db->ioaddr, db->phy_addr, 17, reg17, db->chip_id); in dmfe_program_DM9801() 2029 dmfe_phy_write(db->ioaddr, db->phy_addr, 25, reg25, db->chip_id); in dmfe_program_DM9801() 2042 dmfe_phy_write(db->ioaddr, db->phy_addr, 16, db->HPNA_command, db->chip_id); in dmfe_program_DM9802() [all …]
|
| A D | uli526x.c | 335 db->buf_pool_start = db->buf_pool_ptr; in uli526x_init_one() 664 db->phy.write(db, db->phy_addr, 0, 0x8000); in uli526x_stop() 770 update_cr6(db->cr6_data, db->ioaddr); in uli526x_free_tx_pkt() 898 update_cr6(db->cr6_data, db->ioaddr); in uli526x_set_filter_mode() 1079 update_cr6(db->cr6_data, db->ioaddr); in uli526x_timer() 1275 db->tx_insert_ptr = db->first_tx_desc; in uli526x_descriptor_init() 1276 db->tx_remove_ptr = db->first_tx_desc; in uli526x_descriptor_init() 1282 db->rx_insert_ptr = db->first_rx_desc; in uli526x_descriptor_init() 1283 db->rx_ready_ptr = db->first_rx_desc; in uli526x_descriptor_init() 1549 phy->write(db, db->phy_addr, 0, 0x1200); in uli526x_set_phyxcer() [all …]
|
| /linux/drivers/net/ethernet/davicom/ |
| A D | dm9051.c | 125 netif_err(db, drv, db->ndev, "%s: error %d set reg %02x\n", in dm9051_set_reg() 137 netif_err(db, drv, db->ndev, "%s: error %d update bits reg %02x\n", in dm9051_update_bits() 274 ret = dm9051_set_regs(db, DM9051_MAR, db->rctl.hash_table, sizeof(db->rctl.hash_table)); in dm9051_set_recv() 300 return dm9051_set_reg(db, DM9051_INTCR, dm9051_intcr_value(db)); in dm9051_core_reset() 322 return dm9051_set_reg(db, DM9051_IMR, db->imr_all); /* enable int */ in dm9051_enable_interrupt() 507 db->regmap_dm = devm_regmap_init_spi(db->spidev, ®configdm); in dm9051_map_init() 723 db->bc.status_err_counter + db->bc.large_err_counter, in dm9051_all_restart() 952 memset(db->rctl.hash_table, 0, sizeof(db->rctl.hash_table)); in dm9051_open() 1005 free_irq(db->spidev->irq, db); in dm9051_stop() 1116 db->mdiobus->priv = db; in dm9051_mdio_register() [all …]
|
| A D | dm9000.c | 267 if (db->in_suspend || db->in_timeout) in dm9000_msleep() 791 mii_check_media(&db->mii, netif_msg_link(db), 0); in dm9000_poll_work() 891 iow(db, DM9000_IMR, db->imr_all); in dm9000_unmask_interrupts() 1030 (db->outblk)(db->io_data, skb->data, skb->len); in dm9000_start_xmit() 1117 (db->inblk)(db->io_data, &rxhdr, sizeof(rxhdr)); in dm9000_rx() 1166 (db->inblk)(db->io_data, rdptr, RxLen); in dm9000_rx() 1183 (db->dumpblk)(db->io_data, RxLen); in dm9000_rx() 1322 mii_check_media(&db->mii, netif_msg_link(db), 1); in dm9000_open() 1500 if (!db->addr_res || !db->data_res) { in dm9000_probe() 1502 db->addr_res, db->data_res); in dm9000_probe() [all …]
|
| /linux/drivers/net/ethernet/allwinner/ |
| A D | sun4i-emac.c | 123 if (db->duplex) in emac_update_duplex() 155 db->speed = 0; in emac_handle_link_change() 175 phydev = of_phy_connect(db->ndev, db->phy_node, in emac_mdio_probe() 186 db->link = 0; in emac_mdio_probe() 187 db->speed = 0; in emac_mdio_probe() 188 db->duplex = -1; in emac_mdio_probe() 230 req->db = db; in emac_alloc_dma_req() 246 struct emac_board_info *db = req->db; in emac_dma_done_callback() local 528 emac_reset(db); in emac_timeout() 839 emac_reset(db); in emac_open() [all …]
|
| /linux/drivers/net/ppp/ |
| A D | bsd_comp.c | 251 if (db->in_count >= db->checkpoint) in bsd_check() 256 db->in_count -= (db->in_count >> 2); in bsd_check() 257 db->bytes_out -= (db->bytes_out >> 2); in bsd_check() 260 db->checkpoint = db->in_count + CHECK_GAP; in bsd_check() 262 if (db->max_ent >= db->maxmaxcode) in bsd_check() 329 if (!db) in bsd_free() 345 kfree(db); in bsd_free() 548 #define lens_ptr(db,idx) lens_ptrx(db,idx) argument 549 #define dict_ptr(db,idx) dict_ptrx(db,idx) argument 880 db->unit, seq, db->seqno - 1); in bsd_decompress() [all …]
|
| /linux/drivers/gpu/drm/panel/ |
| A D | panel-magnachip-d53e6ea8966.c | 219 dev_err(db->dev, in d53e6ea8966_prepare() 227 if (db->enable) in d53e6ea8966_prepare() 238 db->panel_info->panel_init_seq(db); in d53e6ea8966_prepare() 273 if (db->enable) in d53e6ea8966_unprepare() 278 if (db->reg_elvdd) in d53e6ea8966_unprepare() 350 db->bl_dev = devm_backlight_device_register(dev, "panel", dev, db, in ams495qa01_backlight_register() 373 db = devm_kzalloc(dev, sizeof(*db), GFP_KERNEL); in d53e6ea8966_probe() 374 if (!db) in d53e6ea8966_probe() 379 db->dev = dev; in d53e6ea8966_probe() 432 ret = db->panel_info->backlight_register(db); in d53e6ea8966_probe() [all …]
|
| A D | panel-samsung-db7430.c | 96 db->regulators); in db7430_power_on() 169 db->regulators); in db7430_power_off() 267 struct db7430 *db; in db7430_probe() local 270 db = devm_kzalloc(dev, sizeof(*db), GFP_KERNEL); in db7430_probe() 271 if (!db) in db7430_probe() 273 db->dev = dev; in db7430_probe() 283 db->regulators); in db7430_probe() 288 if (IS_ERR(db->reset)) { in db7430_probe() 289 ret = PTR_ERR(db->reset); in db7430_probe() 305 spi_set_drvdata(spi, db); in db7430_probe() [all …]
|
| /linux/drivers/infiniband/hw/hns/ |
| A D | hns_roce_db.c | 11 struct hns_roce_db *db) in hns_roce_db_map_user() argument 46 db->u.user_page = page; in hns_roce_db_map_user() 115 db->u.pgdir = pgdir; in hns_roce_alloc_db_from_pgdir() 116 db->index = i; in hns_roce_alloc_db_from_pgdir() 117 db->db_record = pgdir->page + db->index; in hns_roce_alloc_db_from_pgdir() 118 db->dma = pgdir->db_dma + db->index * HNS_ROCE_DB_UNIT_SIZE; in hns_roce_alloc_db_from_pgdir() 119 db->order = order; in hns_roce_alloc_db_from_pgdir() 160 o = db->order; in hns_roce_free_db() 161 i = db->index; in hns_roce_free_db() 163 if (db->order == 0 && test_bit(i ^ 1, db->u.pgdir->order0)) { in hns_roce_free_db() [all …]
|
| /linux/arch/powerpc/platforms/ps3/ |
| A D | os-area.c | 420 if (!i->db) { in db_for_each_64() 421 i->db = db; in db_for_each_64() 423 i->idx = (void *)db + db->index_64; in db_for_each_64() 425 i->value_64 = (void *)db + db->index_64 in db_for_each_64() 451 for (i.db = NULL; db_for_each_64(db, id, &i); ) { in db_delete_64() 481 i.db = NULL; in db_set_64() 507 i.db = NULL; in db_get_64() 529 dump_field(str, db->magic_num, sizeof(db->magic_num)); in _dump_db() 533 db->version); in _dump_db() 642 dump_db(db); in update_flash_db() [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| A D | nfp_hwinfo.c | 159 u8 *db; in hwinfo_try_fetch() local 182 if (!db) in hwinfo_try_fetch() 189 header = (void *)db; in hwinfo_try_fetch() 200 db[*cpp_size] = '\0'; in hwinfo_try_fetch() 202 return (void *)db; in hwinfo_try_fetch() 204 kfree(db); in hwinfo_try_fetch() 218 if (db) in hwinfo_fetch() 219 return db; in hwinfo_fetch() 236 if (!db) in nfp_hwinfo_read() 241 kfree(db); in nfp_hwinfo_read() [all …]
|
| /linux/tools/perf/scripts/python/ |
| A 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"] = [] 702 if tid not in db["tid"]: 703 db["tid"][tid] = [] 710 if cpu not in db["cpu"]: 711 db["cpu"][cpu] = [] [all …]
|
| /linux/net/dsa/ |
| A D | trace.h | 27 const struct dsa_db *db, int err), 29 TP_ARGS(dp, addr, vid, db, err), 47 dsa_db_print(db, __entry->db_buf); 106 dsa_db_print(db, __entry->db_buf); 146 const struct dsa_db *db), 148 TP_ARGS(dp, addr, vid, db), 165 dsa_db_print(db, __entry->db_buf); 179 TP_ARGS(dp, addr, vid, db)); 184 TP_ARGS(dp, addr, vid, db)); 205 dsa_db_print(db, __entry->db_buf); [all …]
|
| A D | switch.c | 152 dsa_db_equal(&a->db, &db)) in dsa_mac_addr_find() 160 struct dsa_db db) in dsa_port_do_mdb_add() argument 200 a->db = db; in dsa_port_do_mdb_add() 212 struct dsa_db db) in dsa_port_do_mdb_del() argument 298 a->db = db; in dsa_port_do_fdb_add() 356 struct dsa_db db) in dsa_switch_do_lag_fdb_add() argument 386 a->db = db; in dsa_switch_do_lag_fdb_add() 449 info->db); in dsa_switch_host_fdb_add() 477 info->db); in dsa_switch_host_fdb_del() 527 info->db); in dsa_switch_lag_fdb_add() [all …]
|
| A D | trace.c | 8 void dsa_db_print(const struct dsa_db *db, char buf[DSA_DB_BUFSIZ]) in dsa_db_print() argument 10 switch (db->type) { in dsa_db_print() 12 sprintf(buf, "port %s", db->dp->name); in dsa_db_print() 15 sprintf(buf, "lag %s id %d", db->lag.dev->name, db->lag.id); in dsa_db_print() 18 sprintf(buf, "bridge %s num %d", db->bridge.dev->name, in dsa_db_print() 19 db->bridge.num); in dsa_db_print()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | alloc.c | 163 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() 178 db->db = pgdir->db_page + offset / sizeof(*pgdir->db_page); 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() 222 __set_bit(db->index, db->u.pgdir->bitmap); in mlx5_db_free() 226 db->u.pgdir->db_page, db->u.pgdir->db_dma); in mlx5_db_free() 227 list_del(&db->u.pgdir->list); in mlx5_db_free() 228 bitmap_free(db->u.pgdir->bitmap); in mlx5_db_free() [all …]
|
| A 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() 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() 174 wq->db = wq_ctrl->db.db; in mlx5_cqwq_create() 192 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_cqwq_create() 225 wq->db = wq_ctrl->db.db; in mlx5_wq_ll_create() 242 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_wq_ll_create() [all …]
|
| /linux/lib/ |
| A D | debugobjects.c | 624 struct debug_bucket *db; in __debug_object_init() local 697 struct debug_bucket *db; in debug_object_activate() local 754 struct debug_bucket *db; in debug_object_deactivate() local 765 obj = lookup_object(addr, db); in debug_object_deactivate() 797 struct debug_bucket *db; in debug_object_destroy() local 844 struct debug_bucket *db; in debug_object_free() local 886 struct debug_bucket *db; in debug_object_assert_init() local 927 struct debug_bucket *db; in debug_object_active_state() local 964 struct debug_bucket *db; in __debug_check_no_obj_freed() local 974 db = get_bucket(paddr); in __debug_check_no_obj_freed() [all …]
|
| /linux/security/integrity/platform_certs/ |
| A D | load_uefi.c | 54 unsigned int db = 0; in uefi_check_ignore_db() local 55 unsigned long size = sizeof(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() 87 kfree(db); in get_cert_list() 93 return db; in get_cert_list() 164 void *db = NULL, *dbx = NULL, *mokx = NULL; in load_uefi_certs() local 184 if (!db) { in load_uefi_certs() 191 db, dbsize, get_handler_for_db); in load_uefi_certs() [all …]
|
| A D | load_powerpc.c | 18 #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 99 extract_esl(db, data, dsize, offset); in load_powerpc_certs() [all …]
|
| /linux/drivers/mailbox/ |
| A D | tegra-hsp.c | 180 return db; in tegra_hsp_doorbell_get() 190 if (!db) in tegra_hsp_doorbell_irq() 213 if (db && db->channel.chan) in tegra_hsp_doorbell_irq() 277 db = devm_kzalloc(hsp->dev, sizeof(*db), GFP_KERNEL); in tegra_hsp_doorbell_create() 278 if (!db) in tegra_hsp_doorbell_create() 285 db->channel.hsp = hsp; in tegra_hsp_doorbell_create() 288 db->master = master; in tegra_hsp_doorbell_create() 289 db->index = index; in tegra_hsp_doorbell_create() 295 return &db->channel; in tegra_hsp_doorbell_create() 318 db->master); in tegra_hsp_doorbell_startup() [all …]
|
| /linux/drivers/net/ethernet/tehuti/ |
| A D | tehuti.c | 919 vfree(db); in bdx_rxdb_destroy() 931 db->stack = (int *)(db + 1); in bdx_rxdb_create() 932 db->elems = (void *)(db->stack + nelem); in bdx_rxdb_create() 940 return db; in bdx_rxdb_create() 946 return db->stack[--(db->top)]; in bdx_rxdb_alloc_elem() 957 return db->top; in bdx_rxdb_available() 963 db->stack[(db->top)++] = n; in bdx_rxdb_free_elem() 1026 db->nelem - bdx_rxdb_available(db)); in bdx_rx_free_skbs() 1388 __bdx_tx_db_ptr_next(db, &db->rptr); in bdx_tx_db_inc_rptr() 1397 __bdx_tx_db_ptr_next(db, &db->wptr); in bdx_tx_db_inc_wptr() [all …]
|
| A D | tn40.c | 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() 86 return db; in tn40_rxdb_alloc() 96 return db->stack[--db->top]; in tn40_rxdb_alloc_elem() 111 db->stack[db->top++] = n; in tn40_rxdb_free_elem() 184 db->nelem - tn40_rxdb_available(db)); in tn40_rx_free_buffers() 468 tn40_do_tx_db_ptr_next(db, &db->rptr); in tn40_tx_db_inc_rptr() 473 tn40_do_tx_db_ptr_next(db, &db->wptr); in tn40_tx_db_inc_wptr() 847 db->rptr->addr.skb, -db->rptr->len); in tn40_tx_cleanup() [all …]
|
| /linux/arch/arm64/boot/dts/marvell/ |
| A D | Makefile | 3 dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-db.dtb 13 dtb-$(CONFIG_ARCH_MVEBU) += armada-7040-db.dtb 16 dtb-$(CONFIG_ARCH_MVEBU) += armada-8040-db.dtb 20 dtb-$(CONFIG_ARCH_MVEBU) += armada-8080-db.dtb 21 dtb-$(CONFIG_ARCH_MVEBU) += cn9130-db.dtb 22 dtb-$(CONFIG_ARCH_MVEBU) += cn9130-db-B.dtb 23 dtb-$(CONFIG_ARCH_MVEBU) += cn9131-db.dtb 24 dtb-$(CONFIG_ARCH_MVEBU) += cn9131-db-B.dtb 25 dtb-$(CONFIG_ARCH_MVEBU) += cn9132-db.dtb 26 dtb-$(CONFIG_ARCH_MVEBU) += cn9132-db-B.dtb
|
| /linux/drivers/infiniband/hw/mlx5/ |
| A D | doorbell.c | 49 struct mlx5_db *db) in mlx5_ib_db_map_user() argument 82 db->dma = sg_dma_address(page->umem->sgt_append.sgt.sgl) + in mlx5_ib_db_map_user() 84 db->u.user_page = page; in mlx5_ib_db_map_user() 93 void mlx5_ib_db_unmap_user(struct mlx5_ib_ucontext *context, struct mlx5_db *db) in mlx5_ib_db_unmap_user() argument 97 if (!--db->u.user_page->refcnt) { in mlx5_ib_db_unmap_user() 98 list_del(&db->u.user_page->list); in mlx5_ib_db_unmap_user() 99 mmdrop(db->u.user_page->mm); in mlx5_ib_db_unmap_user() 100 ib_umem_release(db->u.user_page->umem); in mlx5_ib_db_unmap_user() 101 kfree(db->u.user_page); in mlx5_ib_db_unmap_user()
|