xcan_chip_start(9)
π
xcan_chip_start β a Kernel API Manual moment (that's the xcan_chip_start(9) manual, bestie)
okay so picture this: it's giving "driver wake-up era" and this little function is the whole main character. β¨
πΈ NAME
xcan_chip_start β literally the driver's start routine, no cap.
π SYNOPSIS
int xcan_chip_start (struct net_device *ndev );
π¦ ARGUMENTS
ndevβ a pointer to thenet_devicestructure π that's it, that's the whole input, she's low maintenance.
β¨ DESCRIPTION
So this is the driver's start routine, fr fr. What she does is look at the State of the CAN device and then put the CAN device into a proper mode based on that. That's the vibe check β state goes in, correct mode comes out, slay. π
π₯ RETURN
0 on success π and a failure value on error π (yes, it returns a failure value, that's the whole tea, don't come for her).
π SEE ALSO
the way this list just keeps going, i'm obsessed π«Ά β go read all of these:
- Kernel file
./drivers/net/can/xilinx_can.c(yes, the whole file, she's iconic) struct xcan_priv(9)xcan_write_reg_le(9)xcan_read_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_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)
bestie reminder π§: these are all section (9) kernel entries, so read them like you mean it π
and that's the page!! π mwah π β this little bundle of joy lives in ./drivers/net/can, dated October 2026, and the manual title is xcan_chip_start(9) in case you forgot already (iykyk). bye bestie, go start some chips πβ
π¦ 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