ctucan_reset(9)
π ctucan_reset(9) β like, the CTU CAN FD reset button, bestie
okay so this is a page from the Kernel API Manual (yes, the kernel has lore too) and it's all about ctucan_reset. pull up a chair π
β¨ NAME β¨
ctucan_reset β issues a software reset request to CTU CAN FD π§
literally what it says on the tin. she sends the reset request. that's the whole gig.
πΈ SYNOPSIS πΈ
int ctucan_reset (struct net_device *ndev );
one function, one pointer, one vibe. π
π¦ ARGUMENTS π¦
ndevβ pointer to thenet_devicestructure π that's it. that's the whole argument list. she's low-maintenance like that.
β RETURN β
0β success, we ate, everything's slay β¨-ETIMEDOUTβ returned if the CAN controller does not leave reset ππ like, she's stuck in reset mode and won't come out, and that is a whole problem, no cap.
π₯ SEE ALSO π₯
okay this is the part where the page goes absolutely feral with cross-references, so buckle up bestie, we're listing every single one π«Ά
the kernel file itself:
./drivers/net/can/ctucanfd/ctucanfd_base.c
and the whole friend group:
ctucan_state_to_str(9)ctucan_set_btr(9)ctucan_set_bittiming(9)ctucan_set_data_bittiming(9)ctucan_set_secondary_sample_point(9)ctucan_set_mode(9)ctucan_chip_start(9)ctucan_do_set_mode(9)ctucan_get_tx_status(9)ctucan_is_txt_buf_writable(9)ctucan_insert_frame(9)ctucan_give_txtb_cmd(9)ctucan_start_xmit(9)ctucan_read_rx_frame(9)ctucan_rx(9)ctucan_read_fault_state(9)ctucan_get_rec_tec(9)ctucan_err_interrupt(9)ctucan_rx_poll(9)ctucan_rotate_txb_prio(9)ctucan_tx_interrupt(9)ctucan_interrupt(9)ctucan_chip_stop(9)ctucan_open(9)ctucan_close(9)ctucan_get_berr_counter(9)
like, twenty-six siblings. main character energy runs in the family fr fr π
ngl if you're reading this page you probably got here from one of those, so go say hi back π
okay that's the whole page, mwah π β this iconic little number lives in ./drivers/net/can/ctucanfd and it's dated October 2026, so mark your calendars bestie, and remember: ctucan_reset(9) forever ππ
π¦ 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