sdw_bus_clk_stop(9)
π sdw_bus_clk_stop β the Kernel API Manual, but make it cute
okay so bestie, this page is all about sdw_bus_clk_stop from the Kernel API Manual and it's genuinely so straightforward, i promise. it's the little function that says "alright girlies, clock's done, everybody out" β¨
β¨ NAME β¨
sdw_bus_clk_stop β literally just stop the bus clock. that's it. that's the whole job. π
πΈ SYNOPSIS πΈ
int sdw_bus_clk_stop (struct sdw_bus *bus );
like, one call, one argument, returns an int. iconic minimalism fr fr π
π¦ ARGUMENTS π¦
busβ your SDW bus instance. the main character of this whole operation π«Ά
β DESCRIPTION β
so here's the vibe: after you've prepared the Slaves for clock stop (that's the whole other function's job, we don't do it here, we're just the finisher), you stop the clock by broadcasting a write to the SCP_CTRL register. that's the whole mechanic. no cap. π₯
basically everybody on the bus hears the announcement at once, and the clock goes night-night πβ¨
π SEE ALSO π
the kernel file lives at ./drivers/soundwire/bus.c β go read it, it's giving lore π
and then all these siblings, in order, because i would never leave one out:
sdw_bus_master_add(9)sdw_bus_master_delete(9)sdw_transfer(9)sdw_show_ping_status(9)sdw_transfer_defer(9)sdw_nread_no_pm(9)sdw_nwrite_no_pm(9)sdw_write_no_pm(9)sdw_read_no_pm(9)sdw_nread(9)sdw_nwrite(9)sdw_read(9)sdw_write(9)sdw_bus_prep_clk_stop(9)β the pre-game π§sdw_bus_exit_clk_stop(9)β the come-back π¦sdw_handle_slave_status(9)
ngl, if you're touching clock stop, you probably also want sdw_bus_prep_clk_stop(9) first. like, do the prep, then the stop. that's the whole sequence, bestie π
alright that's the page!! π this one came out of ./drivers/soundwire, dated October 2026, and it's filed under sdw_bus_clk_stop(9) if you ever need to find it again. mwah, go stop some clocks responsibly πβ¨π
π¦ 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