Home
last modified time | relevance | path

Searched refs:delay_ns (Results 1 – 16 of 16) sorted by relevance

/drivers/watchdog/
Dcoh901327_wdt.c87 unsigned long delay_ns; in coh901327_enable() local
102 delay_ns = DIV_ROUND_UP(1000000000, freq); /* Freq to ns and round up */ in coh901327_enable()
103 delay_ns = 3 * delay_ns; /* Wait 3 cycles */ in coh901327_enable()
104 ndelay(delay_ns); in coh901327_enable()
/drivers/iio/adc/
Dcc10001_adc.c140 unsigned int delay_ns; in cc10001_adc_trigger_h() local
157 delay_ns = adc_dev->eoc_delay_ns / CC10001_MAX_POLL_COUNT; in cc10001_adc_trigger_h()
167 data[i] = cc10001_adc_poll_done(indio_dev, channel, delay_ns); in cc10001_adc_trigger_h()
195 unsigned int delay_ns; in cc10001_adc_read_raw_voltage() local
202 delay_ns = adc_dev->eoc_delay_ns / CC10001_MAX_POLL_COUNT; in cc10001_adc_read_raw_voltage()
206 val = cc10001_adc_poll_done(indio_dev, chan->channel, delay_ns); in cc10001_adc_read_raw_voltage()
/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll.h58 static inline void pll_write_ndelay(void __iomem *reg, u32 data, u32 delay_ns) in pll_write_ndelay() argument
61 ndelay(delay_ns); in pll_write_ndelay()
/drivers/mtd/nand/raw/
Dfsl_upm.c152 if (op->instrs[i].delay_ns) in fun_exec_op()
153 ndelay(op->instrs[i].delay_ns); in fun_exec_op()
Dau1550nd.c203 if (instr->delay_ns) in au1550nd_exec_instr()
204 ndelay(instr->delay_ns); in au1550nd_exec_instr()
Dcs553x_nand.c192 if (instr->delay_ns) in cs553x_exec_instr()
193 ndelay(instr->delay_ns); in cs553x_exec_instr()
Dgpio.c155 if (op->instrs[i].delay_ns) in gpio_nand_exec_op()
156 ndelay(op->instrs[i].delay_ns); in gpio_nand_exec_op()
Ddiskonchip.c559 if (instr->delay_ns) in doc200x_exec_instr()
560 ndelay(instr->delay_ns); in doc200x_exec_instr()
634 if (instr->delay_ns) in doc2001plus_exec_instr()
635 ndelay(instr->delay_ns); in doc2001plus_exec_instr()
Ddavinci_nand.c742 if (instr->delay_ns) in davinci_nand_exec_instr()
743 ndelay(instr->delay_ns); in davinci_nand_exec_instr()
Dmarvell_nand.c1725 nfc_op->cle_ale_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
1746 nfc_op->cle_ale_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
1760 nfc_op->data_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
1774 nfc_op->data_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
1779 nfc_op->rdy_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
Dfsmc_nand.c674 if (instr->delay_ns) in fsmc_exec_op()
675 ndelay(instr->delay_ns); in fsmc_exec_op()
Dmeson_nand.c918 delay_idle = DIV_ROUND_UP(PSEC_TO_NSEC(instr->delay_ns), in meson_nfc_exec_op()
956 if (instr->delay_ns) in meson_nfc_exec_op()
Dcadence-nand-controller.c2010 if (instr->delay_ns > 0) in cadence_nand_cmd_opcode()
2044 if (instr->delay_ns > 0) in cadence_nand_cmd_address()
2125 if (instr->delay_ns > 0) in cadence_nand_cmd_data()
Dnand_base.c1802 unsigned int delay_ns) in nand_wait_rdy_op() argument
1807 PSEC_TO_NSEC(delay_ns)), in nand_wait_rdy_op()
/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c328 if (op->instrs[i].delay_ns) in ingenic_nand_exec_op()
329 ndelay(op->instrs[i].delay_ns); in ingenic_nand_exec_op()
/drivers/spi/
Dspi-fsl-dspi.c638 static void ns_delay_scale(char *psc, char *sc, int delay_ns, in ns_delay_scale() argument
646 scale_needed = div_u64_rem((u64)delay_ns * clkrate, NSEC_PER_SEC, in ns_delay_scale()
666 delay_ns, clkrate); in ns_delay_scale()