xcan_read_reg_le(9)
β¨ xcan_read_reg_le(9) β¨
okay so bestie, welcome to the Kernel API Manual (section 9, we're fancy here π
). This little cutie is xcan_read_reg_le β yes, that's the whole vibe, she reads a register and she reads it little endian. Let's get into it π
πΈ NAME πΈ
xcan_read_reg_le β read a value from the device register, little endian style π
π¦ SYNOPSIS π¦
u32 xcan_read_reg_le (const struct xcan_priv *priv , enum xcan_reg reg
);
that's it, that's the whole call. u32 in, u32 out, slay β¨
π ARGUMENTS π
privβ the driver private data structure, aka the main character's personal info bag πregβ the register offset, i.e. which register we're peeking at π
π DESCRIPTION π
She reads data from that particular CAN register. That's the whole job, and honestly? She does it flawlessly. no cap π₯
π RETURN π
returns the value that got read from the CAN register π«
π SEE ALSO π
literally the whole friend group, go say hi π«Ά β all of these live in the kernel file ./drivers/net/can/xilinx_can.c:
struct xcan_priv(9)xcan_write_reg_le(9)xcan_write_reg_be(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)
ngl, if you're here at 3am debugging a CAN driver, you're doing amazing and I'm proud of you π
okay bye bestie, mwah π β this page came out of ./drivers/net/can, dated October 2026, and it's the xcan_read_reg_le(9) moment of the century. go read some registers β¨π§
π¦ 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