xcan_write_reg_be(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xcan_write_reg_be(9) β€” like, the big endian register-writer ✨

okay so bestie, welcome to the xcan_write_reg_be(9) page from the Kernel API Manual πŸŽ€ this is the group chat where kernel functions get their lore explained, and today's main character is a tiny little void function that writes a value into a device register. big endian style. no cap πŸ’–


✨ NAME ✨

xcan_write_reg_be β€” Write a value to the device register big endian πŸ¦‹

like... that's literally her job description and she's slaying it.


🌸 SYNOPSIS 🌸

void xcan_write_reg_be (const struct xcan_priv *priv , enum xcan_reg reg
, u32 val );

it returns void btw β€” no return value, no drama, she just does the thing and ghosts πŸ’…


πŸ’– ARGUMENTS πŸ’–

three besties walk into a function:

  • priv β€” the Driver private data structure 🫢 like, the driver's little bag of secrets
  • reg β€” Register offset ⭐ where in the register map we're going
  • val β€” Value to write at the Register offset ✨ the actual payload, the moment, the icon

πŸ”₯ DESCRIPTION πŸ”₯

Write data to the paricular CAN register πŸ”₯

that's it. that's the whole vibe. you hand her priv, you tell her which reg (offset), and you give her a val, and she goes and writes that data into the paricular CAN register. yes bestie, "paricular" is spelled exactly like that in the source and we are respecting the original's choices πŸ™ˆ periodt.

no return value. no error checking mentioned. she is a humble little side-effect and we bow πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹

the whole extended friend group, linked from the Kernel file ./drivers/net/can/xilinx_can.c πŸ“ β€” go say hi:

like, that's the whole roster 😭 they're all in their (9) era and honestly? iconic.


ngl if you're looking for the little-endian version, don't panic β€” xcan_write_reg_le(9) is right there in the list above. opposites attract bestie πŸ’œ

that's the whole page!! hope this helped, mwah πŸŽ€

source line says ./drivers/net/can, it's dated October 2026, and the page answers to xcan_write_reg_be(9) β€” catch you in the next manpage, bestie πŸŒˆπŸ’–βœ¨

πŸ“¦ where this page comes from