zynqmp_pm_write_ggs(9)
π zynqmp_pm_write_ggs(9) β from the Kernel API Manual, bestie
okay so picture this: you're deep in the Xilinx/ZynqMP firmware world and you just need to put a value somewhere that survives. That's this function. It's a lil PM API (power management, not "private message", tho honestly same energy) and it writes to global general storage β ggs for the girlies who like abbreviations. Let's get into it β¨
β¨ NAME β¨
zynqmp_pm_write_ggs β the PM API for writing global general storage (ggs). yes that's really what it stands for. no I will not be elaborating further, that's the whole vibe π
πΈ SYNOPSIS πΈ
int zynqmp_pm_write_ggs (u32 index , u32 value );
like look at her. two u32s, returns an int. clean. minimal. iconic. π
π¦ ARGUMENTS π¦
indexβ the GGS register index. which slot you're writing to, bestie. pick responsibly πvalueβ the register value to be written. this is the actual thing going into the slot. slay π
π DESCRIPTION π
So what does she do? This function writes value to the GGS register. That's it. That's the whole arc. no cap, no side quests, no hidden lore β it writes the value to the GGS register and minds her own business π§
β RETURN β
Returns status β either success, or error+reason. so like, she'll tell you if it went great, and she'll also tell you why if it didn't. communication queen fr fr π«Ά
π SEE ALSO π
okay this is the part where I need you to sit down, because the list is LONG and every single one of these deserves a lil shoutout. this function is part of a whole friend group π
The kernel file lives at ./drivers/firmware/xilinx/zynqmp.c and honestly it's the main character β but here's everyone:
struct zynqmp_devinfo(9)struct pm_api_feature_data(9)zynqmp_pm_ret_code(9)do_fw_call_smc(9)do_fw_call_hvc(9)zynqmp_pm_feature(9)zynqmp_pm_is_function_supported(9)zynqmp_pm_invoke_fw_fn(9)zynqmp_pm_invoke_fn(9)zynqmp_pm_get_api_version(9)zynqmp_pm_get_chipid(9)zynqmp_pm_get_family_info(9)zynqmp_pm_get_sip_svc_version(9)zynqmp_pm_get_trustzone_version(9)get_set_conduit_method(9)zynqmp_pm_query_data(9)zynqmp_pm_clock_enable(9)zynqmp_pm_clock_disable(9)zynqmp_pm_clock_getstate(9)zynqmp_pm_clock_setdivider(9)zynqmp_pm_clock_getdivider(9)zynqmp_pm_clock_setparent(9)zynqmp_pm_clock_getparent(9)zynqmp_pm_set_pll_frac_mode(9)zynqmp_pm_get_pll_frac_mode(9)zynqmp_pm_set_pll_frac_data(9)zynqmp_pm_get_pll_frac_data(9)zynqmp_pm_set_sd_tapdelay(9)zynqmp_pm_sd_dll_reset(9)zynqmp_pm_ospi_mux_select(9)zynqmp_pm_read_ggs(9)zynqmp_pm_write_pggs(9)zynqmp_pm_read_pggs(9)zynqmp_pm_set_boot_health_status(9)zynqmp_pm_reset_assert(9)zynqmp_pm_reset_get_status(9)zynqmp_pm_fpga_load(9)zynqmp_pm_fpga_get_status(9)zynqmp_pm_fpga_get_config_status(9)zynqmp_pm_pinctrl_request(9)zynqmp_pm_pinctrl_release(9)zynqmp_pm_pinctrl_set_function(9)zynqmp_pm_pinctrl_get_config(9)zynqmp_pm_pinctrl_set_config(9)zynqmp_pm_bootmode_read(9)zynqmp_pm_bootmode_write(9)zynqmp_pm_init_finalize(9)zynqmp_pm_set_suspend_mode(9)zynqmp_pm_request_node(9)zynqmp_pm_release_node(9)zynqmp_pm_get_rpu_mode(9)zynqmp_pm_set_rpu_mode(9)zynqmp_pm_set_tcm_config(9)zynqmp_pm_get_node_status(9)zynqmp_pm_get_rpu_node_status(9)zynqmp_pm_force_pwrdwn(9)zynqmp_pm_request_wake(9)zynqmp_pm_start_rpu(9)zynqmp_pm_stop_rpu(9)zynqmp_pm_set_requirement(9)zynqmp_pm_load_pdi(9)zynqmp_pm_efuse_access(9)zynqmp_pm_register_notifier(9)zynqmp_pm_system_shutdown(9)zynqmp_pm_set_feature_config(9)zynqmp_pm_get_feature_config(9)zynqmp_pm_sec_read_reg(9)zynqmp_pm_sec_mask_write_reg(9)zynqmp_pm_set_sd_config(9)zynqmp_pm_set_gem_config(9)struct zynqmp_pm_shutdown_scope(9)zynqmp_pm_is_shutdown_scope_valid(9)zynqmp_clear_pm_state(9)
like?? that's a whole roster. and yes I listed every single one, because we do NOT gatekeep on this page πβ¨
ok but fr fr β if you're writing to GGS you probably wanna also peek at zynqmp_pm_read_ggs(9) so you can check your work. go read her too, she's lovely π«Ά
and that's the page!! special shoutout to ./drivers/firmware/xilinx for the source, October 2026 for the date, and zynqmp_pm_write_ggs(9) herself for being the moment. mwah π go write some registers, bestie π
π¦ 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