Lines Matching defs:newfunc
74 struct pci_func *newfunc; /* for multi devices */
155 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL);
156 if (!newfunc)
159 newfunc->busno = cur_func->busno;
160 newfunc->device = device;
161 cur_func->next = newfunc;
162 cur_func = newfunc;
164 newfunc->irq[j] = cur_func->irq[j];
192 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL);
193 if (!newfunc)
196 newfunc->busno = sec_number;
197 newfunc->device = (u8) i;
199 newfunc->irq[j] = cur_func->irq[j];
203 prev_func->next = newfunc;
205 cur_func->next = newfunc;
207 rc = ibmphp_configure_card(newfunc, slotno);
219 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL);
220 if (!newfunc)
223 newfunc->busno = cur_func->busno;
224 newfunc->device = device;
226 newfunc->irq[j] = cur_func->irq[j];
228 prev_func->next = newfunc;
229 cur_func = newfunc;
264 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL);
265 if (!newfunc)
268 newfunc->busno = sec_number;
269 newfunc->device = (u8) i;
271 newfunc->irq[j] = cur_func->irq[j];
275 prev_func->next = newfunc;
277 cur_func->next = newfunc;
279 rc = ibmphp_configure_card(newfunc, slotno);