Home
last modified time | relevance | path

Searched refs:sd_mux_hw_data (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/clk/renesas/
Drzg2l-cpg.c89 struct sd_mux_hw_data { struct
94 #define to_sd_mux_hw_data(_hw) container_of(_hw, struct sd_mux_hw_data, hw_data) argument
461 struct sd_mux_hw_data *sd_mux_hw_data = to_sd_mux_hw_data(clk_hw_data); in rzg2l_cpg_sd_clk_mux_set_parent() local
469 val = clk_mux_index_to_val(sd_mux_hw_data->mtable, CLK_MUX_ROUND_CLOSEST, index); in rzg2l_cpg_sd_clk_mux_set_parent()
489 struct sd_mux_hw_data *sd_mux_hw_data = to_sd_mux_hw_data(clk_hw_data); in rzg2l_cpg_sd_clk_mux_get_parent() local
497 return clk_mux_val_to_index(hw, sd_mux_hw_data->mtable, CLK_MUX_ROUND_CLOSEST, val); in rzg2l_cpg_sd_clk_mux_get_parent()
510 struct sd_mux_hw_data *sd_mux_hw_data; in rzg2l_cpg_sd_mux_clk_register() local
515 sd_mux_hw_data = devm_kzalloc(priv->dev, sizeof(*sd_mux_hw_data), GFP_KERNEL); in rzg2l_cpg_sd_mux_clk_register()
516 if (!sd_mux_hw_data) in rzg2l_cpg_sd_mux_clk_register()
519 sd_mux_hw_data->hw_data.priv = priv; in rzg2l_cpg_sd_mux_clk_register()
[all …]