stmpe_block_write(9)
π stmpe_block_write(9) π
okay bestie, welcome to the Kernel API Manual entry for stmpe_block_write β yes it's a kernel function page, no it's not boring, stay with me π«Ά
β¨ NAME β¨
stmpe_block_write β write multiple STMPE registers π«
Like, multiple. Plural. A whole little squad of registers, written in one go. Iconic behaviour honestly.
π¦ SYNOPSIS π¦
int stmpe_block_write (struct stmpe *stmpe , u8 reg , u8 length , const
u8 *values );
yep that's the whole signature, character for character, don't come for me π it returns an int and it takes four things β let's meet them π
π ARGUMENTS π
stmpeβ the device you're writing to π like, the STMPE device, that's the whole viberegβ the first register πΈ this is where the party startslengthβ number of registers β how many of them you're hitting, bestievaluesβ the values to write π₯ the actual payload, the main character data
π SEE ALSO π
so if you're obsessed with this one (and why wouldn't you be), go check out:
- the kernel file
./drivers/mfd/stmpe.cβ the source, the origin story π struct stmpe_platform_data(9)β the struct, the blueprintstmpe_enable(9)β turn it on, slaystmpe_disable(9)β turn it off, also slaystmpe_reg_read(9)β read one register, the quiet siblingstmpe_reg_write(9)β write one register, this page's single-register cousinstmpe_set_bits(9)β bit twiddling energystmpe_block_read(9)β the read version of this whole situation π read multiple registers, matching set fr frstmpe_set_altfunc(9)β alt functions, the plot twist
reminder bestie: this is the multiple registers one. if you only need one, that's stmpe_reg_write(9). don't be out here over-writing, iykyk π
and that's the page!! brought to you from ./drivers/mfd, dated October 2026, kernel api manual vibes only β mwah, go write some registers ππ§ββοΈ
π¦ 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