Home
last modified time | relevance | path

Searched defs:phy (Results 1 – 200 of 382) sorted by relevance

12

/linux-4.1.27/drivers/net/
Dsungem_phy.c50 static inline int __sungem_phy_read(struct mii_phy* phy, int id, int reg) in __sungem_phy_read()
55 static inline void __sungem_phy_write(struct mii_phy* phy, int id, int reg, int val) in __sungem_phy_write()
60 static inline int sungem_phy_read(struct mii_phy* phy, int reg) in sungem_phy_read()
65 static inline void sungem_phy_write(struct mii_phy* phy, int reg, int val) in sungem_phy_write()
70 static int reset_one_mii_phy(struct mii_phy* phy, int phy_id) in reset_one_mii_phy()
94 static int bcm5201_init(struct mii_phy* phy) in bcm5201_init()
107 static int bcm5201_suspend(struct mii_phy* phy) in bcm5201_suspend()
115 static int bcm5221_init(struct mii_phy* phy) in bcm5221_init()
138 static int bcm5221_suspend(struct mii_phy* phy) in bcm5221_suspend()
153 static int bcm5241_init(struct mii_phy* phy) in bcm5241_init()
[all …]
/linux-4.1.27/include/linux/phy/
Dphy.h60 struct phy { struct
63 const struct phy_ops *ops; argument
67 struct phy_attrs attrs; argument
72 * struct phy_provider - represents the phy provider argument
90 struct phy *phy; member
101 static inline void phy_set_drvdata(struct phy *phy, void *data) in phy_set_drvdata()
106 static inline void *phy_get_drvdata(struct phy *phy) in phy_get_drvdata()
122 static inline int phy_get_bus_width(struct phy *phy) in phy_get_bus_width()
126 static inline void phy_set_bus_width(struct phy *phy, int bus_width) in phy_set_bus_width()
159 static inline int phy_pm_runtime_get(struct phy *phy) in phy_pm_runtime_get()
[all …]
Domap_usb.h34 struct usb_phy phy; member
/linux-4.1.27/drivers/phy/
Dphy-core.c34 struct phy *phy = *(struct phy **)res; in devm_phy_release() local
48 struct phy *phy = *(struct phy **)res; in devm_phy_consume() local
55 struct phy **phy = res; in devm_phy_match() local
68 int phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_create_lookup()
100 void phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_remove_lookup()
152 int phy_pm_runtime_get(struct phy *phy) in phy_pm_runtime_get()
167 int phy_pm_runtime_get_sync(struct phy *phy) in phy_pm_runtime_get_sync()
182 int phy_pm_runtime_put(struct phy *phy) in phy_pm_runtime_put()
191 int phy_pm_runtime_put_sync(struct phy *phy) in phy_pm_runtime_put_sync()
200 void phy_pm_runtime_allow(struct phy *phy) in phy_pm_runtime_allow()
[all …]
Dphy-omap-usb2.c49 struct omap_usb *phy; in omap_usb2_set_comparator() local
63 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); in omap_usb_set_vbus() local
73 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); in omap_usb_start_srp() local
102 struct omap_usb *phy = phy_get_drvdata(x); in omap_usb_power_off() local
111 struct omap_usb *phy = phy_get_drvdata(x); in omap_usb_power_on() local
120 struct omap_usb *phy = phy_get_drvdata(x); in omap_usb_init() local
190 struct omap_usb *phy; in omap_usb2_probe() local
310 struct omap_usb *phy = platform_get_drvdata(pdev); in omap_usb2_remove() local
326 struct omap_usb *phy = platform_get_drvdata(pdev); in omap_usb2_runtime_suspend() local
338 struct omap_usb *phy = platform_get_drvdata(pdev); in omap_usb2_runtime_resume() local
Dphy-ti-pipe3.c123 static struct pipe3_dpll_params *ti_pipe3_get_dpll_params(struct ti_pipe3 *phy) in ti_pipe3_get_dpll_params()
142 struct ti_pipe3 *phy = phy_get_drvdata(x); in ti_pipe3_power_off() local
151 struct ti_pipe3 *phy = phy_get_drvdata(x); in ti_pipe3_power_on() local
158 static int ti_pipe3_dpll_wait_lock(struct ti_pipe3 *phy) in ti_pipe3_dpll_wait_lock()
175 static int ti_pipe3_dpll_program(struct ti_pipe3 *phy) in ti_pipe3_dpll_program()
216 struct ti_pipe3 *phy = phy_get_drvdata(x); in ti_pipe3_init() local
249 struct ti_pipe3 *phy = phy_get_drvdata(x); in ti_pipe3_exit() local
294 struct ti_pipe3 *phy; in ti_pipe3_probe() local
431 static int ti_pipe3_enable_refclk(struct ti_pipe3 *phy) in ti_pipe3_enable_refclk()
447 static void ti_pipe3_disable_refclk(struct ti_pipe3 *phy) in ti_pipe3_disable_refclk()
[all …]
Dphy-sun4i-usb.c70 struct phy *phy; member
79 #define to_sun4i_usb_phy_data(phy) \ argument
82 static void sun4i_usb_phy_write(struct sun4i_usb_phy *phy, u32 addr, u32 data, in sun4i_usb_phy_write()
124 static void sun4i_usb_phy_passby(struct sun4i_usb_phy *phy, int enable) in sun4i_usb_phy_passby()
146 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_init() local
177 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_exit() local
188 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_power_on() local
199 struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); in sun4i_usb_phy_power_off() local
264 struct sun4i_usb_phy *phy = data->phys + i; in sun4i_usb_phy_probe() local
Dphy-bcm-kona-usb2.c42 static void bcm_kona_usb_phy_power(struct bcm_kona_usb *phy, int on) in bcm_kona_usb_phy_power()
60 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); in bcm_kona_usb_phy_init() local
78 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); in bcm_kona_usb_phy_power_on() local
87 struct bcm_kona_usb *phy = phy_get_drvdata(gphy); in bcm_kona_usb_phy_power_off() local
104 struct bcm_kona_usb *phy; in bcm_kona_usb2_probe() local
Dphy-qcom-ufs.c157 static int __ufs_qcom_phy_clk_get(struct phy *phy, in __ufs_qcom_phy_clk_get()
178 int ufs_qcom_phy_clk_get(struct phy *phy, in ufs_qcom_phy_clk_get()
245 static int __ufs_qcom_phy_init_vreg(struct phy *phy, in __ufs_qcom_phy_init_vreg()
309 static int ufs_qcom_phy_init_vreg(struct phy *phy, in ufs_qcom_phy_init_vreg()
316 int ufs_qcom_phy_cfg_vreg(struct phy *phy, in ufs_qcom_phy_cfg_vreg()
356 int ufs_qcom_phy_enable_vreg(struct phy *phy, in ufs_qcom_phy_enable_vreg()
388 struct ufs_qcom_phy *phy = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_enable_ref_clk() local
437 int ufs_qcom_phy_disable_vreg(struct phy *phy, in ufs_qcom_phy_disable_vreg()
463 struct ufs_qcom_phy *phy = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_disable_ref_clk() local
482 struct ufs_qcom_phy *phy = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_dev_ref_clk_ctrl() local
[all …]
Dphy-dm816x-usb.c57 struct usb_phy phy; member
83 struct dm816x_usb_phy *phy = phy_get_drvdata(x); in dm816x_usb_phy_init() local
123 struct dm816x_usb_phy *phy = dev_get_drvdata(dev); in dm816x_usb_phy_runtime_suspend() local
141 struct dm816x_usb_phy *phy = dev_get_drvdata(dev); in dm816x_usb_phy_runtime_resume() local
186 struct dm816x_usb_phy *phy; in dm816x_usb_phy_probe() local
266 struct dm816x_usb_phy *phy = platform_get_drvdata(pdev); in dm816x_usb_phy_remove() local
Dphy-qcom-ufs-qmp-14nm.c47 struct ufs_qcom_phy_qmp_14nm *phy = phy_get_drvdata(generic_phy); in ufs_qcom_phy_qmp_14nm_init() local
74 void ufs_qcom_phy_qmp_14nm_power_control(struct ufs_qcom_phy *phy, bool val) in ufs_qcom_phy_qmp_14nm_power_control()
85 void ufs_qcom_phy_qmp_14nm_set_tx_lane_enable(struct ufs_qcom_phy *phy, u32 val) in ufs_qcom_phy_qmp_14nm_set_tx_lane_enable()
93 static inline void ufs_qcom_phy_qmp_14nm_start_serdes(struct ufs_qcom_phy *phy) in ufs_qcom_phy_qmp_14nm_start_serdes()
138 struct ufs_qcom_phy_qmp_14nm *phy; in ufs_qcom_phy_qmp_14nm_probe() local
Dphy-sun9i-usb.c45 struct phy *phy; member
53 static void sun9i_usb_phy_passby(struct sun9i_usb_phy *phy, int enable) in sun9i_usb_phy_passby()
77 struct sun9i_usb_phy *phy = phy_get_drvdata(_phy); in sun9i_usb_phy_init() local
107 struct sun9i_usb_phy *phy = phy_get_drvdata(_phy); in sun9i_usb_phy_exit() local
125 struct sun9i_usb_phy *phy; in sun9i_usb_phy_probe() local
Dphy-qcom-ufs-qmp-20nm.c66 struct ufs_qcom_phy_qmp_20nm *phy = phy_get_drvdata(generic_phy); in ufs_qcom_phy_qmp_20nm_init() local
91 void ufs_qcom_phy_qmp_20nm_power_control(struct ufs_qcom_phy *phy, bool val) in ufs_qcom_phy_qmp_20nm_power_control()
143 void ufs_qcom_phy_qmp_20nm_set_tx_lane_enable(struct ufs_qcom_phy *phy, u32 val) in ufs_qcom_phy_qmp_20nm_set_tx_lane_enable()
150 static inline void ufs_qcom_phy_qmp_20nm_start_serdes(struct ufs_qcom_phy *phy) in ufs_qcom_phy_qmp_20nm_start_serdes()
194 struct ufs_qcom_phy_qmp_20nm *phy; in ufs_qcom_phy_qmp_20nm_probe() local
Dphy-rockchip-usb.c43 struct phy *phy; member
46 static int rockchip_usb_phy_power(struct rockchip_usb_phy *phy, in rockchip_usb_phy_power()
55 struct rockchip_usb_phy *phy = phy_get_drvdata(_phy); in rockchip_usb_phy_power_off() local
70 struct rockchip_usb_phy *phy = phy_get_drvdata(_phy); in rockchip_usb_phy_power_on() local
Dphy-stih407-usb.c37 struct phy *phy; member
55 static int stih407_usb2_init_port(struct phy *phy) in stih407_usb2_init_port()
72 static int stih407_usb2_exit_port(struct phy *phy) in stih407_usb2_exit_port()
98 struct phy *phy; in stih407_usb2_picophy_probe() local
Dphy-stih41x-usb.c71 static int stih41x_usb_phy_init(struct phy *phy) in stih41x_usb_phy_init()
79 static int stih41x_usb_phy_power_on(struct phy *phy) in stih41x_usb_phy_power_on()
98 static int stih41x_usb_phy_power_off(struct phy *phy) in stih41x_usb_phy_power_off()
131 struct phy *phy; in stih41x_usb_phy_probe() local
Dphy-exynos-dp-video.c33 static int exynos_dp_video_phy_power_on(struct phy *phy) in exynos_dp_video_phy_power_on()
42 static int exynos_dp_video_phy_power_off(struct phy *phy) in exynos_dp_video_phy_power_off()
83 struct phy *phy; in exynos_dp_video_phy_probe() local
Dphy-mvebu-sata.c32 static int phy_mvebu_sata_power_on(struct phy *phy) in phy_mvebu_sata_power_on()
55 static int phy_mvebu_sata_power_off(struct phy *phy) in phy_mvebu_sata_power_off()
89 struct phy *phy; in phy_mvebu_sata_probe() local
Dphy-armada375-usb2.c29 struct phy *phy; member
35 static int armada375_usb_phy_init(struct phy *phy) in armada375_usb_phy_init()
109 struct phy *phy; in armada375_usb_phy_probe() local
Dphy-rcar-gen2.c49 struct phy *phy; member
73 struct rcar_gen2_phy *phy = phy_get_drvdata(p); in rcar_gen2_phy_init() local
101 struct rcar_gen2_phy *phy = phy_get_drvdata(p); in rcar_gen2_phy_exit() local
113 struct rcar_gen2_phy *phy = phy_get_drvdata(p); in rcar_gen2_phy_power_on() local
157 struct rcar_gen2_phy *phy = phy_get_drvdata(p); in rcar_gen2_phy_power_off() local
300 struct rcar_gen2_phy *phy = &channel->phys[n]; in rcar_gen2_phy_probe() local
Dphy-exynos-mipi-video.c41 struct phy *phy; member
100 static int exynos_mipi_video_phy_power_on(struct phy *phy) in exynos_mipi_video_phy_power_on()
108 static int exynos_mipi_video_phy_power_off(struct phy *phy) in exynos_mipi_video_phy_power_off()
161 struct phy *phy = devm_phy_create(dev, NULL, in exynos_mipi_video_phy_probe() local
Dphy-exynos5250-sata.c52 struct phy *phy; member
72 static int exynos_sata_phy_power_on(struct phy *phy) in exynos_sata_phy_power_on()
81 static int exynos_sata_phy_power_off(struct phy *phy) in exynos_sata_phy_power_off()
90 static int exynos_sata_phy_init(struct phy *phy) in exynos_sata_phy_init()
Dphy-qcom-ipq806x-sata.c63 struct qcom_ipq806x_sata_phy *phy = phy_get_drvdata(generic_phy); in qcom_ipq806x_sata_phy_init() local
118 struct qcom_ipq806x_sata_phy *phy = phy_get_drvdata(generic_phy); in qcom_ipq806x_sata_phy_exit() local
137 struct qcom_ipq806x_sata_phy *phy; in qcom_ipq806x_sata_phy_probe() local
185 struct qcom_ipq806x_sata_phy *phy = platform_get_drvdata(pdev); in qcom_ipq806x_sata_phy_remove() local
Dphy-qcom-apq8064-sata.c99 struct qcom_apq8064_sata_phy *phy = phy_get_drvdata(generic_phy); in qcom_apq8064_sata_phy_init() local
194 struct qcom_apq8064_sata_phy *phy = phy_get_drvdata(generic_phy); in qcom_apq8064_sata_phy_exit() local
215 struct qcom_apq8064_sata_phy *phy; in qcom_apq8064_sata_phy_probe() local
263 struct qcom_apq8064_sata_phy *phy = platform_get_drvdata(pdev); in qcom_apq8064_sata_phy_remove() local
Dphy-berlin-sata.c54 struct phy *phy; member
83 static int phy_berlin_sata_power_on(struct phy *phy) in phy_berlin_sata_power_on()
136 static int phy_berlin_sata_power_off(struct phy *phy) in phy_berlin_sata_power_off()
194 struct phy *phy; in phy_berlin_sata_probe() local
Dphy-samsung-usb2.c22 static int samsung_usb2_phy_power_on(struct phy *phy) in samsung_usb2_phy_power_on()
54 static int samsung_usb2_phy_power_off(struct phy *phy) in samsung_usb2_phy_power_off()
Dphy-spear1340-miphy.c89 struct phy *phy; member
160 static int spear1340_miphy_init(struct phy *phy) in spear1340_miphy_init()
173 static int spear1340_miphy_exit(struct phy *phy) in spear1340_miphy_exit()
Dphy-exynos5-usbdrd.c174 struct phy *phy; member
354 static int exynos5_usbdrd_phy_init(struct phy *phy) in exynos5_usbdrd_phy_init()
416 static int exynos5_usbdrd_phy_exit(struct phy *phy) in exynos5_usbdrd_phy_exit()
450 static int exynos5_usbdrd_phy_power_on(struct phy *phy) in exynos5_usbdrd_phy_power_on()
503 static int exynos5_usbdrd_phy_power_off(struct phy *phy) in exynos5_usbdrd_phy_power_off()
745 struct phy *phy = devm_phy_create(dev, NULL, in exynos5_usbdrd_phy_probe() local
Dphy-spear1310-miphy.c112 struct phy *phy; member
154 static int spear1310_miphy_init(struct phy *phy) in spear1310_miphy_init()
165 static int spear1310_miphy_exit(struct phy *phy) in spear1310_miphy_exit()
Dphy-hix5hd2-sata.c65 static int hix5hd2_sata_phy_init(struct phy *phy) in hix5hd2_sata_phy_init()
142 struct phy *phy; in hix5hd2_sata_phy_probe() local
Dphy-twl4030-usb.c158 struct usb_phy phy; member
449 static int twl4030_phy_power_off(struct phy *phy) in twl4030_phy_power_off()
460 static int twl4030_phy_power_on(struct phy *phy) in twl4030_phy_power_on()
597 static int twl4030_phy_init(struct phy *phy) in twl4030_phy_init()
650 struct phy *phy; in twl4030_usb_probe() local
Dphy-miphy365x.c139 struct phy *phy; member
419 static int miphy365x_init(struct phy *phy) in miphy365x_init()
544 struct phy *phy; in miphy365x_probe() local
Dphy-berlin-usb.c119 static int phy_berlin_usb_power_on(struct phy *phy) in phy_berlin_usb_power_on()
174 struct phy *phy; in phy_berlin_usb_probe() local
Dphy-samsung-usb2.h30 struct phy *phy; member
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dael1002.c84 static int set_phy_regs(struct cphy *phy, const struct reg_val *rv) in set_phy_regs()
100 static void ael100x_txon(struct cphy *phy) in ael100x_txon()
113 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr) in ael_i2c_rd()
141 static int ael1002_power_down(struct cphy *phy, int enable) in ael1002_power_down()
153 static int ael1002_reset(struct cphy *phy, int wait) in ael1002_reset()
168 static int ael1002_intr_noop(struct cphy *phy) in ael1002_intr_noop()
176 static int get_link_status_r(struct cphy *phy, int *link_ok, int *speed, in get_link_status_r()
212 int t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_ael1002_phy_prep()
222 static int ael1006_reset(struct cphy *phy, int wait) in ael1006_reset()
238 int t3_ael1006_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_ael1006_phy_prep()
[all …]
Daq100x.c65 static int aq100x_reset(struct cphy *phy, int wait) in aq100x_reset()
80 static int aq100x_intr_enable(struct cphy *phy) in aq100x_intr_enable()
90 static int aq100x_intr_disable(struct cphy *phy) in aq100x_intr_disable()
95 static int aq100x_intr_clear(struct cphy *phy) in aq100x_intr_clear()
105 static int aq100x_intr_handler(struct cphy *phy) in aq100x_intr_handler()
120 static int aq100x_power_down(struct cphy *phy, int off) in aq100x_power_down()
127 static int aq100x_autoneg_enable(struct cphy *phy) in aq100x_autoneg_enable()
140 static int aq100x_autoneg_restart(struct cphy *phy) in aq100x_autoneg_restart()
153 static int aq100x_advertise(struct cphy *phy, unsigned int advertise_map) in aq100x_advertise()
194 static int aq100x_set_loopback(struct cphy *phy, int mmd, int dir, int enable) in aq100x_set_loopback()
[all …]
Dvsc8211.c278 static int vsc8211_set_automdi(struct cphy *phy, int enable) in vsc8211_set_automdi()
305 int vsc8211_set_speed_duplex(struct cphy *phy, int speed, int duplex) in vsc8211_set_speed_duplex()
367 int t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_vsc8211_phy_prep()
Dt3_hw.c328 int t3_mdio_change_bits(struct cphy *phy, int mmd, int reg, unsigned int clear, in t3_mdio_change_bits()
352 int t3_phy_reset(struct cphy *phy, int mmd, int wait) in t3_phy_reset()
382 int t3_phy_advertise(struct cphy *phy, unsigned int advert) in t3_phy_advertise()
425 int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert) in t3_phy_advertise_fiber()
449 int t3_set_phy_speed_duplex(struct cphy *phy, int speed, int duplex) in t3_set_phy_speed_duplex()
475 int t3_phy_lasi_intr_enable(struct cphy *phy) in t3_phy_lasi_intr_enable()
481 int t3_phy_lasi_intr_disable(struct cphy *phy) in t3_phy_lasi_intr_disable()
486 int t3_phy_lasi_intr_clear(struct cphy *phy) in t3_phy_lasi_intr_clear()
493 int t3_phy_lasi_intr_handler(struct cphy *phy) in t3_phy_lasi_intr_handler()
1210 struct cphy *phy = &pi->phy; in t3_link_changed() local
[all …]
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
Dphy.c34 static inline int _phy_read(struct mii_phy *phy, int reg) in _phy_read()
39 static inline void _phy_write(struct mii_phy *phy, int reg, int val) in _phy_write()
44 static inline int gpcs_phy_read(struct mii_phy *phy, int reg) in gpcs_phy_read()
49 static inline void gpcs_phy_write(struct mii_phy *phy, int reg, int val) in gpcs_phy_write()
54 int emac_mii_reset_phy(struct mii_phy *phy) in emac_mii_reset_phy()
78 int emac_mii_reset_gpcs(struct mii_phy *phy) in emac_mii_reset_gpcs()
109 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) in genmii_setup_aneg()
168 static int genmii_setup_forced(struct mii_phy *phy, int speed, int fd) in genmii_setup_forced()
205 static int genmii_poll_link(struct mii_phy *phy) in genmii_poll_link()
219 static int genmii_read_link(struct mii_phy *phy) in genmii_read_link()
[all …]
/linux-4.1.27/drivers/usb/phy/
Dphy-ulpi.c55 static int ulpi_set_otg_flags(struct usb_phy *phy) in ulpi_set_otg_flags()
79 static int ulpi_set_fc_flags(struct usb_phy *phy) in ulpi_set_fc_flags()
121 static int ulpi_set_ic_flags(struct usb_phy *phy) in ulpi_set_ic_flags()
140 static int ulpi_set_flags(struct usb_phy *phy) in ulpi_set_flags()
155 static int ulpi_check_integrity(struct usb_phy *phy) in ulpi_check_integrity()
181 static int ulpi_init(struct usb_phy *phy) in ulpi_init()
214 struct usb_phy *phy = otg->usb_phy; in ulpi_set_host() local
240 struct usb_phy *phy = otg->usb_phy; in ulpi_set_vbus() local
260 struct usb_phy *phy; in otg_ulpi_create() local
Dphy.c28 struct usb_phy *phy = NULL; in __usb_find_phy() local
60 struct usb_phy *phy; in __of_usb_find_phy() local
77 struct usb_phy *phy = *(struct usb_phy **)res; in devm_usb_phy_release() local
84 struct usb_phy **phy = res; in devm_usb_phy_match() local
102 struct usb_phy **ptr, *phy; in devm_usb_get_phy() local
131 struct usb_phy *phy = NULL; in usb_get_phy() local
173 struct usb_phy *phy = ERR_PTR(-ENOMEM), **ptr; in devm_usb_get_phy_by_phandle() local
237 struct usb_phy *phy = NULL; in usb_get_phy_dev() local
273 struct usb_phy **ptr, *phy; in devm_usb_get_phy_dev() local
300 void devm_usb_put_phy(struct device *dev, struct usb_phy *phy) in devm_usb_put_phy()
[all …]
Dphy-tegra-usb.c206 static void set_pts(struct tegra_usb_phy *phy, u8 pts_val) in set_pts()
224 static void set_phcd(struct tegra_usb_phy *phy, bool enable) in set_phcd()
246 static int utmip_pad_open(struct tegra_usb_phy *phy) in utmip_pad_open()
257 static void utmip_pad_power_on(struct tegra_usb_phy *phy) in utmip_pad_power_on()
288 static int utmip_pad_power_off(struct tegra_usb_phy *phy) in utmip_pad_power_off()
327 static void utmi_phy_clk_disable(struct tegra_usb_phy *phy) in utmi_phy_clk_disable()
349 static void utmi_phy_clk_enable(struct tegra_usb_phy *phy) in utmi_phy_clk_enable()
372 static int utmi_phy_power_on(struct tegra_usb_phy *phy) in utmi_phy_power_on()
521 static int utmi_phy_power_off(struct tegra_usb_phy *phy) in utmi_phy_power_off()
556 static void utmi_phy_preresume(struct tegra_usb_phy *phy) in utmi_phy_preresume()
[all …]
Dphy-msm-usb.c169 static int ulpi_read(struct usb_phy *phy, u32 reg) in ulpi_read()
194 static int ulpi_write(struct usb_phy *phy, u32 val, u32 reg) in ulpi_write()
240 static int msm_phy_notify_disconnect(struct usb_phy *phy, in msm_phy_notify_disconnect()
312 static int msm_otg_reset(struct usb_phy *phy) in msm_otg_reset()
365 static int msm_usb_reset(struct usb_phy *phy) in msm_usb_reset()
396 static int msm_phy_init(struct usb_phy *phy) in msm_phy_init()
460 struct usb_phy *phy = &motg->phy; in msm_otg_suspend() local
557 struct usb_phy *phy = &motg->phy; in msm_otg_resume() local
643 static int msm_otg_set_power(struct usb_phy *phy, unsigned mA) in msm_otg_set_power()
660 static void msm_otg_start_host(struct usb_phy *phy, int on) in msm_otg_start_host()
[all …]
Dphy-isp1301.c22 struct usb_phy phy; member
52 static int isp1301_phy_init(struct usb_phy *phy) in isp1301_phy_init()
79 static int isp1301_phy_set_vbus(struct usb_phy *phy, int on) in isp1301_phy_set_vbus()
95 struct usb_phy *phy; in isp1301_probe() local
Dphy-rcar-gen2-usb.c22 struct usb_phy phy; member
123 static int rcar_gen2_usb_phy_set_suspend(struct usb_phy *phy, int suspend) in rcar_gen2_usb_phy_set_suspend()
136 static int rcar_gen2_usb_phy_init(struct usb_phy *phy) in rcar_gen2_usb_phy_init()
152 static void rcar_gen2_usb_phy_shutdown(struct usb_phy *phy) in rcar_gen2_usb_phy_shutdown()
Dphy-rcar-usb.c64 struct usb_phy phy; member
82 static int rcar_usb_phy_init(struct usb_phy *phy) in rcar_usb_phy_init()
165 static void rcar_usb_phy_shutdown(struct usb_phy *phy) in rcar_usb_phy_shutdown()
Dphy-am335x.c21 static int am335x_init(struct usb_phy *phy) in am335x_init()
29 static void am335x_shutdown(struct usb_phy *phy) in am335x_shutdown()
Dphy-keystone.c53 static int keystone_usbphy_init(struct usb_phy *phy) in keystone_usbphy_init()
64 static void keystone_usbphy_shutdown(struct usb_phy *phy) in keystone_usbphy_shutdown()
Dphy-gpio-vbus-usb.c35 struct usb_phy phy; member
217 static int gpio_vbus_set_power(struct usb_phy *phy, unsigned mA) in gpio_vbus_set_power()
229 static int gpio_vbus_set_suspend(struct usb_phy *phy, int suspend) in gpio_vbus_set_suspend()
Dphy-mxs-usb.c157 struct usb_phy phy; member
303 static int mxs_phy_init(struct usb_phy *phy) in mxs_phy_init()
316 static void mxs_phy_shutdown(struct usb_phy *phy) in mxs_phy_shutdown()
420 static int mxs_phy_on_connect(struct usb_phy *phy, in mxs_phy_on_connect()
433 static int mxs_phy_on_disconnect(struct usb_phy *phy, in mxs_phy_on_disconnect()
Dphy-generic.c142 int usb_gen_phy_init(struct usb_phy *phy) in usb_gen_phy_init()
160 void usb_gen_phy_shutdown(struct usb_phy *phy) in usb_gen_phy_shutdown()
Dphy-generic.h9 struct usb_phy phy; member
/linux-4.1.27/drivers/scsi/libsas/
Dsas_port.c31 static bool phy_is_wideport_member(struct asd_sas_port *port, struct asd_sas_phy *phy) in phy_is_wideport_member()
42 static void sas_resume_port(struct asd_sas_phy *phy) in sas_resume_port()
75 struct ex_phy *phy = &dev->ex_dev.ex_phy[i]; in sas_resume_port() local
92 static void sas_form_port(struct asd_sas_phy *phy) in sas_form_port()
204 void sas_deform_port(struct asd_sas_phy *phy, int gone) in sas_deform_port()
262 struct asd_sas_phy *phy = ev->phy; in sas_porte_bytes_dmaed() local
272 struct asd_sas_phy *phy = ev->phy; in sas_porte_broadcast_rcvd() local
289 struct asd_sas_phy *phy = ev->phy; in sas_porte_link_reset_err() local
299 struct asd_sas_phy *phy = ev->phy; in sas_porte_timer_event() local
309 struct asd_sas_phy *phy = ev->phy; in sas_porte_hard_reset() local
Dsas_phy.c36 struct asd_sas_phy *phy = ev->phy; in sas_phye_loss_of_signal() local
46 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_done() local
55 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_error() local
86 struct asd_sas_phy *phy = ev->phy; in sas_phye_spinup_hold() local
100 struct asd_sas_phy *phy = ev->phy; in sas_phye_resume_timeout() local
142 struct asd_sas_phy *phy = sas_ha->sas_phy[i]; in sas_register_phys() local
Dsas_init.c191 static int sas_get_linkerrors(struct sas_phy *phy) in sas_get_linkerrors()
233 static int transport_sas_phy_reset(struct sas_phy *phy, int hard_reset) in transport_sas_phy_reset()
266 static int sas_phy_enable(struct sas_phy *phy, int enable) in sas_phy_enable()
299 int sas_phy_reset(struct sas_phy *phy, int hard_reset) in sas_phy_reset()
328 int sas_set_phy_speed(struct sas_phy *phy, in sas_set_phy_speed()
375 struct asd_sas_phy *phy = ha->sas_phy[i]; in sas_prep_resume_ha() local
390 struct asd_sas_phy *phy = ha->sas_phy[i]; in phys_suspended() local
416 struct asd_sas_phy *phy = ha->sas_phy[i]; in sas_resume_ha() local
451 static void sas_phy_release(struct sas_phy *phy) in sas_phy_release()
471 static int sas_phy_setup(struct sas_phy *phy) in sas_phy_setup()
[all …]
Dsas_expander.c169 static char sas_route_char(struct domain_device *dev, struct ex_phy *phy) in sas_route_char()
207 struct ex_phy *phy = &ex->ex_phy[phy_id]; in sas_set_ex_phy() local
615 struct ex_phy *phy = &ex->ex_phy[phy_id]; in sas_ex_disable_phy() local
627 struct ex_phy *phy = &ex->ex_phy[i]; in sas_ex_disable_port() local
654 int sas_smp_get_phy_events(struct sas_phy *phy) in sas_smp_get_phy_events()
751 struct ex_phy *phy = &parent_ex->ex_phy[i]; in sas_ex_get_linkrate() local
776 struct ex_phy *phy = &parent_ex->ex_phy[phy_id]; in sas_ex_discover_end_dev() local
885 struct ex_phy *phy = &parent->ex_dev.ex_phy[phy_id]; in sas_ex_join_wide_port() local
910 struct ex_phy *phy = &parent->ex_dev.ex_phy[phy_id]; in sas_ex_discover_expander() local
1108 struct ex_phy *phy = &ex->ex_phy[i]; in sas_find_sub_addr() local
[all …]
Dsas_event.c127 static void notify_port_event(struct asd_sas_phy *phy, enum port_event event) in notify_port_event()
137 void sas_notify_phy_event(struct asd_sas_phy *phy, enum phy_event event) in sas_notify_phy_event()
Dsas_internal.h44 struct sas_phy *phy; member
152 struct sas_phy *phy = p->phy; in sas_phy_set_target() local
Dsas_ata.c277 int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy) in sas_get_ata_info()
305 static int sas_ata_clear_pending(struct domain_device *dev, struct ex_phy *phy) in sas_ata_clear_pending()
329 struct sas_phy *phy = sas_get_local_phy(dev); in smp_ata_check_ready() local
397 struct sas_phy *phy; in sas_ata_hard_reset() local
Dsas_discover.c68 struct asd_sas_phy *phy; in sas_get_port_device() local
245 struct asd_sas_phy *phy; in sas_suspend_devices() local
Dsas_host_smp.c25 struct sas_phy *phy; in sas_host_smp_discover() local
/linux-4.1.27/drivers/net/ethernet/intel/igb/
De1000_phy.c82 struct e1000_phy_info *phy = &hw->phy; in igb_get_phy_id() local
137 struct e1000_phy_info *phy = &hw->phy; in igb_read_phy_reg_mdic() local
193 struct e1000_phy_info *phy = &hw->phy; in igb_write_phy_reg_mdic() local
250 struct e1000_phy_info *phy = &hw->phy; in igb_read_phy_reg_i2c() local
295 struct e1000_phy_info *phy = &hw->phy; in igb_write_phy_reg_i2c() local
479 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_setup_82580() local
546 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_setup_m88() local
650 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_setup_m88_gen2() local
745 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_setup_igp() local
883 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_autoneg() local
[all …]
De1000_82575.c116 struct e1000_phy_info *phy = &hw->phy; in igb_check_for_link_media_swap() local
167 struct e1000_phy_info *phy = &hw->phy; in igb_init_phy_params_82575() local
797 struct e1000_phy_info *phy = &hw->phy; in igb_get_phy_id_82575() local
928 struct e1000_phy_info *phy = &hw->phy; in igb_set_d0_lplu_state_82575() local
1004 struct e1000_phy_info *phy = &hw->phy; in igb_set_d0_lplu_state_82580() local
1047 struct e1000_phy_info *phy = &hw->phy; in igb_set_d3_lplu_state_82580() local
2615 struct e1000_phy_info *phy = &hw->phy; in igb_set_eee_i354() local
2694 struct e1000_phy_info *phy = &hw->phy; in igb_get_eee_status_i354() local
/linux-4.1.27/drivers/gpu/drm/msm/edp/
Dedp_phy.c23 bool msm_edp_phy_ready(struct edp_phy *phy) in msm_edp_phy_ready()
44 void msm_edp_phy_ctrl(struct edp_phy *phy, int enable) in msm_edp_phy_ctrl()
63 void msm_edp_phy_vm_pe_init(struct edp_phy *phy) in msm_edp_phy_vm_pe_init()
70 void msm_edp_phy_vm_pe_cfg(struct edp_phy *phy, u32 v0, u32 v1) in msm_edp_phy_vm_pe_cfg()
76 void msm_edp_phy_lane_power_ctrl(struct edp_phy *phy, bool up, u32 max_lane) in msm_edp_phy_lane_power_ctrl()
97 struct edp_phy *phy = NULL; in msm_edp_phy_init() local
/linux-4.1.27/drivers/media/platform/omap3isp/
Dispcsiphy.c26 static void csiphy_routing_cfg_3630(struct isp_csiphy *phy, in csiphy_routing_cfg_3630()
71 static void csiphy_routing_cfg_3430(struct isp_csiphy *phy, u32 iface, bool on, in csiphy_routing_cfg_3430()
104 static void csiphy_routing_cfg(struct isp_csiphy *phy, in csiphy_routing_cfg()
118 static void csiphy_power_autoswitch_enable(struct isp_csiphy *phy, bool enable) in csiphy_power_autoswitch_enable()
131 static int csiphy_set_power(struct isp_csiphy *phy, u32 power) in csiphy_set_power()
165 static int omap3isp_csiphy_config(struct isp_csiphy *phy) in omap3isp_csiphy_config()
265 int omap3isp_csiphy_acquire(struct isp_csiphy *phy) in omap3isp_csiphy_acquire()
303 void omap3isp_csiphy_release(struct isp_csiphy *phy) in omap3isp_csiphy_release()
Dispccp2.h73 struct isp_csiphy *phy; member
/linux-4.1.27/drivers/net/wireless/b43legacy/
Dradio.c116 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_read16() local
151 struct b43legacy_phy *phy = &dev->phy; in b43legacy_set_all_gains() local
187 struct b43legacy_phy *phy = &dev->phy; in b43legacy_set_original_gains() local
227 struct b43legacy_phy *phy = &dev->phy; in b43legacy_synth_pu_workaround() local
248 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_aci_detect() local
282 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_aci_scan() local
368 struct b43legacy_phy *phy = &dev->phy; in b43legacy_nrssi_mem_update() local
385 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_nrssi_offset() local
555 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_nrssi_slope() local
820 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_nrssi_threshold() local
[all …]
Dphy.c143 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_calibrate() local
161 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_init_pctl() local
220 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_agcsetup() local
336 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_setupg() local
448 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb2() local
497 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb4() local
553 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb5() local
668 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb6() local
811 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_loopback_gain() local
1010 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initg() local
[all …]
Dmain.c626 struct b43legacy_phy *phy = &dev->phy; in b43legacy_dummy_transmission() local
822 struct b43legacy_phy *phy = &dev->phy; in handle_irq_noise() local
2181 struct b43legacy_phy *phy = &dev->phy; in b43legacy_chip_init() local
2293 struct b43legacy_phy *phy = &dev->phy; in b43legacy_periodic_every120sec() local
2701 struct b43legacy_phy *phy; in b43legacy_op_dev_config() local
3021 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_versioning() local
3114 struct b43legacy_phy *phy) in setup_struct_phy_for_init()
3211 struct b43legacy_phy *phy = &dev->phy; in b43legacy_wireless_core_exit() local
3247 struct b43legacy_phy *phy = &dev->phy; in prepare_phy_data_for_init() local
3289 struct b43legacy_phy *phy = &dev->phy; in b43legacy_wireless_core_init() local
[all …]
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
Dhdmi_phy_8x74.c28 static void phy_write(struct hdmi_phy_8x74 *phy, u32 reg, u32 data) in phy_write()
38 static void hdmi_phy_8x74_destroy(struct hdmi_phy *phy) in hdmi_phy_8x74_destroy()
44 static void hdmi_phy_8x74_reset(struct hdmi_phy *phy) in hdmi_phy_8x74_reset()
97 static void hdmi_phy_8x74_powerup(struct hdmi_phy *phy, in hdmi_phy_8x74_powerup()
112 static void hdmi_phy_8x74_powerdown(struct hdmi_phy *phy) in hdmi_phy_8x74_powerdown()
128 struct hdmi_phy *phy = NULL; in hdmi_phy_8x74_init() local
Dhdmi_phy_8x60.c26 static void hdmi_phy_8x60_destroy(struct hdmi_phy *phy) in hdmi_phy_8x60_destroy()
32 static void hdmi_phy_8x60_reset(struct hdmi_phy *phy) in hdmi_phy_8x60_reset()
63 static void hdmi_phy_8x60_powerup(struct hdmi_phy *phy, in hdmi_phy_8x60_powerup()
150 static void hdmi_phy_8x60_powerdown(struct hdmi_phy *phy) in hdmi_phy_8x60_powerdown()
193 struct hdmi_phy *phy = NULL; in hdmi_phy_8x60_init() local
Dhdmi_phy_8960.c423 static void hdmi_phy_8960_destroy(struct hdmi_phy *phy) in hdmi_phy_8960_destroy()
429 static void hdmi_phy_8960_reset(struct hdmi_phy *phy) in hdmi_phy_8960_reset()
480 static void hdmi_phy_8960_powerup(struct hdmi_phy *phy, in hdmi_phy_8960_powerup()
502 static void hdmi_phy_8960_powerdown(struct hdmi_phy *phy) in hdmi_phy_8960_powerdown()
522 struct hdmi_phy *phy = NULL; in hdmi_phy_8960_init() local
Dhdmi_bridge.c93 struct hdmi_phy *phy = hdmi->phy; in hdmi_bridge_pre_enable() local
119 struct hdmi_phy *phy = hdmi->phy; in hdmi_bridge_post_disable() local
Dhdmi.c61 struct hdmi_phy *phy = hdmi->phy; in hdmi_destroy() local
/linux-4.1.27/drivers/nfc/st21nfcb/
Di2c.c68 struct st21nfcb_i2c_phy *phy = phy_id; in st21nfcb_nci_i2c_enable() local
81 struct st21nfcb_i2c_phy *phy = phy_id; in st21nfcb_nci_i2c_disable() local
98 struct st21nfcb_i2c_phy *phy = phy_id; in st21nfcb_nci_i2c_write() local
135 static int st21nfcb_nci_i2c_read(struct st21nfcb_i2c_phy *phy, in st21nfcb_nci_i2c_read()
190 struct st21nfcb_i2c_phy *phy = phy_id; in st21nfcb_nci_irq_thread_fn() local
229 struct st21nfcb_i2c_phy *phy = i2c_get_clientdata(client); in st21nfcb_nci_i2c_of_request_resources() local
269 struct st21nfcb_i2c_phy *phy = i2c_get_clientdata(client); in st21nfcb_nci_i2c_request_resources() local
295 struct st21nfcb_i2c_phy *phy; in st21nfcb_nci_i2c_probe() local
356 struct st21nfcb_i2c_phy *phy = i2c_get_clientdata(client); in st21nfcb_nci_i2c_remove() local
/linux-4.1.27/drivers/nfc/nxp-nci/
Di2c.c61 struct nxp_nci_i2c_phy *phy = (struct nxp_nci_i2c_phy *) phy_id; in nxp_nci_i2c_set_mode() local
76 struct nxp_nci_i2c_phy *phy = phy_id; in nxp_nci_i2c_write() local
109 static int nxp_nci_i2c_fw_read(struct nxp_nci_i2c_phy *phy, in nxp_nci_i2c_fw_read()
154 static int nxp_nci_i2c_nci_read(struct nxp_nci_i2c_phy *phy, in nxp_nci_i2c_nci_read()
198 struct nxp_nci_i2c_phy *phy = phy_id; in nxp_nci_i2c_irq_thread_fn() local
266 struct nxp_nci_i2c_phy *phy = i2c_get_clientdata(client); in nxp_nci_i2c_parse_devtree() local
314 struct nxp_nci_i2c_phy *phy; in nxp_nci_i2c_probe() local
380 struct nxp_nci_i2c_phy *phy = i2c_get_clientdata(client); in nxp_nci_i2c_remove() local
/linux-4.1.27/drivers/net/wireless/b43/
Dphy_g.c83 struct b43_phy *phy = &dev->phy; in generate_rfatt_list() local
178 struct b43_phy *phy = &dev->phy; in b43_synth_pu_workaround() local
201 struct b43_phy *phy = &dev->phy; in b43_gphy_set_baseband_attenuation() local
219 struct b43_phy *phy = &dev->phy; in b43_set_txpower_g() local
284 struct b43_phy *phy = &dev->phy; in b43_gphy_gain_lt_init() local
311 struct b43_phy *phy = &dev->phy; in b43_set_all_gains() local
342 struct b43_phy *phy = &dev->phy; in b43_set_original_gains() local
423 struct b43_phy *phy = &dev->phy; in b43_calc_nrssi_offset() local
570 struct b43_phy *phy = &dev->phy; in b43_calc_nrssi_slope() local
712 struct b43_phy *phy = &dev->phy; in b43_calc_nrssi_threshold() local
[all …]
Dwa.c62 struct b43_phy *phy = &dev->phy; in b43_wa_initgains() local
136 struct b43_phy *phy = &dev->phy; in b43_wa_analog() local
176 struct b43_phy *phy = &dev->phy; in b43_wa_nft() local
222 struct b43_phy *phy = &dev->phy; in b43_wa_nst() local
282 struct b43_phy *phy = &dev->phy; in b43_wa_msst() local
310 struct b43_phy *phy = &dev->phy; in b43_wa_crs_ed() local
366 struct b43_phy *phy = &dev->phy; in b43_wa_altagc() local
488 struct b43_phy *phy = &dev->phy; in b43_wa_boards_g() local
519 struct b43_phy *phy = &dev->phy; in b43_wa_all() local
Dlo.c60 struct b43_phy *phy = &dev->phy; in b43_lo_write() local
81 struct b43_phy *phy = &dev->phy; in lo_measure_feedthrough() local
144 struct b43_phy *phy = &dev->phy; in lo_txctl_register_table() local
177 struct b43_phy *phy = &dev->phy; in lo_measure_txctl_values() local
274 struct b43_phy *phy = &dev->phy; in lo_read_power_vector() local
296 struct b43_phy *phy = &dev->phy; in lo_measure_gain_values() local
389 struct b43_phy *phy = &dev->phy; in lo_measure_setup() local
503 struct b43_phy *phy = &dev->phy; in lo_measure_restore() local
580 struct b43_phy *phy = &dev->phy; in lo_probe_possible_loctls() local
661 struct b43_phy *phy = &dev->phy; in lo_probe_loctls_statemachine() local
[all …]
Dphy_a.c268 struct b43_phy *phy = &dev->phy; in b43_phy_inita() local
321 struct b43_phy *phy = &dev->phy; in b43_aphy_init_tssi2dbm_table() local
379 struct b43_phy *phy = &dev->phy; in b43_aphy_op_prepare_structs() local
401 struct b43_phy *phy = &dev->phy; in b43_aphy_op_free() local
486 struct b43_phy *phy = &dev->phy; in b43_aphy_op_software_rfkill() local
521 struct b43_phy *phy = &dev->phy; in b43_aphy_op_set_rx_antenna() local
Dphy_n.c166 struct b43_phy *phy = &dev->phy; in b43_nphy_rf_ctl_override_rev7() local
213 struct b43_phy *phy = &dev->phy; in b43_nphy_rf_ctl_override_one_to_many() local
558 struct b43_phy *phy = &dev->phy; in b43_nphy_stay_in_carrier_search() local
732 struct b43_phy *phy = &dev->phy; in b43_radio_2057_setup() local
824 struct b43_phy *phy = &dev->phy; in b43_radio_2057_rcal() local
938 struct b43_phy *phy = &dev->phy; in b43_radio_2057_rccal() local
1136 struct b43_phy *phy = &dev->phy; in b43_radio_2056_setup() local
1314 struct b43_phy *phy = &dev->phy; in b43_radio_2056_rcal() local
1589 struct b43_phy *phy = &dev->phy; in b43_nphy_run_samples() local
2043 struct b43_phy *phy = &dev->phy; in b43_nphy_rev3_rssi_cal() local
[all …]
Dphy_common.c43 struct b43_phy *phy = &(dev->phy); in b43_phy_allocate() local
98 struct b43_phy *phy = &dev->phy; in b43_phy_init() local
431 struct b43_phy *phy = &(dev->phy); in b43_switch_channel() local
466 struct b43_phy *phy = &dev->phy; in b43_software_rfkill() local
496 struct b43_phy *phy = &dev->phy; in b43_phy_txpower_check() local
Dxmit.c182 const struct b43_phy *phy = &dev->phy; in b43_generate_tx_phy_ctl1() local
250 const struct b43_phy *phy = &dev->phy; in b43_generate_txhdr() local
580 struct b43_phy *phy = &dev->phy; in b43_rssi_postprocess() local
Dtables_nphy.c3652 struct b43_phy *phy = &dev->phy; in b43_nphy_get_ipa_gain_table() local
3700 struct b43_phy *phy = &dev->phy; in b43_nphy_get_tx_gain_table() local
3747 struct b43_phy *phy = &dev->phy; in b43_ntab_get_rf_pwr_offset_table() local
3781 struct b43_phy *phy = &dev->phy; in b43_nphy_get_gain_ctl_workaround_ent() local
Dradio_2057.c539 struct b43_phy *phy = &dev->phy; in r2057_upload_inittabs() local
589 struct b43_phy *phy = &dev->phy; in r2057_get_chantabent_rev7() local
Dphy_ac.c34 struct b43_phy *phy = &dev->phy; in b43_phy_ac_op_free() local
Dmain.c747 struct b43_phy *phy = &dev->phy; in b43_dummy_transmission() local
1425 struct b43_phy_g *phy = dev->phy.g; in handle_irq_noise() local
2308 struct b43_phy *phy = &dev->phy; in b43_try_request_fw() local
3258 struct b43_phy *phy = &dev->phy; in b43_chip_init() local
3383 struct b43_phy *phy = &dev->phy; in b43_periodic_every15sec() local
3903 struct b43_phy *phy = &dev->phy; in b43_switch_band() local
3997 struct b43_phy *phy = &dev->phy; in b43_op_config() local
4492 struct b43_phy *phy = &dev->phy; in b43_phy_versioning() local
4679 struct b43_phy *phy) in setup_struct_phy_for_init()
4849 struct b43_phy *phy = &dev->phy; in b43_wireless_core_init() local
[all …]
Dradio_2059.c333 struct b43_phy *phy = &dev->phy; in r2059_upload_inittabs() local
Dphy_ht.c824 struct b43_phy *phy = &dev->phy; in b43_phy_ht_set_channel() local
868 struct b43_phy *phy = &dev->phy; in b43_phy_ht_op_prepare_structs() local
1027 struct b43_phy *phy = &dev->phy; in b43_phy_ht_op_free() local
Dppr.c82 struct b43_phy *phy = &dev->phy; in b43_ppr_load_max_from_sprom() local
Dradio_2056.c10181 struct b43_phy *phy = &dev->phy; in b43_nphy_get_inittabs_rev3() local
10270 struct b43_phy *phy = &dev->phy; in b43_nphy_get_chantabent_rev3() local
Dphy_lcn.c682 struct b43_phy *phy = &dev->phy; in b43_phy_lcn_op_free() local
691 struct b43_phy *phy = &dev->phy; in b43_phy_lcn_op_prepare_structs() local
Dphy_g.h59 #define has_tx_magnification(phy) \ argument
64 #define has_loopback_gain(phy) \ argument
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c2597 struct bnx2x_phy *phy, in bnx2x_cl22_write()
2632 struct bnx2x_phy *phy, in bnx2x_cl22_read()
2673 static int bnx2x_cl45_read(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read()
2748 static int bnx2x_cl45_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_write()
2959 static int bnx2x_eee_disable(struct bnx2x_phy *phy, in bnx2x_eee_disable()
2975 static int bnx2x_eee_advertise(struct bnx2x_phy *phy, in bnx2x_eee_advertise()
3012 static void bnx2x_eee_an_resolve(struct bnx2x_phy *phy, in bnx2x_eee_an_resolve()
3175 static void bnx2x_cl45_read_or_write(struct bnx2x *bp, struct bnx2x_phy *phy, in bnx2x_cl45_read_or_write()
3184 struct bnx2x_phy *phy, in bnx2x_cl45_read_and_write()
3225 static u8 bnx2x_get_warpcore_lane(struct bnx2x_phy *phy, in bnx2x_get_warpcore_lane()
[all …]
/linux-4.1.27/drivers/nfc/
Dmei_phy.c54 struct nfc_mei_phy *phy = phy_id; in nfc_mei_phy_enable() local
84 struct nfc_mei_phy *phy = phy_id; in nfc_mei_phy_disable() local
101 struct nfc_mei_phy *phy = phy_id; in nfc_mei_phy_write() local
115 struct nfc_mei_phy *phy = context; in nfc_mei_event_cb() local
153 struct nfc_mei_phy *phy; in nfc_mei_phy_alloc() local
166 void nfc_mei_phy_free(struct nfc_mei_phy *phy) in nfc_mei_phy_free()
/linux-4.1.27/drivers/net/fddi/skfp/
Dpcmplc.c217 struct s_phy *phy) in start_pcm_timer0()
227 static void stop_pcm_timer0(struct s_smc *smc, struct s_phy *phy) in stop_pcm_timer0()
241 struct s_phy *phy ; in pcm_init() local
501 int sm_pm_get_ls(struct s_smc *smc, int phy) in sm_pm_get_ls()
534 static int plc_send_bits(struct s_smc *smc, struct s_phy *phy, int len) in plc_send_bits()
599 struct s_phy *phy ; in pcm() local
674 static void pcm_fsm(struct s_smc *smc, struct s_phy *phy, int cmd) in pcm_fsm()
1037 static void sm_ph_linestate(struct s_smc *smc, int phy, int ls) in sm_ph_linestate()
1066 static void reset_lem_struct(struct s_phy *phy) in reset_lem_struct()
1077 static void lem_evaluate(struct s_smc *smc, struct s_phy *phy) in lem_evaluate()
[all …]
Dcfm.c120 static void selection_criteria (struct s_smc *smc, struct s_phy *phy) in selection_criteria()
148 struct s_phy *phy ; in all_selection_criteria() local
Dsmt.c290 struct s_phy *phy ; in smt_event() local
1345 struct smt_phy_rec *phy ; in smt_fill_path() local
1411 static void smt_fill_lem(struct s_smc *smc, struct smt_p_lem *lem, int phy) in smt_fill_lem()
1756 static int phy_index(struct s_smc *smc, int phy) in phy_index()
1789 static int phy_con_resource_index(struct s_smc *smc, int phy) in phy_con_resource_index()
/linux-4.1.27/drivers/scsi/aic94xx/
Daic94xx_scb.c54 static void get_lrate_mode(struct asd_phy *phy, u8 oob_mode) in get_lrate_mode()
91 struct asd_phy *phy = &asd_ha->phys[phy_id]; in asd_phy_event_tasklet() local
129 static unsigned ord_phy(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in ord_phy()
154 static void asd_get_attached_sas_addr(struct asd_phy *phy, u8 *sas_addr) in asd_get_attached_sas_addr()
171 static void asd_form_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in asd_form_port()
220 static void asd_deform_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in asd_deform_port()
242 struct asd_phy *phy = &ascb->ha->phys[phy_id]; in asd_bytes_dmaed_tasklet() local
265 struct asd_phy *phy = &asd_ha->phys[phy_id]; in asd_link_reset_err_tasklet() local
319 struct asd_phy *phy = &asd_ha->phys[phy_id]; in asd_primitive_rcvd_tasklet() local
424 struct asd_phy *phy = &asd_ha->phys[phy_id]; in escb_tasklet_complete() local
[all …]
Daic94xx_dump.h39 static inline void asd_dump_frame_rcvd(struct asd_phy *phy, in asd_dump_frame_rcvd()
Daic94xx_hwi.c71 static void asd_init_phy_identify(struct asd_phy *phy) in asd_init_phy_identify()
87 static int asd_init_phy(struct asd_phy *phy) in asd_init_phy()
136 struct asd_phy *phy = &asd_ha->phys[i]; in asd_init_phys() local
1325 struct asd_phy *phy = &asd_ha->phys[phy_id]; in asd_enable_phy() local
/linux-4.1.27/drivers/staging/media/omap4iss/
Diss_csiphy.c30 static void csiphy_lanes_config(struct iss_csiphy *phy) in csiphy_lanes_config()
60 static int csiphy_set_power(struct iss_csiphy *phy, u32 power) in csiphy_set_power()
93 static void csiphy_dphy_config(struct iss_csiphy *phy) in csiphy_dphy_config()
222 int omap4iss_csiphy_acquire(struct iss_csiphy *phy) in omap4iss_csiphy_acquire()
246 void omap4iss_csiphy_release(struct iss_csiphy *phy) in omap4iss_csiphy_release()
/linux-4.1.27/drivers/char/tpm/st33zp24/
Di2c.c47 struct st33zp24_i2c_phy *phy = phy_id; in write8_reg() local
64 struct st33zp24_i2c_phy *phy = phy_id; in read8_reg() local
112 static int st33zp24_i2c_of_request_resources(struct st33zp24_i2c_phy *phy) in st33zp24_i2c_of_request_resources()
150 static int st33zp24_i2c_of_request_resources(struct st33zp24_i2c_phy *phy) in st33zp24_i2c_of_request_resources()
157 struct st33zp24_i2c_phy *phy) in st33zp24_i2c_request_resources()
196 struct st33zp24_i2c_phy *phy; in st33zp24_i2c_probe() local
Dspi.c115 struct st33zp24_spi_phy *phy = phy_id; in st33zp24_spi_send() local
161 struct st33zp24_spi_phy *phy = phy_id; in read8_reg() local
214 struct st33zp24_spi_phy *phy = phy_id; in evaluate_latency() local
232 static int tpm_stm_spi_of_request_resources(struct st33zp24_spi_phy *phy) in tpm_stm_spi_of_request_resources()
270 static int tpm_stm_spi_of_request_resources(struct st33zp24_spi_phy *phy) in tpm_stm_spi_of_request_resources()
277 struct st33zp24_spi_phy *phy) in tpm_stm_spi_request_resources()
316 struct st33zp24_spi_phy *phy; in tpm_st33_spi_probe() local
/linux-4.1.27/drivers/nfc/st21nfca/
Di2c.c113 static int st21nfca_hci_platform_init(struct st21nfca_i2c_phy *phy) in st21nfca_hci_platform_init()
154 struct st21nfca_i2c_phy *phy = phy_id; in st21nfca_hci_i2c_enable() local
167 struct st21nfca_i2c_phy *phy = phy_id; in st21nfca_hci_i2c_disable() local
206 struct st21nfca_i2c_phy *phy = phy_id; in st21nfca_hci_i2c_write() local
369 static int st21nfca_hci_i2c_read(struct st21nfca_i2c_phy *phy, in st21nfca_hci_i2c_read()
445 struct st21nfca_i2c_phy *phy = phy_id; in st21nfca_hci_irq_thread_fn() local
514 struct st21nfca_i2c_phy *phy = i2c_get_clientdata(client); in st21nfca_hci_i2c_of_request_resources() local
559 struct st21nfca_i2c_phy *phy = i2c_get_clientdata(client); in st21nfca_hci_i2c_request_resources() local
590 struct st21nfca_i2c_phy *phy; in st21nfca_hci_i2c_probe() local
660 struct st21nfca_i2c_phy *phy = i2c_get_clientdata(client); in st21nfca_hci_i2c_remove() local
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Dhdmi_phy.c29 void hdmi_phy_dump(struct hdmi_phy_data *phy, struct seq_file *s) in hdmi_phy_dump()
42 int hdmi_phy_parse_lanes(struct hdmi_phy_data *phy, const u32 *lanes) in hdmi_phy_parse_lanes()
78 static void hdmi_phy_configure_lanes(struct hdmi_phy_data *phy) in hdmi_phy_configure_lanes()
133 int hdmi_phy_configure(struct hdmi_phy_data *phy, unsigned long hfbitclk, in hdmi_phy_configure()
225 int hdmi_phy_init(struct platform_device *pdev, struct hdmi_phy_data *phy) in hdmi_phy_init()
Dhdmi_common.c12 struct hdmi_phy_data *phy) in hdmi_parse_lanes_of()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dphy.c79 struct e1000_phy_info *phy = &hw->phy; in e1000e_get_phy_id() local
138 struct e1000_phy_info *phy = &hw->phy; in e1000e_read_phy_reg_mdic() local
201 struct e1000_phy_info *phy = &hw->phy; in e1000e_write_phy_reg_mdic() local
698 struct e1000_phy_info *phy = &hw->phy; in e1000e_copper_link_setup_m88() local
844 struct e1000_phy_info *phy = &hw->phy; in e1000e_copper_link_setup_igp() local
937 struct e1000_phy_info *phy = &hw->phy; in e1000_phy_setup_autoneg() local
1088 struct e1000_phy_info *phy = &hw->phy; in e1000_copper_link_autoneg() local
1201 struct e1000_phy_info *phy = &hw->phy; in e1000e_phy_force_speed_duplex_igp() local
1265 struct e1000_phy_info *phy = &hw->phy; in e1000e_phy_force_speed_duplex_m88() local
1372 struct e1000_phy_info *phy = &hw->phy; in e1000_phy_force_speed_duplex_ife() local
[all …]
D82571.c65 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_params_82571() local
408 struct e1000_phy_info *phy = &hw->phy; in e1000_get_phy_id_82571() local
895 struct e1000_phy_info *phy = &hw->phy; in e1000_set_d0_lplu_state_82571() local
1816 struct e1000_phy_info *phy = &hw->phy; in e1000_power_down_phy_copper_82571() local
D80003es2lan.c58 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_params_80003es2lan() local
629 struct e1000_phy_info *phy = &hw->phy; in e1000_get_cable_length_80003es2lan() local
887 struct e1000_phy_info *phy = &hw->phy; in e1000_copper_link_setup_gg82563_80003es2lan() local
/linux-4.1.27/drivers/nfc/pn544/
Di2c.c203 static void pn544_hci_i2c_platform_init(struct pn544_i2c_phy *phy) in pn544_hci_i2c_platform_init()
246 static void pn544_hci_i2c_enable_mode(struct pn544_i2c_phy *phy, int run_mode) in pn544_hci_i2c_enable_mode()
258 struct pn544_i2c_phy *phy = phy_id; in pn544_hci_i2c_enable() local
271 struct pn544_i2c_phy *phy = phy_id; in pn544_hci_i2c_disable() local
314 struct pn544_i2c_phy *phy = phy_id; in pn544_hci_i2c_write() local
374 static int pn544_hci_i2c_read(struct pn544_i2c_phy *phy, struct sk_buff **skb) in pn544_hci_i2c_read()
433 static int pn544_hci_i2c_fw_read_status(struct pn544_i2c_phy *phy) in pn544_hci_i2c_fw_read_status()
500 struct pn544_i2c_phy *phy = phy_id; in pn544_hci_i2c_irq_thread_fn() local
545 struct pn544_i2c_phy *phy = phy_id; in pn544_hci_i2c_fw_download() local
559 static void pn544_hci_i2c_fw_work_complete(struct pn544_i2c_phy *phy, in pn544_hci_i2c_fw_work_complete()
[all …]
Dmei.c33 struct nfc_mei_phy *phy; in pn544_mei_probe() local
58 struct nfc_mei_phy *phy = mei_cl_get_drvdata(device); in pn544_mei_remove() local
/linux-4.1.27/net/ieee802154/
Dnl-phy.c37 u32 seq, int flags, struct wpan_phy *phy) in ieee802154_nl_fill_phy()
85 struct wpan_phy *phy; in ieee802154_list_phy() local
127 static int ieee802154_dump_phy_iter(struct wpan_phy *phy, void *_data) in ieee802154_dump_phy_iter()
172 struct wpan_phy *phy; in ieee802154_add_iface() local
275 struct wpan_phy *phy; in ieee802154_del_iface() local
Dcore.c63 struct wpan_phy *phy = container_of(dev, struct wpan_phy, dev); in wpan_phy_iter() local
68 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), in wpan_phy_for_each()
139 int wpan_phy_register(struct wpan_phy *phy) in wpan_phy_register()
163 void wpan_phy_unregister(struct wpan_phy *phy) in wpan_phy_unregister()
194 void wpan_phy_free(struct wpan_phy *phy) in wpan_phy_free()
/linux-4.1.27/drivers/gpu/drm/msm/dsi/
Ddsi_phy.c173 static void dsi_28nm_phy_regulator_ctrl(struct msm_dsi_phy *phy, bool enable) in dsi_28nm_phy_regulator_ctrl()
192 static int dsi_28nm_phy_enable(struct msm_dsi_phy *phy, bool is_dual_panel, in dsi_28nm_phy_enable()
273 static int dsi_28nm_phy_disable(struct msm_dsi_phy *phy) in dsi_28nm_phy_disable()
296 struct msm_dsi_phy *phy; in msm_dsi_phy_init() local
327 int msm_dsi_phy_enable(struct msm_dsi_phy *phy, bool is_dual_panel, in msm_dsi_phy_enable()
335 int msm_dsi_phy_disable(struct msm_dsi_phy *phy) in msm_dsi_phy_disable()
342 void msm_dsi_phy_get_clk_pre_post(struct msm_dsi_phy *phy, in msm_dsi_phy_get_clk_pre_post()
Ddsi.h49 struct msm_dsi_phy *phy; member
Ddsi_manager.c553 struct msm_dsi_phy *phy = msm_dsi->phy; in msm_dsi_manager_phy_enable() local
571 struct msm_dsi_phy *phy = msm_dsi->phy; in msm_dsi_manager_phy_disable() local
/linux-4.1.27/drivers/nfc/microread/
Di2c.c119 struct microread_i2c_phy *phy = phy_id; in microread_i2c_write() local
151 static int microread_i2c_read(struct microread_i2c_phy *phy, in microread_i2c_read()
213 struct microread_i2c_phy *phy = phy_id; in microread_i2c_irq_thread_fn() local
253 struct microread_i2c_phy *phy; in microread_i2c_probe() local
301 struct microread_i2c_phy *phy = i2c_get_clientdata(client); in microread_i2c_remove() local
Dmei.c35 struct nfc_mei_phy *phy; in microread_mei_probe() local
60 struct nfc_mei_phy *phy = mei_cl_get_drvdata(device); in microread_mei_remove() local
/linux-4.1.27/drivers/dma/
Ds3c24xx-dma.c221 struct s3c24xx_dma_phy *phy; member
255 static int s3c24xx_dma_phy_busy(struct s3c24xx_dma_phy *phy) in s3c24xx_dma_phy_busy()
262 struct s3c24xx_dma_phy *phy) in s3c24xx_dma_phy_valid()
294 struct s3c24xx_dma_phy *phy = NULL; in s3c24xx_dma_get_phy() local
347 static inline void s3c24xx_dma_put_phy(struct s3c24xx_dma_phy *phy) in s3c24xx_dma_put_phy()
363 static void s3c24xx_dma_terminate_phy(struct s3c24xx_dma_phy *phy) in s3c24xx_dma_terminate_phy()
380 struct s3c24xx_dma_phy *phy = s3cchan->phy; in s3c24xx_dma_getbytes_chan() local
451 struct s3c24xx_dma_phy *phy = s3cchan->phy; in s3c24xx_dma_start_next_sg() local
513 struct s3c24xx_dma_phy *phy = s3cchan->phy; in s3c24xx_dma_start_next_txd() local
547 struct s3c24xx_dma_phy *phy; in s3c24xx_dma_phy_alloc_and_start() local
[all …]
Dmmp_pdma.c98 struct mmp_pdma_phy *phy; member
131 struct mmp_pdma_phy *phy; member
144 static void set_desc(struct mmp_pdma_phy *phy, dma_addr_t addr) in set_desc()
151 static void enable_chan(struct mmp_pdma_phy *phy) in enable_chan()
172 static void disable_chan(struct mmp_pdma_phy *phy) in disable_chan()
183 static int clear_chan_irq(struct mmp_pdma_phy *phy) in clear_chan_irq()
203 struct mmp_pdma_phy *phy = dev_id; in mmp_pdma_chan_handler() local
215 struct mmp_pdma_phy *phy; in mmp_pdma_int_handler() local
243 struct mmp_pdma_phy *phy, *found = NULL; in lookup_phy() local
943 struct mmp_pdma_phy *phy = &pdev->phy[idx]; in mmp_pdma_chan_init() local
Dk3dma.c80 struct k3_dma_phy *phy; member
101 struct k3_dma_phy *phy; member
115 static void k3_dma_pause_dma(struct k3_dma_phy *phy, bool on) in k3_dma_pause_dma()
130 static void k3_dma_terminate_chan(struct k3_dma_phy *phy, struct k3_dma_dev *d) in k3_dma_terminate_chan()
142 static void k3_dma_set_desc(struct k3_dma_phy *phy, struct k3_desc_hw *hw) in k3_dma_set_desc()
152 static u32 k3_dma_get_curr_cnt(struct k3_dma_dev *d, struct k3_dma_phy *phy) in k3_dma_get_curr_cnt()
161 static u32 k3_dma_get_curr_lli(struct k3_dma_phy *phy) in k3_dma_get_curr_lli()
Dcoh901318_lli.c61 dma_addr_t phy; in coh901318_lli_alloc() local
/linux-4.1.27/drivers/of/
Dof_mdio.c46 struct phy_device *phy; in of_mdiobus_register_phy() local
223 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_connect() local
245 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_attach() local
295 struct phy_device *phy; in of_phy_register_fixed_link() local
/linux-4.1.27/drivers/net/phy/
Dmdio-bitbang.c97 static void mdiobb_cmd(struct mdiobb_ctrl *ctrl, int op, u8 phy, u8 reg) in mdiobb_cmd()
137 static int mdiobb_cmd_addr(struct mdiobb_ctrl *ctrl, int phy, u32 addr) in mdiobb_cmd_addr()
155 static int mdiobb_read(struct mii_bus *bus, int phy, int reg) in mdiobb_read()
184 static int mdiobb_write(struct mii_bus *bus, int phy, int reg, u16 val) in mdiobb_write()
/linux-4.1.27/drivers/scsi/
Dscsi_transport_sas.c552 struct sas_phy *phy = transport_class_to_phy(dev); in show_sas_device_type() local
563 struct sas_phy *phy = transport_class_to_phy(dev); in do_sas_phy_enable() local
600 struct sas_phy *phy = transport_class_to_phy(dev); in show_sas_phy_enable() local
611 struct sas_phy *phy = transport_class_to_phy(dev); in do_sas_phy_reset() local
660 struct sas_phy *phy = dev_to_phy(dev); in sas_phy_setup() local
694 struct sas_phy *phy = dev_to_phy(dev); in sas_phy_release() local
719 struct sas_phy *phy; in sas_phy_alloc() local
751 int sas_phy_add(struct sas_phy *phy) in sas_phy_add()
775 void sas_phy_free(struct sas_phy *phy) in sas_phy_free()
790 sas_phy_delete(struct sas_phy *phy) in sas_phy_delete()
[all …]
/linux-4.1.27/drivers/usb/dwc2/
Dpci.c62 struct platform_device *phy; member
80 struct platform_device *phy; in dwc2_pci_probe() local
Dplatform.c160 struct phy *phy; in dwc2_driver_probe() local
/linux-4.1.27/drivers/scsi/mvsas/
Dmv_sas.c82 struct asd_sas_phy *phy; in mvs_find_dev_mvi() local
114 struct asd_sas_phy *phy; in mvs_find_dev_phyno() local
237 struct mvs_phy *phy = &mvi->phy[i]; in mvs_bytes_dmaed() local
929 struct mvs_phy *phy = &mvi->phy[phy_no]; in mvs_update_wideport() local
951 struct mvs_phy *phy = &mvi->phy[i]; in mvs_is_phy_ready() local
1006 static void mvs_sig_remove_timer(struct mvs_phy *phy) in mvs_sig_remove_timer()
1015 struct mvs_phy *phy = &mvi->phy[i]; in mvs_update_phyinfo() local
1091 struct mvs_phy *phy = sas_phy->lldd_phy; in mvs_port_notify_formed() local
1132 struct mvs_phy *phy = sas_phy->lldd_phy; in mvs_port_notify_deformed() local
1211 struct ex_phy *phy; in mvs_dev_found_notify() local
[all …]
Dmv_64xx.c34 struct mvs_phy *phy = &mvi->phy[i]; in mvs_64xx_detect_porttype() local
593 struct mvs_phy *phy = &mvi->phy[i]; in mvs_64xx_fix_phy_info() local
624 struct mvs_phy *phy = &mvi->phy[i]; in mvs_64xx_phy_work_around() local
Dmv_94xx.c33 struct mvs_phy *phy = &mvi->phy[i]; in mvs_94xx_detect_porttype() local
835 struct mvs_phy *phy = &mvi->phy[i]; in mvs_94xx_fix_phy_info() local
/linux-4.1.27/include/net/
Dcfg802154.h142 static inline void wpan_phy_set_dev(struct wpan_phy *phy, struct device *dev) in wpan_phy_set_dev()
153 static inline void *wpan_phy_priv(struct wpan_phy *phy) in wpan_phy_priv()
161 static inline void wpan_phy_put(struct wpan_phy *phy) in wpan_phy_put()
166 static inline const char *wpan_phy_name(struct wpan_phy *phy) in wpan_phy_name()
/linux-4.1.27/arch/arc/include/asm/
Dio.h21 #define ioremap_nocache(phy, sz) ioremap(phy, sz) argument
22 #define ioremap_wc(phy, sz) ioremap(phy, sz) argument
/linux-4.1.27/drivers/net/ethernet/ti/
Dtlan.c964 u32 phy = priv->phy[priv->phy_num]; in tlan_ioctl() local
1706 u32 phy; in tlan_handle_status_check() local
2263 u32 phy; in tlan_finish_reset() local
2430 u16 i, data0, data1, data2, data3, phy; in tlan_phy_print() local
2479 u32 phy; in tlan_phy_detect() local
2574 u16 phy; in tlan_phy_reset() local
2609 u16 phy; in tlan_phy_start_link() local
2697 u16 phy; in tlan_phy_finish_auto_neg() local
2773 u16 phy; in tlan_phy_monitor() local
2855 tlan_mii_read_reg(struct net_device *dev, u16 phy, u16 reg, u16 *val) in tlan_mii_read_reg()
[all …]
/linux-4.1.27/net/caif/
Dcfcnfg.c136 struct cfcnfg_phyinfo *phy; in cfcnfg_get_phyinfo_rcu() local
152 struct cfcnfg_phyinfo *phy; in cfcnfg_get_phyid() local
171 struct cfcnfg_phyinfo *phy; in cfcnfg_get_id_from_ifi() local
307 struct cfcnfg_phyinfo *phy; in caif_connect_client() local
/linux-4.1.27/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c847 struct sas_phy *phy; in mpt3sas_transport_add_host_phy() local
916 struct sas_phy *phy; in mpt3sas_transport_add_expander_phy() local
1026 phy_to_ioc(struct sas_phy *phy) in phy_to_ioc()
1076 struct sas_phy *phy) in _transport_get_expander_phy_error_log()
1250 _transport_get_linkerrors(struct sas_phy *phy) in _transport_get_linkerrors()
1386 struct sas_phy *phy, u8 phy_operation) in _transport_expander_phy_control()
1572 _transport_phy_reset(struct sas_phy *phy, int hard_reset) in _transport_phy_reset()
1624 _transport_phy_enable(struct sas_phy *phy, int enable) in _transport_phy_enable()
1762 _transport_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates) in _transport_phy_speed()
/linux-4.1.27/drivers/scsi/mpt2sas/
Dmpt2sas_transport.c853 struct sas_phy *phy; in mpt2sas_transport_add_host_phy() local
920 struct sas_phy *phy; in mpt2sas_transport_add_expander_phy() local
1029 phy_to_ioc(struct sas_phy *phy) in phy_to_ioc()
1080 struct sas_phy *phy) in _transport_get_expander_phy_error_log()
1268 _transport_get_linkerrors(struct sas_phy *phy) in _transport_get_linkerrors()
1403 struct sas_phy *phy, u8 phy_operation) in _transport_expander_phy_control()
1590 _transport_phy_reset(struct sas_phy *phy, int hard_reset) in _transport_phy_reset()
1642 _transport_phy_enable(struct sas_phy *phy, int enable) in _transport_phy_enable()
1778 _transport_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates) in _transport_phy_speed()
/linux-4.1.27/drivers/usb/host/
Dehci-omap.c70 struct usb_phy *phy[OMAP3_HS_USB_PORTS]; /* one PHY for each port */ member
171 struct usb_phy *phy; in ehci_hcd_omap_probe() local
Dohci-exynos.c38 struct phy *phy[PHY_NUMBER]; member
45 struct phy *phy; in exynos_ohci_get_phy() local
Dehci-exynos.c47 struct phy *phy[PHY_NUMBER]; member
56 struct phy *phy; in exynos_ehci_get_phy() local
Dehci-msm.c72 struct usb_phy *phy; in ehci_msm_probe() local
Dehci-orion.c56 struct phy *phy; member
Dohci-st.c38 struct phy *phy; member
Dehci-st.c39 struct phy *phy; member
/linux-4.1.27/drivers/net/ethernet/smsc/
Dsmc911x.h844 #define SMC_GET_MII(lp,a,phy,v) \ argument
857 #define SMC_SET_MII(lp,a,phy,v) \ argument
871 #define SMC_GET_PHY_BMCR(lp,phy,x) SMC_GET_MII( (lp), MII_BMCR, phy, x ) argument
872 #define SMC_SET_PHY_BMCR(lp,phy,x) SMC_SET_MII( (lp), MII_BMCR, phy, x ) argument
873 #define SMC_GET_PHY_BMSR(lp,phy,x) SMC_GET_MII( (lp), MII_BMSR, phy, x ) argument
874 #define SMC_GET_PHY_ID1(lp,phy,x) SMC_GET_MII( (lp), MII_PHYSID1, phy, x ) argument
875 #define SMC_GET_PHY_ID2(lp,phy,x) SMC_GET_MII( (lp), MII_PHYSID2, phy, x ) argument
876 #define SMC_GET_PHY_MII_ADV(lp,phy,x) SMC_GET_MII( (lp), MII_ADVERTISE, phy, x ) argument
877 #define SMC_SET_PHY_MII_ADV(lp,phy,x) SMC_SET_MII( (lp), MII_ADVERTISE, phy, x ) argument
878 #define SMC_GET_PHY_MII_LPA(lp,phy,x) SMC_GET_MII( (lp), MII_LPA, phy, x ) argument
[all …]
/linux-4.1.27/drivers/scsi/ufs/
Dufs-qcom.c159 struct phy *phy = host->generic_phy; in ufs_qcom_link_startup_post_change() local
215 struct phy *phy = host->generic_phy; in ufs_qcom_power_up_sequence() local
441 struct phy *phy = host->generic_phy; in ufs_qcom_suspend() local
472 struct phy *phy = host->generic_phy; in ufs_qcom_resume() local
614 struct phy *phy = host->generic_phy; in ufs_qcom_pwr_change_notify() local
/linux-4.1.27/include/linux/
Dfec.h20 phy_interface_t phy; member
Dsh_eth.h10 int phy; member
/linux-4.1.27/drivers/pinctrl/
Dpinctrl-tegra-xusb.c535 static int tegra_xusb_phy_init(struct phy *phy) in tegra_xusb_phy_init()
542 static int tegra_xusb_phy_exit(struct phy *phy) in tegra_xusb_phy_exit()
549 static int pcie_phy_power_on(struct phy *phy) in pcie_phy_power_on()
585 static int pcie_phy_power_off(struct phy *phy) in pcie_phy_power_off()
605 static int sata_phy_power_on(struct phy *phy) in sata_phy_power_on()
645 static int sata_phy_power_off(struct phy *phy) in sata_phy_power_off()
877 struct phy *phy; in tegra_xusb_padctl_probe() local
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_phy.c109 struct pch_gbe_phy_info *phy = &hw->phy; in pch_gbe_phy_get_id() local
144 struct pch_gbe_phy_info *phy = &hw->phy; in pch_gbe_phy_read_reg_miic() local
169 struct pch_gbe_phy_info *phy = &hw->phy; in pch_gbe_phy_write_reg_miic() local
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c153 struct cphy *phy = adapter->port[port_id].phy; in t1_link_changed() local
200 struct cphy *phy = adapter->port[p].phy; in fpga_phy_intr_handler() local
623 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t1_link_start()
669 struct cphy *phy; in t1_elmer0_ext_intr_handler() local
1014 struct cphy *phy = adapter->port[i].phy; in t1_free_sw_modules() local
Dmv88e1xxx.c124 static int mv88e1xxx_set_speed_duplex(struct cphy *phy, int speed, int duplex) in mv88e1xxx_set_speed_duplex()
199 static int mv88e1xxx_advertise(struct cphy *phy, unsigned int advertise_map) in mv88e1xxx_advertise()
/linux-4.1.27/drivers/net/ethernet/aeroflex/
Dgreth.c1111 struct phy_device *phy = greth->phy; in greth_get_settings() local
1122 struct phy_device *phy = greth->phy; in greth_set_settings() local
1188 static int greth_mdio_read(struct mii_bus *bus, int phy, int reg) in greth_mdio_read()
1210 static int greth_mdio_write(struct mii_bus *bus, int phy, int reg, u16 val) in greth_mdio_write()
1282 struct phy_device *phy = NULL; in greth_mdio_probe() local
1328 int ret, phy; in greth_mdio_init() local
/linux-4.1.27/drivers/usb/chipidea/
Dci_hdrc_msm.c57 struct usb_phy *phy; in ci_hdrc_msm_probe() local
Dci_hdrc_pci.c26 struct platform_device *phy; member
Dci_hdrc_imx.c65 struct usb_phy *phy; member
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Ddynack.c43 static inline u32 ath_dynack_get_sifs(struct ath_hw *ah, int phy) in ath_dynack_get_sifs()
210 u32 phy, sifs; in ath_dynack_sample_tx_ts() local
/linux-4.1.27/drivers/scsi/pm8001/
Dpm8001_sas.c215 struct sas_phy *phy = sas_phy->phy; in pm8001_phy_control() local
607 struct ex_phy *phy; in pm8001_dev_found_notify() local
968 struct sas_phy *phy; in pm8001_I_T_nexus_reset() local
1011 struct sas_phy *phy; in pm8001_I_T_nexus_event_handler() local
1077 struct sas_phy *phy = sas_get_local_phy(dev); in pm8001_lu_reset() local
Dpm80xx_hwi.c2855 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; in hw_event_sas_phy_up() local
2937 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; in hw_event_sata_phy_up() local
2982 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; in hw_event_phy_down() local
3036 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; in mpi_phy_start_resp() local
3102 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; in mpi_hw_event() local
3297 struct pm8001_phy *phy = &pm8001_ha->phy[phyid]; in mpi_phy_stop_resp() local
Dpm8001_hwi.c3229 struct pm8001_phy *phy = &pm8001_ha->phy[i]; in pm8001_bytes_dmaed() local
3261 void pm8001_get_lrate_mode(struct pm8001_phy *phy, u8 link_rate) in pm8001_get_lrate_mode()
3298 void pm8001_get_attached_sas_addr(struct pm8001_phy *phy, in pm8001_get_attached_sas_addr()
3367 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; in hw_event_sas_phy_up() local
3446 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; in hw_event_sata_phy_up() local
3488 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; in hw_event_phy_down() local
3788 struct pm8001_phy *phy = &pm8001_ha->phy[phy_id]; in mpi_hw_event() local
/linux-4.1.27/drivers/usb/renesas_usbhs/
Drcar2.c26 struct phy *phy = phy_get(&pdev->dev, "usb"); in usbhs_rcar2_hardware_init() local
/linux-4.1.27/drivers/pci/host/
Dpcie-iproc.h35 struct phy *phy; member
Dpci-dra7xx.c67 struct phy **phy; member
327 struct phy **phy; in dra7xx_pcie_probe() local
Dpci-keystone.c351 struct phy *phy; in ks_pcie_probe() local
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c248 struct phy_device *phy = priv->phydev; in stmmac_ethtool_getsettings() local
333 struct phy_device *phy = priv->phydev; in stmmac_ethtool_setsettings() local
446 struct phy_device *phy = priv->phydev; in stmmac_set_pauseparam() local
/linux-4.1.27/drivers/net/usb/
Dsr9700.c71 static int wait_phy_eeprom_ready(struct usbnet *dev, int phy) in wait_phy_eeprom_ready()
94 static int sr_share_read_word(struct usbnet *dev, int phy, u8 reg, in sr_share_read_word()
119 static int sr_share_write_word(struct usbnet *dev, int phy, u8 reg, in sr_share_write_word()
Ddm9601.c110 static int dm_read_shared_word(struct usbnet *dev, int phy, u8 reg, __le16 *value) in dm_read_shared_word()
149 static int dm_write_shared_word(struct usbnet *dev, int phy, u8 reg, __le16 value) in dm_write_shared_word()
Drtl8150.c139 u8 phy; member
213 static int read_mii_word(rtl8150_t * dev, u8 phy, __u8 indx, u16 * reg) in read_mii_word()
237 static int write_mii_word(rtl8150_t * dev, u8 phy, __u8 indx, u16 reg) in write_mii_word()
Dpegasus.c201 static int __mii_op(pegasus_t *p, __u8 phy, __u8 indx, __u16 *regd, __u8 cmd) in __mii_op()
236 static int read_mii_word(pegasus_t *pegasus, __u8 phy, __u8 indx, __u16 *regd) in read_mii_word()
242 static int write_mii_word(pegasus_t *pegasus, __u8 phy, __u8 indx, __u16 *regd) in write_mii_word()
/linux-4.1.27/drivers/net/ethernet/
Dethoc.c121 #define MIIADDRESS_ADDR(phy, reg) (MIIADDRESS_FIAD(phy) | \ argument
221 struct phy_device *phy; member
619 static int ethoc_mdio_read(struct mii_bus *bus, int phy, int reg) in ethoc_mdio_read()
641 static int ethoc_mdio_write(struct mii_bus *bus, int phy, int reg, u16 val) in ethoc_mdio_write()
670 struct phy_device *phy; in ethoc_mdio_probe() local
753 struct phy_device *phy = NULL; in ethoc_ioctl() local
1011 unsigned int phy; in ethoc_probe() local
/linux-4.1.27/arch/powerpc/sysdev/
Dtsi108_dev.c76 struct device_node *phy, *mdio; in tsi108_eth_of_init() local
Dmv64x60_dev.c247 struct device_node *phy; in mv64x60_eth_device_setup() local
/linux-4.1.27/net/dsa/
Ddsa_priv.h43 struct phy_device *phy; member
/linux-4.1.27/net/mac802154/
Dmain.c57 struct wpan_phy *phy; in ieee802154_alloc_hw() local
Dieee802154_i.h37 struct wpan_phy *phy; member
Dcfg.c48 ieee802154_add_iface(struct wpan_phy *phy, const char *name, in ieee802154_add_iface()
/linux-4.1.27/include/media/
Dsh_mobile_csi2.h32 enum sh_csi2_phy phy; member
/linux-4.1.27/include/scsi/
Dsas_ata.h95 static inline int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy) in sas_get_ata_info()
Dscsi_transport_sas.h80 #define phy_to_shost(phy) \ argument
207 static inline void sas_port_put_phy(struct sas_phy *phy) in sas_port_put_phy()
229 #define scsi_is_sas_phy_local(phy) scsi_is_host_device((phy)->dev.parent) argument
Dlibsas.h140 struct sas_phy *phy; member
203 struct sas_phy *phy; member
302 struct asd_sas_phy *phy; member
326 struct sas_phy *phy; member
458 static inline void sas_phy_disconnected(struct asd_sas_phy *phy) in sas_phy_disconnected()
469 static inline void sas_put_local_phy(struct sas_phy *phy) in sas_put_local_phy()
/linux-4.1.27/include/linux/usb/
Dchipidea.h16 struct phy *phy; member
Dotg.h18 struct phy *phy; member
/linux-4.1.27/drivers/net/ethernet/dec/tulip/
Duli526x.c132 } phy; member
515 struct uli_phy_ops *phy = &db->phy; in uli526x_init() local
1024 struct uli_phy_ops *phy = &db->phy; in uli526x_timer() local
1518 struct uli_phy_ops *phy = &db->phy; in uli526x_sense_speed() local
1562 struct uli_phy_ops *phy = &db->phy; in uli526x_set_phyxcer() local
1604 struct uli_phy_ops *phy = &db->phy; in uli526x_process_mode() local
/linux-4.1.27/arch/arm/mach-omap2/
Dusb-host.c431 int usbhs_init_phys(struct usbhs_phy_data *phy, int num_phys) in usbhs_init_phys()
/linux-4.1.27/arch/arm/mach-imx/
Dmx31moboard-devboard.c197 struct usb_phy *phy; in devboard_usbh1_init() local
Dmx31moboard-marxbot.c311 struct usb_phy *phy; in marxbot_usbh1_init() local
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Drx.c443 struct ar9170_rx_phystatus *phy, struct ieee80211_rx_status *status) in carl9170_rx_phy_status()
701 struct ar9170_rx_phystatus *phy = NULL; in carl9170_rx_untie_data() local
/linux-4.1.27/drivers/net/dsa/
Dbcm_sf2.c267 struct phy_device *phy) in bcm_sf2_port_setup()
323 struct phy_device *phy) in bcm_sf2_port_disable()
357 struct phy_device *phy) in bcm_sf2_eee_init()
/linux-4.1.27/drivers/staging/vt6656/
Dbaseband.c202 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field()
Dcard.c266 struct vnt_phy_field phy[4]; in vnt_set_rspinf() local
/linux-4.1.27/drivers/net/ethernet/sis/
Dsis900.c626 struct mii_phy *phy; in sis900_mii_probe() local
725 struct mii_phy *phy = NULL, *phy_home = NULL, in sis900_default_phy() local
784 static void sis900_set_capability(struct net_device *net_dev, struct mii_phy *phy) in sis900_set_capability()
1487 struct mii_phy *phy = sis_priv->mii; in sis900_read_mode() local
2416 struct mii_phy *phy = sis_priv->first_mii; in sis900_remove() local
/linux-4.1.27/arch/powerpc/include/asm/
Dtsi108.h98 u16 phy; /* phy address */ member
/linux-4.1.27/drivers/thunderbolt/
Dswitch.c65 struct tb_cap_phy phy; in tb_port_state() local
/linux-4.1.27/drivers/scsi/bfa/
Dbfa_ioc.c5320 bfa_phy_present(struct bfa_phy_s *phy) in bfa_phy_present()
5328 struct bfa_phy_s *phy = cbarg; in bfa_phy_notify() local
5355 struct bfa_phy_s *phy = cbarg; in bfa_phy_query_send() local
5374 struct bfa_phy_s *phy = cbarg; in bfa_phy_write_send() local
5414 struct bfa_phy_s *phy = cbarg; in bfa_phy_read_send() local
5438 struct bfa_phy_s *phy = cbarg; in bfa_phy_stats_send() local
5474 bfa_phy_attach(struct bfa_phy_s *phy, struct bfa_ioc_s *ioc, void *dev, in bfa_phy_attach()
5504 bfa_phy_memclaim(struct bfa_phy_s *phy, u8 *dm_kva, u64 dm_pa, in bfa_phy_memclaim()
5537 bfa_phy_get_attr(struct bfa_phy_s *phy, u8 instance, in bfa_phy_get_attr()
5576 bfa_phy_get_stats(struct bfa_phy_s *phy, u8 instance, in bfa_phy_get_stats()
[all …]
/linux-4.1.27/drivers/net/ethernet/hisilicon/
Dhix5hd2_gmac.c221 struct phy_device *phy; member
405 struct phy_device *phy = priv->phy; in hix5hd2_adjust_link() local
797 static int hix5hd2_mdio_read(struct mii_bus *bus, int phy, int reg) in hix5hd2_mdio_read()
825 static int hix5hd2_mdio_write(struct mii_bus *bus, int phy, int reg, u16 val) in hix5hd2_mdio_write()
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_mdio.c183 struct phy_device *phy = mdio_bus->phy_map[phy_addr]; in sxgbe_mdio_register() local
/linux-4.1.27/arch/arm/mach-ixp4xx/include/mach/
Dplatform.h100 u8 phy; /* MII PHY ID, 0 - 31 */ member
/linux-4.1.27/drivers/bcma/
Ddriver_pci.c34 static void bcma_pcie_mdio_set_phy(struct bcma_drv_pci *pc, u16 phy) in bcma_pcie_mdio_set_phy()
/linux-4.1.27/drivers/net/ethernet/toshiba/
Dspider_net.c180 struct mii_phy *phy = &card->phy; in spider_net_setup_aneg() local
2004 struct mii_phy *phy = &card->phy; in spider_net_link_phy() local
2078 struct mii_phy *phy = &card->phy; in spider_net_setup_phy() local
/linux-4.1.27/drivers/scsi/isci/
Dhost.c1877 static int is_long_cable(int phy, unsigned char selection_byte) in is_long_cable()
1882 static int is_medium_cable(int phy, unsigned char selection_byte) in is_medium_cable()
1888 int phy, in decode_selection_byte()
1904 enum cable_selections decode_cable_selection(struct isci_host *ihost, int phy) in decode_cable_selection()

12