Lines Matching refs:pld_info
267 u8 *acpi_db_encode_pld_buffer(struct acpi_pld_info *pld_info) in acpi_db_encode_pld_buffer() argument
280 ACPI_PLD_SET_REVISION(&dword, pld_info->revision); in acpi_db_encode_pld_buffer()
281 ACPI_PLD_SET_IGNORE_COLOR(&dword, pld_info->ignore_color); in acpi_db_encode_pld_buffer()
282 ACPI_PLD_SET_RED(&dword, pld_info->red); in acpi_db_encode_pld_buffer()
283 ACPI_PLD_SET_GREEN(&dword, pld_info->green); in acpi_db_encode_pld_buffer()
284 ACPI_PLD_SET_BLUE(&dword, pld_info->blue); in acpi_db_encode_pld_buffer()
290 ACPI_PLD_SET_WIDTH(&dword, pld_info->width); in acpi_db_encode_pld_buffer()
291 ACPI_PLD_SET_HEIGHT(&dword, pld_info->height); in acpi_db_encode_pld_buffer()
297 ACPI_PLD_SET_USER_VISIBLE(&dword, pld_info->user_visible); in acpi_db_encode_pld_buffer()
298 ACPI_PLD_SET_DOCK(&dword, pld_info->dock); in acpi_db_encode_pld_buffer()
299 ACPI_PLD_SET_LID(&dword, pld_info->lid); in acpi_db_encode_pld_buffer()
300 ACPI_PLD_SET_PANEL(&dword, pld_info->panel); in acpi_db_encode_pld_buffer()
301 ACPI_PLD_SET_VERTICAL(&dword, pld_info->vertical_position); in acpi_db_encode_pld_buffer()
302 ACPI_PLD_SET_HORIZONTAL(&dword, pld_info->horizontal_position); in acpi_db_encode_pld_buffer()
303 ACPI_PLD_SET_SHAPE(&dword, pld_info->shape); in acpi_db_encode_pld_buffer()
304 ACPI_PLD_SET_ORIENTATION(&dword, pld_info->group_orientation); in acpi_db_encode_pld_buffer()
305 ACPI_PLD_SET_TOKEN(&dword, pld_info->group_token); in acpi_db_encode_pld_buffer()
306 ACPI_PLD_SET_POSITION(&dword, pld_info->group_position); in acpi_db_encode_pld_buffer()
307 ACPI_PLD_SET_BAY(&dword, pld_info->bay); in acpi_db_encode_pld_buffer()
313 ACPI_PLD_SET_EJECTABLE(&dword, pld_info->ejectable); in acpi_db_encode_pld_buffer()
314 ACPI_PLD_SET_OSPM_EJECT(&dword, pld_info->ospm_eject_required); in acpi_db_encode_pld_buffer()
315 ACPI_PLD_SET_CABINET(&dword, pld_info->cabinet_number); in acpi_db_encode_pld_buffer()
316 ACPI_PLD_SET_CARD_CAGE(&dword, pld_info->card_cage_number); in acpi_db_encode_pld_buffer()
317 ACPI_PLD_SET_REFERENCE(&dword, pld_info->reference); in acpi_db_encode_pld_buffer()
318 ACPI_PLD_SET_ROTATION(&dword, pld_info->rotation); in acpi_db_encode_pld_buffer()
319 ACPI_PLD_SET_ORDER(&dword, pld_info->order); in acpi_db_encode_pld_buffer()
322 if (pld_info->revision >= 2) { in acpi_db_encode_pld_buffer()
327 ACPI_PLD_SET_VERT_OFFSET(&dword, pld_info->vertical_offset); in acpi_db_encode_pld_buffer()
328 ACPI_PLD_SET_HORIZ_OFFSET(&dword, pld_info->horizontal_offset); in acpi_db_encode_pld_buffer()
352 struct acpi_pld_info *pld_info; in acpi_db_dump_pld_buffer() local
370 buffer_desc->buffer.length, &pld_info); in acpi_db_dump_pld_buffer()
377 new_buffer = acpi_db_encode_pld_buffer(pld_info); in acpi_db_dump_pld_buffer()
396 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Revision", pld_info->revision); in acpi_db_dump_pld_buffer()
398 pld_info->ignore_color); in acpi_db_dump_pld_buffer()
399 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Red", pld_info->red); in acpi_db_dump_pld_buffer()
400 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Green", pld_info->green); in acpi_db_dump_pld_buffer()
401 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Blue", pld_info->blue); in acpi_db_dump_pld_buffer()
405 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Width", pld_info->width); in acpi_db_dump_pld_buffer()
406 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Height", pld_info->height); in acpi_db_dump_pld_buffer()
411 pld_info->user_visible); in acpi_db_dump_pld_buffer()
412 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Dock", pld_info->dock); in acpi_db_dump_pld_buffer()
413 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Lid", pld_info->lid); in acpi_db_dump_pld_buffer()
414 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Panel", pld_info->panel); in acpi_db_dump_pld_buffer()
416 pld_info->vertical_position); in acpi_db_dump_pld_buffer()
418 pld_info->horizontal_position); in acpi_db_dump_pld_buffer()
419 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Shape", pld_info->shape); in acpi_db_dump_pld_buffer()
421 pld_info->group_orientation); in acpi_db_dump_pld_buffer()
423 pld_info->group_token); in acpi_db_dump_pld_buffer()
425 pld_info->group_position); in acpi_db_dump_pld_buffer()
426 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Bay", pld_info->bay); in acpi_db_dump_pld_buffer()
430 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Ejectable", pld_info->ejectable); in acpi_db_dump_pld_buffer()
432 pld_info->ospm_eject_required); in acpi_db_dump_pld_buffer()
434 pld_info->cabinet_number); in acpi_db_dump_pld_buffer()
436 pld_info->card_cage_number); in acpi_db_dump_pld_buffer()
437 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Reference", pld_info->reference); in acpi_db_dump_pld_buffer()
438 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Rotation", pld_info->rotation); in acpi_db_dump_pld_buffer()
439 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Order", pld_info->order); in acpi_db_dump_pld_buffer()
445 pld_info->vertical_offset); in acpi_db_dump_pld_buffer()
447 pld_info->horizontal_offset); in acpi_db_dump_pld_buffer()
452 ACPI_FREE(pld_info); in acpi_db_dump_pld_buffer()