Searched refs:physical_location (Results 1 – 5 of 5) sorted by relevance
24 dev->physical_location = in dev_add_physical_location()25 kzalloc(sizeof(*dev->physical_location), GFP_KERNEL); in dev_add_physical_location()26 if (!dev->physical_location) { in dev_add_physical_location()31 dev->physical_location->panel = pld->panel; in dev_add_physical_location()34 dev->physical_location->dock = pld->dock; in dev_add_physical_location()35 dev->physical_location->lid = pld->lid; in dev_add_physical_location()46 switch (dev->physical_location->panel) { in panel_show()77 switch (dev->physical_location->vertical_position) { in vertical_position_show()99 switch (dev->physical_location->horizontal_position) { in horizontal_position_show()120 str_yes_no(dev->physical_location->dock)); in dock_show()[all …]
29 obj-$(CONFIG_ACPI) += physical_location.o
2968 if (dev->physical_location) { in device_remove_attrs()2970 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
706 struct device_physical_location *physical_location; member