/u-boot/include/ |
A D | pxa_lcd.h | 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 */ 64 u_char vl_tft; /* 0 = passive, 1 = TFT */ 68 u_char vl_blw; /* Wait before of line */ 69 u_char vl_elw; /* Wait end of line */ 72 u_char vl_vpw; /* Vertical sync pulse width */ 73 u_char vl_bfw; /* Wait before of frame */ [all …]
|
A D | exynos_lcd.h | 32 u_char vl_freq; /* Frequency */ 33 u_char vl_clkp; /* Clock polarity */ 34 u_char vl_oep; /* Output Enable polarity */ 36 u_char vl_vsp; /* Vertical Sync polarity */ 37 u_char vl_dp; /* Data polarity */ 38 u_char vl_bpix; /* Bits per pixel */ 41 u_char vl_hspw; /* Horz sync pulse width */ 42 u_char vl_hfpd; /* Wait before of line */ 43 u_char vl_hbpd; /* Wait end of line */ 47 u_char vl_vfpd; /* Wait before of frame */ [all …]
|
A D | nand.h | 48 u_char *buf) in nand_read() 54 u_char *buf) in nand_write() 101 size_t *actual, loff_t lim, u_char *buffer); 107 size_t *actual, loff_t lim, u_char *buffer, int flags); 113 int nand_verify(struct mtd_info *mtd, loff_t ofs, size_t len, u_char *buf);
|
A D | onenand_uboot.h | 34 size_t * retlen, u_char * buf); 37 size_t * retlen, const u_char * buf);
|
/u-boot/arch/powerpc/include/asm/ |
A D | immap_8xx.h | 344 u_char res1[2]; 346 u_char res2; 347 u_char cp_rmds; 348 u_char res3[4]; 353 u_char res4[2]; 355 u_char res5[2]; 377 u_char res7[4]; 378 u_char cp_spie; 379 u_char res8[3]; 380 u_char cp_spim; [all …]
|
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]; 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 */ 321 u_char scc_tfcr; /* Tx function code */ [all …]
|
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 */ 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 */ 635 u_char spi_tfcr; /* Tx function code */ [all …]
|
A D | immap_86xx.h | 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 */ 116 u_char ulcr2; /* 0x4603 - UART2 Line Control Register */ 118 u_char ulsr2; /* 0x4605 - UART2 Line Status Register */ 119 u_char umsr2; /* 0x4606 - UART2 Modem Status Register */ 120 u_char uscr2; /* 0x4607 - UART2 Scratch Register */ [all …]
|
/u-boot/board/freescale/common/ |
A D | cadmus.c | 18 u_char cm_ver; /* Board version */ 19 u_char cm_csr; /* General control/status */ 20 u_char cm_rst; /* Reset control */ 21 u_char cm_hsclk; /* High speed clock */ 22 u_char cm_hsxclk; /* High speed clock extended */ 23 u_char cm_led; /* LED data */ 24 u_char cm_pci; /* PCI control/status */ 25 u_char cm_dma; /* DMA control */ 26 u_char cm_reserved[248]; /* Total 256 bytes */
|
/u-boot/include/linux/mtd/ |
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()
|
A D | nand_ecc.h | 20 int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code); 25 int nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc);
|
A D | mtd.h | 56 u_char state; 152 u_char type; 244 size_t *retlen, u_char *buf); 246 size_t *retlen, const u_char *buf); 248 size_t *retlen, const u_char *buf); 408 u_char *buf); 410 const u_char *buf); 412 const u_char *buf); 420 size_t *retlen, u_char *buf); 424 size_t *retlen, u_char *buf); [all …]
|
/u-boot/board/socrates/ |
A D | nand.c | 15 static void sc_nand_write_byte(struct mtd_info *mtd, u_char byte); 16 static void sc_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len); 17 static u_char sc_nand_read_byte(struct mtd_info *mtd); 19 static void sc_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len); 36 static void sc_nand_write_byte(struct mtd_info *mtd, u_char byte) in sc_nand_write_byte() 47 static void sc_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in sc_nand_write_buf() 63 static u_char sc_nand_read_byte(struct mtd_info *mtd) in sc_nand_read_byte() 87 static void sc_nand_read_buf(struct mtd_info *mtd, u_char *buf, int len) in sc_nand_read_buf()
|
/u-boot/drivers/mtd/nand/raw/ |
A D | fsmc_nand.c | 194 u_char *read_ecc, u_char *calc_ecc) in fsmc_bch8_correct_data() 261 const u_char *data, u_char *ecc) in fsmc_read_hwecc() 280 ecc[0] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc() 281 ecc[1] = (u_char) (ecc_tmp >> 8); in fsmc_read_hwecc() 282 ecc[2] = (u_char) (ecc_tmp >> 16); in fsmc_read_hwecc() 286 ecc[4] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc() 287 ecc[5] = (u_char) (ecc_tmp >> 8); in fsmc_read_hwecc() 292 ecc[8] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc() 293 ecc[9] = (u_char) (ecc_tmp >> 8); in fsmc_read_hwecc() 303 ecc[0] = (u_char) (ecc_tmp >> 0); in fsmc_read_hwecc() [all …]
|
A D | nand_ecc.c | 40 static const u_char nand_ecc_precalc_table[] = { 65 int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, in nand_calculate_ecc() 66 u_char *ecc_code) in nand_calculate_ecc() 133 int nand_correct_data(struct mtd_info *mtd, u_char *dat, in nand_correct_data() 134 u_char *read_ecc, u_char *calc_ecc) in nand_correct_data()
|
A D | nand_spl_simple.c | 117 u_char bb_data[2]; in nand_is_bad_block() 142 u_char ecc_calc[ECCTOTAL]; in nand_read_page() 143 u_char ecc_code[ECCTOTAL]; in nand_read_page() 144 u_char oob_data[CONFIG_SYS_NAND_OOBSIZE]; in nand_read_page() 173 u_char ecc_calc[ECCTOTAL]; in nand_read_page() 174 u_char ecc_code[ECCTOTAL]; in nand_read_page() 175 u_char oob_data[CONFIG_SYS_NAND_OOBSIZE]; in nand_read_page()
|
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()
|
A D | nand_util.c | 445 static size_t drop_ffs(const struct mtd_info *mtd, const u_char *buf, in drop_ffs() 521 int nand_verify(struct mtd_info *mtd, loff_t ofs, size_t len, u_char *buf) in nand_verify() 575 size_t *actual, loff_t lim, u_char *buffer, int flags) in nand_write_skip_bad() 580 u_char *p_buffer = buffer; in nand_write_skip_bad() 709 size_t *actual, loff_t lim, u_char *buffer) in nand_read_skip_bad() 714 u_char *p_buffer = buffer; in nand_read_skip_bad() 800 static int check_pattern(const u_char *buf, u_char patt, int size) in check_pattern() 823 u_char patterns[] = {0xa5, 0x5a, 0x00}; in nand_torture() 831 u_char *buf; in nand_torture()
|
A D | am335x_spl_bch.c | 153 u_char ecc_calc[ECCTOTAL]; in nand_read_page() 154 u_char ecc_code[ECCTOTAL]; in nand_read_page() 155 u_char oob_data[CONFIG_SYS_NAND_OOBSIZE]; in nand_read_page()
|
/u-boot/env/ |
A D | nand.c | 122 static int writeenv(size_t offset, u_char *buf) in writeenv() 128 u_char *char_ptr; in writeenv() 161 u_char *env_new) in erase_and_write_env() 217 ret = erase_and_write_env(&location[env_idx], (u_char *)env_new); in env_nand_save() 227 ret = erase_and_write_env(&location[env_idx], (u_char *)env_new); in env_nand_save() 238 static int readenv(size_t offset, u_char *buf) in readenv() 243 static int readenv(size_t offset, u_char *buf) in readenv() 249 u_char *char_ptr; in readenv() 331 read1_fail = readenv(CONFIG_ENV_OFFSET, (u_char *) tmp_env1); in env_nand_load() 332 read2_fail = readenv(CONFIG_ENV_OFFSET_REDUND, (u_char *) tmp_env2); in env_nand_load() [all …]
|
A D | onenand.c | 54 &retlen, (u_char *)buf); in env_onenand_load() 101 (u_char *)&env_new)) { in env_onenand_save()
|
/u-boot/drivers/video/exynos/ |
A D | exynos_fb.c | 55 u_char vl_freq; /* Frequency */ 56 u_char vl_clkp; /* Clock polarity */ 57 u_char vl_oep; /* Output Enable polarity */ 59 u_char vl_vsp; /* Vertical Sync polarity */ 60 u_char vl_dp; /* Data polarity */ 61 u_char vl_bpix; /* Bits per pixel */ 64 u_char vl_hspw; /* Horz sync pulse width */ 65 u_char vl_hfpd; /* Wait before of line */ 66 u_char vl_hbpd; /* Wait end of line */ 70 u_char vl_vfpd; /* Wait before of frame */ [all …]
|
/u-boot/drivers/mtd/ |
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() 82 size_t *retlen, const u_char *buf) in cfi_mtd_write() 89 error = write_buff(fi, (u_char*)buf, t, len); in cfi_mtd_write()
|
/u-boot/cmd/ |
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()
|
/u-boot/drivers/mtd/spi/ |
A D | sf_mtd.c | 41 size_t *retlen, u_char *buf) in spi_flash_mtd_read() 57 size_t *retlen, const u_char *buf) in spi_flash_mtd_write()
|