dw_pcie_ep_deinit(9)
π dw_pcie_ep_deinit(9) β the Kernel API Manual, but make it cute
okay so bestie, you're looking at dw_pcie_ep_deinit from the Kernel API Manual β yes, that whole manual, we're just vibing in one page of it. This is the "we're so done here" function for a DesignWare endpoint device, and honestly? It's giving cleanup era. β¨
πΈ NAME πΈ
dw_pcie_ep_deinit β Deinitialize the endpoint device. that's it, that's the whole vibe. she deinits. she leaves. she does not look back. π
π SYNOPSIS π
void dw_pcie_ep_deinit (struct dw_pcie_ep *ep );
no return value, no drama, no notes. she just does it. π¦
β¨ ARGUMENTS β¨
epβ the DWC EP device. your endpoint. the main character of this whole situation π«Ά
π₯ DESCRIPTION π₯
so basically: this function deinitializes the endpoint device. that's the job. that's the whole job. π
and here's the part that's lowkey important, bestie β the EPC device is not destroyed by this, because that whole thing is going to be taken care of by Devres. so like, don't come for her about it, she's not in charge of that. ngl that's genuinely a relief, no cap. π
fr fr keep that in mind: deinit β destroy around here. Devres has the cleanup handled. π
π¦ SEE ALSO π¦
the kernel file, in all her glory β like, go read it, iykyk:
./drivers/pci/controller/dwc/pcie-designware-ep.c
aaaand the whole friend group π (obsessed with this lineup, every single one of them):
dw_pcie_ep_get_func_from_ep(9)dw_pcie_ep_reset_bar(9)dw_pcie_ep_raise_intx_irq(9)dw_pcie_ep_raise_msi_irq(9)dw_pcie_ep_raise_msix_irq_doorbell(9)dw_pcie_ep_raise_msix_irq(9)dw_pcie_ep_cleanup(9)dw_pcie_ep_init_registers(9)dw_pcie_ep_linkup(9)dw_pcie_ep_linkdown(9)dw_pcie_ep_init(9)
like, the symmetry of dw_pcie_ep_init(9) being at the end after dw_pcie_ep_deinit opened the page? poetry. π
and that's the whole page bestie, mwah π β this lil masterpiece lives in ./drivers/pci/controller/dwc, dated October 2026, and it's page dw_pcie_ep_deinit(9) of the Kernel API Manual. slay, go deinit something responsibly. ππ
π¦ 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