of_machine_is_compatible(9)
β¨ NAME β¨
Okay so bestie, this is the manual for of_machine_is_compatible(9) from the Kernel API Manual β it's literally the vibe check for the root of the device tree, testing it for a given compatible value. No cap. π¦
π¦ SYNOPSIS π¦
bool of_machine_is_compatible (const char *compat );
π ARGUMENTS π
compatβ the compatible string to look for in the root node'scompatibleproperty. That's the whole assignment, bestie. π
π RETURN π
It returns true if the root node has the given value in its compatible property. That's it, that's the tea. π
π SEE ALSO π
Go be nosy, bestie β here's the whole squad π
- Kernel file:
./include/linux/of.h of_node_init(9)of_parse_phandle(9)of_parse_phandle_with_args(9)of_parse_phandle_with_fixed_args(9)of_parse_phandle_with_optional_args(9)of_phandle_args_equal(9)of_property_count_u8_elems(9)of_property_count_u16_elems(9)of_property_count_u32_elems(9)of_property_count_u64_elems(9)of_property_read_string_array(9)of_property_count_strings(9)of_property_read_string_index(9)of_property_present(9)of_property_read_u8_array(9)of_property_read_u16_array(9)of_property_read_u32_array(9)of_property_read_u64_array(9)struct of_changeset_entry(9)struct of_changeset(9)of_device_is_system_power_controller(9)of_have_populated_dt(9)
Bye bestie π«Ά β this page lives at ./include/linux, is stamped October 2026, and it's all about of_machine_is_compatible(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