Home
last modified time | relevance | path

Searched refs:db_base (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_io.c35 #define DB_IDX(db, db_base) \ argument
36 (((unsigned long)(db) - (unsigned long)(db_base)) / HINIC_DB_PAGE_SIZE)
84 return func_to_io->db_base + idx * HINIC_DB_PAGE_SIZE; in get_db_area()
88 void __iomem *db_base) in return_db_area() argument
91 int pos, idx = DB_IDX(db_base, func_to_io->db_base); in return_db_area()
278 void __iomem *db_base; in init_qp() local
299 db_base = get_db_area(func_to_io); in init_qp()
300 if (IS_ERR(db_base)) { in init_qp()
302 err = PTR_ERR(db_base); in init_qp()
306 func_to_io->sq_db[q_id] = db_base; in init_qp()
[all …]
Dhinic_hw_qp.h92 void __iomem *db_base; member
140 dma_addr_t ci_dma_addr, void __iomem *db_base);
Dhinic_hw_io.h77 void __iomem *db_base; member
Dhinic_hw_qp.c59 #define SQ_DB_ADDR(sq, pi) ((u64 *)((sq)->db_base) + SQ_DB_PI_LOW(pi))
284 void __iomem *db_base) in hinic_init_sq() argument
296 sq->db_base = db_base + SQ_DB_OFF; in hinic_init_sq()
Dhinic_hw_cmdq.c52 #define CMDQ_DB_ADDR(db_base, pi) ((db_base) + CMDQ_DB_PI_OFF(pi)) argument
337 writel(db_info, CMDQ_DB_ADDR(cmdq->db_base, prod_idx)); in cmdq_set_db()
765 cmdq->db_base = db_area + CMDQ_DB_OFF; in init_cmdq()
Dhinic_hw_cmdq.h155 void __iomem *db_base; member
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/
Ddcss-ctxld.c259 u32 db_base, sb_base, sb_count; in dcss_ctxld_enable_locked() local
285 db_base = db_cnt ? ctxld->db_paddr[curr_ctx] : 0; in dcss_ctxld_enable_locked()
287 dcss_writel(db_base, ctxld->ctxld_reg + DCSS_CTXLD_DB_BASE_ADDR); in dcss_ctxld_enable_locked()
/kernel/linux/linux-5.10/drivers/misc/
Dhpilo.h100 char __iomem *db_base; member
Dhpilo.c182 iowrite8(1, ccb->ccb_u5.db_base); in doorbell_set()
187 iowrite8(2, ccb->ccb_u5.db_base); in doorbell_clr()
320 driver_ccb->ccb_u5.db_base = hw->db_vaddr + (slot << L2_DB_SIZE); in ilo_ccb_setup()
321 ilo_ccb->ccb_u5.db_base = NULL; /* hw ccb's doorbell is not used */ in ilo_ccb_setup()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c694 if (adapter->ahw.db_base != NULL) in netxen_cleanup_pci_map()
695 iounmap(adapter->ahw.db_base); in netxen_cleanup_pci_map()
709 resource_size_t mem_base, db_base; in netxen_setup_pci_map() local
785 db_base = pci_resource_start(pdev, 4); /* doorbell is on bar 4 */ in netxen_setup_pci_map()
795 db_ptr = ioremap(db_base, NETXEN_DB_MAPSIZE_BYTES); in netxen_setup_pci_map()
804 adapter->ahw.db_base = db_ptr; in netxen_setup_pci_map()
Dnetxen_nic.h94 (adapter->ahw.db_base + (off))
570 void __iomem *db_base; member