Lines Matching full:amount
1042 * This function adds up the amount of resources needed behind the PPB bridge
1045 * Output: amount of resources needed
1066 struct res_needed *amount; in scan_behind_bridge() local
1068 amount = kzalloc(sizeof(*amount), GFP_KERNEL); in scan_behind_bridge()
1069 if (amount == NULL) in scan_behind_bridge()
1077 amount->devices[device] = 0; in scan_behind_bridge()
1093 amount->not_correct = 1; in scan_behind_bridge()
1094 return amount; in scan_behind_bridge()
1100 amount->not_correct = 1; in scan_behind_bridge()
1101 return amount; in scan_behind_bridge()
1104 amount->not_correct = 1; in scan_behind_bridge()
1105 return amount; in scan_behind_bridge()
1108 amount->devices[device] = 1; in scan_behind_bridge()
1135 amount->io += len[count]; in scan_behind_bridge()
1142 amount->pfmem += len[count]; in scan_behind_bridge()
1151 amount->mem += len[count]; in scan_behind_bridge()
1164 amount->not_correct = 1; in scan_behind_bridge()
1166 amount->not_correct = 0; in scan_behind_bridge()
1167 if ((amount->io) && (amount->io < IOBRIDGE)) in scan_behind_bridge()
1168 amount->io = IOBRIDGE; in scan_behind_bridge()
1169 if ((amount->mem) && (amount->mem < MEMBRIDGE)) in scan_behind_bridge()
1170 amount->mem = MEMBRIDGE; in scan_behind_bridge()
1171 if ((amount->pfmem) && (amount->pfmem < MEMBRIDGE)) in scan_behind_bridge()
1172 amount->pfmem = MEMBRIDGE; in scan_behind_bridge()
1173 return amount; in scan_behind_bridge()
1600 * Input: bus and the amount of resources needed (we know we can assign those,