Lines Matching full:amount
1071 * This function adds up the amount of resources needed behind the PPB bridge
1074 * Ouput: amount of resources needed
1095 struct res_needed *amount; in scan_behind_bridge() local
1097 amount = kzalloc(sizeof(*amount), GFP_KERNEL); in scan_behind_bridge()
1098 if (amount == NULL) in scan_behind_bridge()
1106 amount->devices[device] = 0; in scan_behind_bridge()
1122 amount->not_correct = 1; in scan_behind_bridge()
1123 return amount; in scan_behind_bridge()
1130 amount->not_correct = 1; in scan_behind_bridge()
1131 return amount; in scan_behind_bridge()
1135 amount->not_correct = 1; in scan_behind_bridge()
1136 return amount; in scan_behind_bridge()
1139 amount->devices[device] = 1; in scan_behind_bridge()
1166 amount->io += len[count]; in scan_behind_bridge()
1173 amount->pfmem += len[count]; in scan_behind_bridge()
1182 amount->mem += len[count]; in scan_behind_bridge()
1195 amount->not_correct = 1; in scan_behind_bridge()
1197 amount->not_correct = 0; in scan_behind_bridge()
1198 if ((amount->io) && (amount->io < IOBRIDGE)) in scan_behind_bridge()
1199 amount->io = IOBRIDGE; in scan_behind_bridge()
1200 if ((amount->mem) && (amount->mem < MEMBRIDGE)) in scan_behind_bridge()
1201 amount->mem = MEMBRIDGE; in scan_behind_bridge()
1202 if ((amount->pfmem) && (amount->pfmem < MEMBRIDGE)) in scan_behind_bridge()
1203 amount->pfmem = MEMBRIDGE; in scan_behind_bridge()
1204 return amount; in scan_behind_bridge()
1634 * Input: bus and the amount of resources needed (we know we can assign those,