• Home
  • Raw
  • Download

Lines Matching refs:con_id

32 	char *con_id;  member
64 ce->clk = clk_get(dev, ce->con_id); in pm_clk_acquire()
75 ce->clk, ce->con_id); in pm_clk_acquire()
80 static int __pm_clk_add(struct device *dev, const char *con_id, in __pm_clk_add() argument
93 if (con_id) { in __pm_clk_add()
94 ce->con_id = kstrdup(con_id, GFP_KERNEL); in __pm_clk_add()
95 if (!ce->con_id) { in __pm_clk_add()
123 int pm_clk_add(struct device *dev, const char *con_id) in pm_clk_add() argument
125 return __pm_clk_add(dev, con_id, NULL); in pm_clk_add()
252 kfree(ce->con_id); in __pm_clk_remove()
264 void pm_clk_remove(struct device *dev, const char *con_id) in pm_clk_remove() argument
275 if (!con_id && !ce->con_id) in pm_clk_remove()
277 else if (!con_id || !ce->con_id) in pm_clk_remove()
279 else if (!strcmp(con_id, ce->con_id)) in pm_clk_remove()
469 char **con_id; in pm_clk_notify() local
487 for (con_id = clknb->con_ids; *con_id; con_id++) in pm_clk_notify()
488 pm_clk_add(dev, *con_id); in pm_clk_notify()
552 static void enable_clock(struct device *dev, const char *con_id) in enable_clock() argument
556 clk = clk_get(dev, con_id); in enable_clock()
569 static void disable_clock(struct device *dev, const char *con_id) in disable_clock() argument
573 clk = clk_get(dev, con_id); in disable_clock()
597 char **con_id; in pm_clk_notify() local
606 for (con_id = clknb->con_ids; *con_id; con_id++) in pm_clk_notify()
607 enable_clock(dev, *con_id); in pm_clk_notify()
615 for (con_id = clknb->con_ids; *con_id; con_id++) in pm_clk_notify()
616 disable_clock(dev, *con_id); in pm_clk_notify()