/external/u-boot/board/freescale/t104xrdb/ |
D | cpld.c | 38 u8 reg = CPLD_READ(flash_ctl_status); in cpld_set_altbank() 51 u8 reg = CPLD_READ(flash_ctl_status); in cpld_set_defbank() 62 printf("cpld_ver = 0x%02x\n", CPLD_READ(cpld_ver)); in cpld_dump_regs() 63 printf("cpld_ver_sub = 0x%02x\n", CPLD_READ(cpld_ver_sub)); in cpld_dump_regs() 64 printf("hw_ver = 0x%02x\n", CPLD_READ(hw_ver)); in cpld_dump_regs() 65 printf("sw_ver = 0x%02x\n", CPLD_READ(sw_ver)); in cpld_dump_regs() 66 printf("reset_ctl1 = 0x%02x\n", CPLD_READ(reset_ctl1)); in cpld_dump_regs() 67 printf("reset_ctl2 = 0x%02x\n", CPLD_READ(reset_ctl2)); in cpld_dump_regs() 68 printf("int_status = 0x%02x\n", CPLD_READ(int_status)); in cpld_dump_regs() 69 printf("flash_ctl_status = 0x%02x\n", CPLD_READ(flash_ctl_status)); in cpld_dump_regs() [all …]
|
D | t104xrdb.c | 37 CPLD_READ(hw_ver), CPLD_READ(sw_ver)); in checkboard() 39 sw = CPLD_READ(flash_ctl_status); in checkboard() 99 CPLD_WRITE(misc_ctl_status, CPLD_READ(misc_ctl_status) | in misc_init_r() 104 CPLD_WRITE(misc_ctl_status, CPLD_READ(misc_ctl_status) | in misc_init_r() 109 CPLD_WRITE(sfp_ctl_status, CPLD_READ(sfp_ctl_status) | in misc_init_r() 112 CPLD_READ(sfp_ctl_status)); in misc_init_r() 115 if (CPLD_READ(sw_ver) < 0x03) { in misc_init_r() 117 CPLD_READ(sw_ver)); in misc_init_r()
|
D | cpld.h | 41 #define CPLD_READ(reg) cpld_read(offsetof(struct cpld_data, reg)) macro
|
D | diu.c | 71 sw = CPLD_READ(sfp_ctl_status); in platform_diu_init()
|
/external/u-boot/board/freescale/t4rdb/ |
D | cpld.c | 44 val = CPLD_READ(vbank); in cpld_set_altbank() 52 override = CPLD_READ(software_on); in cpld_set_altbank() 77 printf("chip_id1 = 0x%02x\n", CPLD_READ(chip_id1)); in cpld_dump_regs() 78 printf("chip_id2 = 0x%02x\n", CPLD_READ(chip_id2)); in cpld_dump_regs() 79 printf("sw_maj_ver = 0x%02x\n", CPLD_READ(sw_maj_ver)); in cpld_dump_regs() 80 printf("sw_min_ver = 0x%02x\n", CPLD_READ(sw_min_ver)); in cpld_dump_regs() 81 printf("hw_ver = 0x%02x\n", CPLD_READ(hw_ver)); in cpld_dump_regs() 82 printf("software_on = 0x%02x\n", CPLD_READ(software_on)); in cpld_dump_regs() 83 printf("cfg_rcw_src = 0x%02x\n", CPLD_READ(cfg_rcw_src)); in cpld_dump_regs() 84 printf("res0 = 0x%02x\n", CPLD_READ(res0)); in cpld_dump_regs() [all …]
|
D | t4240rdb.c | 33 CPLD_READ(hw_ver), CPLD_READ(sw_maj_ver), CPLD_READ(sw_min_ver)); in checkboard() 35 sw = CPLD_READ(vbank); in checkboard()
|
D | cpld.h | 45 #define CPLD_READ(reg) cpld_read(offsetof(struct cpld_data, reg)) macro
|
/external/u-boot/board/freescale/t102xrdb/ |
D | cpld.c | 34 u8 reg = CPLD_READ(flash_csr); in cpld_set_altbank() 47 u8 reg = CPLD_READ(flash_csr); in cpld_set_defbank() 57 printf("cpld_ver = 0x%02x\n", CPLD_READ(cpld_ver)); in cpld_dump_regs() 58 printf("cpld_ver_sub = 0x%02x\n", CPLD_READ(cpld_ver_sub)); in cpld_dump_regs() 59 printf("hw_ver = 0x%02x\n", CPLD_READ(hw_ver)); in cpld_dump_regs() 60 printf("sw_ver = 0x%02x\n", CPLD_READ(sw_ver)); in cpld_dump_regs() 61 printf("reset_ctl1 = 0x%02x\n", CPLD_READ(reset_ctl1)); in cpld_dump_regs() 62 printf("reset_ctl2 = 0x%02x\n", CPLD_READ(reset_ctl2)); in cpld_dump_regs() 63 printf("int_status = 0x%02x\n", CPLD_READ(int_status)); in cpld_dump_regs() 64 printf("flash_csr = 0x%02x\n", CPLD_READ(flash_csr)); in cpld_dump_regs() [all …]
|
D | t102xrdb.c | 55 CPLD_READ(hw_ver), CPLD_READ(sw_ver)); in checkboard() 68 reg = CPLD_READ(flash_csr); in checkboard() 98 u8 reg = CPLD_READ(misc_ctl_status); in board_mux_lane()
|
D | cpld.h | 32 #define CPLD_READ(reg) cpld_read(offsetof(struct cpld_data, reg)) macro
|
/external/u-boot/board/freescale/ls1046ardb/ |
D | cpld.c | 31 u8 reg4 = CPLD_READ(soft_mux_on); in cpld_set_altbank() 34 u8 reg7 = CPLD_READ(vbank); in cpld_set_altbank() 53 u8 reg4 = CPLD_READ(soft_mux_on); in cpld_set_defbank() 96 printf("cpld_ver = %x\n", CPLD_READ(cpld_ver)); in cpld_dump_regs() 97 printf("cpld_ver_sub = %x\n", CPLD_READ(cpld_ver_sub)); in cpld_dump_regs() 98 printf("pcba_ver = %x\n", CPLD_READ(pcba_ver)); in cpld_dump_regs() 99 printf("soft_mux_on = %x\n", CPLD_READ(soft_mux_on)); in cpld_dump_regs() 100 printf("cfg_rcw_src1 = %x\n", CPLD_READ(cfg_rcw_src1)); in cpld_dump_regs() 101 printf("cfg_rcw_src2 = %x\n", CPLD_READ(cfg_rcw_src2)); in cpld_dump_regs() 102 printf("vbank = %x\n", CPLD_READ(vbank)); in cpld_dump_regs() [all …]
|
D | ls1046ardb.c | 44 cfg_rcw_src1 = CPLD_READ(cfg_rcw_src1); in checkboard() 45 cfg_rcw_src2 = CPLD_READ(cfg_rcw_src2); in checkboard() 51 printf("QSPI vBank %d\n", CPLD_READ(vbank)); in checkboard() 57 printf("CPLD: V%x.%x\nPCBA: V%x.0\n", CPLD_READ(cpld_ver), in checkboard() 58 CPLD_READ(cpld_ver_sub), CPLD_READ(pcba_ver)); in checkboard() 61 sd1refclk_sel = CPLD_READ(sd1refclk_sel); in checkboard()
|
D | cpld.h | 39 #define CPLD_READ(reg) cpld_read(offsetof(struct cpld_data, reg)) macro
|
/external/u-boot/board/freescale/ls1043ardb/ |
D | cpld.c | 31 u8 reg4 = CPLD_READ(soft_mux_on); in cpld_set_altbank() 34 u8 reg7 = CPLD_READ(vbank); in cpld_set_altbank() 53 u8 reg4 = CPLD_READ(soft_mux_on); in cpld_set_defbank() 103 printf("cpld_ver = %x\n", CPLD_READ(cpld_ver)); in cpld_dump_regs() 104 printf("cpld_ver_sub = %x\n", CPLD_READ(cpld_ver_sub)); in cpld_dump_regs() 105 printf("pcba_ver = %x\n", CPLD_READ(pcba_ver)); in cpld_dump_regs() 106 printf("soft_mux_on = %x\n", CPLD_READ(soft_mux_on)); in cpld_dump_regs() 107 printf("cfg_rcw_src1 = %x\n", CPLD_READ(cfg_rcw_src1)); in cpld_dump_regs() 108 printf("cfg_rcw_src2 = %x\n", CPLD_READ(cfg_rcw_src2)); in cpld_dump_regs() 109 printf("vbank = %x\n", CPLD_READ(vbank)); in cpld_dump_regs() [all …]
|
D | ls1043ardb.c | 52 cfg_rcw_src1 = CPLD_READ(cfg_rcw_src1); in checkboard() 53 cfg_rcw_src2 = CPLD_READ(cfg_rcw_src2); in checkboard() 59 printf("vBank %d\n", CPLD_READ(vbank)); in checkboard() 66 printf("CPLD: V%x.%x\nPCBA: V%x.0\n", CPLD_READ(cpld_ver), in checkboard() 67 CPLD_READ(cpld_ver_sub), CPLD_READ(pcba_ver)); in checkboard() 70 sd1refclk_sel = CPLD_READ(sd1refclk_sel); in checkboard()
|
D | cpld.h | 34 #define CPLD_READ(reg) cpld_read(offsetof(struct cpld_data, reg)) macro
|
/external/u-boot/board/freescale/p2041rdb/ |
D | cpld.c | 51 u8 reg5 = CPLD_READ(sw_ctl_on); in __cpld_set_altbank() 73 printf("cpld_ver = 0x%02x\n", CPLD_READ(cpld_ver)); in cpld_dump_regs() 74 printf("cpld_ver_sub = 0x%02x\n", CPLD_READ(cpld_ver_sub)); in cpld_dump_regs() 75 printf("pcba_ver = 0x%02x\n", CPLD_READ(pcba_ver)); in cpld_dump_regs() 76 printf("system_rst = 0x%02x\n", CPLD_READ(system_rst)); in cpld_dump_regs() 77 printf("sw_ctl_on = 0x%02x\n", CPLD_READ(sw_ctl_on)); in cpld_dump_regs() 78 printf("por_cfg = 0x%02x\n", CPLD_READ(por_cfg)); in cpld_dump_regs() 79 printf("switch_strobe = 0x%02x\n", CPLD_READ(switch_strobe)); in cpld_dump_regs() 80 printf("jtag_sel = 0x%02x\n", CPLD_READ(jtag_sel)); in cpld_dump_regs() 81 printf("sdbank1_clk = 0x%02x\n", CPLD_READ(sdbank1_clk)); in cpld_dump_regs() [all …]
|
D | p2041rdb.c | 32 printf("CPLD version: %d.%d ", CPLD_READ(cpld_ver), in checkboard() 33 CPLD_READ(cpld_ver_sub)); in checkboard() 35 sw = CPLD_READ(fbank_sel); in checkboard() 148 u8 sysclk_conf = CPLD_READ(sysclk_sw1); in get_board_sys_clk() 193 if ((i == 1) && (CPLD_READ(cpld_ver_sub) == 1) && in misc_init_r() 194 (CPLD_READ(pcba_ver) == 5)) { in misc_init_r()
|
D | cpld.h | 53 #define CPLD_READ(reg) cpld_read(offsetof(cpld_data_t, reg)) macro
|
D | eth.c | 50 u8 mux = CPLD_READ(serdes_mux); in initialize_lane_to_slot()
|
/external/u-boot/board/freescale/t208xrdb/ |
D | t208xrdb.c | 31 CPLD_READ(hw_ver), CPLD_READ(sw_ver)); in checkboard() 40 reg = CPLD_READ(flash_csr); in checkboard() 106 reg = CPLD_READ(reset_ctl); in misc_init_r()
|
D | cpld.c | 29 u8 reg = CPLD_READ(flash_csr); in cpld_set_altbank() 39 u8 reg = CPLD_READ(flash_csr); in cpld_set_defbank()
|
D | cpld.h | 29 #define CPLD_READ(reg) cpld_read(offsetof(struct cpld_data, reg)) macro
|