geni_se_clk_tbl_get(9)
π geni_se_clk_tbl_get(9) β like, the Kernel API Manual page you actually wanna read
okay so bestie, this is a page straight out of the Kernel API Manual and no cap, it's a little one but it's important β it's all about getting the clock table so DFS can be programmed. let's get into it π
β¨ NAME β¨
geni_se_clk_tbl_get β get the clock table so you can program DFS π
πΈ SYNOPSIS πΈ
int geni_se_clk_tbl_get (struct geni_se *se , unsigned long **tbl );
like, that's the whole signature, she's short and she knows it π
π¦ ARGUMENTS π¦
seβ pointer to the serial engine we're concerned about. she's the main character here π«Άtblβ the table where the output gets returned. it's giving "drop the results in here please" β¨
π DESCRIPTION π
so here's the vibe: the protocol drivers call this function to figure out the different clock frequencies that the serial engine's core clock supports. literally that's it, that's the job π
then the protocol drivers take that output and use it to determine the clock frequency index that needs to be programmed into DFS. so yeah, tbl is lowkey the whole point β the drivers need it to know which perf level index to send. iykyk π₯
β RETURN β
- on success β you get the number of valid performance levels in the table (slay, actual useful data back π)
- on failure β standard Linux error codes, as always π (that's just how it is, fr fr)
π SEE ALSO π
okay this list is LONG, so buckle up bestie, we're going down the whole geni rabbit hole ππ
- Kernel file
./drivers/soc/qcom/qcom-geni-se.c Overview(9)Hardware description(9)Software description(9)struct geni_wrapper(9)struct geni_se_desc(9)struct se_fw_hdr(9)geni_se_get_qup_hw_version(9)geni_se_init(9)geni_se_select_mode(9)Overview(9)geni_se_config_packing(9)geni_se_resources_off(9)geni_se_resources_on(9)geni_se_clk_freq_match(9)geni_se_tx_init_dma(9)geni_se_tx_dma_prep(9)geni_se_rx_init_dma(9)geni_se_rx_dma_prep(9)geni_se_tx_dma_unprep(9)geni_se_rx_dma_unprep(9)geni_icc_set_bw_ab(9)geni_se_resources_deactivate(9)geni_se_resources_activate(9)geni_se_set_perf_level(9)geni_se_set_perf_opp(9)geni_se_domain_attach(9)geni_se_resources_init(9)geni_find_protocol_fw(9)geni_configure_xfer_mode(9)geni_enable_interrupts(9)geni_write_fw_revision(9)geni_load_se_fw(9)geni_load_se_firmware(9)
ngl, Overview(9) is in there twice. i didn't do it, the manpage did it. i'm just the messenger π
and that's the whole page, bestie!! this one's brought to you by the good people at ./drivers/soc/qcom π, dated October 2026, living in the Kernel API Manual. go forth and program your DFS, you absolute icon πβ¨π§
π¦ 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