Lines Matching refs:this_library
95 SCIC_SDS_LIBRARY_T *this_library; in scic_library_construct() local
97 this_library = (SCIC_SDS_LIBRARY_T *)library_memory; in scic_library_construct()
99 this_library->max_controller_count = max_controller_count; in scic_library_construct()
101 this_library->controllers = in scic_library_construct()
104 SCI_BASE_LIBRARY_CONSTRUCT(this_library, in scic_library_construct()
105 &this_library->parent, in scic_library_construct()
109 return this_library; in scic_library_construct()
119 SCIC_SDS_LIBRARY_T *this_library; in scic_library_set_pci_info() local
120 this_library = (SCIC_SDS_LIBRARY_T *)library; in scic_library_set_pci_info()
122 this_library->pci_device = pci_header->device_id; in scic_library_set_pci_info()
125 this_library->pci_revision = SCIC_SDS_PCI_REVISION_A0; in scic_library_set_pci_info()
127 this_library->pci_revision = SCIC_SDS_PCI_REVISION_A2; in scic_library_set_pci_info()
129 this_library->pci_revision = SCIC_SDS_PCI_REVISION_B0; in scic_library_set_pci_info()
136 this_library->pci_revision = SCIC_SDS_PCI_REVISION_A2; in scic_library_set_pci_info()
138 this_library->pci_revision = pci_header->revision; in scic_library_set_pci_info()
150 SCIC_SDS_LIBRARY_T *this_library; in scic_library_allocate_controller() local
152 this_library = (SCIC_SDS_LIBRARY_T *)library; in scic_library_allocate_controller()
155 ( (this_library->pci_device >= 0x1D60) in scic_library_allocate_controller()
156 && (this_library->pci_device <= 0x1D62) in scic_library_allocate_controller()
158 || ( (this_library->pci_device >= 0x1D64) in scic_library_allocate_controller()
159 && (this_library->pci_device <= 0x1D65) in scic_library_allocate_controller()
161 || ( (this_library->pci_device >= 0x1D68) in scic_library_allocate_controller()
162 && (this_library->pci_device <= 0x1D6F) in scic_library_allocate_controller()
167 this_library, new_controller, &status); in scic_library_allocate_controller()
183 SCIC_SDS_LIBRARY_T *this_library; in scic_library_free_controller() local
184 this_library = (SCIC_SDS_LIBRARY_T *)library; in scic_library_free_controller()
187 this_library, controller, struct SCIC_SDS_CONTROLLER, &status); in scic_library_free_controller()
198 SCIC_SDS_LIBRARY_T *this_library; in scic_library_get_pci_device_controller_count() local
201 this_library = (SCIC_SDS_LIBRARY_T *)library; in scic_library_get_pci_device_controller_count()
202 device_id = this_library->pci_device; in scic_library_get_pci_device_controller_count()
212 (this_library->pci_revision == SCU_PBG_HBA_REV_B0) in scic_library_get_pci_device_controller_count()
213 || (this_library->pci_revision == SCU_PBG_HBA_REV_C0) in scic_library_get_pci_device_controller_count()
214 || (this_library->pci_revision == SCU_PBG_HBA_REV_C1) in scic_library_get_pci_device_controller_count()