/linux-master/lib/ |
H A D | logic_pio.c | 42 if (!new_range || !new_range->fwnode || !new_range->size || 51 if (range->fwnode == new_range->fwnode) { 119 * @fwnode: FW node handle associated with logical PIO range 123 * Traverse the io_range_list to find the registered node for @fwnode. 125 struct logic_pio_hwaddr *find_io_range_by_fwnode(struct fwnode_handle *fwnode) argument 131 if (range->fwnode == fwnode) { 183 * @fwnode: FW node reference for the host 189 unsigned long logic_pio_trans_hwaddr(struct fwnode_handle *fwnode, argument [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_acpi.c | 295 struct fwnode_handle *fwnode = NULL; local 302 fwnode = device_get_next_child_node(drm_dev->dev, fwnode); 303 if (!fwnode) 317 connector->fwnode = 323 connector->fwnode = fwnode_handle_get(fwnode); 329 * device_get_next_child_node() takes a reference on the fwnode, if 331 * put this, otherwise fwnode is NULL and the put is a no-op. 333 fwnode_handle_put(fwnode); [all...] |
/linux-master/sound/soc/loongson/ |
H A D | loongson_card.c | 74 struct fwnode_handle *fwnode = card->dev->fwnode; local 83 ret = acpi_node_get_property_reference(fwnode, "cpu", 0, &args); 84 if (ret || !is_acpi_device_node(args.fwnode)) { 88 adev = to_acpi_device_node(args.fwnode); 97 ret = acpi_node_get_property_reference(fwnode, "codec", 0, &args); 98 if (ret || !is_acpi_device_node(args.fwnode)) { 102 adev = to_acpi_device_node(args.fwnode);
|
H A D | loongson_i2s_pci.c | 76 const struct fwnode_handle *fwnode = pdev->dev.fwnode; local 116 tx_data->irq = fwnode_irq_get_byname(fwnode, "tx"); 122 rx_data->irq = fwnode_irq_get_byname(fwnode, "rx");
|
/linux-master/drivers/usb/typec/ |
H A D | port-mapper.c | 39 static int typec_port_compare(struct device *dev, void *fwnode) argument 41 return device_match_fwnode(dev, fwnode);
|
/linux-master/kernel/irq/ |
H A D | ipi-mux.c | 156 struct fwnode_handle *fwnode; local 170 fwnode = irq_domain_alloc_named_fwnode("IPI-Mux"); 171 if (!fwnode) { 172 pr_err("unable to create IPI Mux fwnode\n"); 177 domain = irq_domain_create_linear(fwnode, nr_ipi, 202 irq_domain_free_fwnode(fwnode);
|
/linux-master/drivers/usb/typec/tcpm/qcom/ |
H A D | qcom_pmic_typec.c | 91 tcpm->tcpc.fwnode = device_get_named_child_node(tcpm->dev, "connector"); 92 if (!tcpm->tcpc.fwnode) 95 bridge_dev = drm_dp_hpd_bridge_register(tcpm->dev, to_of_node(tcpm->tcpc.fwnode)); 116 fwnode_remove_software_node(tcpm->tcpc.fwnode); 128 fwnode_remove_software_node(tcpm->tcpc.fwnode);
|
/linux-master/drivers/irqchip/ |
H A D | irq-ixp4xx.c | 135 if (is_of_node(fwspec->fwnode) && fwspec->param_count == 2) { 141 if (is_fwnode_irqchip(fwspec->fwnode)) { 202 * @fwnode: Corresponding fwnode abstraction for this controller 207 struct fwnode_handle *fwnode, 238 ixi->domain = irq_domain_create_linear(fwnode, nr_irqs, 256 struct fwnode_handle *fwnode; local 265 fwnode = of_node_to_fwnode(np); 272 ret = ixp4xx_irq_setup(ixi, base, fwnode, is_356); 205 ixp4xx_irq_setup(struct ixp4xx_irq *ixi, void __iomem *irqbase, struct fwnode_handle *fwnode, bool is_356) argument
|
H A D | irq-gic-v3-its-platform-msi.c | 86 static int __init its_pmsi_init_one(struct fwnode_handle *fwnode, argument 91 parent = irq_find_matching_fwnode(fwnode, DOMAIN_BUS_NEXUS); 97 if (!platform_msi_create_irq_domain(fwnode, &its_pmsi_domain_info,
|
H A D | irq-gic-v3-mbi.c | 53 if (!is_of_node(domain->parent->fwnode)) 61 fwspec.fwnode = domain->parent->fwnode; 185 *pci_domain = pci_msi_create_irq_domain(nexus_domain->parent->fwnode, 236 nexus_domain = irq_domain_create_hierarchy(parent, 0, 0, parent->fwnode, 245 plat_domain = platform_msi_create_irq_domain(parent->fwnode, 261 int __init mbi_init(struct fwnode_handle *fwnode, struct irq_domain *parent) argument 267 np = to_of_node(fwnode);
|
/linux-master/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-core.c | 21 #include <media/v4l2-fwnode.h> 140 struct fwnode_handle *ep, *fwnode; local 148 fwnode = fwnode_graph_get_remote_endpoint(ep); 152 dev_err(cru->dev, "Failed to parse %pOF\n", to_of_node(fwnode)); 157 if (!of_device_is_available(to_of_node(fwnode))) { 159 to_of_node(fwnode)); 164 asd = v4l2_async_nf_add_fwnode(&cru->notifier, fwnode, 174 to_of_node(fwnode), vep.base.id); 176 fwnode_handle_put(fwnode);
|
/linux-master/drivers/soc/qcom/ |
H A D | pmic_glink_altmode.c | 412 struct fwnode_handle *fwnode; local 433 device_for_each_child_node(dev, fwnode) { 434 ret = fwnode_property_read_u32(fwnode, "reg", &port); 436 dev_err(dev, "missing reg property of %pOFn\n", fwnode); 437 fwnode_handle_put(fwnode); 448 fwnode_handle_put(fwnode); 457 alt_port->bridge = devm_drm_dp_hpd_bridge_alloc(dev, to_of_node(fwnode)); 459 fwnode_handle_put(fwnode); 467 alt_port->typec_mux = fwnode_typec_mux_get(fwnode); 469 fwnode_handle_put(fwnode); [all...] |
/linux-master/drivers/base/ |
H A D | core.c | 15 #include <linux/fwnode.h> 55 * Create a fwnode link between fwnode handles @con and @sup. The fwnode link 56 * represents the detail that the firmware lists @sup fwnode as supplying a 59 * The driver core will use the fwnode link to create a device link between the 61 * driver core will automatically delete the fwnode link between @con and @sup 64 * Attempts to create duplicate links between the same pair of fwnode handles 90 pr_debug("%pfwf Linked as a fwnode consumer to %pfwf\n", 115 pr_debug("%pfwf Dropping the fwnode lin 141 fwnode_links_purge_suppliers(struct fwnode_handle *fwnode) argument 157 fwnode_links_purge_consumers(struct fwnode_handle *fwnode) argument 173 fwnode_links_purge(struct fwnode_handle *fwnode) argument 179 fw_devlink_purge_absent_suppliers(struct fwnode_handle *fwnode) argument 225 __fw_devlink_pickup_dangling_consumers(struct fwnode_handle *fwnode, struct fwnode_handle *new_sup) argument 1021 fwnode_links_check_suppliers( struct fwnode_handle *fwnode) argument 1732 fw_devlink_parse_fwnode(struct fwnode_handle *fwnode) argument 1741 fw_devlink_parse_fwtree(struct fwnode_handle *fwnode) argument 1893 fwnode_init_without_drv(struct fwnode_handle *fwnode) argument 1908 fwnode_ancestor_init_without_drv(struct fwnode_handle *fwnode) argument 1964 fwnode_get_next_parent_dev(const struct fwnode_handle *fwnode) argument 2233 struct fwnode_handle *fwnode = dev->fwnode; local 2304 __fw_devlink_link_to_suppliers(struct device *dev, struct fwnode_handle *fwnode) argument 2334 struct fwnode_handle *fwnode = dev->fwnode; local 5078 fwnode_is_primary(struct fwnode_handle *fwnode) argument 5097 set_primary_fwnode(struct device *dev, struct fwnode_handle *fwnode) argument 5137 set_secondary_fwnode(struct device *dev, struct fwnode_handle *fwnode) argument 5165 device_set_node(struct device *dev, struct fwnode_handle *fwnode) argument 5184 device_match_fwnode(struct device *dev, const void *fwnode) argument [all...] |
/linux-master/drivers/leds/ |
H A D | leds-lm36274.c | 83 init_data->fwnode = child; 131 fwnode_handle_put(init_data.fwnode); 148 init_data.fwnode); 150 fwnode_handle_put(init_data.fwnode);
|
/linux-master/drivers/media/platform/sunxi/sun6i-mipi-csi2/ |
H A D | sun6i_mipi_csi2.h | 14 #include <media/v4l2-fwnode.h>
|
/linux-master/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/ |
H A D | sun8i_a83t_mipi_csi2.h | 15 #include <media/v4l2-fwnode.h>
|
/linux-master/drivers/usb/typec/mux/ |
H A D | pi3usb30532.c | 137 sw_desc.fwnode = dev->fwnode; 148 mux_desc.fwnode = dev->fwnode;
|
/linux-master/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_proc.h | 11 #include <media/v4l2-fwnode.h>
|
/linux-master/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_csi_bridge.h | 11 #include <media/v4l2-fwnode.h>
|
/linux-master/arch/mips/loongson64/ |
H A D | init.c | 152 static int __init add_legacy_isa_io(struct fwnode_handle *fwnode, resource_size_t hw_start, argument 163 range->fwnode = fwnode; 211 if (add_legacy_isa_io(&np->fwnode, range.cpu_addr, range.size))
|
/linux-master/include/linux/irqchip/ |
H A D | arm-gic-v4.h | 20 struct fwnode_handle *fwnode; member in struct:its_vm 54 struct fwnode_handle *fwnode; member in struct:its_vpe::__anon801::__anon803
|
/linux-master/arch/x86/include/asm/ |
H A D | pci.h | 24 void *fwnode; /* IRQ domain for MSI assignment */ member in struct:pci_sysdata 57 return to_pci_sysdata(bus)->fwnode;
|
/linux-master/sound/soc/intel/boards/ |
H A D | sof_sdw_rt_amp.c | 107 struct fwnode_handle *fwnode; local 123 fwnode = fwnode_create_software_node(props, NULL); 124 if (IS_ERR(fwnode)) 125 return PTR_ERR(fwnode); 127 ret = device_add_software_node(sdw_dev, to_software_node(fwnode)); 129 fwnode_handle_put(fwnode);
|
H A D | sof_sdw_rt_sdca_jack_common.c | 28 struct fwnode_handle *fwnode; local 36 fwnode = fwnode_create_software_node(props, NULL); 37 if (IS_ERR(fwnode)) 38 return PTR_ERR(fwnode); 40 ret = device_add_software_node(sdw_dev, to_software_node(fwnode)); 42 fwnode_handle_put(fwnode);
|
/linux-master/include/linux/ |
H A D | acpi.h | 57 #define ACPI_COMPANION(dev) to_acpi_device_node((dev)->fwnode) 61 #define ACPI_HANDLE_FWNODE(fwnode) \ 62 acpi_device_handle(to_acpi_device_node(fwnode)) 66 struct fwnode_handle *fwnode; local 68 fwnode = kzalloc(sizeof(struct fwnode_handle), GFP_KERNEL); 69 if (!fwnode) 72 fwnode_init(fwnode, &acpi_static_fwnode_ops); 74 return fwnode; 77 static inline void acpi_free_fwnode_static(struct fwnode_handle *fwnode) argument 79 if (WARN_ON(!is_acpi_static_node(fwnode))) 815 is_acpi_node(const struct fwnode_handle *fwnode) argument 820 is_acpi_device_node(const struct fwnode_handle *fwnode) argument 825 to_acpi_device_node(const struct fwnode_handle *fwnode) argument 830 is_acpi_data_node(const struct fwnode_handle *fwnode) argument 835 to_acpi_data_node(const struct fwnode_handle *fwnode) argument 840 acpi_data_node_match(const struct fwnode_handle *fwnode, const char *name) argument 1282 acpi_node_get_property_reference( const struct fwnode_handle *fwnode, const char *name, size_t index, struct fwnode_reference_args *args) argument 1380 __acpi_node_get_property_reference(const struct fwnode_handle *fwnode, const char *name, size_t index, size_t num_args, struct fwnode_reference_args *args) argument 1388 acpi_node_get_property_reference(const struct fwnode_handle *fwnode, const char *name, size_t index, struct fwnode_reference_args *args) argument 1395 acpi_node_prop_get(const struct fwnode_handle *fwnode, const char *propname, void **valptr) argument 1403 acpi_get_next_subnode(const struct fwnode_handle *fwnode, struct fwnode_handle *child) argument 1410 acpi_graph_get_next_endpoint(const struct fwnode_handle *fwnode, struct fwnode_handle *prev) argument 1417 acpi_graph_get_remote_endpoint(const struct fwnode_handle *fwnode, struct fwnode_handle **remote, struct fwnode_handle **port, struct fwnode_handle **endpoint) argument [all...] |