fwcaps32_to_caps16(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is the Kernel API Manual page for fwcaps32_to_caps16(9) β€” it's literally here to convert 32-bit Port Capabilities to 16-bits ✨


πŸŽ€ SYNOPSIS πŸŽ€

fw_port_cap16_t fwcaps32_to_caps16 (fw_port_cap32_t caps32 );

You hand it a fw_port_cap32_t caps32, and it gives you back a fw_port_cap16_t. Cute little type glow-up πŸ’…


🌸 ARGUMENTS 🌸

  • caps32 β€” a 32-bit Port Capabilities value. That's the whole input, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

It returns the equivalent 16-bit Port Capabilities value.

Lowkey important though: not all 32-bit Port Capabilities can be represented in the 16-bit Port Capabilities, and some fields/values may not make it. So yeah β€” not everything survives the downsize, no cap πŸ˜­πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/scsi/csiostor/csio_hw.c:


that's the page, bestie πŸŽ€ source/version vibe: ./drivers/scsi/csiostor β€’ dated October 2026 β€’ manual: fwcaps32_to_caps16(9) πŸ’–βœ¨

πŸ“¦ where this page comes from