Searched refs:reg_index (Results 1 – 11 of 11) sorted by relevance
/Zephyr-Core-3.6.0/arch/arm/core/mpu/ |
D | arm_mpu_v8_internal.h | 524 int reg_index = start_reg_index; in mpu_configure_regions_and_partition() local 545 (u_reg_index > (reg_index - 1))) { in mpu_configure_regions_and_partition() 576 reg_index = in mpu_configure_regions_and_partition() 577 mpu_configure_region(reg_index, ®ions[i]); in mpu_configure_regions_and_partition() 579 if (reg_index == -EINVAL) { in mpu_configure_regions_and_partition() 580 return reg_index; in mpu_configure_regions_and_partition() 583 reg_index++; in mpu_configure_regions_and_partition() 593 reg_index = in mpu_configure_regions_and_partition() 594 mpu_configure_region(reg_index, ®ions[i]); in mpu_configure_regions_and_partition() 596 if (reg_index == -EINVAL) { in mpu_configure_regions_and_partition() [all …]
|
D | arm_mpu.c | 91 static int mpu_configure_regions_from_dt(uint8_t *reg_index) in mpu_configure_regions_from_dt() argument 144 if (region_allocate_and_init((*reg_index), in mpu_configure_regions_from_dt() 149 (*reg_index)++; in mpu_configure_regions_from_dt() 189 int reg_index = start_reg_index; in mpu_configure_regions() local 203 reg_index = mpu_configure_region(reg_index, ®ions[i]); in mpu_configure_regions() 205 if (reg_index == -EINVAL) { in mpu_configure_regions() 206 return reg_index; in mpu_configure_regions() 210 reg_index++; in mpu_configure_regions() 213 return reg_index; in mpu_configure_regions() 298 uint8_t reg_index = get_num_regions(); in arm_core_mpu_mem_partition_config_update() local [all …]
|
D | nxp_mpu.c | 158 static int mpu_configure_regions_from_dt(uint8_t *reg_index) in mpu_configure_regions_from_dt() argument 191 if (region_allocate_and_init((*reg_index), in mpu_configure_regions_from_dt() 196 (*reg_index)++; in mpu_configure_regions_from_dt() 307 int reg_index = start_reg_index; in mpu_configure_regions() local 331 reg_index = in mpu_configure_regions() 332 mpu_sram_partitioning(reg_index, ®ions[i]); in mpu_configure_regions() 337 if (reg_index == -EINVAL) { in mpu_configure_regions() 338 return reg_index; in mpu_configure_regions() 341 reg_index = mpu_configure_region(reg_index, ®ions[i]); in mpu_configure_regions() 343 if (reg_index == -EINVAL) { in mpu_configure_regions() [all …]
|
/Zephyr-Core-3.6.0/drivers/pinctrl/ |
D | pfc_rcar.h | 24 int pfc_rcar_get_reg_index(uint8_t pin, uint8_t *reg_index);
|
D | pfc_rcar.c | 311 uint8_t reg_index; in pinctrl_configure_pin() local 314 ret = pfc_rcar_get_reg_index(pin->pin, ®_index); in pinctrl_configure_pin() 319 if (reg_index >= ARRAY_SIZE(reg_base)) { in pinctrl_configure_pin() 323 pfc_base = reg_base[reg_index]; in pinctrl_configure_pin()
|
/Zephyr-Core-3.6.0/soc/arm64/renesas_rcar/gen3/ |
D | pfc_r8a77961.c | 148 int pfc_rcar_get_reg_index(uint8_t pin, uint8_t *reg_index) in pfc_rcar_get_reg_index() argument 151 *reg_index = 0; in pfc_rcar_get_reg_index()
|
D | pfc_r8a77951.c | 540 int pfc_rcar_get_reg_index(uint8_t pin, uint8_t *reg_index) in pfc_rcar_get_reg_index() argument 543 *reg_index = 0; in pfc_rcar_get_reg_index()
|
/Zephyr-Core-3.6.0/soc/arm/renesas_rcar/gen3/ |
D | pfc_r8a77951.c | 541 int pfc_rcar_get_reg_index(uint8_t pin, uint8_t *reg_index) in pfc_rcar_get_reg_index() argument 544 *reg_index = 0; in pfc_rcar_get_reg_index()
|
/Zephyr-Core-3.6.0/soc/arm/renesas_rcar/gen4/ |
D | pfc_r8a779f0.c | 596 int pfc_rcar_get_reg_index(uint8_t pin, uint8_t *reg_index) in pfc_rcar_get_reg_index() argument 601 *reg_index = pin / 32; in pfc_rcar_get_reg_index()
|
/Zephyr-Core-3.6.0/drivers/espi/ |
D | host_subs_npcx.c | 700 void host_c2h_write_io_cfg_reg(uint8_t reg_index, uint8_t reg_data) in host_c2h_write_io_cfg_reg() argument 722 inst_c2h->IHD = reg_index; in host_c2h_write_io_cfg_reg() 743 uint8_t host_c2h_read_io_cfg_reg(uint8_t reg_index) in host_c2h_read_io_cfg_reg() argument 766 inst_c2h->IHD = reg_index; in host_c2h_read_io_cfg_reg()
|
/Zephyr-Core-3.6.0/arch/arm64/core/cortex_r/ |
D | arm_mpu.c | 203 static int mpu_configure_regions_from_dt(uint8_t *reg_index) in mpu_configure_regions_from_dt() argument 243 region_init((*reg_index), (const struct arm_mpu_region *) ®ion_conf); in mpu_configure_regions_from_dt() 245 (*reg_index)++; in mpu_configure_regions_from_dt()
|