Searched refs:physical_location (Results 1 – 5 of 5) sorted by relevance
25 dev->physical_location = in dev_add_physical_location()26 kzalloc(sizeof(*dev->physical_location), GFP_KERNEL); in dev_add_physical_location()27 if (!dev->physical_location) { in dev_add_physical_location()32 dev->physical_location->panel = pld->panel; in dev_add_physical_location()33 dev->physical_location->vertical_position = pld->vertical_position; in dev_add_physical_location()34 dev->physical_location->horizontal_position = pld->horizontal_position; in dev_add_physical_location()35 dev->physical_location->dock = pld->dock; in dev_add_physical_location()36 dev->physical_location->lid = pld->lid; in dev_add_physical_location()47 switch (dev->physical_location->panel) { in panel_show()78 switch (dev->physical_location->vertical_position) { in vertical_position_show()[all …]
28 obj-$(CONFIG_ACPI) += physical_location.o
2907 if (dev->physical_location) { in device_remove_attrs()2909 kfree(dev->physical_location); in device_remove_attrs()
1 What: /sys/devices/.../physical_location9 What: /sys/devices/.../physical_location/panel16 What: /sys/devices/.../physical_location/vertical_position23 What: /sys/devices/.../physical_location/horizontal_position30 What: /sys/devices/.../physical_location/dock37 What: /sys/devices/.../physical_location/lid
791 struct device_physical_location *physical_location; member