Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/dma/coherent.c dma_declare_coherent_memory() -> dma_init_coherent_memory()

Type Parameter Key Value
PARAM_VALUE 3 use_dma_pfn_offset 0
DATA_SOURCE 0 phys_addr $1
DATA_SOURCE 1 device_addr $2
DATA_SOURCE 2 size $3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 phys_addr unit_byte
UNITS 1 device_addr unit_byte
UNITS 2 size unit_byte
LOCK2 &rproc->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct rproc)->lock

kernel/dma/coherent.c rmem_dma_device_init() -> dma_init_coherent_memory()

Type Parameter Key Value
PARAM_VALUE 3 use_dma_pfn_offset 1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &rproc->lock
HALF_LOCKED2 global &component_mutex