Home
last modified time | relevance | path

Searched refs:bank_idx (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/memc/
Dmemc_stm32_nor_psram.c92 size_t bank_idx; in memc_stm32_nor_psram_init() local
95 for (bank_idx = 0U; bank_idx < config->banks_len; ++bank_idx) { in memc_stm32_nor_psram_init()
96 memory_type = config->banks[bank_idx].init.MemoryType; in memc_stm32_nor_psram_init()
100 ret = memc_stm32_nor_init(config, &config->banks[bank_idx]); in memc_stm32_nor_psram_init()
105 ret = memc_stm32_psram_init(config, &config->banks[bank_idx]); in memc_stm32_nor_psram_init()
115 memory_type, config->banks[bank_idx].init.NSBank, ret); in memc_stm32_nor_psram_init()
/Zephyr-latest/soc/intel/common/
Dsoc_gpio.c14 static int gpio_info_acpi_get(uint32_t bank_idx, uint32_t field_idx, uint32_t *ret_val) in gpio_info_acpi_get() argument
25 args[0].Integer.Value = bank_idx; in gpio_info_acpi_get()
42 int soc_acpi_gpio_resource_get(int bank_idx, char *hid, char *uid, struct gpio_acpi_res *res) in soc_acpi_gpio_resource_get() argument
79 ret = gpio_info_acpi_get(bank_idx, i, &field_val[i]); in soc_acpi_gpio_resource_get()
Dsoc_gpio.h29 int soc_acpi_gpio_resource_get(int bank_idx, char *hid, char *uid, struct gpio_acpi_res *res);
/Zephyr-latest/drivers/mm/
Dmm_drv_intel_adsp_mtl_tlb.c138 static int sys_mm_drv_hpsram_pwr(uint32_t bank_idx, bool enable, bool non_blocking) in sys_mm_drv_hpsram_pwr() argument
141 if (bank_idx > ace_hpsram_get_bank_count()) { in sys_mm_drv_hpsram_pwr()
145 HPSRAM_REGS(bank_idx)->HSxPGCTL = !enable; in sys_mm_drv_hpsram_pwr()
148 while (HPSRAM_REGS(bank_idx)->HSxPGISTS == enable) { in sys_mm_drv_hpsram_pwr()
174 uint32_t entry_idx, bank_idx; in sys_mm_drv_map_page() local
242 bank_idx = get_hpsram_bank_idx(pa); in sys_mm_drv_map_page()
243 if (sys_mm_drv_bank_page_mapped(&hpsram_bank[bank_idx]) == 1) { in sys_mm_drv_map_page()
244 sys_mm_drv_hpsram_pwr(bank_idx, true, false); in sys_mm_drv_map_page()
337 uint32_t entry_idx, bank_idx; in sys_mm_drv_unmap_page_wflush() local
396 bank_idx = get_hpsram_bank_idx(pa); in sys_mm_drv_unmap_page_wflush()
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_intel.c567 static int gpio_intel_acpi_enum(const struct device *dev, int bank_idx, char *hid, char *uid) in gpio_intel_acpi_enum() argument
573 ret = soc_acpi_gpio_resource_get(bank_idx, hid, uid, &res); in gpio_intel_acpi_enum()