/* Useful for clk_ops such as .set_rate and .determine_rate.  */
int __clk_determine_rate(struct clk_hw *hw, struct clk_rate_request *req)
/* Useful for clk_ops such as .set_rate and .determine_rate.  */
int __clk_determine_rate(struct clk_hw *hw, struct clk_rate_request *req)
{
    if (!hw)
    {
        req->rate = 0;
        return 0;
    }
    return clk_core_round_rate_nolock(hw->core, req);
}