ti_sci_cmd_idle_clock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ti_sci_cmd_idle_clock(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so picture this: it's a kernel API manual page, it's serving <purple>TI SCI</purple> realness, and this one function is literally the "please chill out, clock" button. Let's get into it ✨


🌸 NAME 🌸

ti_sci_cmd_idle_clock β€” idle a clock which is in our control. that's it. that's the whole vibe. 🫢


✨ SYNOPSIS ✨

int ti_sci_cmd_idle_clock (const struct ti_sci_handle *handle , u32
dev_id , u32 clk_id );

look at her. iconic signature. no notes. πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • handle β€” pointer to the TI SCI handle. this is your VIP pass to the whole TI SCI situation, don't lose it πŸ™ˆ
  • dev_id β€” the device identifier this request is for. which device are we talking to? this one. 🎯
  • clk_id β€” the clock identifier for the device for this request. and listen: each device has its own set of clock inputs (fr fr, they don't share), so this indexes which clock input to modify. it's giving "pick your fighter" energy πŸ•ΉοΈ

πŸ’€ NOTE πŸ’€

this clock must have been requested by get_clock previously. like, previously previously. no sneaky idling a clock you never asked for, bestie, that's not the move 😭


🌈 RETURN 🌈

0 if all went well β€” slay, we love a zero πŸŽ‰ β€” else it returns the appropriate error value. read that error, don't ignore it, i'm begging πŸ₯Ί


πŸ”₯ SEE ALSO πŸ”₯

okay this part is a whole friend group, everybody's here, it's a party 🎊 starting with the kernel file:

Kernel file ./drivers/firmware/ti_sci.c

then the structs and the entire extended fam:

like i said. full party. everyone came. πŸ’œ


and that's the page!! sourced from ./drivers/firmware, dated October 2026 β€” okurrr, go idle some clocks responsibly, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from