Lines Matching refs:misc_ctrl
37 u32 misc_ctrl; member
264 espi->misc_ctrl = readl(adapter->regs + A_ESPI_MISC_CONTROL); in t1_espi_init()
265 espi->misc_ctrl &= ~MON_MASK; in t1_espi_init()
266 espi->misc_ctrl |= F_MONITORED_DIRECTION; in t1_espi_init()
268 espi->misc_ctrl |= F_MONITORED_INTERFACE; in t1_espi_init()
269 writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL); in t1_espi_init()
298 espi->misc_ctrl = (val & ~MON_MASK) |
299 (espi->misc_ctrl & MON_MASK);
300 writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL);
320 if ((sel != (espi->misc_ctrl & MON_MASK))) { in t1_espi_get_mon()
321 writel(((espi->misc_ctrl & ~MON_MASK) | sel), in t1_espi_get_mon()
324 writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL); in t1_espi_get_mon()
347 if ((espi->misc_ctrl & MON_MASK) != F_MONITORED_DIRECTION) { in t1_espi_get_mon_t204()
348 espi->misc_ctrl = (espi->misc_ctrl & ~MON_MASK) | in t1_espi_get_mon_t204()
350 writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL); in t1_espi_get_mon_t204()
354 writel(espi->misc_ctrl | V_MONITORED_PORT_NUM(i), in t1_espi_get_mon_t204()
360 writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL); in t1_espi_get_mon_t204()