Lines Matching refs:found
190 int32 found = 0;
192 for (int32 cookie = 0; found < MAX_CARDS;) {
211 gDeviceNames[found] = strdup(name);
212 if (gDeviceNames[found] == NULL)
215 gDeviceInfo[found] = (intel_info*)malloc(sizeof(intel_info));
216 if (gDeviceInfo[found] == NULL) {
217 free(gDeviceNames[found]);
223 memset(gDeviceInfo[found], 0, sizeof(intel_info));
224 gDeviceInfo[found]->init_status = B_NO_INIT;
225 gDeviceInfo[found]->id = found;
226 gDeviceInfo[found]->pci = info;
227 gDeviceInfo[found]->registers = (uint8*)info->u.h0.base_registers[0];
228 gDeviceInfo[found]->device_identifier = kSupportedDevices[type].name;
229 gDeviceInfo[found]->device_type = kSupportedDevices[type].type;
231 dprintf(DEVICE_NAME ": (%ld) %s, revision = 0x%x\n", found,
234 found++;
237 gDeviceNames[found] = NULL;
239 if (found == 0) {