18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 28c2ecf20Sopenharmony_ci/* Copyright (c) 2018 Microsemi Corporation */ 38c2ecf20Sopenharmony_ci#ifndef __PHY_OCELOT_SERDES_H__ 48c2ecf20Sopenharmony_ci#define __PHY_OCELOT_SERDES_H__ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#define SERDES1G(x) (x) 78c2ecf20Sopenharmony_ci#define SERDES1G_MAX SERDES1G(5) 88c2ecf20Sopenharmony_ci#define SERDES6G(x) (SERDES1G_MAX + 1 + (x)) 98c2ecf20Sopenharmony_ci#define SERDES6G_MAX SERDES6G(2) 108c2ecf20Sopenharmony_ci#define SERDES_MAX (SERDES6G_MAX + 1) 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#endif 13