arch/mips/sibyte/common/dma.c

Source file repositories/reference/linux-study-clean/arch/mips/sibyte/common/dma.c

File Facts

System
Linux kernel
Corpus path
arch/mips/sibyte/common/dma.c
Extension
.c
Size
268 bytes
Lines
15
Domain
Architecture Layer
Bucket
arch/mips
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0+
/*
 *	DMA support for Broadcom SiByte platforms.
 *
 *	Copyright (c) 2018  Maciej W. Rozycki
 */

#include <linux/swiotlb.h>
#include <asm/bootinfo.h>

void __init plat_swiotlb_setup(void)
{
	swiotlb_init(true, SWIOTLB_VERBOSE);
}

Annotation

Implementation Notes