Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/mmc/host/rtsx_usb_sdmmc.c sd_normal_rw() -> sd_read_data()

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-17,19-24,26-u32max
PARAM_VALUE 3 buf 16,4096-ptr_max
PARAM_VALUE 4 buf_len 0-4000000
PARAM_VALUE 5 timeout 200
BUF_SIZE 0 host->mrq (-1)-0,304
BUF_SIZE 1 cmd (-1),72
BUF_SIZE 1 cmd (-1),72
BUF_SIZE 3 buf 0-u32max
BUF_SIZE 3 buf 0-u32max
DATA_SOURCE 0 host $0
DATA_SOURCE 3 buf r _kzalloc_noprof
BIT_INFO 0 host->ocp_stat 0x0,0xfffc
RX_PATH
TASK_NOT_RUNNING
UNITS 2 byte_cnt unit_byte
UNITS 4 buf_len unit_byte
BYTE_COUNT 3 ==buf4 8050
LOCK2 &ucr->dev_mutex
TYPE_LOCK (struct rtsx_ucr)->dev_mutex

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

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
PARAM_VALUE 1 cmd 5841625826606723072
PARAM_VALUE 1 cmd->arg 0
PARAM_VALUE 1 cmd->data 0
PARAM_VALUE 1 cmd->error 0
PARAM_VALUE 1 cmd->ext_addr 0
PARAM_VALUE 1 cmd->flags 0
PARAM_VALUE 1 cmd->mrq 0
PARAM_VALUE 1 cmd->opcode 19
PARAM_VALUE 1 cmd->retries 0
PARAM_VALUE 1 cmd->uhs2_cmd 0
PARAM_VALUE 2 byte_cnt 64
PARAM_VALUE 3 buf 0
PARAM_VALUE 4 buf_len 0
PARAM_VALUE 5 timeout 100
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ucr->dev_mutex
TYPE_LOCK (struct rtsx_ucr)->dev_mutex

drivers/mmc/host/rtsx_pci_sdmmc.c sd_normal_rw() -> sd_read_data()

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 4096-ptr_max
PARAM_VALUE 1 cmd->opcode 0-16,19-23,26-u32max
PARAM_VALUE 3 buf 16,4096-ptr_max
PARAM_VALUE 4 buf_len 0-4000000
PARAM_VALUE 5 timeout 200
BUF_SIZE 3 buf 0-u32max
BUF_SIZE 3 buf 0-u32max
DATA_SOURCE 0 host $0
DATA_SOURCE 3 buf r _kzalloc_noprof
UNITS 2 byte_cnt unit_byte
UNITS 4 buf_len unit_byte
BYTE_COUNT 3 ==buf4 8050
LOCK2 &pcr->pcr_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rtsx_pcr)->pcr_mutex

drivers/mmc/host/rtsx_pci_sdmmc.c sd_tuning_rx_cmd() -> sd_read_data()

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->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 1 cmd 1388684323394482176
PARAM_VALUE 1 cmd->arg 0
PARAM_VALUE 1 cmd->data 0
PARAM_VALUE 1 cmd->error 0
PARAM_VALUE 1 cmd->ext_addr 0
PARAM_VALUE 1 cmd->flags 0
PARAM_VALUE 1 cmd->mrq 0
PARAM_VALUE 1 cmd->opcode 19,21
PARAM_VALUE 1 cmd->retries 0
PARAM_VALUE 1 cmd->uhs2_cmd 0
PARAM_VALUE 2 byte_cnt 64
PARAM_VALUE 3 buf 0
PARAM_VALUE 4 buf_len 0
PARAM_VALUE 5 timeout 100
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &pcr->pcr_mutex
TYPE_LOCK (struct rtsx_pcr)->pcr_mutex