OpenOCD
nand_device::blocks
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
nand_device::blocks
nand_device::blocks field
Syntax
from
core.h:60
struct
nand_block
*
blocks
;
References
Location
Referrer
Text
core.h:60
struct
nand_block
*
blocks
;
core.c:239
nand_build_bbt()
nand
->
blocks
[
i
]
.
is_bad
=
1
;
core.c:241
nand_build_bbt()
nand
->
blocks
[
i
]
.
is_bad
=
0
;
core.c:490
nand_probe()
nand
->
blocks
=
malloc
(
sizeof
(
struct
nand_block
)
*
nand
->
num_blocks
)
;
core.c:493
nand_probe()
nand
->
blocks
[
i
]
.
size
=
nand
->
erase_size
;
core.c:494
nand_probe()
nand
->
blocks
[
i
]
.
offset
=
i
*
nand
->
erase_size
;
core.c:495
nand_probe()
nand
->
blocks
[
i
]
.
is_erased
=
-
1
;
core.c:496
nand_probe()
nand
->
blocks
[
i
]
.
is_bad
=
-
1
;
core.c:517
nand_erase()
if
(
nand
->
blocks
[
i
]
.
is_bad
==
-
1
)
{
core.c:571
nand_erase()
(
nand
->
blocks
[
i
]
.
is_bad
==
1
)
core.c:577
nand_erase()
nand
->
blocks
[
i
]
.
is_erased
=
1
;
core.c:671
nand_write_page()
if
(
nand
->
blocks
[
block
]
.
is_erased
==
1
)
core.c:672
nand_write_page()
nand
->
blocks
[
block
]
.
is_erased
=
0
;
tcl.c:98
handle_nand_info_command()
if
(
p
->
blocks
[
j
]
.
is_erased
==
0
)
tcl.c:100
handle_nand_info_command()
else
if
(
p
->
blocks
[
j
]
.
is_erased
==
1
)
tcl.c:105
handle_nand_info_command()
if
(
p
->
blocks
[
j
]
.
is_bad
==
0
)
tcl.c:107
handle_nand_info_command()
else
if
(
p
->
blocks
[
j
]
.
is_bad
==
1
)
tcl.c:115
handle_nand_info_command()
p
->
blocks
[
j
]
.
offset
,
tcl.c:116
handle_nand_info_command()
p
->
blocks
[
j
]
.
size
/
1024
,
Data Use
Functions writing
nand_device::blocks
Functions reading
nand_device::blocks
nand_probe()
all items filtered out
nand_device::blocks
nand_build_bbt()
nand_probe()
nand_erase()
nand_write_page()
handle_nand_info_command()
all items filtered out
Type of
nand_device::blocks
nand_device::blocks
nand_block
all items filtered out