s3c_set_platdata(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, you’re on the s3c_set_platdata(9) page in the Kernel API Manual, and it’s literally giving β€œhelper for setting platform data” πŸ’…βœ¨

🌸 NAME 🌸

okay so this is s3c_set_platdata β€” the helper for setting platform data. no cap, that’s the whole vibe of the NAME section 🫢

✨ SYNOPSIS ✨

void * s3c_set_platdata (void *pd , size_t pdsize , struct
       platform_device *pdev );

πŸŽ€ ARGUMENTS πŸŽ€

  • pd β€” the default platform data for this device. like, the starter pack πŸ“
  • pdsize β€” the size of the platform data. yes bestie, the size matters πŸ’–
  • pdev β€” pointer to the device to fill in. this is the main character pointer πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

This helper is the icon that replaces a number of calls that copy and then set the platform data of the device. so instead of doing the copy-then-set combo manually a bunch of times, this little helper handles that energy. periodt ✨

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./arch/arm/mach-s3c/devs.h β€” go look, bestie πŸ‘€

mwah πŸ’‹ this page’s source/version is ./arch/arm/mach-s3c, it’s dated October 2026, and the manual name is s3c_set_platdata(9). byeee πŸ‘‘βœ¨

πŸ“¦ where this page comes from