OpenOCD
stmqspi_flash_bank::saved_ccr
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
stmqspi_flash_bank::saved_ccr
stmqspi_flash_bank::saved_ccr field
Syntax
from
stmqspi.c:169
uint32_t
saved_ccr
;
References
Location
Referrer
Text
stmqspi.c:169
uint32_t
saved_ccr
;
/* different meaning for QUADSPI and OCTOSPI */
stmqspi.c:191
octospi_cmd()
(
(
OPI_MODE
&&
(
mode
==
OCTOSPI_READ_MODE
)
)
?
stmqspi.c:192
octospi_cmd()
(
OPI_DUMMY
<
<
OCTOSPI_DCYC_POS
)
:
0
)
)
;
stmqspi.c:202
octospi_cmd()
return
target_write_u32
(
target
,
io_base
+
OCTOSPI_IR
,
OPI_CMD
(
ir
)
)
;
stmqspi.c:305
set_mm_mode()
stmqspi_info
->
saved_ccr
)
;
stmqspi.c:317
set_mm_mode()
stmqspi_info
->
saved_ccr
)
;
stmqspi.c:350
read_status_reg()
retval
=
octospi_cmd
(
bank
,
OCTOSPI_READ_MODE
,
OCTOSPI_CCR_READ_STATUS
,
stmqspi.c:352
read_status_reg()
if
(
OPI_MODE
)
{
stmqspi.c:359
read_status_reg()
retval
=
target_write_u32
(
target
,
io_base
+
QSPI_CCR
,
QSPI_CCR_READ_STATUS
)
;
stmqspi.c:439
qspi_write_enable()
retval
=
octospi_cmd
(
bank
,
OCTOSPI_WRITE_MODE
,
OCTOSPI_CCR_WRITE_ENABLE
,
stmqspi.c:441
qspi_write_enable()
if
(
OPI_MODE
)
{
stmqspi.c:448
qspi_write_enable()
retval
=
target_write_u32
(
target
,
io_base
+
QSPI_CCR
,
QSPI_CCR_WRITE_ENABLE
)
;
stmqspi.c:539
stmqspi_handle_mass_erase_command()
retval
=
octospi_cmd
(
bank
,
OCTOSPI_WRITE_MODE
,
OCTOSPI_CCR_MASS_ERASE
,
stmqspi.c:542
stmqspi_handle_mass_erase_command()
retval
=
target_write_u32
(
target
,
io_base
+
QSPI_CCR
,
QSPI_CCR_MASS_ERASE
)
;
stmqspi.c:851
stmqspi_handle_cmd()
(
OCTOSPI_MODE_CCR
&
OCTOSPI_NO_ALTB
&
OCTOSPI_NO_ADDR
&
stmqspi.c:855
stmqspi_handle_cmd()
(
QSPI_MODE
&
~
QSPI_DCYC_MASK
&
QSPI_NO_ALTB
&
QSPI_NO_ADDR
&
stmqspi.c:888
stmqspi_handle_cmd()
(
OCTOSPI_MODE_CCR
&
OCTOSPI_NO_DDTR
&
OCTOSPI_NO_ALTB
&
~
OCTOSPI_ADDR4
&
stmqspi.c:893
stmqspi_handle_cmd()
(
QSPI_MODE
&
~
QSPI_DCYC_MASK
&
QSPI_NO_ALTB
&
~
QSPI_ADDR4
&
stmqspi.c:938
qspi_erase_sector()
retval
=
octospi_cmd
(
bank
,
OCTOSPI_WRITE_MODE
,
OCTOSPI_CCR_SECTOR_ERASE
,
stmqspi.c:941
qspi_erase_sector()
retval
=
target_write_u32
(
target
,
io_base
+
QSPI_CCR
,
QSPI_CCR_SECTOR_ERASE
)
;
stmqspi.c:1125
stmqspi_blank_check()
h_to_le_32
(
IS_OCTOSPI
?
OCTOSPI_CCR_READ
:
QSPI_CCR_READ
)
,
stmqspi.c:1292
qspi_verify()
h_to_le_32
(
IS_OCTOSPI
?
OCTOSPI_CCR_READ
:
QSPI_CCR_READ
)
,
stmqspi.c:1415
qspi_read_write_block()
h_to_le_32
(
IS_OCTOSPI
?
OCTOSPI_CCR_READ_STATUS
:
QSPI_CCR_READ_STATUS
)
,
stmqspi.c:1417
qspi_read_write_block()
(
OPI_MODE
?
(
OPI_DUMMY
<
<
OCTOSPI_DCYC_POS
)
:
0
)
)
,
stmqspi.c:1418
qspi_read_write_block()
h_to_le_32
(
OPI_CMD
(
SPIFLASH_READ_STATUS
)
)
,
stmqspi.c:1422
qspi_read_write_block()
h_to_le_32
(
IS_OCTOSPI
?
OCTOSPI_CCR_WRITE_ENABLE
:
QSPI_CCR_WRITE_ENABLE
)
,
stmqspi.c:1424
qspi_read_write_block()
h_to_le_32
(
OPI_CMD
(
SPIFLASH_WRITE_ENABLE
)
)
,
stmqspi.c:1428
qspi_read_write_block()
h_to_le_32
(
write
?
(
IS_OCTOSPI
?
OCTOSPI_CCR_PAGE_PROG
:
QSPI_CCR_PAGE_PROG
)
:
stmqspi.c:1429
qspi_read_write_block()
(
IS_OCTOSPI
?
OCTOSPI_CCR_READ
:
QSPI_CCR_READ
)
)
,
stmqspi.c:1432
qspi_read_write_block()
h_to_le_32
(
write
?
OPI_CMD
(
stmqspi_info
->
dev
.
pprog_cmd
)
:
stmqspi_info
->
saved_ir
)
,
stmqspi.c:1620
stmqspi_write()
octal_dtr
=
IS_OCTOSPI
&&
(
stmqspi_info
->
saved_ccr
&
BIT
(
OCTOSPI_DDTR
)
)
;
stmqspi.c:1681
stmqspi_verify()
octal_dtr
=
IS_OCTOSPI
&&
(
stmqspi_info
->
saved_ccr
&
BIT
(
OCTOSPI_DDTR
)
)
;
stmqspi.c:1758
find_sfdp_dummy()
OCTOSPI_CCR_READ_SFDP
(
len
)
,
SPIFLASH_READ_SFDP
)
;
stmqspi.c:1760
find_sfdp_dummy()
retval
=
target_write_u32
(
target
,
io_base
+
QSPI_CCR
,
QSPI_CCR_READ_SFDP
)
;
stmqspi.c:1821
read_sfdp_block()
if
(
IS_OCTOSPI
&&
(
(
(
stmqspi_info
->
saved_ccr
>
>
SPI_DMODE_POS
)
&
0x7
)
>
3
)
)
{
stmqspi.c:1879
read_sfdp_block()
OCTOSPI_CCR_READ_SFDP
(
len
)
,
SPIFLASH_READ_SFDP
)
;
stmqspi.c:1881
read_sfdp_block()
retval
=
target_write_u32
(
target
,
io_base
+
QSPI_CCR
,
QSPI_CCR_READ_SFDP
)
;
stmqspi.c:1955
read_flash_id()
for
(
type
=
(
IS_OCTOSPI
&&
OPI_MODE
)
?
1
:
0
;
type
<
2
;
type
++
)
{
stmqspi.c:1984
read_flash_id()
OCTOSPI_CCR_READ_MID
,
SPIFLASH_READ_MID
)
;
stmqspi.c:1986
read_flash_id()
retval
=
target_write_u32
(
target
,
io_base
+
QSPI_CCR
,
QSPI_CCR_READ_MID
)
;
stmqspi.c:1992
read_flash_id()
OCTOSPI_CCR_READ_ID
,
SPIFLASH_READ_ID
)
;
stmqspi.c:1994
read_flash_id()
retval
=
target_write_u32
(
target
,
io_base
+
QSPI_CCR
,
QSPI_CCR_READ_ID
)
;
stmqspi.c:2005
read_flash_id()
if
(
IS_OCTOSPI
&&
OPI_MODE
)
{
stmqspi.c:2131
stmqspi_probe()
retval
=
target_read_u32
(
target
,
io_base
+
SPI_CCR
,
&
stmqspi_info
->
saved_ccr
)
;
stmqspi.c:2164
stmqspi_probe()
stmqspi_info
->
saved_cr
,
stmqspi_info
->
saved_ccr
,
SPI_ADSIZE
)
;
stmqspi.c:2169
stmqspi_probe()
stmqspi_info
->
saved_cr
,
stmqspi_info
->
saved_ccr
,
SPI_ADSIZE
)
;
stmqspi.c:2170
stmqspi_probe()
if
(
stmqspi_info
->
saved_ccr
&
(
1U
<
<
QSPI_DDRM
)
)
stmqspi.c:2181
stmqspi_probe()
octal_dtr
=
IS_OCTOSPI
&&
(
stmqspi_info
->
saved_ccr
&
BIT
(
OCTOSPI_DDTR
)
)
;
Data Use
Functions reading
stmqspi_flash_bank::saved_ccr
stmqspi_flash_bank::saved_ccr
octospi_cmd()
set_mm_mode()
read_status_reg()
qspi_write_enable()
stmqspi_handle_mass_erase_command()
stmqspi_handle_cmd()
qspi_erase_sector()
stmqspi_blank_check()
qspi_verify()
qspi_read_write_block()
stmqspi_write()
stmqspi_verify()
find_sfdp_dummy()
read_sfdp_block()
read_flash_id()
stmqspi_probe()
all items filtered out
Type of
stmqspi_flash_bank::saved_ccr
stmqspi_flash_bank::saved_ccr
uint32_t
all items filtered out