Lines Matching defs:dev
19 #define CLK_ID(dev, id) (((dev_seq(dev) + 1) << CLK_ID_SZ) | ((id) & CLK_ID_MSK)) argument
22 #define CLK_ID(dev, id) id argument
73 struct udevice *dev; member
232 static inline struct clk *devm_clk_get_optional(struct udevice *dev, in devm_clk_get_optional()
261 static inline int clk_get_by_phandle(struct udevice *dev, const in clk_get_by_phandle()
268 static inline int clk_get_by_index(struct udevice *dev, int index, in clk_get_by_index()
280 static inline int clk_get_bulk(struct udevice *dev, struct clk_bulk *bulk) in clk_get_bulk()
285 static inline int clk_get_by_name(struct udevice *dev, const char *name, in clk_get_by_name()
291 static inline struct clk *devm_clk_get(struct udevice *dev, const char *id) in devm_clk_get()
296 static inline struct clk *devm_clk_get_optional(struct udevice *dev, in devm_clk_get_optional()
326 static inline int clk_get_by_name_optional(struct udevice *dev, in clk_get_by_name_optional()
406 static inline int clk_set_defaults(struct udevice *dev, int stage) in clk_set_defaults()
594 static inline int clk_request(struct udevice *dev, struct clk *clk) in clk_request()