TO_CYCLES(9)
π TO_CYCLES(9) β Kernel API Manual π
okay bestie, welcome to the TO_CYCLES page from the Kernel API Manual β it's literally about deriving a duration in numbers of clock cycles. no cap. π
β¨ NAME β¨
TO_CYCLES β derives a duration in numbers of clock cycles. π
πΈ SYNOPSIS πΈ
TO_CYCLES (ps , period_ns );
π¦ ARGUMENTS π¦
psβ duration in pico-seconds β±οΈperiod_nsβ clock period in nano-seconds π°οΈ
π DESCRIPTION π
So it converts the duration in nano-seconds, then divides by the period and returns the number of clock periods. That's the whole vibe, fr fr. β¨
π₯ SEE ALSO π₯
Kernel file ./drivers/mtd/nand/raw/marvell_nand.c, plus these iconic structs: struct marvell_hw_ecc_layout(9), struct marvell_nand_chip_sel(9), struct marvell_nand_chip(9), struct marvell_nfc_caps(9), struct marvell_nfc(9), struct marvell_nfc_timings(9), struct marvell_nfc_op(9). π
source/version: ./drivers/mtd/nand/raw Β· date: October 2026 Β· manual page: TO_CYCLES(9) β bye bestie, go slay those clock cycles π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms