xcan_chip_stop(9)
π
xcan_chip_stop (9) β from your Kernel API Manual bestie π
okay so picture this: it's a kernel API manual page, it's section 9, and it's about one (1) very specific little function. it's giving "small but crucial" energy and honestly? we're obsessed. β¨
πΈ NAME πΈ
xcan_chip_stop β literally the driver's stop routine. that's it, that's the whole job, and she does it well π
β¨ SYNOPSIS β¨
void xcan_chip_stop (struct net_device *ndev );
like, no return value, no drama, just vibes and a void. periodt. π
π«Ά ARGUMENTS π«Ά
ndevβ a pointer to thenet_devicestructure. yes bestie, she needs the net device, don't come to her empty-handed π
π₯ DESCRIPTION π₯
so this is the driver's stop routine. what does she do? two things, and both of them matter:
- she disables the interrupts π (no more surprise knocking at the door, thank u)
- she puts the device into configuration mode βοΈβ¨
that's the whole glow-up. interrupts off, config mode on. main character behavior only π
ngl it's a short description but that's because the function is short β don't read into it, she just knows exactly what she's about π
π SEE ALSO π
the whole friend group π β and yes, we're listing every single one, because nobody gets left on read:
- Kernel file
./drivers/net/can/xilinx_can.c - 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_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)
and that's the whole page, bestie π§ no notes, she ate π
before you go β this one lives over in ./drivers/net/can π and the date on it is October 2026 β so yeah, she's from the future and she's still iconic. mwah ππ¦
π¦ 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