Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/
H A Di2c-mux.c407 struct device_node *mux_node, *child = NULL; in i2c_mux_add_adapter() local
411 mux_node = of_get_child_by_name(dev_node, "i2c-arb"); in i2c_mux_add_adapter()
413 mux_node = of_get_child_by_name(dev_node, "i2c-gate"); in i2c_mux_add_adapter()
415 mux_node = of_get_child_by_name(dev_node, "i2c-mux"); in i2c_mux_add_adapter()
417 if (mux_node) { in i2c_mux_add_adapter()
419 if (!of_property_read_u32(mux_node, "reg", &reg)) { in i2c_mux_add_adapter()
420 of_node_put(mux_node); in i2c_mux_add_adapter()
421 mux_node = NULL; in i2c_mux_add_adapter()
425 if (!mux_node) in i2c_mux_add_adapter()
426 mux_node = of_node_get(dev_node); in i2c_mux_add_adapter()
[all …]
/openbmc/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_i2c.c56 struct fwnode_handle *mux_node; in inv_mpu_i2c_aux_setup() local
70 mux_node = device_get_named_child_node(dev, "i2c-gate"); in inv_mpu_i2c_aux_setup()
71 if (mux_node != NULL) { in inv_mpu_i2c_aux_setup()
75 fwnode_handle_put(mux_node); in inv_mpu_i2c_aux_setup()
/openbmc/linux/drivers/dma/dw/
H A Drzn1-dmamux.c116 struct device_node *mux_node = pdev->dev.of_node; in rzn1_dmamux_probe() local
125 dmac_node = of_parse_phandle(mux_node, "dma-masters", 0); in rzn1_dmamux_probe()
139 return of_dma_router_register(mux_node, rzn1_dmamux_route_allocate, in rzn1_dmamux_probe()
/openbmc/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()
/openbmc/linux/include/linux/
H A Dmdio-mux.h24 struct device_node *mux_node,
/openbmc/linux/Documentation/devicetree/bindings/clock/st/
H A Dst,clkgen.txt20 mux_node {
/openbmc/linux/drivers/usb/typec/
H A Danx7411.c293 struct fwnode_handle *mux_node; member
1103 fwnode_handle_put(ctx->mux_node); in anx7411_unregister_mux()
1132 ctx->mux_node = device_get_named_child_node(dev, "mode_switch"); in anx7411_typec_switch_probe()
1133 if (!ctx->mux_node) { in anx7411_typec_switch_probe()
1139 ret = anx7411_register_mux(ctx, dev, ctx->mux_node); in anx7411_typec_switch_probe()
1142 fwnode_handle_put(ctx->mux_node); in anx7411_typec_switch_probe()