Searched refs:to_ns (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/drivers/w1/masters/ |
| H A D | w1-uart.c | 93 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 D | time.rs | 54 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 D | s3c2410.c | 270 #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 D | hrtimer.rs | 374 expires.to_ns(), in start()
|
| /linux-6.15/drivers/pcmcia/ |
| H A D | yenta_socket.c | 62 #define to_ns(cycles) ((cycles)*120) macro
|