Lines Matching refs:shim

74 	void __iomem *s = sdw->link_res->shim;  in intel_reg_show()
210 void __iomem *shim = sdw->link_res->shim; in intel_shim_glue_to_master_ip() local
215 ioctl = intel_readw(shim, SDW_SHIM_IOCTL(link_id)); in intel_shim_glue_to_master_ip()
218 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_glue_to_master_ip()
222 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_glue_to_master_ip()
226 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_glue_to_master_ip()
231 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_glue_to_master_ip()
241 void __iomem *shim = sdw->link_res->shim; in intel_shim_master_ip_to_glue() local
245 ioctl = intel_readw(shim, SDW_SHIM_IOCTL(link_id)); in intel_shim_master_ip_to_glue()
248 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_master_ip_to_glue()
252 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_master_ip_to_glue()
261 void __iomem *shim = sdw->link_res->shim; in intel_shim_init() local
267 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_init()
271 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_init()
275 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_init()
279 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_init()
284 act = intel_readw(shim, SDW_SHIM_CTMCTL(link_id)); in intel_shim_init()
288 intel_writew(shim, SDW_SHIM_CTMCTL(link_id), act); in intel_shim_init()
294 void __iomem *shim; in intel_shim_check_wake() local
297 shim = sdw->link_res->shim; in intel_shim_check_wake()
298 wake_sts = intel_readw(shim, SDW_SHIM_WAKESTS); in intel_shim_check_wake()
305 void __iomem *shim = sdw->link_res->shim; in intel_shim_wake() local
310 wake_en = intel_readw(shim, SDW_SHIM_WAKEEN); in intel_shim_wake()
315 intel_writew(shim, SDW_SHIM_WAKEEN, wake_en); in intel_shim_wake()
319 intel_writew(shim, SDW_SHIM_WAKEEN, wake_en); in intel_shim_wake()
322 wake_sts = intel_readw(shim, SDW_SHIM_WAKESTS); in intel_shim_wake()
324 intel_writew(shim, SDW_SHIM_WAKESTS, wake_sts); in intel_shim_wake()
331 void __iomem *shim = sdw->link_res->shim; in intel_check_cmdsync_unlocked() local
334 sync_reg = intel_readl(shim, SDW_SHIM_SYNC); in intel_check_cmdsync_unlocked()
341 void __iomem *shim = sdw->link_res->shim; in intel_link_power_up() local
376 sync_reg = intel_readl(shim, SDW_SHIM_SYNC); in intel_link_power_up()
381 intel_writel(shim, SDW_SHIM_SYNC, sync_reg); in intel_link_power_up()
384 link_control = intel_readl(shim, SDW_SHIM_LCTL); in intel_link_power_up()
392 ret = intel_set_bit(shim, SDW_SHIM_LCTL, link_control, cpa_mask); in intel_link_power_up()
399 ret = intel_wait_bit(shim, SDW_SHIM_SYNC, in intel_link_power_up()
424 void __iomem *shim = sdw->link_res->shim; in intel_link_power_down() local
445 link_control = intel_readl(shim, SDW_SHIM_LCTL); in intel_link_power_down()
453 ret = intel_clear_bit(shim, SDW_SHIM_LCTL, link_control, cpa_mask); in intel_link_power_down()
471 void __iomem *shim = sdw->link_res->shim; in intel_shim_sync_arm() local
477 sync_reg = intel_readl(shim, SDW_SHIM_SYNC); in intel_shim_sync_arm()
479 intel_writel(shim, SDW_SHIM_SYNC, sync_reg); in intel_shim_sync_arm()
486 void __iomem *shim = sdw->link_res->shim; in intel_shim_sync_go_unlocked() local
490 sync_reg = intel_readl(shim, SDW_SHIM_SYNC); in intel_shim_sync_go_unlocked()
499 intel_writel(shim, SDW_SHIM_SYNC, sync_reg); in intel_shim_sync_go_unlocked()
523 void __iomem *shim = sdw->link_res->shim; in intel_pdi_init() local
528 pcm_cap = intel_readw(shim, SDW_SHIM_PCMSCAP(link_id)); in intel_pdi_init()
541 void __iomem *shim = sdw->link_res->shim; in intel_pdi_get_ch_cap() local
545 count = intel_readw(shim, SDW_SHIM_PCMSYCHC(link_id, pdi_num)); in intel_pdi_get_ch_cap()
597 void __iomem *shim = sdw->link_res->shim; in intel_pdi_shim_configure() local
622 intel_writew(shim, SDW_SHIM_PCMSYCHM(link_id, pdi->num), pdi_conf); in intel_pdi_shim_configure()