/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 …]
|
D | devcon.c | 102 struct fwnode_handle *fwnode = dev_fwnode(dev); in device_connection_find_match()
|
/drivers/media/v4l2-core/ |
D | v4l2-fwnode.c | 672 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 …]
|
D | v4l2-async.c | 695 sd->fwnode = dev_fwnode(sd->dev); in v4l2_async_register_subdev()
|
D | v4l2-flash-led-class.c | 636 sd->fwnode = fwn ? fwn : dev_fwnode(dev); in __v4l2_flash_init()
|
/drivers/irqchip/ |
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()
|
/drivers/usb/typec/ |
D | mux.c | 39 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/ |
D | ti-adc128s052.c | 141 if (dev_fwnode(&spi->dev)) in adc128_probe()
|
/drivers/hwtracing/coresight/ |
D | coresight.c | 1219 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()
|
D | coresight-replicator.c | 208 if (is_of_node(dev_fwnode(dev)) && in replicator_probe()
|
D | coresight-funnel.c | 214 if (is_of_node(dev_fwnode(dev)) && in funnel_probe()
|
D | coresight-platform.c | 784 struct fwnode_handle *fwnode = dev_fwnode(dev); in coresight_get_platform_data()
|
/drivers/hwmon/ |
D | ltc2990.c | 220 if (dev_fwnode(&i2c->dev)) { in ltc2990_i2c_probe()
|
/drivers/leds/ |
D | leds-as3645a.c | 678 if (!dev_fwnode(&client->dev)) in as3645a_probe() 687 rval = as3645a_parse_node(flash, dev_fwnode(&client->dev)); in as3645a_probe()
|
/drivers/usb/roles/ |
D | class.c | 129 sw = usb_role_switch_is_parent(dev_fwnode(dev)); in usb_role_switch_get()
|
/drivers/media/platform/sunxi/sun4i-csi/ |
D | sun4i_csi.c | 118 ep = fwnode_graph_get_endpoint_by_id(dev_fwnode(csi->dev), 0, 0, in sun4i_csi_notifier_init()
|
/drivers/usb/mtu3/ |
D | mtu3_dr.c | 358 role_sx_desc.fwnode = dev_fwnode(ssusb->dev); in ssusb_role_sw_register()
|
/drivers/mmc/core/ |
D | host.c | 181 if (!dev || !dev_fwnode(dev)) in mmc_of_parse()
|
/drivers/media/i2c/ |
D | imx319.c | 2363 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()
|
D | ov7251.c | 1269 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()
|
D | imx355.c | 1663 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()
|
D | mt9m111.c | 1230 np = fwnode_graph_get_next_endpoint(dev_fwnode(&client->dev), NULL); in mt9m111_probe_fw() 1262 if (dev_fwnode(&client->dev)) { in mt9m111_probe()
|
D | ov7670.c | 1804 struct fwnode_handle *fwnode = dev_fwnode(dev); in ov7670_parse_dt() 1855 if (dev_fwnode(&client->dev)) { in ov7670_probe()
|
D | imx214.c | 882 endpoint = fwnode_graph_get_next_endpoint(dev_fwnode(dev), NULL); in imx214_parse_fwnode()
|
D | ov8856.c | 1098 struct fwnode_handle *fwnode = dev_fwnode(dev); in ov8856_check_hwcfg()
|