Home
last modified time | relevance | path

Searched refs:physical_location (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/base/
Dphysical_location.c25 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 …]
DMakefile28 obj-$(CONFIG_ACPI) += physical_location.o
Dcore.c2907 if (dev->physical_location) { in device_remove_attrs()
2909 kfree(dev->physical_location); in device_remove_attrs()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-devices-physical_location1 What: /sys/devices/.../physical_location
9 What: /sys/devices/.../physical_location/panel
16 What: /sys/devices/.../physical_location/vertical_position
23 What: /sys/devices/.../physical_location/horizontal_position
30 What: /sys/devices/.../physical_location/dock
37 What: /sys/devices/.../physical_location/lid
/linux-6.6.21/include/linux/
Ddevice.h791 struct device_physical_location *physical_location; member