Searched refs:AST2700_SEG_ADDR_MASK (Results 1 – 1 of 1) sorted by relevance
2034 #define AST2700_SEG_ADDR_MASK 0xffff0000 macro2046 reg |= (seg->addr & AST2700_SEG_ADDR_MASK) >> 16; /* start offset */ in aspeed_2700_smc_segment_to_reg()2047 reg |= (seg->addr + seg->size - 1) & AST2700_SEG_ADDR_MASK; /* end offset */ in aspeed_2700_smc_segment_to_reg()2054 uint32_t start_offset = (reg << 16) & AST2700_SEG_ADDR_MASK; in aspeed_2700_smc_reg_to_segment()2055 uint32_t end_offset = reg & AST2700_SEG_ADDR_MASK; in aspeed_2700_smc_reg_to_segment()