Searched refs:L2C_R_REG (Results 1 – 2 of 2) sorted by relevance
90 #define L2C_R_REG(offset) readl(atl2c_base + offset) macro94 do{;}while((L2C_R_REG(L2_CCTL_STATUS_OFF) & L2_CCTL_STATUS_mskCMD_COMP) == 0)98 return 64 << ((L2C_R_REG(L2_CA_CONF_OFF) & L2_CA_CONF_mskL2SET) >> in L2_CACHE_SET()105 ((L2C_R_REG(L2_CA_CONF_OFF) & L2_CA_CONF_mskL2WAY) >> in L2_CACHE_WAY()112 return 4 << ((L2C_R_REG(L2_CA_CONF_OFF) & L2_CA_CONF_mskL2CLSZ) >> in L2_CACHE_LINE_SIZE()119 return L2C_R_REG(L2CC_CTRL_OFF); in GET_L2CC_CTRL_CPU()120 return L2C_R_REG(L2CC_CTRL_OFF + (cpu << 8)); in GET_L2CC_CTRL_CPU()134 return L2C_R_REG(L2_CCTL_STATUS_OFF); in GET_L2CC_STATUS_CPU()135 return L2C_R_REG(L2_CCTL_STATUS_OFF + (cpu << 8)); in GET_L2CC_STATUS_CPU()
38 64 << ((L2C_R_REG(L2_CA_CONF_OFF) & L2_CA_CONF_mskL2SET) >> in atl2c_of_init()42 ((L2C_R_REG(L2_CA_CONF_OFF) & L2_CA_CONF_mskL2WAY) >> in atl2c_of_init()45 4 << ((L2C_R_REG(L2_CA_CONF_OFF) & L2_CA_CONF_mskL2CLSZ) >> in atl2c_of_init()50 tmp = L2C_R_REG(L2CC_PROT_OFF); in atl2c_of_init()54 tmp = L2C_R_REG(L2CC_SETUP_OFF); in atl2c_of_init()58 tmp = L2C_R_REG(L2CC_CTRL_OFF); in atl2c_of_init()