Home
last modified time | relevance | path

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

1234

/drivers/base/
Dproperty.c21 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/
Dv4l2-fwnode.c776 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 …]
Dv4l2-async.c77 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/
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.c229 if (is_of_node(dev_fwnode(dev)) && in replicator_probe()
264 if (fwnode_property_present(dev_fwnode(dev), in replicator_probe()
Dcoresight-core.c1611 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/
Ddw9768.c442 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()
Dov8856.c1372 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/
Dmux.c34 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()
Dhd3ss3220.c181 ep = fwnode_graph_get_next_endpoint(dev_fwnode(hd3ss3220->dev), NULL); in hd3ss3220_probe()
Dqcom-pmic-typec.c196 qcom_usb->role_sw = fwnode_usb_role_switch_get(dev_fwnode(qcom_usb->dev)); in qcom_pmic_typec_probe()
/drivers/irqchip/
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()
Dirq-sl28cpld.c72 return devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_intc_probe()
/drivers/hwmon/
Dlm70.c157 if (dev_fwnode(&spi->dev)) in lm70_probe()
Dltc2990.c219 if (dev_fwnode(&i2c->dev)) { in ltc2990_i2c_probe()
/drivers/gpio/
Dgpio-sl28cpld.c77 ret = devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_gpio_irq_init()
/drivers/iio/adc/
Dti-adc128s052.c142 if (dev_fwnode(&spi->dev)) in adc128_probe()
Dti-adc081c.c161 if (dev_fwnode(&client->dev)) in adc081c_probe()
/drivers/usb/dwc2/
Ddrd.c152 role_sw_desc.fwnode = dev_fwnode(hsotg->dev); in dwc2_drd_init()
/drivers/iio/chemical/
Dscd30_serial.c240 irq = fwnode_irq_get(dev_fwnode(dev), 0); in scd30_serdev_probe()
/drivers/misc/
Dhisi_hikey_usb.c223 hub_role_switch.fwnode = dev_fwnode(dev); in hisi_hikey_usb_probe()
/drivers/usb/typec/ucsi/
Dpsy.c215 psy_cfg.fwnode = dev_fwnode(dev); in ucsi_register_port_psy()
/drivers/leds/
Dleds-as3645a.c680 if (!dev_fwnode(&client->dev)) in as3645a_probe()
689 rval = as3645a_parse_node(flash, dev_fwnode(&client->dev)); in as3645a_probe()
/drivers/usb/musb/
Djz4740.c106 .fwnode = dev_fwnode(dev), in jz4740_musb_init()
/drivers/usb/roles/
Dclass.c130 sw = usb_role_switch_is_parent(dev_fwnode(dev)); in usb_role_switch_get()

1234