Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_do_write_page() -> nfi_readl()

Type Parameter Key Value
PARAM_VALUE 0 nfc 4096-ptr_max
PARAM_VALUE 1 reg 8
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock
HALF_LOCKED2 &nfc->ecc->lock

drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_hw_init() -> nfi_readl()

Type Parameter Key Value
PARAM_VALUE 0 nfc 4096-ptr_max
PARAM_VALUE 0 nfc->regs 4096-ptr_max
PARAM_VALUE 1 reg 20
BUF_SIZE 0 nfc->clk.nfi_clk (-1),1-s32max
BUF_SIZE 0 nfc->clk.pad_clk (-1),1-s32max
BUF_SIZE 0 nfc->controller.ops 32
BUF_SIZE 0 nfc->dev 1616
BUF_SIZE 0 nfc->ecc s32min-(-1),1-s32max
DATA_SOURCE 0 nfc $0
MEM_ZERO 0 nfc
MEM_ZERO 0 nfc->dev
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_read_byte() -> nfi_readl()

Type Parameter Key Value
PARAM_VALUE 0 nfc 4096-ptr_max
PARAM_VALUE 1 reg 96
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_read_fdm() -> nfi_readl()

Type Parameter Key Value
PARAM_VALUE 1 reg 160-400
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
CAPPED_DATA 1 reg 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &nfc->ecc->lock
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock
TYPE_LOCK (struct mtk_ecc)->lock

drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_read_fdm() -> nfi_readl()

Type Parameter Key Value
PARAM_VALUE 0 nfc 4096-ptr_max
PARAM_VALUE 1 reg 164-404
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
CAPPED_DATA 1 reg 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &nfc->ecc->lock
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock
TYPE_LOCK (struct mtk_ecc)->lock

drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_read_subpage() -> nfi_readl()

Type Parameter Key Value
PARAM_VALUE 0 nfc 4096-ptr_max
PARAM_VALUE 1 reg 8
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock
HALF_LOCKED2 0 &nfc->ecc->lock

drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_setup_interface() -> nfi_readl()

Type Parameter Key Value
PARAM_VALUE 0 nfc 4096-ptr_max
PARAM_VALUE 1 reg 544
BUF_SIZE 0 nfc (-1),4008
BUF_SIZE 0 nfc (-1),4008
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_update_ecc_stats() -> nfi_readl()

Type Parameter Key Value
PARAM_VALUE 1 reg 96
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
RX_PATH
TASK_NOT_RUNNING
LOCK2 &nfc->ecc->lock
TYPE_LOCK (struct mtk_ecc)->lock

drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_write_byte() -> nfi_readl()

Type Parameter Key Value
PARAM_VALUE 0 nfc 4096-ptr_max
PARAM_VALUE 1 reg 96
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
BUF_SIZE 0 nfc 384,648,3728,3736,3776,3808,3888,3912,3968,3984,4008,4032,4056,4216,4784,5768
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock