tokens: A " penile implant " is an implanted device intended for the treatment of erectile dysfunction , Peyronie 's disease , ischemic priapism , deformity and traumatic injury of the penis , and for phalloplasty in men or phalloplasty and metoidioplasty in female-to-male gender reassignment surgery .