Searched refs:sd_mux_hw_data (Results 1 – 1 of 1) sorted by relevance
89 struct sd_mux_hw_data { struct94 #define to_sd_mux_hw_data(_hw) container_of(_hw, struct sd_mux_hw_data, hw_data) argument461 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() local469 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() local497 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() local515 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 …]