Lines Matching refs:found
371 int32 found = 0;
373 for (int32 cookie = 0; found < MAX_CARDS;) {
392 gDeviceNames[found] = strdup(name);
393 if (gDeviceNames[found] == NULL)
396 gDeviceInfo[found] = (intel_info*)malloc(sizeof(intel_info));
397 if (gDeviceInfo[found] == NULL) {
398 free(gDeviceNames[found]);
404 memset(gDeviceInfo[found], 0, sizeof(intel_info));
405 gDeviceInfo[found]->init_status = B_NO_INIT;
406 gDeviceInfo[found]->id = found;
407 gDeviceInfo[found]->pci = info;
408 gDeviceInfo[found]->registers = info->u.h0.base_registers[0];
409 gDeviceInfo[found]->device_identifier = kSupportedDevices[type].name;
410 gDeviceInfo[found]->device_type = kSupportedDevices[type].type;
411 gDeviceInfo[found]->pch_info = pchInfo;
413 dprintf(DEVICE_NAME ": (%" B_PRId32 ") %s, revision = 0x%x\n", found,
416 found++;
419 gDeviceNames[found] = NULL;
421 if (found == 0) {