Lines Matching refs:amount_needed
558 struct res_needed *amount_needed = NULL; in configure_bridge() local
772 amount_needed = scan_behind_bridge(func, sec_number); in configure_bridge()
773 if (amount_needed == NULL) in configure_bridge()
778 debug("amount_needed->not_correct = %x\n", amount_needed->not_correct); in configure_bridge()
779 debug("amount_needed->io = %x\n", amount_needed->io); in configure_bridge()
780 debug("amount_needed->mem = %x\n", amount_needed->mem); in configure_bridge()
781 debug("amount_needed->pfmem = %x\n", amount_needed->pfmem); in configure_bridge()
783 if (amount_needed->not_correct) { in configure_bridge()
798 kfree(amount_needed); in configure_bridge()
802 if (!amount_needed->io) { in configure_bridge()
806 debug("it wants %x IO behind the bridge\n", amount_needed->io); in configure_bridge()
816 io->len = amount_needed->io; in configure_bridge()
824 if (!amount_needed->mem) { in configure_bridge()
828 debug("it wants %x memory behind the bridge\n", amount_needed->mem); in configure_bridge()
837 mem->len = amount_needed->mem; in configure_bridge()
845 if (!amount_needed->pfmem) { in configure_bridge()
849 debug("it wants %x pfmemory behind the bridge\n", amount_needed->pfmem); in configure_bridge()
858 pfmem->len = amount_needed->pfmem; in configure_bridge()
912 kfree(amount_needed); in configure_bridge()
999 if (amount_needed->devices[i]) { in configure_bridge()
1008 kfree(amount_needed); in configure_bridge()
1018 kfree(amount_needed); in configure_bridge()