Lines Matching refs:cvmx_read_csr
58 return cvmx_read_csr(CVMX_L2C_WPAR_PPX(core)) & 0xffff; in cvmx_l2c_get_core_way_partition()
73 return (cvmx_read_csr(CVMX_L2C_SPAR0) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition()
75 return (cvmx_read_csr(CVMX_L2C_SPAR1) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition()
77 return (cvmx_read_csr(CVMX_L2C_SPAR2) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition()
79 return (cvmx_read_csr(CVMX_L2C_SPAR3) & (0xFF << field)) >> field; in cvmx_l2c_get_core_way_partition()
120 (cvmx_read_csr(CVMX_L2C_SPAR0) & ~(0xFF << field)) | in cvmx_l2c_set_core_way_partition()
125 (cvmx_read_csr(CVMX_L2C_SPAR1) & ~(0xFF << field)) | in cvmx_l2c_set_core_way_partition()
130 (cvmx_read_csr(CVMX_L2C_SPAR2) & ~(0xFF << field)) | in cvmx_l2c_set_core_way_partition()
135 (cvmx_read_csr(CVMX_L2C_SPAR3) & ~(0xFF << field)) | in cvmx_l2c_set_core_way_partition()
157 (cvmx_read_csr(CVMX_L2C_SPAR4) & ~0xFF) | mask); in cvmx_l2c_set_hw_way_partition()
164 return cvmx_read_csr(CVMX_L2C_WPAR_IOBX(0)) & 0xffff; in cvmx_l2c_get_hw_way_partition()
166 return cvmx_read_csr(CVMX_L2C_SPAR4) & (0xFF); in cvmx_l2c_get_hw_way_partition()
175 pfctl.u64 = cvmx_read_csr(CVMX_L2C_PFCTL); in cvmx_l2c_config_perf()
210 l2c_tadx_prf.u64 = cvmx_read_csr(CVMX_L2C_TADX_PRF(0)); in cvmx_l2c_config_perf()
238 return cvmx_read_csr(CVMX_L2C_PFC0); in cvmx_l2c_read_perf()
244 counter += cvmx_read_csr(CVMX_L2C_TADX_PFC0(tad)); in cvmx_l2c_read_perf()
249 return cvmx_read_csr(CVMX_L2C_PFC1); in cvmx_l2c_read_perf()
255 counter += cvmx_read_csr(CVMX_L2C_TADX_PFC1(tad)); in cvmx_l2c_read_perf()
260 return cvmx_read_csr(CVMX_L2C_PFC2); in cvmx_l2c_read_perf()
266 counter += cvmx_read_csr(CVMX_L2C_TADX_PFC2(tad)); in cvmx_l2c_read_perf()
272 return cvmx_read_csr(CVMX_L2C_PFC3); in cvmx_l2c_read_perf()
278 counter += cvmx_read_csr(CVMX_L2C_TADX_PFC3(tad)); in cvmx_l2c_read_perf()
331 l2c_tadx_tag.u64 = cvmx_read_csr(CVMX_L2C_TADX_TAG(0)); in cvmx_l2c_lock_line()
362 l2t_err.u64 = cvmx_read_csr(CVMX_L2T_ERR); in cvmx_l2c_lock_line()
373 cvmx_read_csr(CVMX_L2C_DBG); in cvmx_l2c_lock_line()
377 cvmx_read_csr(CVMX_L2C_LCKOFF); in cvmx_l2c_lock_line()
379 if (((union cvmx_l2c_cfg)(cvmx_read_csr(CVMX_L2C_CFG))).s.idxalias) { in cvmx_l2c_lock_line()
392 cvmx_read_csr(CVMX_L2C_LCKBASE); in cvmx_l2c_lock_line()
399 cvmx_read_csr(CVMX_L2C_LCKBASE); in cvmx_l2c_lock_line()
403 cvmx_read_csr(CVMX_L2C_DBG); in cvmx_l2c_lock_line()
405 l2t_err.u64 = cvmx_read_csr(CVMX_L2T_ERR); in cvmx_l2c_lock_line()
677 l2c_tadx_tag.u64 = cvmx_read_csr(CVMX_L2C_TADX_TAG(0)); in cvmx_l2c_get_tag()
738 l2c_ctl.u64 = cvmx_read_csr(CVMX_L2C_CTL); in cvmx_l2c_address_to_index()
743 l2c_cfg.u64 = cvmx_read_csr(CVMX_L2C_CFG); in cvmx_l2c_address_to_index()
822 mio_fus_dat3.u64 = cvmx_read_csr(CVMX_MIO_FUS_DAT3); in cvmx_l2c_get_num_assoc()
845 l2d_fus3 = cvmx_read_csr(CVMX_L2D_FUS3); in cvmx_l2c_get_num_assoc()
908 cvmx_read_csr(CVMX_L2C_DBG); in cvmx_l2c_flush_line()
916 cvmx_read_csr(CVMX_L2C_DBG); in cvmx_l2c_flush_line()