Lines Matching refs:dev
23 extern int pm_clk_runtime_suspend(struct device *dev);
24 extern int pm_clk_runtime_resume(struct device *dev);
33 static inline bool pm_clk_no_clocks(struct device *dev) in pm_clk_no_clocks() argument
35 return dev && dev->power.subsys_data in pm_clk_no_clocks()
36 && list_empty(&dev->power.subsys_data->clock_list); in pm_clk_no_clocks()
39 extern void pm_clk_init(struct device *dev);
40 extern int pm_clk_create(struct device *dev);
41 extern void pm_clk_destroy(struct device *dev);
42 extern int pm_clk_add(struct device *dev, const char *con_id);
43 extern int pm_clk_add_clk(struct device *dev, struct clk *clk);
44 extern int of_pm_clk_add_clk(struct device *dev, const char *name);
45 extern int of_pm_clk_add_clks(struct device *dev);
46 extern void pm_clk_remove(struct device *dev, const char *con_id);
47 extern void pm_clk_remove_clk(struct device *dev, struct clk *clk);
48 extern int pm_clk_suspend(struct device *dev);
49 extern int pm_clk_resume(struct device *dev);
51 static inline bool pm_clk_no_clocks(struct device *dev) in pm_clk_no_clocks() argument
55 static inline void pm_clk_init(struct device *dev) in pm_clk_init() argument
58 static inline int pm_clk_create(struct device *dev) in pm_clk_create() argument
62 static inline void pm_clk_destroy(struct device *dev) in pm_clk_destroy() argument
65 static inline int pm_clk_add(struct device *dev, const char *con_id) in pm_clk_add() argument
70 static inline int pm_clk_add_clk(struct device *dev, struct clk *clk) in pm_clk_add_clk() argument
74 static inline int of_pm_clk_add_clks(struct device *dev) in of_pm_clk_add_clks() argument
78 static inline void pm_clk_remove(struct device *dev, const char *con_id) in pm_clk_remove() argument
83 static inline void pm_clk_remove_clk(struct device *dev, struct clk *clk) in pm_clk_remove_clk() argument