/drivers/base/ |
D | property.c | 21 struct fwnode_handle *dev_fwnode(struct device *dev) in dev_fwnode() function 26 EXPORT_SYMBOL_GPL(dev_fwnode); 37 return fwnode_property_present(dev_fwnode(dev), propname); in device_property_present() 81 return fwnode_property_read_u8_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u8_array() 106 return fwnode_property_read_u16_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u16_array() 131 return fwnode_property_read_u32_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u32_array() 156 return fwnode_property_read_u64_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u64_array() 181 return fwnode_property_read_string_array(dev_fwnode(dev), propname, val, nval); in device_property_read_string_array() 203 return fwnode_property_read_string(dev_fwnode(dev), propname, val); in device_property_read_string() 225 return fwnode_property_match_string(dev_fwnode(dev), propname, string); in device_property_match_string() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-fwnode.c | 776 struct fwnode_handle *fwnode = dev_fwnode(dev); in v4l2_fwnode_device_parse() 889 fwnode_graph_for_each_endpoint(dev_fwnode(dev), fwnode) { in __v4l2_async_notifier_parse_fwnode_ep() 890 struct fwnode_handle *dev_fwnode; in __v4l2_async_notifier_parse_fwnode_ep() local 893 dev_fwnode = fwnode_graph_get_port_parent(fwnode); in __v4l2_async_notifier_parse_fwnode_ep() 894 is_available = fwnode_device_is_available(dev_fwnode); in __v4l2_async_notifier_parse_fwnode_ep() 895 fwnode_handle_put(dev_fwnode); in __v4l2_async_notifier_parse_fwnode_ep() 970 !(ret = fwnode_property_get_reference_args(dev_fwnode(dev), in v4l2_fwnode_reference_parse() 987 !fwnode_property_get_reference_args(dev_fwnode(dev), prop, NULL, in v4l2_fwnode_reference_parse() 1267 fwnode = v4l2_fwnode_reference_get_int_prop(dev_fwnode(dev), in v4l2_fwnode_reference_parse_int_props() 1286 !IS_ERR((fwnode = v4l2_fwnode_reference_get_int_prop(dev_fwnode(dev), in v4l2_fwnode_reference_parse_int_props() [all …]
|
D | v4l2-async.c | 77 struct fwnode_handle *dev_fwnode; in match_fwnode() local 109 dev_fwnode = fwnode_graph_get_port_parent(sd->fwnode); in match_fwnode() 112 dev_fwnode = fwnode_graph_get_port_parent(asd->match.fwnode); in match_fwnode() 116 fwnode_handle_put(dev_fwnode); in match_fwnode() 118 if (dev_fwnode != other_fwnode) in match_fwnode() 762 sd->fwnode = dev_fwnode(sd->dev); in v4l2_async_register_subdev()
|
/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 | 229 if (is_of_node(dev_fwnode(dev)) && in replicator_probe() 264 if (fwnode_property_present(dev_fwnode(dev), in replicator_probe()
|
D | coresight-core.c | 1611 csdev->dev.fwnode = fwnode_handle_get(dev_fwnode(desc->dev)); in coresight_register() 1709 return fwnode_property_present(dev_fwnode(dev), in coresight_loses_context_with_cpu() 1730 idx = coresight_search_device_idx(dict, dev_fwnode(dev)); in coresight_alloc_device_name() 1742 list[idx] = dev_fwnode(dev); in coresight_alloc_device_name()
|
/drivers/media/i2c/ |
D | dw9768.c | 442 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,aac-mode", in dw9768_probe() 446 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,clock-presc", in dw9768_probe() 450 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,aac-timing", in dw9768_probe()
|
D | ov8856.c | 1372 if (is_acpi_node(dev_fwnode(&client->dev))) in __ov8856_power_on() 1409 if (is_acpi_node(dev_fwnode(&client->dev))) in __ov8856_power_off() 1648 struct fwnode_handle *fwnode = dev_fwnode(dev); in ov8856_get_hwcfg()
|
/drivers/usb/typec/ |
D | mux.c | 34 return dev_fwnode(dev) == fwnode && dev_name_ends_with(dev, "-switch"); in switch_fwnode_match() 186 return dev_fwnode(dev) == fwnode && dev_name_ends_with(dev, "-mux"); in mux_fwnode_match()
|
D | hd3ss3220.c | 181 ep = fwnode_graph_get_next_endpoint(dev_fwnode(hd3ss3220->dev), NULL); in hd3ss3220_probe()
|
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()
|
/drivers/irqchip/ |
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()
|
D | irq-sl28cpld.c | 72 return devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_intc_probe()
|
/drivers/hwmon/ |
D | lm70.c | 157 if (dev_fwnode(&spi->dev)) in lm70_probe()
|
D | ltc2990.c | 219 if (dev_fwnode(&i2c->dev)) { in ltc2990_i2c_probe()
|
/drivers/gpio/ |
D | gpio-sl28cpld.c | 77 ret = devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_gpio_irq_init()
|
/drivers/iio/adc/ |
D | ti-adc128s052.c | 142 if (dev_fwnode(&spi->dev)) in adc128_probe()
|
D | ti-adc081c.c | 161 if (dev_fwnode(&client->dev)) in adc081c_probe()
|
/drivers/usb/dwc2/ |
D | drd.c | 152 role_sw_desc.fwnode = dev_fwnode(hsotg->dev); in dwc2_drd_init()
|
/drivers/iio/chemical/ |
D | scd30_serial.c | 240 irq = fwnode_irq_get(dev_fwnode(dev), 0); in scd30_serdev_probe()
|
/drivers/misc/ |
D | hisi_hikey_usb.c | 223 hub_role_switch.fwnode = dev_fwnode(dev); in hisi_hikey_usb_probe()
|
/drivers/usb/typec/ucsi/ |
D | psy.c | 215 psy_cfg.fwnode = dev_fwnode(dev); in ucsi_register_port_psy()
|
/drivers/leds/ |
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()
|
/drivers/usb/musb/ |
D | jz4740.c | 106 .fwnode = dev_fwnode(dev), in jz4740_musb_init()
|
/drivers/usb/roles/ |
D | class.c | 130 sw = usb_role_switch_is_parent(dev_fwnode(dev)); in usb_role_switch_get()
|