set_intr_bits(9)
β¨ NAME β¨
Welcome to the set_intr_bits(9) page, bestie β straight out of the Kernel API Manual π
set_intr_bits β enable or disable a range of IRQ sources, where the range is one or more sources. Yes, it's giving βone little function, many interrupt vibesβ β¨
πΈ SYNOPSIS πΈ
int set_intr_bits (struct hfi1_devdata *dd , u16 first , u16 last , bool
set );
π ARGUMENTS π
ddβ a validdevdata, aka the main-character struct you gotta hand over πfirstβ the first IRQ source to set or clearlastβ the last IRQ source to set or clear, and yes bestie, it's inclusive π«Άsetβtruemeans set the bits,falsemeans clear the bits. No in-between, periodt.
π¦ DESCRIPTION π¦
If first == last, you're setting the exact source. That's it β that's the whole little rule, and it ate π₯
π SEE ALSO π
Kernel file: ./drivers/infiniband/hw/hfi1/chip.c β go browse, iykyk π
hfi1_addr_from_offset(9)read_csr(9)write_csr(9)get_csr_addr(9)update_xmit_counters(9)apply_link_downgrade_policy(9)is_rcv_avail_int(9)is_rcv_urgent_int(9)general_interrupt(9)hfi1_rcd_eoi_intr(9)hfi1_netdev_rx_napi(9)data_vls_operational(9)encode_rcv_header_entry_size(9)hfi1_validate_rcvhdrcnt(9)set_hdrq_regs(9)update_statusp(9)wait_logical_linkstate(9)read_mod_write(9)set_up_interrupts(9)hfi1_get_qp_map(9)init_qpmap_table(9)init_qos(9)hfi1_init_dd(9)create_pbc(9)
okay that's the whole page, bestie β source: ./drivers/infiniband/hw/hfi1, dated October 2026, and it's iconic π
β¨
π¦ 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