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()
252 /* Create a return object of type Integer for these opcodes */ in acpi_ex_opcode_1A_1T_1R()
263 return_desc->integer.value = ~operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
268 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
271 * Acpi specification describes Integer type as a little in acpi_ex_opcode_1A_1T_1R()
274 for (temp32 = 0; return_desc->integer.value && in acpi_ex_opcode_1A_1T_1R()
276 return_desc->integer.value >>= 1; in acpi_ex_opcode_1A_1T_1R()
279 return_desc->integer.value = temp32; in acpi_ex_opcode_1A_1T_1R()
284 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
287 * The Acpi specification describes Integer type as a little in acpi_ex_opcode_1A_1T_1R()
290 for (temp32 = 0; return_desc->integer.value && in acpi_ex_opcode_1A_1T_1R()
292 return_desc->integer.value <<= 1; in acpi_ex_opcode_1A_1T_1R()
297 return_desc->integer.value = in acpi_ex_opcode_1A_1T_1R()
304 * The 64-bit ACPI integer can hold 16 4-bit BCD characters in acpi_ex_opcode_1A_1T_1R()
305 * (if table is 32-bit, integer can hold 8 BCD characters) in acpi_ex_opcode_1A_1T_1R()
309 return_desc->integer.value = 0; in acpi_ex_opcode_1A_1T_1R()
310 digit = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
335 return_desc->integer.value += in acpi_ex_opcode_1A_1T_1R()
350 return_desc->integer.value = 0; in acpi_ex_opcode_1A_1T_1R()
358 return_desc->integer.value = 0xFFFFFFFFFFFFFFFF; in acpi_ex_opcode_1A_1T_1R()
364 return_desc->integer.value = 0; in acpi_ex_opcode_1A_1T_1R()
365 digit = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
379 return_desc->integer.value |= in acpi_ex_opcode_1A_1T_1R()
387 "Integer too large to convert to BCD: 0x%8.8X%8.8X", in acpi_ex_opcode_1A_1T_1R()
389 integer.value))); in acpi_ex_opcode_1A_1T_1R()
407 return_desc->integer.value = 0; in acpi_ex_opcode_1A_1T_1R()
426 return_desc->integer.value = ACPI_UINT64_MAX; in acpi_ex_opcode_1A_1T_1R()
603 * return_desc->Integer.Value is initially == 0 (FALSE) from above. in acpi_ex_opcode_1A_0T_1R()
605 if (!operand[0]->integer.value) { in acpi_ex_opcode_1A_0T_1R()
606 return_desc->integer.value = ACPI_UINT64_MAX; in acpi_ex_opcode_1A_0T_1R()
613 * Create a new integer. Can't just get the base integer and in acpi_ex_opcode_1A_0T_1R()
636 * Convert the Reference operand to an Integer (This removes a in acpi_ex_opcode_1A_0T_1R()
640 * reference operand to an actual integer. in acpi_ex_opcode_1A_0T_1R()
654 * temp_desc is now guaranteed to be an Integer object -- in acpi_ex_opcode_1A_0T_1R()
658 return_desc->integer.value = in acpi_ex_opcode_1A_0T_1R()
659 temp_desc->integer.value + 1; in acpi_ex_opcode_1A_0T_1R()
661 return_desc->integer.value = in acpi_ex_opcode_1A_0T_1R()
662 temp_desc->integer.value - 1; in acpi_ex_opcode_1A_0T_1R()
665 /* Finished with this Integer object */ in acpi_ex_opcode_1A_0T_1R()
718 * The type of the base object must be integer, buffer, string, or in acpi_ex_opcode_1A_0T_1R()
721 * NOTE: Integer is not specifically supported by the ACPI spec, in acpi_ex_opcode_1A_0T_1R()
756 "Operand must be Buffer/Integer/String/Package" in acpi_ex_opcode_1A_0T_1R()