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()
247 return phy->attrs.mode; in phy_get_mode()
255 return phy->attrs.bus_width; in phy_get_bus_width()
259 phy->attrs.bus_width = bus_width; in phy_set_bus_width()
300 return -ENOSYS; in phy_pm_runtime_get()
307 return -ENOSYS; in phy_pm_runtime_get_sync()
314 return -ENOSYS; in phy_pm_runtime_put()
321 return -ENOSYS; in phy_pm_runtime_put_sync()
338 return -ENOSYS; in phy_init()
345 return -ENOSYS; in phy_exit()
352 return -ENOSYS; in phy_power_on()
359 return -ENOSYS; in phy_power_off()
367 return -ENOSYS; in phy_set_mode_ext()
377 return -ENODEV; in phy_set_media()
384 return -ENODEV; in phy_set_speed()
396 return -ENOSYS; in phy_reset()
403 return -ENOSYS; in phy_calibrate()
410 return -ENOSYS; in phy_notify_connect()
417 return -ENOSYS; in phy_notify_disconnect()
426 return -ENOSYS; in phy_configure()
435 return -ENOSYS; in phy_validate()
440 return -ENOSYS; in phy_get_bus_width()
450 return ERR_PTR(-ENOSYS); in phy_get()
455 return ERR_PTR(-ENOSYS); in devm_phy_get()
468 return ERR_PTR(-ENOSYS); in devm_of_phy_get()
482 return ERR_PTR(-ENOSYS); in devm_of_phy_get_by_index()
499 return ERR_PTR(-ENOSYS); in of_phy_get()
505 return ERR_PTR(-ENOSYS); in of_phy_simple_xlate()
512 return ERR_PTR(-ENOSYS); in phy_create()
519 return ERR_PTR(-ENOSYS); in devm_phy_create()
535 return ERR_PTR(-ENOSYS); in __of_phy_provider_register()
543 return ERR_PTR(-ENOSYS); in __devm_of_phy_provider_register()