Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/nand/raw/txx9ndfmc.c txx9ndfmc_calculate_ecc() -> mtd_to_platdev()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/mtd/nand/raw/txx9ndfmc.c txx9ndfmc_dev_ready() -> mtd_to_platdev()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/mtd/nand/raw/txx9ndfmc.c txx9ndfmc_enable_hwecc() -> mtd_to_platdev()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/mtd/nand/raw/txx9ndfmc.c txx9ndfmc_read_buf() -> mtd_to_platdev()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/mtd/nand/raw/txx9ndfmc.c txx9ndfmc_read_byte() -> mtd_to_platdev()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/mtd/nand/raw/txx9ndfmc.c txx9ndfmc_write_buf() -> mtd_to_platdev()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock