irq_chip_get_parent_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– irq_chip_get_parent_state β€” the manual page, but make it make sense πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for irq_chip_get_parent_state(9). yes it's a mouthful. yes it's iconic. let's get into it 🫢


✨ NAME ✨

irq_chip_get_parent_state β€” get the state of a parent interrupt. that's it. that's the whole job. very demure, very mindful πŸ’…


🌸 SYNOPSIS 🌸

int irq_chip_get_parent_state (struct irq_data *data , enum
irqchip_irq_state which , bool *state );

literally the whole signature. do not come for me about the line break, that's how it's written, periodt. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • data β€” pointer to interrupt specific data. yes it's a pointer. yes you have to pass it. no you can't skip it πŸ™ˆ
  • which β€” one of IRQCHIP_STATE_*, i.e. whichever state the caller wants to know about. you pick which one, she tells you πŸ¦‹
  • state β€” a pointer to a bool where the state is to be stored. she needs somewhere to put the answer, so give her a real address bestie, not a vibe πŸ’€

🌈 DESCRIPTION 🌈

okay so here's the whole plot: conditional success, if the underlying irqchip does not implement it.

that's the entire description. no notes. no extra lore. just conditional success and the caveat that it hinges on the underlying irqchip not implementing it. iykyk 😭


⭐ SEE ALSO ⭐

like genuinely the most friend-group-energy section on the page. the Kernel file ./kernel/irq/chip.c is where it all lives, and then these icons:

irq_set_chip(9), irq_set_irq_type(9), irq_set_handler_data(9), irq_set_msi_desc_off(9), irq_set_msi_desc(9), irq_set_chip_data(9), irq_disable(9), handle_nested_irq(9), handle_simple_irq(9), handle_untracked_irq(9), handle_level_irq(9), handle_fasteoi_irq(9), handle_fasteoi_nmi(9), handle_edge_irq(9), handle_percpu_irq(9), handle_percpu_devid_irq(9), irq_cpu_online(9), irq_cpu_offline(9), handle_fasteoi_ack_irq(9), handle_fasteoi_mask_irq(9), irq_chip_set_parent_state(9), irq_chip_shutdown_parent(9), irq_chip_startup_parent(9), irq_chip_enable_parent(9), irq_chip_disable_parent(9), irq_chip_ack_parent(9), irq_chip_mask_parent(9), irq_chip_mask_ack_parent(9), irq_chip_unmask_parent(9), irq_chip_eoi_parent(9), irq_chip_set_affinity_parent(9), irq_chip_set_type_parent(9), irq_chip_retrigger_hierarchy(9), irq_chip_set_vcpu_affinity_parent(9), irq_chip_set_wake_parent(9), irq_chip_request_resources_parent(9), irq_chip_release_resources_parent(9), irq_chip_compose_msi_msg(9), irq_chip_pm_get(9), irq_chip_pm_put(9)

like, the whole squad showed up. obsessed πŸ’œ


lowkey reminder: which is one of IRQCHIP_STATE_* and state is a pointer to a boolean β€” don't hand her a bool by value and expect magic, that's a vibe check you will fail 🧚

and that's the page, bestie!! mwah πŸ’‹ this one comes to you courtesy of ./kernel/irq, dated October 2026 β€” go off, king πŸ“πŸ‘‘

πŸ“¦ where this page comes from