Lines Matching defs:node
84 void (*setup)(struct device_node *node, struct mpc_i2c *i2c, u32 clock);
280 static int mpc_i2c_get_fdr_52xx(struct device_node *node, u32 clock,
290 *real_clk = mpc5xxx_get_bus_frequency(node) / 2048;
295 divider = mpc5xxx_get_bus_frequency(node) / clock;
310 *real_clk = mpc5xxx_get_bus_frequency(node) / div->divider;
314 static void mpc_i2c_setup_52xx(struct device_node *node,
326 ret = mpc_i2c_get_fdr_52xx(node, clock, &i2c->real_clk);
336 static void mpc_i2c_setup_52xx(struct device_node *node,
344 static void mpc_i2c_setup_512x(struct device_node *node,
360 pval = of_get_property(node, "reg", NULL);
369 mpc_i2c_setup_52xx(node, i2c, clock);
372 static void mpc_i2c_setup_512x(struct device_node *node,
402 struct device_node *node;
406 node = of_find_node_by_name(NULL, "global-utilities");
407 if (node) {
408 const u32 *prop = of_get_property(node, "reg", NULL);
427 of_node_put(node);
467 static int mpc_i2c_get_fdr_8xxx(struct device_node *node, u32 clock,
500 static void mpc_i2c_setup_8xxx(struct device_node *node,
513 ret = mpc_i2c_get_fdr_8xxx(node, clock, &i2c->real_clk);
525 static void mpc_i2c_setup_8xxx(struct device_node *node,