Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/mmc/host/rtsx_usb_sdmmc.c sd_tuning_rx_cmd() -> sd_wait_data_idle()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->ddr_mode 0
PARAM_VALUE 0 host->host_removal 0
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.first_waiter->list.prev->prev 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->dev_mutex.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 host->ucr->pusb_dev 4096-ptr_max
PARAM_VALUE 0 host->ucr->pusb_dev->bus->sysdev->iommu->attach_deferred 0
PARAM_VALUE 0 host->ucr->pusb_dev->state 4-u32max
DATA_SOURCE 0 host $0
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_tuning_rx_cmd() -> sd_wait_data_idle()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->eject 0
PARAM_VALUE 0 host->pcr 4096-ptr_max
PARAM_VALUE 0 host->pcr->ci s32min-256
PARAM_VALUE 0 host->pcr->done 0
PARAM_VALUE 0 host->pcr->finish_me 0,4096-ptr_max
PARAM_VALUE 0 host->pcr->finish_me->wait.lock.dep_map->name 0-255
PARAM_VALUE 0 host->pcr->finish_me->wait.lock.owner (-1)
PARAM_VALUE 0 host->pcr->finish_me->wait.lock.owner_cpu u32max
PARAM_VALUE 0 host->pcr->lock.rlock.dep_map->name 0-255
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->pcr_mutex.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 host->pcr->remap_addr 4096-ptr_max
PARAM_VALUE 0 host->pcr->trans_result 0
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &pcr->pcr_mutex
TYPE_LOCK (struct rtsx_pcr)->pcr_mutex