Searched refs:adapter_np (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/i2c/muxes/
H A Di2c-mux-gpio.c65 struct device_node *adapter_np, *child; i2c_mux_gpio_probe_dt() local
73 adapter_np = of_parse_phandle(np, "i2c-parent", 0); i2c_mux_gpio_probe_dt()
74 if (!adapter_np) { i2c_mux_gpio_probe_dt()
78 adapter = of_find_i2c_adapter_by_node(adapter_np); i2c_mux_gpio_probe_dt()
79 of_node_put(adapter_np); i2c_mux_gpio_probe_dt()
H A Di2c-mux-pinctrl.c60 struct device_node *adapter_np; i2c_mux_pinctrl_parse_dt() local
108 adapter_np = of_parse_phandle(np, "i2c-parent", 0); i2c_mux_pinctrl_parse_dt()
109 if (!adapter_np) { i2c_mux_pinctrl_parse_dt()
113 adapter = of_find_i2c_adapter_by_node(adapter_np); i2c_mux_pinctrl_parse_dt()
114 of_node_put(adapter_np); i2c_mux_pinctrl_parse_dt()
H A Di2c-mux-reg.c91 struct device_node *adapter_np, *child; i2c_mux_reg_probe_dt() local
100 adapter_np = of_parse_phandle(np, "i2c-parent", 0); i2c_mux_reg_probe_dt()
101 if (!adapter_np) { i2c_mux_reg_probe_dt()
105 adapter = of_find_i2c_adapter_by_node(adapter_np); i2c_mux_reg_probe_dt()
106 of_node_put(adapter_np); i2c_mux_reg_probe_dt()

Completed in 109 milliseconds