Searched refs:pci_base0 (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hw.c | 34 ((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 …]
|
D | netxen_nic_main.c | 697 if (adapter->ahw.pci_base0 != NULL) in netxen_cleanup_pci_map() 698 iounmap(adapter->ahw.pci_base0); in netxen_cleanup_pci_map() 733 ahw->pci_base0 = ioremap(mem_base, FIRST_PAGE_GROUP_SIZE); in netxen_setup_pci_map() 738 if (ahw->pci_base0 == NULL || ahw->pci_base1 == NULL || in netxen_setup_pci_map() 760 ahw->pci_base0 = pci_ioremap_bar(pdev, 0); in netxen_setup_pci_map() 761 if (ahw->pci_base0 == NULL) { in netxen_setup_pci_map()
|
D | netxen_nic.h | 567 void __iomem *pci_base0; member
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.h | 39 readl(((a)->ahw->pci_base0) + ((a)->ahw->reg_tbl[addr])) 43 writel(value, ((a)->ahw->pci_base0) + ((a)->ahw->reg_tbl[addr])) 47 readl(((ahw)->pci_base0) + ((ahw)->ext_reg_tbl[addr])) 51 writel(value, (((ahw)->pci_base0) + ((ahw)->ext_reg_tbl[addr])))
|
D | qlcnic_hw.c | 359 qlcnic_read_window_reg(addr, adapter->ahw->pci_base0, &data); in qlcnic_ind_rd() 373 qlcnic_write_window_reg(addr, adapter->ahw->pci_base0, data); in qlcnic_ind_wr() 1130 *addr = ahw->pci_base0 + m->start_2M + in qlcnic_pci_get_crb_addr_2M() 1138 *addr = ahw->pci_base0 + CRB_INDIRECT_2M + (off & MASK(16)); in qlcnic_pci_get_crb_addr_2M() 1151 void __iomem *addr = adapter->ahw->pci_base0 + CRB_WINDOW_2M; in qlcnic_pci_set_crbwindow_2M() 1257 addr = adapter->ahw->pci_base0 + start; in qlcnic_pci_mem_access_direct() 1275 void __iomem *addr = adapter->ahw->pci_base0 + in qlcnic_pci_camqm_read_2M() 1286 void __iomem *addr = adapter->ahw->pci_base0 + in qlcnic_pci_camqm_write_2M() 1596 msix_base_addr = adapter->ahw->pci_base0 + QLCNIC_MSIX_BASE; in qlcnic_82xx_get_func_no()
|
D | qlcnic_83xx_hw.c | 289 base = adapter->ahw->pci_base0 + in __qlcnic_set_win_base() 337 adapter->tgt_status_reg = ahw->pci_base0 + QLC_83XX_INTX_PTR; in qlcnic_83xx_enable_legacy() 338 adapter->tgt_mask_reg = ahw->pci_base0 + QLC_83XX_INTX_MASK; in qlcnic_83xx_enable_legacy() 339 adapter->isr_int_vec = ahw->pci_base0 + QLC_83XX_INTX_TRGR; in qlcnic_83xx_enable_legacy() 438 writel(0, adapter->ahw->pci_base0 + mask); in qlcnic_83xx_enable_legacy_msix_mbx_intr() 446 writel(1, adapter->ahw->pci_base0 + mask); in qlcnic_83xx_disable_mbx_intr() 642 addr = ahw->pci_base0 + QLC_83XX_SEM_LOCK_FUNC(ahw->pci_func); in qlcnic_83xx_cam_lock() 662 addr = ahw->pci_base0 + QLC_83XX_SEM_UNLOCK_FUNC(ahw->pci_func); in qlcnic_83xx_cam_unlock() 1129 sds->crb_sts_consumer = ahw->pci_base0 + in qlcnic_83xx_add_rings() 1136 sds->crb_intr_mask = ahw->pci_base0 + intr_mask; in qlcnic_83xx_add_rings() [all …]
|
D | qlcnic_83xx_hw.h | 350 #define QLCNIC_MBX_HOST(ahw, i) ((ahw)->pci_base0 + ((i) * 4)) 351 #define QLCNIC_MBX_FW(ahw, i) ((ahw)->pci_base0 + 0x800 + ((i) * 4))
|
D | qlcnic_ctx.c | 357 rds_ring->crb_rcv_producer = ahw->pci_base0 + reg; in qlcnic_82xx_fw_cmd_create_rx_ctx() 371 sds_ring->crb_intr_mask = ahw->pci_base0 + reg2; in qlcnic_82xx_fw_cmd_create_rx_ctx() 372 sds_ring->crb_sts_consumer = ahw->pci_base0 + reg; in qlcnic_82xx_fw_cmd_create_rx_ctx() 495 tx_ring->crb_cmd_producer = adapter->ahw->pci_base0 + temp; in qlcnic_82xx_fw_cmd_create_tx_ctx() 502 tx_ring->crb_intr_mask = ahw->pci_base0 + intr_mask; in qlcnic_82xx_fw_cmd_create_tx_ctx()
|
D | qlcnic_main.c | 932 if (ahw->pci_base0 != NULL) in qlcnic_cleanup_pci_map() 933 iounmap(ahw->pci_base0); in qlcnic_cleanup_pci_map() 1172 ahw->pci_base0 = mem_ptr0; in qlcnic_setup_pci_map()
|
D | qlcnic_sysfs.c | 491 op_mode = readl(ahw->pci_base0 + QLCNIC_DRV_OP_MODE); in validate_esw_config()
|
D | qlcnic_minidump.c | 549 addr = adapter->ahw->pci_base0 + ocm->read_addr; in qlcnic_dump_ocm()
|
D | qlcnic.h | 468 void __iomem *pci_base0; member
|