Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/nand/raw/atmel/nand-controller.c atmel_nand_data_in() -> atmel_nand_dma_transfer()

Type Parameter Key Value
PARAM_VALUE 0 nc 4096-ptr_max
PARAM_VALUE 0 nc->dmac 1-u64max
PARAM_VALUE 3 len 128-u32max
PARAM_VALUE 4 dir 2
BUF_SIZE 1 buf s32min-(-2),1-s32max
BUF_SIZE 1 buf s32min-(-2),1-s32max
DATA_SOURCE 0 nc r to_nand_controller
DATA_SOURCE 1 buf $1
DATA_SOURCE 3 len $2
FUZZY_MAX 3 len 128
RX_PATH
TASK_NOT_RUNNING
UNITS 1 buf unit_byte
UNITS 3 len unit_byte

drivers/mtd/nand/raw/atmel/nand-controller.c atmel_nand_data_out() -> atmel_nand_dma_transfer()

Type Parameter Key Value
PARAM_VALUE 0 nc 4096-ptr_max
PARAM_VALUE 0 nc->dmac 1-u64max
PARAM_VALUE 3 len 128-u32max
PARAM_VALUE 4 dir 1
BUF_SIZE 1 buf s32min-(-2),1-s32max
BUF_SIZE 1 buf s32min-(-2),1-s32max
DATA_SOURCE 0 nc r to_nand_controller
DATA_SOURCE 1 buf $1
DATA_SOURCE 3 len $2
FUZZY_MAX 3 len 128
RX_PATH
TASK_NOT_RUNNING
UNITS 1 buf unit_byte
UNITS 3 len unit_byte

drivers/mtd/nand/raw/atmel/nand-controller.c atmel_nfc_copy_from_sram() -> atmel_nand_dma_transfer()

Type Parameter Key Value
PARAM_VALUE 0 nc 4096-ptr_max
PARAM_VALUE 0 nc->dmac 1-u64max
PARAM_VALUE 4 dir 2
BUF_SIZE 1 buf s32min,(-1)-s32max
DATA_SOURCE 1 buf $1
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte
USER_PTR 1 buf
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock
HALF_LOCKED2 &nand->pmecc->pmecc->lock

drivers/mtd/nand/raw/atmel/nand-controller.c atmel_nfc_copy_to_sram() -> atmel_nand_dma_transfer()

Type Parameter Key Value
PARAM_VALUE 0 nc 4096-ptr_max
PARAM_VALUE 0 nc->dmac 1-u64max
PARAM_VALUE 4 dir 1
BUF_SIZE 1 buf (-1)-s32max
BUF_SIZE 1 buf (-1)-s32max
DATA_SOURCE 1 buf $1
RX_PATH
TASK_NOT_RUNNING
UNITS 3 len unit_byte
USER_PTR 1 buf
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock