Lines Matching refs:tile
120 static int acp_suspend_tile(void *cgs_dev, int tile) in acp_suspend_tile() argument
125 if ((tile < ACP_TILE_P1) || (tile > ACP_TILE_DSP2)) { in acp_suspend_tile()
126 pr_err("Invalid ACP tile : %d to suspend\n", tile); in acp_suspend_tile()
130 val = cgs_read_register(cgs_dev, mmACP_PGFSM_READ_REG_0 + tile); in acp_suspend_tile()
135 val = val | (1 << tile); in acp_suspend_tile()
138 0x500 + tile); in acp_suspend_tile()
143 + tile); in acp_suspend_tile()
163 static int acp_resume_tile(void *cgs_dev, int tile) in acp_resume_tile() argument
168 if ((tile < ACP_TILE_P1) || (tile > ACP_TILE_DSP2)) { in acp_resume_tile()
173 val = cgs_read_register(cgs_dev, mmACP_PGFSM_READ_REG_0 + tile); in acp_resume_tile()
178 0x600 + tile); in acp_resume_tile()
182 + tile); in acp_resume_tile()
193 if (tile == ACP_TILE_P1) in acp_resume_tile()
195 else if (tile == ACP_TILE_P2) in acp_resume_tile()