Lines Matching refs:field
51 uint32_t field; in cvmx_l2c_get_core_way_partition() local
64 field = (core & 0x3) * 8; 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()
86 uint32_t field; in cvmx_l2c_set_core_way_partition() local
110 field = (core & 0x3) * 8; in cvmx_l2c_set_core_way_partition()
120 (cvmx_read_csr(CVMX_L2C_SPAR0) & ~(0xFF << field)) | in cvmx_l2c_set_core_way_partition()
121 mask << field); in cvmx_l2c_set_core_way_partition()
125 (cvmx_read_csr(CVMX_L2C_SPAR1) & ~(0xFF << field)) | in cvmx_l2c_set_core_way_partition()
126 mask << field); in cvmx_l2c_set_core_way_partition()
130 (cvmx_read_csr(CVMX_L2C_SPAR2) & ~(0xFF << field)) | in cvmx_l2c_set_core_way_partition()
131 mask << field); in cvmx_l2c_set_core_way_partition()
135 (cvmx_read_csr(CVMX_L2C_SPAR3) & ~(0xFF << field)) | in cvmx_l2c_set_core_way_partition()
136 mask << field); in cvmx_l2c_set_core_way_partition()