sdw_nwrite_no_pm(9)
β¨ sdw_nwrite_no_pm β like, the whole vibe β¨
okay so this is a page from the Kernel API Manual bestie, and we're talking about sdw_nwrite_no_pm π
it lives in section 9, it's giving "write n contiguous SDW Slave registers with no PM" energy, and honestly? she's iconic. let's get into it π«Ά
πΈ NAME πΈ
sdw_nwrite_no_pm β Write "n" contiguous SDW Slave registers with no PM β¨
π SYNOPSIS π
int sdw_nwrite_no_pm (struct sdw_slave *slave , u32 addr , size_t count
, const u8 *val );
that's the whole signature, no cap π
π¦ ARGUMENTS π¦
slaveβ the SDW Slave, your main character here πaddrβ Register address, like the address of the register, you know the drill πcountβ length (yes bestie, that's the whole description, it said "length" and honestly same) πvalβ Buffer for values to be written π this is where your actual data lives
π DESCRIPTION π
okay so real talk for a sec π β note that if the message crosses a page boundary each page will be transferred under a separate invocation of the msg_lock.
like, that's the whole description, no filler, no fluff, and honestly? we respect it ππ so if your message spans pages, that lock gets invoked per page, separately, that's just how it is π§
no PM in the name, no PM in the game β the function is literally called no_pm and the title says "with no PM", so iykyk π
π SEE ALSO π
related reading, the whole friend group fr fr π the kernel file ./drivers/soundwire/bus.c plus all of these lovely humans:
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_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)sdw_bus_clk_stop(9)sdw_bus_exit_clk_stop(9)sdw_handle_slave_status(9)
β and that's the page!! brought to you by ./drivers/soundwire, dated October 2026, thanking you for coming to my ted talk π slay, stay hydrated, and may all your page boundaries be kind to you ππ
β¨
π¦ 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