ctucan_platform_probe(9)
πΈ ctucan_platform_probe(9) πΈ
okay bestie, welcome to the Kernel API Manual corner π we're talking about the platform registration call and honestly? iconic.
β¨ NAME β¨
ctucan_platform_probe β Platform registration call π«Ά
π¦ SYNOPSIS π¦
int ctucan_platform_probe (struct platform_device *pdev );
π ARGUMENTS π
pdevβ handle to thestruct platform_devicestructure, aka the platform device's little info card. π«Ά
π DESCRIPTION π
okay so this function does all the memory allocation and registration for the CAN device. all of it. memory allocation? yes. registration? yes. it's giving "setup era" and it is literally doing the work. β¨ no cap.
β RETURN β
0β on success, we love to see it, periodt π- failure value β on error, so bestie please check it π
π SEE ALSO π
- Kernel file
./drivers/net/can/ctucanfd/ctucanfd_platform.cβ the source file, go read her π ctucan_platform_remove(9)β the remove side of the story, iykyk π¦
mwah π that's the whole page. source/version vibes from ./drivers/net/can/ctucanfd, dated October 2026. π§π
π¦ 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