ti_sci_cmd_get_clock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this is ti_sci_cmd_get_clock(9) from the Kernel API Manual β€” and the whole vibe is Get control of a clock from TI SCI. yes, it's giving firmware-core main character energy. πŸ’…


✨ SYNOPSIS ✨

int ti_sci_cmd_get_clock (const struct ti_sci_handle *handle , u32
dev_id , u32 clk_id , bool needs_ssc , bool can_change_freq , bool
enable_input_term );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • handle β€” pointer to TI SCI handle. that's your golden ticket into the TI SCI world. 🎟️
  • dev_id β€” Device identifier this request is for. literally the β€œwho is this for” of the whole thing. πŸ‘‘
  • clk_id β€” Clock identifier for the device for this request. Each device has its own set of clock inputs. This indexes which clock input to modify. so yeah, it picks the exact clock input bestie. πŸ•°οΈ
  • needs_ssc β€” the original page gives no extra description here; it's just listed as a bool. no invented lore, periodt. 🫢
  • can_change_freq β€” same deal: no description on the page, just a bool. we are not making up extra facts, ngl. πŸ’€
  • enable_input_term β€” also no description in the source; it's a bool and that's all we get. iconic minimalism, honestly. ✨

🌸 RETURN 🌸

0 if all went well, else returns appropriate error value. that's the whole mood: slay if it works, error value if it doesn't. 😭


🌈 SEE ALSO 🌈

Kernel file: ./drivers/firmware/ti_sci.c β€” that's the source-file bestie! and the whole squad is here:


made with πŸ’– from the ./drivers/firmware source/version corner, dated October 2026, for ti_sci_cmd_get_clock(9) β€” mwah, bye bestie! πŸŽ€βœ¨

πŸ“¦ where this page comes from