Defined in 4 files as a prototype:
- arch/alpha/include/asm/io.h, line 622 (as a prototype)
- arch/parisc/include/asm/io.h, line 203 (as a prototype)
- arch/sparc/include/asm/io_64.h, line 246 (as a prototype)
- include/asm-generic/io.h, line 761 (as a prototype)
Defined in 13 files as a macro:
- arch/alpha/include/asm/io.h, line 629 (as a macro)
- arch/arm/include/asm/io.h, line 262 (as a macro)
- arch/m68k/include/asm/io_mm.h, line 326 (as a macro)
- arch/m68k/include/asm/io_mm.h, line 359 (as a macro)
- arch/mips/include/asm/io.h, line 534 (as a macro)
- arch/parisc/include/asm/io.h, line 209 (as a macro)
- arch/powerpc/include/asm/io.h, line 680 (as a macro)
- arch/riscv/include/asm/io.h, line 109 (as a macro)
- arch/sh/include/asm/io.h, line 242 (as a macro)
- arch/sparc/include/asm/io_64.h, line 249 (as a macro)
- arch/x86/include/asm/io.h, line 312 (as a macro)
- include/asm-generic/io.h, line 754 (as a macro)
- include/linux/logic_pio.h, line 79 (as a macro)
Defined in 5 files as a function:
- arch/alpha/kernel/io.c, line 305 (as a function)
- arch/parisc/lib/io.c, line 19 (as a function)
- arch/sh/include/asm/io_noioport.h, line 49 (as a function)
- arch/sparc/lib/PeeCeeI.c, line 88 (as a function)
- include/asm-generic/io.h, line 756 (as a function)
Referenced in 21 files:
- arch/alpha/kernel/io.c, line 311
- arch/parisc/lib/io.c, line 376
- arch/parisc/lib/iomap.c, line 108
- arch/powerpc/include/asm/io-defs.h, line 10
- arch/powerpc/platforms/powernv/opal-lpc.c, line 171
- arch/sparc/include/asm/io_64.h, line 255
- arch/sparc/lib/PeeCeeI.c, line 114
- drivers/iio/adc/ad7606_par.c
- drivers/net/arcnet/com20020.c, line 74
- drivers/net/ethernet/8390/mcf8390.c, line 133
- drivers/net/ethernet/8390/ne.c
- drivers/parport/parport_pc.c
- drivers/scsi/g_NCR5380.c, line 549
- drivers/scsi/imm.c, line 436
- drivers/scsi/pcmcia/nsp_io.h, line 72
- drivers/scsi/ppa.c, line 365
- include/asm-generic/io.h
- include/linux/logic_pio.h, line 78
- lib/iomap.c, line 362
- sound/drivers/opl4/opl4_lib.c, line 64
- sound/isa/gus/gus_dram.c, line 61
Smatch caller information:
drivers/scsi/imm.c imm_in() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *addr | 0-255 |
| PARAM_VALUE | 2 | count | 1,512 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | count | $2 |
| BIT_INFO | 2 | count | 0x0,0x201 |
| NOCHECK_CALL | |||
| UNITS | 0 | port | unit_byte |
| HALF_LOCKED2 | &pool->lock |
sound/drivers/opl4/opl4_lib.c snd_opl4_read_memory() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 1-u64max |
| PARAM_VALUE | 2 | count | 0-2147479552 |
| BUF_SIZE | 1 | addr | 0-2147479552 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | count | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | count | 1-2147479552[c] |
| NO_OVERFLOW_SIMPLE | 2 | count | |
| BYTE_COUNT | 1 | ==addr2 | 8050 |
| LOCK2 | &opl4->reg_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct snd_opl4)->reg_lock |
drivers/scsi/ppa.c ppa_in() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *addr | 0-255 |
| PARAM_VALUE | 2 | count | 1,512 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | count | $2 |
| BIT_INFO | 2 | count | 0x0,0x201 |
| NOCHECK_CALL | |||
| UNITS | 0 | port | unit_byte |
| HALF_LOCKED2 | &pool->lock |
sound/isa/gus/gus_dram.c snd_gus_dram_peek() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 7429015012897357824 |
| PARAM_VALUE | 1 | *addr | 0-255 |
| PARAM_VALUE | 2 | count | 1-256 |
| BUF_SIZE | 1 | addr | 256 |
| CAPPED_DATA | 2 | count | 1 |
| FUZZY_MAX | 2 | count | 256 |
| NOCHECK_CALL | |||
| USER_DATA | 2 | count | 1-256[c] |
| NO_OVERFLOW_SIMPLE | 2 | count | |
| UNITS | 2 | count | unit_byte |
| LOCK2 | &gus->reg_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct snd_gus_card)->reg_lock |
lib/iomap.c ioread8_rep() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | addr | s32min-s32max |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | count | $2 |
| NOSPEC | 2 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | count | 0-u32max,18446744069414584324-u64max |
| USER_DATA | 2 | count | 0-u32max,18446744069414584324-u64max |
| UNITS | 1 | addr | unit_byte |
| UNITS | 2 | count | unit_byte |
| USER_PTR | 1 | addr | |
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &db->lock | ||
| HALF_LOCKED2 | &ei_local->page_lock | ||
| HALF_LOCKED2 | &host->io_mutex | ||
| HALF_LOCKED2 | &musb->lock | ||
| HALF_LOCKED2 | &priv->acpi_lock | ||
| HALF_LOCKED2 | global &fw_cfg_dev_lock |
drivers/net/arcnet/com20020.c com20020_copy_from_card() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 0-508,18446744073709551613-u64max |
| BUF_SIZE | 1 | addr | (-1),4,20 |
| BUF_SIZE | 1 | addr | (-1),4,20 |
| DATA_SOURCE | 1 | addr | $3 |
| DATA_SOURCE | 2 | count | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | port | unit_byte |
| USER_PTR | 1 | addr | |
| HALF_LOCKED2 | &lp->lock |
drivers/net/arcnet/com20020.c com20020_copy_from_card() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 0-508,18446744073709551613-u64max |
| BUF_SIZE | 1 | addr | (-1),4,20 |
| BUF_SIZE | 1 | addr | (-1),4,20 |
| DATA_SOURCE | 1 | addr | $3 |
| DATA_SOURCE | 2 | count | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | port | unit_byte |
| USER_PTR | 1 | addr | |
| HALF_LOCKED2 | &lp->lock |
drivers/scsi/pcmcia/nsp_cs.c nsp_multi_read_1() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 2 | count | 1 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 1 | addr | $2 |
| DATA_SOURCE | 2 | count | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | port | unit_byte |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/parport/parport_pc.c parport_pc_epp_read_addr() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 2-u64max |
| BUF_SIZE | 1 | addr | (-1),1-1024,4096 |
| BUF_SIZE | 1 | addr | (-1),1-1024,4096 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | count | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | count | 2-1020,18446744073709547519-u64max[c] |
| USER_DATA | 2 | count | 2-4096[c] |
| UNITS | 0 | port | unit_byte |
drivers/parport/parport_pc.c parport_pc_epp_read_data() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | s64min-(-1),1-s64max |
| PARAM_VALUE | 2 | count | 16 |
| BUF_SIZE | 1 | addr | (-1),1-1024,4096 |
| BUF_SIZE | 1 | addr | (-1),1-1024,4096 |
| DATA_SOURCE | 1 | addr | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | *addr | s64min-s64max |
| UNITS | 0 | port | unit_byte |
drivers/parport/parport_pc.c parport_pc_epp_read_data() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 2-u64max |
| BUF_SIZE | 1 | addr | (-1),1-1024,4096 |
| BUF_SIZE | 1 | addr | (-1),1-1024,4096 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | count | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | count | 2-4095,18446744073709547519-u64max[c] |
| USER_DATA | 2 | count | 2-4096[c] |
| UNITS | 0 | port | unit_byte |
drivers/iio/adc/ad7606_par.c ad7606_par8_read_block() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 2 |
| BUF_SIZE | 1 | addr | 40 |
| DATA_SOURCE | 1 | addr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/iio/adc/ad7606_par.c ad7606_par8_read_block() -> insb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 4096-18446744073709547521 |
| PARAM_VALUE | 1 | *addr | 0-u16max |
| PARAM_VALUE | 2 | count | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | addr | (-1),40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |