Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/serial/io_ti.c read_ram() -> read_download_mem()

Type Parameter Key Value
PARAM_VALUE 2 length 1,8
PARAM_VALUE 3 address_type 3
PARAM_VALUE 4 buffer 4096-ptr_max
BUF_SIZE 4 buffer 1,8
BUF_SIZE 4 buffer 1,8
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 start_address $1
DATA_SOURCE 2 length $2
DATA_SOURCE 4 buffer $3
HARD_MAX 2 length 8
TASK_NOT_RUNNING
UNITS 2 length unit_byte
LOCK2 &serial->disc_mutex
HALF_LOCKED2 &tty->atomic_write_lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->legacy_mutex
TYPE_LOCK (struct usb_serial)->disc_mutex

drivers/usb/serial/io_ti.c read_rom() -> read_download_mem()

Type Parameter Key Value
PARAM_VALUE 1 start_address 0,2,6-16387
PARAM_VALUE 2 length 0-u16max
PARAM_VALUE 4 buffer 4096-ptr_max
BUF_SIZE 4 buffer 1-2,4,6,10,16384
BUF_SIZE 4 buffer 1-2,4,6,10,16384
DATA_SOURCE 1 start_address $1
DATA_SOURCE 2 length $2
DATA_SOURCE 4 buffer $3
FUZZY_MAX 1 start_address 16383
RX_PATH
TASK_NOT_RUNNING
UNITS 1 start_address unit_byte
UNITS 2 length unit_byte