Lines Matching refs:pld_info

263 u8 *acpi_db_encode_pld_buffer(struct acpi_pld_info *pld_info)  in acpi_db_encode_pld_buffer()  argument
276 ACPI_PLD_SET_REVISION(&dword, pld_info->revision); in acpi_db_encode_pld_buffer()
277 ACPI_PLD_SET_IGNORE_COLOR(&dword, pld_info->ignore_color); in acpi_db_encode_pld_buffer()
278 ACPI_PLD_SET_RED(&dword, pld_info->red); in acpi_db_encode_pld_buffer()
279 ACPI_PLD_SET_GREEN(&dword, pld_info->green); in acpi_db_encode_pld_buffer()
280 ACPI_PLD_SET_BLUE(&dword, pld_info->blue); in acpi_db_encode_pld_buffer()
286 ACPI_PLD_SET_WIDTH(&dword, pld_info->width); in acpi_db_encode_pld_buffer()
287 ACPI_PLD_SET_HEIGHT(&dword, pld_info->height); in acpi_db_encode_pld_buffer()
293 ACPI_PLD_SET_USER_VISIBLE(&dword, pld_info->user_visible); in acpi_db_encode_pld_buffer()
294 ACPI_PLD_SET_DOCK(&dword, pld_info->dock); in acpi_db_encode_pld_buffer()
295 ACPI_PLD_SET_LID(&dword, pld_info->lid); in acpi_db_encode_pld_buffer()
296 ACPI_PLD_SET_PANEL(&dword, pld_info->panel); in acpi_db_encode_pld_buffer()
297 ACPI_PLD_SET_VERTICAL(&dword, pld_info->vertical_position); in acpi_db_encode_pld_buffer()
298 ACPI_PLD_SET_HORIZONTAL(&dword, pld_info->horizontal_position); in acpi_db_encode_pld_buffer()
299 ACPI_PLD_SET_SHAPE(&dword, pld_info->shape); in acpi_db_encode_pld_buffer()
300 ACPI_PLD_SET_ORIENTATION(&dword, pld_info->group_orientation); in acpi_db_encode_pld_buffer()
301 ACPI_PLD_SET_TOKEN(&dword, pld_info->group_token); in acpi_db_encode_pld_buffer()
302 ACPI_PLD_SET_POSITION(&dword, pld_info->group_position); in acpi_db_encode_pld_buffer()
303 ACPI_PLD_SET_BAY(&dword, pld_info->bay); in acpi_db_encode_pld_buffer()
309 ACPI_PLD_SET_EJECTABLE(&dword, pld_info->ejectable); in acpi_db_encode_pld_buffer()
310 ACPI_PLD_SET_OSPM_EJECT(&dword, pld_info->ospm_eject_required); in acpi_db_encode_pld_buffer()
311 ACPI_PLD_SET_CABINET(&dword, pld_info->cabinet_number); in acpi_db_encode_pld_buffer()
312 ACPI_PLD_SET_CARD_CAGE(&dword, pld_info->card_cage_number); in acpi_db_encode_pld_buffer()
313 ACPI_PLD_SET_REFERENCE(&dword, pld_info->reference); in acpi_db_encode_pld_buffer()
314 ACPI_PLD_SET_ROTATION(&dword, pld_info->rotation); in acpi_db_encode_pld_buffer()
315 ACPI_PLD_SET_ORDER(&dword, pld_info->order); in acpi_db_encode_pld_buffer()
318 if (pld_info->revision >= 2) { in acpi_db_encode_pld_buffer()
323 ACPI_PLD_SET_VERT_OFFSET(&dword, pld_info->vertical_offset); in acpi_db_encode_pld_buffer()
324 ACPI_PLD_SET_HORIZ_OFFSET(&dword, pld_info->horizontal_offset); in acpi_db_encode_pld_buffer()
348 struct acpi_pld_info *pld_info; in acpi_db_dump_pld_buffer() local
366 buffer_desc->buffer.length, &pld_info); in acpi_db_dump_pld_buffer()
373 new_buffer = acpi_db_encode_pld_buffer(pld_info); in acpi_db_dump_pld_buffer()
392 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Revision", pld_info->revision); in acpi_db_dump_pld_buffer()
394 pld_info->ignore_color); in acpi_db_dump_pld_buffer()
395 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Red", pld_info->red); in acpi_db_dump_pld_buffer()
396 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Green", pld_info->green); in acpi_db_dump_pld_buffer()
397 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Blue", pld_info->blue); in acpi_db_dump_pld_buffer()
401 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Width", pld_info->width); in acpi_db_dump_pld_buffer()
402 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Height", pld_info->height); in acpi_db_dump_pld_buffer()
407 pld_info->user_visible); in acpi_db_dump_pld_buffer()
408 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Dock", pld_info->dock); in acpi_db_dump_pld_buffer()
409 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Lid", pld_info->lid); in acpi_db_dump_pld_buffer()
410 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Panel", pld_info->panel); in acpi_db_dump_pld_buffer()
412 pld_info->vertical_position); in acpi_db_dump_pld_buffer()
414 pld_info->horizontal_position); in acpi_db_dump_pld_buffer()
415 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Shape", pld_info->shape); in acpi_db_dump_pld_buffer()
417 pld_info->group_orientation); in acpi_db_dump_pld_buffer()
419 pld_info->group_token); in acpi_db_dump_pld_buffer()
421 pld_info->group_position); in acpi_db_dump_pld_buffer()
422 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Bay", pld_info->bay); in acpi_db_dump_pld_buffer()
426 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Ejectable", pld_info->ejectable); in acpi_db_dump_pld_buffer()
428 pld_info->ospm_eject_required); in acpi_db_dump_pld_buffer()
430 pld_info->cabinet_number); in acpi_db_dump_pld_buffer()
432 pld_info->card_cage_number); in acpi_db_dump_pld_buffer()
433 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Reference", pld_info->reference); in acpi_db_dump_pld_buffer()
434 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Rotation", pld_info->rotation); in acpi_db_dump_pld_buffer()
435 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Order", pld_info->order); in acpi_db_dump_pld_buffer()
441 pld_info->vertical_offset); in acpi_db_dump_pld_buffer()
443 pld_info->horizontal_offset); in acpi_db_dump_pld_buffer()
448 ACPI_FREE(pld_info); in acpi_db_dump_pld_buffer()