Hatha Yoga Pradipika · by Svatmarama
Chapter 1 · Asanas, Diet, Conduct
आसनविधिकथनम्
जानूर्वोरंतरे सम्यक्कृत्वा पादतले उभे ॥ऋजुकायः समासीनः स्वस्तिकं तत्प्रचक्षते ॥ १९ ॥
Also in Gheranda Samhita 2.13
Also in Shiva Samhita 3.118
The yogi places both soles of the feet between the knees and thighs. He sits straight and at ease. This is called svastikasana (the auspicious cross-legged posture).
Simple meaning: Svastikasana: sit straight with the soles tucked between thighs and knees.
सव्ये दक्षिणगुल्फं तु पृष्ठपार्श्वे नियोजयेत् ॥
Gomukhasana: the ankles sit at the sides of the back, like a cow's face.
एकं पादं तथैकस्मिन्विन्यसेदुरुणि स्थितम् ॥
Virasana: each foot rests on the opposite thigh.
गुदं निरुद्ध्य गुल्फाभ्यां व्युत्क्रमेण समाहितः ॥
Kurmasana: the crossed ankles press the anus.