pcie_write_cmd(9)
π NAME π
okay so bestie, this is pcie_write_cmd(9) from the Kernel API Manual, and the function is pcie_write_cmd β its whole job is to issue controller command. Lowkey iconic, highkey useful πβ¨
β¨ SYNOPSIS β¨
The exact signature, no cap β keep it character-for-character:
void pcie_write_cmd (struct controller *ctrl , u16 cmd , u16 mask );
πΈ ARGUMENTS πΈ
ctrlβ the controller youβre issuing the command to π«Άcmdβ the command value that gets written to the slot control register πmaskβ the bitmask of the slot control register thatβs being modified β¨
π¦ SEE ALSO π¦
If youβre doing the classic βone more manpageβ spiral (relatable), hereβs the kernel file and the whole friend group:
- Kernel file:
./drivers/pci/hotplug/pciehp_hpc.c pciehp_check_link_active(9)pciehp_card_present(9)pciehp_card_present_or_link_active(9)pciehp_set_indicators(9)pciehp_slot_reset(9)
okay bye bestie β source/version: ./drivers/pci/hotplug, date: October 2026. This pcie_write_cmd(9) page ate and left no crumbs π
π
π¦ 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