Lines Matching refs:default_par
1521 struct pm2fb_par *default_par; in pm2fb_probe() local
1535 default_par = info->par; in pm2fb_probe()
1540 default_par->type = PM2_TYPE_PERMEDIA2; in pm2fb_probe()
1544 default_par->type = PM2_TYPE_PERMEDIA2; in pm2fb_probe()
1548 default_par->type = PM2_TYPE_PERMEDIA2V; in pm2fb_probe()
1571 default_par->v_regs = in pm2fb_probe()
1573 if (!default_par->v_regs) { in pm2fb_probe()
1581 default_par->mem_control = pm2_RD(default_par, PM2R_MEM_CONTROL); in pm2fb_probe()
1582 default_par->boot_address = pm2_RD(default_par, PM2R_BOOT_ADDRESS); in pm2fb_probe()
1583 default_par->mem_config = pm2_RD(default_par, PM2R_MEM_CONFIG); in pm2fb_probe()
1585 default_par->mem_control, default_par->boot_address, in pm2fb_probe()
1586 default_par->mem_config); in pm2fb_probe()
1588 if (default_par->mem_control == 0 && in pm2fb_probe()
1589 default_par->boot_address == 0x31 && in pm2fb_probe()
1590 default_par->mem_config == 0x259fffff) { in pm2fb_probe()
1591 default_par->memclock = CVPPC_MEMCLOCK; in pm2fb_probe()
1592 default_par->mem_control = 0; in pm2fb_probe()
1593 default_par->boot_address = 0x20; in pm2fb_probe()
1594 default_par->mem_config = 0xe6002021; in pm2fb_probe()
1603 default_par->memclock = 100000; in pm2fb_probe()
1613 default_par->memclock = 74894; in pm2fb_probe()
1618 switch (default_par->mem_config & PM2F_MEM_CONFIG_RAM_MASK) { in pm2fb_probe()
1649 default_par->mtrr_handle = -1; in pm2fb_probe()
1651 default_par->mtrr_handle = in pm2fb_probe()
1659 info->pseudo_palette = default_par->palette; in pm2fb_probe()
1716 iounmap(default_par->v_regs); in pm2fb_probe()