The Formation of Ch'an Ideology in China and Korea