sdw_nwrite_no_pm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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:


⭐ 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