wilco_ec_set_property(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the wilco_ec_set_property(9) page from the Kernel API Manual, bestie ✨ this one is literally about one job: wilco_ec_set_property β€” Store a property on the EC. That’s it. That’s the vibe 🫢


✨ SYNOPSIS ✨

int wilco_ec_set_property (struct wilco_ec_device *ec , struct
       wilco_ec_property_msg *prop_msg );

🫢 ARGUMENTS 🫢

  • ec β€” Embedded Controller device. your EC device, the main character here πŸ’…
  • prop_msg β€” Message for request and response. it’s giving β€œrequest goes in, response comes out” πŸ”

πŸŽ€ DESCRIPTION πŸŽ€

okay so before you call this function, the property_id, length, and data fields of |prop_msg| should be filled in. like, fill them in first, bestie β€” don’t just show up empty-handed πŸ’€βœ¨


🌈 RETURN 🌈

  • 0 on success πŸŽ‰
  • negative error code on failure 😭

periodt. that’s the return situation πŸ’–


πŸ‘€ SEE ALSO πŸ‘€


and that’s the whole page, bestie πŸ¦‹ cute lil sign-off time: this one comes from the ./include/linux/platform_data source/version, dated October 2026 πŸ’œβœ¨

πŸ“¦ where this page comes from