Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 47) sorted by relevance

12

/trusted-firmware-a/tools/fiptool/
A Dwin_posix.c128 if ((arg != 0) && (arg[0] == '-')) in getopt()
254 const char *arg = argv[optind]; in getopt_long() local
256 if ((arg != 0) && (arg[0] == '-')) { in getopt_long()
257 if (arg[1] == '-') { in getopt_long()
262 &arg[2], in getopt_long()
268 arg[1]); in getopt_long()
294 if ((arg != 0) && (arg[0] == '-')) { in getopt_long_only()
295 if (arg[1] == '-') { in getopt_long_only()
300 &arg[2], in getopt_long_only()
306 &arg[1], in getopt_long_only()
[all …]
A Dfiptool.c154 const char *arg) in set_image_desc_action() argument
162 if (arg != NULL) in set_image_desc_action()
163 desc->action_arg = xstrdup(arg, in set_image_desc_action()
630 static void parse_plat_toc_flags(const char *arg, unsigned long long *toc_flags) in parse_plat_toc_flags() argument
636 flags = strtoull(arg, &endptr, 16); in parse_plat_toc_flags()
638 log_errx("Invalid platform ToC flags: %s", arg); in parse_plat_toc_flags()
648 static unsigned long get_image_align(char *arg) in get_image_align() argument
654 align = strtoul(arg, &endptr, 0); in get_image_align()
656 log_errx("Invalid alignment: %s", arg); in get_image_align()
661 static void parse_blob_opt(char *arg, uuid_t *uuid, char *filename, size_t len) in parse_blob_opt() argument
[all …]
/trusted-firmware-a/plat/hisilicon/hikey/
A Dhikey_private.h60 int hikey_get_partition_size(const char *arg, int left, char *response);
61 int hikey_get_partition_type(const char *arg, int left, char *response);
63 int hikey_erase(const char *arg);
64 int hikey_flash(const char *arg);
65 int hikey_oem(const char *arg);
66 int hikey_reboot(const char *arg);
/trusted-firmware-a/drivers/renesas/common/emmc/
A Demmc_utility.c126 void emmc_make_nontrans_cmd(HAL_MEMCARD_COMMAND cmd, uint32_t arg) in emmc_make_nontrans_cmd() argument
130 mmc_drv_obj.cmd_info.arg = arg; in emmc_make_nontrans_cmd()
175 void emmc_make_trans_cmd(HAL_MEMCARD_COMMAND cmd, uint32_t arg, in emmc_make_trans_cmd() argument
181 emmc_make_nontrans_cmd(cmd, arg); /* update common information */ in emmc_make_trans_cmd()
192 EMMC_ERROR_CODE emmc_send_idle_cmd(uint32_t arg) in emmc_send_idle_cmd() argument
212 emmc_make_nontrans_cmd(CMD0_GO_IDLE_STATE, arg); /* CMD0 */ in emmc_send_idle_cmd()
A Demmc_def.h41 EMMC_ERROR_CODE emmc_send_idle_cmd(uint32_t arg);
63 void emmc_make_nontrans_cmd(HAL_MEMCARD_COMMAND cmd, uint32_t arg);
64 void emmc_make_trans_cmd(HAL_MEMCARD_COMMAND cmd, uint32_t arg,
68 EMMC_ERROR_CODE emmc_set_ext_csd(uint32_t arg);
A Demmc_mount.c387 uint32_t arg; in emmc_select_partition() local
411 arg = EMMC_SWITCH_PARTITION_CONFIG | (partition_config << 8); in emmc_select_partition()
413 result = emmc_set_ext_csd(arg); in emmc_select_partition()
575 EMMC_ERROR_CODE emmc_set_ext_csd(uint32_t arg) in emmc_set_ext_csd() argument
580 emmc_make_nontrans_cmd(CMD6_SWITCH, arg); in emmc_set_ext_csd()
/trusted-firmware-a/tools/cert_create/src/
A Dmain.c225 if ((!ext->optional) && (ext->arg == NULL)) { in check_cmd_params()
391 ext->arg = strdup(optarg); in main()
500 if (ext->optional && ext->arg == NULL) { in main()
505 assert(ext->arg != NULL); in main()
506 nvctr = atoi(ext->arg); in main()
512 if (ext->arg == NULL) { in main()
522 if (!sha_file(hash_alg, ext->arg, md)) { in main()
524 ext->arg); in main()
617 if (extensions[i].arg != NULL) { in main()
618 void *ptr = (void *)extensions[i].arg; in main()
[all …]
/trusted-firmware-a/lib/cpus/aarch64/
A Dcortex_a75_pubsub.c11 static void *cortex_a75_context_save(const void *arg) in cortex_a75_context_save() argument
19 static void *cortex_a75_context_restore(const void *arg) in cortex_a75_context_restore() argument
A Dneoverse_n1_pubsub.c11 static void *neoverse_n1_context_save(const void *arg) in neoverse_n1_context_save() argument
19 static void *neoverse_n1_context_restore(const void *arg) in neoverse_n1_context_restore() argument
/trusted-firmware-a/include/lib/el3_runtime/
A Dpubsub.h91 #define PUBLISH_EVENT_ARG(event, arg) \ argument
95 (*subscriber)(arg); \
103 typedef void* (*pubsub_cb_t)(const void *arg);
/trusted-firmware-a/include/drivers/nxp/crypto/caam/
A Dsec_jr_driver.h55 void *arg, void *job_ring);
66 void *arg; member
/trusted-firmware-a/tools/encrypt_fw/src/
A Dmain.c86 static void parse_fw_enc_status_flag(const char *arg, in parse_fw_enc_status_flag() argument
92 flag = strtoul(arg, &endptr, 16); in parse_fw_enc_status_flag()
94 ERROR("Invalid fw_enc_status flag '%s'\n", arg); in parse_fw_enc_status_flag()
/trusted-firmware-a/drivers/nxp/crypto/caam/src/
A Dhw_key_blob.c23 static void blob_done(uint32_t *desc, uint32_t status, void *arg, in blob_done() argument
58 jobdesc->arg = NULL; in get_hw_unq_key_blob_hw()
A Drng.c21 static void rng_done(uint32_t *desc, uint32_t status, void *arg, in rng_done() argument
103 jobdesc->arg = NULL; in instantiate_rng()
136 jobdesc->arg = NULL; in hw_rng_generate()
A Dsec_hw_specific.c444 void *arg; in hw_poll_job_ring() local
534 arg = (void *)*(arg_addr); in hw_poll_job_ring()
539 sec_error_code, arg, job_ring); in hw_poll_job_ring()
/trusted-firmware-a/drivers/nxp/crypto/caam/src/auth/
A Dhash.c30 static void hash_done(uint32_t *desc, uint32_t status, void *arg, in hash_done() argument
120 jobdesc.arg = NULL; in hash_final()
A Drsa.c31 static void rsa_done(uint32_t *desc, uint32_t status, void *arg, in rsa_done() argument
44 jobdesc.arg = NULL; in rsa_public_verif_sec()
/trusted-firmware-a/services/std_svc/sdei/
A Dsdei_main.c61 se->arg = 0; in clear_event_entries()
67 static void *sdei_cpu_on_init(const void *arg) in sdei_cpu_on_init() argument
89 static void *sdei_cpu_wakeup_init(const void *arg) in sdei_cpu_wakeup_init() argument
243 static void set_sdei_entry(sdei_entry_t *se, uint64_t ep, uint64_t arg, in set_sdei_entry() argument
249 se->arg = arg; in set_sdei_entry()
339 uint64_t arg, in sdei_event_register() argument
452 set_sdei_entry(se, ep, arg, (unsigned int) flags, mpidr); in sdei_event_register()
/trusted-firmware-a/lib/extensions/trbe/
A Dtrbe.c47 static void *trbe_drain_trace_buffers_hook(const void *arg __unused) in trbe_drain_trace_buffers_hook()
/trusted-firmware-a/lib/extensions/spe/
A Dspe.c81 static void *spe_drain_buffers_hook(const void *arg) in spe_drain_buffers_hook() argument
/trusted-firmware-a/tools/cert_create/include/
A Dext.h37 const char *arg; /* Argument passed from command line */ member
/trusted-firmware-a/drivers/renesas/common/pwrc/
A Dpwrc.h72 void *arg);
/trusted-firmware-a/drivers/rpi3/sdhost/
A Drpi3_sdhost.c70 static void send_command_raw(unsigned int cmd, unsigned int arg) in send_command_raw() argument
87 mmio_write_32(reg_base + HC_ARGUMENT, arg); in send_command_raw()
99 static void send_command_decorated(unsigned int cmd, unsigned int arg) in send_command_decorated() argument
127 send_command_raw(cmd | cmd_flags, arg); in send_command_decorated()
/trusted-firmware-a/drivers/marvell/secure_dfx_access/
A Dmisc_dfx.c19 #define debug(format, arg...) argument
/trusted-firmware-a/lib/extensions/amu/aarch32/
A Damu.c286 static void *amu_context_save(const void *arg) in amu_context_save() argument
349 static void *amu_context_restore(const void *arg) in amu_context_restore() argument

Completed in 28 milliseconds

12