Lines Matching full:integer

66 		/* Create a return object of type Integer */  in acpi_ex_opcode_0A_0T_1R()
141 status = acpi_ex_system_do_sleep(operand[0]->integer.value); in acpi_ex_opcode_1A_0T_0R()
147 acpi_ex_system_do_stall((u32) operand[0]->integer.value); in acpi_ex_opcode_1A_0T_0R()
245 /* Create a return object of type Integer for these opcodes */ in acpi_ex_opcode_1A_1T_1R()
256 return_desc->integer.value = ~operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
261 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
264 * Acpi specification describes Integer type as a little in acpi_ex_opcode_1A_1T_1R()
267 for (temp32 = 0; return_desc->integer.value && in acpi_ex_opcode_1A_1T_1R()
269 return_desc->integer.value >>= 1; in acpi_ex_opcode_1A_1T_1R()
272 return_desc->integer.value = temp32; in acpi_ex_opcode_1A_1T_1R()
277 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
280 * The Acpi specification describes Integer type as a little in acpi_ex_opcode_1A_1T_1R()
283 for (temp32 = 0; return_desc->integer.value && in acpi_ex_opcode_1A_1T_1R()
285 return_desc->integer.value <<= 1; in acpi_ex_opcode_1A_1T_1R()
290 return_desc->integer.value = in acpi_ex_opcode_1A_1T_1R()
297 * The 64-bit ACPI integer can hold 16 4-bit BCD characters in acpi_ex_opcode_1A_1T_1R()
298 * (if table is 32-bit, integer can hold 8 BCD characters) in acpi_ex_opcode_1A_1T_1R()
302 return_desc->integer.value = 0; in acpi_ex_opcode_1A_1T_1R()
303 digit = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
328 return_desc->integer.value += in acpi_ex_opcode_1A_1T_1R()
343 return_desc->integer.value = 0; in acpi_ex_opcode_1A_1T_1R()
344 digit = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
358 return_desc->integer.value |= in acpi_ex_opcode_1A_1T_1R()
366 "Integer too large to convert to BCD: 0x%8.8X%8.8X", in acpi_ex_opcode_1A_1T_1R()
368 integer.value))); in acpi_ex_opcode_1A_1T_1R()
386 return_desc->integer.value = 0; in acpi_ex_opcode_1A_1T_1R()
405 return_desc->integer.value = ACPI_UINT64_MAX; in acpi_ex_opcode_1A_1T_1R()
582 * return_desc->Integer.Value is initially == 0 (FALSE) from above. in acpi_ex_opcode_1A_0T_1R()
584 if (!operand[0]->integer.value) { in acpi_ex_opcode_1A_0T_1R()
585 return_desc->integer.value = ACPI_UINT64_MAX; in acpi_ex_opcode_1A_0T_1R()
592 * Create a new integer. Can't just get the base integer and in acpi_ex_opcode_1A_0T_1R()
615 * Convert the Reference operand to an Integer (This removes a in acpi_ex_opcode_1A_0T_1R()
619 * reference operand to an actual integer. in acpi_ex_opcode_1A_0T_1R()
633 * temp_desc is now guaranteed to be an Integer object -- in acpi_ex_opcode_1A_0T_1R()
637 return_desc->integer.value = in acpi_ex_opcode_1A_0T_1R()
638 temp_desc->integer.value + 1; in acpi_ex_opcode_1A_0T_1R()
640 return_desc->integer.value = in acpi_ex_opcode_1A_0T_1R()
641 temp_desc->integer.value - 1; in acpi_ex_opcode_1A_0T_1R()
644 /* Finished with this Integer object */ in acpi_ex_opcode_1A_0T_1R()
697 * The type of the base object must be integer, buffer, string, or in acpi_ex_opcode_1A_0T_1R()
700 * NOTE: Integer is not specifically supported by the ACPI spec, in acpi_ex_opcode_1A_0T_1R()
735 "Operand must be Buffer/Integer/String/Package" in acpi_ex_opcode_1A_0T_1R()