xcan_probe(9)
π xcan_probe β like, the whole xcan_probe(9) situation π
okay so bestie, welcome to the Kernel API Manual entry for xcan_probe π this is that Linux kernel function energy, and we're gonna get you so caught up. no cap.
β¨ NAME β¨
xcan_probe β the platform registration call. that's it, that's the vibe check π
πΈ SYNOPSIS πΈ
int xcan_probe (struct platform_device *pdev );
literally just that one line, iconic π«Ά
π¦ ARGUMENTS π¦
pdevβ the handle to the platform device structure. like, the little reference to the device you're working with, bestie. hold onto it π
β DESCRIPTION β
okay so here's the moment. this function does all the memory allocation and registration for the CAN device π₯ like, all of it. that's the whole job. memory? allocated. registration? done. the CAN device gets its whole setup arc and honestly? main character energy π
π RETURN π
0on success β slay, we love a clean0π- a failure value on error β not slay, but that's the deal π
π SEE ALSO π
the friend group π (and like, the kernel file ./drivers/net/can/xilinx_can.c, obviously):
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_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_remove(9)
like, that's the entire group chat. go read them, iykyk πβ¨
okay that's the page!! and for the lil sign-off credits moment π¬ β this one lives under ./drivers/net/can, it's dated October 2026, and it's filed as xcan_probe(9). periodt π
π
π¦ 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