ATA_WAIT_REGISTER - Online Linux Manual Page
Section : 9
Updated : June 2018
Source : Kernel Hackers Manual 2.6.
Note : libata Library
NAMEata_wait_register − wait until register value changes
SYNOPSISu32 ata_wait_register(struct ata_port * ap, void __iomem * reg, u32 mask, u32 val, unsigned long interval, unsigned long timeout);
ARGUMENTSap ATA port to wait register for, can be NULL reg IO−mapped register mask Mask to apply to read register value val Wait condition interval polling interval in milliseconds timeout timeout in milliseconds
DESCRIPTIONWaiting for some bits of register to change is a common operation for ATA controllers. This function reads 32bit LE IO−mapped register reg and tests for the following condition. (*reg & mask) != val If the condition is met, it returns; otherwise, the process is repeated after interval_msec until timeout.
LOCKINGKernel thread context (may sleep)
RETURNSThe final register value.
AUTHORJeff Garzik Author.
COPYRIGHT
0
Johanes Gumabo
Data Size : 7,219 byte
man-ata_wait_register.9Build : 2025-03-22, 13:26 :
Visitor Screen : x
Visitor Counter ( page / site ) : 56 / 4,826,512
Visitor ID : :
Visitor IP : 216.73.216.132 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 20 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.