Lines Matching refs:pld_info
269 u8 *acpi_db_encode_pld_buffer(struct acpi_pld_info *pld_info) in acpi_db_encode_pld_buffer() argument
282 ACPI_PLD_SET_REVISION(&dword, pld_info->revision); in acpi_db_encode_pld_buffer()
283 ACPI_PLD_SET_IGNORE_COLOR(&dword, pld_info->ignore_color); in acpi_db_encode_pld_buffer()
284 ACPI_PLD_SET_RED(&dword, pld_info->red); in acpi_db_encode_pld_buffer()
285 ACPI_PLD_SET_GREEN(&dword, pld_info->green); in acpi_db_encode_pld_buffer()
286 ACPI_PLD_SET_BLUE(&dword, pld_info->blue); in acpi_db_encode_pld_buffer()
292 ACPI_PLD_SET_WIDTH(&dword, pld_info->width); in acpi_db_encode_pld_buffer()
293 ACPI_PLD_SET_HEIGHT(&dword, pld_info->height); in acpi_db_encode_pld_buffer()
299 ACPI_PLD_SET_USER_VISIBLE(&dword, pld_info->user_visible); in acpi_db_encode_pld_buffer()
300 ACPI_PLD_SET_DOCK(&dword, pld_info->dock); in acpi_db_encode_pld_buffer()
301 ACPI_PLD_SET_LID(&dword, pld_info->lid); in acpi_db_encode_pld_buffer()
302 ACPI_PLD_SET_PANEL(&dword, pld_info->panel); in acpi_db_encode_pld_buffer()
303 ACPI_PLD_SET_VERTICAL(&dword, pld_info->vertical_position); in acpi_db_encode_pld_buffer()
304 ACPI_PLD_SET_HORIZONTAL(&dword, pld_info->horizontal_position); in acpi_db_encode_pld_buffer()
305 ACPI_PLD_SET_SHAPE(&dword, pld_info->shape); in acpi_db_encode_pld_buffer()
306 ACPI_PLD_SET_ORIENTATION(&dword, pld_info->group_orientation); in acpi_db_encode_pld_buffer()
307 ACPI_PLD_SET_TOKEN(&dword, pld_info->group_token); in acpi_db_encode_pld_buffer()
308 ACPI_PLD_SET_POSITION(&dword, pld_info->group_position); in acpi_db_encode_pld_buffer()
309 ACPI_PLD_SET_BAY(&dword, pld_info->bay); in acpi_db_encode_pld_buffer()
315 ACPI_PLD_SET_EJECTABLE(&dword, pld_info->ejectable); in acpi_db_encode_pld_buffer()
316 ACPI_PLD_SET_OSPM_EJECT(&dword, pld_info->ospm_eject_required); in acpi_db_encode_pld_buffer()
317 ACPI_PLD_SET_CABINET(&dword, pld_info->cabinet_number); in acpi_db_encode_pld_buffer()
318 ACPI_PLD_SET_CARD_CAGE(&dword, pld_info->card_cage_number); in acpi_db_encode_pld_buffer()
319 ACPI_PLD_SET_REFERENCE(&dword, pld_info->reference); in acpi_db_encode_pld_buffer()
320 ACPI_PLD_SET_ROTATION(&dword, pld_info->rotation); in acpi_db_encode_pld_buffer()
321 ACPI_PLD_SET_ORDER(&dword, pld_info->order); in acpi_db_encode_pld_buffer()
324 if (pld_info->revision >= 2) { in acpi_db_encode_pld_buffer()
329 ACPI_PLD_SET_VERT_OFFSET(&dword, pld_info->vertical_offset); in acpi_db_encode_pld_buffer()
330 ACPI_PLD_SET_HORIZ_OFFSET(&dword, pld_info->horizontal_offset); in acpi_db_encode_pld_buffer()
354 struct acpi_pld_info *pld_info; in acpi_db_dump_pld_buffer() local
372 buffer_desc->buffer.length, &pld_info); in acpi_db_dump_pld_buffer()
379 new_buffer = acpi_db_encode_pld_buffer(pld_info); in acpi_db_dump_pld_buffer()
398 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Revision", pld_info->revision); in acpi_db_dump_pld_buffer()
400 pld_info->ignore_color); in acpi_db_dump_pld_buffer()
401 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Red", pld_info->red); in acpi_db_dump_pld_buffer()
402 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Green", pld_info->green); in acpi_db_dump_pld_buffer()
403 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Blue", pld_info->blue); in acpi_db_dump_pld_buffer()
407 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Width", pld_info->width); in acpi_db_dump_pld_buffer()
408 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Height", pld_info->height); in acpi_db_dump_pld_buffer()
413 pld_info->user_visible); in acpi_db_dump_pld_buffer()
414 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Dock", pld_info->dock); in acpi_db_dump_pld_buffer()
415 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Lid", pld_info->lid); in acpi_db_dump_pld_buffer()
416 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Panel", pld_info->panel); in acpi_db_dump_pld_buffer()
418 pld_info->vertical_position); in acpi_db_dump_pld_buffer()
420 pld_info->horizontal_position); in acpi_db_dump_pld_buffer()
421 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Shape", pld_info->shape); in acpi_db_dump_pld_buffer()
423 pld_info->group_orientation); in acpi_db_dump_pld_buffer()
425 pld_info->group_token); in acpi_db_dump_pld_buffer()
427 pld_info->group_position); in acpi_db_dump_pld_buffer()
428 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Bay", pld_info->bay); in acpi_db_dump_pld_buffer()
432 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Ejectable", pld_info->ejectable); in acpi_db_dump_pld_buffer()
434 pld_info->ospm_eject_required); in acpi_db_dump_pld_buffer()
436 pld_info->cabinet_number); in acpi_db_dump_pld_buffer()
438 pld_info->card_cage_number); in acpi_db_dump_pld_buffer()
439 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Reference", pld_info->reference); in acpi_db_dump_pld_buffer()
440 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Rotation", pld_info->rotation); in acpi_db_dump_pld_buffer()
441 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Order", pld_info->order); in acpi_db_dump_pld_buffer()
447 pld_info->vertical_offset); in acpi_db_dump_pld_buffer()
449 pld_info->horizontal_offset); in acpi_db_dump_pld_buffer()
454 ACPI_FREE(pld_info); in acpi_db_dump_pld_buffer()