arch/mips/include/asm/mach-rc32434/dma_v.h

Source file repositories/reference/linux-study-clean/arch/mips/include/asm/mach-rc32434/dma_v.h

File Facts

System
Linux kernel
Corpus path
arch/mips/include/asm/mach-rc32434/dma_v.h
Extension
.h
Size
1215 bytes
Lines
54
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

if (__raw_readl(&ch->dmas) & DMA_STAT_HALT) {
				__raw_writel(0, &ch->dmas);
				break;
			}
		}
	}

	return timeout ? 0 : 1;
}

static inline void rc32434_start_dma(struct dma_reg *ch, u32 dma_addr)
{
	__raw_writel(0, &ch->dmandptr);
	__raw_writel(dma_addr, &ch->dmadptr);
}

static inline void rc32434_chain_dma(struct dma_reg *ch, u32 dma_addr)
{
	__raw_writel(dma_addr, &ch->dmandptr);
}

#endif	/* _ASM_RC32434_DMA_V_H_ */

Annotation

Implementation Notes