Home
last modified time | relevance | path

Searched refs:pci_base0 (Results 1 – 12 of 12) sorted by relevance

/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c34 ((adapter)->ahw.pci_base0 + (off))
1101 *addr = adapter->ahw.pci_base0 + m->start_2M + in netxen_nic_pci_get_crb_addr_2M()
1109 *addr = adapter->ahw.pci_base0 + CRB_INDIRECT_2M + in netxen_nic_pci_get_crb_addr_2M()
1123 void __iomem *addr = adapter->ahw.pci_base0 + CRB_WINDOW_2M; in netxen_nic_pci_set_crbwindow_2M()
1381 addr = adapter->ahw.pci_base0 + start; in netxen_nic_pci_mem_access_direct()
1414 void __iomem *addr = adapter->ahw.pci_base0 + in netxen_pci_camqm_read_2M()
1425 void __iomem *addr = adapter->ahw.pci_base0 + in netxen_pci_camqm_write_2M()
1951 adapter->ahw.pci_base0, in netxen_md_cntrl()
1956 adapter->ahw.pci_base0, in netxen_md_cntrl()
1959 adapter->ahw.pci_base0, in netxen_md_cntrl()
[all …]
Dnetxen_nic_main.c701 if (adapter->ahw.pci_base0 != NULL) in netxen_cleanup_pci_map()
702 iounmap(adapter->ahw.pci_base0); in netxen_cleanup_pci_map()
737 ahw->pci_base0 = ioremap(mem_base, FIRST_PAGE_GROUP_SIZE); in netxen_setup_pci_map()
742 if (ahw->pci_base0 == NULL || ahw->pci_base1 == NULL || in netxen_setup_pci_map()
764 ahw->pci_base0 = pci_ioremap_bar(pdev, 0); in netxen_setup_pci_map()
765 if (ahw->pci_base0 == NULL) { in netxen_setup_pci_map()
Dnetxen_nic.h567 void __iomem *pci_base0; member
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.h40 readl(((a)->ahw->pci_base0) + ((a)->ahw->reg_tbl[addr]))
44 writel(value, ((a)->ahw->pci_base0) + ((a)->ahw->reg_tbl[addr]))
48 readl(((ahw)->pci_base0) + ((ahw)->ext_reg_tbl[addr]))
52 writel(value, (((ahw)->pci_base0) + ((ahw)->ext_reg_tbl[addr])))
Dqlcnic_hw.c360 qlcnic_read_window_reg(addr, adapter->ahw->pci_base0, &data); in qlcnic_ind_rd()
374 qlcnic_write_window_reg(addr, adapter->ahw->pci_base0, data); in qlcnic_ind_wr()
1135 *addr = ahw->pci_base0 + m->start_2M + in qlcnic_pci_get_crb_addr_2M()
1143 *addr = ahw->pci_base0 + CRB_INDIRECT_2M + (off & MASK(16)); in qlcnic_pci_get_crb_addr_2M()
1156 void __iomem *addr = adapter->ahw->pci_base0 + CRB_WINDOW_2M; in qlcnic_pci_set_crbwindow_2M()
1262 addr = adapter->ahw->pci_base0 + start; in qlcnic_pci_mem_access_direct()
1280 void __iomem *addr = adapter->ahw->pci_base0 + in qlcnic_pci_camqm_read_2M()
1291 void __iomem *addr = adapter->ahw->pci_base0 + in qlcnic_pci_camqm_write_2M()
1601 msix_base_addr = adapter->ahw->pci_base0 + QLCNIC_MSIX_BASE; in qlcnic_82xx_get_func_no()
Dqlcnic_83xx_hw.c290 base = adapter->ahw->pci_base0 + in __qlcnic_set_win_base()
338 adapter->tgt_status_reg = ahw->pci_base0 + QLC_83XX_INTX_PTR; in qlcnic_83xx_enable_legacy()
339 adapter->tgt_mask_reg = ahw->pci_base0 + QLC_83XX_INTX_MASK; in qlcnic_83xx_enable_legacy()
340 adapter->isr_int_vec = ahw->pci_base0 + QLC_83XX_INTX_TRGR; in qlcnic_83xx_enable_legacy()
439 writel(0, adapter->ahw->pci_base0 + mask); in qlcnic_83xx_enable_legacy_msix_mbx_intr()
447 writel(1, adapter->ahw->pci_base0 + mask); in qlcnic_83xx_disable_mbx_intr()
643 addr = ahw->pci_base0 + QLC_83XX_SEM_LOCK_FUNC(ahw->pci_func); in qlcnic_83xx_cam_lock()
664 addr = ahw->pci_base0 + QLC_83XX_SEM_UNLOCK_FUNC(ahw->pci_func); in qlcnic_83xx_cam_unlock()
1125 sds->crb_sts_consumer = ahw->pci_base0 + in qlcnic_83xx_add_rings()
1132 sds->crb_intr_mask = ahw->pci_base0 + intr_mask; in qlcnic_83xx_add_rings()
[all …]
Dqlcnic_83xx_hw.h351 #define QLCNIC_MBX_HOST(ahw, i) ((ahw)->pci_base0 + ((i) * 4))
352 #define QLCNIC_MBX_FW(ahw, i) ((ahw)->pci_base0 + 0x800 + ((i) * 4))
Dqlcnic_ctx.c358 rds_ring->crb_rcv_producer = ahw->pci_base0 + reg; in qlcnic_82xx_fw_cmd_create_rx_ctx()
372 sds_ring->crb_intr_mask = ahw->pci_base0 + reg2; in qlcnic_82xx_fw_cmd_create_rx_ctx()
373 sds_ring->crb_sts_consumer = ahw->pci_base0 + reg; in qlcnic_82xx_fw_cmd_create_rx_ctx()
496 tx_ring->crb_cmd_producer = adapter->ahw->pci_base0 + temp; in qlcnic_82xx_fw_cmd_create_tx_ctx()
503 tx_ring->crb_intr_mask = ahw->pci_base0 + intr_mask; in qlcnic_82xx_fw_cmd_create_tx_ctx()
Dqlcnic_main.c955 if (ahw->pci_base0 != NULL) in qlcnic_cleanup_pci_map()
956 iounmap(ahw->pci_base0); in qlcnic_cleanup_pci_map()
1195 ahw->pci_base0 = mem_ptr0; in qlcnic_setup_pci_map()
Dqlcnic_minidump.c550 addr = adapter->ahw->pci_base0 + ocm->read_addr; in qlcnic_dump_ocm()
Dqlcnic_sysfs.c492 op_mode = readl(ahw->pci_base0 + QLCNIC_DRV_OP_MODE); in validate_esw_config()
Dqlcnic.h469 void __iomem *pci_base0; member