xcan_suspend(9)
π€ xcan_suspend(9) β like, the suspend one
okay so bestie, we're in the Kernel API Manual (xcan_suspend(9) if you're being formal π
) and this page is short and sweet. Let's go β¨
πΈ NAME πΈ
xcan_suspend β the suspend method for the driver. that's it. that's the whole vibe. she puts things to sleep π΄
β¨ SYNOPSIS β¨
int xcan_suspend (struct device *dev );
yep, that's the whole signature. one argument, one int coming back at you π«Ά
π ARGUMENTS π
devβ the address of the device structure. like, the actual pointer to it, not a copy. she needs the address, okay? π
π¦ DESCRIPTION π¦
Put the driver into low power mode. that's the entire description and honestly? iconic. minimal. no notes π₯
she's a suspend method, so she does the low-power thing β that's her whole personality π
β RETURN β
0on success π- a failure value on error π
ngl the manpage doesn't get more specific than "failure value" on the error case, so don't come for me β that's literally all it says π
π SEE ALSO π
bestie, this list is long and I'm not about to skip a single one of them, so buckle up π§ β these are all in the kernel file ./drivers/net/can/xilinx_can.c and they're all (9) pages:
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_resume(9)xcan_runtime_suspend(9)xcan_runtime_resume(9)xcan_probe(9)xcan_remove(9)
like I said. long list. but we got through it together π also peep xcan_resume(9) right there β that's her other half, the wake-up queen π
okay that's the whole page, love u, go read the source π«Ά and for the record this beauty lives under ./drivers/net/can and it's dated October 2026 β so yes, she's from the future, main character energy fr fr ππ
β¨
π¦ 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