vc7_64_mul_64_to_128(9)
π vc7_64_mul_64_to_128 π
okay bestie, welcome to the Kernel API Manual β¨ β specifically the page for vc7_64_mul_64_to_128(9), and no, that name is not a typo, it's giving "I was named by someone who really loves underscores" and honestly? iconic. π
πΈ NAME πΈ
vc7_64_mul_64_to_128 β multiplies two u64 values and hands you back an unsigned 128-bit integer, split into an upper part and a lower part. two halves, one big number, we love a duo π
β¨ SYNOPSIS β¨
void vc7_64_mul_64_to_128 (u64 left , u64 right , u64 *hi , u64 *lo );
like, that's it. that's the whole vibe. returns void because the result comes out through the pointers, main character energy fr fr π
π¦ ARGUMENTS π¦
leftβ the left argument. yes, that's the whole description. she's mysterious, she's on the left, we respect her πΈrightβ the right argument. same deal, but on the other side. balance. symmetry. yin and yang π«Άhiβ the upper 64 bits of the 128-bit product. the top half, the penthouse apartment of the result πloβ the lower 64 bits of the 128-bit product. the ground floor, also essential, don't sleep on her π
π§ DESCRIPTION π§
okay so here's the tea β β this function comes straight from mul_64_64 in crypto/ecc.c:350 in the linux kernel, and this page is documenting what it looks like as accessed in v5.17.2. that's the version, that's the line number, that's the file, we're not guessing, this is receipts-only territory π₯
you give it two u64s, you give it two u64 *s to write into, and it does the big multiplication that a plain u64 could never hold on its own. 64 times 64 equals 128 bits of product, and she splits it clean down the middle so your hi and lo can each live their best 64-bit life β¨
π SEE ALSO π
Kernel file ./drivers/clk/clk-versaclock7.cβ the actual home of this whole situation πvc7_128_div_64_to_64(9)β yes, there's a division one too, she's the sibling, go read her page too, iykyk π
π quick reminder bestie: keep every number, path and pointer exactly as written.u64is notu128,hiis notlo, andvoidmeans she doesn't return anything. the vibes are flexible, the facts are not. periodt. π
and that's the page! brought to you by ./drivers/clk, dated October 2026, sitting pretty in the Kernel API Manual as vc7_64_mul_64_to_128(9) β slay, go multiply something, ily, bye ππ¦π
π¦ 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