dsm_evaluate(9)
π dsm_evaluate(9) β like, the Kernel API Manual page, bestie β¨
okay so welcome to dsm_evaluate(9), straight out of the Kernel API Manual and honestly? she's a little icon. tiny function, big job: she sends the DSM PCIe SSD Status LED command. yes, that one. the blinky light. the main character of your drives. π
π NAME
dsm_evaluate β send DSM PCIe SSD Status LED command. that's it, that's the whole vibe check. π¦
β¨ SYNOPSIS
int dsm_evaluate (struct pci_dev *pdev , u64 dsm_func , struct
dsm_output *output , u32 value_to_set );
like, four args, returns an int, we love a simple signature fr fr π
πΈ ARGUMENTS
pdevβ PCI device. the actual PCI device you're working with, periodt. π«Άdsm_funcβ DSM LED Function. which LED function you're asking for, iykyk. π₯outputβ buffer to copy DSM Response. she's the destination, the place the response gets copied to, no cap. πvalue_to_setβ value forSET_STATE_DSMfunction. so like, the value you want to set when you're doing theSET_STATE_DSMthing. π
π DESCRIPTION
okay so the whole point: to not bother the caller with ACPI context, the returned _DSM Output Buffer is copied. π«Ά
that's it!! that's the entire character arc!! you don't have to deal with ACPI context, because the returned _DSM Output Buffer gets copied for you. lowkey thoughtful of her ngl β¨
π¦ SEE ALSO
- Kernel file
./drivers/pci/npem.c struct npem_led(9)struct npem_ops(9)struct npem(9)
go read the friends, they're all linked in the kernel file ./drivers/pci/npem.c and they ate, honestly π
π reminder bestie: everything above is literally the whole manpage. no extra lore, no invented behaviour, just the facts with a glow-up. π§
mwah π this page lives in ./drivers/pci, dated October 2026, and she's called dsm_evaluate(9) β slay, bye!! πβ¨
π¦ 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