Home
last modified time | relevance | path

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

1234567

/linux-6.15/drivers/net/mdio/
H A Dof_mdio.c34 return fwnode_get_phy_id(of_fwnode_handle(device), phy_id); in of_get_phy_id()
41 of_fwnode_handle(child), in of_mdiobus_phy_device_register()
49 return fwnode_mdiobus_register_phy(mdio, of_fwnode_handle(child), addr); in of_mdiobus_register_phy()
55 struct fwnode_handle *fwnode = of_fwnode_handle(child); in of_mdiobus_register_device()
216 device_set_node(&mdio->dev, of_fwnode_handle(np)); in __of_mdiobus_register()
287 return fwnode_mdio_find_device(of_fwnode_handle(np)); in of_mdio_find_device()
300 return fwnode_phy_find_device(of_fwnode_handle(phy_np)); in of_phy_find_device()
/linux-6.15/drivers/of/
H A Dproperty.c998 return of_fwnode_handle(of_node_get(to_of_node(fwnode))); in of_fwnode_get()
1091 return of_fwnode_handle(of_get_parent(to_of_node(fwnode))); in of_fwnode_get_parent()
1098 return of_fwnode_handle(of_get_next_available_child(to_of_node(fwnode), in of_fwnode_get_next_child_node()
1111 return of_fwnode_handle(child); in of_fwnode_get_named_child_node()
1140 args->fwnode = of_fwnode_handle(of_args.np); in of_fwnode_get_reference_args()
1152 return of_fwnode_handle(of_graph_get_next_endpoint(to_of_node(fwnode), in of_fwnode_graph_get_next_endpoint()
1159 return of_fwnode_handle( in of_fwnode_graph_get_remote_endpoint()
1175 return of_fwnode_handle(np); in of_fwnode_graph_get_port_parent()
1177 return of_fwnode_handle(of_get_next_parent(np)); in of_fwnode_graph_get_port_parent()
1209 if (of_fwnode_handle(tmp_np)->dev) in of_link_to_phandle()
[all …]
H A Dplatform.c129 device_set_node(&dev->dev, of_fwnode_handle(of_node_get(np))); in of_device_alloc()
229 device_set_node(&dev->dev, of_fwnode_handle(node)); in of_amba_device_create()
/linux-6.15/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()
211 ret = v4l2_fwnode_parse_link(of_fwnode_handle(ep), &link); in xvip_graph_build_dma()
359 if (remote == of_fwnode_handle(xdev->dev->of_node) || in xvip_graph_parse_one()
394 ret = xvip_graph_parse_one(xdev, of_fwnode_handle(xdev->dev->of_node)); in xvip_graph_parse()
/linux-6.15/drivers/staging/media/imx/
H A Dimx-media-of.c33 of_fwnode_handle(csi_np), in imx_media_of_add_csi()
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/arch/powerpc/platforms/85xx/
H A Dsgy_cts1000.c68 halt_gpio = fwnode_gpiod_get_index(of_fwnode_handle(halt_node), in __gpio_halt_probe()
/linux-6.15/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()
/linux-6.15/drivers/leds/
H A Dleds-syscon.c90 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-tlc591xx.c189 init_data.fwnode = of_fwnode_handle(child); in tlc591xx_probe()
H A Dleds-bcm6358.c114 init_data.fwnode = of_fwnode_handle(nc); in bcm6358_led()
/linux-6.15/drivers/staging/media/starfive/camss/
H A Dstf-camss.c75 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(node), &vep); in stfcamss_of_parse_endpoint_node()
104 of_fwnode_handle(node), in stfcamss_of_parse_ports()
/linux-6.15/include/linux/
H A Di2c.h1032 return i2c_find_device_by_fwnode(of_fwnode_handle(node)); in of_find_i2c_device_by_node()
1038 return i2c_find_adapter_by_fwnode(of_fwnode_handle(node)); in of_find_i2c_adapter_by_node()
1044 return i2c_get_adapter_by_fwnode(of_fwnode_handle(node)); in of_get_i2c_adapter_by_node()
/linux-6.15/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c328 state = led_init_default_state_get(of_fwnode_handle(led)); in hellcreek_led_setup()
355 state = led_init_default_state_get(of_fwnode_handle(led)); in hellcreek_led_setup()
/linux-6.15/drivers/nvmem/
H A Dlayouts.c102 device_set_node(dev, of_fwnode_handle(of_node_get(np))); in nvmem_layout_create_device()
/linux-6.15/drivers/leds/flash/
H A Dleds-aat1290.c491 init_data.fwnode = of_fwnode_handle(sub_node); in aat1290_led_probe()
503 led->v4l2_flash = v4l2_flash_init(dev, of_fwnode_handle(sub_node), in aat1290_led_probe()
/linux-6.15/drivers/net/dsa/realtek/
H A Drtl8366rb-leds.c167 of_fwnode_handle(led_np)); in rtl8366rb_setup_leds()
/linux-6.15/drivers/i2c/
H A Di2c-core-of.c53 info->fwnode = of_fwnode_handle(node); in of_i2c_get_board_info()
/linux-6.15/drivers/staging/media/deprecated/atmel/
H A Datmel-sama5d2-isc.c346 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in isc_parse_dt()
504 of_fwnode_handle(subdev_entity->epn); in atmel_isc_probe()
H A Datmel-sama7g5-isc.c332 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in xisc_parse_dt()
494 of_fwnode_handle(subdev_entity->epn); in microchip_xisc_probe()
/linux-6.15/drivers/media/platform/microchip/
H A Dmicrochip-sama5d2-isc.c366 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in isc_parse_dt()
523 of_fwnode_handle(subdev_entity->epn); in microchip_isc_probe()
H A Dmicrochip-sama7g5-isc.c352 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(epn), in xisc_parse_dt()
513 of_fwnode_handle(subdev_entity->epn); in microchip_xisc_probe()

1234567