Home
last modified time | relevance | path

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

1234567

/linux/drivers/net/mdio/
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/drivers/of/
A Dproperty.c866 return of_fwnode_handle(of_node_get(to_of_node(fwnode))); in of_fwnode_get()
953 return of_fwnode_handle(of_get_parent(to_of_node(fwnode))); in of_fwnode_get_parent()
960 return of_fwnode_handle(of_get_next_available_child(to_of_node(fwnode), in of_fwnode_get_next_child_node()
973 return of_fwnode_handle(child); in of_fwnode_get_named_child_node()
1002 args->fwnode = of_fwnode_handle(of_args.np); in of_fwnode_get_reference_args()
1014 return of_fwnode_handle(of_graph_get_next_endpoint(to_of_node(fwnode), in of_fwnode_graph_get_next_endpoint()
1021 return of_fwnode_handle( in of_fwnode_graph_get_remote_endpoint()
1037 return of_fwnode_handle(np); in of_fwnode_graph_get_port_parent()
1039 return of_fwnode_handle(of_get_next_parent(np)); in of_fwnode_graph_get_port_parent()
1071 if (of_fwnode_handle(tmp_np)->dev) in of_link_to_phandle()
[all …]
A Dplatform.c139 device_set_node(&dev->dev, of_fwnode_handle(of_node_get(np))); in of_device_alloc()
239 device_set_node(&dev->dev, of_fwnode_handle(node)); in of_amba_device_create()
/linux/drivers/media/platform/xilinx/
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/drivers/staging/media/imx/
A Dimx-media-of.c33 of_fwnode_handle(csi_np), in imx_media_of_add_csi()
/linux/drivers/regulator/
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()
A Daw37503-regulator.c117 rpdata->en_gpiod = devm_fwnode_gpiod_get(chip->dev, of_fwnode_handle(np), in aw37503_of_parse_cb()
/linux/drivers/staging/media/tegra-video/
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/arch/powerpc/platforms/85xx/
A Dsgy_cts1000.c68 halt_gpio = fwnode_gpiod_get_index(of_fwnode_handle(halt_node), in __gpio_halt_probe()
/linux/arch/arm/mach-mvebu/
A Dpm-board.c99 pic_gpios[i] = fwnode_gpiod_get_index(of_fwnode_handle(np), in mvebu_armada_pm_init()
/linux/drivers/leds/
A Dleds-syscon.c90 init_data.fwnode = of_fwnode_handle(np); in syscon_led_probe()
A Dleds-pm8058.c127 init_data.fwnode = of_fwnode_handle(np); in pm8058_led_probe()
A Dleds-bcm6358.c114 init_data.fwnode = of_fwnode_handle(nc); in bcm6358_led()
A Dleds-tlc591xx.c189 init_data.fwnode = of_fwnode_handle(child); in tlc591xx_probe()
/linux/drivers/staging/media/starfive/camss/
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/include/linux/
A Di2c.h1014 return i2c_find_device_by_fwnode(of_fwnode_handle(node)); in of_find_i2c_device_by_node()
1020 return i2c_find_adapter_by_fwnode(of_fwnode_handle(node)); in of_find_i2c_adapter_by_node()
1026 return i2c_get_adapter_by_fwnode(of_fwnode_handle(node)); in of_get_i2c_adapter_by_node()
/linux/drivers/net/dsa/hirschmann/
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/drivers/nvmem/
A Dlayouts.c102 device_set_node(dev, of_fwnode_handle(of_node_get(np))); in nvmem_layout_create_device()
/linux/drivers/leds/flash/
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/drivers/i2c/
A Di2c-core-of.c53 info->fwnode = of_fwnode_handle(node); in of_i2c_get_board_info()
/linux/drivers/staging/media/deprecated/atmel/
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()
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/drivers/media/platform/microchip/
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()
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()
/linux/drivers/media/i2c/
A Dst-mipid02.c730 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(ep_node), &ep); in mipid02_parse_rx_ep()
751 of_fwnode_handle(ep_node), in mipid02_parse_rx_ep()
791 ret = v4l2_fwnode_endpoint_parse(of_fwnode_handle(ep_node), &ep); in mipid02_parse_tx_ep()

Completed in 61 milliseconds

1234567