efc_perform_command() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

efc_perform_command() function

Performs the given command and wait until its completion (or an error).

Syntax

static int efc_perform_command(struct sam3_bank_private *private,     unsigned command,     unsigned argument,     uint32_t *status);

Arguments

private

- info about the bank

command

- Command to perform.

argument

- Optional command argument.

status

- put command status bits here

References

LocationReferrerText
at91sam3.c:2126
static int efc_perform_command(struct sam3_bank_private *private,
at91sam3.c:2195flashd_read_uid()
r = efc_perform_command(private, AT91C_EFC_FCMD_SPUI, 0, NULL);
at91sam3.c:2213flashd_erase_entire_bank()
return efc_perform_command(private, AT91C_EFC_FCMD_EA, 0, NULL);
at91sam3.c:2241flashd_get_gpnvm()
r = efc_perform_command(private, AT91C_EFC_FCMD_GFB, 0, NULL);
at91sam3.c:2286flashd_clr_gpnvm()
r = efc_perform_command(private, AT91C_EFC_FCMD_CFB, gpnvm, NULL);
at91sam3.c:2320flashd_set_gpnvm()
r = efc_perform_command(private, AT91C_EFC_FCMD_SFB, gpnvm, NULL);
at91sam3.c:2334flashd_get_lock_bits()
r = efc_perform_command(private, AT91C_EFC_FCMD_GLB, 0, NULL);
at91sam3.c:2363flashd_unlock()
r = efc_perform_command(private, AT91C_EFC_FCMD_CLB, pg, &status);
at91sam3.c:2393flashd_lock()
r = efc_perform_command(private, AT91C_EFC_FCMD_SLB, pg, &status);
at91sam3.c:3324sam3_page_write()
r = efc_perform_command(private,

Call Tree

Data read by efc_perform_command()
Data written by efc_perform_command()
efc_perform_command()::r
efc_perform_command()::v
efc_perform_command()::ms_now
efc_perform_command()::ms_end
all items filtered out
efc_perform_command()
efc_perform_command()::r
efc_perform_command()::ms_now
efc_perform_command()::ms_end
all items filtered out
Type of efc_perform_command()
efc_perform_command()
uint32_t
int64_t
all items filtered out