stm_source_register_device(9)
π
stm_source_register_device(9) π
okay so bestie, this page is from the Kernel API Manual, and itβs literally about stm_source_register_device(9) β the βmake it officialβ moment for an stm_source device. β¨
πΈ NAME πΈ
stm_source_register_device β register an stm_source device. Like, itβs giving βput me in the system, Iβm readyβ energy. π
π SYNOPSIS π
int stm_source_register_device (struct device *parent , struct
stm_source_data *data );
π¦ ARGUMENTS π¦
parentβ parent device. Itβs the parent-device slot, bestie. πdataβ device description structure. The little struct that describes the device. π
β¨ DESCRIPTION β¨
This will create a device of stm_source class that can write data to an stm device once linked. Slay β thatβs the whole vibe. Once itβs linked, it can write data to an stm device. No cap. π
π₯ RETURN π₯
0 on success, -errno otherwise. So if it worked, you get 0; if not, you get -errno. Periodt. π
π SEE ALSO π
- Kernel file
./drivers/hwtracing/stm/core.c stm_find_device(9)stm_put_device(9)stm_data_write(9)stm_source_link_add(9)__stm_source_link_drop(9)stm_source_link_drop(9)stm_source_unregister_device(9)
byeee bestie π«Ά this page came from ./drivers/hwtracing/stm, dated October 2026, and itβs literally stm_source_register_device(9) β iconic. π
π¦ 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