Searched refs:ndelay (Results 1 - 106 of 106) sorted by relevance

/linux-4.1.27/arch/alpha/include/asm/
H A Ddelay.h7 extern void ndelay(unsigned long nsecs);
8 #define ndelay ndelay macro
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Ddelay.h6 #define ndelay(n) cris_delay10ns(((n)+9)/10) macro
9 * Not used anymore for udelay or ndelay. Referenced by
11 * should be replaced by mdelay, udelay or ndelay.
/linux-4.1.27/arch/blackfin/include/asm/
H A Ddelay.h44 static inline void ndelay(unsigned long nsecs) ndelay() function
49 #define ndelay ndelay macro
/linux-4.1.27/include/linux/
H A Ddelay.h36 #ifndef ndelay ndelay()
37 static inline void ndelay(unsigned long x) ndelay() function
41 #define ndelay(x) ndelay(x) macro
/linux-4.1.27/arch/mips/lasat/
H A Dpicvue.c42 ndelay(220); pvc_write_byte()
44 ndelay(220); pvc_write_byte()
53 ndelay(220); pvc_read_byte()
57 ndelay(220); pvc_read_byte()
68 ndelay(40); pvc_read_data()
100 ndelay(40); pvc_write()
/linux-4.1.27/arch/alpha/lib/
H A Dudelay.c49 ndelay(unsigned long nsecs) ndelay() function
54 EXPORT_SYMBOL(ndelay); variable
/linux-4.1.27/arch/s390/include/asm/
H A Ddelay.h20 #define ndelay(n) __ndelay((unsigned long long) (n)) macro
/linux-4.1.27/arch/metag/include/asm/
H A Ddelay.h25 #define ndelay(n) (__builtin_constant_p(n) ? \ macro
/linux-4.1.27/arch/xtensa/include/asm/
H A Ddelay.h65 #define ndelay(n) ndelay(n) macro
67 static inline void ndelay(unsigned long nsec) ndelay() function
/linux-4.1.27/drivers/rtc/
H A Drtc-rs5c313.c116 ndelay(700); rs5c313_write_data()
119 ndelay(700); rs5c313_write_data()
134 ndelay(700); rs5c313_read_data()
139 ndelay(700); rs5c313_read_data()
230 ndelay(700); /* CE:L */ rs5c313_rtc_read_time()
269 ndelay(700); /* CE:L */ rs5c313_rtc_read_time()
291 ndelay(700); /* CE:L */ rs5c313_rtc_set_time()
327 ndelay(700); rs5c313_rtc_set_time()
360 ndelay(700); /* CE:L */ rs5c313_check_xstp_bit()
H A Drtc-pcf2123.c84 ndelay(30); pcf2123_delay_trec()
/linux-4.1.27/arch/sparc/include/asm/
H A Ddelay_32.h32 #define ndelay(__nsecs) __ndelay(__nsecs, __udelay_val) macro
/linux-4.1.27/arch/mips/include/asm/
H A Ddelay.h20 #define ndelay(ns) __ndelay(ns) macro
/linux-4.1.27/include/asm-generic/
H A Ddelay.h32 #define ndelay(n) \ macro
/linux-4.1.27/arch/microblaze/include/asm/
H A Ddelay.h42 #define __MAX_NDELAY (4294967295UL/HZ) /* maximum ndelay argument */
76 #define ndelay(n) \ macro
/linux-4.1.27/drivers/hwmon/
H A Dsht15.c222 ndelay(SHT15_TSCKL); sht15_connection_reset()
224 ndelay(SHT15_TSCKL); sht15_connection_reset()
227 ndelay(SHT15_TSCKH); sht15_connection_reset()
229 ndelay(SHT15_TSCKL); sht15_connection_reset()
242 ndelay(SHT15_TSU); sht15_send_bit()
244 ndelay(SHT15_TSCKH); sht15_send_bit()
246 ndelay(SHT15_TSCKL); /* clock low time */ sht15_send_bit()
265 ndelay(SHT15_TSU); sht15_transmission_start()
267 ndelay(SHT15_TSCKL); sht15_transmission_start()
269 ndelay(SHT15_TSCKH); sht15_transmission_start()
271 ndelay(SHT15_TSU); sht15_transmission_start()
273 ndelay(SHT15_TSCKL); sht15_transmission_start()
275 ndelay(SHT15_TSCKH); sht15_transmission_start()
277 ndelay(SHT15_TSU); sht15_transmission_start()
279 ndelay(SHT15_TSCKL); sht15_transmission_start()
310 ndelay(SHT15_TSCKH); sht15_wait_for_response()
320 ndelay(SHT15_TSCKL); sht15_wait_for_response()
377 ndelay(SHT15_TSU); sht15_ack()
379 ndelay(SHT15_TSU); sht15_ack()
381 ndelay(SHT15_TSU); sht15_ack()
400 ndelay(SHT15_TSU); sht15_end_transmission()
402 ndelay(SHT15_TSCKH); sht15_end_transmission()
404 ndelay(SHT15_TSCKL); sht15_end_transmission()
420 ndelay(SHT15_TSCKH); sht15_read_byte()
423 ndelay(SHT15_TSCKL); sht15_read_byte()
445 ndelay(SHT15_TSU); sht15_send_status()
/linux-4.1.27/arch/tile/include/asm/
H A Ddelay.h30 #define ndelay(n) (__builtin_constant_p(n) ? \ macro
/linux-4.1.27/include/scsi/
H A Dscsi_ioctl.h44 int cmd, bool ndelay);
/linux-4.1.27/arch/c6x/include/asm/
H A Ddelay.h65 #define ndelay(x) _ndelay((unsigned int)(x)) macro
/linux-4.1.27/arch/frv/include/asm/
H A Ddelay.h48 #define ndelay(n) udelay((n) * 5) macro
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-ibm_iic.c264 ndelay(t->buf); iic_smbus_quick()
269 ndelay(t->hd_sta); iic_smbus_quick()
275 ndelay(t->low / 2); iic_smbus_quick()
278 ndelay(t->low / 2); iic_smbus_quick()
283 ndelay(t->high); iic_smbus_quick()
288 ndelay(t->low / 2); iic_smbus_quick()
290 ndelay(t->low / 2); iic_smbus_quick()
295 ndelay(t->high); iic_smbus_quick()
299 ndelay(t->low); iic_smbus_quick()
303 ndelay(t->su_sto); iic_smbus_quick()
306 ndelay(t->buf); iic_smbus_quick()
H A Di2c-pca-platform.c116 ndelay(100); i2c_pca_pf_resetchip()
H A Di2c-s3c2410.c290 ndelay(i2c->tx_setup); s3c24xx_i2c_message_start()
484 ndelay(i2c->tx_setup); i2c_s3c_irq_nextbyte()
/linux-4.1.27/drivers/net/phy/
H A Dmdio-bitbang.c52 ndelay(MDIO_DELAY); mdiobb_send_bit()
54 ndelay(MDIO_DELAY); mdiobb_send_bit()
63 ndelay(MDIO_DELAY); mdiobb_get_bit()
65 ndelay(MDIO_READ_DELAY); mdiobb_get_bit()
/linux-4.1.27/drivers/spi/
H A Dspi-sh-hspi.c171 ndelay(nsecs); hspi_transfer_one_message()
205 ndelay(nsecs); hspi_transfer_one_message()
207 ndelay(nsecs); hspi_transfer_one_message()
213 ndelay(nsecs); hspi_transfer_one_message()
H A Dspi-bitbang.c216 ndelay(cs->nsecs); spi_bitbang_setup()
316 ndelay(nsecs); spi_bitbang_transfer_one()
355 ndelay(nsecs); spi_bitbang_transfer_one()
357 ndelay(nsecs); spi_bitbang_transfer_one()
368 ndelay(nsecs); spi_bitbang_transfer_one()
370 ndelay(nsecs); spi_bitbang_transfer_one()
H A Dspi-fsl-spi.c389 ndelay(nsecs); fsl_spi_do_one_msg()
404 ndelay(nsecs); fsl_spi_do_one_msg()
406 ndelay(nsecs); fsl_spi_do_one_msg()
414 ndelay(nsecs); fsl_spi_do_one_msg()
H A Dspi-sh-sci.c78 #define spidelay(x) ndelay(x)
H A Dspi-txx9.c110 ndelay(cs_delay); /* CS Hold Time */ txx9spi_cs_func()
113 ndelay(cs_delay); /* CS Setup Time / CS Recovery Time */ txx9spi_cs_func()
H A Dspi-ppc4xx.c216 /* Need to ndelay here? */ spi_ppc4xx_setupxfer()
312 ndelay(10); spi_ppc4xx_int()
H A Dspi-ath79.c63 ndelay(nsecs - sp->rrw_delay); ath79_spi_delay()
H A Dspi-butterfly.c147 /* #define spidelay ndelay */
H A Dspi-s3c24xx.c204 /* need to ndelay for 0.5 clocktick ? */ s3c24xx_spi_setup()
/linux-4.1.27/arch/arm/mach-imx/
H A Dmach-imx27_visstrim_m10.c218 ndelay(500); visstrim_camera_reset()
251 ndelay(1); visstrim_analog_camera_init()
253 ndelay(500); visstrim_analog_camera_init()
255 ndelay(200000); visstrim_analog_camera_init()
588 ndelay(1); visstrim_m10_board_init()
H A Dgpc.c313 ndelay((iso + iso2sw) * 1000 / 66); _imx6q_pm_pu_power_off()
359 ndelay((sw + sw2iso) * 1000 / 66); imx6q_pm_pu_power_on()
/linux-4.1.27/arch/sh/boards/mach-se/7343/
H A Dsetup.c99 ndelay(delay); isp116x_delay()
/linux-4.1.27/drivers/iio/adc/
H A Dcc10001_adc.c85 ndelay(adc_dev->start_delay_ns); cc10001_adc_power_up()
119 ndelay(delay); cc10001_adc_poll_done()
128 ndelay(delay); cc10001_adc_poll_done()
/linux-4.1.27/arch/m68k/include/asm/
H A Ddelay.h117 #define ndelay(n) __delay(DIV_ROUND_UP((n) * ((((HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6), 1000)); macro
/linux-4.1.27/drivers/mtd/nand/
H A Dams-delta.c73 ndelay(40); ams_delta_write_byte()
84 ndelay(40); ams_delta_read_byte()
H A Dau1550nd.c366 ndelay(100); au1550_command()
377 ndelay(100); au1550_command()
H A Dfsl_upm.c76 ndelay(100); fun_wait_rnb()
H A Dnuc900_nand.c212 ndelay(100); nuc900_nand_command_lp()
H A Dcafe_nand.c275 ndelay(100); cafe_nand_cmdfunc()
H A Ddiskonchip.c760 ndelay(100); doc2001plus_command()
H A Dnand_base.c684 ndelay(100); nand_command()
796 ndelay(100); nand_command_lp()
905 ndelay(100); nand_wait()
/linux-4.1.27/drivers/misc/eeprom/
H A Deeprom_93cx6.c40 ndelay(450); eeprom_93cx6_pulse_high()
53 ndelay(450); eeprom_93cx6_pulse_low()
H A Deeprom_93xx46.c91 ndelay(250); eeprom_93xx46_bin_read()
137 ndelay(250); eeprom_93xx46_ew()
/linux-4.1.27/drivers/scsi/
H A Dscsi_ioctl.c277 bool ndelay) scsi_ioctl_block_when_processing_errors()
279 if (cmd == SG_SCSI_RESET && ndelay) { scsi_ioctl_block_when_processing_errors()
276 scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev, int cmd, bool ndelay) scsi_ioctl_block_when_processing_errors() argument
H A Dscsi_debug.c208 * responses are not queued when delay=0 and ndelay=0. The per-device
4090 module_param_named(ndelay, scsi_debug_ndelay, int, S_IRUGO | S_IWUSR);
4137 MODULE_PARM_DESC(ndelay, "response delay in nanoseconds (def=0 -> ignore)");
4207 "delay=%d, ndelay=%d, max_luns=%d, q_completions=%d\n" scsi_debug_show_info()
4267 /* Returns -EBUSY if ndelay is being changed and commands are queued */
4273 int ndelay, res, k; ndelay_store() local
4275 if ((count > 0) && (1 == sscanf(buf, "%d", &ndelay)) && ndelay_store()
4276 (ndelay >= 0) && (ndelay < 1000000000)) { ndelay_store()
4278 if (scsi_debug_ndelay != ndelay) { ndelay_store()
4285 scsi_debug_ndelay = ndelay; ndelay_store()
4286 scsi_debug_delay = ndelay ? DELAY_OVERRIDDEN ndelay_store()
4295 static DRIVER_ATTR_RW(ndelay);
4791 pr_warn("%s: ndelay must be less than 1 second, ignored\n", scsi_debug_init()
/linux-4.1.27/drivers/hwspinlock/
H A Domap_hwspinlock.c72 ndelay(50); omap_hwspinlock_relax()
H A Du8500_hsem.c85 ndelay(50); u8500_hsem_relax()
/linux-4.1.27/drivers/net/ethernet/
H A Ddnet.c39 ndelay(500); dnet_readw_mac()
59 ndelay(500); dnet_writew_mac()
475 ndelay(500); dnet_interrupt()
487 ndelay(500); dnet_interrupt()
/linux-4.1.27/drivers/char/hw_random/
H A Dtx4939-rng.c93 ndelay(90 * 5); tx4939_rng_data_present()
/linux-4.1.27/arch/mips/cavium-octeon/
H A Docteon-platform.c211 ndelay(io_clk_64_to_ns); octeon2_usb_clocks_start()
232 ndelay(10); octeon2_usb_clocks_start()
242 ndelay(20); octeon2_usb_clocks_start()
254 ndelay(io_clk_64_to_ns); octeon2_usb_clocks_start()
/linux-4.1.27/drivers/watchdog/
H A Dmena21_wdt.c89 ndelay(10); a21_wdt_ping()
H A Dcoh901327_wdt.c109 ndelay(delay_ns); coh901327_enable()
/linux-4.1.27/drivers/pwm/
H A Dpwm-bcm-kona.c179 ndelay(400); kona_pwmc_set_polarity()
216 ndelay(400); kona_pwmc_disable()
/linux-4.1.27/drivers/usb/c67x00/
H A Dc67x00-ll-hpi.c86 ndelay(HPI_T_CYC_NS); hpi_read_reg()
92 ndelay(HPI_T_CYC_NS); hpi_write_reg()
/linux-4.1.27/drivers/ide/
H A Dtx4939ide.c161 ndelay(270); tx4939ide_check_error_ints()
401 ndelay(450); tx4939ide_init_hwif()
H A Dide-eh.c356 ndelay(400); do_reset1()
H A Dide-iops.c499 ndelay(400); ide_execute_command()
H A Dide-taskfile.c126 ndelay(400); /* FIXME */ do_rw_taskfile()
/linux-4.1.27/drivers/cpufreq/
H A Ds3c2440-cpufreq.c191 ndelay(20); s3c2440_cpufreq_setdivs()
/linux-4.1.27/arch/mips/include/asm/lasat/
H A Dlasat.h224 * early stage of the boot process where ndelay is not calibrated.
/linux-4.1.27/arch/avr32/boards/hammerhead/
H A Dflash.c134 ndelay(delay - 150); isp116x_delay()
/linux-4.1.27/arch/arm/mach-qcom/
H A Dplatsmp.c138 ndelay(300); kpssv1_release_secondary()
/linux-4.1.27/drivers/memstick/host/
H A Djmb38x_ms.c653 ndelay(20); jmb38x_ms_reset()
668 ndelay(20); jmb38x_ms_reset()
/linux-4.1.27/drivers/video/fbdev/
H A Dnuc900fb.c368 ndelay(100); nuc900fb_init_registers()
371 ndelay(100); nuc900fb_init_registers()
/linux-4.1.27/drivers/mtd/nand/bcm47xxnflash/
H A Dops_bcm4706.c234 ndelay(100); bcm47xxnflash_ops_bcm4706_cmdfunc()
/linux-4.1.27/drivers/ata/
H A Dpata_pdc202xx_old.c43 ndelay(400); pdc202xx_exec_command()
H A Dsata_nv.c617 ndelay(50); nv_adma_register_mode()
631 ndelay(50); nv_adma_register_mode()
661 ndelay(50); nv_adma_mode()
H A Dlibata-sff.c173 ndelay(400); ata_sff_pause()
/linux-4.1.27/drivers/usb/gadget/udc/
H A Dr8a66597-udc.c295 ndelay(1); r8a66597_change_curpipe()
308 ndelay(450); pipe_change()
406 ndelay(450); pipe_initialize()
960 ndelay(1); irq_ep0_write()
H A Dm66592-udc.c219 ndelay(450); pipe_change()
316 ndelay(450); pipe_initialize()
763 ndelay(1); irq_ep0_write()
/linux-4.1.27/drivers/mfd/
H A Dcros_ec_spi.c242 ndelay(EC_SPI_RECOVERY_TIME_NS - delay); cros_ec_cmd_xfer_spi()
/linux-4.1.27/drivers/staging/iio/adc/
H A Dad7606_core.c31 ndelay(100); /* t_reset >= 100ns */ ad7606_reset()
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
H A Dmce.c879 ndelay(SPINUNIT); mce_start()
905 ndelay(SPINUNIT); mce_start()
948 ndelay(SPINUNIT); mce_end()
962 ndelay(SPINUNIT); mce_end()
/linux-4.1.27/drivers/usb/host/
H A Disp116x.h350 #define isp116x_delay(h,d) ndelay(d)
H A Disp1362.h616 #define isp1362_delay(h, d) ndelay(d)
H A Disp116x-hcd.c45 3. Use ndelay (easiest, poorest). For that, uncomment
H A Dr8a66597-hcd.c460 ndelay(1); r8a66597_reg_wait()
H A Disp1362-hcd.c23 * 3. Use ndelay (easiest, poorest).
/linux-4.1.27/drivers/w1/masters/
H A Dds2482.c476 ndelay(525); ds2482_probe()
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dmach-rx1950.c479 ndelay(48000); rx1950_bl_power()
/linux-4.1.27/sound/soc/samsung/
H A Ds3c-i2s-v2.c700 ndelay(250); s3c2412_i2s_resume()
/linux-4.1.27/drivers/mmc/host/
H A Domap.c181 ndelay(8 * tick_ns); mmc_omap_fclk_offdelay()
439 ndelay(8*tick_ns); mmc_omap_send_stop_work()
H A Dmmci.c272 ndelay(120); mmci_reg_delay()
/linux-4.1.27/drivers/net/ethernet/octeon/
H A Docteon_mgmt.c1111 ndelay(256 * NS_PER_PHY_CLK); octeon_mgmt_open()
1129 ndelay(1040 * NS_PER_PHY_CLK); octeon_mgmt_open()
/linux-4.1.27/drivers/mmc/core/
H A Dhost.c121 ndelay(host->clk_delay * tick_ns); mmc_host_clk_gate_delayed()
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c119 if (retry) ndelay(crtc->linedur_ns); nouveau_display_scanoutpos_head()
/linux-4.1.27/drivers/acpi/apei/
H A Deinj.c191 ndelay(SPIN_UNIT); einj_timedout()
H A Derst.c117 ndelay(spin_unit); erst_timedout()
/linux-4.1.27/arch/m68k/atari/
H A Dconfig.c671 ndelay(delay); isp1160_delay()
/linux-4.1.27/arch/arm/mach-pxa/
H A Dviper.c586 ndelay(delay); isp116x_delay()
/linux-4.1.27/sound/soc/codecs/
H A Dadau1977.c949 ndelay(100); adau1977_probe()
H A Dcs4270.c595 ndelay(500); cs4270_soc_resume()
H A Dtlv320aic32x4.c606 ndelay(10); aic32x4_probe()
/linux-4.1.27/drivers/usb/isp1760/
H A Disp1760-hcd.c236 ndelay(90); mem_reads8()
284 ndelay(90); ptd_read()
/linux-4.1.27/drivers/net/wireless/libertas/
H A Dif_spi.c140 ndelay(400); spu_transaction_init()
/linux-4.1.27/arch/sparc/kernel/
H A Dentry.S1148 * Note that ndelay gives HZ times higher resolution but has a 10ms
/linux-4.1.27/drivers/i2c/
H A Di2c-core.c551 * We are generating clock pulses. ndelay() determines durating of clk pulses.
585 ndelay(RECOVERY_NDELAY); i2c_generic_recovery()
/linux-4.1.27/drivers/net/ethernet/icplus/
H A Dipg.c178 ndelay(IPG_PC_PHYCTRLWAIT_NS); ipg_write_phy_ctl()
/linux-4.1.27/drivers/tty/
H A Dtty_io.c1091 static int tty_write_lock(struct tty_struct *tty, int ndelay) tty_write_lock() argument
1094 if (ndelay) tty_write_lock()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_isr.c2747 ndelay(3500); qla24xx_intr_handler()
/linux-4.1.27/drivers/crypto/
H A Dhifn_795x.c806 ndelay(nsec); hifn_rng_data_present()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_display.c8349 ndelay(100); hsw_disable_lcpll()

Completed in 2705 milliseconds