mv_qc_prep(9)
π mv_qc_prep(9) β the Kernel API Manual glow-up π
bestie, this page is all about host-specific command prep, and itβs lowkey iconic. letβs get into the details without losing a single one. π
πΈ NAME πΈ
mv_qc_prep β Host specific command preparation.
β¨ SYNOPSIS β¨
enum ata_completion_errors mv_qc_prep (struct ata_queued_cmd *qc );
π«Ά ARGUMENTS π«Ά
qcβ queued command to prepare. thatβs the queued command youβre getting ready, bestie π
π DESCRIPTION π
okay so picture this: if the command is not DMA, this routine simply redirects to the general purpose routine. no cap, thatβs the move. π¦
else β DMA mode, bestie β it handles prep of the CRQB (command request block), does some sanity checking, and calls the SG load routine. itβs giving responsible little prep gremlin and we love that for it π₯
LOCKING: Inherited from caller. so whatever locking vibe you showed up with? thatβs the locking vibe this function is working with π«Ά
π SEE ALSO π
Kernel file: ./drivers/ata/sata_mv.c
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_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)mv_pci_init_one(9)
xoxo, from ./drivers/ata β October 2026, mv_qc_prep(9) signing off πβ¨
π¦ 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