/u-boot/drivers/mtd/onenand/ |
A D | onenand_base.c | 236 if (ONENAND_IS_DDP(this) && addr >= this->diesize[0]) { in flexonenand_block() 270 if (ONENAND_IS_DDP(this) && block >= this->density_mask) { in flexonenand_addr() 369 - onenand_addr(this, block)) >> this->page_shift; in onenand_command() 434 this->write_word(cmd, this->base + ONENAND_REG_COMMAND); in onenand_command() 451 ecc = this->read_word(this->base in onenand_read_ecc() 2071 end = this->chipsize >> this->erase_shift; in onenand_check_lock_status() 2124 if (ONENAND_IS_DDP(this) && !FLEXONENAND(this)) { in onenand_unlock_all() 2597 this->technology = this->read_word(this->base + ONENAND_REG_TECHNOLOGY); in onenand_probe() 2609 this->dies = ONENAND_IS_DDP(this) ? 2 : 1; in onenand_probe() 2645 this->ppb_shift = (this->erase_shift - this->page_shift); in onenand_probe() [all …]
|
A D | samsung.c | 119 int reg = addr - this->base; in s3c_onenand_readw() 168 int reg = addr - this->base; in s3c_onenand_writew() 282 fpa &= this->page_mask; in s3c_onenand_command() 304 m += (this->writesize >> 2); in s3c_onenand_command() 383 p += this->writesize; in s3c_get_bufferram() 452 end = this->chipsize >> this->erase_shift; in s3c_onenand_check_lock_status() 483 this->wait(mtd, FL_LOCKING); in s3c_onenand_do_lock_cmd() 490 size_t len = this->chipsize; in s3c_onenand_unlock_all() 501 this->wait(mtd, FL_LOCKING); in s3c_onenand_unlock_all() 510 ofs = this->chipsize >> 1; in s3c_onenand_unlock_all() [all …]
|
A D | onenand_bbt.c | 66 struct onenand_chip *this = mtd->priv; in create_bbt() local 67 struct bbm_info *bbm = this->bbm; in create_bbt() 121 if (FLEXONENAND(this)) { in create_bbt() 155 struct onenand_chip *this = mtd->priv; in onenand_isbad_bbt() local 156 struct bbm_info *bbm = this->bbm; in onenand_isbad_bbt() 195 struct onenand_chip *this = mtd->priv; in onenand_scan_bbt() local 196 struct bbm_info *bbm = this->bbm; in onenand_scan_bbt() 199 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt() 249 struct onenand_chip *this = mtd->priv; in onenand_default_bbt() local 253 if (!this->bbm) in onenand_default_bbt() [all …]
|
/u-boot/include/linux/mtd/ |
A D | onenand.h | 131 #define ONENAND_CURRENT_BUFFERRAM(this) (this->bufferram_index) argument 132 #define ONENAND_NEXT_BUFFERRAM(this) (this->bufferram_index ^ 1) argument 133 #define ONENAND_SET_NEXT_BUFFERRAM(this) (this->bufferram_index ^= 1) argument 134 #define ONENAND_SET_PREV_BUFFERRAM(this) (this->bufferram_index ^= 1) argument 135 #define ONENAND_SET_BUFFERRAM0(this) (this->bufferram_index = 0) argument 136 #define ONENAND_SET_BUFFERRAM1(this) (this->bufferram_index = 1) argument 138 #define FLEXONENAND(this) (this->device_id & DEVICE_IS_FLEXONENAND) argument 139 #define ONENAND_IS_MLC(this) (this->technology & ONENAND_TECHNOLOGY_IS_MLC) argument 140 #define ONENAND_IS_DDP(this) \ argument 143 #define ONENAND_IS_4KB_PAGE(this) \ argument [all …]
|
/u-boot/lib/efi_loader/ |
A D | efi_net.c | 75 EFI_ENTRY("%p", this); in efi_net_start() 78 if (!this) { in efi_net_start() 86 this->int_status = 0; in efi_net_start() 108 EFI_ENTRY("%p", this); in efi_net_stop() 111 if (!this) { in efi_net_stop() 150 if (!this) { in efi_net_initialize() 207 if (!this) { in efi_net_reset() 246 if (!this) { in efi_net_shutdown() 263 this->int_status = 0; in efi_net_shutdown() 446 if (!this) { in efi_net_get_status() [all …]
|
A D | efi_hii_config.c | 26 extract_config(const struct efi_hii_config_routing_protocol *this, in extract_config() argument 37 export_config(const struct efi_hii_config_routing_protocol *this, in export_config() argument 40 EFI_ENTRY("%p, %p", this, results); in export_config() 46 route_config(const struct efi_hii_config_routing_protocol *this, in route_config() argument 50 EFI_ENTRY("%p, \"%ls\", %p", this, configuration, progress); in route_config() 63 EFI_ENTRY("%p, \"%ls\", %p, %zu, %p, %p", this, config_request, in block_to_config() 76 EFI_ENTRY("%p, \"%ls\", %p, %p, %p", this, config_resp, in config_to_block() 92 this, config_resp, guid, name, device_path, in get_alt_config() 118 EFI_ENTRY("%p, \"%ls\", %p", this, configuration, progress); in route_config_access() 124 form_callback(const struct efi_hii_config_access_protocol *this, in form_callback() argument [all …]
|
A D | efi_disk.c | 139 if (!this) in efi_disk_read_blocks() 142 if (media_id != this->media->media_id) in efi_disk_read_blocks() 144 if (!this->media->media_present) in efi_disk_read_blocks() 147 if (this->media->io_align && in efi_disk_read_blocks() 151 (this->media->last_block + 1) * this->media->block_size) in efi_disk_read_blocks() 205 if (!this) in efi_disk_write_blocks() 207 if (this->media->read_only) in efi_disk_write_blocks() 212 if (!this->media->media_present) in efi_disk_write_blocks() 215 if (this->media->io_align && in efi_disk_write_blocks() 219 (this->media->last_block + 1) * this->media->block_size) in efi_disk_write_blocks() [all …]
|
A D | efi_gop.c | 50 if (!this || !size_of_info || !info || mode_number) { in gop_query_mode() 55 gopobj = container_of(this, struct efi_gop_obj, ops); in gop_query_mode() 223 static efi_uintn_t gop_get_bpp(struct efi_gop *this) in gop_get_bpp() argument 257 static efi_status_t gop_blt_video_fill(struct efi_gop *this, in gop_blt_video_fill() argument 334 EFI_ENTRY("%p, %x", this, mode_number); in gop_set_mode() 336 if (!this) { in gop_set_mode() 344 gopobj = container_of(this, struct efi_gop_obj, ops); in gop_set_mode() 345 vid_bpp = gop_get_bpp(this); in gop_set_mode() 383 vid_bpp = gop_get_bpp(this); in gop_blt() 394 ret = gop_blt_buf_to_vid32(this, buffer, operation, sx, in gop_blt() [all …]
|
A D | efi_console.c | 152 EFI_ENTRY("%p, %p", this, string); in efi_cout_output_string() 154 if (!this || !string) { in efi_cout_output_string() 235 EFI_ENTRY("%p, %p", this, string); in efi_cout_test_string() 464 EFI_ENTRY("%p", this); in efi_cout_clear_screen() 555 if (!this) { in efi_cout_set_cursor_position() 590 EFI_ENTRY("%p, %d", this, enable); in efi_cout_enable_cursor() 935 if (!this) { in efi_cin_reset_ex() 967 if (!this || !key_data) { in efi_cin_read_key_stroke_ex() 1153 if (!this) { in efi_cin_reset() 1182 EFI_ENTRY("%p, %p", this, key); in efi_cin_read_key_stroke() [all …]
|
A D | efi_unicode_collation.c | 49 struct efi_unicode_collation_protocol *this, u16 *s1, u16 *s2) in efi_stri_coll() argument 54 EFI_ENTRY("%p, %ls, %ls", this, s1, s2); in efi_stri_coll() 186 static bool EFIAPI efi_metai_match(struct efi_unicode_collation_protocol *this, in efi_metai_match() argument 191 EFI_ENTRY("%p, %ls, %ls", this, string, pattern); in efi_metai_match() 209 static void EFIAPI efi_str_lwr(struct efi_unicode_collation_protocol *this, in efi_str_lwr() argument 212 EFI_ENTRY("%p, %ls", this, string); in efi_str_lwr() 230 static void EFIAPI efi_str_upr(struct efi_unicode_collation_protocol *this, in efi_str_upr() argument 233 EFI_ENTRY("%p, %ls", this, string); in efi_str_upr() 250 static void EFIAPI efi_fat_to_str(struct efi_unicode_collation_protocol *this, in efi_fat_to_str() argument 256 EFI_ENTRY("%p, %zu, %s, %p", this, fat_size, fat, string); in efi_fat_to_str() [all …]
|
A D | efi_file.c | 254 struct file_handle *fh = to_fh(this); in efi_file_open_int() 514 struct file_handle *fh = to_fh(this); in efi_file_read_int() 518 if (!this || !buffer_size || !buffer) in efi_file_read_int() 576 EFI_ENTRY("%p, %p", this, token); in efi_file_read_ex() 676 EFI_ENTRY("%p, %p", this, token); in efi_file_write_ex() 944 if (!this) in efi_file_flush_int() 969 EFI_ENTRY("%p", this); in efi_file_flush() 971 ret = efi_file_flush_int(this); in efi_file_flush() 993 EFI_ENTRY("%p, %p", this, token); in efi_file_flush_ex() 1000 ret = efi_file_flush_int(this); in efi_file_flush_ex() [all …]
|
A D | efi_firmware.c | 41 struct efi_firmware_management_protocol *this, in efi_firmware_get_image_unsupported() argument 54 struct efi_firmware_management_protocol *this, in efi_firmware_check_image_unsupported() argument 69 struct efi_firmware_management_protocol *this, in efi_firmware_get_package_info_unsupported() argument 76 EFI_ENTRY("%p %p %p %p %p %p\n", this, package_version, in efi_firmware_get_package_info_unsupported() 86 struct efi_firmware_management_protocol *this, in efi_firmware_set_package_info_unsupported() argument 243 struct efi_firmware_management_protocol *this, in efi_firmware_fit_get_image_info() argument 254 EFI_ENTRY("%p %p %p %p %p %p %p %p\n", this, in efi_firmware_fit_get_image_info() 294 struct efi_firmware_management_protocol *this, in efi_firmware_fit_set_image() argument 352 struct efi_firmware_management_protocol *this, in efi_firmware_raw_get_image_info() argument 363 EFI_ENTRY("%p %p %p %p %p %p %p %p\n", this, in efi_firmware_raw_get_image_info() [all …]
|
/u-boot/drivers/mtd/nand/raw/ |
A D | nand_spl_simple.c | 28 struct nand_chip *this = mtd_to_nand(mtd); in nand_command() local 31 while (!this->dev_ready(mtd)) in nand_command() 53 while (!this->dev_ready(mtd)) in nand_command() 68 unsigned int ctrl) = this->cmd_ctrl; in nand_command() 70 while (!this->dev_ready(mtd)) in nand_command() 107 while (!this->dev_ready(mtd)) in nand_command() 126 this->read_buf(mtd, bb_data, 2); in nand_is_bad_block() 130 this->read_buf(mtd, bb_data, 1); in nand_is_bad_block() 161 this->ecc.hwctl(mtd, NAND_ECC_READ); in nand_read_page() 162 this->read_buf(mtd, p, eccsize); in nand_read_page() [all …]
|
A D | nand_bbt.c | 275 this->chipsize >> this->bbt_erase_shift, in read_abs_bbt() 279 offs += this->chipsize >> this->bbt_erase_shift; in read_abs_bbt() 480 numblocks = this->chipsize >> this->bbt_erase_shift; in create_bbt() 532 int blocktopage = this->bbt_erase_shift - this->page_shift; in search_bbt() 546 bbtblocks = this->chipsize >> this->bbt_erase_shift; in search_bbt() 574 startblock += this->chipsize >> this->bbt_erase_shift; in search_bbt() 642 numblocks = (int)(this->chipsize >> this->bbt_erase_shift); in write_bbt() 688 (this->bbt_erase_shift - this->page_shift); in write_bbt() 973 nrblocks = (int)(this->chipsize >> this->bbt_erase_shift); in mark_bbt_region() 1054 table_size = this->chipsize >> this->bbt_erase_shift; in verify_bbt_descr() [all …]
|
A D | am335x_spl_bch.c | 33 struct nand_chip *this = mtd_to_nand(mtd); in nand_command() local 36 unsigned int ctrl) = this->cmd_ctrl; in nand_command() 38 while (!this->dev_ready(mtd)) in nand_command() 59 while (!this->dev_ready(mtd)) in nand_command() 123 while (!this->dev_ready(mtd)) in nand_command() 139 if (this->options & NAND_BUSWIDTH_16) { in nand_is_bad_block() 140 if (readw(this->IO_ADDR_R) != 0xffff) in nand_is_bad_block() 143 if (readb(this->IO_ADDR_R) != 0xff) in nand_is_bad_block() 168 this->ecc.hwctl(mtd, NAND_ECC_READ); in nand_read_page() 171 this->read_buf(mtd, p, eccsize); in nand_read_page() [all …]
|
/u-boot/lib/zlib/ |
A D | inftrees.c | 115 this.bits = (unsigned char)1; in inflate_table() 116 this.val = (unsigned short)0; in inflate_table() 118 *(*table)++ = this; in inflate_table() 214 this.op = (unsigned char)0; in inflate_table() 215 this.val = work[sym]; in inflate_table() 218 this.val = base[work[sym] - match]; in inflate_table() 222 this.val = 0; in inflate_table() 292 this.bits = (unsigned char)(len - drop); in inflate_table() 293 this.val = (unsigned short)0; in inflate_table() 300 this.bits = (unsigned char)len; in inflate_table() [all …]
|
A D | inffast.c | 136 this = lcode[hold & lmask]; in inflate_fast() 138 op = (unsigned)(this.bits); in inflate_fast() 141 op = (unsigned)(this.op); in inflate_fast() 143 Tracevv((stderr, this.val >= 0x20 && this.val < 0x7f ? in inflate_fast() 149 len = (unsigned)(this.val); in inflate_fast() 167 this = dcode[hold & dmask]; in inflate_fast() 169 op = (unsigned)(this.bits); in inflate_fast() 172 op = (unsigned)(this.op); in inflate_fast() 174 dist = (unsigned)(this.val); in inflate_fast() 300 this = dcode[this.val + (hold & ((1U << op) - 1))]; in inflate_fast() [all …]
|
/u-boot/lib/efi_selftest/ |
A D | efi_selftest_loadimage.c | 244 if (this != &volume) in open() 256 if (this == &file) in close() 258 else if (this == &volume) in close() 268 if (this != &file) in delete() 277 if (this != &file) in read() 294 if (this != &file) in write() 302 if (this != &file) in getpos() 312 if (this != &file) in setpos() 324 if (this == &file) { in getinfo() 355 if (this != &file) in setinfo() [all …]
|
/u-boot/include/ |
A D | efi_api.h | 1528 struct efi_pxe_base_code_protocol *this, 1532 struct efi_pxe_base_code_protocol *this, 1539 struct efi_pxe_base_code_protocol *this, 1547 struct efi_pxe_base_code_protocol *this, 1554 struct efi_pxe_base_code_protocol *this, 1560 struct efi_pxe_base_code_protocol *this, 1565 struct efi_pxe_base_code_protocol *this, 1569 struct efi_pxe_base_code_protocol *this, 1689 struct efi_driver_binding_protocol *this, 1693 struct efi_driver_binding_protocol *this, [all …]
|
A D | efi_tcg2.h | 137 efi_status_t (EFIAPI * get_capability)(struct efi_tcg2_protocol *this, 139 efi_status_t (EFIAPI * get_eventlog)(struct efi_tcg2_protocol *this, 143 efi_status_t (EFIAPI * hash_log_extend_event)(struct efi_tcg2_protocol *this, 148 efi_status_t (EFIAPI * submit_command)(struct efi_tcg2_protocol *this, 153 efi_status_t (EFIAPI * get_active_pcr_banks)(struct efi_tcg2_protocol *this, 155 efi_status_t (EFIAPI * set_active_pcr_banks)(struct efi_tcg2_protocol *this, 157 efi_status_t (EFIAPI * get_result_of_set_active_pcr_banks)(struct efi_tcg2_protocol *this,
|
/u-boot/drivers/clk/renesas/ |
A D | Kconfig | 12 Enable this to support the clocks on Renesas RCar Gen2 SoC. 18 Enable this to support the clocks on Renesas R8A7790 SoC. 24 Enable this to support the clocks on Renesas R8A7791 SoC. 30 Enable this to support the clocks on Renesas R8A7792 SoC. 36 Enable this to support the clocks on Renesas R8A7793 SoC. 42 Enable this to support the clocks on Renesas R8A7794 SoC. 49 Enable this to support the clocks on Renesas RCar Gen3 SoC. 62 Enable this to support the clocks on Renesas R8A774B1 SoC. 68 Enable this to support the clocks on Renesas R8A774C0 SoC. 80 Enable this to support the clocks on Renesas R8A7795 SoC. [all …]
|
/u-boot/board/samsung/goni/ |
A D | onenand.c | 15 struct onenand_chip *this = mtd->priv; in onenand_board_init() local 17 this->base = (void *)CONFIG_SYS_ONENAND_BASE; in onenand_board_init() 18 this->options |= ONENAND_RUNTIME_BADBLOCK_CHECK; in onenand_board_init() 19 this->chip_probe = s5pc110_chip_probe; in onenand_board_init()
|
/u-boot/board/samsung/universal_c210/ |
A D | onenand.c | 14 struct onenand_chip *this = mtd->priv; in onenand_board_init() local 16 this->base = (void *)CONFIG_SYS_ONENAND_BASE; in onenand_board_init() 17 this->options |= ONENAND_RUNTIME_BADBLOCK_CHECK; in onenand_board_init() 18 this->chip_probe = s5pc210_chip_probe; in onenand_board_init()
|
/u-boot/lib/efi_driver/ |
A D | efi_uclass.c | 62 struct efi_driver_binding_protocol *this, in efi_uc_supported() argument 69 (struct efi_driver_binding_extended_protocol *)this; in efi_uc_supported() 71 EFI_ENTRY("%p, %p, %ls", this, controller_handle, in efi_uc_supported() 76 &interface, this->driver_binding_handle, in efi_uc_supported() 93 this->driver_binding_handle, in efi_uc_supported() 110 struct efi_driver_binding_protocol *this, in efi_uc_start() argument 119 EFI_ENTRY("%p, %p, %ls", this, controller_handle, in efi_uc_start() 125 &interface, this->driver_binding_handle, in efi_uc_start() 141 this->driver_binding_handle, in efi_uc_start() 196 struct efi_driver_binding_protocol *this, in efi_uc_stop() argument [all …]
|
/u-boot/drivers/serial/ |
A D | Kconfig | 98 Set this to match the UART number of the serial console. 144 With this option set, we make probing and searching for 182 - Make sure your UART supports this interface 252 Select this to enable a debug UART on BCM6345 SoCs. You 389 You will need to provide parameters to make this work. 588 Select this to enable UART on BCM6345 SoCs. 695 Select this to enable a UART for Intel MID platforms. 730 Select this to enable Samsung S5P UART support. 766 serial ports, say Y to this option. If unsure, say N. 798 port, say Y to this option. If unsure say N. [all …]
|