at91_mailbox_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ at91_mailbox_read(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” we're looking at at91_mailbox_read, and it's giving "tiny CAN mailbox helper with main character energy" ✨. No cap, this page is short, but every detail stays.

πŸ’– NAME πŸ’–

at91_mailbox_read β€” read CAN msg from mailbox. That's the whole vibe: one function, one job 🫢.

✨ SYNOPSIS ✨

struct sk_buff * at91_mailbox_read (struct can_rx_offload *offload , unsigned int mb , u32 *timestamp , bool drop );

πŸŽ€ ARGUMENTS πŸŽ€

  • offload β€” rx-offload. The rx-offload situation, periodt.
  • mb β€” mailbox number to read from. Which mailbox are we reading? This number, bestie.
  • timestamp β€” pointer to 32 bit timestamp. Point it at a 32-bit timestamp πŸ•°οΈ.
  • drop β€” when it's true, it indicates the mailbox should be marked as read and the frame dropped πŸ’€. Yep, drop it like it's hot.

πŸ¦‹ DESCRIPTION πŸ¦‹

Reads a CAN message from the given mailbox if not empty. That's it. That's the lore. If the mailbox isn't empty, it reads the CAN message from it πŸ’Œ.

bestie note: the if not empty condition is doing the heavy lifting here β€” periodt πŸ’….

🌸 SEE ALSO 🌸

  • Kernel file ./drivers/net/can/at91_can.c β€” go read the source, it's right there πŸ‘€.
  • at91_rx_overflow_err(9) β€” another manual page to hit up next.

that's the page, bestie! signed off from source/version ./drivers/net/can, dated October 2026, with all the Kernel API Manual energy we deserve βœ¨πŸ’…πŸ’–

πŸ“¦ where this page comes from