xcan_write_reg_be(9)
π 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 secretsregβ Register offset β where in the register map we're goingvalβ 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:
struct xcan_priv(9)xcan_write_reg_le(9)xcan_read_reg_le(9)xcan_read_reg_be(9)xcan_rx_int_mask(9)set_reset_mode(9)xcan_set_bittiming(9)xcan_chip_start(9)xcan_do_set_mode(9)xcan_write_frame(9)xcan_start_xmit_fifo(9)xcan_start_xmit_mailbox(9)xcan_start_xmit(9)xcan_rx(9)xcanfd_rx(9)xcan_current_error_state(9)xcan_set_error_state(9)xcan_update_error_state_after_rxtx(9)xcan_err_interrupt(9)xcan_state_interrupt(9)xcan_rx_fifo_get_next_frame(9)xcan_rx_poll(9)xcan_tx_interrupt(9)xcan_interrupt(9)xcan_chip_stop(9)xcan_open(9)xcan_close(9)xcan_get_berr_counter(9)xcan_get_auto_tdcv(9)xcan_suspend(9)xcan_resume(9)xcan_runtime_suspend(9)xcan_runtime_resume(9)xcan_probe(9)xcan_remove(9)
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
- 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