Home
last modified time | relevance | path

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

12345678910>>...18

/tf-a-ffa_el3_spmc/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 …]
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/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 …]
/tf-a-ffa_el3_spmc/drivers/mtd/spi-mem/
A Dspi_mem.c121 if (ops->exec_op == NULL) { in spi_mem_check_bus_ops()
131 if (ops->set_mode == NULL) { in spi_mem_check_bus_ops()
212 if (cuint == NULL) { in spi_mem_init_slave()
222 if (cuint != NULL) { in spi_mem_init_slave()
227 if ((fdt_getprop(fdt, bus_subnode, "spi-cpol", NULL)) != NULL) { in spi_mem_init_slave()
230 if ((fdt_getprop(fdt, bus_subnode, "spi-cpha", NULL)) != NULL) { in spi_mem_init_slave()
234 NULL) { in spi_mem_init_slave()
238 NULL) { in spi_mem_init_slave()
242 NULL) { in spi_mem_init_slave()
248 if (cuint != NULL) { in spi_mem_init_slave()
[all …]
/tf-a-ffa_el3_spmc/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()
254 if (cuint == NULL) { in dt_get_pwr_vdd_voltage()
264 if (cuint == NULL) { in dt_get_pwr_vdd_voltage()
280 return NULL; in dt_get_board_model()
306 if (fdt_getprop(fdt, node, "gpio-controller", NULL) == NULL) { in fdt_get_gpio_bank_pin_count()
[all …]
/tf-a-ffa_el3_spmc/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()
249 (psci_plat_pm_ops->pwr_domain_on_finish != NULL)) in psci_setup()
257 if (psci_plat_pm_ops->system_off != NULL) in psci_setup()
259 if (psci_plat_pm_ops->system_reset != NULL) in psci_setup()
261 if (psci_plat_pm_ops->get_node_hw_state != NULL) in psci_setup()
263 if ((psci_plat_pm_ops->read_mem_protect != NULL) && in psci_setup()
264 (psci_plat_pm_ops->write_mem_protect != NULL)) in psci_setup()
266 if (psci_plat_pm_ops->mem_protect_chk != NULL) in psci_setup()
[all …]
/tf-a-ffa_el3_spmc/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 …]
/tf-a-ffa_el3_spmc/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()
/tf-a-ffa_el3_spmc/common/
A Dfdt_wrappers.c30 assert(dtb != NULL); in fdt_read_uint32_array()
32 assert(value != NULL); in fdt_read_uint32_array()
37 if (prop == NULL) { in fdt_read_uint32_array()
100 assert(dtb != NULL); in fdtw_read_bytes()
101 assert(prop != NULL); in fdtw_read_bytes()
108 if (ptr == NULL) { in fdtw_read_bytes()
135 assert(dtb != NULL); in fdtw_read_string()
138 assert(str != NULL); in fdtw_read_string()
142 if (ptr == NULL) { in fdtw_read_string()
243 if (ptr == NULL) { in fdtw_write_inplace_bytes()
[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 …]
/tf-a-ffa_el3_spmc/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 …]
/tf-a-ffa_el3_spmc/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 …]
/tf-a-ffa_el3_spmc/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 …]
/tf-a-ffa_el3_spmc/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 …]
/tf-a-ffa_el3_spmc/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 …]
/tf-a-ffa_el3_spmc/plat/socionext/uniphier/
A Duniphier_cci.c43 .init = NULL,
44 .enable = NULL,
45 .disable = NULL,
53 .init = NULL,
54 .enable = NULL,
55 .disable = NULL,
/tf-a-ffa_el3_spmc/drivers/nxp/gpio/
A Dnxp_gpio.c24 uint32_t *gpdir = NULL; in set_gpio_bit()
25 uint32_t *gpdat = NULL; in set_gpio_bit()
27 if (gpio_init_info == NULL) { in set_gpio_bit()
61 uint32_t *gpdir = NULL; in clr_gpio_bit()
62 uint32_t *gpdat = NULL; in clr_gpio_bit()
65 if (gpio_init_info == NULL) { in clr_gpio_bit()
102 if (gpio_init_info == NULL) { in select_gpio_n_bitnum()
136 ret_gpio = NULL; in select_gpio_n_bitnum()
139 if (ret_gpio == NULL) { in select_gpio_n_bitnum()
/tf-a-ffa_el3_spmc/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 …]
/tf-a-ffa_el3_spmc/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()
234 return NULL; in fdt_rcc_read_prop()
239 return NULL; in fdt_rcc_read_prop()
243 if (cuint == NULL) { in fdt_rcc_read_prop()
244 return NULL; in fdt_rcc_read_prop()
286 cuint = fdt_getprop(fdt, node, "clocks", NULL); in fdt_get_clock_id()
[all …]
/tf-a-ffa_el3_spmc/drivers/allwinner/axp/
A Dcommon.c61 prop = fdt_getprop(fdt, node, "regulator-min-microvolt", NULL); in fdt_get_regulator_millivolt()
62 if (prop == NULL) in fdt_get_regulator_millivolt()
66 prop = fdt_getprop(fdt, node, "regulator-max-microvolt", NULL); in fdt_get_regulator_millivolt()
67 if (prop == NULL) in fdt_get_regulator_millivolt()
102 cell = fdt_getprop(fdt, node, "status", NULL); in is_node_disabled()
103 if (cell == NULL) { in is_node_disabled()
114 if (fdt_getprop(fdt, node, "phandle", NULL) != NULL) { in should_enable_regulator()
117 if (fdt_getprop(fdt, node, "regulator-always-on", NULL) != NULL) { in should_enable_regulator()
147 if (fdt == NULL) in axp_setup_regulators()
158 if (fdt_getprop(fdt, node, "x-powers,drive-vbus-en", NULL) && in axp_setup_regulators()

Completed in 34 milliseconds

12345678910>>...18