Searched refs:stub_clk (Results 1 – 2 of 2) sorted by relevance
122 switch (stub_clk->id) { in hi6220_stub_clk_recalc_rate()132 __func__, stub_clk->id); in hi6220_stub_clk_recalc_rate()146 switch (stub_clk->id) { in hi6220_stub_clk_set_rate()156 __func__, stub_clk->id); in hi6220_stub_clk_set_rate()170 switch (stub_clk->id) { in hi6220_stub_clk_round_rate()180 __func__, stub_clk->id); in hi6220_stub_clk_round_rate()202 stub_clk = devm_kzalloc(dev, sizeof(*stub_clk), GFP_KERNEL); in hi6220_stub_clk_probe()203 if (!stub_clk) in hi6220_stub_clk_probe()214 stub_clk->dev = dev; in hi6220_stub_clk_probe()218 stub_clk->cl.dev = dev; in hi6220_stub_clk_probe()[all …]
60 struct hi3660_stub_clk *stub_clk = to_stub_clk(hw); in hi3660_stub_clk_recalc_rate() local66 stub_clk->rate = readl(freq_reg + (stub_clk->id << 2)) * MHZ; in hi3660_stub_clk_recalc_rate()67 return stub_clk->rate; in hi3660_stub_clk_recalc_rate()83 struct hi3660_stub_clk *stub_clk = to_stub_clk(hw); in hi3660_stub_clk_set_rate() local85 stub_clk->msg[0] = stub_clk->cmd; in hi3660_stub_clk_set_rate()86 stub_clk->msg[1] = rate / MHZ; in hi3660_stub_clk_set_rate()89 stub_clk->msg[0], stub_clk->msg[1]); in hi3660_stub_clk_set_rate()91 mbox_send_message(stub_clk_chan.mbox, stub_clk->msg); in hi3660_stub_clk_set_rate()94 stub_clk->rate = rate; in hi3660_stub_clk_set_rate()