Lines Matching refs:window
1043 * Changes the CRB window to the specified window.
1047 u32 window)
1053 if (adapter->ahw.crb_win == window)
1059 writel(window, offset);
1061 if (window == readl(offset))
1066 "failed to set CRB window to %d\n",
1067 (window == NETXEN_WINDOW_ONE));
1073 adapter->ahw.crb_win = window;
1078 * 1 if window access is needed. 'off' is set to offset from
1080 * 0 if no window access is needed. 'off' is set to 2M addr
1107 * Not in direct map, use crb window
1117 * side effect: lock crb window
1122 u32 window;
1127 window = CRB_HI(off);
1129 writel(window, addr);
1130 if (readl(addr) != window) {
1133 "failed to set CRB window to %d off 0x%lx\n",
1134 window, off);
1280 /* window 1 registers only */
1352 u32 window;
1354 window = OCM_WIN(addr);
1356 writel(window, adapter->ahw.ocm_win_crb);
1360 adapter->ahw.ocm_win = window;