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 734
- drivers/misc/cardreader/rtsx_usb.c
- drivers/mmc/host/rtsx_usb_sdmmc.c
Smatch caller information:
drivers/memstick/host/rtsx_usb_ms.c rtsx_usb_ms_poll_card() -> rtsx_usb_read_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucr->dev_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ucr->dev_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ucr->dev_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | addr | 64881 |
| PARAM_VALUE | 2 | data | 8970176922934468608 |
| CAPPED_DATA | 0 | &ucr->dev_mutex | 1 |
| LOCK2 | 0 | &ucr->dev_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |
drivers/misc/cardreader/rtsx_usb.c rtsx_usb_init_chip() -> rtsx_usb_read_register()
| 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.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ucr->dev_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ucr->dev_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->dev_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ucr->dev_mutex.owner.counter | 0 |
| 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->pusb_intf | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_intf->authorized | 1 |
| PARAM_VALUE | 0 | ucr->pusb_intf->condition | 1 |
| PARAM_VALUE | 0 | ucr->pusb_intf->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_intf->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_intf->needs_altsetting0 | 0 |
| PARAM_VALUE | 0 | ucr->pusb_intf->needs_binding | 0 |
| PARAM_VALUE | 0 | ucr->rsp_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 64513 |
| PARAM_VALUE | 2 | data | 5190247015387648000 |
| BUF_SIZE | 0 | ucr | 520 |
| BUF_SIZE | 0 | ucr->cmd_buf | 1024 |
| BUF_SIZE | 0 | ucr->rsp_buf | 1024 |
| DATA_SOURCE | 0 | ucr | $0 |
| MEM_ZERO | 0 | ucr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/misc/cardreader/rtsx_usb.c rtsx_usb_init_chip() -> rtsx_usb_read_register()
| 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.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ucr->dev_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ucr->dev_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->dev_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ucr->dev_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ucr->ic_version | 0-15 |
| 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->pusb_intf | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_intf->authorized | 1 |
| PARAM_VALUE | 0 | ucr->pusb_intf->condition | 1 |
| PARAM_VALUE | 0 | ucr->pusb_intf->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_intf->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_intf->needs_altsetting0 | 0 |
| PARAM_VALUE | 0 | ucr->pusb_intf->needs_binding | 0 |
| PARAM_VALUE | 0 | ucr->rsp_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 64849 |
| PARAM_VALUE | 2 | data | 5190247015387648000 |
| BUF_SIZE | 0 | ucr | 520 |
| BUF_SIZE | 0 | ucr->cmd_buf | 1024 |
| BUF_SIZE | 0 | ucr->rsp_buf | 1024 |
| DATA_SOURCE | 0 | ucr | $0 |
| MEM_ZERO | 0 | ucr | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/misc/cardreader/rtsx_usb.c rtsx_usb_init_chip() -> rtsx_usb_read_register()
| 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.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ucr->dev_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ucr->dev_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->dev_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ucr->dev_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ucr->ic_version | 0-15 |
| PARAM_VALUE | 0 | ucr->package | 0-1 |
| 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->pusb_intf | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_intf->authorized | 1 |
| PARAM_VALUE | 0 | ucr->pusb_intf->condition | 1 |
| PARAM_VALUE | 0 | ucr->pusb_intf->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_intf->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ucr->pusb_intf->needs_altsetting0 | 0 |
| PARAM_VALUE | 0 | ucr->pusb_intf->needs_binding | 0 |
| PARAM_VALUE | 0 | ucr->rsp_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 64527 |
| PARAM_VALUE | 2 | data | 5190247015387648000 |
| BUF_SIZE | 0 | ucr | 520 |
| BUF_SIZE | 0 | ucr->cmd_buf | 1024 |
| BUF_SIZE | 0 | ucr->rsp_buf | 1024 |
| DATA_SOURCE | 0 | ucr | $0 |
| FUZZY_MAX | 0 | ucr->package | 1 |
| HARD_MAX | 0 | ucr->package | 1 |
| MEM_ZERO | 0 | ucr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/misc/cardreader/rtsx_usb.c rtsx_usb_reset_chip() -> rtsx_usb_read_register()
| 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 |
| PARAM_VALUE | 0 | ucr->pusb_dev->state | 4-u32max |
| PARAM_VALUE | 1 | addr | 64526 |
| PARAM_VALUE | 2 | data | 3438075833329381376 |
| BUF_SIZE | 0 | ucr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ucr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ucr->cmd_buf | (-1),1024 |
| BUF_SIZE | 0 | ucr->rsp_buf | (-1),1024 |
| DATA_SOURCE | 0 | ucr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/misc/cardreader/rtsx_usb.c rtsx_usb_seq_read_register() -> rtsx_usb_read_register()
| 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 | 2 | data | 4096-ptr_max |
| DATA_SOURCE | 0 | ucr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| UNITS | 2 | data | unit_byte |
| LOCK2 | &ucr->dev_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |
drivers/mmc/host/rtsx_usb_sdmmc.c sd_read_data() -> rtsx_usb_read_register()
| 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 | 2 | data | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| UNITS | 2 | data | unit_byte |
| LOCK2 | &ucr->dev_mutex | ||
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |
drivers/mmc/host/rtsx_usb_sdmmc.c sdmmc_card_busy() -> rtsx_usb_read_register()
| 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.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ucr->dev_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ucr->dev_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ucr->dev_mutex.wait_lock.dep_map->name | 0-255 |
| 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 | addr | 64933 |
| PARAM_VALUE | 2 | data | 7308430782331297792 |
| CAPPED_DATA | 0 | &ucr->dev_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ucr->dev_mutex | |
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |