Defined in 2 files as a function:
- drivers/mmc/host/rtsx_pci_sdmmc.c, line 208 (as a function)
- drivers/mmc/host/rtsx_usb_sdmmc.c, line 286 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/mmc/host/rtsx_usb_sdmmc.c sdmmc_request() -> sd_send_cmd_get_rsp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->card_exist | 1 |
| PARAM_VALUE | 0 | host->host_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->host_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_removal | 0 |
| PARAM_VALUE | 0 | host->mrq | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq->data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | host->mrq | (-1)-0,304 |
| BUF_SIZE | 1 | cmd | (-1),72 |
| BUF_SIZE | 1 | cmd | (-1),72 |
| CAPPED_DATA | 0 | &host->host_mutex | 1 |
| BIT_INFO | 0 | host->ocp_stat | 0x0,0xfffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ucr->dev_mutex | ||
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |
drivers/mmc/host/rtsx_usb_sdmmc.c sdmmc_request() -> sd_send_cmd_get_rsp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->card_exist | 1 |
| PARAM_VALUE | 0 | host->host_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->host_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_removal | 0 |
| PARAM_VALUE | 0 | host->mrq | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq->data | 4096-ptr_max |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->opcode | 0-7,9-u32max |
| BUF_SIZE | 0 | host->mrq | (-1)-0,304 |
| BUF_SIZE | 1 | cmd | (-1),72 |
| BUF_SIZE | 1 | cmd | (-1),72 |
| CAPPED_DATA | 0 | &host->host_mutex | 1 |
| BIT_INFO | 0 | host->ocp_stat | 0x0,0xfffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ucr->dev_mutex | ||
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |
drivers/mmc/host/rtsx_usb_sdmmc.c sdmmc_request() -> sd_send_cmd_get_rsp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->card_exist | 1 |
| PARAM_VALUE | 0 | host->host_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->host_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_removal | 0 |
| PARAM_VALUE | 0 | host->mrq | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq->data | 4096-ptr_max |
| PARAM_VALUE | 0 | host->ucr | 4096-ptr_max |
| PARAM_VALUE | 0 | host->ucr->cmd_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | host->ucr->cmd_idx | 0-254 |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->ucr->dev_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | host->ucr->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | host->ucr->pusb_dev->bus->sysdev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | cmd | 1-u64max |
| BUF_SIZE | 0 | host->mrq | (-1)-0,304 |
| BUF_SIZE | 1 | cmd | (-1)-0,72 |
| BUF_SIZE | 1 | cmd | (-1)-0,72 |
| CAPPED_DATA | 0 | &host->host_mutex | 1 |
| BIT_INFO | 0 | host->ocp_stat | 0x0,0xfffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ucr->dev_mutex | ||
| TYPE_LOCK | (struct rtsx_ucr)->dev_mutex |
drivers/mmc/host/rtsx_pci_sdmmc.c sd_request() -> sd_send_cmd_get_rsp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->eject | 0 |
| PARAM_VALUE | 0 | host->host_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->host_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->mrq | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq->data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr | 4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr->pci | 4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | host->pcr->remap_addr | 4096-ptr_max |
| CAPPED_DATA | 0 | &host->host_mutex | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &pcr->pcr_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtsx_pcr)->pcr_mutex |
drivers/mmc/host/rtsx_pci_sdmmc.c sd_request() -> sd_send_cmd_get_rsp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->eject | 0 |
| PARAM_VALUE | 0 | host->host_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->host_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->mrq | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq->data | 4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr | 4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr->pci | 4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | host->pcr->remap_addr | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 1-u64max |
| CAPPED_DATA | 0 | host->sg_count | 1 |
| CAPPED_DATA | 0 | &host->host_mutex | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &pcr->pcr_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtsx_pcr)->pcr_mutex |
drivers/mmc/host/rtsx_pci_sdmmc.c sd_write_data() -> sd_send_cmd_get_rsp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->eject | 0 |
| PARAM_VALUE | 0 | host->host_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->host_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->mrq | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq->data | 4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr | 4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr->pci | 4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | host->pcr->remap_addr | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->opcode | 0-16,19-23,26-u32max |
| DATA_SOURCE | 0 | host | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &pcr->pcr_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtsx_pcr)->pcr_mutex |
drivers/mmc/host/rtsx_pci_sdmmc.c sd_write_long_data() -> sd_send_cmd_get_rsp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->eject | 0 |
| PARAM_VALUE | 0 | host->host_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | host->host_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->host_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->mmc | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq->cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | host->mrq->data | 4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr | 4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr->pci | 4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->pcr->pcr_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | host->pcr->remap_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | host->sg_count | 0-s32max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->opcode | 17-18,24-25,53 |
| DATA_SOURCE | 0 | host | $0 |
| FUZZY_MAX | 0 | host->sg_count | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &pcr->pcr_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtsx_pcr)->pcr_mutex |