CONFIG_AP is not available for thedefaultarchitecture x86.
Result is shown for architecture s390

Support for Adjunct Processors (ap)

modulename: ap.ko

configname: CONFIG_AP

Linux Kernel Configuration
└─>I/O subsystem
└─>Support for Adjunct Processors (ap)
In linux kernel since version 4.19.318 (release Date: 2024-07-18)  
This driver allows usage to Adjunct Processor (AP) devices via
the ap bus, cards and queues. Supported Adjunct Processors are
the CryptoExpress Cards (CEX).

To compile this driver as a module, choose M here: the
module will be called ap.

If unsure, say Y (default).

source code:
is selected by
CONFIG_VFIO_AP
CONFIG_ZCRYPT