Home
last modified time | relevance | path

Searched refs:p_idx (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/kernel/
Dmem_domain.c162 int p_idx; in k_mem_domain_add_partition() local
179 for (p_idx = 0; p_idx < max_partitions; p_idx++) { in k_mem_domain_add_partition()
181 if (domain->partitions[p_idx].size == 0U) { in k_mem_domain_add_partition()
186 CHECKIF(!(p_idx < max_partitions)) { in k_mem_domain_add_partition()
195 domain->partitions[p_idx].start = part->start; in k_mem_domain_add_partition()
196 domain->partitions[p_idx].size = part->size; in k_mem_domain_add_partition()
197 domain->partitions[p_idx].attr = part->attr; in k_mem_domain_add_partition()
202 ret = arch_mem_domain_partition_add(domain, p_idx); in k_mem_domain_add_partition()
215 int p_idx; in k_mem_domain_remove_partition() local
227 for (p_idx = 0; p_idx < max_partitions; p_idx++) { in k_mem_domain_remove_partition()
[all …]
/Zephyr-latest/include/zephyr/drivers/misc/pio_rpi_pico/
Dpio_rpi_pico.h103 #define DT_RPI_PICO_PIO_PIN_BY_NAME(node_id, p_name, p_idx, g_name, g_idx) \ argument
105 DT_CHILD(DT_PINCTRL_BY_NAME(node_id, p_name, p_idx), g_name), pinmux, g_idx))
119 #define DT_INST_RPI_PICO_PIO_PIN_BY_NAME(inst, p_name, p_idx, g_name, g_idx) \ argument
120 DT_RPI_PICO_PIO_PIN_BY_NAME(DT_DRV_INST(inst), p_name, p_idx, g_name, g_idx)
/Zephyr-latest/arch/riscv/core/
Dpmp.c606 int p_idx, remaining_partitions; in resync_pmp_domain() local
612 for (p_idx = 0; remaining_partitions > 0; p_idx++) { in resync_pmp_domain()
613 struct k_mem_partition *part = &domain->partitions[p_idx]; in resync_pmp_domain()
772 int p_idx, remaining_partitions; in arch_buffer_validate() local
776 for (p_idx = 0; remaining_partitions > 0; p_idx++) { in arch_buffer_validate()
777 struct k_mem_partition *part = &domain->partitions[p_idx]; in arch_buffer_validate()