es58x_set_crc(9)
π es58x_set_crc(9) β like, the Kernel API Manual page, bestie π
okay so welcome to the glow-up of es58x_set_crc, straight out of the Kernel API Manual β¨ this one is short and sweet but it matters, so pay attention π«Ά
β¨ NAME β¨
es58x_set_crc β sets the CRC value of a given URB. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
void es58x_set_crc (union es58x_urb_cmd *urb_cmd , u16 urb_len );
like, you hand it a URB command and a length, and it goes and does the CRC thing. no return value, she just does it π
π¦ ARGUMENTS π¦
urb_cmdβ the URB command that we want to get the CRC for π hand over theunion es58x_urb_cmd *and she's ready.urb_lenβ the length ofurb_cmd. and ngl, this one has a rule: it must be at least bigger than 4 (ES58X_CRC_CALC_OFFSET + sizeof(crc)). like, do not come in here with a tiny length, bestie π the math has to math.
β οΈ fr fr though β urb_len being at least bigger than 4 is a requirement, not a suggestion. respect the offset + crc size or don't come to the function at all π
π SEE ALSO π
bestie she has SO many friends, this is a whole group chat π¬ the kernel file lives at ./drivers/net/can/usb/etas_es58x/es58x_core.c and here's the entire squad, no cap:
es58x_calculate_crc(9),es58x_get_crc(9),es58x_check_crc(9)es58x_timestamp_to_ns(9),es58x_set_skb_timestamp(9),es58x_rx_timestamp(9),es58x_set_realtime_diff_ns(9)es58x_is_can_state_active(9),es58x_is_echo_skb_threshold_reached(9)es58x_can_free_echo_skb_tail(9),es58x_can_get_echo_skb_recovery(9),es58x_can_get_echo_skb(9),es58x_can_reset_echo_fifo(9)es58x_flush_pending_tx_msg(9),es58x_tx_ack_msg(9),es58x_rx_can_msg(9),es58x_rx_err_msg(9)es58x_cmd_ret_desc(9),es58x_rx_cmd_ret_u8(9),es58x_rx_cmd_ret_u32(9),es58x_increment_rx_errors(9)es58x_handle_urb_cmd(9),es58x_check_rx_urb(9),es58x_copy_to_cmd_buf(9)es58x_split_urb_try_recovery(9),es58x_handle_incomplete_cmd(9),es58x_split_urb(9)es58x_read_bulk_callback(9),es58x_write_bulk_callback(9)es58x_alloc_urb(9),es58x_get_tx_urb(9),es58x_submit_urb(9),es58x_send_msg(9),es58x_alloc_rx_urbs(9),es58x_free_urbs(9)es58x_open(9),es58x_stop(9)es58x_xmit_commit(9),es58x_xmit_more(9),es58x_start_xmit(9)es58x_set_mode(9)es58x_init_priv(9),es58x_init_netdev(9),es58x_free_netdevs(9),es58x_init_es58x_dev(9)es58x_probe(9),es58x_disconnect(9)
like?? the range?? iconic behavior honestly π
and that's the whole page bestie, go set some CRCs responsibly π
π this masterpiece lives in ./drivers/net/can/usb/etas_es58x, dated October 2026, and yes it's giving main character energy β 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