Lines Matching refs:sw
1495 set_window_t sw;
1541 sw.WindowSize = sp->cis_win_size;
1547 sw.WindowSize = (((*offset & ~(PAGESIZE - 1)) &
1564 (int)sw.WindowSize,
1573 sw.window = sp->cis_win_num;
1574 sw.socket = sp->socket_num;
1575 sw.state = (WS_ENABLED | WS_EXACT_MAPIN);
1576 sw.attr.devacc_attr_version = DDI_DEVICE_ATTR_V0;
1577 sw.attr.devacc_attr_endian_flags = DDI_NEVERSWAP_ACC;
1578 sw.attr.devacc_attr_dataorder = DDI_STRICTORDER_ACC;
1586 sw.speed = CIS_DEFAULT_SPEED;
1587 sw.base = 0;
1593 if (SocketServices(SS_SetWindow, &sw) != SUCCESS) {
4919 set_window_t sw;
4932 sw.state = gw.state;
4933 sw.socket = gw.socket;
4934 sw.WindowSize = gw.size;
4936 sw.state = 0;
4937 sw.socket = sn;
4938 sw.WindowSize = wr->Size;
4955 sw.speed = convert_speed.nS;
4957 sw.speed = gw.speed;
4973 sw.state |= WS_ENABLED;
4976 sw.state &= ~WS_ENABLED;
4982 sw.state |= WS_16BIT;
4984 sw.state &= ~WS_16BIT;
4987 sw.window = GET_WINDOW_NUMBER(wh);
4988 sw.base = 0;
4990 cs_set_acc_attributes(&sw, mw->Attributes);
4992 if (SocketServices(SS_SetWindow, &sw) != SUCCESS)
8844 * calling: *sw - pointer to a set_window_t to set attributes in
8848 cs_set_acc_attributes(set_window_t *sw, uint32_t Attributes)
8850 sw->attr.devacc_attr_version = DDI_DEVICE_ATTR_V0;
8854 sw->attr.devacc_attr_endian_flags = DDI_STRUCTURE_LE_ACC;
8857 sw->attr.devacc_attr_endian_flags = DDI_STRUCTURE_BE_ACC;
8861 sw->attr.devacc_attr_endian_flags = DDI_NEVERSWAP_ACC;
8867 sw->attr.devacc_attr_dataorder = DDI_UNORDERED_OK_ACC;
8870 sw->attr.devacc_attr_dataorder = DDI_MERGING_OK_ACC;
8873 sw->attr.devacc_attr_dataorder = DDI_LOADCACHING_OK_ACC;
8876 sw->attr.devacc_attr_dataorder = DDI_STORECACHING_OK_ACC;
8880 sw->attr.devacc_attr_dataorder = DDI_STRICTORDER_ACC;