Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_tc_edt.c31 uint64_t delay_ns = ((uint64_t)skb->len) * NS_PER_SEC / in throttle_flow() local
37 next_tstamp = *last_tstamp + delay_ns; in throttle_flow()
/kernel/linux/linux-5.10/include/linux/mtd/
Drawnand.h722 unsigned int delay_ns; member
750 .delay_ns = ns, \
760 .delay_ns = ns, \
771 .delay_ns = ns, \
782 .delay_ns = ns, \
793 .delay_ns = ns, \
804 .delay_ns = ns, \
811 .delay_ns = ns, \
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c1704 nfc_op->cle_ale_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
1725 nfc_op->cle_ale_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
1739 nfc_op->data_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
1753 nfc_op->data_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
1758 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.c908 delay_idle = DIV_ROUND_UP(PSEC_TO_NSEC(instr->delay_ns), in meson_nfc_exec_op()
946 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dlapic.c1563 u64 delay_ns = guest_cycles * 1000000ULL; in __wait_lapic_expire() local
1564 do_div(delay_ns, vcpu->arch.virtual_tsc_khz); in __wait_lapic_expire()
1565 ndelay(min_t(u32, delay_ns, timer_advance_ns)); in __wait_lapic_expire()