Home
last modified time | relevance | path

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

/linux/drivers/i2c/
H A Di2c-mux.c335 struct device_node *mux_node, *child = NULL; in i2c_mux_add_adapter() local
339 mux_node = of_get_child_by_name(dev_node, "i2c-arb"); in i2c_mux_add_adapter()
341 mux_node = of_get_child_by_name(dev_node, "i2c-gate"); in i2c_mux_add_adapter()
343 mux_node = of_get_child_by_name(dev_node, "i2c-mux"); in i2c_mux_add_adapter()
345 if (mux_node) { in i2c_mux_add_adapter()
347 if (!of_property_read_u32(mux_node, "reg", &reg)) { in i2c_mux_add_adapter()
348 of_node_put(mux_node); in i2c_mux_add_adapter()
349 mux_node = NULL; in i2c_mux_add_adapter()
353 if (!mux_node) in i2c_mux_add_adapter()
354 mux_node in i2c_mux_add_adapter()
[all...]
/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_i2c.c57 struct fwnode_handle *mux_node; in inv_mpu_i2c_aux_setup() local
71 mux_node = device_get_named_child_node(dev, "i2c-gate"); in inv_mpu_i2c_aux_setup()
72 if (mux_node != NULL) { in inv_mpu_i2c_aux_setup()
76 fwnode_handle_put(mux_node); in inv_mpu_i2c_aux_setup()
/linux/drivers/net/mdio/
H A Dmdio-mux.c140 struct device_node *mux_node, in mdio_mux_init() argument
153 if (!mux_node) in mdio_mux_init()
157 parent_bus_node = of_parse_phandle(mux_node, in mdio_mux_init()
187 for_each_available_child_of_node(mux_node, child_bus_node) { in mdio_mux_init()
/linux/include/linux/
H A Dmdio-mux.h17 * @mux_node The device node of the MDIO mux
24 struct device_node *mux_node,
/linux/drivers/dma/
H A Dcv1800b-dmamux.c186 struct device_node *mux_node = dev->of_node; in cv1800_dmamux_probe() local
231 return of_dma_router_register(mux_node, in cv1800_dmamux_probe()
/linux/Documentation/devicetree/bindings/clock/st/
H A Dst,clkgen.txt20 mux_node {
/linux/drivers/usb/typec/
H A Danx7411.c294 struct fwnode_handle *mux_node; member
1104 fwnode_handle_put(ctx->mux_node); in anx7411_unregister_mux()
1133 ctx->mux_node = device_get_named_child_node(dev, "mode_switch"); in anx7411_typec_switch_probe()
1134 if (!ctx->mux_node) { in anx7411_typec_switch_probe()
1140 ret = anx7411_register_mux(ctx, dev, ctx->mux_node); in anx7411_typec_switch_probe()
1143 fwnode_handle_put(ctx->mux_node); in anx7411_typec_switch_probe()