Lines Matching full:pack

278 						union acpi_object *pack,  in atk_get_pack_member()  argument
307 return &pack->package.elements[offset]; in atk_get_pack_member()
494 union acpi_object *pack; in atk_ggrp() local
508 pack = buf.pointer; in atk_ggrp()
509 if (pack->type != ACPI_TYPE_PACKAGE) { in atk_ggrp()
511 ACPI_FREE(pack); in atk_ggrp()
515 if (pack->package.count < 1) { in atk_ggrp()
517 ACPI_FREE(pack); in atk_ggrp()
520 return pack; in atk_ggrp()
703 static void atk_pack_print(char *buf, size_t sz, union acpi_object *pack) in atk_pack_print() argument
708 for (i = 0; i < pack->package.count; i++) { in atk_pack_print()
709 union acpi_object *obj = &pack->package.elements[i]; in atk_pack_print()
738 union acpi_object *pack = &ret->package.elements[i]; in atk_debugfs_ggrp_open() local
741 if (pack->type != ACPI_TYPE_PACKAGE) in atk_debugfs_ggrp_open()
743 if (!pack->package.count) in atk_debugfs_ggrp_open()
745 id = &pack->package.elements[0]; in atk_debugfs_ggrp_open()
753 atk_pack_print(buf, 512, pack); in atk_debugfs_ggrp_open()
941 union acpi_object *pack; in atk_enumerate_old_hwmon() local
957 pack = buf.pointer; in atk_enumerate_old_hwmon()
958 for (i = 1; i < pack->package.count; i++) { in atk_enumerate_old_hwmon()
959 union acpi_object *obj = &pack->package.elements[i]; in atk_enumerate_old_hwmon()
978 pack = buf.pointer; in atk_enumerate_old_hwmon()
979 for (i = 1; i < pack->package.count; i++) { in atk_enumerate_old_hwmon()
980 union acpi_object *obj = &pack->package.elements[i]; in atk_enumerate_old_hwmon()
999 pack = buf.pointer; in atk_enumerate_old_hwmon()
1000 for (i = 1; i < pack->package.count; i++) { in atk_enumerate_old_hwmon()
1001 union acpi_object *obj = &pack->package.elements[i]; in atk_enumerate_old_hwmon()
1015 union acpi_object *pack; in atk_ec_present() local
1020 pack = atk_ggrp(data, ATK_MUX_MGMT); in atk_ec_present()
1021 if (IS_ERR(pack)) { in atk_ec_present()
1022 if (PTR_ERR(pack) == -ENOENT) { in atk_ec_present()
1027 return PTR_ERR(pack); in atk_ec_present()
1032 for (i = 0; i < pack->package.count; i++) { in atk_ec_present()
1033 union acpi_object *obj = &pack->package.elements[i]; in atk_ec_present()
1054 ACPI_FREE(pack); in atk_ec_present()
1120 union acpi_object *pack; in atk_enumerate_new_hwmon() local
1143 pack = atk_ggrp(data, ATK_MUX_HWMON); in atk_enumerate_new_hwmon()
1144 if (IS_ERR(pack)) in atk_enumerate_new_hwmon()
1145 return PTR_ERR(pack); in atk_enumerate_new_hwmon()
1147 for (i = 0; i < pack->package.count; i++) { in atk_enumerate_new_hwmon()
1148 union acpi_object *obj = &pack->package.elements[i]; in atk_enumerate_new_hwmon()
1155 ACPI_FREE(pack); in atk_enumerate_new_hwmon()