Lines Matching refs:bus_pfmem

588 	struct resource_node *bus_pfmem[2] = {NULL, NULL};  in configure_bridge()  local
708 bus_pfmem[count] = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in configure_bridge()
709 if (!bus_pfmem[count]) { in configure_bridge()
714 memset (bus_pfmem[count], 0, sizeof (struct resource_node)); in configure_bridge()
715 bus_pfmem[count]->type = PFMEM; in configure_bridge()
716 bus_pfmem[count]->busno = func->busno; in configure_bridge()
717 bus_pfmem[count]->devfunc = ((func->device << 3) | (func->function & 0x7)); in configure_bridge()
718 bus_pfmem[count]->len = len[count]; in configure_bridge()
719 bus_pfmem[count]->fromMem = FALSE; in configure_bridge()
720 if (ibmphp_check_resource (bus_pfmem[count], 0) == 0) { in configure_bridge()
721 ibmphp_add_resource (bus_pfmem[count]); in configure_bridge()
722 func->pfmem[count] = bus_pfmem[count]; in configure_bridge()
732 mem_tmp->busno = bus_pfmem[count]->busno; in configure_bridge()
733 mem_tmp->devfunc = bus_pfmem[count]->devfunc; in configure_bridge()
734 mem_tmp->len = bus_pfmem[count]->len; in configure_bridge()
737 bus_pfmem[count]->fromMem = TRUE; in configure_bridge()
738 bus_pfmem[count]->rangeno = mem_tmp->rangeno; in configure_bridge()
739 ibmphp_add_pfmem_from_mem (bus_pfmem[count]); in configure_bridge()
740 func->pfmem[count] = bus_pfmem[count]; in configure_bridge()
745 kfree (bus_pfmem[count]); in configure_bridge()
818 } else if (bus_pfmem[count]) { in configure_bridge()
819 ibmphp_remove_resource (bus_pfmem[count]); in configure_bridge()
1067 } else if (bus_pfmem[i]) { in configure_bridge()
1068 ibmphp_remove_resource (bus_pfmem[i]); in configure_bridge()