STRUCT ACPI_DEVICE_SOFTWARE_NODE_PORT(9)
β¨ struct acpi_device_software_node_port β NAME β¨
okay bestie, gather round π this is the manual page for struct acpi_device_software_node_port, which is literally the MIPI DisCo for Imaging CSI-2 port. Yes that's a mouthful, yes it's iconic, no we're not renaming it. This page lives in the Kernel API Manual, section 9 π
πΈ SYNOPSIS πΈ
here's the whole vibe, character for character, do not touch:
struct acpi_device_software_node_port {
char port_name[ACPI_DEVICE_SWNODE_PORT_NAME_LENGTH + 1];
u32 data_lanes[ACPI_DEVICE_CSI2_DATA_LANES];
u32 lane_polarities[ACPI_DEVICE_CSI2_DATA_LANES + 1 ];
u64 link_frequencies[ACPI_DEVICE_CSI2_DATA_LANES];
unsigned int port_nr;
bool crs_csi2_local;
struct property_entry
port_props[ACPI_DEVICE_SWNODE_PORT_NUM_ENTRIES];
struct property_entry ep_props[ACPI_DEVICE_SWNODE_EP_NUM_ENTRIES];
struct software_node_ref_args remote_ep[1];
};
likeβ¦ she's structured, she's got arrays, she's got a bool. main character energy fr fr π
π¦ Members π¦
okay so every single field, no skipping, let's go π«Ά
port_nameβ the port name. that's it, that's the whole thing πdata_lanesβ the"data-lanes"property values. yes plural, yes it's an array.lane_polaritiesβ the"lane-polarities"property values. also plural.link_frequenciesβ the"link_frequencies"property values. (u64s, fancy β¨)port_nrβ the port number.crs_csi2_localβ_CRSCSI2 record present (i.e. this is a transmitter one). π like, if this istrue, she's transmitting, periodt.port_propsβ the port properties.ep_propsβ the endpoint properties.remote_epβ a reference to the remote endpoint. reaching out across the link, lowkey romantic ππ«Ά
π SEE ALSO π
go read these next bestie, iykyk:
- Kernel file
./include/acpi/acpi_bus.hstructacpi_device_software_nodes(9) acpi_dev_uid_match(9)acpi_dev_hid_uid_match(9)for_each_acpi_consumer_dev(9)for_each_acpi_dev_match(9)
okay that's the whole page, you ate that πβ¨ this one's sourced from ./include/acpi and it's dated October 2026 β so like, future girlie energy πβ go forth and match those UIDs, mwah ππ
π¦ 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