STRUCT BCM_DEVICE_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct bcm_device_data(9) β€” the kernel API manual, but make it cute πŸŽ€

okay so bestie, this is the manual page for struct bcm_device_data(9) β€” yes, the man page itself is literally called struct bcm_device_data, and it's all about device specific data. that's the whole vibe. it's a little struct that holds the per-device quirks for the Bluetooth HCI BCM driver, and honestly? she's small but she's doing a LOT. πŸ’…


✨ NAME ✨

struct bcm_device_data β€” device specific data πŸ¦‹

like, literally just the device-specific bits. no cap. 🫢


🌸 SYNOPSIS 🌸

here's the whole struct, copied exactly because we do not mess with code in this house:

struct bcm_device_data {
    bool no_early_set_baudrate;
    bool drive_rts_on_open;
    bool no_uart_clock_set;
    u32 max_autobaud_speed;
    u32 max_speed;
 };

look at her. five members. iconic. πŸ‘‘


⭐ Members ⭐

okay so let's meet the cast, one member at a time πŸ’–

  • no_early_set_baudrate β€” this one means disallow set baudrate before driver setup. so like, no touching the baudrate early, bestie, the driver isn't ready yet. πŸ™ˆ
  • drive_rts_on_open β€” drive RTS signal on ->open when platform requires it. so on open, the RTS signal gets driven, but only when the platform requires it. platform said jump, we jump. πŸ’…
  • no_uart_clock_set β€” the UART clock set command for >3Mbps mode is unavailable. that command just isn't there for that mode, and this flag is how you know. 😭
  • max_autobaud_speed β€” the max baudrate supported by device in autobaud mode. the ceiling for autobaud. ⭐
  • max_speed β€” literally just the max baudrate supported. the max. the limit. periodt. πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/bluetooth/hci_bcm.c β€” go read the source, iykyk πŸ“–
  • struct bcm_device(9) β€” her sibling struct, also slaying 🌈

ngl, if you're poking at these flags without reading hci_bcm.c first, that's giving chaos main character energy. πŸ’€ read the source first, bestie. 🧚

and that's the page!! 🌸 this little gem lives in ./drivers/bluetooth and it's dated October 2026 β€” so mark your calendar, she's from the future βœ¨πŸ’œ

πŸ“¦ where this page comes from