/linux-master/drivers/gpu/drm/ |
H A D | drm_bridge_connector.c | 204 fwnode_handle_put(connector->fwnode); 371 connector->fwnode = fwnode_handle_get(of_fwnode_handle(bridge->of_node));
|
/linux-master/include/linux/usb/ |
H A D | typec.h | 267 * @fwnode: Optional fwnode of the port 284 struct fwnode_handle *fwnode; member in struct:typec_capability 328 struct fwnode_handle *fwnode);
|
/linux-master/drivers/usb/typec/mux/ |
H A D | it5205.c | 223 sw_desc.fwnode = dev_fwnode(dev); 232 mux_desc.fwnode = dev_fwnode(dev);
|
/linux-master/drivers/irqchip/ |
H A D | irq-gic-v3.c | 54 struct fwnode_handle *fwnode; member in struct:gic_chip_data 1382 .fwnode = gic_data.fwnode, 1570 if (is_of_node(fwspec->fwnode)) { 1612 if (is_fwnode_irqchip(fwspec->fwnode)) { 1673 if (!is_of_node(fwspec->fwnode)) 1694 if (fwspec->fwnode != d->fwnode) 1702 if (!is_of_node(fwspec->fwnode)) 2005 gic_data.fwnode [all...] |
H A D | irq-loongson-pch-pic.c | 161 struct device_node *of_node = to_of_node(fwspec->fwnode); 197 parent_fwspec.fwnode = domain->parent->fwnode;
|
H A D | irq-meson-gpio.c | 436 if (is_of_node(fwspec->fwnode) && fwspec->param_count == 2) { 452 fwspec.fwnode = domain->parent->fwnode;
|
/linux-master/drivers/iio/adc/ |
H A D | rzg2l_adc.c | 305 struct fwnode_handle *fwnode; local 333 device_for_each_child_node(&pdev->dev, fwnode) { 334 ret = fwnode_property_read_u32(fwnode, "reg", &channel); 336 fwnode_handle_put(fwnode); 341 fwnode_handle_put(fwnode);
|
/linux-master/drivers/platform/chrome/ |
H A D | chromeos_laptop.c | 767 /* Create primary fwnode for the device - copies everything */ 769 info->fwnode = fwnode_create_software_node(i2c_dev->properties, NULL); 770 if (IS_ERR(info->fwnode)) { 771 error = PTR_ERR(info->fwnode); 786 if (!IS_ERR_OR_NULL(info->fwnode)) 787 fwnode_remove_software_node(info->fwnode);
|
/linux-master/drivers/base/test/ |
H A D | property-entry-test.c | 437 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node1); 448 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node2); 456 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node2); 471 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node1); 478 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node2);
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_csi2_bridge.c | 19 #include <media/v4l2-fwnode.h> 393 * the fwnode graph endpoint. And sensor drivers used on these devices 594 struct fwnode_handle *fwnode; local 600 * 2. If a secondary fwnode is already set exit early. 602 fwnode = dev_fwnode(dev); 603 if (fwnode && fwnode->secondary)
|
/linux-master/drivers/usb/typec/altmodes/ |
H A D | displayport.c | 727 struct fwnode_handle *fwnode; local 758 fwnode = dev_fwnode(alt->dev.parent->parent); /* typec_port fwnode */ 759 if (fwnode_property_present(fwnode, "displayport")) 760 dp->connector_fwnode = fwnode_find_reference(fwnode, "displayport", 0); 762 dp->connector_fwnode = fwnode_handle_get(fwnode); /* embedded DP */
|
/linux-master/include/linux/ |
H A D | of.h | 52 struct fwnode_handle fwnode; member in struct:device_node 118 fwnode_init(&node->fwnode, &of_fwnode_ops); 162 static inline bool is_of_node(const struct fwnode_handle *fwnode) argument 164 return !IS_ERR_OR_NULL(fwnode) && fwnode->ops == &of_fwnode_ops; 173 struct device_node, fwnode) : \ 182 &__of_fwnode_handle_node->fwnode : NULL; \ 470 static inline bool is_of_node(const struct fwnode_handle *fwnode) argument 475 static inline struct device_node *to_of_node(const struct fwnode_handle *fwnode) argument
|
H A D | msi.h | 555 /* Use dev->fwnode for MSI device domain creation */ 612 struct irq_domain *msi_create_irq_domain(struct fwnode_handle *fwnode, 644 struct irq_domain *platform_msi_create_irq_domain(struct fwnode_handle *fwnode, 700 struct irq_domain *pci_msi_create_irq_domain(struct fwnode_handle *fwnode,
|
/linux-master/drivers/pci/controller/ |
H A D | pcie-xilinx.c | 280 struct fwnode_handle *fwnode = dev_fwnode(pcie->dev); local 283 parent = irq_domain_create_linear(fwnode, XILINX_NUM_MSI_IRQS, 291 pcie->msi_domain = pci_msi_create_irq_domain(fwnode, &xilinx_msi_info, parent);
|
/linux-master/arch/arm/mach-exynos/ |
H A D | suspend.c | 141 if (is_of_node(fwspec->fwnode)) { 178 parent_fwspec.fwnode = domain->parent->fwnode;
|
/linux-master/arch/arm/mach-omap2/ |
H A D | omap-wakeupgen.c | 493 if (is_of_node(fwspec->fwnode)) { 532 parent_fwspec.fwnode = domain->parent->fwnode;
|
/linux-master/drivers/leds/flash/ |
H A D | leds-rt4505.c | 368 child = fwnode_get_next_available_child_node(client->dev.fwnode, NULL); 373 init_data.fwnode = child; 384 priv->v4l2_flash = v4l2_flash_init(priv->dev, init_data.fwnode,
|
H A D | leds-as3645a.c | 482 struct fwnode_handle *fwnode) 488 fwnode_for_each_child_node(fwnode, child) { 584 init_data.fwnode = flash->indicator_node; 614 init_data.fwnode = flash->flash_node; 481 as3645a_parse_node(struct as3645a *flash, struct fwnode_handle *fwnode) argument
|
/linux-master/drivers/gpio/ |
H A D | gpio-uniphier.c | 167 fwspec.fwnode = of_node_to_fwnode(chip->parent->of_node); 279 parent_fwspec.fwnode = domain->parent->fwnode;
|
/linux-master/drivers/staging/media/tegra-video/ |
H A D | vi.c | 24 #include <media/v4l2-fwnode.h> 1460 * Find the entity matching a given fwnode in an v4l2_async_notifier list 1464 const struct fwnode_handle *fwnode) 1472 if (entity->asd.match.fwnode == fwnode) 1496 ep = fwnode_graph_get_next_endpoint(entity->asd.match.fwnode, 1672 subdev->fwnode); 1680 to_of_node(entity->asd.match.fwnode)); 1697 struct fwnode_handle *fwnode) 1706 dev_dbg(vi->dev, "parsing node %pOF\n", to_of_node(fwnode)); 1463 tegra_vi_graph_find_entity(struct list_head *list, const struct fwnode_handle *fwnode) argument 1696 tegra_vi_graph_parse_one(struct tegra_vi_channel *chan, struct fwnode_handle *fwnode) argument 1758 struct fwnode_handle *fwnode = dev_fwnode(vi->dev); local [all...] |
/linux-master/drivers/net/phy/ |
H A D | phylink.c | 770 const struct fwnode_handle *fwnode) 779 fixed_node = fwnode_get_named_child_node(fwnode, "fixed-link"); 815 ret = fwnode_property_read_u32_array(fwnode, "fixed-link", 822 ret = fwnode_property_read_u32_array(fwnode, "fixed-link", 882 const struct fwnode_handle *fwnode) 888 dn = fwnode_get_named_child_node(fwnode, "fixed-link"); 889 if (dn || fwnode_property_present(fwnode, "fixed-link")) 893 if ((fwnode_property_read_string(fwnode, "managed", &managed) == 0 && 1589 const struct fwnode_handle *fwnode) 1594 if (!fwnode) 769 phylink_parse_fixedlink(struct phylink *pl, const struct fwnode_handle *fwnode) argument 881 phylink_parse_mode(struct phylink *pl, const struct fwnode_handle *fwnode) argument 1588 phylink_register_sfp(struct phylink *pl, const struct fwnode_handle *fwnode) argument 1627 phylink_create(struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops) argument 2004 phylink_fwnode_phy_connect(struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags) argument [all...] |
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-i2c.c | 27 if (client && !client->dev.of_node && !client->dev.fwnode)
|
H A D | v4l2-flash-led-class.c | 674 sd->fwnode = fwn ? fwn : dev_fwnode(dev); 690 fwnode_handle_get(sd->fwnode); 699 fwnode_handle_put(sd->fwnode); 737 fwnode_handle_put(sd->fwnode);
|
/linux-master/drivers/soc/fsl/ |
H A D | rcpm.c | 92 if (is_of_node(dev->fwnode))
|
/linux-master/drivers/leds/ |
H A D | leds-bd2606mvv.c | 124 init_data.fwnode = led_fwnodes[i];
|