Home
last modified time | relevance | path

Searched refs:ndelay (Results 1 – 102 of 102) sorted by relevance

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