Home
last modified time | relevance | path

Searched refs:dev_fwnode (Results 1 – 25 of 255) sorted by relevance

1234567891011

/linux/drivers/base/
H A Dproperty.c48 return fwnode_property_present(dev_fwnode(dev), propname); in device_property_present()
90 return fwnode_property_read_bool(dev_fwnode(dev), propname); in device_property_read_bool()
143 return fwnode_property_read_u8_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u8_array()
171 return fwnode_property_read_u16_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u16_array()
199 return fwnode_property_read_u32_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u32_array()
227 return fwnode_property_read_u64_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u64_array()
255 return fwnode_property_read_string_array(dev_fwnode(dev), propname, val, nval); in device_property_read_string_array()
277 return fwnode_property_read_string(dev_fwnode(dev), propname, val); in device_property_read_string()
299 return fwnode_property_match_string(dev_fwnode(dev), propname, string); in device_property_match_string()
865 return fwnode_get_next_child_node(dev_fwnode(dev), child); in device_get_next_child_node()
[all …]
H A Dplatform.c158 struct fwnode_handle *fwnode = dev_fwnode(&dev->dev); in get_irq_affinity()
193 struct fwnode_handle *fwnode = dev_fwnode(&dev->dev); in platform_get_irq_affinity()
357 if (is_acpi_device_node(dev_fwnode(dev))) in devm_platform_get_irqs_affinity_release()
486 ret = fwnode_irq_get_byname(dev_fwnode(&dev->dev), name); in __platform_get_irq_byname()
1454 struct fwnode_handle *fwnode = dev_fwnode(dev); in platform_dma_configure()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-cti-platform.c123 root_fwnode = dev_fwnode(dev); in cti_plat_create_v8_etm_connection()
183 cpuid = cti_plat_get_cpu_at_node(dev_fwnode(dev)); in cti_plat_create_v8_connections()
224 struct fwnode_handle *fwnode = dev_fwnode(dev); in cti_plat_check_v8_arch_compatible()
420 if (IS_ERR_OR_NULL(dev_fwnode(dev))) in cti_plat_create_impdef_connections()
461 struct fwnode_handle *fwnode = dev_fwnode(dev); in coresight_cti_get_platform_data()
H A Dcoresight-replicator.c226 if (is_of_node(dev_fwnode(dev)) && in replicator_probe()
257 if (fwnode_property_present(dev_fwnode(dev), in replicator_probe()
/linux/include/linux/
H A Dproperty.h35 #define dev_fwnode(dev) \ macro
112 return fwnode_device_is_big_endian(dev_fwnode(dev)); in device_is_big_endian()
124 return fwnode_device_is_compatible(dev_fwnode(dev), compat); in device_is_compatible()
136 return fwnode_property_match_property_string(dev_fwnode(dev), propname, array, n); in device_property_match_property_string()
238 return fwnode_get_child_node_count(dev_fwnode(dev)); in device_get_child_node_count()
246 return fwnode_get_named_child_node_count(dev_fwnode(dev), name); in device_get_named_child_node_count()
556 return fwnode_connection_find_match(dev_fwnode(dev), con_id, data, match); in device_connection_find_match()
/linux/drivers/mmc/host/
H A Dof_mmc_spi.c57 if (dev->platform_data || !dev_fwnode(dev)) in mmc_spi_get_pdata()
92 if (!dev->platform_data || !dev_fwnode(dev)) in mmc_spi_put_pdata()
/linux/drivers/tty/serial/
H A Dserial_base_bus.c79 device_set_node(dev, fwnode_handle_get(dev_fwnode(parent_dev))); in serial_base_device_init()
100 fwnode_handle_put(dev_fwnode(dev)); in serial_base_ctrl_release()
148 fwnode_handle_put(dev_fwnode(dev)); in serial_base_port_release()
/linux/drivers/usb/typec/mux/
H A Dfsa4480.c209 ep = fwnode_graph_get_next_endpoint(dev_fwnode(&fsa->client->dev), NULL); in fsa4480_parse_data_lanes_mapping()
309 sw_desc.fwnode = dev_fwnode(dev); in fsa4480_probe()
317 mux_desc.fwnode = dev_fwnode(dev); in fsa4480_probe()
H A Dit5205.c223 sw_desc.fwnode = dev_fwnode(dev); in it5205_probe()
232 mux_desc.fwnode = dev_fwnode(dev); in it5205_probe()
/linux/drivers/irqchip/
H A Dirq-sg2042-msi.c237 .fwnode = dev_fwnode(dev), in sg204x_msi_init_domains()
280 ret = fwnode_property_get_reference_args(dev_fwnode(dev), "msi-ranges", in sg2042_msi_probe()
288 ret = fwnode_property_get_reference_args(dev_fwnode(dev), "msi-ranges", NULL, in sg2042_msi_probe()
H A Dirq-sl28cpld.c71 return devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_intc_probe()
H A Dirq-sni-exiu.c288 data = exiu_init(dev_fwnode(&pdev->dev), res); in exiu_acpi_probe()
292 domain = acpi_irq_create_hierarchy(0, NUM_IRQS, dev_fwnode(&pdev->dev), in exiu_acpi_probe()
/linux/drivers/usb/roles/
H A Dclass.c171 sw = usb_role_switch_is_parent(dev_fwnode(dev)); in usb_role_switch_get()
404 if (dev_fwnode(&sw->dev)) { in usb_role_switch_register()
427 if (dev_fwnode(&sw->dev)) in usb_role_switch_unregister()
/linux/arch/powerpc/include/asm/
H A Dmpc5xxx.h20 return mpc5xxx_fwnode_get_bus_frequency(dev_fwnode(dev)); in mpc5xxx_get_bus_frequency()
/linux/drivers/hwmon/
H A Diio_hwmon.c192 if (dev_fwnode(dev)) { in iio_hwmon_probe()
193 sname = devm_kasprintf(dev, GFP_KERNEL, "%pfwP", dev_fwnode(dev)); in iio_hwmon_probe()
/linux/drivers/mtd/nand/raw/
H A Dtechnologic-nand-controller.c156 child = fwnode_get_next_child_node(dev_fwnode(&pdev->dev), NULL); in ts72xx_nand_probe()
194 struct fwnode_handle *fwnode = dev_fwnode(&pdev->dev); in ts72xx_nand_remove()
/linux/drivers/pci/pwrctrl/
H A Dcore.c28 if (dev_fwnode(dev) != dev_fwnode(pwrctrl->dev)) in pci_pwrctrl_notify()
/linux/include/linux/usb/
H A Dtypec_retimer.h36 return fwnode_typec_retimer_get(dev_fwnode(dev)); in typec_retimer_get()
/linux/drivers/acpi/
H A Dviot.c90 fwnode = dev_fwnode(&pdev->dev); in viot_get_pci_iommu_fwnode()
103 viommu->fwnode = dev_fwnode(&pdev->dev); in viot_get_pci_iommu_fwnode()
/linux/drivers/gpio/
H A Dgpio-twl6040.c84 device_set_node(&pdev->dev, dev_fwnode(pdev->dev.parent)); in gpo_twl6040_probe()
H A Dgpio-altera-a10sr.c93 gpio->gp.fwnode = dev_fwnode(&pdev->dev); in altr_a10sr_gpio_probe()
H A Dgpio-tps6586x.c83 device_set_node(&pdev->dev, dev_fwnode(pdev->dev.parent)); in tps6586x_gpio_probe()
H A Dgpio-sl28cpld.c76 ret = devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_gpio_irq_init()
/linux/drivers/iio/frequency/
H A Dadf4350.c475 fwnode_get_name(dev_fwnode(&spi->dev))); in adf4350_clk_register()
512 snprintf(pdata->name, sizeof(pdata->name), "%pfw", dev_fwnode(dev)); in adf4350_parse_dt()
607 if (dev_fwnode(&spi->dev)) { in adf4350_probe()
/linux/drivers/soc/renesas/
H A Dpwc-rzv2m.c113 priv->gp.fwnode = dev_fwnode(&pdev->dev); in rzv2m_pwc_probe()

1234567891011