• Home
  • Raw
  • Download

Lines Matching refs:item_count

45 	u16 item_count = 0;  in acpi_rs_convert_aml_to_resource()  local
125 item_count = ACPI_GET8(source); in acpi_rs_convert_aml_to_resource()
126 ACPI_SET8(destination, item_count); in acpi_rs_convert_aml_to_resource()
129 (info->value * (item_count - 1)); in acpi_rs_convert_aml_to_resource()
134 item_count = aml_resource_length; in acpi_rs_convert_aml_to_resource()
135 ACPI_SET16(destination, item_count); in acpi_rs_convert_aml_to_resource()
138 (info->value * (item_count - 1)); in acpi_rs_convert_aml_to_resource()
144 item_count = ACPI_GET16(target) - ACPI_GET16(source); in acpi_rs_convert_aml_to_resource()
146 resource->length = resource->length + item_count; in acpi_rs_convert_aml_to_resource()
147 item_count = item_count / 2; in acpi_rs_convert_aml_to_resource()
148 ACPI_SET16(destination, item_count); in acpi_rs_convert_aml_to_resource()
153 item_count = ACPI_GET8(source); in acpi_rs_convert_aml_to_resource()
154 ACPI_SET8(destination, item_count); in acpi_rs_convert_aml_to_resource()
157 resource->length + (info->value * item_count); in acpi_rs_convert_aml_to_resource()
171 item_count = in acpi_rs_convert_aml_to_resource()
176 item_count = aml->large_header.resource_length + in acpi_rs_convert_aml_to_resource()
181 resource->length = resource->length + item_count; in acpi_rs_convert_aml_to_resource()
182 ACPI_SET16(destination, item_count); in acpi_rs_convert_aml_to_resource()
187 item_count = ACPI_GET16(source) - info->value; in acpi_rs_convert_aml_to_resource()
189 resource->length = resource->length + item_count; in acpi_rs_convert_aml_to_resource()
190 ACPI_SET16(destination, item_count); in acpi_rs_convert_aml_to_resource()
195 item_count = (aml_resource_length + in acpi_rs_convert_aml_to_resource()
199 resource->length = resource->length + item_count; in acpi_rs_convert_aml_to_resource()
200 ACPI_SET16(destination, item_count); in acpi_rs_convert_aml_to_resource()
217 item_count = info->value; in acpi_rs_convert_aml_to_resource()
219 acpi_rs_move_data(destination, source, item_count, in acpi_rs_convert_aml_to_resource()
229 item_count * 2)); in acpi_rs_convert_aml_to_resource()
235 acpi_rs_move_data(target, source, item_count, in acpi_rs_convert_aml_to_resource()
245 item_count)); in acpi_rs_convert_aml_to_resource()
251 acpi_rs_move_data(target, source, item_count, in acpi_rs_convert_aml_to_resource()
261 item_count)); in acpi_rs_convert_aml_to_resource()
267 acpi_rs_move_data(target, source, item_count, in acpi_rs_convert_aml_to_resource()
277 item_count)); in acpi_rs_convert_aml_to_resource()
285 acpi_rs_move_data(target, source, item_count, in acpi_rs_convert_aml_to_resource()
327 (item_count * 4)); in acpi_rs_convert_aml_to_resource()
332 (((item_count - in acpi_rs_convert_aml_to_resource()
343 item_count = in acpi_rs_convert_aml_to_resource()
346 if (item_count) { in acpi_rs_convert_aml_to_resource()
347 resource->length += (item_count - 1); in acpi_rs_convert_aml_to_resource()
351 ACPI_SET8(target, item_count); in acpi_rs_convert_aml_to_resource()
360 item_count = in acpi_rs_convert_aml_to_resource()
362 if (item_count) { in acpi_rs_convert_aml_to_resource()
363 resource->length += (item_count - 1); in acpi_rs_convert_aml_to_resource()
367 ACPI_SET8(target, item_count); in acpi_rs_convert_aml_to_resource()
444 u16 item_count = 0; in acpi_rs_convert_resource_to_aml() local
514 item_count = ACPI_GET8(source); in acpi_rs_convert_resource_to_aml()
515 ACPI_SET8(destination, item_count); in acpi_rs_convert_resource_to_aml()
518 (aml_length + (info->value * (item_count - 1))); in acpi_rs_convert_resource_to_aml()
523 item_count = ACPI_GET16(source); in acpi_rs_convert_resource_to_aml()
524 aml_length = (u16) (aml_length + item_count); in acpi_rs_convert_resource_to_aml()
530 item_count = ACPI_GET16(source); in acpi_rs_convert_resource_to_aml()
533 aml_length = (u16)(aml_length + item_count * 2); in acpi_rs_convert_resource_to_aml()
541 item_count = ACPI_GET16(source); in acpi_rs_convert_resource_to_aml()
542 ACPI_SET16(destination, item_count); in acpi_rs_convert_resource_to_aml()
545 (u16)(aml_length + (info->value * item_count)); in acpi_rs_convert_resource_to_aml()
553 item_count = ACPI_GET16(source); in acpi_rs_convert_resource_to_aml()
558 aml_length = (u16)(aml_length + item_count); in acpi_rs_convert_resource_to_aml()
570 item_count = ACPI_GET16(source); in acpi_rs_convert_resource_to_aml()
571 ACPI_SET16(destination, item_count + info->value); in acpi_rs_convert_resource_to_aml()
572 aml_length = (u16)(aml_length + item_count); in acpi_rs_convert_resource_to_aml()
578 item_count = ACPI_GET16(source); in acpi_rs_convert_resource_to_aml()
579 aml_length = (u16)(aml_length + item_count); in acpi_rs_convert_resource_to_aml()
594 item_count = info->value; in acpi_rs_convert_resource_to_aml()
596 acpi_rs_move_data(destination, source, item_count, in acpi_rs_convert_resource_to_aml()
606 acpi_rs_move_data(destination, source, item_count, in acpi_rs_convert_resource_to_aml()
618 acpi_rs_move_data(destination, source, item_count, in acpi_rs_convert_resource_to_aml()
626 item_count)); in acpi_rs_convert_resource_to_aml()
628 acpi_rs_move_data(destination, source, item_count, in acpi_rs_convert_resource_to_aml()
636 item_count)); in acpi_rs_convert_resource_to_aml()
638 acpi_rs_move_data(destination, source, item_count, in acpi_rs_convert_resource_to_aml()
698 if (item_count <= info->value) { in acpi_rs_convert_resource_to_aml()