3 #ifndef __ACPI_ACPI_PLD_H__
4 #define __ACPI_ACPI_PLD_H__
65 #define ACPI_PLD_GROUP(__token, __position) \
68 .position = __position, \
80 #define ACPI_PLD_TYPE_A(__panel, __horiz, __grp) \
83 .panel = PLD_PANEL_##__panel, \
84 .shape = PLD_SHAPE_HORIZONTAL_RECTANGLE, \
85 .horizontal_position = PLD_HORIZONTAL_POSITION_##__horiz, \
89 #define ACPI_PLD_TYPE_C(__panel, __horiz, __grp) \
92 .panel = PLD_PANEL_##__panel, \
93 .shape = PLD_SHAPE_OVAL, \
94 .horizontal_position = PLD_HORIZONTAL_POSITION_##__horiz, \
int acpi_pld_to_buffer(const struct acpi_pld *pld, uint8_t *buf, int buf_len)
@ PLD_ORIENTATION_HORIZONTAL
@ PLD_ORIENTATION_VERTICAL
@ PLD_SHAPE_VERTICAL_TRAPEZOID
@ PLD_SHAPE_HORIZONTAL_TRAPEZOID
@ PLD_SHAPE_VERTICAL_RECTANGLE
@ PLD_SHAPE_HORIZONTAL_RECTANGLE
acpi_pld_horizontal_position
@ PLD_HORIZONTAL_POSITION_LEFT
@ PLD_HORIZONTAL_POSITION_RIGHT
@ PLD_HORIZONTAL_POSITION_CENTER
int acpi_pld_fill_usb(struct acpi_pld *pld, enum acpi_upc_type type, struct acpi_pld_group *group)
acpi_pld_vertical_position
@ PLD_VERTICAL_POSITION_LOWER
@ PLD_VERTICAL_POSITION_CENTER
@ PLD_VERTICAL_POSITION_UPPER
enum acpi_pld_vertical_position vertical_position
enum acpi_pld_horizontal_position horizontal_position
enum acpi_pld_orientation orientation
uint16_t horizontal_offset
enum acpi_pld_panel panel
struct acpi_pld_group group
enum acpi_pld_shape shape
enum acpi_pld_rotate rotation