Function report |
Source Code:kernel\dma\direct.c |
Create Date:2022-07-28 10:33:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:report_addr
Proto:static void report_addr(struct device *dev, dma_addr_t dma_addr, size_t size)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
dma_addr_t | dma_addr | |
size_t | size |
28 | If Not dma mask (if dma'able device) Then |
29 | dev_err_once(dev, "DMA map on device without dma_mask\n") |
30 | Else if dma mask (if dma'able device) >= DMA_BIT_MASK(32) || upstream dma constraint Then |
31 | dev_err_once(dev, "overflow %pad+%zu of DMA mask %llx bus limit %llx\n", & dma_addr, size, * dma mask (if dma'able device) , upstream dma constraint ) |
35 | WARN_ON_ONCE(1) |
Name | Describe |
---|---|
dma_direct_map_page | |
dma_direct_map_resource |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |