Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/memstick/host/rtsx_usb_ms.c, line 299
- drivers/misc/cardreader/rtsx_usb.c
- drivers/mmc/host/rtsx_usb_sdmmc.c, line 519
Smatch caller information:
drivers/memstick/host/rtsx_usb_ms.c ms_transfer_data() -> rtsx_usb_transfer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucr | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_idx | 0-254 |
| PARAM_VALUE | 0 | ucr->dev_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ucr->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_dev->bus->sysdev->iommu->attach_deferred | 0 |
| PARAM_VALUE | 0 | ucr->pusb_dev->state | 4-u32max |
| PARAM_VALUE | 1 | pipe | 0,128-u32max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | num_sg | 1 |
| PARAM_VALUE | 5 | act_len | 0 |
| PARAM_VALUE | 6 | timeout | 10000 |
| DATA_SOURCE | 2 | buf | $4 |
| BIT_INFO | 1 | pipe | 0xc0000000,0xffffffff |
| LOCK2 | &ucr->dev_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |
drivers/misc/cardreader/rtsx_usb.c rtsx_usb_get_rsp() -> rtsx_usb_transfer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucr | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_idx | 0-254 |
| PARAM_VALUE | 0 | ucr->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_dev->bus->sysdev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | pipe | 0,128-u32max |
| PARAM_VALUE | 3 | len | 0,4-260 |
| PARAM_VALUE | 4 | num_sg | 0 |
| PARAM_VALUE | 5 | act_len | 0 |
| PARAM_VALUE | 6 | timeout | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ucr | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ucr | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ucr->cmd_buf | (-1),1024 |
| BUF_SIZE | 0 | ucr->rsp_buf | (-1),1024 |
| BUF_SIZE | 2 | buf | (-1),1024 |
| DATA_SOURCE | 0 | ucr | $0 |
| DATA_SOURCE | 6 | timeout | $2 |
| FUZZY_MAX | 6 | timeout | 3000 |
| BIT_INFO | 1 | pipe | 0xffffffffc0010080,0xffffffffffffffff |
| BIT_INFO | 3 | len | 0x0,0x1fc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &ucr->dev_mutex | ||
| HALF_LOCKED2 | 0 | &ucr->dev_mutex |
drivers/misc/cardreader/rtsx_usb.c rtsx_usb_send_cmd() -> rtsx_usb_transfer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucr | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_idx | 0-254 |
| PARAM_VALUE | 0 | ucr->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe | 0,1073741824-u32max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 8-1024 |
| PARAM_VALUE | 4 | num_sg | 0 |
| PARAM_VALUE | 5 | act_len | 0 |
| PARAM_VALUE | 6 | timeout | 100,200,2000 |
| BUF_SIZE | 0 | ucr | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ucr | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ucr->cmd_buf | (-1),1024 |
| BUF_SIZE | 0 | ucr->rsp_buf | (-1),1024 |
| BUF_SIZE | 2 | buf | (-1),1024 |
| DATA_SOURCE | 0 | ucr | $0 |
| DATA_SOURCE | 6 | timeout | $2 |
| BIT_INFO | 1 | pipe | 0xffffffffc0008000,0xffffffffffffffff |
| HARD_MAX | 6 | timeout | 2000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &ucr->dev_mutex | ||
| HALF_LOCKED2 | 0 | &ucr->dev_mutex |
drivers/misc/cardreader/rtsx_usb.c rtsx_usb_seq_read_register() -> rtsx_usb_transfer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucr | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_idx | 0-254 |
| PARAM_VALUE | 0 | ucr->dev_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ucr->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_dev->bus->sysdev->iommu->attach_deferred | 0 |
| PARAM_VALUE | 0 | ucr->pusb_dev->state | 4-u32max |
| PARAM_VALUE | 0 | ucr->rsp_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe | 0,1073741824-u32max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 12 |
| PARAM_VALUE | 4 | num_sg | 0 |
| PARAM_VALUE | 5 | act_len | 0 |
| PARAM_VALUE | 6 | timeout | 100 |
| BUF_SIZE | 2 | buf | 1024 |
| DATA_SOURCE | 0 | ucr | $0 |
| BIT_INFO | 1 | pipe | 0xffffffffc0008000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ucr->dev_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |
drivers/misc/cardreader/rtsx_usb.c rtsx_usb_seq_read_register() -> rtsx_usb_transfer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucr | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_idx | 0-254 |
| PARAM_VALUE | 0 | ucr->dev_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ucr->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_dev->bus->sysdev->iommu->attach_deferred | 0 |
| PARAM_VALUE | 0 | ucr->pusb_dev->state | 4-u32max |
| PARAM_VALUE | 0 | ucr->rsp_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe | 0,128-u32max |
| PARAM_VALUE | 2 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 4-65532 |
| PARAM_VALUE | 4 | num_sg | 0 |
| PARAM_VALUE | 5 | act_len | 0 |
| PARAM_VALUE | 6 | timeout | 100 |
| BUF_SIZE | 2 | buf | 0-s32max |
| DATA_SOURCE | 0 | ucr | $0 |
| DATA_SOURCE | 2 | buf | $3 |
| BIT_INFO | 1 | pipe | 0xffffffffc0010080,0xffffffffffffffff |
| BIT_INFO | 3 | len | 0x0,0xfffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | &ucr->dev_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |
drivers/misc/cardreader/rtsx_usb.c rtsx_usb_seq_write_register() -> rtsx_usb_transfer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucr | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->dev_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ucr->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | pipe | 0,1073741824-u32max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-1024 |
| PARAM_VALUE | 4 | num_sg | 0 |
| PARAM_VALUE | 5 | act_len | 0 |
| PARAM_VALUE | 6 | timeout | 100 |
| BUF_SIZE | 2 | buf | 1024 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | ucr | $0 |
| FUZZY_MAX | 3 | len | 1024 |
| BIT_INFO | 1 | pipe | 0xffffffffc0008000,0xffffffffffffffff |
| BIT_INFO | 3 | len | 0x0,0x7fc |
| HARD_MAX | 3 | len | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ucr->dev_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |
drivers/mmc/host/rtsx_usb_sdmmc.c sd_rw_multi() -> rtsx_usb_transfer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucr | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->cmd_idx | 0-254 |
| PARAM_VALUE | 0 | ucr->dev_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ucr->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_dev->bus->sysdev->iommu->attach_deferred | 0 |
| PARAM_VALUE | 0 | ucr->pusb_dev->state | 4-u32max |
| PARAM_VALUE | 1 | pipe | 0,128-u32max |
| PARAM_VALUE | 5 | act_len | 0 |
| PARAM_VALUE | 6 | timeout | 10000 |
| BIT_INFO | 1 | pipe | 0xc0000000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | buf | unit_byte |
| UNITS | 4 | num_sg | unit_array_size |
| LOCK2 | &ucr->dev_mutex | ||
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |