mv_pci_init_one(9)
π mv_pci_init_one(9) β from the Kernel API Manual girlies β¨
okay so bestie, we're in the <pink>Kernel API Manual</pink> today and the main character is mv_pci_init_one β yes, that's a section 9 manual page, we're doing kernel internals, no cap π«Ά
β¨ NAME β¨
mv_pci_init_one β the one that handles a positive probe of a PCI Marvell host π literally the "yay it's here" function for a Marvell PCI host, slay
πΈ SYNOPSIS πΈ
int mv_pci_init_one (struct pci_dev *pdev , const struct pci_device_id
*ent );
that's the whole signature, copy it exactly pls, character for character, no editing π
π ARGUMENTS π
pdevβ the PCI device that got found π that's the one we're working withentβ the PCI device ID entry for the matched host β like, the lil matching receipt for the host we just vibed with π§Ύβ¨
π¦ DESCRIPTION π¦
LOCKING: Inherited from caller.
that's it. that's the whole description. not me expecting a whole essay and getting one line π but honestly? iconic. inherited locking means you the caller deal with the lock situation β it's giving "not my problem, that's your main character energy to handle" π so please, for the love of everything, know what lock you're holding before you call this fr fr
lowkey important: the locking is inherited from the caller, so whatever lock state you're in when you call this is the lock state you get. don't come for me, I'm just the messenger π«Ά
π SEE ALSO π
all the siblings in Kernel file ./drivers/ata/sata_mv.c β go read the whole fam, they're all connected:
mv_save_cached_regs(9)mv_write_cached_reg(9)mv_stop_edma_engine(9)mv_port_start(9)mv_port_stop(9)mv_fill_sg(9)mv_sff_irq_clear(9)mv_check_atapi_dma(9)mv_bmdma_setup(9)mv_bmdma_start(9)mv_bmdma_stop_ap(9)mv_bmdma_status(9)mv_qc_prep(9)mv_qc_prep_iie(9)mv_sff_check_status(9)mv_send_fis(9)mv_qc_issue_fis(9)mv_qc_issue(9)mv_err_intr(9)mv_host_intr(9)mv_interrupt(9)mv_port_init(9)mv_init_host(9)mv_platform_probe(9)mv_print_info(9)
like, twenty-five whole functions?? they ate and left no crumbs π₯ iykyk
and that's the page bestie!! π sign-off time: this lil masterpiece lives under ./drivers/ata, dated <purple>October 2026</purple>, and it's filed as mv_pci_init_one(9) β mwah, go forth and probe 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