Lines Matching refs:ahw

783 		*addr = adapter->ahw.pci_base0 + m->start_2M +  in qlcnic_pci_get_crb_addr_2M()
791 *addr = adapter->ahw.pci_base0 + CRB_INDIRECT_2M + (off & MASK(16)); in qlcnic_pci_get_crb_addr_2M()
804 void __iomem *addr = adapter->ahw.pci_base0 + CRB_WINDOW_2M; in qlcnic_pci_set_crbwindow_2M()
841 write_lock_irqsave(&adapter->ahw.crb_lock, flags); in qlcnic_hw_write_wx_2M()
847 write_unlock_irqrestore(&adapter->ahw.crb_lock, flags); in qlcnic_hw_write_wx_2M()
872 write_lock_irqsave(&adapter->ahw.crb_lock, flags); in qlcnic_hw_read_wx_2M()
877 write_unlock_irqrestore(&adapter->ahw.crb_lock, flags); in qlcnic_hw_read_wx_2M()
907 writel(window, adapter->ahw.ocm_win_crb); in qlcnic_pci_set_window_2M()
909 readl(adapter->ahw.ocm_win_crb); in qlcnic_pci_set_window_2M()
923 mutex_lock(&adapter->ahw.mem_lock); in qlcnic_pci_mem_access_direct()
929 addr = adapter->ahw.pci_base0 + start; in qlcnic_pci_mem_access_direct()
937 mutex_unlock(&adapter->ahw.mem_lock); in qlcnic_pci_mem_access_direct()
945 void __iomem *addr = adapter->ahw.pci_base0 + in qlcnic_pci_camqm_read_2M()
948 mutex_lock(&adapter->ahw.mem_lock); in qlcnic_pci_camqm_read_2M()
950 mutex_unlock(&adapter->ahw.mem_lock); in qlcnic_pci_camqm_read_2M()
956 void __iomem *addr = adapter->ahw.pci_base0 + in qlcnic_pci_camqm_write_2M()
959 mutex_lock(&adapter->ahw.mem_lock); in qlcnic_pci_camqm_write_2M()
961 mutex_unlock(&adapter->ahw.mem_lock); in qlcnic_pci_camqm_write_2M()
1000 mutex_lock(&adapter->ahw.mem_lock); in qlcnic_pci_mem_write_2M()
1052 mutex_unlock(&adapter->ahw.mem_lock); in qlcnic_pci_mem_write_2M()
1094 mutex_lock(&adapter->ahw.mem_lock); in qlcnic_pci_mem_read_2M()
1124 mutex_unlock(&adapter->ahw.mem_lock); in qlcnic_pci_mem_read_2M()
1148 adapter->ahw.board_type = board_type; in qlcnic_get_board_info()
1167 adapter->ahw.port_type = QLCNIC_XGBE; in qlcnic_get_board_info()
1172 adapter->ahw.port_type = QLCNIC_GBE; in qlcnic_get_board_info()
1175 adapter->ahw.port_type = (adapter->portnum < 2) ? in qlcnic_get_board_info()
1180 adapter->ahw.port_type = QLCNIC_XGBE; in qlcnic_get_board_info()