Lines Matching full:max77686
3 // clk-max77686.c - Clock driver for Maxim 77686/MAX77802
14 #include <linux/mfd/max77686.h>
15 #include <linux/mfd/max77686-private.h>
22 #include <dt-bindings/clock/maxim,max77686.h>
104 struct max77686_clk_init_data *max77686 = to_max77686_clk_init_data(hw); in max77686_clk_prepare() local
106 return regmap_update_bits(max77686->regmap, max77686->clk_info->clk_reg, in max77686_clk_prepare()
107 max77686->clk_info->clk_enable_mask, in max77686_clk_prepare()
108 max77686->clk_info->clk_enable_mask); in max77686_clk_prepare()
113 struct max77686_clk_init_data *max77686 = to_max77686_clk_init_data(hw); in max77686_clk_unprepare() local
115 regmap_update_bits(max77686->regmap, max77686->clk_info->clk_reg, in max77686_clk_unprepare()
116 max77686->clk_info->clk_enable_mask, in max77686_clk_unprepare()
117 ~max77686->clk_info->clk_enable_mask); in max77686_clk_unprepare()
122 struct max77686_clk_init_data *max77686 = to_max77686_clk_init_data(hw); in max77686_clk_is_prepared() local
126 ret = regmap_read(max77686->regmap, max77686->clk_info->clk_reg, &val); in max77686_clk_is_prepared()
131 return val & max77686->clk_info->clk_enable_mask; in max77686_clk_is_prepared()
273 { "max77686-clk", .driver_data = CHIP_MAX77686, },
282 .name = "max77686-clk",