Lines Matching refs:addr_ftr_ctrl
1348 u32 addr_ftr_ctrl; in aspeed_spi_write_addr_ftr_sanity() local
1354 addr_ftr_ctrl = readl(&priv->regs->write_addr_filter_ctrl); in aspeed_spi_write_addr_ftr_sanity()
1356 if ((addr_ftr_ctrl & (0x3 << (i * 2))) == 0) in aspeed_spi_write_addr_ftr_sanity()
1374 u32 addr_ftr_ctrl; in aspeed_add_write_addr_ftr() local
1396 addr_ftr_ctrl = readl(&priv->regs->write_addr_filter_ctrl); in aspeed_add_write_addr_ftr()
1398 if ((addr_ftr_ctrl & (0x3 << (i * 2))) == 0) { in aspeed_add_write_addr_ftr()
1408 addr_ftr_ctrl |= 0x3 << (i * 2); in aspeed_add_write_addr_ftr()
1409 writel(addr_ftr_ctrl, &priv->regs->write_addr_filter_ctrl); in aspeed_add_write_addr_ftr()
1429 u32 addr_ftr_ctrl; in aspeed_remove_write_addr_ftr() local
1451 addr_ftr_ctrl = readl(&priv->regs->write_addr_filter_ctrl); in aspeed_remove_write_addr_ftr()
1454 if ((addr_ftr_ctrl & bit_mask) != bit_mask) in aspeed_remove_write_addr_ftr()
1464 addr_ftr_ctrl &= ~(0x3 << (i * 2)); in aspeed_remove_write_addr_ftr()
1465 writel(addr_ftr_ctrl, &priv->regs->write_addr_filter_ctrl); in aspeed_remove_write_addr_ftr()