Lines Matching refs:item
299 pci_info *item;
301 item = (pci_info *)malloc(sizeof(pci_info));
302 if (item == NULL)
306 if (gPCIModInfo->get_nth_pci_info(i, item) != B_OK)
309 if ((item->vendor_id == 0x10ec && item->device_id == 0x8029) // RealTek 8029
310 || (item->vendor_id == 0x1106 && item->device_id == 0x0926) // VIA
311 || (item->vendor_id == 0x4a14 && item->device_id == 0x5000) // NetVin 5000
312 || (item->vendor_id == 0x1050 && item->device_id == 0x0940) // ProLAN
313 || (item->vendor_id == 0x11f6 && item->device_id == 0x1401) // Compex
314 || (item->vendor_id == 0x8e2e && item->device_id == 0x3000)) { // KTI
316 if (item->u.h0.interrupt_line == 0 || item->u.h0.interrupt_line == 0xFF) {
321 dprintf(kDevName " found at IRQ %x ", item->u.h0.interrupt_line);
322 info[entries++] = item;
323 item = (pci_info *)malloc(sizeof(pci_info));
324 if (item == NULL)
329 free(item);
337 pci_info *item;
340 for (i = 0; (item = info[i]) != NULL; i++) {
341 free(item);
1393 void *item;
1397 for (i = 0; (item = gDevNameList[i]) != NULL; i++) {
1398 free(item);
1411 char *item;
1414 for (i = 0; (item = gDevNameList[i]) != NULL; i++) {
1415 if (!strcmp(name, item))