Home
last modified time | relevance | path

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

123456

/linux/drivers/base/
A Dproperty.c20 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 Dv4l2-fwnode.c743 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 Dv4l2-async.c73 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 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()
A Dcoresight-replicator.c229 if (is_of_node(dev_fwnode(dev)) && in replicator_probe()
264 if (fwnode_property_present(dev_fwnode(dev), in replicator_probe()
A Dcoresight-core.c1619 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 Dtypec_mux.h32 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 Dof_mmc_spi.c56 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 Ddw9768.c432 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 Dmux.c25 return dev_fwnode(dev) == fwnode; in switch_fwnode_match()
190 return dev_fwnode(dev) == fwnode; in mux_fwnode_match()
A Dhd3ss3220.c179 ep = fwnode_graph_get_next_endpoint(dev_fwnode(hd3ss3220->dev), NULL); in hd3ss3220_probe()
A Dqcom-pmic-typec.c196 qcom_usb->role_sw = fwnode_usb_role_switch_get(dev_fwnode(qcom_usb->dev)); in qcom_pmic_typec_probe()
/linux/drivers/irqchip/
A Dirq-sni-exiu.c269 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 Dirq-sl28cpld.c72 return devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_intc_probe()
/linux/drivers/hwmon/
A Dlm70.c157 if (dev_fwnode(&spi->dev)) in lm70_probe()
A Dltc2990.c219 if (dev_fwnode(&i2c->dev)) { in ltc2990_i2c_probe()
/linux/drivers/gpio/
A Dgpio-sl28cpld.c77 ret = devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev), in sl28cpld_gpio_irq_init()
/linux/drivers/iio/adc/
A Dti-adc128s052.c147 if (dev_fwnode(&spi->dev)) in adc128_probe()
/linux/drivers/usb/dwc2/
A Ddrd.c150 role_sw_desc.fwnode = dev_fwnode(hsotg->dev); in dwc2_drd_init()
/linux/drivers/iio/cdc/
A Dad7150.c578 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 Dproperty.h35 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 Dscd30_serial.c240 irq = fwnode_irq_get(dev_fwnode(dev), 0); in scd30_serdev_probe()
/linux/drivers/usb/typec/ucsi/
A Dpsy.c215 psy_cfg.fwnode = dev_fwnode(dev); in ucsi_register_port_psy()
/linux/drivers/misc/
A Dhisi_hikey_usb.c191 hub_role_switch.fwnode = dev_fwnode(dev); in hisi_hikey_usb_of_role_switch()
/linux/drivers/leds/flash/
A Dleds-as3645a.c680 if (!dev_fwnode(&client->dev)) in as3645a_probe()
689 rval = as3645a_parse_node(flash, dev_fwnode(&client->dev)); in as3645a_probe()

Completed in 40 milliseconds

123456