Lines Matching refs:cpld_data
27 struct cpld_data *cpld_data = (void *)(CONFIG_SYS_CPLD_BASE); in cpld_set_altbank() local
30 reg11 = in_8(&cpld_data->flhcsr); in cpld_set_altbank()
34 out_8(&cpld_data->flhcsr, (reg11 & CPLD_BANKSEL_MASK) in cpld_set_altbank()
38 out_8(&cpld_data->flhcsr, (reg11 & CPLD_BANKSEL_MASK) in cpld_set_altbank()
42 out_8(&cpld_data->flhcsr, (reg11 & CPLD_BANKSEL_MASK) in cpld_set_altbank()
46 out_8(&cpld_data->flhcsr, (reg11 & CPLD_BANKSEL_MASK) in cpld_set_altbank()
69 struct cpld_data *cpld_data = (void *)(CONFIG_SYS_CPLD_BASE); in cpld_dump_regs() local
71 printf("chipid1 = 0x%02x\n", in_8(&cpld_data->chipid1)); in cpld_dump_regs()
72 printf("chipid2 = 0x%02x\n", in_8(&cpld_data->chipid2)); in cpld_dump_regs()
73 printf("hwver = 0x%02x\n", in_8(&cpld_data->hwver)); in cpld_dump_regs()
74 printf("cpldver = 0x%02x\n", in_8(&cpld_data->cpldver)); in cpld_dump_regs()
75 printf("rstcon = 0x%02x\n", in_8(&cpld_data->rstcon)); in cpld_dump_regs()
76 printf("flhcsr = 0x%02x\n", in_8(&cpld_data->flhcsr)); in cpld_dump_regs()
77 printf("wdcsr = 0x%02x\n", in_8(&cpld_data->wdcsr)); in cpld_dump_regs()
78 printf("wdkick = 0x%02x\n", in_8(&cpld_data->wdkick)); in cpld_dump_regs()
79 printf("fancsr = 0x%02x\n", in_8(&cpld_data->fancsr)); in cpld_dump_regs()
80 printf("ledcsr = 0x%02x\n", in_8(&cpld_data->ledcsr)); in cpld_dump_regs()
81 printf("misc = 0x%02x\n", in_8(&cpld_data->misccsr)); in cpld_dump_regs()
82 printf("bootor = 0x%02x\n", in_8(&cpld_data->bootor)); in cpld_dump_regs()
83 printf("bootcfg1 = 0x%02x\n", in_8(&cpld_data->bootcfg1)); in cpld_dump_regs()
84 printf("bootcfg2 = 0x%02x\n", in_8(&cpld_data->bootcfg2)); in cpld_dump_regs()
85 printf("bootcfg3 = 0x%02x\n", in_8(&cpld_data->bootcfg3)); in cpld_dump_regs()
86 printf("bootcfg4 = 0x%02x\n", in_8(&cpld_data->bootcfg4)); in cpld_dump_regs()