Home
last modified time | relevance | path

Searched refs:adapter_np (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/i2c/muxes/
Di2c-mux-gpio.c57 struct device_node *adapter_np, *child; in i2c_mux_gpio_probe_dt() local
65 adapter_np = of_parse_phandle(np, "i2c-parent", 0); in i2c_mux_gpio_probe_dt()
66 if (!adapter_np) { in i2c_mux_gpio_probe_dt()
70 adapter = of_find_i2c_adapter_by_node(adapter_np); in i2c_mux_gpio_probe_dt()
71 of_node_put(adapter_np); in i2c_mux_gpio_probe_dt()
Di2c-mux-reg.c83 struct device_node *adapter_np, *child; in i2c_mux_reg_probe_dt() local
92 adapter_np = of_parse_phandle(np, "i2c-parent", 0); in i2c_mux_reg_probe_dt()
93 if (!adapter_np) { in i2c_mux_reg_probe_dt()
97 adapter = of_find_i2c_adapter_by_node(adapter_np); in i2c_mux_reg_probe_dt()
98 of_node_put(adapter_np); in i2c_mux_reg_probe_dt()