Lines Matching refs:sync_reg
331 int sync_reg; in intel_check_cmdsync_unlocked() local
333 sync_reg = intel_readl(shim, SDW_SHIM_SYNC); in intel_check_cmdsync_unlocked()
334 return !!(sync_reg & SDW_SHIM_SYNC_CMDSYNC_MASK); in intel_check_cmdsync_unlocked()
349 u32 sync_reg; in intel_link_power_up() local
400 sync_reg = intel_readl(shim, SDW_SHIM_SYNC); in intel_link_power_up()
401 u32p_replace_bits(&sync_reg, syncprd, SDW_SHIM_SYNC_SYNCPRD); in intel_link_power_up()
404 sync_reg |= SDW_SHIM_SYNC_SYNCCPU; in intel_link_power_up()
405 intel_writel(shim, SDW_SHIM_SYNC, sync_reg); in intel_link_power_up()
503 u32 sync_reg; in intel_shim_sync_arm() local
508 sync_reg = intel_readl(shim, SDW_SHIM_SYNC); in intel_shim_sync_arm()
509 sync_reg |= (SDW_SHIM_SYNC_CMDSYNC << sdw->instance); in intel_shim_sync_arm()
510 intel_writel(shim, SDW_SHIM_SYNC, sync_reg); in intel_shim_sync_arm()
518 u32 sync_reg; in intel_shim_sync_go_unlocked() local
521 sync_reg = intel_readl(shim, SDW_SHIM_SYNC); in intel_shim_sync_go_unlocked()
528 sync_reg |= SDW_SHIM_SYNC_SYNCGO; in intel_shim_sync_go_unlocked()
530 intel_writel(shim, SDW_SHIM_SYNC, sync_reg); in intel_shim_sync_go_unlocked()