Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ssi/
H A Daspeed_smc.c112 #define R_SEG_ADDR0 (0x30 / 4) macro
249 asc->reg_to_segment(s, s->regs[R_SEG_ADDR0 + i], &seg); in aspeed_smc_flash_overlap()
283 s->regs[R_SEG_ADDR0 + cs] = regval; in aspeed_smc_flash_set_segment_region()
443 asc->reg_to_segment(s, s->regs[R_SEG_ADDR0 + fl->cs], &seg); in aspeed_smc_check_segment_addr()
828 (addr >= R_SEG_ADDR0 && in aspeed_smc_read()
829 addr < R_SEG_ADDR0 + asc->cs_num_max) || in aspeed_smc_read()
1183 } else if (addr >= R_SEG_ADDR0 && in aspeed_smc_write()
1184 addr < R_SEG_ADDR0 + asc->cs_num_max) { in aspeed_smc_write()
1185 int cs = addr - R_SEG_ADDR0; in aspeed_smc_write()
1187 if (value != s->regs[R_SEG_ADDR0 + cs]) { in aspeed_smc_write()
[all …]