Searched refs:hw_tbg_data (Results 1 – 1 of 1) sorted by relevance
84 struct clk_hw_onecell_data *hw_tbg_data; in armada_3700_tbg_clock_probe() local92 hw_tbg_data = devm_kzalloc(&pdev->dev, in armada_3700_tbg_clock_probe()93 struct_size(hw_tbg_data, hws, NUM_TBG), in armada_3700_tbg_clock_probe()95 if (!hw_tbg_data) in armada_3700_tbg_clock_probe()97 hw_tbg_data->num = NUM_TBG; in armada_3700_tbg_clock_probe()98 platform_set_drvdata(pdev, hw_tbg_data); in armada_3700_tbg_clock_probe()120 hw_tbg_data->hws[i] = clk_hw_register_fixed_factor(NULL, name, in armada_3700_tbg_clock_probe()122 if (IS_ERR(hw_tbg_data->hws[i])) in armada_3700_tbg_clock_probe()126 ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, hw_tbg_data); in armada_3700_tbg_clock_probe()137 for (i = 0; i < hw_tbg_data->num; i++) in armada_3700_tbg_clock_remove()[all …]
Completed in 2 milliseconds