/Linux-v6.6/drivers/base/ |
D | property.c | 45 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/ |
D | dw9768.c | 433 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/ |
D | coresight-cti-platform.c | 123 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()
|
D | coresight-replicator.c | 226 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/ |
D | of_mmc_spi.c | 56 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/ |
D | typec_mux.h | 34 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()
|
D | typec_retimer.h | 36 return fwnode_typec_retimer_get(dev_fwnode(dev)); in typec_retimer_get()
|
/Linux-v6.6/drivers/usb/typec/mux/ |
D | gpio-sbu-mux.c | 116 sw_desc.fwnode = dev_fwnode(dev); in gpio_sbu_mux_probe() 125 mux_desc.fwnode = dev_fwnode(dev); in gpio_sbu_mux_probe()
|
D | fsa4480.c | 219 sw_desc.fwnode = dev_fwnode(dev); in fsa4480_probe() 227 mux_desc.fwnode = dev_fwnode(dev); in fsa4480_probe()
|
/Linux-v6.6/drivers/hwmon/ |
D | iio_hwmon.c | 156 if (dev_fwnode(dev)) { in iio_hwmon_probe() 157 sname = devm_kasprintf(dev, GFP_KERNEL, "%pfwP", dev_fwnode(dev)); in iio_hwmon_probe()
|
D | lm70.c | 172 if (dev_fwnode(&spi->dev)) in lm70_probe()
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | mpc5xxx.h | 20 return mpc5xxx_fwnode_get_bus_frequency(dev_fwnode(dev)); in mpc5xxx_get_bus_frequency()
|
/Linux-v6.6/drivers/media/v4l2-core/ |
D | v4l2-fwnode.c | 772 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/ |
D | bd9576_wdt.c | 224 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/ |
D | i2c-atr.c | 436 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/ |
D | gpio-ge.c | 74 gc->label = devm_kasprintf(dev, GFP_KERNEL, "%pfw", dev_fwnode(dev)); in gef_gpio_probe()
|
D | gpio-twl6040.c | 83 device_set_node(&pdev->dev, dev_fwnode(pdev->dev.parent)); in gpo_twl6040_probe()
|
D | gpio-altera-a10sr.c | 93 gpio->gp.fwnode = dev_fwnode(&pdev->dev); in altr_a10sr_gpio_probe()
|
D | gpio-tps6586x.c | 80 device_set_node(&pdev->dev, dev_fwnode(pdev->dev.parent)); in tps6586x_gpio_probe()
|
/Linux-v6.6/drivers/thunderbolt/ |
D | usb4_port.c | 279 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/ |
D | irq-sl28cpld.c | 71 return devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_intc_probe()
|
D | irq-sni-exiu.c | 288 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/ |
D | property.h | 37 #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/ |
D | viot.c | 90 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/ |
D | pwc-rzv2m.c | 111 priv->gp.fwnode = dev_fwnode(&pdev->dev); in rzv2m_pwc_probe()
|