Searched refs:pko_mode (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-util.c270 union cvmx_pko_reg_gmx_port_mode pko_mode; __cvmx_helper_setup_gmx() local
304 pko_mode.u64 = cvmx_read_csr(CVMX_PKO_REG_GMX_PORT_MODE); __cvmx_helper_setup_gmx()
307 pko_mode.s.mode0 = 4; __cvmx_helper_setup_gmx()
309 pko_mode.s.mode0 = 3; __cvmx_helper_setup_gmx()
311 pko_mode.s.mode0 = 2; __cvmx_helper_setup_gmx()
313 pko_mode.s.mode0 = 1; __cvmx_helper_setup_gmx()
315 pko_mode.s.mode0 = 0; __cvmx_helper_setup_gmx()
318 pko_mode.s.mode1 = 4; __cvmx_helper_setup_gmx()
320 pko_mode.s.mode1 = 3; __cvmx_helper_setup_gmx()
322 pko_mode.s.mode1 = 2; __cvmx_helper_setup_gmx()
324 pko_mode.s.mode1 = 1; __cvmx_helper_setup_gmx()
326 pko_mode.s.mode1 = 0; __cvmx_helper_setup_gmx()
328 cvmx_write_csr(CVMX_PKO_REG_GMX_PORT_MODE, pko_mode.u64); __cvmx_helper_setup_gmx()

Completed in 161 milliseconds