Home
last modified time | relevance | path

Searched refs:phy (Results 1 - 25 of 2613) sorted by relevance

12345678910>>...105

/kernel/linux/linux-6.6/drivers/phy/
H A Dphy-core.c3 * phy-core.c -- Generic Phy framework.
18 #include <linux/phy/phy.h>
32 struct phy *phy = *(struct phy **)res; in devm_phy_release() local
34 phy_put(dev, phy); in devm_phy_release()
46 struct phy *phy = *(struct phy **)re in devm_phy_consume() local
53 struct phy **phy = res; devm_phy_match() local
66 phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) phy_create_lookup() argument
98 phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) phy_remove_lookup() argument
150 phy_pm_runtime_get(struct phy *phy) phy_pm_runtime_get() argument
168 phy_pm_runtime_get_sync(struct phy *phy) phy_pm_runtime_get_sync() argument
186 phy_pm_runtime_put(struct phy *phy) phy_pm_runtime_put() argument
198 phy_pm_runtime_put_sync(struct phy *phy) phy_pm_runtime_put_sync() argument
210 phy_pm_runtime_allow(struct phy *phy) phy_pm_runtime_allow() argument
222 phy_pm_runtime_forbid(struct phy *phy) phy_pm_runtime_forbid() argument
245 phy_init(struct phy *phy) phy_init() argument
285 phy_exit(struct phy *phy) phy_exit() argument
322 phy_power_on(struct phy *phy) phy_power_on() argument
372 phy_power_off(struct phy *phy) phy_power_off() argument
399 phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode) phy_set_mode_ext() argument
416 phy_set_media(struct phy *phy, enum phy_media media) phy_set_media() argument
431 phy_set_speed(struct phy *phy, int speed) phy_set_speed() argument
446 phy_reset(struct phy *phy) phy_reset() argument
477 phy_calibrate(struct phy *phy) phy_calibrate() argument
503 phy_configure(struct phy *phy, union phy_configure_opts *opts) phy_configure() argument
537 phy_validate(struct phy *phy, enum phy_mode mode, int submode, union phy_configure_opts *opts) phy_validate() argument
571 struct phy *phy = NULL; _of_phy_get() local
619 struct phy *phy = NULL; of_phy_get() local
644 of_phy_put(struct phy *phy) of_phy_put() argument
666 phy_put(struct device *dev, struct phy *phy) phy_put() argument
681 devm_phy_put(struct device *dev, struct phy *phy) devm_phy_put() argument
706 struct phy *phy; of_phy_simple_xlate() local
737 struct phy *phy; phy_get() local
783 struct phy **ptr, *phy; devm_phy_get() local
816 struct phy *phy = devm_phy_get(dev, string); devm_phy_optional_get() local
838 struct phy **ptr, *phy; devm_of_phy_get() local
880 struct phy *phy = devm_of_phy_get(dev, np, con_id); devm_of_phy_optional_get() local
908 struct phy **ptr, *phy; devm_of_phy_get_by_index() local
953 struct phy *phy; phy_create() local
1029 struct phy **ptr, *phy; devm_phy_create() local
1053 phy_destroy(struct phy *phy) phy_destroy() argument
1068 devm_phy_destroy(struct device *dev, struct phy *phy) devm_phy_destroy() argument
1229 struct phy *phy; phy_release() local
[all...]
/kernel/linux/linux-6.6/include/linux/phy/
H A Dphy.h3 * phy.h -- generic phy header file
19 #include <linux/phy/phy-dp.h>
20 #include <linux/phy/phy-lvds.h>
21 #include <linux/phy/phy-mipi-dphy.h>
23 struct phy;
55 * union phy_configure_opts - Opaque generic phy configuratio
153 struct phy { global() struct
193 struct phy *phy; global() member
210 phy_set_drvdata(struct phy *phy, void *data) phy_set_drvdata() argument
215 phy_get_drvdata(struct phy *phy) phy_get_drvdata() argument
240 phy_get_mode(struct phy *phy) phy_get_mode() argument
246 phy_get_bus_width(struct phy *phy) phy_get_bus_width() argument
250 phy_set_bus_width(struct phy *phy, int bus_width) phy_set_bus_width() argument
289 phy_pm_runtime_get(struct phy *phy) phy_pm_runtime_get() argument
296 phy_pm_runtime_get_sync(struct phy *phy) phy_pm_runtime_get_sync() argument
303 phy_pm_runtime_put(struct phy *phy) phy_pm_runtime_put() argument
310 phy_pm_runtime_put_sync(struct phy *phy) phy_pm_runtime_put_sync() argument
317 phy_pm_runtime_allow(struct phy *phy) phy_pm_runtime_allow() argument
322 phy_pm_runtime_forbid(struct phy *phy) phy_pm_runtime_forbid() argument
327 phy_init(struct phy *phy) phy_init() argument
334 phy_exit(struct phy *phy) phy_exit() argument
341 phy_power_on(struct phy *phy) phy_power_on() argument
348 phy_power_off(struct phy *phy) phy_power_off() argument
355 phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode) phy_set_mode_ext() argument
366 phy_set_media(struct phy *phy, enum phy_media media) phy_set_media() argument
373 phy_set_speed(struct phy *phy, int speed) phy_set_speed() argument
380 phy_get_mode(struct phy *phy) phy_get_mode() argument
385 phy_reset(struct phy *phy) phy_reset() argument
392 phy_calibrate(struct phy *phy) phy_calibrate() argument
399 phy_configure(struct phy *phy, union phy_configure_opts *opts) phy_configure() argument
408 phy_validate(struct phy *phy, enum phy_mode mode, int submode, union phy_configure_opts *opts) phy_validate() argument
417 phy_get_bus_width(struct phy *phy) phy_get_bus_width() argument
422 phy_set_bus_width(struct phy *phy, int bus_width) phy_set_bus_width() argument
464 of_phy_put(struct phy *phy) of_phy_put() argument
468 phy_put(struct device *dev, struct phy *phy) phy_put() argument
472 devm_phy_put(struct device *dev, struct phy *phy) devm_phy_put() argument
501 phy_destroy(struct phy *phy) phy_destroy() argument
505 devm_phy_destroy(struct device *dev, struct phy *phy) devm_phy_destroy() argument
534 phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) phy_create_lookup() argument
538 phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) phy_remove_lookup() argument
[all...]
/kernel/linux/linux-5.10/drivers/phy/
H A Dphy-core.c3 * phy-core.c -- Generic Phy framework.
17 #include <linux/phy/phy.h>
30 struct phy *phy = *(struct phy **)res; in devm_phy_release() local
32 phy_put(dev, phy); in devm_phy_release()
44 struct phy *phy = *(struct phy **)re in devm_phy_consume() local
51 struct phy **phy = res; devm_phy_match() local
64 phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) phy_create_lookup() argument
96 phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) phy_remove_lookup() argument
148 phy_pm_runtime_get(struct phy *phy) phy_pm_runtime_get() argument
166 phy_pm_runtime_get_sync(struct phy *phy) phy_pm_runtime_get_sync() argument
184 phy_pm_runtime_put(struct phy *phy) phy_pm_runtime_put() argument
196 phy_pm_runtime_put_sync(struct phy *phy) phy_pm_runtime_put_sync() argument
208 phy_pm_runtime_allow(struct phy *phy) phy_pm_runtime_allow() argument
220 phy_pm_runtime_forbid(struct phy *phy) phy_pm_runtime_forbid() argument
232 phy_init(struct phy *phy) phy_init() argument
261 phy_exit(struct phy *phy) phy_exit() argument
290 phy_power_on(struct phy *phy) phy_power_on() argument
332 phy_power_off(struct phy *phy) phy_power_off() argument
359 phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode) phy_set_mode_ext() argument
376 phy_reset(struct phy *phy) phy_reset() argument
407 phy_calibrate(struct phy *phy) phy_calibrate() argument
433 phy_configure(struct phy *phy, union phy_configure_opts *opts) phy_configure() argument
467 phy_validate(struct phy *phy, enum phy_mode mode, int submode, union phy_configure_opts *opts) phy_validate() argument
501 struct phy *phy = NULL; _of_phy_get() local
549 struct phy *phy = NULL; of_phy_get() local
574 of_phy_put(struct phy *phy) of_phy_put() argument
596 phy_put(struct device *dev, struct phy *phy) phy_put() argument
611 devm_phy_put(struct device *dev, struct phy *phy) devm_phy_put() argument
636 struct phy *phy; of_phy_simple_xlate() local
667 struct phy *phy; phy_get() local
711 struct phy *phy = phy_get(dev, string); phy_optional_get() local
732 struct phy **ptr, *phy; devm_phy_get() local
765 struct phy *phy = devm_phy_get(dev, string); devm_phy_optional_get() local
787 struct phy **ptr, *phy; devm_of_phy_get() local
827 struct phy **ptr, *phy; devm_of_phy_get_by_index() local
872 struct phy *phy; phy_create() local
946 struct phy **ptr, *phy; devm_phy_create() local
970 phy_destroy(struct phy *phy) phy_destroy() argument
985 devm_phy_destroy(struct device *dev, struct phy *phy) devm_phy_destroy() argument
1146 struct phy *phy; phy_release() local
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/
H A Dcal-camerarx.c33 static inline u32 camerarx_read(struct cal_camerarx *phy, u32 offset) in camerarx_read() argument
35 return ioread32(phy->base + offset); in camerarx_read()
38 static inline void camerarx_write(struct cal_camerarx *phy, u32 offset, u32 val) in camerarx_write() argument
40 iowrite32(val, phy->base + offset); in camerarx_write()
48 static s64 cal_camerarx_get_external_rate(struct cal_camerarx *phy) in cal_camerarx_get_external_rate() argument
53 ctrl = v4l2_ctrl_find(phy->sensor->ctrl_handler, V4L2_CID_PIXEL_RATE); in cal_camerarx_get_external_rate()
55 phy_err(phy, "no pixel rate control in subdev: %s\n", in cal_camerarx_get_external_rate()
56 phy->sensor->name); in cal_camerarx_get_external_rate()
61 phy_dbg(3, phy, "sensor Pixel Rate: %llu\n", rate); in cal_camerarx_get_external_rate()
66 static void cal_camerarx_lane_config(struct cal_camerarx *phy) in cal_camerarx_lane_config() argument
94 cal_camerarx_enable(struct cal_camerarx *phy) cal_camerarx_enable() argument
107 cal_camerarx_disable(struct cal_camerarx *phy) cal_camerarx_disable() argument
119 cal_camerarx_config(struct cal_camerarx *phy, s64 external_rate, const struct cal_fmt *fmt) cal_camerarx_config() argument
170 cal_camerarx_power(struct cal_camerarx *phy, bool enable) cal_camerarx_power() argument
199 cal_camerarx_wait_reset(struct cal_camerarx *phy) cal_camerarx_wait_reset() argument
219 cal_camerarx_wait_stop_state(struct cal_camerarx *phy) cal_camerarx_wait_stop_state() argument
237 cal_camerarx_start(struct cal_camerarx *phy, const struct cal_fmt *fmt) cal_camerarx_start() argument
365 cal_camerarx_stop(struct cal_camerarx *phy) cal_camerarx_stop() argument
421 cal_camerarx_i913_errata(struct cal_camerarx *phy) cal_camerarx_i913_errata() argument
434 cal_camerarx_enable_irqs(struct cal_camerarx *phy) cal_camerarx_enable_irqs() argument
465 cal_camerarx_disable_irqs(struct cal_camerarx *phy) cal_camerarx_disable_irqs() argument
486 cal_camerarx_ppi_enable(struct cal_camerarx *phy) cal_camerarx_ppi_enable() argument
493 cal_camerarx_ppi_disable(struct cal_camerarx *phy) cal_camerarx_ppi_disable() argument
499 cal_camerarx_regmap_init(struct cal_dev *cal, struct cal_camerarx *phy) cal_camerarx_regmap_init() argument
533 cal_camerarx_parse_dt(struct cal_camerarx *phy) cal_camerarx_parse_dt() argument
603 struct cal_camerarx *phy; cal_camerarx_create() local
642 cal_camerarx_destroy(struct cal_camerarx *phy) cal_camerarx_destroy() argument
[all...]
/kernel/linux/linux-5.10/include/linux/phy/
H A Dphy.h3 * phy.h -- generic phy header file
19 #include <linux/phy/phy-dp.h>
20 #include <linux/phy/phy-mipi-dphy.h>
22 struct phy;
48 * union phy_configure_opts - Opaque generic phy configuration
51 * the MIPI_DPHY phy mode.
61 * struct phy_ops - set of function pointers for performing phy operation
138 struct phy { global() struct
177 struct phy *phy; global() member
194 phy_set_drvdata(struct phy *phy, void *data) phy_set_drvdata() argument
199 phy_get_drvdata(struct phy *phy) phy_get_drvdata() argument
222 phy_get_mode(struct phy *phy) phy_get_mode() argument
228 phy_get_bus_width(struct phy *phy) phy_get_bus_width() argument
232 phy_set_bus_width(struct phy *phy, int bus_width) phy_set_bus_width() argument
270 phy_pm_runtime_get(struct phy *phy) phy_pm_runtime_get() argument
277 phy_pm_runtime_get_sync(struct phy *phy) phy_pm_runtime_get_sync() argument
284 phy_pm_runtime_put(struct phy *phy) phy_pm_runtime_put() argument
291 phy_pm_runtime_put_sync(struct phy *phy) phy_pm_runtime_put_sync() argument
298 phy_pm_runtime_allow(struct phy *phy) phy_pm_runtime_allow() argument
303 phy_pm_runtime_forbid(struct phy *phy) phy_pm_runtime_forbid() argument
308 phy_init(struct phy *phy) phy_init() argument
315 phy_exit(struct phy *phy) phy_exit() argument
322 phy_power_on(struct phy *phy) phy_power_on() argument
329 phy_power_off(struct phy *phy) phy_power_off() argument
336 phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode) phy_set_mode_ext() argument
347 phy_get_mode(struct phy *phy) phy_get_mode() argument
352 phy_reset(struct phy *phy) phy_reset() argument
359 phy_calibrate(struct phy *phy) phy_calibrate() argument
366 phy_configure(struct phy *phy, union phy_configure_opts *opts) phy_configure() argument
375 phy_validate(struct phy *phy, enum phy_mode mode, int submode, union phy_configure_opts *opts) phy_validate() argument
384 phy_get_bus_width(struct phy *phy) phy_get_bus_width() argument
389 phy_set_bus_width(struct phy *phy, int bus_width) phy_set_bus_width() argument
430 of_phy_put(struct phy *phy) of_phy_put() argument
434 phy_put(struct device *dev, struct phy *phy) phy_put() argument
438 devm_phy_put(struct device *dev, struct phy *phy) devm_phy_put() argument
467 phy_destroy(struct phy *phy) phy_destroy() argument
471 devm_phy_destroy(struct device *dev, struct phy *phy) devm_phy_destroy() argument
500 phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) phy_create_lookup() argument
504 phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) phy_remove_lookup() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/libsas/
H A Dsas_phy.c20 struct asd_sas_phy *phy = ev->phy; in sas_phye_loss_of_signal() local
22 phy->error = 0; in sas_phye_loss_of_signal()
23 sas_deform_port(phy, 1); in sas_phye_loss_of_signal()
29 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_done() local
31 phy->error = 0; in sas_phye_oob_done()
37 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_error() local
38 struct sas_ha_struct *sas_ha = phy in sas_phye_oob_error()
66 struct asd_sas_phy *phy = ev->phy; sas_phye_spinup_hold() local
78 struct asd_sas_phy *phy = ev->phy; sas_phye_resume_timeout() local
95 struct asd_sas_phy *phy = ev->phy; sas_phye_shutdown() local
122 struct asd_sas_phy *phy = sas_ha->sas_phy[i]; sas_register_phys() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/libsas/
H A Dsas_phy.c20 struct asd_sas_phy *phy = ev->phy; in sas_phye_loss_of_signal() local
22 phy->error = 0; in sas_phye_loss_of_signal()
23 sas_deform_port(phy, 1); in sas_phye_loss_of_signal()
29 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_done() local
31 phy->error = 0; in sas_phye_oob_done()
37 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_error() local
38 struct sas_ha_struct *sas_ha = phy in sas_phye_oob_error()
66 struct asd_sas_phy *phy = ev->phy; sas_phye_spinup_hold() local
78 struct asd_sas_phy *phy = ev->phy; sas_phye_resume_timeout() local
95 struct asd_sas_phy *phy = ev->phy; sas_phye_shutdown() local
122 struct asd_sas_phy *phy = sas_ha->sas_phy[i]; sas_register_phys() local
[all...]
/kernel/linux/linux-5.10/drivers/net/
H A Dsungem_phy.c51 static inline int __sungem_phy_read(struct mii_phy* phy, int id, int reg) in __sungem_phy_read() argument
53 return phy->mdio_read(phy->dev, id, reg); in __sungem_phy_read()
56 static inline void __sungem_phy_write(struct mii_phy* phy, int id, int reg, int val) in __sungem_phy_write() argument
58 phy->mdio_write(phy->dev, id, reg, val); in __sungem_phy_write()
61 static inline int sungem_phy_read(struct mii_phy* phy, int reg) in sungem_phy_read() argument
63 return phy->mdio_read(phy->dev, phy in sungem_phy_read()
66 sungem_phy_write(struct mii_phy* phy, int reg, int val) sungem_phy_write() argument
71 reset_one_mii_phy(struct mii_phy* phy, int phy_id) reset_one_mii_phy() argument
95 bcm5201_init(struct mii_phy* phy) bcm5201_init() argument
108 bcm5201_suspend(struct mii_phy* phy) bcm5201_suspend() argument
116 bcm5221_init(struct mii_phy* phy) bcm5221_init() argument
139 bcm5221_suspend(struct mii_phy* phy) bcm5221_suspend() argument
154 bcm5241_init(struct mii_phy* phy) bcm5241_init() argument
177 bcm5241_suspend(struct mii_phy* phy) bcm5241_suspend() argument
192 bcm5400_init(struct mii_phy* phy) bcm5400_init() argument
221 bcm5400_suspend(struct mii_phy* phy) bcm5400_suspend() argument
229 bcm5401_init(struct mii_phy* phy) bcm5401_init() argument
277 bcm5401_suspend(struct mii_phy* phy) bcm5401_suspend() argument
285 bcm5411_init(struct mii_phy* phy) bcm5411_init() argument
314 genmii_setup_aneg(struct mii_phy *phy, u32 advertise) genmii_setup_aneg() argument
345 genmii_setup_forced(struct mii_phy *phy, int speed, int fd) genmii_setup_forced() argument
378 genmii_poll_link(struct mii_phy *phy) genmii_poll_link() argument
391 genmii_read_link(struct mii_phy *phy) genmii_read_link() argument
415 generic_suspend(struct mii_phy* phy) generic_suspend() argument
422 bcm5421_init(struct mii_phy* phy) bcm5421_init() argument
470 bcm54xx_setup_aneg(struct mii_phy *phy, u32 advertise) bcm54xx_setup_aneg() argument
514 bcm54xx_setup_forced(struct mii_phy *phy, int speed, int fd) bcm54xx_setup_forced() argument
549 bcm54xx_read_link(struct mii_phy *phy) bcm54xx_read_link() argument
575 marvell88e1111_init(struct mii_phy* phy) marvell88e1111_init() argument
599 bcm5421_poll_link(struct mii_phy* phy) bcm5421_poll_link() argument
623 bcm5421_read_link(struct mii_phy* phy) bcm5421_read_link() argument
651 bcm5421_enable_fiber(struct mii_phy* phy, int autoneg) bcm5421_enable_fiber() argument
672 bcm5461_poll_link(struct mii_phy* phy) bcm5461_poll_link() argument
698 bcm5461_read_link(struct mii_phy* phy) bcm5461_read_link() argument
727 bcm5461_enable_fiber(struct mii_phy* phy, int autoneg) bcm5461_enable_fiber() argument
746 marvell_setup_aneg(struct mii_phy *phy, u32 advertise) marvell_setup_aneg() argument
797 marvell_setup_forced(struct mii_phy *phy, int speed, int fd) marvell_setup_forced() argument
847 marvell_read_link(struct mii_phy *phy) marvell_read_link() argument
1161 sungem_phy_probe(struct mii_phy *phy, int mii_id) sungem_phy_probe() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/
H A Dsungem_phy.c47 static inline int __sungem_phy_read(struct mii_phy* phy, int id, int reg) in __sungem_phy_read() argument
49 return phy->mdio_read(phy->dev, id, reg); in __sungem_phy_read()
52 static inline void __sungem_phy_write(struct mii_phy* phy, int id, int reg, int val) in __sungem_phy_write() argument
54 phy->mdio_write(phy->dev, id, reg, val); in __sungem_phy_write()
57 static inline int sungem_phy_read(struct mii_phy* phy, int reg) in sungem_phy_read() argument
59 return phy->mdio_read(phy->dev, phy in sungem_phy_read()
62 sungem_phy_write(struct mii_phy* phy, int reg, int val) sungem_phy_write() argument
67 reset_one_mii_phy(struct mii_phy* phy, int phy_id) reset_one_mii_phy() argument
91 bcm5201_init(struct mii_phy* phy) bcm5201_init() argument
104 bcm5201_suspend(struct mii_phy* phy) bcm5201_suspend() argument
112 bcm5221_init(struct mii_phy* phy) bcm5221_init() argument
135 bcm5221_suspend(struct mii_phy* phy) bcm5221_suspend() argument
150 bcm5241_init(struct mii_phy* phy) bcm5241_init() argument
173 bcm5241_suspend(struct mii_phy* phy) bcm5241_suspend() argument
188 bcm5400_init(struct mii_phy* phy) bcm5400_init() argument
217 bcm5400_suspend(struct mii_phy* phy) bcm5400_suspend() argument
225 bcm5401_init(struct mii_phy* phy) bcm5401_init() argument
273 bcm5401_suspend(struct mii_phy* phy) bcm5401_suspend() argument
281 bcm5411_init(struct mii_phy* phy) bcm5411_init() argument
310 genmii_setup_aneg(struct mii_phy *phy, u32 advertise) genmii_setup_aneg() argument
341 genmii_setup_forced(struct mii_phy *phy, int speed, int fd) genmii_setup_forced() argument
374 genmii_poll_link(struct mii_phy *phy) genmii_poll_link() argument
387 genmii_read_link(struct mii_phy *phy) genmii_read_link() argument
411 generic_suspend(struct mii_phy* phy) generic_suspend() argument
418 bcm5421_init(struct mii_phy* phy) bcm5421_init() argument
466 bcm54xx_setup_aneg(struct mii_phy *phy, u32 advertise) bcm54xx_setup_aneg() argument
510 bcm54xx_setup_forced(struct mii_phy *phy, int speed, int fd) bcm54xx_setup_forced() argument
545 bcm54xx_read_link(struct mii_phy *phy) bcm54xx_read_link() argument
571 marvell88e1111_init(struct mii_phy* phy) marvell88e1111_init() argument
595 bcm5421_poll_link(struct mii_phy* phy) bcm5421_poll_link() argument
619 bcm5421_read_link(struct mii_phy* phy) bcm5421_read_link() argument
647 bcm5421_enable_fiber(struct mii_phy* phy, int autoneg) bcm5421_enable_fiber() argument
668 bcm5461_poll_link(struct mii_phy* phy) bcm5461_poll_link() argument
694 bcm5461_read_link(struct mii_phy* phy) bcm5461_read_link() argument
723 bcm5461_enable_fiber(struct mii_phy* phy, int autoneg) bcm5461_enable_fiber() argument
742 marvell_setup_aneg(struct mii_phy *phy, u32 advertise) marvell_setup_aneg() argument
793 marvell_setup_forced(struct mii_phy *phy, int speed, int fd) marvell_setup_forced() argument
843 marvell_read_link(struct mii_phy *phy) marvell_read_link() argument
1157 sungem_phy_probe(struct mii_phy *phy, int mii_id) sungem_phy_probe() argument
[all...]
/kernel/linux/linux-6.6/drivers/phy/hisilicon/
H A Dphy-hi3670-pcie.c3 * PCIe phy driver for Kirin 970
25 #include <linux/phy/phy.h>
168 static inline void hi3670_apb_phy_writel(struct hi3670_pcie_phy *phy, u32 val, in hi3670_apb_phy_writel() argument
171 writel(val, phy->base + APB_PHY_START_ADDR + reg); in hi3670_apb_phy_writel()
174 static inline u32 hi3670_apb_phy_readl(struct hi3670_pcie_phy *phy, u32 reg) in hi3670_apb_phy_readl() argument
176 return readl(phy->base + APB_PHY_START_ADDR + reg); in hi3670_apb_phy_readl()
179 static inline void hi3670_apb_phy_updatel(struct hi3670_pcie_phy *phy, in hi3670_apb_phy_updatel() argument
184 regval = hi3670_apb_phy_readl(phy, reg); in hi3670_apb_phy_updatel()
187 hi3670_apb_phy_writel(phy, regva in hi3670_apb_phy_updatel()
190 kirin_apb_natural_phy_writel(struct hi3670_pcie_phy *phy, u32 val, u32 reg) kirin_apb_natural_phy_writel() argument
196 kirin_apb_natural_phy_readl(struct hi3670_pcie_phy *phy, u32 reg) kirin_apb_natural_phy_readl() argument
202 hi3670_pcie_phy_oe_enable(struct hi3670_pcie_phy *phy, bool enable) hi3670_pcie_phy_oe_enable() argument
215 hi3670_pcie_get_eyeparam(struct hi3670_pcie_phy *phy) hi3670_pcie_get_eyeparam() argument
233 hi3670_pcie_set_eyeparam(struct hi3670_pcie_phy *phy) hi3670_pcie_set_eyeparam() argument
278 hi3670_pcie_natural_cfg(struct hi3670_pcie_phy *phy) hi3670_pcie_natural_cfg() argument
306 hi3670_pcie_pll_init(struct hi3670_pcie_phy *phy) hi3670_pcie_pll_init() argument
334 hi3670_pcie_pll_ctrl(struct hi3670_pcie_phy *phy, bool enable) hi3670_pcie_pll_ctrl() argument
374 hi3670_pcie_hp_debounce_gt(struct hi3670_pcie_phy *phy, bool open) hi3670_pcie_hp_debounce_gt() argument
386 hi3670_pcie_phyref_gt(struct hi3670_pcie_phy *phy, bool open) hi3670_pcie_phyref_gt() argument
403 hi3670_pcie_oe_ctrl(struct hi3670_pcie_phy *phy, bool en_flag) hi3670_pcie_oe_ctrl() argument
429 hi3670_pcie_ioref_gt(struct hi3670_pcie_phy *phy, bool open) hi3670_pcie_ioref_gt() argument
462 hi3670_pcie_allclk_ctrl(struct hi3670_pcie_phy *phy, bool clk_on) hi3670_pcie_allclk_ctrl() argument
503 is_pipe_clk_stable(struct hi3670_pcie_phy *phy) is_pipe_clk_stable() argument
524 hi3670_pcie_noc_power(struct hi3670_pcie_phy *phy, bool enable) hi3670_pcie_noc_power() argument
554 hi3670_pcie_get_resources_from_pcie(struct hi3670_pcie_phy *phy) hi3670_pcie_get_resources_from_pcie() argument
590 kirin_pcie_clk_ctrl(struct hi3670_pcie_phy *phy, bool enable) kirin_pcie_clk_ctrl() argument
639 struct hi3670_pcie_phy *phy = phy_get_drvdata(generic_phy); hi3670_pcie_phy_init() local
662 struct hi3670_pcie_phy *phy = phy_get_drvdata(generic_phy); hi3670_pcie_phy_power_on() local
717 struct hi3670_pcie_phy *phy = phy_get_drvdata(generic_phy); hi3670_pcie_phy_power_off() local
745 hi3670_pcie_phy_get_resources(struct hi3670_pcie_phy *phy, struct platform_device *pdev) hi3670_pcie_phy_get_resources() argument
798 struct hi3670_pcie_phy *phy; hi3670_pcie_phy_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/emac/
H A Dphy.c3 * drivers/net/ethernet/ibm/emac/phy.c
30 #include "phy.h"
35 static inline int _phy_read(struct mii_phy *phy, int reg) in _phy_read() argument
37 return phy->mdio_read(phy->dev, phy->address, reg); in _phy_read()
40 static inline void _phy_write(struct mii_phy *phy, int reg, int val) in _phy_write() argument
42 phy->mdio_write(phy->dev, phy in _phy_write()
45 gpcs_phy_read(struct mii_phy *phy, int reg) gpcs_phy_read() argument
50 gpcs_phy_write(struct mii_phy *phy, int reg, int val) gpcs_phy_write() argument
55 emac_mii_reset_phy(struct mii_phy *phy) emac_mii_reset_phy() argument
79 emac_mii_reset_gpcs(struct mii_phy *phy) emac_mii_reset_gpcs() argument
110 genmii_setup_aneg(struct mii_phy *phy, u32 advertise) genmii_setup_aneg() argument
169 genmii_setup_forced(struct mii_phy *phy, int speed, int fd) genmii_setup_forced() argument
206 genmii_poll_link(struct mii_phy *phy) genmii_poll_link() argument
220 genmii_read_link(struct mii_phy *phy) genmii_read_link() argument
306 cis8201_init(struct mii_phy *phy) cis8201_init() argument
367 m88e1111_init(struct mii_phy *phy) m88e1111_init() argument
380 m88e1112_init(struct mii_phy *phy) m88e1112_init() argument
407 et1011c_init(struct mii_phy *phy) et1011c_init() argument
474 ar8035_init(struct mii_phy *phy) ar8035_init() argument
510 emac_mii_phy_probe(struct mii_phy *phy, int address) emac_mii_phy_probe() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/emac/
H A Dphy.c3 * drivers/net/ethernet/ibm/emac/phy.c
30 #include "phy.h"
35 static inline int _phy_read(struct mii_phy *phy, int reg) in _phy_read() argument
37 return phy->mdio_read(phy->dev, phy->address, reg); in _phy_read()
40 static inline void _phy_write(struct mii_phy *phy, int reg, int val) in _phy_write() argument
42 phy->mdio_write(phy->dev, phy in _phy_write()
45 gpcs_phy_read(struct mii_phy *phy, int reg) gpcs_phy_read() argument
50 gpcs_phy_write(struct mii_phy *phy, int reg, int val) gpcs_phy_write() argument
55 emac_mii_reset_phy(struct mii_phy *phy) emac_mii_reset_phy() argument
79 emac_mii_reset_gpcs(struct mii_phy *phy) emac_mii_reset_gpcs() argument
110 genmii_setup_aneg(struct mii_phy *phy, u32 advertise) genmii_setup_aneg() argument
169 genmii_setup_forced(struct mii_phy *phy, int speed, int fd) genmii_setup_forced() argument
206 genmii_poll_link(struct mii_phy *phy) genmii_poll_link() argument
220 genmii_read_link(struct mii_phy *phy) genmii_read_link() argument
306 cis8201_init(struct mii_phy *phy) cis8201_init() argument
367 m88e1111_init(struct mii_phy *phy) m88e1111_init() argument
380 m88e1112_init(struct mii_phy *phy) m88e1112_init() argument
407 et1011c_init(struct mii_phy *phy) et1011c_init() argument
474 ar8035_init(struct mii_phy *phy) ar8035_init() argument
510 emac_mii_phy_probe(struct mii_phy *phy, int address) emac_mii_phy_probe() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/phy/
H A Dphy_led_triggers.c4 #include <linux/phy.h>
8 static struct phy_led_trigger *phy_speed_to_led_trigger(struct phy_device *phy, in phy_speed_to_led_trigger() argument
13 for (i = 0; i < phy->phy_num_led_triggers; i++) { in phy_speed_to_led_trigger()
14 if (phy->phy_led_triggers[i].speed == speed) in phy_speed_to_led_trigger()
15 return &phy->phy_led_triggers[i]; in phy_speed_to_led_trigger()
20 static void phy_led_trigger_no_link(struct phy_device *phy) in phy_led_trigger_no_link() argument
22 if (phy->last_triggered) { in phy_led_trigger_no_link()
23 led_trigger_event(&phy->last_triggered->trigger, LED_OFF); in phy_led_trigger_no_link()
24 led_trigger_event(&phy->led_link_trigger->trigger, LED_OFF); in phy_led_trigger_no_link()
25 phy in phy_led_trigger_no_link()
29 phy_led_trigger_change_speed(struct phy_device *phy) phy_led_trigger_change_speed() argument
60 phy_led_trigger_format_name(struct phy_device *phy, char *buf, size_t size, const char *suffix) phy_led_trigger_format_name() argument
67 phy_led_trigger_register(struct phy_device *phy, struct phy_led_trigger *plt, unsigned int speed) phy_led_trigger_register() argument
84 phy_led_triggers_register(struct phy_device *phy) phy_led_triggers_register() argument
146 phy_led_triggers_unregister(struct phy_device *phy) phy_led_triggers_unregister() argument
[all...]
/kernel/linux/linux-5.10/drivers/phy/ti/
H A Dphy-dm816x-usb.c24 #include <linux/phy/phy.h>
32 * phy as being SR70LX Synopsys USB 2.0 OTG nanoPHY. It also seems at
42 * Finally, the phy on dm814x and am335x is different from dm816x.
45 #define DM816X_USB_CTRL_PHYSLEEP1 BIT(1) /* Enable the first phy */
46 #define DM816X_USB_CTRL_PHYSLEEP0 BIT(0) /* Enable the second phy */
57 struct usb_phy phy; member
81 static int dm816x_usb_phy_init(struct phy *x) in dm816x_usb_phy_init()
83 struct dm816x_usb_phy *phy = phy_get_drvdata(x); in dm816x_usb_phy_init() local
86 if (clk_get_rate(phy in dm816x_usb_phy_init()
122 struct dm816x_usb_phy *phy = dev_get_drvdata(dev); dm816x_usb_phy_runtime_suspend() local
140 struct dm816x_usb_phy *phy = dev_get_drvdata(dev); dm816x_usb_phy_runtime_resume() local
185 struct dm816x_usb_phy *phy; dm816x_usb_phy_probe() local
271 struct dm816x_usb_phy *phy = platform_get_drvdata(pdev); dm816x_usb_phy_remove() local
[all...]
H A Dphy-omap-usb2.c17 #include <linux/phy/omap_control_phy.h>
18 #include <linux/phy/omap_usb.h>
19 #include <linux/phy/phy.h>
54 struct usb_phy phy; member
70 #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy)
93 * this phy
94 * @comparator - the companion phy(comparator) for this phy
96 * The phy companio
103 struct omap_usb *phy; omap_usb2_set_comparator() local
117 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); omap_usb_set_vbus() local
127 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); omap_usb_start_srp() local
154 omap_usb_phy_power(struct omap_usb *phy, int on) omap_usb_phy_power() argument
176 struct omap_usb *phy = phy_get_drvdata(x); omap_usb_power_off() local
183 struct omap_usb *phy = phy_get_drvdata(x); omap_usb_power_on() local
188 omap_usb2_disable_clocks(struct omap_usb *phy) omap_usb2_disable_clocks() argument
197 omap_usb2_enable_clocks(struct omap_usb *phy) omap_usb2_enable_clocks() argument
226 struct omap_usb *phy = phy_get_drvdata(x); omap_usb_init() local
257 struct omap_usb *phy = phy_get_drvdata(x); omap_usb_exit() local
345 omap_usb2_init_errata(struct omap_usb *phy) omap_usb2_init_errata() argument
367 struct omap_usb *phy; omap_usb2_probe() local
513 struct omap_usb *phy = platform_get_drvdata(pdev); omap_usb2_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/phy/ti/
H A Dphy-dm816x-usb.c15 #include <linux/phy/phy.h>
23 * phy as being SR70LX Synopsys USB 2.0 OTG nanoPHY. It also seems at
33 * Finally, the phy on dm814x and am335x is different from dm816x.
36 #define DM816X_USB_CTRL_PHYSLEEP1 BIT(1) /* Enable the first phy */
37 #define DM816X_USB_CTRL_PHYSLEEP0 BIT(0) /* Enable the second phy */
48 struct usb_phy phy; member
72 static int dm816x_usb_phy_init(struct phy *x) in dm816x_usb_phy_init()
74 struct dm816x_usb_phy *phy = phy_get_drvdata(x); in dm816x_usb_phy_init() local
77 if (clk_get_rate(phy in dm816x_usb_phy_init()
113 struct dm816x_usb_phy *phy = dev_get_drvdata(dev); dm816x_usb_phy_runtime_suspend() local
131 struct dm816x_usb_phy *phy = dev_get_drvdata(dev); dm816x_usb_phy_runtime_resume() local
176 struct dm816x_usb_phy *phy; dm816x_usb_phy_probe() local
262 struct dm816x_usb_phy *phy = platform_get_drvdata(pdev); dm816x_usb_phy_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/phy/ralink/
H A Dphy-ralink-usb.c17 #include <linux/phy/phy.h>
56 struct phy *phy; member
61 static void u2_phy_w32(struct ralink_usb_phy *phy, u32 val, u32 reg) in u2_phy_w32() argument
63 writel(val, phy->base + reg); in u2_phy_w32()
66 static u32 u2_phy_r32(struct ralink_usb_phy *phy, u32 reg) in u2_phy_r32() argument
68 return readl(phy->base + reg); in u2_phy_r32()
71 static void ralink_usb_phy_init(struct ralink_usb_phy *phy) in ralink_usb_phy_init() argument
73 u2_phy_r32(phy, OFS_U2_PHY_AC in ralink_usb_phy_init()
93 struct ralink_usb_phy *phy = phy_get_drvdata(_phy); ralink_usb_phy_power_on() local
132 struct ralink_usb_phy *phy = phy_get_drvdata(_phy); ralink_usb_phy_power_off() local
176 struct ralink_usb_phy *phy; ralink_usb_phy_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/phy/ralink/
H A Dphy-ralink-usb.c17 #include <linux/phy/phy.h>
56 struct phy *phy; member
61 static void u2_phy_w32(struct ralink_usb_phy *phy, u32 val, u32 reg) in u2_phy_w32() argument
63 writel(val, phy->base + reg); in u2_phy_w32()
66 static u32 u2_phy_r32(struct ralink_usb_phy *phy, u32 reg) in u2_phy_r32() argument
68 return readl(phy->base + reg); in u2_phy_r32()
71 static void ralink_usb_phy_init(struct ralink_usb_phy *phy) in ralink_usb_phy_init() argument
73 u2_phy_r32(phy, OFS_U2_PHY_AC in ralink_usb_phy_init()
93 struct ralink_usb_phy *phy = phy_get_drvdata(_phy); ralink_usb_phy_power_on() local
132 struct ralink_usb_phy *phy = phy_get_drvdata(_phy); ralink_usb_phy_power_off() local
175 struct ralink_usb_phy *phy; ralink_usb_phy_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dphy_led_triggers.c4 #include <linux/phy.h>
8 static struct phy_led_trigger *phy_speed_to_led_trigger(struct phy_device *phy, in phy_speed_to_led_trigger() argument
13 for (i = 0; i < phy->phy_num_led_triggers; i++) { in phy_speed_to_led_trigger()
14 if (phy->phy_led_triggers[i].speed == speed) in phy_speed_to_led_trigger()
15 return &phy->phy_led_triggers[i]; in phy_speed_to_led_trigger()
20 static void phy_led_trigger_no_link(struct phy_device *phy) in phy_led_trigger_no_link() argument
22 if (phy->last_triggered) { in phy_led_trigger_no_link()
23 led_trigger_event(&phy->last_triggered->trigger, LED_OFF); in phy_led_trigger_no_link()
24 led_trigger_event(&phy->led_link_trigger->trigger, LED_OFF); in phy_led_trigger_no_link()
25 phy in phy_led_trigger_no_link()
29 phy_led_trigger_change_speed(struct phy_device *phy) phy_led_trigger_change_speed() argument
60 phy_led_trigger_format_name(struct phy_device *phy, char *buf, size_t size, const char *suffix) phy_led_trigger_format_name() argument
67 phy_led_trigger_register(struct phy_device *phy, struct phy_led_trigger *plt, unsigned int speed, const char *suffix) phy_led_trigger_register() argument
84 phy_led_triggers_register(struct phy_device *phy) phy_led_triggers_register() argument
142 phy_led_triggers_unregister(struct phy_device *phy) phy_led_triggers_unregister() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/ti/cal/
H A Dcal-camerarx.c33 static inline u32 camerarx_read(struct cal_camerarx *phy, u32 offset) in camerarx_read() argument
35 return ioread32(phy->base + offset); in camerarx_read()
38 static inline void camerarx_write(struct cal_camerarx *phy, u32 offset, u32 val) in camerarx_write() argument
40 iowrite32(val, phy->base + offset); in camerarx_write()
48 static s64 cal_camerarx_get_ext_link_freq(struct cal_camerarx *phy) in cal_camerarx_get_ext_link_freq() argument
50 struct v4l2_mbus_config_mipi_csi2 *mipi_csi2 = &phy->endpoint.bus.mipi_csi2; in cal_camerarx_get_ext_link_freq()
58 state = v4l2_subdev_get_locked_active_state(&phy->subdev); in cal_camerarx_get_ext_link_freq()
60 fmt = v4l2_subdev_get_pad_format(&phy->subdev, state, CAL_CAMERARX_PAD_SINK); in cal_camerarx_get_ext_link_freq()
68 freq = v4l2_get_link_freq(phy->source->ctrl_handler, bpp, 2 * num_lanes); in cal_camerarx_get_ext_link_freq()
70 phy_err(phy, "faile in cal_camerarx_get_ext_link_freq()
80 cal_camerarx_lane_config(struct cal_camerarx *phy) cal_camerarx_lane_config() argument
108 cal_camerarx_enable(struct cal_camerarx *phy) cal_camerarx_enable() argument
121 cal_camerarx_disable(struct cal_camerarx *phy) cal_camerarx_disable() argument
133 cal_camerarx_config(struct cal_camerarx *phy, s64 link_freq) cal_camerarx_config() argument
168 cal_camerarx_power(struct cal_camerarx *phy, bool enable) cal_camerarx_power() argument
197 cal_camerarx_wait_reset(struct cal_camerarx *phy) cal_camerarx_wait_reset() argument
217 cal_camerarx_wait_stop_state(struct cal_camerarx *phy) cal_camerarx_wait_stop_state() argument
235 cal_camerarx_enable_irqs(struct cal_camerarx *phy) cal_camerarx_enable_irqs() argument
262 cal_camerarx_disable_irqs(struct cal_camerarx *phy) cal_camerarx_disable_irqs() argument
272 cal_camerarx_ppi_enable(struct cal_camerarx *phy) cal_camerarx_ppi_enable() argument
281 cal_camerarx_ppi_disable(struct cal_camerarx *phy) cal_camerarx_ppi_disable() argument
287 cal_camerarx_start(struct cal_camerarx *phy) cal_camerarx_start() argument
428 cal_camerarx_stop(struct cal_camerarx *phy) cal_camerarx_stop() argument
480 cal_camerarx_i913_errata(struct cal_camerarx *phy) cal_camerarx_i913_errata() argument
490 cal_camerarx_regmap_init(struct cal_dev *cal, struct cal_camerarx *phy) cal_camerarx_regmap_init() argument
524 cal_camerarx_parse_dt(struct cal_camerarx *phy) cal_camerarx_parse_dt() argument
604 struct cal_camerarx *phy = to_cal_camerarx(sd); cal_camerarx_sd_s_stream() local
624 struct cal_camerarx *phy = to_cal_camerarx(sd); cal_camerarx_sd_enum_mbus_code() local
751 struct cal_camerarx *phy = to_cal_camerarx(sd); cal_camerarx_get_frame_desc() local
813 struct cal_camerarx *phy; cal_camerarx_create() local
885 cal_camerarx_destroy(struct cal_camerarx *phy) cal_camerarx_destroy() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_combo_phy_regs.h17 #define _ICL_COMBOPHY(phy) _PICK(phy, _ICL_COMBOPHY_A, \
24 #define _ICL_PORT_CL_DW(dw, phy) (_ICL_COMBOPHY(phy) + \
27 #define ICL_PORT_CL_DW5(phy) _MMIO(_ICL_PORT_CL_DW(5, phy))
31 #define ICL_PORT_CL_DW10(phy) _MMIO(_ICL_PORT_CL_DW(10, phy))
48 #define ICL_PORT_CL_DW12(phy) _MMIO(_ICL_PORT_CL_DW(12, phy))
[all...]
/kernel/linux/linux-5.10/drivers/phy/mediatek/
H A Dphy-mtk-ufs.c11 #include <linux/phy/phy.h>
41 static inline u32 mphy_readl(struct ufs_mtk_phy *phy, u32 reg) in mphy_readl() argument
43 return readl(phy->mmio + reg); in mphy_readl()
46 static inline void mphy_writel(struct ufs_mtk_phy *phy, u32 val, u32 reg) in mphy_writel() argument
48 writel(val, phy->mmio + reg); in mphy_writel()
51 static void mphy_set_bit(struct ufs_mtk_phy *phy, u32 reg, u32 bit) in mphy_set_bit() argument
55 val = mphy_readl(phy, reg); in mphy_set_bit()
57 mphy_writel(phy, val, reg); in mphy_set_bit()
60 static void mphy_clr_bit(struct ufs_mtk_phy *phy, u3 argument
74 ufs_mtk_phy_clk_init(struct ufs_mtk_phy *phy) ufs_mtk_phy_clk_init() argument
93 ufs_mtk_phy_set_active(struct ufs_mtk_phy *phy) ufs_mtk_phy_set_active() argument
122 ufs_mtk_phy_set_deep_hibern(struct ufs_mtk_phy *phy) ufs_mtk_phy_set_deep_hibern() argument
150 struct ufs_mtk_phy *phy = get_ufs_mtk_phy(generic_phy); ufs_mtk_phy_power_on() local
177 struct ufs_mtk_phy *phy = get_ufs_mtk_phy(generic_phy); ufs_mtk_phy_power_off() local
199 struct ufs_mtk_phy *phy; ufs_mtk_phy_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/nfc/s3fwrn5/
H A Di2c.c40 struct s3fwrn5_i2c_phy *phy = phy_id; in s3fwrn5_i2c_set_wake() local
42 mutex_lock(&phy->mutex); in s3fwrn5_i2c_set_wake()
43 gpio_set_value(phy->gpio_fw_wake, wake); in s3fwrn5_i2c_set_wake()
45 mutex_unlock(&phy->mutex); in s3fwrn5_i2c_set_wake()
50 struct s3fwrn5_i2c_phy *phy = phy_id; in s3fwrn5_i2c_set_mode() local
52 mutex_lock(&phy->mutex); in s3fwrn5_i2c_set_mode()
54 if (phy->mode == mode) in s3fwrn5_i2c_set_mode()
57 phy->mode = mode; in s3fwrn5_i2c_set_mode()
59 gpio_set_value(phy->gpio_en, 1); in s3fwrn5_i2c_set_mode()
60 gpio_set_value(phy in s3fwrn5_i2c_set_mode()
78 struct s3fwrn5_i2c_phy *phy = phy_id; s3fwrn5_i2c_get_mode() local
92 struct s3fwrn5_i2c_phy *phy = phy_id; s3fwrn5_i2c_write() local
124 s3fwrn5_i2c_read(struct s3fwrn5_i2c_phy *phy) s3fwrn5_i2c_read() argument
166 struct s3fwrn5_i2c_phy *phy = phy_id; s3fwrn5_i2c_irq_thread_fn() local
195 struct s3fwrn5_i2c_phy *phy = i2c_get_clientdata(client); s3fwrn5_i2c_parse_dt() local
223 struct s3fwrn5_i2c_phy *phy; s3fwrn5_i2c_probe() local
267 struct s3fwrn5_i2c_phy *phy = i2c_get_clientdata(client); s3fwrn5_i2c_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/phy/allwinner/
H A Dphy-sun9i-usb.c3 * Allwinner sun9i USB phy driver
7 * Based on phy-sun4i-usb.c from
18 #include <linux/phy/phy.h>
36 struct phy *phy; member
44 static void sun9i_usb_phy_passby(struct sun9i_usb_phy *phy, int enable) in sun9i_usb_phy_passby() argument
52 if (phy->type == USBPHY_INTERFACE_MODE_HSIC) in sun9i_usb_phy_passby()
56 reg_value = readl(phy->pmu); in sun9i_usb_phy_passby()
63 writel(reg_value, phy in sun9i_usb_phy_passby()
68 struct sun9i_usb_phy *phy = phy_get_drvdata(_phy); sun9i_usb_phy_init() local
98 struct sun9i_usb_phy *phy = phy_get_drvdata(_phy); sun9i_usb_phy_exit() local
116 struct sun9i_usb_phy *phy; sun9i_usb_phy_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/phy/allwinner/
H A Dphy-sun9i-usb.c3 * Allwinner sun9i USB phy driver
7 * Based on phy-sun4i-usb.c from
18 #include <linux/phy/phy.h>
36 struct phy *phy; member
44 static void sun9i_usb_phy_passby(struct sun9i_usb_phy *phy, int enable) in sun9i_usb_phy_passby() argument
52 if (phy->type == USBPHY_INTERFACE_MODE_HSIC) in sun9i_usb_phy_passby()
56 reg_value = readl(phy->pmu); in sun9i_usb_phy_passby()
63 writel(reg_value, phy in sun9i_usb_phy_passby()
68 struct sun9i_usb_phy *phy = phy_get_drvdata(_phy); sun9i_usb_phy_init() local
98 struct sun9i_usb_phy *phy = phy_get_drvdata(_phy); sun9i_usb_phy_exit() local
116 struct sun9i_usb_phy *phy; sun9i_usb_phy_probe() local
[all...]

Completed in 13 milliseconds

12345678910>>...105