/linux/drivers/base/ |
A D | property.c | 20 struct fwnode_handle *dev_fwnode(struct device *dev) in dev_fwnode() function 25 EXPORT_SYMBOL_GPL(dev_fwnode); 36 return fwnode_property_present(dev_fwnode(dev), propname); in device_property_present() 202 return fwnode_property_read_string(dev_fwnode(dev), propname, val); in device_property_read_string() 224 return fwnode_property_match_string(dev_fwnode(dev), propname, string); in device_property_match_string() 520 struct fwnode_handle *fwnode = dev_fwnode(dev); in device_remove_properties() 761 const struct fwnode_handle *fwnode = dev_fwnode(dev); in device_get_next_child_node() 798 return fwnode_get_named_child_node(dev_fwnode(dev), childname); in device_get_named_child_node() 865 const struct fwnode_handle *fwnode = dev_fwnode(dev); in device_dma_supported() 880 const struct fwnode_handle *fwnode = dev_fwnode(dev); in device_get_dma_attr() [all …]
|
/linux/drivers/media/v4l2-core/ |
A D | v4l2-fwnode.c | 743 struct fwnode_handle *fwnode = dev_fwnode(dev); in v4l2_fwnode_device_parse() 854 fwnode_graph_for_each_endpoint(dev_fwnode(dev), fwnode) { in v4l2_async_nf_parse_fwnode_endpoints() 855 struct fwnode_handle *dev_fwnode; in v4l2_async_nf_parse_fwnode_endpoints() local 858 dev_fwnode = fwnode_graph_get_port_parent(fwnode); in v4l2_async_nf_parse_fwnode_endpoints() 859 is_available = fwnode_device_is_available(dev_fwnode); in v4l2_async_nf_parse_fwnode_endpoints() 860 fwnode_handle_put(dev_fwnode); in v4l2_async_nf_parse_fwnode_endpoints() 899 !(ret = fwnode_property_get_reference_args(dev_fwnode(dev), in v4l2_fwnode_reference_parse() 916 !fwnode_property_get_reference_args(dev_fwnode(dev), prop, NULL, in v4l2_fwnode_reference_parse() 1195 fwnode = v4l2_fwnode_reference_get_int_prop(dev_fwnode(dev), in v4l2_fwnode_reference_parse_int_props() 1214 !IS_ERR((fwnode = v4l2_fwnode_reference_get_int_prop(dev_fwnode(dev), in v4l2_fwnode_reference_parse_int_props() [all …]
|
A D | v4l2-async.c | 73 struct fwnode_handle *dev_fwnode; in match_fwnode() local 113 dev_fwnode = fwnode_graph_get_port_parent(sd->fwnode); in match_fwnode() 116 dev_fwnode = fwnode_graph_get_port_parent(asd->match.fwnode); in match_fwnode() 120 fwnode_handle_put(dev_fwnode); in match_fwnode() 122 if (dev_fwnode != other_fwnode) in match_fwnode() 716 sd->fwnode = dev_fwnode(sd->dev); in v4l2_async_register_subdev()
|
/linux/drivers/hwtracing/coresight/ |
A 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()
|
A D | coresight-replicator.c | 229 if (is_of_node(dev_fwnode(dev)) && in replicator_probe() 264 if (fwnode_property_present(dev_fwnode(dev), in replicator_probe()
|
A D | coresight-core.c | 1619 csdev->dev.fwnode = fwnode_handle_get(dev_fwnode(desc->dev)); in coresight_register() 1708 return fwnode_property_present(dev_fwnode(dev), in coresight_loses_context_with_cpu() 1729 idx = coresight_search_device_idx(dict, dev_fwnode(dev)); in coresight_alloc_device_name() 1741 list[idx] = dev_fwnode(dev); in coresight_alloc_device_name()
|
/linux/include/linux/usb/ |
A D | typec_mux.h | 32 return fwnode_typec_switch_get(dev_fwnode(dev)); in typec_switch_get() 67 return fwnode_typec_mux_get(dev_fwnode(dev), desc); in typec_mux_get()
|
/linux/drivers/mmc/host/ |
A D | of_mmc_spi.c | 56 if (dev->platform_data || !dev_fwnode(dev)) in mmc_spi_get_pdata() 87 if (!dev->platform_data || !dev_fwnode(dev)) in mmc_spi_put_pdata()
|
/linux/drivers/media/i2c/ |
A D | dw9768.c | 432 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,aac-mode", in dw9768_probe() 436 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,clock-presc", in dw9768_probe() 440 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,aac-timing", in dw9768_probe()
|
/linux/drivers/usb/typec/ |
A D | mux.c | 25 return dev_fwnode(dev) == fwnode; in switch_fwnode_match() 190 return dev_fwnode(dev) == fwnode; in mux_fwnode_match()
|
A D | hd3ss3220.c | 179 ep = fwnode_graph_get_next_endpoint(dev_fwnode(hd3ss3220->dev), NULL); in hd3ss3220_probe()
|
A D | qcom-pmic-typec.c | 196 qcom_usb->role_sw = fwnode_usb_role_switch_get(dev_fwnode(qcom_usb->dev)); in qcom_pmic_typec_probe()
|
/linux/drivers/irqchip/ |
A D | irq-sni-exiu.c | 269 data = exiu_init(dev_fwnode(&pdev->dev), res); in exiu_acpi_probe() 273 domain = acpi_irq_create_hierarchy(0, NUM_IRQS, dev_fwnode(&pdev->dev), in exiu_acpi_probe()
|
A D | irq-sl28cpld.c | 72 return devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_intc_probe()
|
/linux/drivers/hwmon/ |
A D | lm70.c | 157 if (dev_fwnode(&spi->dev)) in lm70_probe()
|
A D | ltc2990.c | 219 if (dev_fwnode(&i2c->dev)) { in ltc2990_i2c_probe()
|
/linux/drivers/gpio/ |
A D | gpio-sl28cpld.c | 77 ret = devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_gpio_irq_init()
|
/linux/drivers/iio/adc/ |
A D | ti-adc128s052.c | 147 if (dev_fwnode(&spi->dev)) in adc128_probe()
|
/linux/drivers/usb/dwc2/ |
A D | drd.c | 150 role_sw_desc.fwnode = dev_fwnode(hsotg->dev); in dwc2_drd_init()
|
/linux/drivers/iio/cdc/ |
A D | ad7150.c | 578 chip->interrupts[0] = fwnode_irq_get(dev_fwnode(&client->dev), 0); in ad7150_probe() 582 chip->interrupts[1] = fwnode_irq_get(dev_fwnode(&client->dev), 1); in ad7150_probe()
|
/linux/include/linux/ |
A D | property.h | 35 struct fwnode_handle *dev_fwnode(struct device *dev); 448 return fwnode_connection_find_match(dev_fwnode(dev), con_id, data, match); in device_connection_find_match()
|
/linux/drivers/iio/chemical/ |
A D | scd30_serial.c | 240 irq = fwnode_irq_get(dev_fwnode(dev), 0); in scd30_serdev_probe()
|
/linux/drivers/usb/typec/ucsi/ |
A D | psy.c | 215 psy_cfg.fwnode = dev_fwnode(dev); in ucsi_register_port_psy()
|
/linux/drivers/misc/ |
A D | hisi_hikey_usb.c | 191 hub_role_switch.fwnode = dev_fwnode(dev); in hisi_hikey_usb_of_role_switch()
|
/linux/drivers/leds/flash/ |
A D | leds-as3645a.c | 680 if (!dev_fwnode(&client->dev)) in as3645a_probe() 689 rval = as3645a_parse_node(flash, dev_fwnode(&client->dev)); in as3645a_probe()
|