Lines Matching refs:sys_res_arcmsr

4569 			if (acb->sys_res_arcmsr[0])  in arcmsr_free_resource()
4570 bus_release_resource(acb->pci_dev, SYS_RES_MEMORY, PCIR_BAR(0), acb->sys_res_arcmsr[0]); in arcmsr_free_resource()
4573 if (acb->sys_res_arcmsr[0]) in arcmsr_free_resource()
4574 bus_release_resource(acb->pci_dev, SYS_RES_MEMORY, PCIR_BAR(0), acb->sys_res_arcmsr[0]); in arcmsr_free_resource()
4575 if (acb->sys_res_arcmsr[1]) in arcmsr_free_resource()
4576 bus_release_resource(acb->pci_dev, SYS_RES_MEMORY, PCIR_BAR(2), acb->sys_res_arcmsr[1]); in arcmsr_free_resource()
4579 if (acb->sys_res_arcmsr[0]) in arcmsr_free_resource()
4580 bus_release_resource(acb->pci_dev, SYS_RES_MEMORY, PCIR_BAR(1), acb->sys_res_arcmsr[0]); in arcmsr_free_resource()
4583 if (acb->sys_res_arcmsr[0]) in arcmsr_free_resource()
4584 bus_release_resource(acb->pci_dev, SYS_RES_MEMORY, PCIR_BAR(0), acb->sys_res_arcmsr[0]); in arcmsr_free_resource()
4587 if (acb->sys_res_arcmsr[0]) in arcmsr_free_resource()
4588 bus_release_resource(acb->pci_dev, SYS_RES_MEMORY, PCIR_BAR(1), acb->sys_res_arcmsr[0]); in arcmsr_free_resource()
4591 if (acb->sys_res_arcmsr[0]) in arcmsr_free_resource()
4592 bus_release_resource(acb->pci_dev, SYS_RES_MEMORY, PCIR_BAR(0), acb->sys_res_arcmsr[0]); in arcmsr_free_resource()
4716 acb->sys_res_arcmsr[0] = bus_alloc_resource_any(dev,SYS_RES_MEMORY, &rid0, RF_ACTIVE); in arcmsr_map_pcireg()
4717 if(acb->sys_res_arcmsr[0] == NULL) { in arcmsr_map_pcireg()
4722 if(rman_get_start(acb->sys_res_arcmsr[0]) <= 0) { in arcmsr_map_pcireg()
4727 mem_base0 = (vm_offset_t) rman_get_virtual(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4733 acb->btag[0] = rman_get_bustag(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4734 acb->bhandle[0] = rman_get_bushandle(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4745 acb->sys_res_arcmsr[i] = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid[i], RF_ACTIVE); in arcmsr_map_pcireg()
4746 if(acb->sys_res_arcmsr[i] == NULL) { in arcmsr_map_pcireg()
4751 if(rman_get_start(acb->sys_res_arcmsr[i]) <= 0) { in arcmsr_map_pcireg()
4756 mem_base[i] = (vm_offset_t) rman_get_virtual(acb->sys_res_arcmsr[i]); in arcmsr_map_pcireg()
4762 acb->btag[i] = rman_get_bustag(acb->sys_res_arcmsr[i]); in arcmsr_map_pcireg()
4763 acb->bhandle[i] = rman_get_bushandle(acb->sys_res_arcmsr[i]); in arcmsr_map_pcireg()
4775 acb->sys_res_arcmsr[0] = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid0, RF_ACTIVE); in arcmsr_map_pcireg()
4776 if(acb->sys_res_arcmsr[0] == NULL) { in arcmsr_map_pcireg()
4781 if(rman_get_start(acb->sys_res_arcmsr[0]) <= 0) { in arcmsr_map_pcireg()
4786 mem_base0 = (vm_offset_t) rman_get_virtual(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4792 acb->btag[0] = rman_get_bustag(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4793 acb->bhandle[0] = rman_get_bushandle(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4802 acb->sys_res_arcmsr[0] = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid0, RF_ACTIVE); in arcmsr_map_pcireg()
4803 if(acb->sys_res_arcmsr[0] == NULL) { in arcmsr_map_pcireg()
4808 if(rman_get_start(acb->sys_res_arcmsr[0]) <= 0) { in arcmsr_map_pcireg()
4813 mem_base0 = (vm_offset_t) rman_get_virtual(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4819 acb->btag[0] = rman_get_bustag(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4820 acb->bhandle[0] = rman_get_bushandle(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4829 acb->sys_res_arcmsr[0] = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid0, RF_ACTIVE); in arcmsr_map_pcireg()
4830 if(acb->sys_res_arcmsr[0] == NULL) { in arcmsr_map_pcireg()
4835 if(rman_get_start(acb->sys_res_arcmsr[0]) <= 0) { in arcmsr_map_pcireg()
4840 mem_base0 = (vm_offset_t) rman_get_virtual(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4846 acb->btag[0] = rman_get_bustag(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4847 acb->bhandle[0] = rman_get_bushandle(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4861 acb->sys_res_arcmsr[0] = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid0, RF_ACTIVE); in arcmsr_map_pcireg()
4862 if(acb->sys_res_arcmsr[0] == NULL) { in arcmsr_map_pcireg()
4867 if(rman_get_start(acb->sys_res_arcmsr[0]) <= 0) { in arcmsr_map_pcireg()
4872 mem_base0 = (vm_offset_t) rman_get_virtual(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4878 acb->btag[0] = rman_get_bustag(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()
4879 acb->bhandle[0] = rman_get_bushandle(acb->sys_res_arcmsr[0]); in arcmsr_map_pcireg()