Lines Matching refs:newprops

31 	union acpi_object *props, *newprops;  in acpi_extract_apple_properties()  local
93 newprops = ACPI_ALLOCATE_ZEROED(newsize); in acpi_extract_apple_properties()
94 if (!newprops) in acpi_extract_apple_properties()
98 newprops->type = ACPI_TYPE_PACKAGE; in acpi_extract_apple_properties()
99 newprops->package.count = numvalid; in acpi_extract_apple_properties()
100 newprops->package.elements = &newprops[1]; in acpi_extract_apple_properties()
101 free_space = &newprops[1 + 3 * numvalid]; in acpi_extract_apple_properties()
109 newprops[1 + j].type = ACPI_TYPE_PACKAGE; in acpi_extract_apple_properties()
110 newprops[1 + j].package.count = 2; in acpi_extract_apple_properties()
111 newprops[1 + j].package.elements = &newprops[k]; in acpi_extract_apple_properties()
113 newprops[k].type = ACPI_TYPE_STRING; in acpi_extract_apple_properties()
114 newprops[k].string.length = key->string.length; in acpi_extract_apple_properties()
115 newprops[k].string.pointer = free_space; in acpi_extract_apple_properties()
119 newprops[v].type = val->type; in acpi_extract_apple_properties()
121 newprops[v].integer.value = val->integer.value; in acpi_extract_apple_properties()
123 newprops[v].buffer.length = val->buffer.length; in acpi_extract_apple_properties()
124 newprops[v].buffer.pointer = free_space; in acpi_extract_apple_properties()
131 WARN_ON(free_space != (void *)newprops + newsize); in acpi_extract_apple_properties()
133 adev->data.pointer = newprops; in acpi_extract_apple_properties()
134 acpi_data_add_props(&adev->data, &apple_prp_guid, newprops); in acpi_extract_apple_properties()