Home
last modified time | relevance | path

Searched refs:mux_node (Results 1 – 4 of 4) sorted by relevance

/drivers/i2c/
Di2c-mux.c357 struct device_node *mux_node, *child = NULL; in i2c_mux_add_adapter() local
361 mux_node = of_get_child_by_name(dev_node, "i2c-arb"); in i2c_mux_add_adapter()
363 mux_node = of_get_child_by_name(dev_node, "i2c-gate"); in i2c_mux_add_adapter()
365 mux_node = of_get_child_by_name(dev_node, "i2c-mux"); in i2c_mux_add_adapter()
367 if (mux_node) { in i2c_mux_add_adapter()
369 if (!of_property_read_u32(mux_node, "reg", &reg)) { in i2c_mux_add_adapter()
370 of_node_put(mux_node); in i2c_mux_add_adapter()
371 mux_node = NULL; in i2c_mux_add_adapter()
375 if (!mux_node) in i2c_mux_add_adapter()
376 mux_node = of_node_get(dev_node); in i2c_mux_add_adapter()
[all …]
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_i2c.c55 struct fwnode_handle *mux_node; in inv_mpu_i2c_aux_setup() local
69 mux_node = device_get_named_child_node(dev, "i2c-gate"); in inv_mpu_i2c_aux_setup()
70 if (mux_node != NULL) { in inv_mpu_i2c_aux_setup()
74 fwnode_handle_put(mux_node); in inv_mpu_i2c_aux_setup()
/drivers/net/mdio/
Dmdio-mux.c97 struct device_node *mux_node, in mdio_mux_init() argument
110 if (!mux_node) in mdio_mux_init()
114 parent_bus_node = of_parse_phandle(mux_node, in mdio_mux_init()
144 for_each_available_child_of_node(mux_node, child_bus_node) { in mdio_mux_init()
/drivers/dma/dw/
Drzn1-dmamux.c114 struct device_node *mux_node = pdev->dev.of_node; in rzn1_dmamux_probe() local
123 dmac_node = of_parse_phandle(mux_node, "dma-masters", 0); in rzn1_dmamux_probe()
137 return of_dma_router_register(mux_node, rzn1_dmamux_route_allocate, in rzn1_dmamux_probe()