/trusted-firmware-a/plat/mediatek/mt8192/drivers/mcdi/ |
A D | mt_lp_irqremain.c | 70 remain_irqs.count = 0; in mt_lp_irqremain_init() 77 remain_irqs.count++; in mt_lp_irqremain_init() 84 remain_irqs.count++; in mt_lp_irqremain_init() 91 remain_irqs.count++; in mt_lp_irqremain_init() 98 remain_irqs.count++; in mt_lp_irqremain_init() 105 remain_irqs.count++; in mt_lp_irqremain_init() 112 remain_irqs.count++; in mt_lp_irqremain_init() 119 remain_irqs.count++; in mt_lp_irqremain_init() 126 remain_irqs.count++; in mt_lp_irqremain_init() 133 remain_irqs.count++; in mt_lp_irqremain_init() [all …]
|
/trusted-firmware-a/lib/libc/ |
A D | printf.c | 26 int count = 0; in string_print() local 32 count++; in string_print() 35 return count; in string_print() 43 int i = 0, count = 0; in unsigned_num_print() local 59 count++; in unsigned_num_print() 66 count++; in unsigned_num_print() 69 return count; in unsigned_num_print() 184 count++; in vprintf() 187 return count; in vprintf() 192 int count; in printf() local [all …]
|
A D | memset.c | 11 void *memset(void *dst, int val, size_t count) in memset() argument 18 if (count == 0U) { in memset() 26 if (--count == 0U) { in memset() 38 for (; count >= 8U; count -= 8) { in memset() 45 while (count-- > 0U) { in memset()
|
A D | puts.c | 11 int count = 0; in puts() local 17 count++; in puts() 23 return count + 1; in puts()
|
/trusted-firmware-a/docs/build/latex/ |
A D | sphinxlatexlists.sty | 43 \count@\@ne 46 {\iffalse}{\iftrue\advance\count@\@ne}% 49 \ifnum\count@>\spx@opt@maxlistdepth\relax\else 58 \advance\count@\@ne 61 \count@\@ne 64 {\iffalse}{\iftrue\advance\count@\@ne}% 68 \newcounter{enum\romannumeral\the\count@}% 78 \advance\count@\@ne 81 \count@\@ne 84 {\iffalse}{\iftrue\advance\count@\@ne}% [all …]
|
/trusted-firmware-a/plat/imx/common/sci/ |
A D | ipc.c | 71 uint8_t count = 0; in sc_ipc_read() local 79 count++; in sc_ipc_read() 88 while (count < msg->size) { in sc_ipc_read() 89 MU_ReceiveMsg(base, count % MU_RR_COUNT, in sc_ipc_read() 90 &(msg->DATA.u32[count - 1])); in sc_ipc_read() 91 count++; in sc_ipc_read() 99 uint8_t count = 0; in sc_ipc_write() local 111 count++; in sc_ipc_write() 114 while (count < msg->size) { in sc_ipc_write() 116 msg->DATA.u32[count - 1]); in sc_ipc_write() [all …]
|
/trusted-firmware-a/plat/hisilicon/hikey/ |
A D | hisi_dvfs.c | 223 count = 0; in acpu_dvfs_freq_ascend() 292 count = 0; in acpu_dvfs_freq_ascend() 294 count++; in acpu_dvfs_freq_ascend() 322 count = 0; in acpu_dvfs_freq_ascend() 345 count = 0; in acpu_dvfs_freq_ascend() 377 count = 0; in acpu_dvfs_freq_ascend() 416 count = 0; in acpu_dvfs_freq_descend() 443 count = 0; in acpu_dvfs_freq_descend() 445 count++; in acpu_dvfs_freq_descend() 500 count = 0; in acpu_dvfs_freq_descend() [all …]
|
/trusted-firmware-a/plat/mediatek/mt8195/drivers/mcdi/ |
A D | mt_lp_irqremain.c | 21 if (remain_irqs.count == 0) { in mt_lp_irqremain_submit() 25 set_wakeup_sources(remain_irqs.irqs, remain_irqs.count); in mt_lp_irqremain_submit() 33 if (remain_irqs.count == 0) { in mt_lp_irqremain_aquire() 46 if (remain_irqs.count == 0) { in mt_lp_irqremain_release() 60 remain_irqs.count = 0; in mt_lp_irqremain_init() 63 idx = remain_irqs.count; in mt_lp_irqremain_init() 67 remain_irqs.count++; in mt_lp_irqremain_init()
|
/trusted-firmware-a/drivers/renesas/common/emmc/ |
A D | emmc_read.c | 19 uint32_t sector_number, uint32_t count, in emmc_multiple_block_read() argument 25 if ((count > EMMC_RW_SECTOR_COUNT_MAX) in emmc_multiple_block_read() 26 || (count == 0) in emmc_multiple_block_read() 35 emmc_make_nontrans_cmd(CMD23_SET_BLOCK_COUNT, count); in emmc_multiple_block_read() 40 SETR_32(SD_SECCNT, count); in emmc_multiple_block_read() 48 count << EMMC_SECTOR_SIZE_SHIFT, HAL_MEMCARD_READ, in emmc_multiple_block_read() 64 ((size_t) count << EMMC_SECTOR_SIZE_SHIFT)); in emmc_multiple_block_read() 87 uint32_t count, uint32_t feature_flags) in emmc_read_sector() argument 95 if (count == 0) { in emmc_read_sector() 113 remain = count; in emmc_read_sector()
|
/trusted-firmware-a/drivers/scmi-msg/ |
A D | base.c | 123 unsigned int count = 0U; in count_protocols_in_list() local 126 while (protocol_list[count] != 0U) { in count_protocols_in_list() 127 count++; in count_protocols_in_list() 131 return count; in count_protocols_in_list() 144 unsigned int count = 0U; in discover_list_protocols() local 156 count = count_protocols_in_list(list); in discover_list_protocols() 157 if (count > a2p->skip) { in discover_list_protocols() 158 count = MIN(count - a2p->skip, MAX_PROTOCOL_IN_LIST); in discover_list_protocols() 160 count = 0U; in discover_list_protocols() 163 p2a.num_protocols = count; in discover_list_protocols() [all …]
|
/trusted-firmware-a/plat/intel/soc/common/ |
A D | socfpga_image_load.c | 31 unsigned int count; in plat_get_next_bl_params() local 42 for (count = 0U; count < bl_mem_params_desc_num; count++) { in plat_get_next_bl_params()
|
A D | socfpga_sip_svc.c | 129 uint32_t *count, uint32_t *job_id) in intel_fpga_config_completed_write() argument 132 *count = 0; in intel_fpga_config_completed_write() 137 while (*count < 3) { in intel_fpga_config_completed_write() 148 &completed_addr[*count]) == 0) in intel_fpga_config_completed_write() 149 *count = *count + 1; in intel_fpga_config_completed_write() 154 if (*count <= 0) { in intel_fpga_config_completed_write() 161 *count = 0; in intel_fpga_config_completed_write() 166 if (*count > 0) in intel_fpga_config_completed_write() 168 else if (*count == 0) in intel_fpga_config_completed_write()
|
/trusted-firmware-a/lib/zlib/ |
A D | inftrees.c | 58 unsigned short count[MAXBITS+1]; /* number of codes of each length */ local 108 count[len] = 0; 110 count[lens[sym]]++; 115 if (count[max] != 0) break; 127 if (count[min] != 0) break; 134 left -= count[len]; 143 offs[len + 1] = offs[len] + count[len]; 252 if (--(count[len]) == 0) { 270 left -= count[curr + drop];
|
/trusted-firmware-a/plat/intel/soc/agilex/soc/ |
A D | agilex_clock_manager.c | 21 uint32_t count = 0; in wait_pll_lock() local 25 count++; in wait_pll_lock() 26 if (count >= 1000) in wait_pll_lock() 37 uint32_t count = 0; in wait_fsm() local 41 count++; in wait_fsm() 42 if (count >= 1000) in wait_fsm() 53 uint32_t count = 0; in pll_source_sync_config() local 62 count++; in pll_source_sync_config() 65 if (count >= 100) in pll_source_sync_config() 83 count++; in pll_source_sync_read() [all …]
|
/trusted-firmware-a/include/lib/ |
A D | object_pool.h | 57 static inline void *pool_alloc_n(struct object_pool *pool, size_t count) in pool_alloc_n() argument 59 if ((pool->used + count) > pool->capacity) { in pool_alloc_n() 61 count, pool->capacity - pool->used); in pool_alloc_n() 66 pool->used += count; in pool_alloc_n()
|
/trusted-firmware-a/plat/xilinx/common/pm_service/ |
A D | pm_ipi.c | 137 unsigned int *value, size_t count) in pm_ipi_buff_read() argument 155 for (i = 1; i <= count; i++) { in pm_ipi_buff_read() 181 void pm_ipi_buff_read_callb(unsigned int *value, size_t count) in pm_ipi_buff_read_callb() argument 192 if (count > IPI_BUFFER_MAX_WORDS) in pm_ipi_buff_read_callb() 193 count = IPI_BUFFER_MAX_WORDS; in pm_ipi_buff_read_callb() 195 for (i = 0; i <= count; i++) { in pm_ipi_buff_read_callb() 225 unsigned int *value, size_t count) in pm_ipi_send_sync() argument 235 ret = ERROR_CODE_MASK & (pm_ipi_buff_read(proc, value, count)); in pm_ipi_send_sync()
|
/trusted-firmware-a/common/ |
A D | desc_image_load.c | 132 unsigned int count; in get_next_bl_params_from_mem_params_desc() local 144 for (count = 0U; count < bl_mem_params_desc_num; count++) { in get_next_bl_params_from_mem_params_desc() 146 desc_ptr = &bl_mem_params_desc_ptr[count]; in get_next_bl_params_from_mem_params_desc() 151 link_index = count; in get_next_bl_params_from_mem_params_desc() 166 for (count = 0U; count < bl_mem_params_desc_num; count++) { in get_next_bl_params_from_mem_params_desc()
|
/trusted-firmware-a/drivers/io/ |
A D | io_block.c | 254 size_t count; /* number of bytes already read */ in block_read() local 281 count = 0; in block_read() 337 memcpy((void *)(buffer + count), in block_read() 342 count += nbytes; in block_read() 344 assert(count == length); in block_read() 345 *length_read = count; in block_read() 394 count = 0; in block_write() 468 (void *)(buffer + count), in block_write() 486 count += nbytes; in block_write() 488 assert(count == length); in block_write() [all …]
|
/trusted-firmware-a/drivers/st/iwdg/ |
A D | stm32_iwdg.c | 79 uint32_t __unused count = 0; in stm32_iwdg_init() local 92 count++; in stm32_iwdg_init() 153 VERBOSE("%u IWDG instance%s found\n", count, (count > 1U) ? "s" : ""); in stm32_iwdg_init()
|
/trusted-firmware-a/plat/mediatek/common/lpm/ |
A D | mt_lp_rm.c | 11 unsigned int count; member 34 plat_mt_rm.count = i; in mt_lp_rm_register() 44 (idx >= plat_mt_rm.count)) { in mt_lp_rm_reset_constraint() 64 if ((rm == NULL) || (idx < 0) || (idx >= plat_mt_rm.count)) { in mt_lp_rm_find_and_run_constraint()
|
/trusted-firmware-a/plat/mediatek/mt8183/drivers/sspm/ |
A D | sspm.c | 139 uint32_t ipi_data, count; in sspm_alive_show() local 142 count = 5; in sspm_alive_show() 153 && count) { in sspm_alive_show() 155 count--; in sspm_alive_show()
|
/trusted-firmware-a/plat/st/stm32mp1/ |
A D | stm32mp1_shared_resources.c | 115 int count = fdt_get_gpio_bank_pin_count(bank); in get_gpio_nbpin() local 117 assert((count >= 0) && ((unsigned int)count <= (GPIO_PIN_MAX + 1))); in get_gpio_nbpin() 119 return (unsigned int)count; in get_gpio_nbpin() 123 int count = fdt_get_gpio_bank_pin_count(GPIO_BANK_Z); in get_gpio_nbpin() local 125 assert((count == 0) || (count == STM32MP_GPIOZ_PIN_MAX_COUNT)); in get_gpio_nbpin() 127 gpioz_nbpin = count; in get_gpio_nbpin()
|
/trusted-firmware-a/drivers/measured_boot/event_log/ |
A D | event_print.c | 153 uint32_t event_size, count; in event2_print() local 168 count = ((event2_header_t *)ptr)->digests.count; in event2_print() 169 LOG_EVENT(" Digests Count : %u\n", count); in event2_print() 173 assert(((uintptr_t)ptr <= (uintptr_t)end_ptr) && (count != 0U)); in event2_print() 175 for (unsigned int i = 0U; i < count; ++i) { in event2_print()
|
/trusted-firmware-a/plat/intel/soc/common/drivers/qspi/ |
A D | cadence_qspi.c | 101 uint32_t count = 0; in cad_qspi_stig_cmd_helper() local 117 count++; in cad_qspi_stig_cmd_helper() 118 } while (count < CAD_QSPI_COMMAND_TIMEOUT); in cad_qspi_stig_cmd_helper() 120 if (count >= CAD_QSPI_COMMAND_TIMEOUT) { in cad_qspi_stig_cmd_helper() 260 int count = 0; in cad_qspi_n25q_wait_for_program_and_erase() local 270 count++; in cad_qspi_n25q_wait_for_program_and_erase() 273 if (count >= CAD_QSPI_COMMAND_TIMEOUT) { in cad_qspi_n25q_wait_for_program_and_erase() 278 count = 0; in cad_qspi_n25q_wait_for_program_and_erase() 295 if (count >= CAD_QSPI_COMMAND_TIMEOUT) in cad_qspi_n25q_wait_for_program_and_erase() 637 int level = 1, count = 0, i; in cad_qspi_read_bank() local [all …]
|
/trusted-firmware-a/plat/arm/board/fvp/fdts/ |
A D | optee_sp_manifest.dts | 21 execution-ctx-count = <8>; 40 pages-count = <1>; 46 pages-count = <16>;
|