Lines Matching defs:window
78 /* doccheck: Probe a given memory window to see if there's a DiskOnChip present */
82 void __iomem *window=potential;
91 /* Check for 0x55 0xAA signature at beginning of window,
93 if (ReadDOC(window, Sig1) != 0x55 || ReadDOC(window, Sig2) != 0xaa)
106 tmp2 = ReadDOC(window, DOCControl);
110 window, DOCControl);
112 window, DOCControl);
116 window, DOCControl);
118 window, DOCControl);
124 ChipID = ReadDOC(window, ChipID);
129 tmp = ReadDOC(window, 2k_ECCStatus) & DOC_TOGGLE_BIT;
130 tmpb = ReadDOC(window, 2k_ECCStatus) & DOC_TOGGLE_BIT;
131 tmpc = ReadDOC(window, 2k_ECCStatus) & DOC_TOGGLE_BIT;
138 ReadDOC(window, ChipID);
139 ReadDOC(window, ChipID);
140 if (ReadDOC(window, ChipID) != DOC_ChipID_DocMil)
144 tmp = ReadDOC(window, ECCConf) & DOC_TOGGLE_BIT;
145 tmpb = ReadDOC(window, ECCConf) & DOC_TOGGLE_BIT;
146 tmpc = ReadDOC(window, ECCConf) & DOC_TOGGLE_BIT;
158 ReadDOC(window, Mplus_Power);
163 WriteDOC(tmp, window, Mplus_DOCControl);
164 WriteDOC(~tmp, window, Mplus_CtrlConfirm);
170 WriteDOC(tmp, window, Mplus_DOCControl);
171 WriteDOC(~tmp, window, Mplus_CtrlConfirm);
175 ChipID = ReadDOC(window, ChipID);
181 tmp = ReadDOC(window, Mplus_Toggle) & DOC_TOGGLE_BIT;
182 tmpb = ReadDOC(window, Mplus_Toggle) & DOC_TOGGLE_BIT;
183 tmpc = ReadDOC(window, Mplus_Toggle) & DOC_TOGGLE_BIT;
201 WriteDOC(tmp2, window, DOCControl);
210 WriteDOC(tmp2, window, DOCControl);