Lines Matching refs:clk_out
197 struct vc5_out_data clk_out[VC5_MAX_CLK_OUT_NUM]; member
714 return &vc5->clk_out[idx].hw; in vc5_of_clk_get()
734 struct vc5_out_data *clk_out) in vc5_update_mode() argument
739 clk_out->clk_output_cfg0_mask |= VC5_CLK_OUTPUT_CFG0_CFG_MASK; in vc5_update_mode()
748 clk_out->clk_output_cfg0 |= in vc5_update_mode()
759 struct vc5_out_data *clk_out) in vc5_update_power() argument
765 clk_out->clk_output_cfg0_mask |= VC5_CLK_OUTPUT_CFG0_PWR_MASK; in vc5_update_power()
768 clk_out->clk_output_cfg0 |= VC5_CLK_OUTPUT_CFG0_PWR_18; in vc5_update_power()
771 clk_out->clk_output_cfg0 |= VC5_CLK_OUTPUT_CFG0_PWR_25; in vc5_update_power()
774 clk_out->clk_output_cfg0 |= VC5_CLK_OUTPUT_CFG0_PWR_33; in vc5_update_power()
841 struct vc5_out_data *clk_out) in vc5_update_slew() argument
846 clk_out->clk_output_cfg0_mask |= VC5_CLK_OUTPUT_CFG0_SLEW_MASK; in vc5_update_slew()
849 clk_out->clk_output_cfg0 |= VC5_CLK_OUTPUT_CFG0_SLEW_80; in vc5_update_slew()
852 clk_out->clk_output_cfg0 |= VC5_CLK_OUTPUT_CFG0_SLEW_85; in vc5_update_slew()
855 clk_out->clk_output_cfg0 |= VC5_CLK_OUTPUT_CFG0_SLEW_90; in vc5_update_slew()
858 clk_out->clk_output_cfg0 |= in vc5_update_slew()
869 struct vc5_out_data *clk_out) in vc5_get_output_config() argument
875 child_name = kasprintf(GFP_KERNEL, "OUT%d", clk_out->num + 1); in vc5_get_output_config()
884 ret = vc5_update_mode(np_output, clk_out); in vc5_get_output_config()
888 ret = vc5_update_power(np_output, clk_out); in vc5_get_output_config()
892 ret = vc5_update_slew(np_output, clk_out); in vc5_get_output_config()
898 clk_out->num + 1); in vc5_get_output_config()
1083 vc5->clk_out[0].num = idx; in vc5_probe()
1084 vc5->clk_out[0].vc5 = vc5; in vc5_probe()
1085 vc5->clk_out[0].hw.init = &init; in vc5_probe()
1086 ret = devm_clk_hw_register(&client->dev, &vc5->clk_out[0].hw); in vc5_probe()
1099 clk_hw_get_name(&vc5->clk_out[n - 1].hw); in vc5_probe()
1108 vc5->clk_out[n].num = idx; in vc5_probe()
1109 vc5->clk_out[n].vc5 = vc5; in vc5_probe()
1110 vc5->clk_out[n].hw.init = &init; in vc5_probe()
1111 ret = devm_clk_hw_register(&client->dev, &vc5->clk_out[n].hw); in vc5_probe()
1117 ret = vc5_get_output_config(client, &vc5->clk_out[n]); in vc5_probe()