Searched refs:lx_krn (Results 1 – 2 of 2) sorted by relevance
400 static int leo_wait (struct leo_lx_krn *lx_krn) in leo_wait() argument404 for (i = 0; (sbus_readl(&lx_krn->krn_csr) & LEO_KRN_CSR_PROGRESS) && i < 300000; i++) in leo_wait()413 struct leo_lx_krn *lx_krn = fb->s.leo.lx_krn; in leo_loadcmap() local419 sbus_writel(LEO_KRN_TYPE_CLUT0, &lx_krn->krn_type); in leo_loadcmap()420 i = leo_wait (lx_krn); in leo_loadcmap()423 sbus_writel(LEO_KRN_TYPE_CLUTDATA, &lx_krn->krn_type); in leo_loadcmap()431 sbus_writel(val, &lx_krn->krn_value); /* Throw colors there :)) */ in leo_loadcmap()433 sbus_writel(LEO_KRN_TYPE_CLUT0, &lx_krn->krn_type); in leo_loadcmap()434 tmp = sbus_readl(&lx_krn->krn_csr); in leo_loadcmap()436 sbus_writel(tmp, &lx_krn->krn_csr); in leo_loadcmap()[all …]
45 struct leo_lx_krn *lx_krn; member