Searched refs:delay_ns (Results 1 – 16 of 16) sorted by relevance
/drivers/watchdog/ |
D | coh901327_wdt.c | 87 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/ |
D | cc10001_adc.c | 140 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/ |
D | dsi_pll.h | 58 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/ |
D | fsl_upm.c | 152 if (op->instrs[i].delay_ns) in fun_exec_op() 153 ndelay(op->instrs[i].delay_ns); in fun_exec_op()
|
D | au1550nd.c | 203 if (instr->delay_ns) in au1550nd_exec_instr() 204 ndelay(instr->delay_ns); in au1550nd_exec_instr()
|
D | cs553x_nand.c | 192 if (instr->delay_ns) in cs553x_exec_instr() 193 ndelay(instr->delay_ns); in cs553x_exec_instr()
|
D | gpio.c | 155 if (op->instrs[i].delay_ns) in gpio_nand_exec_op() 156 ndelay(op->instrs[i].delay_ns); in gpio_nand_exec_op()
|
D | diskonchip.c | 559 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()
|
D | davinci_nand.c | 742 if (instr->delay_ns) in davinci_nand_exec_instr() 743 ndelay(instr->delay_ns); in davinci_nand_exec_instr()
|
D | marvell_nand.c | 1725 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()
|
D | fsmc_nand.c | 674 if (instr->delay_ns) in fsmc_exec_op() 675 ndelay(instr->delay_ns); in fsmc_exec_op()
|
D | meson_nand.c | 918 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()
|
D | cadence-nand-controller.c | 2010 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()
|
D | nand_base.c | 1802 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/ |
D | ingenic_nand_drv.c | 328 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/ |
D | spi-fsl-dspi.c | 638 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()
|