dss: new arrays, new funcs, more cleanups

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>