Lines Matching refs:ob_win
899 if (!priv->ob_win[i].active) { in tsi721_obw_alloc()
901 new_win = &priv->ob_win[i]; in tsi721_obw_alloc()
911 win = &priv->ob_win[i]; in tsi721_obw_alloc()
949 struct tsi721_ob_win *ob_win; in tsi721_map_outb_win() local
978 ob_win = &priv->ob_win[obw]; in tsi721_map_outb_win()
979 ob_win->destid = destid; in tsi721_map_outb_win()
980 ob_win->rstart = rstart; in tsi721_map_outb_win()
982 "allocated OBW%d @%llx", obw, ob_win->base); in tsi721_map_outb_win()
1018 iowrite32((u32)(ob_win->base >> 32), priv->regs + TSI721_OBWINUB(obw)); in tsi721_map_outb_win()
1019 iowrite32((u32)(ob_win->base & TSI721_OBWINLB_BA) | TSI721_OBWINLB_WEN, in tsi721_map_outb_win()
1022 *laddr = ob_win->base; in tsi721_map_outb_win()
1030 struct tsi721_ob_win *ob_win; in tsi721_unmap_outb_win() local
1036 ob_win = &priv->ob_win[i]; in tsi721_unmap_outb_win()
1038 if (ob_win->active && in tsi721_unmap_outb_win()
1039 ob_win->destid == destid && ob_win->rstart == rstart) { in tsi721_unmap_outb_win()
1041 "free OBW%d @%llx", i, ob_win->base); in tsi721_unmap_outb_win()
1042 ob_win->active = false; in tsi721_unmap_outb_win()
1044 ob_win->pbar->free += ob_win->size; in tsi721_unmap_outb_win()
1092 priv->ob_win[i].active = false; in tsi721_init_pc2sr_mapping()