Home
last modified time | relevance | path

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

1234567891011

/Linux-v6.6/drivers/base/
Dproperty.c45 return fwnode_property_present(dev_fwnode(dev), propname); in device_property_present()
96 return fwnode_property_read_u8_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u8_array()
124 return fwnode_property_read_u16_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u16_array()
152 return fwnode_property_read_u32_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u32_array()
180 return fwnode_property_read_u64_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u64_array()
208 return fwnode_property_read_string_array(dev_fwnode(dev), propname, val, nval); in device_property_read_string_array()
230 return fwnode_property_read_string(dev_fwnode(dev), propname, val); in device_property_read_string()
252 return fwnode_property_match_string(dev_fwnode(dev), propname, string); in device_property_match_string()
797 const struct fwnode_handle *fwnode = dev_fwnode(dev); in device_get_next_child_node()
840 return fwnode_get_named_child_node(dev_fwnode(dev), childname); in device_get_named_child_node()
[all …]
/Linux-v6.6/drivers/media/i2c/
Ddw9768.c433 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,aac-mode", in dw9768_probe()
437 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,clock-presc", in dw9768_probe()
441 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,aac-timing", in dw9768_probe()
480 full_power = (is_acpi_node(dev_fwnode(dev)) && in dw9768_probe()
482 (is_of_node(dev_fwnode(dev)) && !pm_runtime_enabled(dev)); in dw9768_probe()
525 if ((is_acpi_node(dev_fwnode(dev)) && acpi_dev_state_d0(dev)) || in dw9768_remove()
526 (is_of_node(dev_fwnode(dev)) && !pm_runtime_enabled(dev))) { in dw9768_remove()
/Linux-v6.6/drivers/hwtracing/coresight/
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()
419 struct fwnode_handle *fwnode = dev_fwnode(dev); in cti_plat_create_impdef_connections()
465 struct fwnode_handle *fwnode = dev_fwnode(dev); in coresight_cti_get_platform_data()
Dcoresight-replicator.c226 if (is_of_node(dev_fwnode(dev)) && in replicator_probe()
261 if (fwnode_property_present(dev_fwnode(dev), in replicator_probe()
/Linux-v6.6/drivers/mmc/host/
Dof_mmc_spi.c56 if (dev->platform_data || !dev_fwnode(dev)) in mmc_spi_get_pdata()
91 if (!dev->platform_data || !dev_fwnode(dev)) in mmc_spi_put_pdata()
/Linux-v6.6/include/linux/usb/
Dtypec_mux.h34 return fwnode_typec_switch_get(dev_fwnode(dev)); in typec_switch_get()
105 return fwnode_typec_mux_get(dev_fwnode(dev)); in typec_mux_get()
Dtypec_retimer.h36 return fwnode_typec_retimer_get(dev_fwnode(dev)); in typec_retimer_get()
/Linux-v6.6/drivers/usb/typec/mux/
Dgpio-sbu-mux.c116 sw_desc.fwnode = dev_fwnode(dev); in gpio_sbu_mux_probe()
125 mux_desc.fwnode = dev_fwnode(dev); in gpio_sbu_mux_probe()
Dfsa4480.c219 sw_desc.fwnode = dev_fwnode(dev); in fsa4480_probe()
227 mux_desc.fwnode = dev_fwnode(dev); in fsa4480_probe()
/Linux-v6.6/drivers/hwmon/
Diio_hwmon.c156 if (dev_fwnode(dev)) { in iio_hwmon_probe()
157 sname = devm_kasprintf(dev, GFP_KERNEL, "%pfwP", dev_fwnode(dev)); in iio_hwmon_probe()
Dlm70.c172 if (dev_fwnode(&spi->dev)) in lm70_probe()
/Linux-v6.6/arch/powerpc/include/asm/
Dmpc5xxx.h20 return mpc5xxx_fwnode_get_bus_frequency(dev_fwnode(dev)); in mpc5xxx_get_bus_frequency()
/Linux-v6.6/drivers/media/v4l2-core/
Dv4l2-fwnode.c772 struct fwnode_handle *fwnode = dev_fwnode(dev); in v4l2_fwnode_device_parse()
831 !(ret = fwnode_property_get_reference_args(dev_fwnode(dev), prop, in v4l2_fwnode_reference_parse()
1115 fwnode = v4l2_fwnode_reference_get_int_prop(dev_fwnode(dev), in v4l2_fwnode_reference_parse_int_props()
1134 !IS_ERR((fwnode = v4l2_fwnode_reference_get_int_prop(dev_fwnode(dev), in v4l2_fwnode_reference_parse_int_props()
1189 if (props[i].props && is_acpi_node(dev_fwnode(dev))) in v4l2_async_nf_parse_fwnode_sensor()
/Linux-v6.6/drivers/watchdog/
Dbd9576_wdt.c224 priv->gpiod_en = devm_fwnode_gpiod_get(dev, dev_fwnode(dev->parent), in bd9576_wdt_probe()
232 priv->gpiod_ping = devm_fwnode_gpiod_get(dev, dev_fwnode(dev->parent), in bd9576_wdt_probe()
/Linux-v6.6/drivers/i2c/
Di2c-atr.c436 ret = fwnode_property_count_u32(dev_fwnode(dev), "i2c-alias-pool"); in i2c_atr_parse_alias_pool()
452 ret = fwnode_property_read_u32_array(dev_fwnode(dev), "i2c-alias-pool", in i2c_atr_parse_alias_pool()
655 fwnode_handle_put(dev_fwnode(&chan->adap.dev)); in i2c_atr_add_adapter()
675 fwnode = dev_fwnode(&adap->dev); in i2c_atr_del_adapter()
/Linux-v6.6/drivers/gpio/
Dgpio-ge.c74 gc->label = devm_kasprintf(dev, GFP_KERNEL, "%pfw", dev_fwnode(dev)); in gef_gpio_probe()
Dgpio-twl6040.c83 device_set_node(&pdev->dev, dev_fwnode(pdev->dev.parent)); in gpo_twl6040_probe()
Dgpio-altera-a10sr.c93 gpio->gp.fwnode = dev_fwnode(&pdev->dev); in altr_a10sr_gpio_probe()
Dgpio-tps6586x.c80 device_set_node(&pdev->dev, dev_fwnode(pdev->dev.parent)); in tps6586x_gpio_probe()
/Linux-v6.6/drivers/thunderbolt/
Dusb4_port.c279 if (dev_fwnode(&usb4->dev)) { in usb4_port_device_add()
309 if (dev_fwnode(&usb4->dev)) in usb4_port_device_remove()
/Linux-v6.6/drivers/irqchip/
Dirq-sl28cpld.c71 return devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_intc_probe()
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-v6.6/include/linux/
Dproperty.h37 #define dev_fwnode(dev) \ macro
97 return fwnode_device_is_compatible(dev_fwnode(dev), compat); in device_is_compatible()
468 return fwnode_connection_find_match(dev_fwnode(dev), con_id, data, match); in device_connection_find_match()
/Linux-v6.6/drivers/acpi/
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-v6.6/drivers/soc/renesas/
Dpwc-rzv2m.c111 priv->gp.fwnode = dev_fwnode(&pdev->dev); in rzv2m_pwc_probe()

1234567891011