ci_hdrc_pci_probe(9)
β¨ ci_hdrc_pci_probe β PCI probe β¨
okay so bestie, we're in the Kernel API Manual today and this one is literally the glow-up moment for a USB device controller π¦ it's ci_hdrc_pci_probe(9), and yes it's giving main character energy in the ChipIdea driver. let me walk you through it π
πΈ NAME πΈ
ci_hdrc_pci_probe β PCI probe. that's it, that's the vibe π
β SYNOPSIS β
int ci_hdrc_pci_probe (struct pci_dev *pdev , const struct pci_device_id *id );
π ARGUMENTS π
pdevβ the USB device controller that's being probed rn π like it's the one getting the spotlightidβ the PCI hotplug ID, and its whole job is connecting the controller to the UDC framework π«Ά iykyk
π₯ DESCRIPTION π₯
so the way this works: this function returns an error code π (yes, it's that kind of function, keep an eye on it).
what it does is lowkey iconic β it allocates the basic PCI resources for this USB device controller, and then it invokes the udc_probe method to start the UDC associated with it π₯ that's the whole arc. allocate the stuff, then kick off the UDC. periodt.
ngl if something goes sideways in there, the error code is how it tells you. don't ignore it bestie π
π SEE ALSO π
- Kernel file
./drivers/usb/chipidea/ci_hdrc_pci.cβ the source, go read it, it ate π ci_hdrc_pci_remove(9)β the counterpart, the breakup arc π§
and that's the page, bestie!! π brought to you by ./drivers/usb/chipidea, dated October 2026, under the Kernel API Manual β catch you on the next probe, mwah πβ¨π
π¦ 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