Home
last modified time | relevance | path

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

12

/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 …]
Ddevcon.c102 struct fwnode_handle *fwnode = dev_fwnode(dev); in device_connection_find_match()
/drivers/media/v4l2-core/
Dv4l2-fwnode.c672 fwnode_graph_for_each_endpoint(dev_fwnode(dev), fwnode) { in __v4l2_async_notifier_parse_fwnode_ep()
673 struct fwnode_handle *dev_fwnode; in __v4l2_async_notifier_parse_fwnode_ep() local
676 dev_fwnode = fwnode_graph_get_port_parent(fwnode); in __v4l2_async_notifier_parse_fwnode_ep()
677 is_available = fwnode_device_is_available(dev_fwnode); in __v4l2_async_notifier_parse_fwnode_ep()
678 fwnode_handle_put(dev_fwnode); in __v4l2_async_notifier_parse_fwnode_ep()
753 !(ret = fwnode_property_get_reference_args(dev_fwnode(dev), in v4l2_fwnode_reference_parse()
770 !fwnode_property_get_reference_args(dev_fwnode(dev), prop, NULL, in v4l2_fwnode_reference_parse()
1050 fwnode = v4l2_fwnode_reference_get_int_prop(dev_fwnode(dev), in v4l2_fwnode_reference_parse_int_props()
1069 !IS_ERR((fwnode = v4l2_fwnode_reference_get_int_prop(dev_fwnode(dev), in v4l2_fwnode_reference_parse_int_props()
1105 if (props[i].props && is_acpi_node(dev_fwnode(dev))) in v4l2_async_notifier_parse_fwnode_sensor_common()
[all …]
Dv4l2-async.c695 sd->fwnode = dev_fwnode(sd->dev); in v4l2_async_register_subdev()
Dv4l2-flash-led-class.c636 sd->fwnode = fwn ? fwn : dev_fwnode(dev); in __v4l2_flash_init()
/drivers/irqchip/
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()
/drivers/usb/typec/
Dmux.c39 return dev_fwnode(dev) == fwnode && dev_name_ends_with(dev, "-switch"); in switch_fwnode_match()
182 return dev_fwnode(dev) == fwnode && dev_name_ends_with(dev, "-mux"); in mux_fwnode_match()
/drivers/iio/adc/
Dti-adc128s052.c141 if (dev_fwnode(&spi->dev)) in adc128_probe()
/drivers/hwtracing/coresight/
Dcoresight.c1219 csdev->dev.fwnode = fwnode_handle_get(dev_fwnode(desc->dev)); in coresight_register()
1310 idx = coresight_search_device_idx(dict, dev_fwnode(dev)); in coresight_alloc_device_name()
1322 list[idx] = dev_fwnode(dev); in coresight_alloc_device_name()
Dcoresight-replicator.c208 if (is_of_node(dev_fwnode(dev)) && in replicator_probe()
Dcoresight-funnel.c214 if (is_of_node(dev_fwnode(dev)) && in funnel_probe()
Dcoresight-platform.c784 struct fwnode_handle *fwnode = dev_fwnode(dev); in coresight_get_platform_data()
/drivers/hwmon/
Dltc2990.c220 if (dev_fwnode(&i2c->dev)) { in ltc2990_i2c_probe()
/drivers/leds/
Dleds-as3645a.c678 if (!dev_fwnode(&client->dev)) in as3645a_probe()
687 rval = as3645a_parse_node(flash, dev_fwnode(&client->dev)); in as3645a_probe()
/drivers/usb/roles/
Dclass.c129 sw = usb_role_switch_is_parent(dev_fwnode(dev)); in usb_role_switch_get()
/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_csi.c118 ep = fwnode_graph_get_endpoint_by_id(dev_fwnode(csi->dev), 0, 0, in sun4i_csi_notifier_init()
/drivers/usb/mtu3/
Dmtu3_dr.c358 role_sx_desc.fwnode = dev_fwnode(ssusb->dev); in ssusb_role_sw_register()
/drivers/mmc/core/
Dhost.c181 if (!dev || !dev_fwnode(dev)) in mmc_of_parse()
/drivers/media/i2c/
Dimx319.c2363 struct fwnode_handle *fwnode = dev_fwnode(dev); in imx319_get_hwcfg()
2382 ret = fwnode_property_read_u32(dev_fwnode(dev), "clock-frequency", in imx319_get_hwcfg()
Dov7251.c1269 endpoint = fwnode_graph_get_next_endpoint(dev_fwnode(dev), NULL); in ov7251_probe()
1295 ret = fwnode_property_read_u32(dev_fwnode(dev), "clock-frequency", in ov7251_probe()
Dimx355.c1663 struct fwnode_handle *fwnode = dev_fwnode(dev); in imx355_get_hwcfg()
1682 ret = fwnode_property_read_u32(dev_fwnode(dev), "clock-frequency", in imx355_get_hwcfg()
Dmt9m111.c1230 np = fwnode_graph_get_next_endpoint(dev_fwnode(&client->dev), NULL); in mt9m111_probe_fw()
1262 if (dev_fwnode(&client->dev)) { in mt9m111_probe()
Dov7670.c1804 struct fwnode_handle *fwnode = dev_fwnode(dev); in ov7670_parse_dt()
1855 if (dev_fwnode(&client->dev)) { in ov7670_probe()
Dimx214.c882 endpoint = fwnode_graph_get_next_endpoint(dev_fwnode(dev), NULL); in imx214_parse_fwnode()
Dov8856.c1098 struct fwnode_handle *fwnode = dev_fwnode(dev); in ov8856_check_hwcfg()

12