ti_sci_cmd_free_event_map(9)
π ti_sci_cmd_free_event_map β like, the un-mapping one
Okay bestie, so this is a page out of the Kernel API Manual (that's the manual name, now you know β¨), and it's all about ti_sci_cmd_free_event_map β the function you call when you wanna free an event map between the requested source and Interrupt Aggregator. Yeah. We're cleaning up. We're releasing the mapping. We're letting it go, main character style π¦
β¨ SYNOPSIS β¨
int ti_sci_cmd_free_event_map(const struct ti_sci_handle *handle, u16 src_id,
u16 src_index, u16 ia_id, u16 vint,
u16 global_event, u8 vint_status_bit);
It returns an int, and it takes a whole little friend group of arguments β six of them plus the handle. Let's meet everybody π«Ά
π ARGUMENTS π
handleβ Pointer to the TISCI handle. Your golden ticket, your VIP pass, the thing that says "hi yes I'm allowed to talk to the firmware" πsrc_idβ Device ID of the IRQ source. Like, which device is this interrupt even coming from?src_indexβ IRQ source index within the source device. Because one device can have a whole situationship with multiple interrupt lines, y'know?ia_idβ Device ID of the IA (if the IRQ flows through this IA). Conditional queen π β it only matters when the interrupt actually routes through the Interrupt Aggregator.vintβ Virtual interrupt to be used within the IA. The virtual one. The vibe-translated version of the interrupt, if you will πglobal_eventβ Global event number to be used for the requesting event. Big number energy, globally scoped π₯vint_status_bitβ Virtual interrupt status bit to be used for the event. It's au8, it's a bit, it's doing its job, we love that for it β
π RETURN π
0if all went fine πβ¨- else it returns the appropriate error β which is code for "something went sideways, check the error, don't @ me" π
no cap, if you get something other than 0, that event map did not free, and you should probably go look at what went wrong. fr fr.
π¦ SEE ALSO π¦
The kernel file lives at ./drivers/firmware/ti_sci.c β that's the source of truth, go read it if you want the full lore π
And here's the entire extended universe of related pages, all (9) sections, all iconic, all listed in order because we do not skip entries in this house π
struct ti_sci_xfer(9)struct ti_sci_xfers_info(9)struct ti_sci_desc(9)struct ti_sci_irq(9)struct ti_sci_info(9)ti_sci_debug_show(9)ti_sci_debugfs_create(9)ti_sci_dump_header_dbg(9)ti_sci_rx_callback(9)ti_sci_get_one_xfer(9)ti_sci_put_one_xfer(9)ti_sci_do_xfer(9)ti_sci_cmd_get_revision(9)ti_sci_is_response_ack(9)ti_sci_set_device_state(9)ti_sci_get_device_state(9)ti_sci_cmd_get_device(9)ti_sci_cmd_get_device_exclusive(9)ti_sci_cmd_idle_device(9)ti_sci_cmd_idle_device_exclusive(9)ti_sci_cmd_put_device(9)ti_sci_cmd_dev_is_valid(9)ti_sci_cmd_dev_get_clcnt(9)ti_sci_cmd_dev_is_idle(9)ti_sci_cmd_dev_is_stop(9)ti_sci_cmd_dev_is_on(9)ti_sci_cmd_dev_is_trans(9)ti_sci_cmd_set_device_resets(9)ti_sci_cmd_get_device_resets(9)ti_sci_set_clock_state(9)ti_sci_cmd_get_clock_state(9)ti_sci_cmd_get_clock(9)ti_sci_cmd_idle_clock(9)ti_sci_cmd_put_clock(9)ti_sci_cmd_clk_is_auto(9)ti_sci_cmd_clk_is_on(9)ti_sci_cmd_clk_is_off(9)ti_sci_cmd_clk_set_parent(9)ti_sci_cmd_clk_get_parent(9)ti_sci_cmd_clk_get_num_parents(9)ti_sci_cmd_clk_get_match_freq(9)ti_sci_cmd_clk_set_freq(9)ti_sci_cmd_clk_get_freq(9)ti_sci_cmd_prepare_sleep(9)ti_sci_msg_cmd_query_fw_caps(9)ti_sci_cmd_set_io_isolation(9)ti_sci_msg_cmd_lpm_wake_reason(9)ti_sci_cmd_set_device_constraint(9)ti_sci_cmd_set_latency_constraint(9)ti_sci_cmd_lpm_abort(9)ti_sci_get_resource_range(9)ti_sci_cmd_get_resource_range(9)ti_sci_cmd_get_resource_range_from_shost(9)ti_sci_manage_irq(9)ti_sci_irq_hash(9)ti_sci_irq_equal(9)ti_sci_set_irq(9)ti_sci_free_irq(9)ti_sci_cmd_set_irq(9)ti_sci_cmd_set_event_map(9)ti_sci_cmd_free_irq(9)ti_sci_cmd_rm_ring_cfg(9)ti_sci_cmd_rm_psil_pair(9)ti_sci_cmd_rm_psil_unpair(9)ti_sci_cmd_rm_udmap_tx_ch_cfg(9)ti_sci_cmd_rm_udmap_rx_ch_cfg(9)ti_sci_cmd_rm_udmap_rx_flow_cfg(9)ti_sci_cmd_proc_request(9)ti_sci_cmd_proc_release(9)ti_sci_cmd_proc_handover(9)ti_sci_cmd_proc_set_config(9)ti_sci_cmd_proc_set_control(9)ti_sci_cmd_proc_get_status(9)ti_sci_get_handle(9)ti_sci_put_handle(9)devm_ti_sci_get_handle(9)ti_sci_get_by_phandle(9)devm_ti_sci_get_by_phandle(9)ti_sci_get_free_resource(9)ti_sci_release_resource(9)ti_sci_get_num_resources(9)devm_ti_sci_get_resource_sets(9)devm_ti_sci_get_of_resource(9)devm_ti_sci_get_resource(9)
ngl, ti_sci_cmd_set_event_map(9) is literally the sibling of this page β that one sets it, this one frees it. iconic symmetry π«
πΈ okay that's the whole page, mwah π β this one came out of ./drivers/firmware, October 2026, and it's filed under ti_sci_cmd_free_event_map(9). go free those event maps, bestie, you got this π«Άβ¨
π¦ 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