Tunable spin–orbit torque efficiency in in-plane and perpendicular magnetized [Pt/Co]n multilayer