Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 16 files:

Smatch caller information:

drivers/net/wireless/ti/wlcore/sdio.c wl12xx_sdio_raw_read() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 4096-ptr_max
PARAM_VALUE 0 func->card->host->claimed 1
PARAM_VALUE 0 func->card->host->claimer 1-u64max
PARAM_VALUE 0 func->card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 addr 0-131067,131069-u32max
BUF_SIZE 1 dst 16384,53248
BUF_SIZE 1 dst 16384,53248
CAPPED_DATA 3 count 1
DATA_SOURCE 1 dst $2
DATA_SOURCE 2 addr $1
DATA_SOURCE 3 count $3
NOSPEC 3 count
RX_PATH
TASK_NOT_RUNNING
BYTE_COUNT 1 ==dst3 8050
LOCK2 &wl->mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct wl1271)->mutex

drivers/net/wireless/marvell/libertas/if_sdio.c if_sdio_card_to_host() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 4096-ptr_max
PARAM_VALUE 0 func->card 4096-ptr_max
PARAM_VALUE 0 func->card->host 4096-ptr_max
PARAM_VALUE 0 func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner (-1)
PARAM_VALUE 0 func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 func->card->host->ongoing_mrq->cmd_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
BUF_SIZE 1 dst 65536
DATA_SOURCE 3 count r sdio_align_size
HOST_DATA 3 count 0-u16max[c]
HALF_LOCKED2 &pool->lock

drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c brcmf_sdiod_skbuff_read() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 4096-ptr_max
PARAM_VALUE 0 func->num 2
PARAM_VALUE 2 addr 32768-u16max
PARAM_VALUE 3 count s32min-0,4-s32max
BUF_SIZE 1 dst 1-s32max
DATA_SOURCE 0 func $1
DATA_SOURCE 2 addr $2
BIT_INFO 2 addr 0x8000,0xffff
BIT_INFO 3 count 0x0,0xfffffffc
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 *func->tmpbuf 0-255
UNITS 1 dst unit_byte
UNITS 2 addr unit_byte
UNITS 3 count unit_byte
HALF_LOCKED2 &pool->lock

drivers/bluetooth/btmtksdio.c btmtksdio_rx_packet() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 4096-ptr_max
PARAM_VALUE 0 func->card->host->claimed 1
PARAM_VALUE 0 func->card->host->claimer 1-u64max
PARAM_VALUE 0 func->card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 func->card->host->parent->iommu->attach_deferred 0-1
PARAM_VALUE 0 func->card->host->parent->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 func->card->host->private->cookie s32min-s32max
PARAM_VALUE 0 func->card->host->private->cookie_sg_count (-22),0-s32max
PARAM_VALUE 0 func->card->host->private->dev->dma_uses_io_tlb 0-1
PARAM_VALUE 0 func->card->host->private->dma_len 1-4294967295
PARAM_VALUE 0 func->card->host->private->next_data.cookie s32min-s32max
PARAM_VALUE 0 func->card->host->private->next_data.dma_len 0-s32max
PARAM_VALUE 0 func->card->host->private->pcr->pci->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 func->card->host->private->pcr->pci->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 func->card->host->private->pcr->pcr_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 func->card->host->private->pdev->dev.dma_uses_io_tlb 0-1
PARAM_VALUE 0 func->card->host->private->sg_count s32min-s32max
PARAM_VALUE 0 func->card->host->private->ucr->dev_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 func->card->host->sdio_irq_thread->sched_class->set_cpus_allowed 0,1927640468783054848,5094656021401329664,7127180339355369472
PARAM_VALUE 0 func->tmpbuf 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 addr 28
BUF_SIZE 1 dst 1-s32max
DATA_SOURCE 3 count $1
RX_PATH
HOST_DATA 0 *func->tmpbuf 0-255
UNITS 1 dst unit_byte
UNITS 3 count unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/wireless/nxp/nxpwifi/sdio.c nxpwifi_read_data_sync() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 2 addr 0-1048575
BUF_SIZE 1 dst (-1),1-s32max
DATA_SOURCE 1 dst $1
NO_OVERFLOW_SIMPLE 1 *dst
UNITS 1 dst unit_byte

drivers/net/wireless/mediatek/mt76/mt7921/sdio.c mt7921s_parse_intr() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 0,4096-ptr_max
PARAM_VALUE 0 func->card->host->claimed 1
PARAM_VALUE 0 func->card->host->claimer 1-u64max
PARAM_VALUE 0 func->card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 addr 16
PARAM_VALUE 3 count 368
BUF_SIZE 1 dst 112,368
RX_PATH
UNITS 3 count unit_byte

drivers/net/wireless/marvell/mwifiex/sdio.c mwifiex_read_data_sync() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 2 addr 0-1048575
BUF_SIZE 1 dst 1-s32max
DATA_SOURCE 1 dst $1
NO_OVERFLOW_SIMPLE 1 *dst
UNITS 1 dst unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/wireless/mediatek/mt76/mt7615/sdio.c mt7663s_parse_intr() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 0,4096-ptr_max
PARAM_VALUE 0 func->card->host->claimed 1
PARAM_VALUE 0 func->card->host->claimer 1-u64max
PARAM_VALUE 0 func->card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 addr 16
PARAM_VALUE 3 count 112
BUF_SIZE 1 dst 112,368
RX_PATH
UNITS 3 count unit_byte

drivers/net/wireless/rsi/rsi_91x_sdio.c rsi_sdio_read_register_multiple() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 2 addr 256-65280,65556,65558,65588,65596
PARAM_VALUE 3 count 4,256-65280
BUF_SIZE 1 dst 12,8192
DATA_SOURCE 1 dst $2
DATA_SOURCE 2 addr $1
DATA_SOURCE 3 count $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &common->rx_lock

drivers/ssb/sdio.c ssb_sdio_block_read() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 0,4096-ptr_max
PARAM_VALUE 0 func->card->host->claim_cnt s32min-s32max
PARAM_VALUE 0 func->card->host->claimed 1
PARAM_VALUE 0 func->card->host->cqe_on 0-1
PARAM_VALUE 0 func->card->host->doing_retune 0-1
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.flags 0-4294967295
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.missed.counter s32min-s32max
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.rs_n_left.counter s32min-s32max
PARAM_VALUE 0 func->card->host->fail_mmc_request.space.counter s32min-s32max
PARAM_VALUE 0 func->card->host->fail_mmc_request.times.counter s32min-s32max
PARAM_VALUE 0 func->card->host->hold_retune s32min-s32max
PARAM_VALUE 0 func->card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 func->card->host->need_retune s32min-s32max
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 func->card->host->retune_now 0-1
PARAM_VALUE 0 func->card->host->uhs2_app_cmd 0-1
PARAM_VALUE 2 addr 0-s16max
PARAM_VALUE 3 count 0,2,4,20,24
BUF_SIZE 1 dst (-1),4,118
BUF_SIZE 1 dst (-1),4,118
DATA_SOURCE 1 dst $1
DATA_SOURCE 2 addr $3 [m]
DATA_SOURCE 3 count $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->wl->mutex
HALF_LOCKED2 &wl->mutex
TYPE_LOCK (struct b43_wl)->mutex

drivers/ssb/sdio.c ssb_sdio_block_read() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 0,4096-ptr_max
PARAM_VALUE 0 func->card->host->claim_cnt s32min-s32max
PARAM_VALUE 0 func->card->host->claimed 1
PARAM_VALUE 0 func->card->host->cqe_on 0-1
PARAM_VALUE 0 func->card->host->doing_retune 0-1
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.flags 0-4294967295
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.missed.counter s32min-s32max
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.rs_n_left.counter s32min-s32max
PARAM_VALUE 0 func->card->host->fail_mmc_request.space.counter s32min-s32max
PARAM_VALUE 0 func->card->host->fail_mmc_request.times.counter s32min-s32max
PARAM_VALUE 0 func->card->host->hold_retune s32min-s32max
PARAM_VALUE 0 func->card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 func->card->host->need_retune s32min-s32max
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 func->card->host->retune_now 0-1
PARAM_VALUE 0 func->card->host->uhs2_app_cmd 0-1
PARAM_VALUE 2 addr 0-s16max
PARAM_VALUE 3 count 0,2,4,20,24
BUF_SIZE 1 dst (-1),4,118
BUF_SIZE 1 dst (-1),4,118
DATA_SOURCE 1 dst $1
DATA_SOURCE 2 addr $3 [m]
DATA_SOURCE 3 count $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->wl->mutex
HALF_LOCKED2 &wl->mutex
TYPE_LOCK (struct b43_wl)->mutex

drivers/ssb/sdio.c ssb_sdio_block_read() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 0,4096-ptr_max
PARAM_VALUE 0 func->card->host->claim_cnt s32min-s32max
PARAM_VALUE 0 func->card->host->claimed 1
PARAM_VALUE 0 func->card->host->cqe_on 0-1
PARAM_VALUE 0 func->card->host->doing_retune 0-1
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.flags 0-4294967295
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.missed.counter s32min-s32max
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.rs_n_left.counter s32min-s32max
PARAM_VALUE 0 func->card->host->fail_mmc_request.space.counter s32min-s32max
PARAM_VALUE 0 func->card->host->fail_mmc_request.times.counter s32min-s32max
PARAM_VALUE 0 func->card->host->hold_retune s32min-s32max
PARAM_VALUE 0 func->card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 func->card->host->need_retune s32min-s32max
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 func->card->host->retune_now 0-1
PARAM_VALUE 0 func->card->host->uhs2_app_cmd 0-1
PARAM_VALUE 2 addr 32768-u16max
PARAM_VALUE 3 count 0,2,4,20,24
BUF_SIZE 1 dst (-1),4,118
BUF_SIZE 1 dst (-1),4,118
DATA_SOURCE 1 dst $1
DATA_SOURCE 2 addr $3 [m]
DATA_SOURCE 3 count $2
BIT_INFO 2 addr 0x8000,0xffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->wl->mutex
HALF_LOCKED2 &wl->mutex
TYPE_LOCK (struct b43_wl)->mutex

drivers/bluetooth/btmrvl_sdio.c btmrvl_sdio_card_to_host() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 4096-ptr_max
PARAM_VALUE 0 func->card->host->cqe_on 0-1
PARAM_VALUE 0 func->card->host->doing_retune 0-1
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.flags 0-4294967295
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.lock.owner_cpu 0-4294967295
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.missed.counter s32min-s32max
PARAM_VALUE 0 func->card->host->fail_mmc_request.ratelimit_state.rs_n_left.counter s32min-s32max
PARAM_VALUE 0 func->card->host->fail_mmc_request.space.counter s32min-s32max
PARAM_VALUE 0 func->card->host->fail_mmc_request.times.counter s32min-s32max
PARAM_VALUE 0 func->card->host->hold_retune s32min-s32max
PARAM_VALUE 0 func->card->host->need_retune s32min-s32max
PARAM_VALUE 0 func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner (-1)
PARAM_VALUE 0 func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 func->card->host->retune_now 0-1
PARAM_VALUE 0 func->card->host->uhs2_app_cmd 0-1
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 3 count 0-2112
BUF_SIZE 1 dst 1-s32max
UNITS 1 dst unit_byte
USER_PTR 1 dst

drivers/bluetooth/btmrvl_sdio.c btmrvl_sdio_read_to_clear() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 2 addr 0
PARAM_VALUE 3 count 64
HALF_LOCKED2 &pool->lock

drivers/net/wireless/mediatek/mt76/sdio_txrx.c mt76s_rx_run_queue() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 4096-ptr_max
PARAM_VALUE 0 func->card->host->claimed 1
PARAM_VALUE 0 func->card->host->claimer 1-u64max
PARAM_VALUE 0 func->card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dst 18379471554275704832,18446612682070032384
PARAM_VALUE 2 addr 80-84
CAPPED_DATA 0 func->cur_blksize 1
DATA_SOURCE 1 dst r lowmem_page_address
RX_PATH
UNITS 3 count unit_byte

drivers/bluetooth/btsdio.c btsdio_rx_packet() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 1 dst 6739155790278156288
PARAM_VALUE 2 addr 0
PARAM_VALUE 3 count 4
BUF_SIZE 1 dst 4
RX_PATH
HALF_LOCKED2 &pool->lock

drivers/bluetooth/btsdio.c btsdio_rx_packet() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 4096-ptr_max
PARAM_VALUE 0 func->card->host->ongoing_mrq->cmd_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 func->card->host->ongoing_mrq->done 0,429396076522299392,6569461247470579712,7038937104643203072,8039316214707961856,8283609542540963840
PARAM_VALUE 0 func->card->host->parent->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 func->card->host->parent->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 func->card->host->private->pcr->pci->dev.dma_uses_io_tlb 0-1
PARAM_VALUE 0 func->card->host->private->pcr->pcr_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 func->card->host->private->ucr->dev_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 func->num 0-7
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 addr 0
PARAM_VALUE 3 count 0-65539
BUF_SIZE 1 dst 1-s32max
RX_PATH
UNITS 1 dst unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/wireless/ath/ath10k/sdio.c ath10k_sdio_readsb() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 0,4096-ptr_max
PARAM_VALUE 0 func->card->host->claimed 1
PARAM_VALUE 0 func->card->host->claimer 1-u64max
PARAM_VALUE 0 func->card->host->lock.rlock.dep_map->name 0-255
BUF_SIZE 1 dst 1-s32max
BUF_SIZE 1 dst 1-s32max
CAPPED_DATA 3 count 1
DATA_SOURCE 1 dst $2
DATA_SOURCE 2 addr $1
RX_PATH
UNITS 1 dst unit_byte
UNITS 2 addr unit_byte
UNITS 3 count unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/wireless/ath/ath6kl/sdio.c ath6kl_sdio_io() -> sdio_readsb()

Type Parameter Key Value
PARAM_VALUE 0 func 0,4096-ptr_max
PARAM_VALUE 0 func->card->host->claimed 1
PARAM_VALUE 0 func->card->host->claimer 1-u64max
PARAM_VALUE 0 func->card->host->lock.rlock.dep_map->name 0-255
BUF_SIZE 1 dst (-1),1-s32max
DATA_SOURCE 0 func $0
DATA_SOURCE 1 dst $3
DATA_SOURCE 2 addr $2
DATA_SOURCE 3 count $4
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 *dst
UNITS 3 count unit_byte
USER_PTR 1 dst