Function report |
Source Code:include\linux\dma-mapping.h |
Create Date:2022-07-28 05:51:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dma_sync_sg_for_cpu
Proto:static inline void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction dir)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
struct scatterlist * | sg | |
int | nelems | |
enum dma_data_direction | dir |
408 | ops = get_dma_ops(dev) |
410 | BUG_ON(!valid_dma_direction(dir)) |
411 | If dma_is_direct(ops) Then dma_direct_sync_sg_for_cpu(dev, sg, nelems, dir) |
413 | Else if sync_sg_for_cpu Then sync_sg_for_cpu(dev, sg, nelems, dir) |
415 | debug_dma_sync_sg_for_cpu(dev, sg, nelems, dir) |
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 |