Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/trusted-firmware-a/lib/debugfs/
A Ddev.c58 return NULL; in fd_to_channel()
171 if ((channel == NULL) || (dst == NULL) || (src == NULL)) { in buf_to_channel()
211 return NULL; in mount_point_to_channel()
223 return NULL; in attach()
327 return NULL; in path_to_channel()
382 if ((channel == NULL) || (name == NULL) || (gen == NULL)) { in devwalk()
417 if ((channel == NULL) || (dir == NULL) || (gen == NULL)) { in dirread()
436 if ((channel == NULL) || (dir == NULL) || (name == NULL)) { in make_dir_entry()
462 if ((channel == NULL) || (dir == NULL) || (tab == NULL) || in devgen()
521 if ((dirc == NULL) || (dir == NULL) || (gen == NULL)) { in devstat()
[all …]
/trusted-firmware-a/drivers/auth/
A Dcrypto_mod.c72 assert(data_ptr != NULL); in crypto_mod_verify_signature()
74 assert(sig_ptr != NULL); in crypto_mod_verify_signature()
76 assert(sig_alg_ptr != NULL); in crypto_mod_verify_signature()
78 assert(pk_ptr != NULL); in crypto_mod_verify_signature()
98 assert(data_ptr != NULL); in crypto_mod_verify_hash()
120 assert(data_ptr != NULL); in crypto_mod_calc_hash()
122 assert(output != NULL); in crypto_mod_calc_hash()
146 assert(data_ptr != NULL); in crypto_mod_auth_decrypt()
148 assert(key != NULL); in crypto_mod_auth_decrypt()
150 assert(iv != NULL); in crypto_mod_auth_decrypt()
[all …]
A Dimg_parser_mod.c26 assert(desc != NULL); in validate_desc()
27 assert(desc->init != NULL); in validate_desc()
28 assert(desc->name != NULL); in validate_desc()
29 assert(desc->check_integrity != NULL); in validate_desc()
30 assert(desc->get_auth_param != NULL); in validate_desc()
71 assert(img_ptr != NULL); in img_parser_check_integrity()
105 assert(type_desc != NULL); in img_parser_get_auth_param()
106 assert(img_ptr != NULL); in img_parser_get_auth_param()
108 assert(param_ptr != NULL); in img_parser_get_auth_param()
109 assert(param_len != NULL); in img_parser_get_auth_param()
/trusted-firmware-a/plat/mediatek/common/lpm/
A Dmt_lp_rm.c22 if ((rm == NULL) || (rm->consts == NULL) || in mt_lp_rm_register()
23 (plat_mt_rm.plat_rm != NULL)) { in mt_lp_rm_register()
28 if ((*rc)->init != NULL) { in mt_lp_rm_register()
41 struct mt_resource_constraint const *rc = NULL; in mt_lp_rm_reset_constraint()
50 if ((rc == NULL) || (rc->reset == NULL)) { in mt_lp_rm_reset_constraint()
69 if (rm->update != NULL) { in mt_lp_rm_find_and_run_constraint()
77 if (((*rc)->is_valid != NULL) && in mt_lp_rm_find_and_run_constraint()
79 if (((*rc)->run != NULL) && in mt_lp_rm_find_and_run_constraint()
96 if (rm == NULL) { in mt_lp_rm_do_update()
100 for (rc = rm->consts; *rc != NULL; rc++) { in mt_lp_rm_do_update()
[all …]
/trusted-firmware-a/plat/st/common/
A Dstm32mp_dt.c47 if (fdt == NULL) { in fdt_get_address()
79 if ((cchar == NULL) || in fdt_get_status()
85 if (cchar == NULL) { in fdt_get_status()
145 if (cuint != NULL) { in dt_fill_device_info()
152 if (cuint != NULL) { in dt_fill_device_info()
160 if (cuint != NULL) { in dt_fill_device_info()
221 if (cuint == NULL) { in dt_match_instance_by_compatible()
281 if (cuint == NULL) { in dt_get_pwr_vdd_voltage()
291 if (cuint == NULL) { in dt_get_pwr_vdd_voltage()
307 return NULL; in dt_get_board_model()
[all …]
/trusted-firmware-a/drivers/mtd/spi-mem/
A Dspi_mem.c123 if (ops->exec_op == NULL) { in spi_mem_check_bus_ops()
133 if (ops->set_mode == NULL) { in spi_mem_check_bus_ops()
214 if (cuint == NULL) { in spi_mem_init_slave()
224 if (cuint != NULL) { in spi_mem_init_slave()
229 if ((fdt_getprop(fdt, bus_subnode, "spi-cpol", NULL)) != NULL) { in spi_mem_init_slave()
232 if ((fdt_getprop(fdt, bus_subnode, "spi-cpha", NULL)) != NULL) { in spi_mem_init_slave()
236 NULL) { in spi_mem_init_slave()
240 NULL) { in spi_mem_init_slave()
244 NULL) { in spi_mem_init_slave()
250 if (cuint != NULL) { in spi_mem_init_slave()
[all …]
/trusted-firmware-a/drivers/io/
A Dio_storage.c37 return (dev_con != NULL) && (dev_con->dev_open != NULL); in is_valid_dev_connector()
45 return (dev != NULL) && (dev->funcs != NULL) && in is_valid_dev()
56 return (entity != NULL) && in is_valid_entity()
76 assert(dev_info != NULL); in io_storage_dev_open()
86 assert(handle != NULL); in set_handle()
110 assert(entity != NULL); in allocate_entity()
130 assert(entity != NULL); in free_entity()
134 entity_map[index] = NULL; in free_entity()
148 assert(dev_info != NULL); in io_register_device()
164 assert(handle != NULL); in io_dev_open()
[all …]
A Dio_dummy.c47 .seek = NULL,
50 .write = NULL,
52 .dev_init = NULL,
59 .info = (uintptr_t)NULL
67 assert(dev_info != NULL); in dummy_dev_open()
89 assert(block_spec != NULL); in dummy_block_open()
90 assert(entity != NULL); in dummy_block_open()
108 assert(entity != NULL); in dummy_block_len()
109 assert(length != NULL); in dummy_block_len()
132 assert(entity != NULL); in dummy_block_close()
[all …]
A Dio_semihosting.c56 .info = (uintptr_t)NULL
64 assert(dev_info != NULL); in sh_dev_open()
78 assert(file_spec != NULL); in sh_file_open()
79 assert(entity != NULL); in sh_file_open()
96 assert(entity != NULL); in sh_file_seek()
111 assert(entity != NULL); in sh_file_len()
112 assert(length != NULL); in sh_file_len()
135 assert(entity != NULL); in sh_file_read()
159 assert(entity != NULL); in sh_file_write()
178 assert(entity != NULL); in sh_file_close()
[all …]
A Dio_memmap.c68 .dev_init = NULL,
76 .info = (uintptr_t)NULL
84 assert(dev_info != NULL); in memmap_dev_open()
113 assert(entity != NULL); in memmap_block_open()
139 assert(entity != NULL); in memmap_block_seek()
159 assert(entity != NULL); in memmap_block_len()
160 assert(length != NULL); in memmap_block_len()
175 assert(entity != NULL); in memmap_block_read()
203 assert(entity != NULL); in memmap_block_write()
227 assert(entity != NULL); in memmap_block_close()
[all …]
/trusted-firmware-a/lib/psci/
A Dpsci_system_off.c21 assert(psci_plat_pm_ops->system_off != NULL); in psci_system_off()
24 if ((psci_spd_pm != NULL) && (psci_spd_pm->svc_system_off != NULL)) { in psci_system_off()
40 assert(psci_plat_pm_ops->system_reset != NULL); in psci_system_reset()
43 if ((psci_spd_pm != NULL) && (psci_spd_pm->svc_system_reset != NULL)) { in psci_system_reset()
61 assert(psci_plat_pm_ops->system_reset2 != NULL); in psci_system_reset2()
70 if ((psci_plat_pm_ops->write_mem_protect != NULL) && in psci_system_reset2()
77 if ((psci_spd_pm != NULL) && (psci_spd_pm->svc_system_reset != NULL)) { in psci_system_reset2()
A Dpsci_setup.c234 assert(psci_plat_pm_ops != NULL); in psci_setup()
246 if (psci_plat_pm_ops->pwr_domain_off != NULL) in psci_setup()
248 if ((psci_plat_pm_ops->pwr_domain_on != NULL) && in psci_setup()
253 if (psci_plat_pm_ops->validate_power_state != NULL) in psci_setup()
258 if (psci_plat_pm_ops->system_off != NULL) in psci_setup()
260 if (psci_plat_pm_ops->system_reset != NULL) in psci_setup()
262 if (psci_plat_pm_ops->get_node_hw_state != NULL) in psci_setup()
264 if ((psci_plat_pm_ops->read_mem_protect != NULL) && in psci_setup()
265 (psci_plat_pm_ops->write_mem_protect != NULL)) in psci_setup()
267 if (psci_plat_pm_ops->mem_protect_chk != NULL) in psci_setup()
[all …]
/trusted-firmware-a/common/
A Dfdt_wrappers.c32 assert(dtb != NULL); in fdt_read_uint32_array()
34 assert(value != NULL); in fdt_read_uint32_array()
39 if (prop == NULL) { in fdt_read_uint32_array()
102 assert(dtb != NULL); in fdtw_read_bytes()
110 if (ptr == NULL) { in fdtw_read_bytes()
137 assert(dtb != NULL); in fdtw_read_string()
140 assert(str != NULL); in fdtw_read_string()
144 if (ptr == NULL) { in fdtw_read_string()
245 if (ptr == NULL) { in fdtw_write_inplace_bytes()
297 if (prop == NULL) { in fdt_get_reg_props_by_index()
[all …]
A Ddesc_image_load.c37 assert(mem_params_desc_ptr != NULL); in flush_bl_params_desc_args()
39 assert(next_bl_params_ptr != NULL); in flush_bl_params_desc_args()
80 return NULL; in get_bl_mem_params_node()
96 return NULL; in get_bl_load_info_from_mem_params_desc()
141 return NULL; in get_next_bl_params_from_mem_params_desc()
229 if (mem_params != NULL) in populate_next_bl_params_config()
262 if (mem_params != NULL) { in populate_next_bl_params_config()
333 if (bl32_ep_info_out != NULL) in bl31_params_parse_helper()
335 if (bl33_ep_info_out != NULL) in bl31_params_parse_helper()
345 if (bl32_ep_info_out != NULL) in bl31_params_parse_helper()
[all …]
/trusted-firmware-a/drivers/arm/gic/v2/
A Dgicv2_main.c38 assert(driver_data != NULL); in gicv2_cpuif_enable()
61 assert(driver_data != NULL); in gicv2_cpuif_disable()
80 assert(driver_data != NULL); in gicv2_pcpu_distif_init()
104 assert(driver_data != NULL); in gicv2_distif_init()
181 assert(driver_data != NULL); in gicv2_is_fiq_enabled()
198 assert(driver_data != NULL); in gicv2_get_pending_interrupt_type()
213 assert(driver_data != NULL); in gicv2_get_pending_interrupt_id()
235 assert(driver_data != NULL); in gicv2_acknowledge_interrupt()
247 assert(driver_data != NULL); in gicv2_end_of_interrupt()
270 assert(driver_data != NULL); in gicv2_get_interrupt_group()
[all …]
/trusted-firmware-a/tools/cert_create/src/
A Dkey.c34 if (key->key == NULL) { in key_new()
44 RSA *rsa = NULL; in key_create_rsa()
47 if (e == NULL) { in key_create_rsa()
58 if (rsa == NULL) { in key_create_rsa()
87 if (ec == NULL) { in key_create_ecdsa()
140 k = PEM_read_PrivateKey(fp, &key->key, NULL, NULL); in key_load()
169 NULL, NULL, 0, NULL, NULL); in key_store()
194 if (keys == NULL) { in key_init()
212 if (key->opt != NULL) { in key_init()
215 cmd_opt.long_opt.flag = NULL; in key_init()
[all …]
A Dmain.c36 if (v == NULL) { \
104 assert(cmd != NULL); in print_help()
105 assert(long_opt != NULL); in print_help()
213 if (cert->fn == NULL) { in check_cmd_params()
476 if (cert->fn == NULL) { in main()
512 if (ext->arg == NULL) { in main()
576 if (file != NULL) { in main()
609 if (keys[i].fn != NULL) { in main()
612 keys[i].fn = NULL; in main()
620 extensions[i].arg = NULL; in main()
[all …]
/trusted-firmware-a/tools/encrypt_fw/src/
A Dmain.c42 assert(cmd != NULL); in print_help()
43 assert(long_opt != NULL); in print_help()
104 { "help", no_argument, NULL, 'h' },
116 { "key", required_argument, NULL, 'k' },
120 { "nonce", required_argument, NULL, 'n' },
124 { "in", required_argument, NULL, 'i' },
128 { "out", required_argument, NULL, 'o' },
138 char *key = NULL; in main()
139 char *nonce = NULL; in main()
140 char *in_fn = NULL; in main()
[all …]
/trusted-firmware-a/drivers/console/
A Dmulti_console.c37 assert(to_be_deleted != NULL); in console_unregister()
39 for (ptr = &console_list; *ptr != NULL; ptr = &(*ptr)->next) in console_unregister()
45 return NULL; in console_unregister()
52 assert(to_find != NULL); in console_is_registered()
54 for (console = console_list; console != NULL; console = console->next) in console_is_registered()
68 assert(console != NULL); in console_set_scope()
92 for (console = console_list; console != NULL; console = console->next) in console_putc()
93 if ((console->flags & console_state) && (console->putc != NULL)) { in console_putc()
108 for (console = console_list; console != NULL; in console_getc()
110 if ((console->flags & console_state) && (console->getc != NULL)) { in console_getc()
[all …]
/trusted-firmware-a/tools/cert_create/src/tbbr/
A Dtbb_cert.c23 .fn = NULL,
40 .fn = NULL,
55 .fn = NULL,
69 .fn = NULL,
83 .fn = NULL,
97 .fn = NULL,
112 .fn = NULL,
126 .fn = NULL,
143 .fn = NULL,
157 .fn = NULL,
[all …]
/trusted-firmware-a/tools/fiptool/
A Dfiptool.c111 if (d == NULL) in xstrdup()
121 if (d == NULL) in xmalloc()
162 if (arg != NULL) in set_image_desc_action()
239 return NULL; in lookup_image_desc_from_uuid()
249 return NULL; in lookup_image_desc_from_opt()
271 if (s == NULL) in uuid_from_str()
303 if (fp == NULL) in parse_fip()
395 if (fp == NULL) in read_image_from_file()
417 if (fp == NULL) in write_image_to_file()
559 if (fp == NULL) in pack_images()
[all …]
/trusted-firmware-a/drivers/intel/soc/stratix10/io/
A Ds10_memmap_qspi.c70 .dev_init = NULL,
78 .info = (uintptr_t)NULL
86 assert(dev_info != NULL); in memmap_dev_open()
116 assert(entity != NULL); in memmap_block_open()
142 assert(entity != NULL); in memmap_block_seek()
162 assert(entity != NULL); in memmap_block_len()
163 assert(length != NULL); in memmap_block_len()
178 assert(entity != NULL); in memmap_block_read()
205 assert(entity != NULL); in memmap_block_write()
228 assert(entity != NULL); in memmap_block_close()
[all …]
/trusted-firmware-a/drivers/mmc/
A Dmmc.c118 MMC_RESPONSE_R1B, NULL); in mmc_send_part_switch_cmd()
145 MMC_RESPONSE_R1B, NULL); in mmc_set_ext_csd()
173 MMC_RESPONSE_R5, NULL); in mmc_sd_switch()
202 MMC_RESPONSE_R5, NULL); in mmc_sd_switch()
485 MMC_RESPONSE_R1, NULL); in mmc_enumerate()
510 MMC_RESPONSE_R1, NULL); in mmc_enumerate()
535 assert((ops != NULL) && in mmc_read_blocks()
602 assert((ops != NULL) && in mmc_write_blocks()
668 assert(ops != NULL); in mmc_erase_blocks()
677 MMC_RESPONSE_R1, NULL); in mmc_erase_blocks()
[all …]
/trusted-firmware-a/lib/libc/
A Dstrtok.c45 if (s == NULL && (s = *last) == NULL) in strtok_r()
46 return (NULL); in strtok_r()
59 *last = NULL; in strtok_r()
60 return (NULL); in strtok_r()
74 s = NULL; in strtok_r()
/trusted-firmware-a/drivers/st/clk/
A Dstm32mp_clkfunc.c42 if (cchar == NULL) { in fdt_osc_read_freq()
51 if (cuint == NULL) { in fdt_osc_read_freq()
95 if (cchar == NULL) { in fdt_osc_read_bool()
104 if (fdt_getprop(fdt, subnode, prop_name, NULL) != NULL) { in fdt_osc_read_bool()
143 if (cchar == NULL) { in fdt_osc_read_uint32_default()
240 return NULL; in fdt_rcc_read_prop()
245 return NULL; in fdt_rcc_read_prop()
249 if (cuint == NULL) { in fdt_rcc_read_prop()
250 return NULL; in fdt_rcc_read_prop()
292 cuint = fdt_getprop(fdt, node, "clocks", NULL); in fdt_get_clock_id()
[all …]

Completed in 46 milliseconds

12345678910>>...19