Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ssi/
H A Daspeed_smc.c1874 #define AST1030_SEG_ADDR_MASK 0x0ff80000 macro
1886 reg |= (seg->addr & AST1030_SEG_ADDR_MASK) >> 16; /* start offset */ in aspeed_1030_smc_segment_to_reg()
1887 reg |= (seg->addr + seg->size - 1) & AST1030_SEG_ADDR_MASK; /* end offset */ in aspeed_1030_smc_segment_to_reg()
1894 uint32_t start_offset = (reg << 16) & AST1030_SEG_ADDR_MASK; in aspeed_1030_smc_reg_to_segment()
1895 uint32_t end_offset = reg & AST1030_SEG_ADDR_MASK; in aspeed_1030_smc_reg_to_segment()