Lines Matching refs:slp

393     screenLayoutPtr slp;  in xf86DriverlistFromConfig()  local
411 slp = xf86ConfigLayout.screens; in xf86DriverlistFromConfig()
412 while (slp->screen) { in xf86DriverlistFromConfig()
414 count += slp->screen->num_gpu_devices; in xf86DriverlistFromConfig()
415 slp++; in xf86DriverlistFromConfig()
434 slp = xf86ConfigLayout.screens; in xf86DriverlistFromConfig()
435 while (slp->screen) { in xf86DriverlistFromConfig()
436 modulearray[count] = slp->screen->device->driver; in xf86DriverlistFromConfig()
438 for (k = 0; k < slp->screen->num_gpu_devices; k++) { in xf86DriverlistFromConfig()
439 modulearray[count] = slp->screen->gpu_devices[k]->driver; in xf86DriverlistFromConfig()
442 slp++; in xf86DriverlistFromConfig()
1360 screenLayoutPtr slp; in configLayout() local
1407 slp = xnfcalloc((count + 1), sizeof(screenLayoutRec)); in configLayout()
1408 slp[count].screen = NULL; in configLayout()
1417 slp[count].screen = xnfcalloc(1, sizeof(confScreenRec)); in configLayout()
1422 if (!configScreen(slp[count].screen, adjp->adj_screen, scrnum, in configLayout()
1425 free(slp[count].screen); in configLayout()
1427 free(slp); in configLayout()
1430 slp[count].x = adjp->adj_x; in configLayout()
1431 slp[count].y = adjp->adj_y; in configLayout()
1432 slp[count].refname = adjp->adj_refscreen; in configLayout()
1435 slp[count].where = PosObsolete; in configLayout()
1436 slp[count].topname = adjp->adj_top_str; in configLayout()
1437 slp[count].bottomname = adjp->adj_bottom_str; in configLayout()
1438 slp[count].leftname = adjp->adj_left_str; in configLayout()
1439 slp[count].rightname = adjp->adj_right_str; in configLayout()
1442 slp[count].where = PosAbsolute; in configLayout()
1445 slp[count].where = PosRightOf; in configLayout()
1448 slp[count].where = PosLeftOf; in configLayout()
1451 slp[count].where = PosAbove; in configLayout()
1454 slp[count].where = PosBelow; in configLayout()
1457 slp[count].where = PosRelative; in configLayout()
1471 slp[0].screen = xnfcalloc(1, sizeof(confScreenRec)); in configLayout()
1472 if (!configScreen(slp[0].screen, screen, in configLayout()
1474 free(slp[0].screen); in configLayout()
1475 free(slp); in configLayout()
1485 if (slp[i].refname && in configLayout()
1486 strcmp(slp[i].refname, slp[j].screen->id) == 0) { in configLayout()
1487 slp[i].refscreen = slp[j].screen; in configLayout()
1489 if (slp[i].topname && in configLayout()
1490 strcmp(slp[i].topname, slp[j].screen->id) == 0) { in configLayout()
1491 slp[i].top = slp[j].screen; in configLayout()
1493 if (slp[i].bottomname && in configLayout()
1494 strcmp(slp[i].bottomname, slp[j].screen->id) == 0) { in configLayout()
1495 slp[i].bottom = slp[j].screen; in configLayout()
1497 if (slp[i].leftname && in configLayout()
1498 strcmp(slp[i].leftname, slp[j].screen->id) == 0) { in configLayout()
1499 slp[i].left = slp[j].screen; in configLayout()
1501 if (slp[i].rightname && in configLayout()
1502 strcmp(slp[i].rightname, slp[j].screen->id) == 0) { in configLayout()
1503 slp[i].right = slp[j].screen; in configLayout()
1506 if (slp[i].where != PosObsolete in configLayout()
1507 && slp[i].where != PosAbsolute && !slp[i].refscreen) { in configLayout()
1509 slp[i].refname); in configLayout()
1510 slp[i].where = PosAbsolute; in configLayout()
1511 slp[i].x = 0; in configLayout()
1512 slp[i].y = 0; in configLayout()
1546 servlayoutp->screens = slp; in configLayout()
1555 free(slp[saved_count].screen); in configLayout()
1557 free(slp); in configLayout()
1572 screenLayoutPtr slp; in configImpliedLayout() local
1599 slp = xnfcalloc(1, 2 * sizeof(screenLayoutRec)); in configImpliedLayout()
1600 slp[0].screen = xnfcalloc(1, sizeof(confScreenRec)); in configImpliedLayout()
1601 slp[1].screen = NULL; in configImpliedLayout()
1602 if (!configScreen(slp[0].screen, conf_screen, 0, from, TRUE)) { in configImpliedLayout()
1603 free(slp); in configImpliedLayout()
1607 servlayoutp->screens = slp; in configImpliedLayout()