sdw_read_no_pm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– sdw_read_no_pm(9) β€” like, the Kernel API Manual edition, bestie πŸ’–

Okay so hi!! πŸ‘‹ This is a page from the kernel API manual, and it's all about sdw_read_no_pm β€” which honestly does exactly what it says on the tin: it reads a SDW Slave register, and it does it with no PM. No power management, no extra steps, no drama, just a read. Periodt. ✨


🌸 NAME 🌸

sdw_read_no_pm β€” Read a SDW Slave register with no PM πŸŽ€

Like, that's the whole vibe. You wanna peek at a register on a SoundWire slave and you're not doing the PM dance around it. Slay. πŸ’…


✨ SYNOPSIS ✨

int sdw_read_no_pm (struct sdw_slave *slave , u32 addr );

That's the whole signature, bestie β€” it returns an int, takes a pointer to a struct sdw_slave, and a u32 address. Clean, simple, iconic. πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • slave β€” the SDW Slave. Like, the actual slave device you're talking to. It's a struct sdw_slave *, so yes, you pass the pointer. 🫢
  • addr β€” the Register address. A u32, and it's literally just the address of the register you wanna read. No cap. πŸ“

πŸ”₯ SEE ALSO πŸ”₯

The kernel file lives at ./drivers/soundwire/bus.c, and here's the whole friend group of related calls β€” every single one, because we don't leave anyone out in this house: 🌈

Not me listing all sixteen of these and still being obsessed β€” if you're looking for the PM-having version of a read, you probably want sdw_read(9) instead. Iykyk. πŸ™ˆ

Okay that's the whole page, bestie! πŸ’œ This absolute gem comes from ./drivers/soundwire, dated October 2026, and it's filed under sdw_read_no_pm(9). Go read those registers (no PM!!) and stay iconic. πŸ§šβ­πŸ’–

πŸ“¦ where this page comes from