xcan_close(9)
π xcan_close(9) π
okay so bestie, welcome to the Kernel API Manual entry for xcan_close β yes, that's the manual name, it's giving very "page so iconic they named it after itself" energy. β¨ Pull up a chair, grab a strawberry π, and let's get into it.
πΈ NAME πΈ
xcan_close β the driver's close routine π«Ά literally the "bye babe, shutting the door behind you" function.
π¦ SYNOPSIS π¦
int xcan_close (struct net_device *ndev );
one line, one function, one lil int coming back atcha. π
π ARGUMENTS π
ndevβ a pointer to thenet_devicestructure. that's it, that's the whole argument list. she's lowkey low maintenance. π
β RETURN β
returns 0 β always. no cap, no drama, no weird error paths. it's giving "chillest return value in the kernel" fr fr. π
π₯ SEE ALSO π₯
okay this list is long and honestly kind of iconic β the whole xcan fam shows up:
the kernel file ./drivers/net/can/xilinx_can.c and struct xcan_priv(9), plus:
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_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β¦ the whole friend group. this is the group chat roster of CAN driver functions and I'm obsessed. ππ
ngl bestie,xcan_open(9)andxcan_close(9)are literally the matching set β one opens the door, one closes it. main character duo behavior. πͺβ¨
and that's the page!! mwah π β brought to you from ./drivers/net/can, dated October 2026. slay, bye, see you in the next manpage π§ββοΈπ·
π¦ 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