drivers/crypto/intel/qat/qat_common/adf_anti_rb.c

Source file repositories/reference/linux-study-clean/drivers/crypto/intel/qat/qat_common/adf_anti_rb.c

File Facts

System
Linux kernel
Corpus path
drivers/crypto/intel/qat/qat_common/adf_anti_rb.c
Extension
.c
Size
1697 bytes
Lines
67
Domain
Driver Families
Bucket
drivers/crypto
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

if (anti_rb->svncheck_retry++ >= ADF_SVN_RETRY_MAX) {
			anti_rb->svncheck_retry = 0;
			return -ETIMEDOUT;
		}
		msleep(ADF_SVN_RETRY_MS);
		return -EAGAIN;
	default:
		dev_err(&GET_DEV(accel_dev), "Invalid SVN check status\n");
		return -EINVAL;
	}
}

Annotation

Implementation Notes