Toin' refers to the residence of the Retired Emperor (Daijo-tenno), Cloistered Emperor, and there were many residences of many nobility were located along the road during the Heian period.
「洞院」とは太上天皇・法皇の居所を意味し、平安時代には通り沿いに多くの院があった。