Lines Matching refs:wn
5175 uint32_t wn;
5185 for (wn = 0; wn < cs_globals.num_windows; wn++) {
5193 if ((cw = cs_get_wp(wn)) != NULL) {
5194 iw->window = wn;
5215 window_num = wn;
5221 window_num = wn;
5236 window_num = wn;
5246 window_num = wn;
5259 } /* for (wn) */
5955 unsigned wn;
5959 for (wn = 0; wn < cs_globals.num_windows; wn++) {
5963 if ((cw = cs_get_wp(wn)) != NULL) {
5965 iw->window = wn;
5975 *assigned_window = wn;
5982 } /* for (wn) */
6026 * wn - window number
6044 cs_setup_io_win(uint32_t sn, uint32_t wn, baseaddru_t *Base, uint32_t *NumPorts,
6054 if ((cw = cs_get_wp(wn)) == NULL)
6063 get_window.window = wn;
6097 set_window.window = wn;
8413 cs_get_wp(uint32_t wn)
8420 if ((cw = cs_find_wp(wn)) == NULL)
8428 cmn_err(CE_CONT, "cs_get_wp(): wn=%d cw=%p\n",
8429 (int)wn, (void *)cw);
8444 cs_find_wp(uint32_t wn)
8449 if (cw->window_num == wn)
8456 cmn_err(CE_CONT, "cs_find_wp(): wn=%d window_num=%d cw=%p\n",
8457 (int)wn, (int)cw->window_num, (void *)cw);