Home
last modified time | relevance | path

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

123456

/linux-6.6.21/drivers/net/mdio/
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()
/linux-6.6.21/drivers/of/
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 …]
/linux-6.6.21/drivers/media/platform/xilinx/
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()
/linux-6.6.21/drivers/staging/media/imx/
Dimx-media-of.c33 of_fwnode_handle(csi_np), in imx_media_of_add_csi()
/linux-6.6.21/drivers/regulator/
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()
Daw37503-regulator.c117 rpdata->en_gpiod = devm_fwnode_gpiod_get(chip->dev, of_fwnode_handle(np), in aw37503_of_parse_cb()
/linux-6.6.21/drivers/staging/media/tegra-video/
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()
/linux-6.6.21/arch/arm/mach-mvebu/
Dpm-board.c99 pic_gpios[i] = fwnode_gpiod_get_index(of_fwnode_handle(np), in mvebu_armada_pm_init()
/linux-6.6.21/arch/powerpc/platforms/85xx/
Dsgy_cts1000.c68 halt_gpio = fwnode_gpiod_get_index(of_fwnode_handle(halt_node), in __gpio_halt_probe()
/linux-6.6.21/drivers/leds/
Dleds-syscon.c89 init_data.fwnode = of_fwnode_handle(np); in syscon_led_probe()
Dleds-pm8058.c127 init_data.fwnode = of_fwnode_handle(np); in pm8058_led_probe()
Dleds-tlc591xx.c189 init_data.fwnode = of_fwnode_handle(child); in tlc591xx_probe()
Dleds-bcm6358.c114 init_data.fwnode = of_fwnode_handle(nc); in bcm6358_led()
/linux-6.6.21/drivers/irqchip/
Dirq-riscv-intc.c165 fwnode_dev_initialized(of_fwnode_handle(node), true); in riscv_intc_init()
/linux-6.6.21/include/linux/
Di2c.h978 return i2c_find_device_by_fwnode(of_fwnode_handle(node)); in of_find_i2c_device_by_node()
984 return i2c_find_adapter_by_fwnode(of_fwnode_handle(node)); in of_find_i2c_adapter_by_node()
990 return i2c_get_adapter_by_fwnode(of_fwnode_handle(node)); in of_get_i2c_adapter_by_node()
/linux-6.6.21/drivers/net/dsa/hirschmann/
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()
/linux-6.6.21/drivers/leds/flash/
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()
/linux-6.6.21/drivers/i2c/
Di2c-core-of.c53 info->fwnode = of_fwnode_handle(node); in of_i2c_get_board_info()
/linux-6.6.21/drivers/staging/media/deprecated/atmel/
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()
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()
/linux-6.6.21/drivers/media/platform/microchip/
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()
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()
/linux-6.6.21/drivers/pci/
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()
/linux-6.6.21/drivers/gpu/drm/tegra/
Doutput.c140 of_fwnode_handle(output->of_node), in tegra_output_probe()
/linux-6.6.21/arch/powerpc/platforms/44x/
Dwarp.c177 gpio = fwnode_gpiod_get_index(of_fwnode_handle(child), in pika_setup_leds()

123456