Credit Suisse is conducting an internal investigation over whether staff breached compliance rules after three of its offices were searched.