Home
last modified time | relevance | path

Searched refs:of_fwnode_handle (Results 1 – 25 of 137) sorted by relevance

123456

/openbmc/linux/drivers/net/mdio/
H A Dof_mdio.c33 return fwnode_get_phy_id(of_fwnode_handle(device), phy_id); in of_get_phy_id()
40 of_fwnode_handle(child), in of_mdiobus_phy_device_register()
48 return fwnode_mdiobus_register_phy(mdio, of_fwnode_handle(child), addr); in of_mdiobus_register_phy()
54 struct fwnode_handle *fwnode = of_fwnode_handle(child); in of_mdiobus_register_device()
168 device_set_node(&mdio->dev, of_fwnode_handle(np)); in __of_mdiobus_register()
253 return fwnode_mdio_find_device(of_fwnode_handle(np)); in of_mdio_find_device()
266 return fwnode_phy_find_device(of_fwnode_handle(phy_np)); in of_phy_find_device()
/openbmc/linux/drivers/of/
H A Dproperty.c868 return of_fwnode_handle(of_node_get(to_of_node(fwnode))); in of_fwnode_get()
955 return of_fwnode_handle(of_get_parent(to_of_node(fwnode))); in of_fwnode_get_parent()
962 return of_fwnode_handle(of_get_next_available_child(to_of_node(fwnode), in of_fwnode_get_next_child_node()
975 return of_fwnode_handle(child); in of_fwnode_get_named_child_node()
1004 args->fwnode = of_fwnode_handle(of_args.np); in of_fwnode_get_reference_args()
1016 return of_fwnode_handle(of_graph_get_next_endpoint(to_of_node(fwnode), in of_fwnode_graph_get_next_endpoint()
1023 return of_fwnode_handle( in of_fwnode_graph_get_remote_endpoint()
1039 return of_fwnode_handle(np); in of_fwnode_graph_get_port_parent()
1041 return of_fwnode_handle(of_get_next_parent(np)); in of_fwnode_graph_get_port_parent()
1074 if (of_fwnode_handle(tmp_np)->dev) { in of_link_to_phandle()
[all …]
/openbmc/linux/drivers/media/platform/xilinx/
H A Dxilinx-vipp.c127 if (link.remote_node == of_fwnode_handle(xdev->dev->of_node)) { in xvip_graph_build_one()
216 ret = v4l2_fwnode_parse_link(of_fwnode_handle(ep), &link); in xvip_graph_build_dma()
364 if (remote == of_fwnode_handle(xdev->dev->of_node) || in xvip_graph_parse_one()
399 ret = xvip_graph_parse_one(xdev, of_fwnode_handle(xdev->dev->of_node)); in xvip_graph_parse()
/openbmc/linux/drivers/staging/media/imx/
H A Dimx-media-of.c33 of_fwnode_handle(csi_np), in imx_media_of_add_csi()
/openbmc/linux/drivers/regulator/
H A Dtps65132-regulator.c139 rpdata->en_gpiod = devm_fwnode_gpiod_get(tps->dev, of_fwnode_handle(np), in tps65132_of_parse_cb()
152 of_fwnode_handle(np), in tps65132_of_parse_cb()
H A Daw37503-regulator.c117 rpdata->en_gpiod = devm_fwnode_gpiod_get(chip->dev, of_fwnode_handle(np), in aw37503_of_parse_cb()
/openbmc/linux/drivers/staging/media/tegra-video/
H A Dvip.c132 fwh = of_fwnode_handle(ep); in tegra_vip_channel_of_parse()
170 subdev->fwnode = of_fwnode_handle(vip->chan.of_node); in tegra_vip_channel_init()
/openbmc/linux/arch/arm/mach-mvebu/
H A Dpm-board.c99 pic_gpios[i] = fwnode_gpiod_get_index(of_fwnode_handle(np), in mvebu_armada_pm_init()
/openbmc/linux/arch/powerpc/platforms/85xx/
H A Dsgy_cts1000.c68 halt_gpio = fwnode_gpiod_get_index(of_fwnode_handle(halt_node), in __gpio_halt_probe()
/openbmc/linux/drivers/leds/
H A Dleds-syscon.c89 init_data.fwnode = of_fwnode_handle(np); in syscon_led_probe()
H A Dleds-pm8058.c127 init_data.fwnode = of_fwnode_handle(np); in pm8058_led_probe()
H A Dleds-bcm6358.c114 init_data.fwnode = of_fwnode_handle(nc); in bcm6358_led()
H A Dleds-tlc591xx.c189 init_data.fwnode = of_fwnode_handle(child); in tlc591xx_probe()
/openbmc/linux/include/linux/
H A Di2c.h1025 return i2c_find_device_by_fwnode(of_fwnode_handle(node)); in of_find_i2c_device_by_node()
1031 return i2c_find_adapter_by_fwnode(of_fwnode_handle(node)); in of_find_i2c_adapter_by_node()
1037 return i2c_get_adapter_by_fwnode(of_fwnode_handle(node)); in of_get_i2c_adapter_by_node()
/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c323 state = led_init_default_state_get(of_fwnode_handle(led)); in hellcreek_led_setup()
350 state = led_init_default_state_get(of_fwnode_handle(led)); in hellcreek_led_setup()
/openbmc/linux/drivers/leds/flash/
H A Dleds-aat1290.c495 init_data.fwnode = of_fwnode_handle(sub_node); in aat1290_led_probe()
507 led->v4l2_flash = v4l2_flash_init(dev, of_fwnode_handle(sub_node), in aat1290_led_probe()
/openbmc/linux/drivers/i2c/
H A Di2c-core-of.c53 info->fwnode = of_fwnode_handle(node); in of_i2c_get_board_info()
/openbmc/linux/drivers/irqchip/
H A Dirq-riscv-intc.c214 fwnode_dev_initialized(of_fwnode_handle(node), true); in riscv_intc_init()
/openbmc/linux/drivers/staging/media/deprecated/atmel/
H A Datmel-sama7g5-isc.c336 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in xisc_parse_dt()
498 of_fwnode_handle(subdev_entity->epn); in microchip_xisc_probe()
H A Datmel-sama5d2-isc.c350 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in isc_parse_dt()
508 of_fwnode_handle(subdev_entity->epn); in atmel_isc_probe()
/openbmc/linux/drivers/media/platform/microchip/
H A Dmicrochip-sama5d2-isc.c370 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in isc_parse_dt()
528 of_fwnode_handle(subdev_entity->epn); in microchip_isc_probe()
H A Dmicrochip-sama7g5-isc.c356 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in xisc_parse_dt()
518 of_fwnode_handle(subdev_entity->epn); in microchip_xisc_probe()
/openbmc/linux/drivers/pci/
H A Dof.c37 device_set_node(&dev->dev, of_fwnode_handle(node)); in pci_set_of_node()
59 device_set_node(&bus->dev, of_fwnode_handle(node)); in pci_set_bus_of_node()
/openbmc/linux/drivers/gpu/drm/tegra/
H A Doutput.c140 of_fwnode_handle(output->of_node), in tegra_output_probe()
/openbmc/linux/arch/powerpc/platforms/44x/
H A Dwarp.c177 gpio = fwnode_gpiod_get_index(of_fwnode_handle(child), in pika_setup_leds()

123456