drm_scdc_readb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, this is the drm_scdc_readb(9) page from the Kernel API Manual ✨ β€” and it's literally about reading a single byte from SCDC. Slay.


✨ SYNOPSIS ✨

int drm_scdc_readb (struct i2c_adapter *adapter , u8 offset , u8 *value
);

πŸŽ€ ARGUMENTS πŸŽ€

  • adapter β€” I2C adapter πŸ’…
  • offset β€” offset of register to read 🎯
  • value β€” return location for the register value 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Reads a single byte from SCDC. This is a convenience wrapper around the drm_scdc_read function. That's the whole vibe β€” one byte, wrapped up cute, no cap πŸ’œ


🌸 RETURN 🌸

0 on success or a negative error code on failure. Periodt. πŸ’€


πŸ‘€ SEE ALSO πŸ‘€


🫢 xoxo, your Unix bestie β€” source: ./include/drm/display, October 2026, page drm_scdc_readb(9). πŸ’…βœ¨

πŸ“¦ where this page comes from