Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/hisilicon/
H A Dclk-hisi-phase.c16 struct clk_hisi_phase { struct
28 #define to_clk_hisi_phase(_hw) container_of(_hw, struct clk_hisi_phase, hw) argument
30 static int hisi_phase_regval_to_degrees(struct clk_hisi_phase *phase, in hisi_phase_regval_to_degrees()
44 struct clk_hisi_phase *phase = to_clk_hisi_phase(hw); in hisi_clk_get_phase()
53 static int hisi_phase_degrees_to_regval(struct clk_hisi_phase *phase, in hisi_phase_degrees_to_regval()
67 struct clk_hisi_phase *phase = to_clk_hisi_phase(hw); in hisi_clk_set_phase()
97 struct clk_hisi_phase *phase; in clk_register_hisi_phase()
100 phase = devm_kzalloc(dev, sizeof(struct clk_hisi_phase), GFP_KERNEL); in clk_register_hisi_phase()