Lines Matching defs:mode
162 int mode;
169 /* Comphy mode (compound of the IO mode and id). Here, only the IO mode
172 mode = COMPHY_GET_MODE(comphy_mode);
179 if (mode == COMPHY_SATA_MODE) {
198 if (mode == COMPHY_RXAUI_MODE)
211 * requested mode in order to determine which value
213 * so we need to strip the mode, and check the ID
219 if ((mode == COMPHY_SGMII_MODE ||
220 mode == COMPHY_2500BASEX_MODE ||
221 mode == COMPHY_SFI_MODE ||
222 mode == COMPHY_XFI_MODE ||
223 mode == COMPHY_AP_MODE)
236 if (mode == COMPHY_RXAUI_MODE)
249 /* PIPE selector configures for PCIe, USB 3.0 Host, and USB 3.0 Device mode */
255 int mode = COMPHY_GET_MODE(comphy_mode);
267 switch (mode) {
277 ERROR("COMPHY[%d] mode[%d] is invalid\n",
278 comphy_index, mode);
289 ERROR("COMPHY[%d] mode[%d] is invalid\n", comphy_index,
290 mode);
294 ERROR("COMPHY[%d] mode[%d] is invalid\n", comphy_index, mode);
395 /* Set select data width 40Bit - SATA mode only */
419 /* PHY mode select (set SATA = 0x0 */
1170 /* Configure differencial manchester encoter to ethernet mode */
1387 /* Set PHY datapath width mode for V0 */
1390 /* Set Data bus width USB mode for V0 */
1408 /* Set PIPE mode interface to PCIe3 - 0x1 & set lane order */
1427 /* Set PIPE version 4 to mode enable */
1467 /* Set PHY mode to PCIe */
1991 /* Set PHY datapath width mode for V0 */
1994 /* Set Data bus width USB mode for V0 */
2012 /* Set PHY mode to USB - 0x5 */
2290 /* During AP the proper mode is auto-negotiated and the mac, pcs and serdes
2292 * negotiated mode. Therefore there is no need to configure the mac, pcs and
2341 int mode = COMPHY_GET_MODE(comphy_mode);
2348 switch (mode) {
2373 int mode = COMPHY_GET_MODE(comphy_mode);
2378 switch (mode) {
2419 ERROR("comphy%d: unsupported comphy mode\n", comphy_index);