Searched refs:reg_map (Results 1 – 3 of 3) sorted by relevance
136 struct gfc100_reg_map_t *reg_map = in gfc100_eflash_irq_enable() local140 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() argument170 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() argument184 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 …]
206 struct _qspi_ip6514e_reg_map_t *reg_map = in qspi_ip6514e_cfg_reads_writes() local212 &(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() local268 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() local276 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() local284 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 …]