/linux-6.3-rc2/drivers/iio/adc/ |
A 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()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | test_tc_edt.c | 31 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 D | rawnand.h | 750 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 D | dsi_phy.h | 18 #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 D | time-internal.h | 51 unsigned long long delay_ns);
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-aspeed-smc.c | 1061 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 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()
|
/linux-6.3-rc2/net/rxrpc/ |
A D | io_thread.c | 536 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 D | au1550nd.c | 204 if (instr->delay_ns) in au1550nd_exec_instr() 205 ndelay(instr->delay_ns); in au1550nd_exec_instr()
|
A D | fsl_upm.c | 151 if (op->instrs[i].delay_ns) in fun_exec_op() 152 ndelay(op->instrs[i].delay_ns); in fun_exec_op()
|
A D | cs553x_nand.c | 186 if (instr->delay_ns) in cs553x_exec_instr() 187 ndelay(instr->delay_ns); in cs553x_exec_instr()
|
A 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()
|
A D | davinci_nand.c | 675 if (instr->delay_ns) in davinci_nand_exec_instr() 676 ndelay(instr->delay_ns); in davinci_nand_exec_instr()
|
A 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()
|
A D | marvell_nand.c | 1718 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 D | fsmc_nand.c | 685 if (instr->delay_ns) in fsmc_exec_op() 686 ndelay(instr->delay_ns); in fsmc_exec_op()
|
A D | meson_nand.c | 912 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 D | cadence-nand-controller.c | 2053 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 D | omap2.c | 2146 if (instr->delay_ns) in omap_nand_exec_instr() 2147 ndelay(instr->delay_ns); in omap_nand_exec_instr()
|
A D | pl35x-nand-controller.c | 705 rdy_del_ns = instr->delay_ns; in pl35x_nand_exec_op()
|
A D | nand_base.c | 2055 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 D | time.c | 317 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 D | ingenic_nand_drv.c | 332 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 D | ptp_idt82p33.c | 487 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 D | lapic.c | 1766 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()
|