northpeak_store(9)
π northpeak_store(9) β like, the Kernel API Manual, bestie β¨
okay so real talk, this is a page from the Kernel API Manual (northpeak_store(9), yes that's the whole name, she's iconic like that) and it's literally just one little function whose entire job is flipping Northpeak on and off. that's it. that's the whole vibe. π
β¨ NAME β¨
northpeak_store β enable or disable Northpeak πΈ
like, on. off. binary. she contains multitudes but only two of them.
π¦ SYNOPSIS π¦
ssize_t northpeak_store (struct device *dev , struct device_attribute
*attr , const char *buf , size_t count );
yep that's the whole signature, copy it exactly, do not come for me about the spacing, that's how it's written, periodt. π
π«Ά ARGUMENTS π«Ά
four of them. all of them matter. let's go:
devβ the device that the attribute belongs to. like, whose house are we in. πattrβ the attribute in question. the actual thing being poked. πbufβ the buffer holding the data that's gonna get stored to the attribute. the payload, the tea, the content. πcountβ number of bytes inbuf. bestie we need to know how much data we're dealing with, we're not animals. π
π₯ DESCRIPTION π₯
okay so here's the whole deal β it expects an unsigned integer. that's the vibe check.
- non-zero β Northpeak is enabled β¨β
- zero β Northpeak is disabled πβ
that's the entire behaviour. no hidden options, no secret modes, no easter eggs. just numbers doing their little binary slay. π
fr fr, it's expecting an unsigned integer β don't show up with anything else and then act surprised. π
π RETURN π
it returns the number of bytes written (that's count, the same one from up there, she came back π«Ά) β or a negative errno if something went wrong. π
so like: happy path β count. sad path β negative errno. iykyk. β
π SEE ALSO π
go look at these next, they're all in the kernel file ./drivers/mfd/intel_pmc_bxt.c:
all of them are friends of this page, go say hi, they don't bite. π§ββοΈ
<div>and that's the whole page bestie!! this lil gem lives in ./drivers/mfd and it's dated October 2026 β so like, mark your calendar, this manual page ate and left no crumbs π
β¨π¦π</div>
π¦ 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