Lines Matching refs:default_par
1515 struct pm2fb_par *default_par; in pm2fb_probe() local
1529 default_par = info->par; in pm2fb_probe()
1534 default_par->type = PM2_TYPE_PERMEDIA2; in pm2fb_probe()
1538 default_par->type = PM2_TYPE_PERMEDIA2; in pm2fb_probe()
1542 default_par->type = PM2_TYPE_PERMEDIA2V; in pm2fb_probe()
1565 default_par->v_regs = in pm2fb_probe()
1567 if (!default_par->v_regs) { in pm2fb_probe()
1575 default_par->mem_control = pm2_RD(default_par, PM2R_MEM_CONTROL); in pm2fb_probe()
1576 default_par->boot_address = pm2_RD(default_par, PM2R_BOOT_ADDRESS); in pm2fb_probe()
1577 default_par->mem_config = pm2_RD(default_par, PM2R_MEM_CONFIG); in pm2fb_probe()
1579 default_par->mem_control, default_par->boot_address, in pm2fb_probe()
1580 default_par->mem_config); in pm2fb_probe()
1582 if (default_par->mem_control == 0 && in pm2fb_probe()
1583 default_par->boot_address == 0x31 && in pm2fb_probe()
1584 default_par->mem_config == 0x259fffff) { in pm2fb_probe()
1585 default_par->memclock = CVPPC_MEMCLOCK; in pm2fb_probe()
1586 default_par->mem_control = 0; in pm2fb_probe()
1587 default_par->boot_address = 0x20; in pm2fb_probe()
1588 default_par->mem_config = 0xe6002021; in pm2fb_probe()
1597 default_par->memclock = 100000; in pm2fb_probe()
1607 default_par->memclock = 74894; in pm2fb_probe()
1612 switch (default_par->mem_config & PM2F_MEM_CONFIG_RAM_MASK) { in pm2fb_probe()
1643 default_par->wc_cookie = arch_phys_wc_add(pm2fb_fix.smem_start, in pm2fb_probe()
1648 info->pseudo_palette = default_par->palette; in pm2fb_probe()
1705 iounmap(default_par->v_regs); in pm2fb_probe()