• Home
  • Raw
  • Download

Lines Matching refs:pld_info

302 u8 *acpi_db_encode_pld_buffer(struct acpi_pld_info *pld_info)  in acpi_db_encode_pld_buffer()  argument
315 ACPI_PLD_SET_REVISION(&dword, pld_info->revision); in acpi_db_encode_pld_buffer()
316 ACPI_PLD_SET_IGNORE_COLOR(&dword, pld_info->ignore_color); in acpi_db_encode_pld_buffer()
317 ACPI_PLD_SET_RED(&dword, pld_info->red); in acpi_db_encode_pld_buffer()
318 ACPI_PLD_SET_GREEN(&dword, pld_info->green); in acpi_db_encode_pld_buffer()
319 ACPI_PLD_SET_BLUE(&dword, pld_info->blue); in acpi_db_encode_pld_buffer()
325 ACPI_PLD_SET_WIDTH(&dword, pld_info->width); in acpi_db_encode_pld_buffer()
326 ACPI_PLD_SET_HEIGHT(&dword, pld_info->height); in acpi_db_encode_pld_buffer()
332 ACPI_PLD_SET_USER_VISIBLE(&dword, pld_info->user_visible); in acpi_db_encode_pld_buffer()
333 ACPI_PLD_SET_DOCK(&dword, pld_info->dock); in acpi_db_encode_pld_buffer()
334 ACPI_PLD_SET_LID(&dword, pld_info->lid); in acpi_db_encode_pld_buffer()
335 ACPI_PLD_SET_PANEL(&dword, pld_info->panel); in acpi_db_encode_pld_buffer()
336 ACPI_PLD_SET_VERTICAL(&dword, pld_info->vertical_position); in acpi_db_encode_pld_buffer()
337 ACPI_PLD_SET_HORIZONTAL(&dword, pld_info->horizontal_position); in acpi_db_encode_pld_buffer()
338 ACPI_PLD_SET_SHAPE(&dword, pld_info->shape); in acpi_db_encode_pld_buffer()
339 ACPI_PLD_SET_ORIENTATION(&dword, pld_info->group_orientation); in acpi_db_encode_pld_buffer()
340 ACPI_PLD_SET_TOKEN(&dword, pld_info->group_token); in acpi_db_encode_pld_buffer()
341 ACPI_PLD_SET_POSITION(&dword, pld_info->group_position); in acpi_db_encode_pld_buffer()
342 ACPI_PLD_SET_BAY(&dword, pld_info->bay); in acpi_db_encode_pld_buffer()
348 ACPI_PLD_SET_EJECTABLE(&dword, pld_info->ejectable); in acpi_db_encode_pld_buffer()
349 ACPI_PLD_SET_OSPM_EJECT(&dword, pld_info->ospm_eject_required); in acpi_db_encode_pld_buffer()
350 ACPI_PLD_SET_CABINET(&dword, pld_info->cabinet_number); in acpi_db_encode_pld_buffer()
351 ACPI_PLD_SET_CARD_CAGE(&dword, pld_info->card_cage_number); in acpi_db_encode_pld_buffer()
352 ACPI_PLD_SET_REFERENCE(&dword, pld_info->reference); in acpi_db_encode_pld_buffer()
353 ACPI_PLD_SET_ROTATION(&dword, pld_info->rotation); in acpi_db_encode_pld_buffer()
354 ACPI_PLD_SET_ORDER(&dword, pld_info->order); in acpi_db_encode_pld_buffer()
357 if (pld_info->revision >= 2) { in acpi_db_encode_pld_buffer()
362 ACPI_PLD_SET_VERT_OFFSET(&dword, pld_info->vertical_offset); in acpi_db_encode_pld_buffer()
363 ACPI_PLD_SET_HORIZ_OFFSET(&dword, pld_info->horizontal_offset); in acpi_db_encode_pld_buffer()
387 struct acpi_pld_info *pld_info; in acpi_db_dump_pld_buffer() local
405 buffer_desc->buffer.length, &pld_info); in acpi_db_dump_pld_buffer()
412 new_buffer = acpi_db_encode_pld_buffer(pld_info); in acpi_db_dump_pld_buffer()
431 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Revision", pld_info->revision); in acpi_db_dump_pld_buffer()
433 pld_info->ignore_color); in acpi_db_dump_pld_buffer()
434 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Red", pld_info->red); in acpi_db_dump_pld_buffer()
435 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Green", pld_info->green); in acpi_db_dump_pld_buffer()
436 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Blue", pld_info->blue); in acpi_db_dump_pld_buffer()
440 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Width", pld_info->width); in acpi_db_dump_pld_buffer()
441 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Height", pld_info->height); in acpi_db_dump_pld_buffer()
446 pld_info->user_visible); in acpi_db_dump_pld_buffer()
447 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Dock", pld_info->dock); in acpi_db_dump_pld_buffer()
448 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Lid", pld_info->lid); in acpi_db_dump_pld_buffer()
449 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Panel", pld_info->panel); in acpi_db_dump_pld_buffer()
451 pld_info->vertical_position); in acpi_db_dump_pld_buffer()
453 pld_info->horizontal_position); in acpi_db_dump_pld_buffer()
454 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Shape", pld_info->shape); in acpi_db_dump_pld_buffer()
456 pld_info->group_orientation); in acpi_db_dump_pld_buffer()
458 pld_info->group_token); in acpi_db_dump_pld_buffer()
460 pld_info->group_position); in acpi_db_dump_pld_buffer()
461 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Bay", pld_info->bay); in acpi_db_dump_pld_buffer()
465 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Ejectable", pld_info->ejectable); in acpi_db_dump_pld_buffer()
467 pld_info->ospm_eject_required); in acpi_db_dump_pld_buffer()
469 pld_info->cabinet_number); in acpi_db_dump_pld_buffer()
471 pld_info->card_cage_number); in acpi_db_dump_pld_buffer()
472 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Reference", pld_info->reference); in acpi_db_dump_pld_buffer()
473 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Rotation", pld_info->rotation); in acpi_db_dump_pld_buffer()
474 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Order", pld_info->order); in acpi_db_dump_pld_buffer()
480 pld_info->vertical_offset); in acpi_db_dump_pld_buffer()
482 pld_info->horizontal_offset); in acpi_db_dump_pld_buffer()
487 ACPI_FREE(pld_info); in acpi_db_dump_pld_buffer()