Changeset View
Changeset View
Standalone View
Standalone View
head/sys/contrib/octeon-sdk/cvmx-dpi-defs.h
Show First 20 Lines • Show All 402 Lines • ▼ Show 20 Lines | case OCTEON_CN66XX & OCTEON_FAMILY_MASK: | ||||
if ((offset <= 3)) | if ((offset <= 3)) | ||||
return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + ((offset) & 3) * 8; | return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + ((offset) & 3) * 8; | ||||
break; | break; | ||||
case OCTEON_CNF71XX & OCTEON_FAMILY_MASK: | case OCTEON_CNF71XX & OCTEON_FAMILY_MASK: | ||||
case OCTEON_CN61XX & OCTEON_FAMILY_MASK: | case OCTEON_CN61XX & OCTEON_FAMILY_MASK: | ||||
case OCTEON_CN68XX & OCTEON_FAMILY_MASK: | case OCTEON_CN68XX & OCTEON_FAMILY_MASK: | ||||
if (OCTEON_IS_MODEL(OCTEON_CN68XX_PASS1)) | if (OCTEON_IS_MODEL(OCTEON_CN68XX_PASS1)) | ||||
if ((offset <= 1)) | if ((offset <= 1)) | ||||
return CVMX_ADD_IO_SEG(0x0001DF0000000928ull) + ((offset) & 1) * 8; | return CVMX_ADD_IO_SEG(0x0001DF0000000928ull) + ((offset) & 1) * 8; | ||||
if (OCTEON_IS_MODEL(OCTEON_CN68XX_PASS2)) | if (OCTEON_IS_MODEL(OCTEON_CN68XX_PASS2)) | ||||
if ((offset <= 1)) | if ((offset <= 1)) | ||||
return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + ((offset) & 1) * 8; if ((offset <= 1)) | return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + ((offset) & 1) * 8; | ||||
if ((offset <= 1)) | |||||
return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + ((offset) & 1) * 8; | return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + ((offset) & 1) * 8; | ||||
break; | break; | ||||
case OCTEON_CN63XX & OCTEON_FAMILY_MASK: | case OCTEON_CN63XX & OCTEON_FAMILY_MASK: | ||||
if ((offset <= 1)) | if ((offset <= 1)) | ||||
return CVMX_ADD_IO_SEG(0x0001DF0000000928ull) + ((offset) & 1) * 8; | return CVMX_ADD_IO_SEG(0x0001DF0000000928ull) + ((offset) & 1) * 8; | ||||
break; | break; | ||||
} | } | ||||
cvmx_warn("CVMX_DPI_SLI_PRTX_ERR (offset = %lu) not supported on this chip\n", offset); | cvmx_warn("CVMX_DPI_SLI_PRTX_ERR (offset = %lu) not supported on this chip\n", offset); | ||||
▲ Show 20 Lines • Show All 1,648 Lines • Show Last 20 Lines |