Defined in 9 files as a prototype:
- arch/alpha/include/asm/delay.h, line 5 (as a prototype)
- arch/hexagon/include/asm/delay.h, line 11 (as a prototype)
- arch/loongarch/include/asm/delay.h, line 10 (as a prototype)
- arch/mips/include/asm/delay.h, line 16 (as a prototype)
- arch/powerpc/include/asm/delay.h, line 17 (as a prototype)
- arch/riscv/include/asm/delay.h, line 18 (as a prototype)
- arch/s390/include/asm/delay.h, line 18 (as a prototype)
- arch/sparc/include/asm/delay_64.h, line 12 (as a prototype)
- include/asm-generic/delay.h, line 15 (as a prototype)
Defined in 1 files as a macro:
Defined in 25 files as a function:
- arch/alpha/lib/udelay.c, line 23 (as a function)
- arch/arc/include/asm/delay.h, line 22 (as a function)
- arch/arm64/lib/delay.c, line 41 (as a function)
- arch/csky/lib/delay.c, line 8 (as a function)
- arch/hexagon/kernel/time.c, line 210 (as a function)
- arch/loongarch/lib/delay.c, line 12 (as a function)
- arch/m68k/include/asm/delay.h, line 34 (as a function)
- arch/microblaze/include/asm/delay.h, line 13 (as a function)
- arch/mips/cavium-octeon/csrc-octeon.c, line 172 (as a function)
- arch/mips/lib/delay.c, line 28 (as a function)
- arch/nios2/lib/delay.c, line 11 (as a function)
- arch/openrisc/lib/delay.c, line 30 (as a function)
- arch/parisc/include/asm/delay.h, line 5 (as a function)
- arch/powerpc/kernel/time.c, line 422 (as a function)
- arch/riscv/lib/delay.c, line 76 (as a function)
- arch/s390/lib/delay.c, line 15 (as a function)
- arch/sh/lib/delay.c, line 11 (as a function)
- arch/sparc/include/asm/delay_32.h, line 13 (as a function)
- arch/sparc/kernel/time_64.c, line 781 (as a function)
- arch/x86/lib/delay.c, line 201 (as a function)
- arch/x86/um/delay.c, line 12 (as a function)
- arch/xtensa/include/asm/delay.h, line 20 (as a function)
- tools/testing/selftests/kvm/include/arm64/delay.h, line 11 (as a function)
- tools/testing/selftests/kvm/include/loongarch/arch_timer.h, line 73 (as a function)
- tools/testing/selftests/kvm/include/riscv/arch_timer.h, line 58 (as a function)
Referenced in 45 files:
- arch/alpha/lib/udelay.c
- arch/arc/include/asm/delay.h, line 63
- arch/arm64/lib/delay.c
- arch/csky/lib/delay.c
- arch/hexagon/kernel/time.c, line 217
- arch/loongarch/kvm/timer.c, line 105
- arch/loongarch/lib/delay.c
- arch/m68k/include/asm/delay.h
- arch/m68k/include/asm/dvma.h, line 236
- arch/microblaze/include/asm/delay.h, line 53
- arch/mips/cavium-octeon/csrc-octeon.c, line 182
- arch/mips/cavium-octeon/executive/cvmx-helper.c, line 824
- arch/mips/cavium-octeon/executive/cvmx-spi.c
- arch/mips/include/asm/octeon/cvmx-fpa.h, line 170
- arch/mips/include/asm/octeon/cvmx.h, line 473
- arch/mips/lib/delay.c
- arch/mips/pci/pcie-octeon.c
- arch/nios2/lib/delay.c
- arch/openrisc/lib/delay.c
- arch/powerpc/kernel/time.c
- arch/powerpc/platforms/52xx/mpc52xx_common.c, line 295
- arch/powerpc/platforms/cell/spu_base.c, line 703
- arch/powerpc/xmon/xmon.c
- arch/riscv/lib/delay.c
- arch/s390/lib/delay.c, line 23
- arch/sh/lib/delay.c, line 42
- arch/sparc/kernel/time_64.c
- arch/x86/kernel/apic/io_apic.c, line 1507
- arch/x86/kvm/lapic.c, line 1969
- arch/x86/lib/delay.c
- arch/x86/um/delay.c
- arch/xtensa/include/asm/delay.h, line 62
- drivers/char/hw_random/n2-drv.c
- drivers/clk/sunxi/clk-factors.c, line 162
- drivers/net/mdio/mdio-cavium.c
- drivers/spi/spi-cavium.c, line 23
- drivers/usb/host/octeon-hcd.c
- drivers/video/fbdev/aty/atyfb_base.c
- drivers/video/fbdev/controlfb.c
- drivers/video/fbdev/platinumfb.c
- drivers/video/fbdev/valkyriefb.c
- init/calibrate.c
- tools/testing/selftests/kvm/include/arm64/delay.h, line 22
- tools/testing/selftests/kvm/include/loongarch/arch_timer.h, line 83
- tools/testing/selftests/kvm/include/riscv/arch_timer.h, line 68
Smatch caller information:
drivers/spi/spi-cavium.c octeon_spi_wait_ready() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | loops | 500 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
arch/x86/kernel/apic/io_apic.c delay_without_tsc() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
init/calibrate.c calibrate_delay_converge() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | loops | 0-8796093018112 |
| NOCHECK_CALL |
init/calibrate.c calibrate_delay_converge() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
arch/x86/lib/delay.c __const_udelay() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
drivers/video/fbdev/controlfb.c read_control_sense() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | loops | 200 |
| NOCHECK_CALL |
drivers/video/fbdev/controlfb.c read_control_sense() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | loops | 2000 |
| NOCHECK_CALL |
drivers/video/fbdev/controlfb.c read_control_sense() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | loops | 2000 |
| NOCHECK_CALL |
drivers/video/fbdev/controlfb.c read_control_sense() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | loops | 2000 |
| NOCHECK_CALL |
drivers/video/fbdev/controlfb.c read_control_sense() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | loops | 2000 |
| NOCHECK_CALL |
drivers/net/mdio/mdio-cavium.c cavium_mdiobus_c45_addr() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | loops | 1000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bus->mdio_lock | ||
| TYPE_LOCK | (struct mii_bus)->mdio_lock |
drivers/net/mdio/mdio-cavium.c cavium_mdiobus_read_c22() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | loops | 1000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bus->mdio_lock | ||
| HALF_LOCKED2 | &priv->bus->mdio_lock |
drivers/net/mdio/mdio-cavium.c cavium_mdiobus_read_c45() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | loops | 1000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bus->mdio_lock |
drivers/net/mdio/mdio-cavium.c cavium_mdiobus_write_c22() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | loops | 1000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bus->mdio_lock | ||
| HALF_LOCKED2 | &bus->mdio_lock | ||
| HALF_LOCKED2 | &priv->bus->mdio_lock |
drivers/net/mdio/mdio-cavium.c cavium_mdiobus_write_c45() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | loops | 1000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bus->mdio_lock |
arch/x86/kvm/lapic.c __wait_lapic_expire() -> __delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | loops | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | loops | unit_byte |