sdw_read_no_pm(9)
π 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 astruct sdw_slave *, so yes, you pass the pointer. π«Άaddrβ the Register address. Au32, 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: π
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_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)
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
- 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