If you twist and look up at the leading edge of the trim behind the sun visor you will see that Mazda have very conveniently provided a small rectangular hole to route our cable from the magnetic camera mount into the trim surround (arrowed).