Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/nand/raw/omap2.c _omap_calculate_ecc_bch() -> mtd_to_omap()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
BUF_SIZE 0 mtd (-1),2448
BUF_SIZE 0 mtd (-1),2448
DATA_SOURCE 0 mtd $0
RX_PATH
TASK_NOT_RUNNING

drivers/mtd/nand/raw/omap2.c omap_calculate_ecc() -> mtd_to_omap()

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/omap2.c omap_calculate_ecc_bch_multi() -> mtd_to_omap()

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

drivers/mtd/nand/raw/omap2.c omap_correct_data() -> mtd_to_omap()

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/omap2.c omap_elm_correct_data() -> mtd_to_omap()

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/omap2.c omap_enable_hwecc() -> mtd_to_omap()

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/omap2.c omap_enable_hwecc_bch() -> mtd_to_omap()

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/omap2.c omap_nand_attach_chip() -> mtd_to_omap()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
BUF_SIZE 0 mtd 2448
DATA_SOURCE 0 mtd r nand_to_mtd
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/mtd/nand/raw/omap2.c omap_nand_data_in() -> mtd_to_omap()

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/omap2.c omap_nand_data_in_irq_pref() -> mtd_to_omap()

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/omap2.c omap_nand_data_in_pref() -> mtd_to_omap()

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/omap2.c omap_nand_data_out() -> mtd_to_omap()

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/omap2.c omap_nand_data_out_irq_pref() -> mtd_to_omap()

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/omap2.c omap_nand_data_out_pref() -> mtd_to_omap()

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/omap2.c omap_nand_detach_chip() -> mtd_to_omap()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
BUF_SIZE 0 mtd 2448
DATA_SOURCE 0 mtd r nand_to_mtd
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/mtd/nand/raw/omap2.c omap_nand_dma_transfer() -> mtd_to_omap()

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/omap2.c omap_nand_exec_instr() -> mtd_to_omap()

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/omap2.c omap_nand_remove() -> mtd_to_omap()

Type Parameter Key Value
BUF_SIZE 0 mtd s32min-(-2),1-s32max
BUF_SIZE 0 mtd s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mtd unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/mtd/nand/raw/omap2.c omap_ooblayout_ecc() -> mtd_to_omap()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
BUF_SIZE 0 mtd s32min-(-1),1-s32max
BUF_SIZE 0 mtd s32min-(-1),1-s32max
DATA_SOURCE 0 mtd $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 mtd->erasesize 0,64-16776960[c]
HOST_DATA 0 mtd->oobsize 0-4095[c]
HOST_DATA 0 mtd->writesize 0-262140
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &s->lock
HALF_LOCKED2 global &mtd_table_mutex

drivers/mtd/nand/raw/omap2.c omap_ooblayout_free() -> mtd_to_omap()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
BUF_SIZE 0 mtd s32min-(-1),1-s32max
BUF_SIZE 0 mtd s32min-(-1),1-s32max
DATA_SOURCE 0 mtd $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 mtd->erasesize 0,64-16776960[c]
HOST_DATA 0 mtd->oobsize 0-4095[c]
HOST_DATA 0 mtd->writesize 0-262140
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &s->lock
HALF_LOCKED2 global &mtd_table_mutex

drivers/mtd/nand/raw/omap2.c omap_read_page_bch() -> mtd_to_omap()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
BUF_SIZE 0 mtd 2448
DATA_SOURCE 0 mtd r nand_to_mtd
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/mtd/nand/raw/omap2.c omap_write_page_bch() -> mtd_to_omap()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
BUF_SIZE 0 mtd 2448
DATA_SOURCE 0 mtd r nand_to_mtd
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/mtd/nand/raw/omap2.c omap_write_subpage_bch() -> mtd_to_omap()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
BUF_SIZE 0 mtd 2448
DATA_SOURCE 0 mtd r nand_to_mtd
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock