Lines Matching +full:0 +full:x12b

12 #define DP83TD510E_PHY_ID			0x20000181
15 #define DP83TD510E_PHY_STS 0x10
19 * clears on write 0.
22 #define DP83TD510E_LINK_STATUS BIT(0)
24 #define DP83TD510E_GEN_CFG 0x11
27 #define DP83TD510E_GENCFG_INT_OE BIT(0)
29 #define DP83TD510E_INTERRUPT_REG_1 0x12
33 #define DP83TD510E_CTRL 0x1f
43 * - DP83TD510E_PKT_STAT_1: Contains TX packet count bits [15:0].
46 * - DP83TD510E_PKT_STAT_4: Contains RX packet count bits [15:0].
53 #define DP83TD510E_PKT_STAT_1 0x12b
54 #define DP83TD510E_PKT_STAT_2 0x12c
55 #define DP83TD510E_PKT_STAT_3 0x12d
56 #define DP83TD510E_PKT_STAT_4 0x12e
57 #define DP83TD510E_PKT_STAT_5 0x12f
58 #define DP83TD510E_PKT_STAT_6 0x130
60 #define DP83TD510E_AN_STAT_1 0x60c
63 #define DP83TD510E_MSE_DETECT 0xa85
74 0x0569, /* < 18dB */
75 0x044c, /* 18dB =< SNR < 19dB */
76 0x0369, /* 19dB =< SNR < 20dB */
77 0x02b6, /* 20dB =< SNR < 21dB */
78 0x0227, /* 21dB =< SNR < 22dB */
79 0x01b6, /* 22dB =< SNR < 23dB */
80 0x015b, /* 23dB =< SNR < 24dB */
81 0x0000 /* 24dB =< SNR */
135 #define DP83TD510E_TDR_CFG 0x1e
138 #define DP83TD510E_TDR_FAIL BIT(0)
140 #define DP83TD510E_TDR_CFG1 0x300
142 * 0 = 1V, 1 = 2.4V
149 #define DP83TD510E_TDR_TX_TYPE_1V 0
156 #define DP83TD510E_TDR_CFG1_POST_SILENCE_TIME_0MS 0
164 #define DP83TD510E_TDR_CFG1_PRE_SILENCE_TIME GENMASK(1, 0)
165 #define DP83TD510E_TDR_CFG1_PRE_SILENCE_TIME_0MS 0
170 #define DP83TD510E_TDR_CFG2 0x301
173 #define DP83TD510E_TDR_START_TAP_INDEX_1 GENMASK(6, 0)
176 #define DP83TD510E_TDR_CFG3 0x302
187 #define DP83TD510E_TDR_TX_DURATION_US GENMASK(15, 0)
190 #define DP83TD510E_TDR_FAULT_CFG1 0x303
193 #define DP83TD510E_TDR_FLT_INIT_1 GENMASK(7, 0)
196 #define DP83TD510E_TDR_FAULT_STAT 0x30c
199 #define DP83TD510E_TDR_PEAK_LOCATION GENMASK(9, 0)
204 #define DP83TD510E_UNKN_030E 0x30e
205 #define DP83TD510E_030E_VAL 0x2520
207 #define DP83TD510E_ALCD_STAT 0xa9f
209 #define DP83TD510E_ALCD_CABLE_LENGTH GENMASK(10, 0)
218 * Returns: 0 on success or a negative error code on failure.
238 if (ret < 0) in dp83td510_update_stats()
244 if (ret < 0) in dp83td510_update_stats()
251 if (ret < 0) in dp83td510_update_stats()
257 if (ret < 0) in dp83td510_update_stats()
263 if (ret < 0) in dp83td510_update_stats()
270 if (ret < 0) in dp83td510_update_stats()
275 return 0; in dp83td510_update_stats()
308 DP83TD510E_INTERRUPT_REG_1, 0x0); in dp83td510_config_intr()
328 if (ret < 0) { in dp83td510_handle_interrupt()
348 phydev->pause = 0; in dp83td510_read_status()
349 phydev->asym_pause = 0; in dp83td510_read_status()
371 if (ret < 0) in dp83td510_read_status()
376 if (ret < 0) in dp83td510_read_status()
385 return 0; in dp83td510_read_status()
394 if (ret < 0) in dp83td510_config_aneg()
401 if (ret < 0) in dp83td510_config_aneg()
403 if (ret > 0) in dp83td510_config_aneg()
415 return 0; in dp83td510_get_sqi()
418 if (ret < 0) in dp83td510_get_sqi()
421 mse_val = 0xFFFF & ret; in dp83td510_get_sqi()
422 for (sqi = 0; sqi < ARRAY_SIZE(dp83td510_mse_sqi_map); sqi++) { in dp83td510_get_sqi()
442 * Returns: 0 on success, a negative error code on failure.
458 return 0; in dp83td510_cable_test_start()
481 * pre TDR silence time to 10ms to avoid false reflections (value 0 in dp83td510_cable_test_start()
545 * Returns: 0 on success or a negative error code on failure.
553 if (ret < 0) in dp83td510_cable_test_get_tdr_status()
557 return 0; in dp83td510_cable_test_get_tdr_status()
564 if (ret < 0) in dp83td510_cable_test_get_tdr_status()
602 * Returns: 0 on success or a negative error code on failure.
618 return 0; in dp83td510_cable_test_get_alcd_status()
622 if (ret < 0) in dp83td510_cable_test_get_alcd_status()
626 return 0; in dp83td510_cable_test_get_alcd_status()
639 return 0; in dp83td510_cable_test_get_alcd_status()
650 * Returns: 0 on success or a negative error code on failure.
679 return 0; in dp83td510_get_features()
693 return 0; in dp83td510_probe()