Home
last modified time | relevance | path

Searched refs:to_ns (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/drivers/w1/masters/
H A Dw1-uart.c93 static inline unsigned int to_ns(unsigned int us) in to_ns() function
121 bits_low = to_ns(limits->bit_min_us) / bit_ns; in w1_uart_set_config()
125 if (low_ns < to_ns(limits->bit_min_us)) in w1_uart_set_config()
128 if (low_ns > to_ns(limits->bit_max_us)) in w1_uart_set_config()
133 bit_ns * BITS_PER_BYTE < low_ns + to_ns(limits->sample_us)) in w1_uart_set_config()
139 if (to_ns(limits->cycle_us) > packet_ns) in w1_uart_set_config()
141 (to_ns(limits->cycle_us) - packet_ns) / NSEC_PER_USEC; in w1_uart_set_config()
/linux-6.15/rust/kernel/
H A Dtime.rs54 self.to_ns() / DIV in divns_constant()
59 pub fn to_ns(self) -> i64 { in to_ns() method
/linux-6.15/drivers/mtd/nand/raw/
H A Ds3c2410.c270 #define to_ns(ticks, clk) (((ticks) * NS_IN_KHZ) / (unsigned int)(clk)) macro
313 tacls, to_ns(tacls, clkrate), twrph0, to_ns(twrph0, clkrate), in s3c2410_nand_setrate()
314 twrph1, to_ns(twrph1, clkrate)); in s3c2410_nand_setrate()
/linux-6.15/rust/kernel/time/
H A Dhrtimer.rs374 expires.to_ns(), in start()
/linux-6.15/drivers/pcmcia/
H A Dyenta_socket.c62 #define to_ns(cycles) ((cycles)*120) macro