/freebsd/sys/arm64/rockchip/ |
H A D | rk3328_codec.c | 177 DELAY(10000); in rkcodec_set_power() 203 DELAY(10000); in rkcodec_reset() 294 DELAY(1000); in rkcodec_attach() 299 DELAY(1000); in rkcodec_attach() 304 DELAY(1000); in rkcodec_attach() 310 DELAY(1000); in rkcodec_attach() 315 DELAY(1000); in rkcodec_attach() 319 DELAY(1000); in rkcodec_attach() 324 DELAY(1000); in rkcodec_attach() 328 DELAY(1000); in rkcodec_attach() [all …]
|
H A D | rk_pcie_phy.c | 115 DELAY(10); in cfg_write() 118 DELAY(10); in cfg_write() 128 DELAY(10); in cfg_read() 162 DELAY(1000); in rk_pcie_phy_up() 179 DELAY(1000); in rk_pcie_phy_up() 192 DELAY(1000); in rk_pcie_phy_up()
|
/freebsd/sys/dev/atkbdc/ |
H A D | atkbdc.c | 305 DELAY(1000); in atkbdc_setup() 440 DELAY(KBDD_DELAYTIME); in wait_while_controller_busy() 443 DELAY(KBDD_DELAYTIME); in wait_while_controller_busy() 446 DELAY(KBDC_DELAYTIME); in wait_while_controller_busy() 467 DELAY(KBDC_DELAYTIME); in wait_for_data() 471 DELAY(KBDD_DELAYTIME); in wait_for_data() 488 DELAY(KBDD_DELAYTIME); in wait_for_kbd_data() 491 DELAY(KBDC_DELAYTIME); in wait_for_kbd_data() 495 DELAY(KBDD_DELAYTIME); in wait_for_kbd_data() 515 DELAY(KBDD_DELAYTIME); in wait_for_kbd_ack() [all …]
|
/freebsd/sys/dev/iicbus/ |
H A D | iic_recover_bus.c | 81 DELAY(delay_us); in iic_recover_bus() 101 DELAY(5); in iic_recover_bus() 103 DELAY(5); in iic_recover_bus() 117 DELAY(5); in iic_recover_bus() 119 DELAY(5); in iic_recover_bus()
|
H A D | iicbb.c | 309 DELAY(sc->udelay); in iicbb_clockout() 321 DELAY(sc->udelay); in iicbb_sendbit() 359 DELAY(1); in iicbb_getack() 362 DELAY(sc->udelay - t); in iicbb_getack() 405 DELAY((sc->udelay + 1) / 2); in iicbb_readbyte() 408 DELAY((sc->udelay + 1) / 2); in iicbb_readbyte() 455 DELAY((sc->udelay + 1) / 2); in iicbb_start_impl() 471 DELAY((sc->udelay + 1) / 2); in iicbb_start_impl() 513 DELAY((sc->udelay + 1) / 2); in iicbb_stop() 515 DELAY((sc->udelay + 1) / 2); in iicbb_stop()
|
/freebsd/sys/dev/ow/ |
H A D | owc_gpiobus.c | 196 DELAY(t->t_low1); in owc_gpiobus_write_one() 200 DELAY(t->t_slot - t->t_low1 + t->t_rec); in owc_gpiobus_write_one() 231 DELAY(t->t_low0); in owc_gpiobus_write_zero() 235 DELAY(t->t_slot - t->t_low0 + t->t_rec); in owc_gpiobus_write_zero() 272 DELAY(t->t_lowr); in owc_gpiobus_read_data() 345 DELAY(t->t_rstl); in owc_gpiobus_reset_and_presence() 349 DELAY(t->t_pdh + t->t_pdl / 2); in owc_gpiobus_reset_and_presence() 357 DELAY(t->t_rsth - (t->t_pdh + t->t_pdl / 2)); /* Timing not critical for this one */ in owc_gpiobus_reset_and_presence()
|
/freebsd/sys/powerpc/mpc85xx/ |
H A D | i2c.c | 258 DELAY(1250); in i2c_repeated_start() 277 DELAY(1000); in i2c_start() 293 DELAY(1250); in i2c_start() 312 DELAY(1000); in i2c_stop() 341 DELAY(1000); in i2c_reset() 345 DELAY(1000); in i2c_reset() 372 DELAY(1000); in i2c_read() 376 DELAY(1000); in i2c_read() 394 DELAY(1250); in i2c_read() 413 DELAY(1250); in i2c_write()
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_cpufreq.c | 312 DELAY(TRANSITION_LATENCY); in bcm2835_cpufreq_set_clock_rate() 662 DELAY(TRANSITION_LATENCY); in sysctl_bcm2835_cpufreq_arm_freq() 696 DELAY(TRANSITION_LATENCY); in sysctl_bcm2835_cpufreq_core_freq() 729 DELAY(TRANSITION_LATENCY); in sysctl_bcm2835_cpufreq_sdram_freq() 765 DELAY(TRANSITION_LATENCY); in sysctl_bcm2835_cpufreq_turbo() 801 DELAY(TRANSITION_LATENCY); in sysctl_bcm2835_cpufreq_voltage_core() 839 DELAY(TRANSITION_LATENCY); in sysctl_bcm2835_cpufreq_voltage_sdram_c() 876 DELAY(TRANSITION_LATENCY); in sysctl_bcm2835_cpufreq_voltage_sdram_i() 913 DELAY(TRANSITION_LATENCY); in sysctl_bcm2835_cpufreq_voltage_sdram_p() 961 DELAY(TRANSITION_LATENCY); in sysctl_bcm2835_cpufreq_voltage_sdram() [all …]
|
/freebsd/sys/arm/mv/armada38x/ |
H A D | armada38x_rtc.c | 159 DELAY(500000); in mv_rtc_reset() 163 DELAY(62); in mv_rtc_reset() 167 DELAY(62); in mv_rtc_reset() 180 DELAY(10); in mv_rtc_reset() 184 DELAY(50); in mv_rtc_reset() 266 DELAY(100); in mv_rtc_gettime() 329 DELAY(5); in mv_rtc_reg_write()
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwm_pcie_trans.c | 200 DELAY(10); in iwm_poll_prph() 268 DELAY(10); in iwm_poll_bit() 284 DELAY(2); in iwm_nic_lock() 409 DELAY(1000); in iwm_prepare_card_hw() 418 DELAY(200); in iwm_prepare_card_hw() 572 DELAY(20); in iwm_apm_init() 600 DELAY(1000); in iwm_apm_stop() 603 DELAY(5000); in iwm_apm_stop() 634 DELAY(5000); in iwm_start_hw()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | delay.h | 51 #define udelay(t) DELAY(t) 57 DELAY(1000); in mdelay() 63 DELAY(howmany(x, 1000)); in ndelay()
|
/freebsd/sys/dev/ata/ |
H A D | ata-lowlevel.c | 117 DELAY(10); in ata_begin_transaction() 178 DELAY(10); in ata_begin_transaction() 197 DELAY(10); in ata_begin_transaction() 360 DELAY(10); in ata_end_transaction() 480 DELAY(10); in ata_generic_reset() 491 DELAY(10); in ata_generic_reset() 512 DELAY(10); in ata_generic_reset() 523 DELAY(10); in ata_generic_reset() 556 DELAY(10); in ata_generic_reset() 611 DELAY(100); in ata_generic_status() [all …]
|
/freebsd/sys/arm/nvidia/tegra124/ |
H A D | tegra124_xusbpadctl.c | 392 DELAY(100); in usb3_port_init() 397 DELAY(100); in usb3_port_init() 402 DELAY(100); in usb3_port_init() 416 DELAY(100); in pcie_powerup() 423 DELAY(100); in pcie_powerup() 428 DELAY(100); in pcie_powerup() 434 DELAY(10); in pcie_powerup() 459 DELAY(100); in pcie_powerdown() 493 DELAY(100); in sata_powerup() 522 DELAY(100); in sata_powerdown() [all …]
|
/freebsd/sys/dev/ppbus/ |
H A D | ppb_1284.c | 210 DELAY(1); in ppb_peripheral_negociate() 226 DELAY(1); in ppb_peripheral_negociate() 255 DELAY(1); in ppb_peripheral_negociate() 310 DELAY(1); in ppb_peripheral_terminate() 469 DELAY(3); in byte_1284_inbyte() 684 DELAY(1); in ppb_1284_negociate() 695 DELAY(1); in ppb_1284_negociate() 698 DELAY(1); in ppb_1284_negociate() 726 DELAY(1); in ppb_1284_negociate() 828 DELAY(1); in ppb_1284_terminate()
|
/freebsd/sys/dev/etherswitch/ar40xx/ |
H A D | ar40xx_hw_psgmii.c | 147 DELAY(8 * 1000); in ar40xx_hw_psgmii_single_phy_testing() 160 DELAY(60 * 1000); in ar40xx_hw_psgmii_single_phy_testing() 208 DELAY(8*1000); in ar40xx_hw_psgmii_all_phy_testing() 221 DELAY(60*1000); /* was 50ms */ in ar40xx_hw_psgmii_all_phy_testing() 286 DELAY(2000); in ar40xx_hw_malibu_psgmii_ess_reset() 305 DELAY(2000); in ar40xx_hw_malibu_psgmii_ess_reset()
|
/freebsd/sys/arm/qualcomm/ |
H A D | ipq4018_usb_hs_phy.c | 83 DELAY(10*1000); in ipq4018_usb_hs_phynode_phy_enable() 87 DELAY(10*1000); in ipq4018_usb_hs_phynode_phy_enable() 97 DELAY(10*1000); in ipq4018_usb_hs_phynode_phy_enable() 101 DELAY(10*1000); in ipq4018_usb_hs_phynode_phy_enable()
|
/freebsd/sys/dev/ipmi/ |
H A D | ipmi_kcs.c | 69 DELAY(delay_usec); in kcs_wait() 193 DELAY(1000000); in kcs_start_write() 580 DELAY(100); in ipmi_kcs_probe_align() 589 DELAY(100); in ipmi_kcs_probe_align() 619 DELAY(100); in ipmi_kcs_probe_align() 626 DELAY(100); in ipmi_kcs_probe_align() 639 DELAY(100); in ipmi_kcs_probe_align() 647 DELAY(100); in ipmi_kcs_probe_align()
|
/freebsd/sys/dev/clk/allwinner/ |
H A D | aw_clk_nkmp.c | 206 DELAY(2000); in aw_clk_nkmp_set_freq_scale() 213 DELAY(2000); in aw_clk_nkmp_set_freq_scale() 221 DELAY(2000); in aw_clk_nkmp_set_freq_scale() 227 DELAY(2000); in aw_clk_nkmp_set_freq_scale() 234 DELAY(2000); in aw_clk_nkmp_set_freq_scale() 242 DELAY(1000); in aw_clk_nkmp_set_freq_scale() 294 DELAY(2000); in aw_clk_nkmp_set_freq() 302 DELAY(2000); in aw_clk_nkmp_set_freq() 311 DELAY(1000); in aw_clk_nkmp_set_freq()
|
/freebsd/sys/dev/sound/pci/ |
H A D | csa.c | 570 DELAY(50); in csa_initialize() 572 DELAY(50); in csa_initialize() 587 DELAY(50000); in csa_initialize() 594 DELAY(700000); in csa_initialize() 613 DELAY(5000); in csa_initialize() 649 DELAY(125); in csa_initialize() 683 DELAY(10000000L); /* clw */ in csa_initialize() 685 DELAY(1000); in csa_initialize() 764 DELAY(100); in csa_clearserialfifos() 902 DELAY(25); in csa_readcodec() [all …]
|
H A D | spicds.c | 68 DELAY(1); in spicds_wrbit() 70 DELAY(1); in spicds_wrbit() 88 DELAY(1); in spicds_wrcd() 115 DELAY(1); in spicds_wrcd() 125 DELAY(1); in spicds_wrcd() 129 DELAY(1); in spicds_wrcd()
|
/freebsd/contrib/pnpinfo/ |
H A D | pnpinfo.c | 74 void DELAY(int i); 89 DELAY(int i) in DELAY() function 140 DELAY(250); /* Delay 250 usec */ in get_serial() 144 DELAY(250); /* Delay 250 usec */ in get_serial() 175 DELAY(1); in get_resource_info() 571 DELAY(1000); /* Delay 1 msec */ in isolation_protocol()
|
/freebsd/sys/riscv/sifive/ |
H A D | fu740_pci_dw.c | 124 DELAY(10); in fupci_phy_read() 140 DELAY(10); in fupci_phy_read() 166 DELAY(10); in fupci_phy_write() 181 DELAY(10); in fupci_phy_write() 248 DELAY(1); in fupci_phy_init() 278 DELAY(100000); in fupci_phy_init()
|
/freebsd/sys/dev/bwi/ |
H A D | bwirf.c | 365 DELAY(8000); /* DELAY(2000); */ in bwi_rf_set_chan() 506 DELAY(10); in bwi_rf_get_gains() 583 DELAY(1000); in bwi_rf_work_around() 656 DELAY(20); in bwi_rf_gain_max_reached() 871 DELAY(10); in bwi_rf_init_bcm2050() 878 DELAY(10); in bwi_rf_init_bcm2050() 885 DELAY(20); in bwi_rf_init_bcm2050() 899 DELAY(10); in bwi_rf_init_bcm2050() 908 DELAY(10); in bwi_rf_init_bcm2050() 922 DELAY(10); in bwi_rf_init_bcm2050() [all …]
|
/freebsd/sys/arm64/nvidia/tegra210/ |
H A D | tegra210_xusbpadctl.c | 618 DELAY(10); in uphy_pex_enable() 633 DELAY(10); in uphy_pex_enable() 649 DELAY(10); in uphy_pex_enable() 666 DELAY(10); in uphy_pex_enable() 685 DELAY(10); in uphy_pex_enable() 703 DELAY(10); in uphy_pex_enable() 731 DELAY(50); in uphy_pex_enable() 853 DELAY(1); in uphy_sata_enable() 868 DELAY(10); in uphy_sata_enable() 884 DELAY(10); in uphy_sata_enable() [all …]
|
/freebsd/sys/dev/gpio/ |
H A D | gpiopower.c | 128 DELAY(sc->sc_hi_period); in gpiopower_assert() 130 DELAY(sc->sc_lo_period); in gpiopower_assert() 132 DELAY(sc->sc_timeout); in gpiopower_assert()
|