Home
last modified time | relevance | path

Searched refs:reg_index (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-3.6.0/arch/arm/core/mpu/
Darm_mpu_v8_internal.h524 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, &regions[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, &regions[i]); in mpu_configure_regions_and_partition()
596 if (reg_index == -EINVAL) { in mpu_configure_regions_and_partition()
[all …]
Darm_mpu.c91 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, &regions[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 …]
Dnxp_mpu.c158 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, &regions[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, &regions[i]); in mpu_configure_regions()
343 if (reg_index == -EINVAL) { in mpu_configure_regions()
[all …]
/Zephyr-Core-3.6.0/drivers/pinctrl/
Dpfc_rcar.h24 int pfc_rcar_get_reg_index(uint8_t pin, uint8_t *reg_index);
Dpfc_rcar.c311 uint8_t reg_index; in pinctrl_configure_pin() local
314 ret = pfc_rcar_get_reg_index(pin->pin, &reg_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/
Dpfc_r8a77961.c148 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()
Dpfc_r8a77951.c540 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/
Dpfc_r8a77951.c541 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/
Dpfc_r8a779f0.c596 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/
Dhost_subs_npcx.c700 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/
Darm_mpu.c203 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 *) &region_conf); in mpu_configure_regions_from_dt()
245 (*reg_index)++; in mpu_configure_regions_from_dt()