Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_b1/Native_Driver/
Dgfc100_eflash_drv.c136 struct gfc100_reg_map_t *reg_map = in gfc100_eflash_irq_enable() local
140 reg_map->irq_enable_set = (irq_mask & GFC100_ALL_IRQ_MASK); in gfc100_eflash_irq_enable()
142 reg_map->irq_enable_clr = (irq_mask & GFC100_ALL_IRQ_MASK); in gfc100_eflash_irq_enable()
168 static inline void clear_irq_status(struct gfc100_reg_map_t *reg_map) in clear_irq_status() argument
170 reg_map->irq_status_clr = GFC100_ALL_IRQ_MASK; in clear_irq_status()
180 static uint32_t check_cmd_result(struct gfc100_reg_map_t *reg_map) in check_cmd_result() argument
184 while (!(status = (reg_map->status & GFC100_CMD_HAS_FINISHED))) {}; in check_cmd_result()
193 clear_irq_status(reg_map); in check_cmd_result()
197 (reg_map->status & GFC100_CMD_SUCCEEDED_OR_FAILED))) {}; in check_cmd_result()
210 static uint32_t trigger_read_cmd(struct gfc100_reg_map_t *reg_map, in trigger_read_cmd() argument
[all …]
Dqspi_ip6514e_drv.c206 struct _qspi_ip6514e_reg_map_t *reg_map = in qspi_ip6514e_cfg_reads_writes() local
212 &(reg_map->device_read_inst) : in qspi_ip6514e_cfg_reads_writes()
213 &(reg_map->device_write_inst); in qspi_ip6514e_cfg_reads_writes()
265 struct _qspi_ip6514e_reg_map_t *reg_map = in qspi_ip6514e_is_idle() local
268 return GET_BIT(reg_map->qspi_cfg, QSPI_CFG_IDLE_POS); in qspi_ip6514e_is_idle()
273 struct _qspi_ip6514e_reg_map_t *reg_map = in qspi_ip6514e_is_enabled() local
276 return GET_BIT(reg_map->qspi_cfg, QSPI_CFG_ENABLE_POS); in qspi_ip6514e_is_enabled()
281 struct _qspi_ip6514e_reg_map_t *reg_map = in qspi_ip6514e_disable() local
284 CLR_BIT(reg_map->qspi_cfg, QSPI_CFG_ENABLE_POS); in qspi_ip6514e_disable()
289 struct _qspi_ip6514e_reg_map_t *reg_map = in qspi_ip6514e_enable() local
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_s1/Native_Driver/
Dqspi_ip6514e_drv.c206 struct _qspi_ip6514e_reg_map_t *reg_map = in qspi_ip6514e_cfg_reads_writes() local
212 &(reg_map->device_read_inst) : in qspi_ip6514e_cfg_reads_writes()
213 &(reg_map->device_write_inst); in qspi_ip6514e_cfg_reads_writes()
265 struct _qspi_ip6514e_reg_map_t *reg_map = in qspi_ip6514e_is_idle() local
268 return GET_BIT(reg_map->qspi_cfg, QSPI_CFG_IDLE_POS); in qspi_ip6514e_is_idle()
273 struct _qspi_ip6514e_reg_map_t *reg_map = in qspi_ip6514e_is_enabled() local
276 return GET_BIT(reg_map->qspi_cfg, QSPI_CFG_ENABLE_POS); in qspi_ip6514e_is_enabled()
281 struct _qspi_ip6514e_reg_map_t *reg_map = in qspi_ip6514e_disable() local
284 CLR_BIT(reg_map->qspi_cfg, QSPI_CFG_ENABLE_POS); in qspi_ip6514e_disable()
289 struct _qspi_ip6514e_reg_map_t *reg_map = in qspi_ip6514e_enable() local
[all …]