函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma.c Create Date:2022-07-27 11:55:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_dma - free a reserved system DMA channel*@dmanr: DMA channel number

函数原型:void free_dma(unsigned int dmanr)

返回类型:void

参数:

类型参数名称
unsigned intdmanr
90  如果dmanr大于等于NOTES about DMA transfers:* controller 1: channels 0-3, byte operations, ports 00-1F* controller 2: channels 4-7, word operations, ports C0-DF* - ALL registers are 8 bits only, regardless of transfer size* - channel 4 is not used - cascades 1 into 2
91  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
92  返回
95  如果xchg( & lock, 0)恒等于0则
96  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
97  返回