# infineon/ifx-wireless-drivers architecture

> Architecture diagram of the GitHub repository infineon/ifx-wireless-drivers, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/infineon/ifx-wireless-drivers
- Repository: https://github.com/infineon/ifx-wireless-drivers

## Overview

This is a Linux kernel source tree: its runtime comprises architecture support and many independent drivers, filesystems, and framework services. The graph highlights the sampled operational subsystems rather than implying a single end-to-end application. The excerpts show selected driver, queue, pipeline, and storage behavior; many relationships are omitted where the source index or excerpts do not establish a call or transfer.

Main entry points: [`drivers/dma/dmaengine.c`](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/dma/dmaengine.c) (DMA engine core), [`fs/romfs/storage.c`](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/fs/romfs/storage.c) (RomFS storage access), [`drivers/crypto/ccp/ccp-dmaengine.c`](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/crypto/ccp/ccp-dmaengine.c) (CCP DMA driver), [`drivers/dma/ptdma/ptdma-dmaengine.c`](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/dma/ptdma/ptdma-dmaengine.c) (PTDMA driver)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_async["Async frameworks"]
  node_crypto_engine["Crypto engine queue<br/>[crypto_engine.c]"]
  node_dma_core["DMA engine core<br/>[dmaengine.c]"]
  node_ccp_dma["CCP DMA driver<br/>[ccp-dmaengine.c]"]
  node_pt_dma["PTDMA driver<br/>[ptdma-dmaengine.c]"]
end

subgraph group_graphics["Graphics"]
  node_i915_engine["i915 engine setup<br/>[intel_engine_cs.c]"]
  node_i915_context["i915 contexts<br/>[intel_context.h]"]
  node_komeda_state["Komeda pipeline state"]
end

subgraph group_media["Media processing"]
  node_atomisp_pipeline["AtomISP pipeline<br/>[pipeline.c]"]
  node_dsp_pipeline["mISDN DSP pipeline<br/>[dsp_pipeline.c]"]
end

subgraph group_storage["Storage"]
  node_usb_mass_storage["USB mass storage<br/>[f_mass_storage.c]"]
  node_romfs_access["RomFS storage access<br/>[storage.c]"]
end

subgraph group_platform["Platform drivers"]
end

node_client(("Kernel client"))
node_block_device[("Block device")]
node_mtd_device[("MTD device")]
node_platform_hardware(("Platform hardware"))

node_client -.->|"queues requests"| node_crypto_engine
node_client -.->|"requests transfers"| node_dma_core
node_ccp_dma -->|"uses DMA API"| node_dma_core
node_pt_dma -->|"uses DMA API"| node_dma_core
node_i915_engine -.->|"references context"| node_i915_context
node_atomisp_pipeline -->|"initializes ISP pipeline"| node_platform_hardware
node_romfs_access -->|"reads image data"| node_block_device
node_romfs_access -.->|"reads image data"| node_mtd_device
node_usb_mass_storage -.->|"serves USB requests"| node_platform_hardware

click node_crypto_engine "https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/crypto/crypto_engine.c"
click node_dma_core "https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/dma/dmaengine.c"
click node_ccp_dma "https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/crypto/ccp/ccp-dmaengine.c"
click node_pt_dma "https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/dma/ptdma/ptdma-dmaengine.c"
click node_i915_engine "https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/gpu/drm/i915/gt/intel_engine_cs.c"
click node_i915_context "https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/gpu/drm/i915/gt/intel_context.h"
click node_komeda_state "https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c"
click node_atomisp_pipeline "https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c"
click node_dsp_pipeline "https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/isdn/mISDN/dsp_pipeline.c"
click node_usb_mass_storage "https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/usb/gadget/function/f_mass_storage.c"
click node_romfs_access "https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/fs/romfs/storage.c"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_crypto_engine,node_dma_core,node_ccp_dma,node_pt_dma,node_client toneBlue
class node_i915_engine,node_i915_context,node_komeda_state,node_block_device,node_mtd_device toneAmber
class node_atomisp_pipeline,node_dsp_pipeline toneMint
class node_usb_mass_storage,node_romfs_access toneRose
class node_platform_hardware toneIndigo
```

## Components

### Async frameworks

- [Crypto engine queue](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/crypto/crypto_engine.c): `crypto/crypto_engine.c`
- [DMA engine core](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/dma/dmaengine.c): `drivers/dma/dmaengine.c`
- [CCP DMA driver](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/crypto/ccp/ccp-dmaengine.c): `drivers/crypto/ccp/ccp-dmaengine.c`
- [PTDMA driver](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/dma/ptdma/ptdma-dmaengine.c): `drivers/dma/ptdma/ptdma-dmaengine.c`

### Graphics

- [i915 engine setup](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/gpu/drm/i915/gt/intel_engine_cs.c): `drivers/gpu/drm/i915/gt/intel_engine_cs.c`
- [i915 contexts](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/gpu/drm/i915/gt/intel_context.h): `drivers/gpu/drm/i915/gt/intel_context.h`
- [Komeda pipeline state](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c): `drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c`

### Media processing

- [AtomISP pipeline](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c): `drivers/staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c`
- [mISDN DSP pipeline](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/isdn/mISDN/dsp_pipeline.c): `drivers/isdn/mISDN/dsp_pipeline.c`

### Storage

- [USB mass storage](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/drivers/usb/gadget/function/f_mass_storage.c): `drivers/usb/gadget/function/f_mass_storage.c`
- [RomFS storage access](https://github.com/infineon/ifx-wireless-drivers/blob/RTM/v6.1.145-Longma/fs/romfs/storage.c): `fs/romfs/storage.c`

### Other components

- **Kernel client**
- **Block device**
- **MTD device**
- **Platform hardware**

## Connections

- Kernel client → Crypto engine queue: queues requests
- Kernel client → DMA engine core: requests transfers
- CCP DMA driver → DMA engine core: uses DMA API (evidence: `drivers/crypto/ccp/ccp-dmaengine.c`)
- PTDMA driver → DMA engine core: uses DMA API (evidence: `drivers/dma/ptdma/ptdma-dmaengine.c`)
- i915 engine setup → i915 contexts: references context (evidence: `drivers/gpu/drm/i915/gt/intel_engine_cs.c`)
- AtomISP pipeline → Platform hardware: initializes ISP pipeline (evidence: `drivers/staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c`)
- RomFS storage access → Block device: reads image data (evidence: `fs/romfs/storage.c`)
- RomFS storage access → MTD device: reads image data (evidence: `fs/romfs/storage.c`)
- USB mass storage → Platform hardware: serves USB requests
