| /rk3399_rockchip-uboot/include/ |
| H A D | pxa_lcd.h | 56 u_char vl_clkp; /* Clock polarity */ 57 u_char vl_oep; /* Output Enable polarity */ 58 u_char vl_hsp; /* Horizontal Sync polarity */ 59 u_char vl_vsp; /* Vertical Sync polarity */ 60 u_char vl_dp; /* Data polarity */ 61 u_char vl_bpix;/* Bits per pixel, 0 = 1, 1 = 2, 2 = 4, 3 = 8, 4 = 16 */ 62 u_char vl_lbw; /* LCD Bus width, 0 = 4, 1 = 8 */ 63 u_char vl_splt;/* Split display, 0 = single-scan, 1 = dual-scan */ 64 u_char vl_clor; /* Color, 0 = mono, 1 = color */ 65 u_char vl_tft; /* 0 = passive, 1 = TFT */ [all …]
|
| H A D | exynos_lcd.h | 33 u_char vl_freq; /* Frequency */ 34 u_char vl_clkp; /* Clock polarity */ 35 u_char vl_oep; /* Output Enable polarity */ 36 u_char vl_hsp; /* Horizontal Sync polarity */ 37 u_char vl_vsp; /* Vertical Sync polarity */ 38 u_char vl_dp; /* Data polarity */ 39 u_char vl_bpix; /* Bits per pixel */ 42 u_char vl_hspw; /* Horz sync pulse width */ 43 u_char vl_hfpd; /* Wait before of line */ 44 u_char vl_hbpd; /* Wait end of line */ [all …]
|
| H A D | ps2mult.h | 32 extern u_char ps2mult_read_input(void); 33 extern u_char ps2mult_read_status(void); 34 extern void ps2mult_write_output(u_char val); 35 extern void ps2mult_write_command(u_char val);
|
| H A D | nand.h | 49 u_char *buf) in nand_read() 55 u_char *buf) in nand_write() 102 size_t *actual, loff_t lim, u_char *buffer); 108 size_t *actual, loff_t lim, u_char *buffer, int flags); 114 int nand_verify(struct mtd_info *mtd, loff_t ofs, size_t len, u_char *buf);
|
| H A D | onenand_uboot.h | 34 size_t * retlen, u_char * buf); 37 size_t * retlen, const u_char * buf);
|
| /rk3399_rockchip-uboot/arch/powerpc/include/asm/ |
| H A D | immap_8xx.h | 181 u_char i2c_i2mod; 183 u_char i2c_i2add; 185 u_char i2c_i2brg; 187 u_char i2c_i2com; 189 u_char i2c_i2cer; 191 u_char i2c_i2cmr; 200 u_char sdma_sdsr; 202 u_char sdma_sdmr; 204 u_char sdma_idsr1; 206 u_char sdma_idmr1; [all …]
|
| H A D | cpm_8xx.h | 110 u_char smc_rfcr; /* Rx function code */ 111 u_char smc_tfcr; /* Tx function code */ 129 u_char res1[8]; 135 #define SMC_EB ((u_char)0x10) /* Set big endian byte order */ 162 u_char scent_cfcr; 163 u_char scent_smask; 191 #define SMC_CENT_F ((u_char)0x08) 192 #define SMC_CENT_PE ((u_char)0x04) 193 #define SMC_CENT_S ((u_char)0x02) 320 u_char scc_rfcr; /* Rx function code */ [all …]
|
| H A D | immap_86xx.h | 102 u_char urbr1_uthr1_udlb1;/* 0x4500 - URBR1, UTHR1, UDLB1 with the same address offset of 0x04500 */ 103 u_char uier1_udmb1; /* 0x4501 - UIER1, UDMB1 with the same address offset of 0x04501 */ 104 u_char uiir1_ufcr1_uafr1;/* 0x4502 - UIIR1, UFCR1, UAFR1 with the same address offset of 0x04502 */ 105 u_char ulcr1; /* 0x4503 - UART1 Line Control Register */ 106 u_char umcr1; /* 0x4504 - UART1 Modem Control Register */ 107 u_char ulsr1; /* 0x4505 - UART1 Line Status Register */ 108 u_char umsr1; /* 0x4506 - UART1 Modem Status Register */ 109 u_char uscr1; /* 0x4507 - UART1 Scratch Register */ 111 u_char udsr1; /* 0x4510 - UART1 DMA Status Register */ 113 u_char urbr2_uthr2_udlb2;/* 0x4600 - URBR2, UTHR2, UDLB2 with the same address offset of 0x04600 */ [all …]
|
| H A D | cpm_85xx.h | 128 #define CPMFCR_GBL ((u_char)0x20) /* Set memory snooping */ 129 #define CPMFCR_EB ((u_char)0x10) /* Set big endian byte order */ 130 #define CPMFCR_TC2 ((u_char)0x04) /* Transfer code 2 value */ 131 #define CPMFCR_DTB ((u_char)0x02) /* Use local bus for data when set */ 132 #define CPMFCR_BDB ((u_char)0x01) /* Use local bus for BD when set */ 257 u_char scc_rfcr; /* Rx function code */ 258 u_char scc_tfcr; /* Tx function code */ 614 u_char iic_rfcr; /* Rx function code */ 615 u_char iic_tfcr; /* Tx function code */ 634 u_char spi_rfcr; /* Rx function code */ [all …]
|
| /rk3399_rockchip-uboot/board/freescale/common/ |
| H A D | cadmus.c | 19 u_char cm_ver; /* Board version */ 20 u_char cm_csr; /* General control/status */ 21 u_char cm_rst; /* Reset control */ 22 u_char cm_hsclk; /* High speed clock */ 23 u_char cm_hsxclk; /* High speed clock extended */ 24 u_char cm_led; /* LED data */ 25 u_char cm_pci; /* PCI control/status */ 26 u_char cm_dma; /* DMA control */ 27 u_char cm_reserved[248]; /* Total 256 bytes */
|
| /rk3399_rockchip-uboot/include/linux/mtd/ |
| H A D | nand_bch.h | 24 int nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat, 25 u_char *ecc_code); 30 int nand_bch_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, 31 u_char *calc_ecc); 46 nand_bch_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in nand_bch_calculate_ecc() 47 u_char *ecc_code) in nand_bch_calculate_ecc()
|
| H A D | nand_ecc.h | 21 int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code); 26 int nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc);
|
| H A D | mtd.h | 57 u_char state; 157 u_char type; 249 size_t *retlen, u_char *buf); 251 size_t *retlen, const u_char *buf); 253 size_t *retlen, const u_char *buf); 261 size_t len, size_t *retlen, u_char *buf); 265 size_t len, size_t *retlen, u_char *buf); 267 size_t len, size_t *retlen, u_char *buf); 414 u_char *buf); 416 const u_char *buf); [all …]
|
| /rk3399_rockchip-uboot/drivers/input/ |
| H A D | ps2mult.c | 53 static u_char command_byte = 0; 57 static u_char ps2mult_buf [PS2BUF_SIZE]; 62 static u_char ps2mult_buf_status [PS2BUF_SIZE]; 72 static void ps2mult_send_byte(u_char byte, u_char sel) in ps2mult_send_byte() 100 static void ps2mult_receive_byte(u_char byte, u_char sel) in ps2mult_receive_byte() 102 u_char status = KBD_STAT_DEFAULT; in ps2mult_receive_byte() 152 u_char byte; in ps2mult_callback() 203 u_char ps2mult_read_status(void) in ps2mult_read_status() 205 u_char byte; in ps2mult_read_status() 220 u_char ps2mult_read_input(void) in ps2mult_read_input() [all …]
|
| /rk3399_rockchip-uboot/board/socrates/ |
| H A D | nand.c | 16 static void sc_nand_write_byte(struct mtd_info *mtd, u_char byte); 17 static void sc_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len); 18 static u_char sc_nand_read_byte(struct mtd_info *mtd); 20 static void sc_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len); 37 static void sc_nand_write_byte(struct mtd_info *mtd, u_char byte) in sc_nand_write_byte() 48 static void sc_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in sc_nand_write_buf() 64 static u_char sc_nand_read_byte(struct mtd_info *mtd) in sc_nand_read_byte() 88 static void sc_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in sc_nand_read_buf()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | fsmc_nand.c | 194 static int fsmc_bch8_correct_data(struct mtd_info *mtd, u_char *dat, in fsmc_bch8_correct_data() 195 u_char *read_ecc, u_char *calc_ecc) in fsmc_bch8_correct_data() 262 const u_char *data, u_char *ecc) in fsmc_read_hwecc() 281 ecc[0] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc() 282 ecc[1] = (u_char) (ecc_tmp >> 8); in fsmc_read_hwecc() 283 ecc[2] = (u_char) (ecc_tmp >> 16); in fsmc_read_hwecc() 284 ecc[3] = (u_char) (ecc_tmp >> 24); in fsmc_read_hwecc() 287 ecc[4] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc() 288 ecc[5] = (u_char) (ecc_tmp >> 8); in fsmc_read_hwecc() 289 ecc[6] = (u_char) (ecc_tmp >> 16); in fsmc_read_hwecc() [all …]
|
| H A D | nand_ecc.c | 41 static const u_char nand_ecc_precalc_table[] = { 66 int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in nand_calculate_ecc() 67 u_char *ecc_code) in nand_calculate_ecc() 134 int nand_correct_data(struct mtd_info *mtd, u_char *dat, in nand_correct_data() 135 u_char *read_ecc, u_char *calc_ecc) in nand_correct_data()
|
| H A D | nand_spl_simple.c | 118 u_char bb_data[2]; in nand_is_bad_block() 143 u_char ecc_calc[ECCTOTAL]; in nand_read_page() 144 u_char ecc_code[ECCTOTAL]; in nand_read_page() 145 u_char oob_data[CONFIG_SYS_NAND_OOBSIZE]; in nand_read_page() 174 u_char ecc_calc[ECCTOTAL]; in nand_read_page() 175 u_char ecc_code[ECCTOTAL]; in nand_read_page() 176 u_char oob_data[CONFIG_SYS_NAND_OOBSIZE]; in nand_read_page()
|
| H A D | kmeter1_nand.c | 74 static u_char kpn_nand_read_byte(struct mtd_info *mtd) in kpn_nand_read_byte() 79 static void kpn_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in kpn_nand_write_buf() 89 static void kpn_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in kpn_nand_read_buf()
|
| H A D | nand_util.c | 443 static size_t drop_ffs(const struct mtd_info *mtd, const u_char *buf, in drop_ffs() 519 int nand_verify(struct mtd_info *mtd, loff_t ofs, size_t len, u_char *buf) in nand_verify() 573 size_t *actual, loff_t lim, u_char *buffer, int flags) in nand_write_skip_bad() 578 u_char *p_buffer = buffer; in nand_write_skip_bad() 707 size_t *actual, loff_t lim, u_char *buffer) in nand_read_skip_bad() 712 u_char *p_buffer = buffer; in nand_read_skip_bad() 790 static int check_pattern(const u_char *buf, u_char patt, int size) in check_pattern() 813 u_char patterns[] = {0xa5, 0x5a, 0x00}; in nand_torture() 821 u_char *buf; in nand_torture()
|
| /rk3399_rockchip-uboot/env/ |
| H A D | nand.c | 127 static int writeenv(size_t offset, u_char *buf) in writeenv() 133 u_char *char_ptr; in writeenv() 166 u_char *env_new) in erase_and_write_env() 222 ret = erase_and_write_env(&location[env_idx], (u_char *)env_new); in env_nand_save() 232 ret = erase_and_write_env(&location[env_idx], (u_char *)env_new); in env_nand_save() 243 static int readenv(size_t offset, u_char *buf) in readenv() 248 static int readenv(size_t offset, u_char *buf) in readenv() 254 u_char *char_ptr; in readenv() 336 read1_fail = readenv(CONFIG_ENV_OFFSET, (u_char *) tmp_env1); in env_nand_load() 337 read2_fail = readenv(CONFIG_ENV_OFFSET_REDUND, (u_char *) tmp_env2); in env_nand_load() [all …]
|
| /rk3399_rockchip-uboot/drivers/video/exynos/ |
| H A D | exynos_fb.c | 54 u_char vl_freq; /* Frequency */ 55 u_char vl_clkp; /* Clock polarity */ 56 u_char vl_oep; /* Output Enable polarity */ 57 u_char vl_hsp; /* Horizontal Sync polarity */ 58 u_char vl_vsp; /* Vertical Sync polarity */ 59 u_char vl_dp; /* Data polarity */ 60 u_char vl_bpix; /* Bits per pixel */ 63 u_char vl_hspw; /* Horz sync pulse width */ 64 u_char vl_hfpd; /* Wait before of line */ 65 u_char vl_hbpd; /* Wait end of line */ [all …]
|
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | cfi_mtd.c | 69 size_t *retlen, u_char *buf) in cfi_mtd_read() 72 u_char *f = (u_char*)(fi->start[0]) + from; in cfi_mtd_read() 81 size_t *retlen, const u_char *buf) in cfi_mtd_write() 88 error = write_buff(fi, (u_char*)buf, t, len); in cfi_mtd_write()
|
| H A D | mtd_blk.c | 185 loff_t lim, u_char *buffer) in mtd_map_read() 188 u_char *p_buffer = buffer; in mtd_map_read() 244 loff_t lim, u_char *buffer, int flags) in mtd_map_write() 248 u_char *p_buffer = buffer; in mtd_map_write() 518 (u_char *)(dst)); in mtd_dread() 530 &retlen_nand, (u_char *)(dst)); in mtd_dread() 538 (u_char *)(dst)); in mtd_dread() 542 (u_char *)(dst)); in mtd_dread() 609 (u_char *)(src), 0); in mtd_dwrite() 633 (u_char *)(p_buf)); in mtd_dwrite() [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | onenand.c | 62 size_t *retlen, u_char *buf, int oob) in onenand_block_read() 108 static int onenand_write_oneblock_withoob(loff_t to, const u_char * buf, in onenand_write_oneblock_withoob() 118 ops.datbuf = (u_char *)buf; in onenand_write_oneblock_withoob() 120 ops.oobbuf = (u_char *)buf; in onenand_write_oneblock_withoob() 133 size_t *retlen, const u_char * buf, int withoob) in onenand_block_write() 232 u_char *buf; in onenand_block_test() 233 u_char *verify_buf; in onenand_block_test() 308 u_char *datbuf, *oobbuf, *p; in onenand_dump()
|