it8213_set_piomode(9)
π NAME π
Okay bestie, welcome to the Kernel API Manual corner of the group chat π. Todayβs main character is it8213_set_piomode β and it does exactly one iconic thing: Initialize host controller PATA PIO timings. Periodt.
β¨ SYNOPSIS β¨
void it8213_set_piomode (struct ata_port *ap , struct ata_device *adev
);
π ARGUMENTS π
apβ the port whose timings weβre configuring, aka the one getting the timing glow-up.adevβ the device whose timings weβre configuring. Itβs giving βdevice with a scheduleβ vibes.
π¦ DESCRIPTION π¦
So what it actually does: it sets the PIO mode for the device, right in the host controller PCI config space. Thatβs the whole assignment, no cap.
LOCKING: None (inherited from caller). So the locking situation is literally inherited from whoever called you β donβt come for locks that arenβt yours π .
π SEE ALSO π
- Kernel file
./drivers/ata/pata_it8213.c it8213_pre_reset(9)it8213_cable_detect(9)it8213_set_dmamode(9)it8213_init_one(9)
Thatβs the whole page, bestie π«Ά β coming at you from the ./drivers/ata source corner, dated October 2026, and filed under the Kernel API Manual with it8213_set_piomode(9) energy. 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