/openbmc/linux/drivers/net/mdio/ |
H A D | of_mdio.c | 33 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 D | property.c | 868 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 D | xilinx-vipp.c | 127 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 D | imx-media-of.c | 33 of_fwnode_handle(csi_np), in imx_media_of_add_csi()
|
/openbmc/linux/drivers/regulator/ |
H A D | tps65132-regulator.c | 139 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 D | aw37503-regulator.c | 117 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 D | vip.c | 132 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 D | pm-board.c | 99 pic_gpios[i] = fwnode_gpiod_get_index(of_fwnode_handle(np), in mvebu_armada_pm_init()
|
/openbmc/linux/arch/powerpc/platforms/85xx/ |
H A D | sgy_cts1000.c | 68 halt_gpio = fwnode_gpiod_get_index(of_fwnode_handle(halt_node), in __gpio_halt_probe()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-syscon.c | 89 init_data.fwnode = of_fwnode_handle(np); in syscon_led_probe()
|
H A D | leds-pm8058.c | 127 init_data.fwnode = of_fwnode_handle(np); in pm8058_led_probe()
|
H A D | leds-bcm6358.c | 114 init_data.fwnode = of_fwnode_handle(nc); in bcm6358_led()
|
H A D | leds-tlc591xx.c | 189 init_data.fwnode = of_fwnode_handle(child); in tlc591xx_probe()
|
/openbmc/linux/include/linux/ |
H A D | i2c.h | 1025 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 D | hellcreek_ptp.c | 323 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 D | leds-aat1290.c | 495 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 D | i2c-core-of.c | 53 info->fwnode = of_fwnode_handle(node); in of_i2c_get_board_info()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-riscv-intc.c | 214 fwnode_dev_initialized(of_fwnode_handle(node), true); in riscv_intc_init()
|
/openbmc/linux/drivers/staging/media/deprecated/atmel/ |
H A D | atmel-sama7g5-isc.c | 336 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 D | atmel-sama5d2-isc.c | 350 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 D | microchip-sama5d2-isc.c | 370 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 D | microchip-sama7g5-isc.c | 356 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 D | of.c | 37 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 D | output.c | 140 of_fwnode_handle(output->of_node), in tegra_output_probe()
|
/openbmc/linux/arch/powerpc/platforms/44x/ |
H A D | warp.c | 177 gpio = fwnode_gpiod_get_index(of_fwnode_handle(child), in pika_setup_leds()
|