ENUM DEVICE_PHYSICAL_LOCATION_PANEL(9)
π enum device_physical_location_panel(9) π
welcome to the Kernel API Manual, bestie β this one is literally about figuring out which panel surface of the system's housing the device connection point resides on. It's giving "where exactly is this port living" energy, and honestly? Iconic. π β¨
β¨ SYNOPSIS β¨
okay so the shape of it is exactly this, no cap:
enum device_physical_location_panel {
DEVICE_PANEL_TOP ,
DEVICE_PANEL_BOTTOM ,
DEVICE_PANEL_LEFT ,
DEVICE_PANEL_RIGHT ,
DEVICE_PANEL_FRONT ,
DEVICE_PANEL_BACK ,
DEVICE_PANEL_UNKNOWN
};
π Constants π
DEVICE_PANEL_TOPβ the device connection point is on the top panel. top-panel realness, slay. πΈDEVICE_PANEL_BOTTOMβ the device connection point is on the bottom panel. lowkey underrated. π¦DEVICE_PANEL_LEFTβ the device connection point is on the left panel. left-side bestie behavior. πDEVICE_PANEL_RIGHTβ the device connection point is on the right panel. right-side icon energy. β¨DEVICE_PANEL_FRONTβ the device connection point is on the front panel. front-facing main character vibes. πDEVICE_PANEL_BACKβ the device connection point is on the back panel. back-panel business, iykyk. πDEVICE_PANEL_UNKNOWNβ the panel with device connection point is unknown. not knowing is valid, but it's literally the unknown option. π
π¦ SEE ALSO π¦
okay bestie, if you're going on a kernel deep-dive, the Kernel file is ./include/linux/device.h, and the whole SEE ALSO squad is: struct subsys_interface(9), struct device_attribute(9), struct dev_ext_attribute(9), DEVICE_ATTR(9), DEVICE_ATTR_RW(9), DEVICE_ATTR_ADMIN_RW(9), DEVICE_ATTR_RW_NAMED(9), DEVICE_ATTR_RO(9), DEVICE_ATTR_ADMIN_RO(9), DEVICE_ATTR_RO_NAMED(9), DEVICE_ATTR_WO(9), DEVICE_ATTR_WO_NAMED(9), DEVICE_ULONG_ATTR(9), DEVICE_INT_ATTR(9), DEVICE_BOOL_ATTR(9), DEVICE_STRING_ATTR_RO(9), enum device_link_state(9), enum dl_dev_state(9), enum device_removable(9), struct dev_links_info(9), struct dev_msi_info(9), enum device_physical_location_vertical_position(9), enum device_physical_location_horizontal_position(9), struct device_physical_location(9), enum struct_device_flags(9), struct device(9), struct device_link(9), device_set_driver_override(9), device_has_driver_override(9), device_match_driver_override(9), device_iommu_mapped(9), dev_name(9), dev_bus_name(9), device_find_child_by_name(9), device_find_any_child(9), device_lock_set_class(9), device_lock_reset_class(9).
xoxo, source: ./include/linux β date: October 2026 β from the Kernel API Manual, for enum device_physical_location_panel(9) ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms