Defined in 3 files as a prototype:

Defined in 4 files as a macro:

Defined in 4 files as a function:

Referenced in 26 files:

Smatch caller information:

drivers/ata/libata-sff.c ata_sff_data_xfer() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 2 count 0-s32max
BUF_SIZE 1 dst (-1),16
DATA_SOURCE 1 dst $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 count 0-2047[c]
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 ap->lock
HALF_LOCKED2 irq

drivers/ata/libata-sff.c ata_sff_data_xfer() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 1 dst 3215387119801749504
PARAM_VALUE 2 count 1
BUF_SIZE 1 dst 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 ap->lock
HALF_LOCKED2 irq

drivers/ata/libata-sff.c ata_sff_data_xfer32() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 1 dst 7113183080217628672
PARAM_VALUE 2 count 1
BUF_SIZE 1 dst 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &host->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 ap->lock
HALF_LOCKED2 irq

drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c ingenic_nand_exec_instr() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
BUF_SIZE 1 dst s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dst unit_byte
UNITS 2 count unit_byte
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/usb/gadget/udc/m66592-udc.c m66592_read_fifo() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 count 1-2048
CAPPED_DATA 2 count 1
CAPPED_DATA 2 count 1
DATA_SOURCE 1 dst $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 count 1-2048[c]
UNITS 1 dst unit_byte
UNITS 2 count unit_byte
LOCK2 &m66592->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct m66592)->lock

drivers/net/ethernet/micrel/ks8851_par.c ks8851_rdfifo_par() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 1 *dst 0-u16max
PARAM_VALUE 2 count 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 count 4[c]
HALF_LOCKED2 _T->lock

drivers/ata/pata_it821x.c it821x_firmware_command() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 count 256
BUF_SIZE 1 dst 512
DATA_SOURCE 1 dst r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/spi/spi-s3c64xx.c s3c64xx_wait_for_pio() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 1 dst 1-u64max
PARAM_VALUE 2 count 0-u32max
BUF_SIZE 1 dst s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dst unit_byte
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/mtd/nand/raw/nand_legacy.c nand_read_buf16() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 2 count 0-1073741823,18446744072635809792-u64max
BUF_SIZE 1 dst s32min,(-1)-s32max
DATA_SOURCE 1 dst $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_PTR 1 dst
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/bcma/host_pci.c bcma_host_pci_block_read() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 2 count 0-2,10,12
BUF_SIZE 1 dst (-1),4,118
BUF_SIZE 1 dst (-1),4,118
DATA_SOURCE 1 dst $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->wl->mutex
HALF_LOCKED2 &wl->mutex
TYPE_LOCK (struct b43_wl)->mutex

drivers/net/ethernet/davicom/dm9000.c dm9000_inblk_16bit() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 count 0-32768
BUF_SIZE 1 dst (-1),4
BUF_SIZE 1 dst (-1),4
DATA_SOURCE 0 addr $0
DATA_SOURCE 1 dst $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &db->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct board_info)->lock

drivers/mtd/nand/raw/omap2.c omap_nand_data_in() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 2 count 0-s32max
BUF_SIZE 1 dst s32min-(-1),1-s32max
BUF_SIZE 1 dst s32min-(-1),1-s32max
DATA_SOURCE 1 dst $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/mmc/host/tmio_mmc_core.c sd_ctrl_read16_rep() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 count 0-s32max
DATA_SOURCE 1 dst $2
DATA_SOURCE 2 count $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/net/ethernet/smsc/smc91x.c smc_rcv() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 0 addr 0-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 count 1-1021
DATA_SOURCE 1 dst r skb_put
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 count 1-1021[c]
LOCK2 &lp->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct smc_local)->lock

drivers/usb/host/r8a66597-hcd.c r8a66597_read_fifo() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 count 0-2048,18446744072635809793-u64max
CAPPED_DATA 2 count 1
DATA_SOURCE 1 dst $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 count 1-2048[c]
UNITS 1 dst unit_byte
UNITS 2 count unit_byte
LOCK2 &r8a66597->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct r8a66597)->lock

drivers/spi/spi-synquacer.c read_fifo() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 2 count 0-31
BUF_SIZE 1 dst (-1),64
CAPPED_DATA 2 count 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 count 0-31[c]
UNITS 1 dst unit_byte
HALF_LOCKED2 &host->io_mutex

drivers/mtd/nand/raw/gpio.c gpio_nand_exec_instr() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 2 count 0-u32max
BUF_SIZE 1 dst s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dst unit_byte
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/usb/musb/musb_core.c musb_default_read_fifo() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 count 1-s16max
DATA_SOURCE 1 dst $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &musb->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct musb)->lock

drivers/mtd/nand/raw/atmel/nand-controller.c atmel_nand_data_in() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 2 count 0-u32max
BUF_SIZE 1 dst s32min-(-2),1-s32max
BUF_SIZE 1 dst s32min-(-2),1-s32max
DATA_SOURCE 1 dst $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dst unit_byte

drivers/net/ethernet/intel/e1000/e1000_hw.c e1000_do_read_eeprom() -> ioread16_rep()

Type Parameter Key Value
BUF_SIZE 1 dst (-1),2
DATA_SOURCE 1 dst $3
DATA_SOURCE 2 count $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 count 0-u16max[c]
LOCK2 global &e1000_eeprom_lock

drivers/ssb/pci.c ssb_pci_block_read() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 2 count 0-2,10,12
BUF_SIZE 1 dst (-1),4,118
BUF_SIZE 1 dst (-1),4,118
DATA_SOURCE 1 dst $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->wl->mutex
HALF_LOCKED2 &wl->mutex
TYPE_LOCK (struct b43_wl)->mutex

drivers/usb/gadget/udc/r8a66597-udc.c r8a66597_read_fifo() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 count 1-2047
CAPPED_DATA 2 count 1
DATA_SOURCE 1 dst $2
BIT_INFO 1 dst 0x0,0xfffffffffffffffe
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 count 1-2047[c]
UNITS 1 dst unit_byte
LOCK2 &r8a66597->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct r8a66597)->lock

drivers/net/ethernet/8390/ax88796.c ax_block_input() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 2 count 30-759
BUF_SIZE 1 dst 1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dst unit_byte
USER_PTR 1 dst
LOCK2 &ei_local->page_lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ei_device)->page_lock

drivers/net/ethernet/8390/ax88796.c ax_get_8390_hdr() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 1 dst 4110777048020287488,4270865878620442624
PARAM_VALUE 2 count 2
DATA_SOURCE 1 dst $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ei_local->page_lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ei_device)->page_lock

drivers/mtd/nand/raw/davinci_nand.c nand_davinci_data_in() -> ioread16_rep()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PARAM_VALUE 2 count 0-s32max
BUF_SIZE 1 dst s32min-(-2),1-s32max
BUF_SIZE 1 dst s32min-(-2),1-s32max
DATA_SOURCE 1 dst $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 dst unit_byte