Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iio/adc/
A 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()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A 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()
/linux-6.3-rc2/include/linux/mtd/
A Drawnand.h750 unsigned int delay_ns; member
778 .delay_ns = ns, \
788 .delay_ns = ns, \
799 .delay_ns = ns, \
810 .delay_ns = ns, \
821 .delay_ns = ns, \
832 .delay_ns = ns, \
839 .delay_ns = ns, \
/linux-6.3-rc2/drivers/gpu/drm/msm/dsi/phy/
A Ddsi_phy.h18 #define dsi_phy_write_ndelay(offset, data, delay_ns) { msm_writel((data), (offset)); ndelay(delay_n… argument
/linux-6.3-rc2/arch/um/include/linux/
A Dtime-internal.h51 unsigned long long delay_ns);
/linux-6.3-rc2/drivers/spi/
A Dspi-aspeed-smc.c1061 int delay_ns; in aspeed_spi_ast2600_calibrate() local
1080 for (delay_ns = 0; delay_ns < 0x10; delay_ns++) { in aspeed_spi_ast2600_calibrate()
1082 fread_timing_val |= delay_ns << (4 + shift); in aspeed_spi_ast2600_calibrate()
1088 fread_timing_val, hcycle, (delay_ns + 1) / 2, in aspeed_spi_ast2600_calibrate()
1089 (delay_ns + 1) & 1 ? 5 : 5, pass ? "PASS" : "FAIL"); in aspeed_spi_ast2600_calibrate()
A 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()
/linux-6.3-rc2/net/rxrpc/
A Dio_thread.c536 s64 delay_ns = ktime_to_ns(ktime_sub(tstamp, now)); in rxrpc_io_thread() local
538 if (delay_ns <= 0) { in rxrpc_io_thread()
543 timeout = nsecs_to_jiffies(delay_ns); in rxrpc_io_thread()
/linux-6.3-rc2/drivers/mtd/nand/raw/
A Dau1550nd.c204 if (instr->delay_ns) in au1550nd_exec_instr()
205 ndelay(instr->delay_ns); in au1550nd_exec_instr()
A Dfsl_upm.c151 if (op->instrs[i].delay_ns) in fun_exec_op()
152 ndelay(op->instrs[i].delay_ns); in fun_exec_op()
A Dcs553x_nand.c186 if (instr->delay_ns) in cs553x_exec_instr()
187 ndelay(instr->delay_ns); in cs553x_exec_instr()
A 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()
A Ddavinci_nand.c675 if (instr->delay_ns) in davinci_nand_exec_instr()
676 ndelay(instr->delay_ns); in davinci_nand_exec_instr()
A 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()
A Dmarvell_nand.c1718 nfc_op->cle_ale_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
1739 nfc_op->cle_ale_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
1753 nfc_op->data_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
1767 nfc_op->data_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
1772 nfc_op->rdy_delay_ns = instr->delay_ns; in marvell_nfc_parse_instructions()
A Dfsmc_nand.c685 if (instr->delay_ns) in fsmc_exec_op()
686 ndelay(instr->delay_ns); in fsmc_exec_op()
A Dmeson_nand.c912 delay_idle = DIV_ROUND_UP(PSEC_TO_NSEC(instr->delay_ns), in meson_nfc_exec_op()
950 if (instr->delay_ns) in meson_nfc_exec_op()
A Dcadence-nand-controller.c2053 if (instr->delay_ns > 0) in cadence_nand_cmd_opcode()
2087 if (instr->delay_ns > 0) in cadence_nand_cmd_address()
2168 if (instr->delay_ns > 0) in cadence_nand_cmd_data()
A Domap2.c2146 if (instr->delay_ns) in omap_nand_exec_instr()
2147 ndelay(instr->delay_ns); in omap_nand_exec_instr()
A Dpl35x-nand-controller.c705 rdy_del_ns = instr->delay_ns; in pl35x_nand_exec_op()
A Dnand_base.c2055 unsigned int delay_ns) in nand_wait_rdy_op() argument
2060 PSEC_TO_NSEC(delay_ns)), in nand_wait_rdy_op()
/linux-6.3-rc2/arch/um/kernel/
A Dtime.c317 unsigned long long delay_ns) in time_travel_add_event_rel() argument
319 time_travel_add_event(e, time_travel_time + delay_ns); in time_travel_add_event_rel()
/linux-6.3-rc2/drivers/mtd/nand/raw/ingenic/
A Dingenic_nand_drv.c332 if (op->instrs[i].delay_ns) in ingenic_nand_exec_op()
333 ndelay(op->instrs[i].delay_ns); in ingenic_nand_exec_op()
/linux-6.3-rc2/drivers/ptp/
A Dptp_idt82p33.c487 const u8 delay_ns = 32; in _idt82p33_adjtime_internal_triggered() local
500 ns = (ts.tv_sec + 2) * NSEC_PER_SEC + delta_ns + delay_ns; in _idt82p33_adjtime_internal_triggered()
502 ns = (ts.tv_sec + 1) * NSEC_PER_SEC + delta_ns + delay_ns; in _idt82p33_adjtime_internal_triggered()
/linux-6.3-rc2/arch/x86/kvm/
A Dlapic.c1766 u64 delay_ns = guest_cycles * 1000000ULL; in __wait_lapic_expire() local
1767 do_div(delay_ns, vcpu->arch.virtual_tsc_khz); in __wait_lapic_expire()
1768 ndelay(min_t(u32, delay_ns, timer_advance_ns)); in __wait_lapic_expire()

Completed in 90 milliseconds