UNION LBC_INVAL_STATUS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, this is union lbc_inval_status β€” the LBC Invalidation status register β€” from the Kernel API Manual. The page name is literally union lbc_inval_status(9), and it's giving very "hardware register but make it a union" energy. πŸ’–


✨ SYNOPSIS ✨

Here's the whole definition, copied exactly so you can trust it, no cap:

       union lbc_inval_status {
           u64 value;
           struct {
         #if (defined(__BIG_ENDIAN_BITFIELD));
             u64 raz3 : 23;
             u64 cam_clean_entry_complete_cnt : 9;
             u64 raz2 : 7;
             u64 cam_clean_entry_cnt : 9;
             u64 raz1 : 5;
             u64 cam_inval_state : 3;
             u64 raz0 : 5;
             u64 cam_inval_abort : 1;
             u64 cam_rst_rdy : 1;
             u64 done : 1;
         #else;
             u64 done : 1;
             u64 cam_rst_rdy : 1;
             u64 cam_inval_abort : 1;
             u64 raz0 : 5;
             u64 cam_inval_state : 3;
             u64 raz1 : 5;
             u64 cam_clean_entry_cnt : 9;
             u64 raz2 : 7;
             u64 cam_clean_entry_complete_cnt : 9;
             u64 raz3 : 23;
         #endif;
           } s;
        };

There's a u64 value; and a nested struct { ... } s; inside the union. The struct has two preprocessor branches β€” one under #if (defined(__BIG_ENDIAN_BITFIELD)); and one under #else; β€” and each branch lists its bitfields exactly as shown. Those semicolons on the preprocessor lines are in the original too; I did not touch them. πŸ’…


🫢 Members 🫢

The Members section is empty in this page β€” there are no extra member notes listed under it. The members visible in the code are value and s. Slay. 🌸


🌈 SEE ALSO 🌈

Kernel file: ./drivers/crypto/cavium/nitrox/nitrox_csr.h β€” that's the home base for this union, bestie. 🏠

Also go peek at these unions:

  • union ucd_core_eid_ucode_block_num(9)
  • union aqm_grp_execmsk_lo(9)
  • union aqm_grp_execmsk_hi(9)
  • union aqmq_drbl(9)
  • union aqmq_qsz(9)
  • union aqmq_cmp_thr(9)
  • union aqmq_cmp_cnt(9)
  • union aqmq_en(9)
  • union aqmq_activity_stat(9)
  • union emu_fuse_map(9)
  • union emu_se_enable(9)
  • union emu_ae_enable(9)
  • union emu_wd_int_ena_w1s(9)
  • union emu_ge_int_ena_w1s(9)
  • union nps_pkt_slc_ctl(9)
  • union nps_pkt_slc_cnts(9)
  • union nps_pkt_slc_int_levels(9)
  • union nps_pkt_in_done_cnts(9)
  • union nps_pkt_in_instr_ctl(9)
  • union nps_pkt_in_instr_rsize(9)
  • union nps_pkt_in_instr_baoff_dbell(9)
  • union nps_core_int_ena_w1s(9)
  • union nps_core_gbl_vfcfg(9)
  • union nps_core_int_active(9)
  • union efl_core_int(9)
  • union efl_core_int_ena_w1s(9)
  • union efl_rnm_ctl_status(9)
  • union bmi_ctl(9)
  • union bmi_int_ena_w1s(9)
  • union bmo_ctl2(9)
  • union pom_int_ena_w1s(9)
  • union lbc_inval_ctl(9)
  • union lbc_int_ena_w1s(9)
  • union lbc_int(9)
  • union rst_boot(9)
  • union fus_dat1(9)

That's the whole vibe πŸ’–. Source/version stamp: ./drivers/crypto/cavium/nitrox, dated October 2026, and the page is union lbc_inval_status(9). Slay, bye bestie! πŸŽ€βœ¨

πŸ“¦ where this page comes from