Lines Matching defs:mode
38 /* Changes to 40M1G25 mode data required for running 40M3G125 init mode */
49 /* 40M1G25 mode init data */
125 int mode = COMPHY_GET_MODE(comphy_mode);
128 switch (mode) {
173 ERROR("COMPHY[%d] mode[%d] is invalid\n", comphy_index, mode);
303 /* Clear phy isolation mode to make it work in normal mode */
322 /* 2. Select reference clock(25M) and PHY mode (SATA) */
377 int mode = COMPHY_GET_MODE(comphy_mode);
419 if (mode == COMPHY_SGMII_MODE) {
423 } else if (mode == COMPHY_2500BASEX_MODE) {
484 * 12. As long as DFE function needs to be enabled in any mode,
501 debug("Running C-DPI phy init %s mode\n",
502 mode == COMPHY_2500BASEX_MODE ? "2G5" : "1G");
504 comphy_sgmii_phy_init(sd_ip_addr, mode != COMPHY_2500BASEX_MODE);
652 * 2. Set BIT0: enable transmitter in high impedance mode
654 * Set BIT6: Tx detect Rx at HiZ mode
832 /* 3. Force to use reg setting for PCIe mode */
909 int mode = COMPHY_GET_MODE(comphy_mode);
914 switch (mode) {
934 ERROR("comphy%d: unsupported comphy mode\n", comphy_index);
963 /* Set phy isolation mode */
980 int mode = COMPHY_GET_MODE(comphy_mode);
985 if (!mode) {
987 * The user did not specify which mode should be powered off.
991 mode = mvebu_a3700_comphy_get_mode(comphy_index);
994 switch (mode) {
1008 debug("comphy%d: power off is not implemented for mode %d\n",
1009 comphy_index, mode);
1045 int mode = COMPHY_GET_MODE(comphy_mode);
1050 switch (mode) {
1056 ERROR("comphy[%d] mode[%d] doesn't support PLL lock check\n",
1057 comphy_index, mode);