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

/freebsd-10-stable/sys/contrib/octeon-sdk/
H A Dcvmx-srio.c284 if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_MAINT_OP(srio_port), cvmx_sriox_maint_op_t, pending, ==, 0, CVMX_SRIO_CONFIG_TIMEOUT))
291 cvmx_write_csr(CVMX_SRIOX_MAINT_OP(srio_port), maint_op.u64);
294 if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_MAINT_OP(srio_port), cvmx_sriox_maint_op_t, pending, ==, 0, CVMX_SRIO_CONFIG_TIMEOUT))
301 maint_op.u64 = cvmx_read_csr(CVMX_SRIOX_MAINT_OP(srio_port));
340 if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_MAINT_OP(srio_port), cvmx_sriox_maint_op_t, pending, ==, 0, CVMX_SRIO_CONFIG_TIMEOUT))
347 cvmx_write_csr(CVMX_SRIOX_MAINT_OP(srio_port), maint_op.u64);
350 if (CVMX_WAIT_FOR_FIELD64(CVMX_SRIOX_MAINT_OP(srio_port), cvmx_sriox_maint_op_t, pending, ==, 0, CVMX_SRIO_CONFIG_TIMEOUT))
357 maint_op.u64 = cvmx_read_csr(CVMX_SRIOX_MAINT_OP(srio_port));
H A Dcvmx-sriox-defs.h307 static inline uint64_t CVMX_SRIOX_MAINT_OP(unsigned long block_id) function
312 cvmx_warn("CVMX_SRIOX_MAINT_OP(%lu) is invalid on this chip\n", block_id);
316 #define CVMX_SRIOX_MAINT_OP(block_id) (CVMX_ADD_IO_SEG(0x00011800C8000158ull) + ((block_id) & 3) * 0x1000000ull) macro

Completed in 80 milliseconds