Home
last modified time | relevance | path

Searched refs:this (Results 1 – 25 of 794) sorted by relevance

12345678910>>...32

/rk3399_rockchip-uboot/drivers/mtd/onenand/
H A Donenand_base.c152 static int onenand_block_address(struct onenand_chip *this, int block) in onenand_block_address() argument
155 if (block & this->density_mask) in onenand_block_address()
156 return ONENAND_DDP_CHIP1 | (block ^ this->density_mask); in onenand_block_address()
169 static int onenand_bufferram_address(struct onenand_chip *this, int block) in onenand_bufferram_address() argument
172 if (block & this->density_mask) in onenand_bufferram_address()
229 static unsigned int flexonenand_block(struct onenand_chip *this, loff_t addr) in flexonenand_block() argument
233 if (ONENAND_IS_DDP(this) && addr >= this->diesize[0]) { in flexonenand_block()
235 addr -= this->diesize[0]; in flexonenand_block()
238 boundary = this->boundary[die]; in flexonenand_block()
240 blk = addr >> (this->erase_shift - 1); in flexonenand_block()
[all …]
H A Dsamsung.c119 struct onenand_chip *this = onenand->mtd->priv; in s3c_onenand_readw() local
120 int reg = addr - this->base; in s3c_onenand_readw()
168 struct onenand_chip *this = onenand->mtd->priv; in s3c_onenand_writew() local
169 int reg = addr - this->base; in s3c_onenand_writew()
274 struct onenand_chip *this = mtd->priv; in s3c_onenand_command() local
281 fba = (int) (addr >> this->erase_shift); in s3c_onenand_command()
282 fpa = (int) (addr >> this->page_shift); in s3c_onenand_command()
283 fpa &= this->page_mask; in s3c_onenand_command()
291 ONENAND_SET_NEXT_BUFFERRAM(this); in s3c_onenand_command()
296 index = ONENAND_CURRENT_BUFFERRAM(this); in s3c_onenand_command()
[all …]
H A Donenand_bbt.c65 struct onenand_chip *this = mtd->priv; in create_bbt() local
66 struct bbm_info *bbm = this->bbm; in create_bbt()
86 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt()
120 if (FLEXONENAND(this)) { in create_bbt()
154 struct onenand_chip *this = mtd->priv; in onenand_isbad_bbt() local
155 struct bbm_info *bbm = this->bbm; in onenand_isbad_bbt()
160 block = (int) (onenand_block(this, offs) << 1); in onenand_isbad_bbt()
194 struct onenand_chip *this = mtd->priv; in onenand_scan_bbt() local
195 struct bbm_info *bbm = this->bbm; in onenand_scan_bbt()
198 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()
[all …]
/rk3399_rockchip-uboot/include/linux/mtd/
H A Donenand.h131 #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
141 (this->device_id & ONENAND_DEVICE_IS_DDP)
[all …]
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dnand_bbt.c173 struct nand_chip *this = mtd_to_nand(mtd); in read_bbt() local
183 from = ((loff_t)page) << this->page_shift; in read_bbt()
186 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt()
222 this->bbt_erase_shift); in read_bbt()
223 bbt_mark_entry(this, offs + act, in read_bbt()
234 this->bbt_erase_shift); in read_bbt()
237 bbt_mark_entry(this, offs + act, in read_bbt()
240 bbt_mark_entry(this, offs + act, in read_bbt()
264 struct nand_chip *this = mtd_to_nand(mtd); in read_abs_bbt() local
269 for (i = 0; i < this->numchips; i++) { in read_abs_bbt()
[all …]
H A Dnand_spl_simple.c29 struct nand_chip *this = mtd_to_nand(mtd); in nand_command() local
32 while (!this->dev_ready(mtd)) in nand_command()
36 this->cmd_ctrl(mtd, cmd, NAND_CTRL_CLE | NAND_CTRL_CHANGE); in nand_command()
39 this->cmd_ctrl(mtd, offs, NAND_CTRL_ALE | NAND_CTRL_CHANGE); in nand_command()
40 this->cmd_ctrl(mtd, page_addr & 0xff, NAND_CTRL_ALE); /* A[16:9] */ in nand_command()
41 this->cmd_ctrl(mtd, (page_addr >> 8) & 0xff, in nand_command()
45 this->cmd_ctrl(mtd, (page_addr >> 16) & 0x0f, in nand_command()
49 this->cmd_ctrl(mtd, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE); in nand_command()
54 while (!this->dev_ready(mtd)) in nand_command()
66 struct nand_chip *this = mtd_to_nand(mtd); in nand_command() local
[all …]
H A Dam335x_spl_bch.c33 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()
65 if ((this->options & NAND_BUSWIDTH_16) && !nand_opcode_8bits(cmd)) in nand_command()
123 while (!this->dev_ready(mtd)) in nand_command()
131 struct nand_chip *this = mtd_to_nand(mtd); in nand_is_bad_block() local
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()
[all …]
/rk3399_rockchip-uboot/lib/efi_loader/
H A Defi_net.c37 static efi_status_t EFIAPI efi_net_start(struct efi_simple_network *this) in efi_net_start() argument
39 EFI_ENTRY("%p", this); in efi_net_start()
44 static efi_status_t EFIAPI efi_net_stop(struct efi_simple_network *this) in efi_net_stop() argument
46 EFI_ENTRY("%p", this); in efi_net_stop()
51 static efi_status_t EFIAPI efi_net_initialize(struct efi_simple_network *this, in efi_net_initialize() argument
54 EFI_ENTRY("%p, %lx, %lx", this, extra_rx, extra_tx); in efi_net_initialize()
61 static efi_status_t EFIAPI efi_net_reset(struct efi_simple_network *this, in efi_net_reset() argument
64 EFI_ENTRY("%p, %x", this, extended_verification); in efi_net_reset()
69 static efi_status_t EFIAPI efi_net_shutdown(struct efi_simple_network *this) in efi_net_shutdown() argument
71 EFI_ENTRY("%p", this); in efi_net_shutdown()
[all …]
H A Defi_console.c51 struct efi_console_control_protocol *this, in efi_cin_get_mode() argument
54 EFI_ENTRY("%p, %p, %p, %p", this, mode, uga_exists, std_in_locked); in efi_cin_get_mode()
67 struct efi_console_control_protocol *this, int mode) in efi_cin_set_mode() argument
69 EFI_ENTRY("%p, %d", this, mode); in efi_cin_set_mode()
74 struct efi_console_control_protocol *this, in efi_cin_lock_std_in() argument
77 EFI_ENTRY("%p, %p", this, password); in efi_cin_lock_std_in()
133 struct efi_simple_text_output_protocol *this, in efi_cout_reset() argument
136 EFI_ENTRY("%p, %d", this, extended_verification); in efi_cout_reset()
148 struct efi_simple_text_output_protocol *this, in efi_cout_output_string() argument
155 EFI_ENTRY("%p, %p", this, string); in efi_cout_output_string()
[all …]
H A Defi_disk.c40 static efi_status_t EFIAPI efi_disk_reset(struct efi_block_io *this, in efi_disk_reset() argument
43 EFI_ENTRY("%p, %x", this, extended_verification); in efi_disk_reset()
52 static efi_status_t EFIAPI efi_disk_rw_blocks(struct efi_block_io *this, in efi_disk_rw_blocks() argument
62 diskobj = container_of(this, struct efi_disk_obj, ops); in efi_disk_rw_blocks()
91 static efi_status_t EFIAPI efi_disk_read_blocks(struct efi_block_io *this, in efi_disk_read_blocks() argument
100 r = efi_disk_read_blocks(this, media_id, lba, in efi_disk_read_blocks()
104 return efi_disk_read_blocks(this, media_id, lba + in efi_disk_read_blocks()
105 EFI_LOADER_BOUNCE_BUFFER_SIZE / this->media->block_size, in efi_disk_read_blocks()
113 EFI_ENTRY("%p, %x, %"PRIx64", %lx, %p", this, media_id, lba, in efi_disk_read_blocks()
116 r = efi_disk_rw_blocks(this, media_id, lba, buffer_size, real_buffer, in efi_disk_read_blocks()
[all …]
/rk3399_rockchip-uboot/lib/zlib/
H A Dinftrees.c49 code this; /* table entry for duplication */ in inflate_table() local
114 this.op = (unsigned char)64; /* invalid code marker */ in inflate_table()
115 this.bits = (unsigned char)1; in inflate_table()
116 this.val = (unsigned short)0; in inflate_table()
117 *(*table)++ = this; /* make a table to force an error */ in inflate_table()
118 *(*table)++ = this; in inflate_table()
214 this.bits = (unsigned char)(len - drop); in inflate_table()
216 this.op = (unsigned char)0; in inflate_table()
217 this.val = work[sym]; in inflate_table()
220 this.op = (unsigned char)(extra[work[sym]]); in inflate_table()
[all …]
H A Dinffast.c91 code this; /* retrieved table entry */ in inflate_fast() local
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()
145 "inflate: literal 0x%02x\n", this.val)); in inflate_fast()
146 PUP(out) = (unsigned char)(this.val); 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()
[all …]
H A Dinflate.c339 code this; /* current decoding table entry */ in inflate() local
652 this = state->lencode[BITS(state->lenbits)]; in inflate()
653 if ((unsigned)(this.bits) <= bits) break; in inflate()
656 if (this.val < 16) { in inflate()
657 NEEDBITS(this.bits); in inflate()
658 DROPBITS(this.bits); in inflate()
659 state->lens[state->have++] = this.val; in inflate()
662 if (this.val == 16) { in inflate()
663 NEEDBITS(this.bits + 2); in inflate()
664 DROPBITS(this.bits); in inflate()
[all …]
/rk3399_rockchip-uboot/include/
H A Defi_api.h396 efi_status_t (EFIAPI *reset)(struct efi_block_io *this,
398 efi_status_t (EFIAPI *read_blocks)(struct efi_block_io *this,
401 efi_status_t (EFIAPI *write_blocks)(struct efi_block_io *this,
404 efi_status_t (EFIAPI *flush_blocks)(struct efi_block_io *this);
424 struct efi_simple_text_output_protocol *this,
427 struct efi_simple_text_output_protocol *this,
430 struct efi_simple_text_output_protocol *this,
434 struct efi_simple_text_output_protocol *this,
437 struct efi_simple_text_output_protocol *this,
440 struct efi_simple_text_output_protocol *this);
[all …]
/rk3399_rockchip-uboot/board/samsung/universal_c210/
H A Donenand.c15 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 = s5pc210_chip_probe; in onenand_board_init()
/rk3399_rockchip-uboot/board/samsung/goni/
H A Donenand.c16 struct onenand_chip *this = mtd->priv; in onenand_board_init() local
18 this->base = (void *)CONFIG_SYS_ONENAND_BASE; in onenand_board_init()
19 this->options |= ONENAND_RUNTIME_BADBLOCK_CHECK; in onenand_board_init()
20 this->chip_probe = s5pc110_chip_probe; in onenand_board_init()
/rk3399_rockchip-uboot/drivers/serial/
H A DKconfig24 during serial port initialization (default y). Set this to n on
33 large. In this case the debug UART can still be used in some cases.
43 large. In this case the debug UART can still be used in some cases.
109 - Make sure your UART supports this interface
111 - Enable the CONFIG for your UART to tell it to provide this interface
117 Depending on your platform it may be possible to use this UART before
120 If your UART does not support this interface you can probably add
124 You must not use this UART once driver model is working and the
136 Select this to enable a debug UART using the altera_jtag_uart driver.
137 You will need to provide parameters to make this work. The driver will
[all …]
/rk3399_rockchip-uboot/arch/x86/include/asm/acpi/
H A Dirqlinks.asl20 * PIRQ A/B/C/D/E/F/G/H. To incorperate this file, the PRTx registers must be
35 /* Possible Resource Settings for this Link */
41 /* Current Resource Settings for this link */
59 /* Set Resource Setting for this IRQ link */
93 /* Possible Resource Settings for this Link */
99 /* Current Resource Settings for this link */
117 /* Set Resource Setting for this IRQ link */
151 /* Possible Resource Settings for this Link */
157 /* Current Resource Settings for this link */
175 /* Set Resource Setting for this IRQ link */
[all …]
/rk3399_rockchip-uboot/Licenses/
H A Dibm-pibs.txt2 basis. Anyone receiving this source is licensed under IBM
8 Any user of this software should understand that IBM cannot provide
9 technical support for this software and will not be responsible for
10 any consequences resulting from the use of this software.
12 Any person who transfers this source code or any derivative work
13 must include the IBM copyright notice, this paragraph, and the
/rk3399_rockchip-uboot/board/socrates/
H A Dnand.c51 struct nand_chip *this = mtd_to_nand(mtd); in sc_nand_write_buf() local
54 out_be32(this->IO_ADDR_W, in sc_nand_write_buf()
91 struct nand_chip *this = mtd_to_nand(mtd); in sc_nand_read_buf() local
96 out_be32(this->IO_ADDR_W, val); in sc_nand_read_buf()
98 buf[i] = (in_be32(this->IO_ADDR_R) >> FPGA_NAND_DATA_SHIFT) & 0xff; in sc_nand_read_buf()
108 struct nand_chip *this = mtd_to_nand(mtdinfo); in sc_nand_device_ready() local
110 if (in_be32(this->IO_ADDR_W) & FPGA_NAND_BUSY) in sc_nand_device_ready()
/rk3399_rockchip-uboot/doc/device-tree-bindings/serial/
H A Dsnps-dw-apb-uart.txt19 configuration parameter. Define this if your UART does not implement the busy
22 - reg-shift : quantity to shift the register offsets by. If this property is
25 performed on the device. If this property is not present then single byte
29 register. Define this if your serial port does not use this pin.
32 register. Define this if your serial port does not use this pin.
35 register. Define this if your serial port does not use this pin.
38 Define this if your serial port does not use this pin.
/rk3399_rockchip-uboot/board/xes/common/
H A Dactl_nand.c19 struct nand_chip *this = mtd_to_nand(mtd); in nand_addr_hwcontrol() local
23 IO_ADDR_W = (ulong)this->IO_ADDR_W; in nand_addr_hwcontrol()
35 this->IO_ADDR_W = (void *)IO_ADDR_W; in nand_addr_hwcontrol()
39 writeb(cmd, this->IO_ADDR_W); in nand_addr_hwcontrol()
/rk3399_rockchip-uboot/doc/device-tree-bindings/gpio/
H A Dintel,x86-pinctrl.txt14 - the bit shift in this register (4 = bit 4)
17 'mode-gpio' is set, this property will be ignored.
19 - output-value - (optional) this set the default output value of the GPIO
20 - direction - (optional) this set the direction of the gpio
21 - pull-strength - (optional) this set the pull strength of the pin
22 - pull-assign - (optional) this set the pull assignement (up/down) of the pin
23 - invert - (optional) this input pin is inverted
/rk3399_rockchip-uboot/doc/
H A DI2C_Edge_Conditions11 4) The CPU is reset at this point.
21 3) START "this start is ignored by most EEPROMs"
22 4) device address "EEPROM interprets this as offset"
23 5) Offset in device, "EEPROM interprets this as data to write"
25 The device will interpret this sequence as a WRITE command and
37 board's config file. Note that this is NOT necessary when using the
38 bit-banging I2C driver (common/soft_i2c.c) as this already includes
42 Many thanks to Bill Hunter for finding this serious BUG.
/rk3399_rockchip-uboot/cmd/
H A Donenand.c64 struct onenand_chip *this = mtd->priv; in onenand_block_read() local
65 int blocks = (int) len >> this->erase_shift; in onenand_block_read()
66 int blocksize = (1 << this->erase_shift); in onenand_block_read()
82 (u32)(ofs >> this->erase_shift), (u32)ofs); in onenand_block_read()
135 struct onenand_chip *this = mtd->priv; in onenand_block_write() local
136 int blocks = len >> this->erase_shift; in onenand_block_write()
137 int blocksize = (1 << this->erase_shift); in onenand_block_write()
161 (u32)(ofs >> this->erase_shift), (u32)ofs); in onenand_block_write()
188 struct onenand_chip *this = mtd->priv; in onenand_block_erase() local
194 int blocksize = 1 << this->erase_shift; in onenand_block_erase()
[all …]

12345678910>>...32