Lines Matching refs:pfmem
498 str = "pfmem";
753 * Input: io, mem, and/or pfmem resource to be deleted
788 type = "pfmem";
809 * case where pfmem might be in the PFMemFromMem list
829 err("cannot find corresponding mem node for pfmem...\n");
848 err("cannot find pfmem to delete...\n");
944 * This routine will check to make sure the io/mem/pfmem->len that the device asked for
1500 type = "pfmem";
1657 * pfmem out of memory buckets of the bus. If so, it will change the range numbers
1659 * Pfmem out of the pfmem resource list to the PFMemFromMem list, and will create
1701 err("Trouble...trouble... EBDA allocated pfmem from mem, but system doesn't display it has this space... unless not PCI device...\n");
1703 } /* end for pfmem */
1709 int ibmphp_add_pfmem_from_mem(struct resource_node *pfmem)
1711 struct bus_node *bus_cur = find_bus_wprev(pfmem->busno, NULL, 0);
1714 err("cannot find bus of pfmem to add...\n");
1719 pfmem->next = bus_cur->firstPFMemFromMem;
1721 pfmem->next = NULL;
1723 bus_cur->firstPFMemFromMem = pfmem;
1915 struct resource_node *pfmem;
2094 if (ibmphp_find_resource(bus_cur, start_address, &pfmem, PFMEM)) {
2095 pfmem = kzalloc(sizeof(struct resource_node), GFP_KERNEL);
2096 if (!pfmem) {
2100 pfmem->type = PFMEM;
2101 pfmem->busno = bus_cur->busno;
2102 pfmem->devfunc = ((device << 3) | (function & 0x7));
2103 pfmem->start = start_address;
2104 pfmem->end = end_address + 0xfffff;
2105 pfmem->len = pfmem->end - pfmem->start + 1;
2106 pfmem->fromMem = 0;
2108 ibmphp_add_resource(pfmem);