/* Return the io register to perform required cache action like clean or clean & invalidate by sets/ways.  */
static u32* get_action_reg_set_ways(enum cache_action action)
/* Return the io register to perform required cache action like clean or clean & invalidate by sets/ways.  */
static u32* get_action_reg_set_ways(enum cache_action action)
{
	switch (action) {
	case INVALIDATE_SET_WAY:
		return V7M_CACHE_REG_DCISW;
	case FLUSH_SET_WAY:
		return V7M_CACHE_REG_DCCSW;
	case FLUSH_INVAL_SET_WAY:
		return V7M_CACHE_REG_DCCISW;
	default:
		break;
	};
	return NULL;
}