Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/memstick/core/ms_block.c h_msb_parallel_switch() -> msb_write_regs()

Type Parameter Key Value
PARAM_VALUE 0 msb 4096-ptr_max
PARAM_VALUE 0 msb->state 0
PARAM_VALUE 1 offset 16
PARAM_VALUE 2 len 1
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 0 msb s32min-(-2),1-s32max
BUF_SIZE 0 msb s32min-(-2),1-s32max
BUF_SIZE 3 buf 6
BIT_INFO 0 msb->regs.param.system 0x8,0xff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 msb unit_byte
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c h_msb_read_page() -> msb_write_regs()

Type Parameter Key Value
PARAM_VALUE 0 msb 4096-ptr_max
PARAM_VALUE 0 msb->state 0
PARAM_VALUE 1 offset 16
PARAM_VALUE 2 len 6
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 0 msb s32min-(-2),1-s32max
BUF_SIZE 0 msb s32min-(-2),1-s32max
BUF_SIZE 3 buf 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 msb unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c h_msb_send_command() -> msb_write_regs()

Type Parameter Key Value
PARAM_VALUE 0 msb 4096-ptr_max
PARAM_VALUE 0 msb->state 0
PARAM_VALUE 1 offset 16
PARAM_VALUE 2 len 6
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 0 msb s32min-(-2),1-s32max
BUF_SIZE 0 msb s32min-(-2),1-s32max
BUF_SIZE 3 buf 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 msb unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c h_msb_send_command() -> msb_write_regs()

Type Parameter Key Value
PARAM_VALUE 0 msb 4096-ptr_max
PARAM_VALUE 0 msb->command_need_oob 1
PARAM_VALUE 0 msb->state 1
PARAM_VALUE 1 offset 22
PARAM_VALUE 2 len 4
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 0 msb s32min-(-2),1-s32max
BUF_SIZE 0 msb s32min-(-2),1-s32max
BUF_SIZE 3 buf 4
RX_PATH
TASK_NOT_RUNNING
UNITS 0 msb unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c h_msb_write_block() -> msb_write_regs()

Type Parameter Key Value
PARAM_VALUE 0 msb 4096-ptr_max
PARAM_VALUE 0 msb->state 0
PARAM_VALUE 1 offset 16
PARAM_VALUE 2 len 6
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 0 msb s32min-(-2),1-s32max
BUF_SIZE 0 msb s32min-(-2),1-s32max
BUF_SIZE 3 buf 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 msb unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags

drivers/memstick/core/ms_block.c h_msb_write_block() -> msb_write_regs()

Type Parameter Key Value
PARAM_VALUE 0 msb 4096-ptr_max
PARAM_VALUE 0 msb->state 1
PARAM_VALUE 1 offset 22
PARAM_VALUE 2 len 4
PARAM_VALUE 3 buf 4096-ptr_max
BUF_SIZE 0 msb s32min-(-2),1-s32max
BUF_SIZE 0 msb s32min-(-2),1-s32max
BUF_SIZE 3 buf 4
RX_PATH
TASK_NOT_RUNNING
UNITS 0 msb unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &dev->io_thread_lock
HALF_LOCKED2 &fm->lock
HALF_LOCKED2 &host->host_mutex
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &sock->lock
HALF_LOCKED2 flags