Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_io.c34 #define DB_IDX(db, db_base) \ argument
35 (((unsigned long)(db) - (unsigned long)(db_base)) / HINIC_DB_PAGE_SIZE)
81 return func_to_io->db_base + idx * HINIC_DB_PAGE_SIZE; in get_db_area()
85 void __iomem *db_base) in return_db_area() argument
88 int pos, idx = DB_IDX(db_base, func_to_io->db_base); in return_db_area()
275 void __iomem *db_base; in init_qp() local
296 db_base = get_db_area(func_to_io); in init_qp()
297 if (IS_ERR(db_base)) { in init_qp()
299 err = PTR_ERR(db_base); in init_qp()
303 func_to_io->sq_db[q_id] = db_base; in init_qp()
[all …]
Dhinic_hw_qp.h87 void __iomem *db_base; member
130 dma_addr_t ci_dma_addr, void __iomem *db_base);
Dhinic_hw_io.h62 void __iomem *db_base; member
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()
758 cmdq->db_base = db_area + CMDQ_DB_OFF; in init_cmdq()
Dhinic_hw_qp.c59 #define SQ_DB_ADDR(sq, pi) ((u64 *)((sq)->db_base) + SQ_DB_PI_LOW(pi))
279 void __iomem *db_base) in hinic_init_sq() argument
291 sq->db_base = db_base + SQ_DB_OFF; in hinic_init_sq()
Dhinic_hw_cmdq.h145 void __iomem *db_base; member
/Linux-v5.4/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()
321 driver_ccb->ccb_u5.db_base = hw->db_vaddr + (slot << L2_DB_SIZE); in ilo_ccb_setup()
322 ilo_ccb->ccb_u5.db_base = NULL; /* hw ccb's doorbell is not used */ in ilo_ccb_setup()
/Linux-v5.4/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c699 if (adapter->ahw.db_base != NULL) in netxen_cleanup_pci_map()
700 iounmap(adapter->ahw.db_base); in netxen_cleanup_pci_map()
714 resource_size_t mem_base, db_base; in netxen_setup_pci_map() local
790 db_base = pci_resource_start(pdev, 4); /* doorbell is on bar 4 */ in netxen_setup_pci_map()
800 db_ptr = ioremap(db_base, NETXEN_DB_MAPSIZE_BYTES); in netxen_setup_pci_map()
809 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
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_os.c5496 unsigned long mem_base, mem_len, db_base, db_len; in qla4_8xxx_iospace_config() local
5540 db_base = pci_resource_start(pdev, 4); /* doorbell is on bar 4 */ in qla4_8xxx_iospace_config()