Lines Matching +full:mipi +full:- +full:calibrate
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * phy.h -- generic phy header file
5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
19 #include <linux/phy/phy-dp.h>
20 #include <linux/phy/phy-lvds.h>
21 #include <linux/phy/phy-mipi-dphy.h>
55 * union phy_configure_opts - Opaque generic phy configuration
71 * struct phy_ops - set of function pointers for performing phy operations
80 * @calibrate: calibrate the phy
124 int (*calibrate)(struct phy *phy); member
135 * struct phy_attrs - represents phy attributes
147 * struct phy - represents the phy device
171 * struct phy_provider - represents the phy provider
173 * @children: can be used to override the default (dev->of_node) child node
188 * struct phy_lookup - PHY association in list of phys managed by the phy driver
217 dev_set_drvdata(&phy->dev, data); in phy_set_drvdata()
222 return dev_get_drvdata(&phy->dev); in phy_get_drvdata()
245 return phy->attrs.mode; in phy_get_mode()
253 return phy->attrs.bus_width; in phy_get_bus_width()
257 phy->attrs.bus_width = bus_width; in phy_set_bus_width()
298 return -ENOSYS; in phy_pm_runtime_get()
305 return -ENOSYS; in phy_pm_runtime_get_sync()
312 return -ENOSYS; in phy_pm_runtime_put()
319 return -ENOSYS; in phy_pm_runtime_put_sync()
326 return -ENOSYS; in phy_init()
333 return -ENOSYS; in phy_exit()
340 return -ENOSYS; in phy_power_on()
347 return -ENOSYS; in phy_power_off()
355 return -ENOSYS; in phy_set_mode_ext()
365 return -ENODEV; in phy_set_media()
372 return -ENODEV; in phy_set_speed()
384 return -ENOSYS; in phy_reset()
391 return -ENOSYS; in phy_calibrate()
398 return -ENOSYS; in phy_notify_connect()
405 return -ENOSYS; in phy_notify_disconnect()
414 return -ENOSYS; in phy_configure()
423 return -ENOSYS; in phy_validate()
428 return -ENOSYS; in phy_get_bus_width()
438 return ERR_PTR(-ENOSYS); in phy_get()
443 return ERR_PTR(-ENOSYS); in devm_phy_get()
456 return ERR_PTR(-ENOSYS); in devm_of_phy_get()
470 return ERR_PTR(-ENOSYS); in devm_of_phy_get_by_index()
487 return ERR_PTR(-ENOSYS); in of_phy_get()
493 return ERR_PTR(-ENOSYS); in of_phy_simple_xlate()
500 return ERR_PTR(-ENOSYS); in phy_create()
507 return ERR_PTR(-ENOSYS); in devm_phy_create()
523 return ERR_PTR(-ENOSYS); in __of_phy_provider_register()
531 return ERR_PTR(-ENOSYS); in __devm_of_phy_provider_register()