Symbol: pcs
sys/arch/alpha/alpha/cpu.c
225
struct pcs *p;
sys/arch/alpha/alpha/cpu.c
458
struct pcs *pcsp, *primary_pcsp;
sys/arch/alpha/alpha/cpu.c
554
struct pcs *pcsp = LOCATE_PCS(hwrpb, cpu_id);
sys/arch/alpha/alpha/cpu.c
617
struct pcs *pcsp = LOCATE_PCS(hwrpb, cpu_id);
sys/arch/alpha/alpha/cpu.c
661
struct pcs *pcsp;
sys/arch/alpha/alpha/machdep.c
717
struct pcs *pcsp;
sys/arch/alpha/alpha/mainbus.c
71
struct pcs *pcsp;
sys/arch/alpha/alpha/prom.c
160
struct pcs *p;
sys/arch/alpha/alpha/prom.c
201
struct pcs *p;
sys/arch/alpha/alpha/prom.c
216
struct pcs *p;
sys/arch/alpha/alpha/prom.c
234
struct pcs *p;
sys/arch/alpha/include/rpb.h
217
#define LOCATE_PCS(h,cpunumber) ((struct pcs *) \
sys/arch/alpha/stand/OSFpal.c
46
struct pcs *p;
sys/dev/ic/gem.c
1412
bus_space_handle_t pcs = sc->sc_h1;
sys/dev/ic/gem.c
1441
return bus_space_read_4(t, pcs, reg);
sys/dev/ic/gem.c
1449
bus_space_handle_t pcs = sc->sc_h1;
sys/dev/ic/gem.c
1462
bus_space_write_4(t, pcs, GEM_MII_CONFIG, 0);
sys/dev/ic/gem.c
1482
bus_space_write_4(t, pcs, reg, val);
sys/dev/ic/gem.c
1485
gem_bitwait(sc, pcs, GEM_MII_CONTROL, GEM_MII_CONTROL_RESET, 0);
sys/dev/ic/gem.c
1488
bus_space_write_4(t, pcs, GEM_MII_SLINK_CONTROL,
sys/dev/ic/gem.c
1490
bus_space_write_4(t, pcs, GEM_MII_CONFIG,
sys/dev/ic/vga.c
1044
bus_space_tag_t memt = scr->pcs.hdl->ph_memt;
sys/dev/ic/vga.c
1045
bus_space_handle_t memh = scr->pcs.hdl->ph_memh;
sys/dev/ic/vga.c
1046
int ncols = scr->pcs.type->ncols;
sys/dev/ic/vga.c
1054
if (scr->pcs.active) {
sys/dev/ic/vga.c
1055
if (dstrow == 0 && (srcrow + nrows == scr->pcs.type->nrows)) {
sys/dev/ic/vga.c
1057
int cursoron = scr->pcs.cursoron;
sys/dev/ic/vga.c
1061
pcdisplay_cursor(&scr->pcs, 0,
sys/dev/ic/vga.c
1062
scr->pcs.vc_crow, scr->pcs.vc_ccol);
sys/dev/ic/vga.c
1065
if ((scr->pcs.dispoffset + srcrow * ncols * 2)
sys/dev/ic/vga.c
1067
scr->pcs.dispoffset += srcrow * ncols * 2;
sys/dev/ic/vga.c
1070
scr->pcs.dispoffset + srcoff * 2,
sys/dev/ic/vga.c
1073
scr->vga_rollover = scr->pcs.dispoffset;
sys/dev/ic/vga.c
1074
scr->pcs.dispoffset = scr->mindispoffset;
sys/dev/ic/vga.c
1076
scr->pcs.visibleoffset = scr->pcs.dispoffset;
sys/dev/ic/vga.c
1078
scr->pcs.dispoffset >> 9);
sys/dev/ic/vga.c
1080
scr->pcs.dispoffset >> 1);
sys/dev/ic/vga.c
1084
pcdisplay_cursor(&scr->pcs, 1,
sys/dev/ic/vga.c
1085
scr->pcs.vc_crow, scr->pcs.vc_ccol);
sys/dev/ic/vga.c
1089
scr->pcs.dispoffset + srcoff * 2,
sys/dev/ic/vga.c
1090
memh, scr->pcs.dispoffset + dstoff * 2,
sys/dev/ic/vga.c
1094
bcopy(&scr->pcs.mem[srcoff], &scr->pcs.mem[dstoff],
sys/dev/ic/vga.c
1141
KASSERT(VGA_SCREEN_CANTWOFONTS(scr->pcs.type));
sys/dev/ic/vga.c
1160
if (scr->pcs.active && scr->pcs.visibleoffset != scr->pcs.dispoffset)
sys/dev/ic/vga.c
351
const struct wsscreen_descr *type = scr->pcs.type;
sys/dev/ic/vga.c
405
scr->pcs.hdl = (struct pcdisplay_handle *)&vc->hdl;
sys/dev/ic/vga.c
406
scr->pcs.type = type;
sys/dev/ic/vga.c
407
scr->pcs.active = 0;
sys/dev/ic/vga.c
419
scr->pcs.dispoffset = vga_6845_read(&vc->hdl, startadrh) << 9;
sys/dev/ic/vga.c
420
scr->pcs.dispoffset |= vga_6845_read(&vc->hdl, startadrl) << 1;
sys/dev/ic/vga.c
423
if (scr->pcs.dispoffset < scr->mindispoffset ||
sys/dev/ic/vga.c
424
scr->pcs.dispoffset > scr->maxdispoffset)
sys/dev/ic/vga.c
425
scr->pcs.dispoffset = scr->mindispoffset;
sys/dev/ic/vga.c
428
scr->pcs.dispoffset = scr->mindispoffset;
sys/dev/ic/vga.c
430
scr->pcs.visibleoffset = scr->pcs.dispoffset;
sys/dev/ic/vga.c
433
scr->pcs.vc_crow = cpos / type->ncols;
sys/dev/ic/vga.c
434
scr->pcs.vc_ccol = cpos % type->ncols;
sys/dev/ic/vga.c
435
pcdisplay_cursor_init(&scr->pcs, existing);
sys/dev/ic/vga.c
452
scr->pcs.mem = NULL;
sys/dev/ic/vga.c
587
vga_console_screen.pcs.active = 1;
sys/dev/ic/vga.c
591
vga_console_screen.pcs.vc_ccol,
sys/dev/ic/vga.c
592
vga_console_screen.pcs.vc_crow,
sys/dev/ic/vga.c
683
scr->pcs.mem = mallocarray(scr->pcs.type->ncols,
sys/dev/ic/vga.c
684
scr->pcs.type->nrows * 2, M_DEVBUF, M_WAITOK);
sys/dev/ic/vga.c
691
scr->pcs.active = 1;
sys/dev/ic/vga.c
695
scr->pcs.mem = mallocarray(type->ncols,
sys/dev/ic/vga.c
697
pcdisplay_eraserows(&scr->pcs, 0, type->nrows, *defattrp);
sys/dev/ic/vga.c
701
*curxp = scr->pcs.vc_ccol;
sys/dev/ic/vga.c
702
*curyp = scr->pcs.vc_crow;
sys/dev/ic/vga.c
721
free(LIST_FIRST(&vc->screens)->pcs.mem, M_DEVBUF, 0);
sys/dev/ic/vga.c
725
free(vs->pcs.mem, M_DEVBUF, 0);
sys/dev/ic/vga.c
791
type = scr->pcs.type;
sys/dev/ic/vga.c
798
if (!oldscr->pcs.active)
sys/dev/ic/vga.c
800
if (oldscr->pcs.type != vc->currenttype)
sys/dev/ic/vga.c
803
if (scr->pcs.active)
sys/dev/ic/vga.c
810
const struct wsscreen_descr *oldtype = oldscr->pcs.type;
sys/dev/ic/vga.c
812
oldscr->pcs.active = 0;
sys/dev/ic/vga.c
814
oldscr->pcs.dispoffset, oldscr->pcs.mem,
sys/dev/ic/vga.c
827
scr->pcs.visibleoffset = scr->pcs.dispoffset = scr->mindispoffset;
sys/dev/ic/vga.c
828
if (!oldscr || (scr->pcs.dispoffset != oldscr->pcs.dispoffset)) {
sys/dev/ic/vga.c
829
vga_6845_write(vh, startadrh, scr->pcs.dispoffset >> 9);
sys/dev/ic/vga.c
830
vga_6845_write(vh, startadrl, scr->pcs.dispoffset >> 1);
sys/dev/ic/vga.c
834
scr->pcs.dispoffset, scr->pcs.mem,
sys/dev/ic/vga.c
836
scr->pcs.active = 1;
sys/dev/ic/vga.c
841
pcdisplay_cursor_reset(&scr->pcs);
sys/dev/ic/vga.c
842
pcdisplay_cursor(&scr->pcs, scr->pcs.cursoron,
sys/dev/ic/vga.c
843
scr->pcs.vc_crow, scr->pcs.vc_ccol);
sys/dev/ic/vga.c
953
if (scr->pcs.visibleoffset == scr->pcs.dispoffset)
sys/dev/ic/vga.c
956
scr->pcs.visibleoffset = scr->pcs.dispoffset; /* reset */
sys/dev/ic/vga.c
960
int margin = scr->pcs.type->ncols * 2;
sys/dev/ic/vga.c
963
vga_scr_end = (scr->pcs.dispoffset + scr->pcs.type->ncols *
sys/dev/ic/vga.c
964
scr->pcs.type->nrows * 2);
sys/dev/ic/vga.c
967
we = scr->vga_rollover + scr->pcs.type->ncols * 2;
sys/dev/ic/vga.c
972
p = (scr->pcs.visibleoffset - ul + we) % we + lines *
sys/dev/ic/vga.c
973
(scr->pcs.type->ncols * 2);
sys/dev/ic/vga.c
974
st = (scr->pcs.dispoffset - ul + we) % we;
sys/dev/ic/vga.c
979
scr->pcs.visibleoffset = (p + ul) % we;
sys/dev/ic/vga.c
983
vga_6845_write(vh, startadrh, scr->pcs.visibleoffset >> 9);
sys/dev/ic/vga.c
984
vga_6845_write(vh, startadrl, scr->pcs.visibleoffset >> 1);
sys/dev/ic/vgavar.h
44
struct pcdisplayscreen pcs;
sys/dev/isa/pcdisplay.c
191
dc->pcs.hdl = ph;
sys/dev/isa/pcdisplay.c
192
dc->pcs.type = &pcdisplay_scr;
sys/dev/isa/pcdisplay.c
193
dc->pcs.active = 1;
sys/dev/isa/pcdisplay.c
194
dc->pcs.mem = NULL;
sys/dev/isa/pcdisplay.c
203
dc->pcs.dispoffset = 0;
sys/dev/isa/pcdisplay.c
204
dc->pcs.visibleoffset = 0;
sys/dev/isa/pcdisplay.c
206
dc->pcs.vc_crow = cpos / pcdisplay_scr.ncols;
sys/dev/isa/pcdisplay.c
207
dc->pcs.vc_ccol = cpos % pcdisplay_scr.ncols;
sys/dev/isa/pcdisplay.c
208
pcdisplay_cursor_init(&dc->pcs, 1);
sys/dev/isa/pcdisplay.c
303
pcdisplay_console_dc.pcs.vc_ccol,
sys/dev/isa/pcdisplay.c
304
pcdisplay_console_dc.pcs.vc_crow,
sys/dev/isa/pcdisplay.c
50
struct pcdisplayscreen pcs;
sys/dev/pci/if_cas.c
1546
bus_space_handle_t pcs = sc->sc_memh;
sys/dev/pci/if_cas.c
1575
return bus_space_read_4(t, pcs, reg);
sys/dev/pci/if_cas.c
1583
bus_space_handle_t pcs = sc->sc_memh;
sys/dev/pci/if_cas.c
1596
bus_space_write_4(t, pcs, CAS_MII_CONFIG, 0);
sys/dev/pci/if_cas.c
1616
bus_space_write_4(t, pcs, reg, val);
sys/dev/pci/if_cas.c
1619
cas_bitwait(sc, pcs, CAS_MII_CONTROL, CAS_MII_CONTROL_RESET, 0);
sys/dev/pci/if_cas.c
1622
bus_space_write_4(t, pcs, CAS_MII_CONFIG,
sys/dev/pci/if_em_hw.c
4560
uint32_t pcs;
sys/dev/pci/if_em_hw.c
4571
pcs = E1000_READ_REG(hw, PCS_LSTAT);
sys/dev/pci/if_em_hw.c
4578
if ((pcs & E1000_PCS_LSTS_LINK_OK) && (pcs & E1000_PCS_LSTS_SYNK_OK)) {
sys/dev/pci/if_em_hw.c
4582
if (pcs & E1000_PCS_LSTS_SPEED_1000) {
sys/dev/pci/if_em_hw.c
4584
} else if (pcs & E1000_PCS_LSTS_SPEED_100) {
sys/dev/pci/if_em_hw.c
4591
if (pcs & E1000_PCS_LSTS_DUPLEX_FULL) {
sys/dev/pci/vga_pci.c
376
if (scr != NULL && scr->pcs.active && scr->pcs.mem != NULL)
sys/dev/pci/vga_pci.c
378
scr->pcs.dispoffset, scr->pcs.mem,
sys/dev/pci/vga_pci.c
379
scr->pcs.type->ncols * scr->pcs.type->nrows);
sys/dev/pci/vga_pci.c
442
if (scr != NULL && scr->pcs.active && scr->pcs.mem != NULL)
sys/dev/pci/vga_pci.c
444
scr->pcs.dispoffset, scr->pcs.mem,
sys/dev/pci/vga_pci.c
445
scr->pcs.type->ncols * scr->pcs.type->nrows);
sys/dev/pci/yds.c
396
size_t pcs, rcs, ecs, ws, memsize;
sys/dev/pci/yds.c
405
pcs = YREAD4(sc, YDS_PLAY_CTRLSIZE) * sizeof(u_int32_t);
sys/dev/pci/yds.c
411
DPRINTF(("play control size : %d\n", (unsigned int)pcs));
sys/dev/pci/yds.c
416
if (pcs != sizeof(struct play_slot_ctrl_bank)) {
sys/dev/pci/yds.c
418
sc->sc_dev.dv_xname, (unsigned int)pcs,
sys/dev/pci/yds.c
428
memsize = N_PLAY_SLOTS*N_PLAY_SLOT_CTRL_BANK*pcs +
sys/dev/pci/yds.c
478
cb += pcs;
sys/dev/pci/yds.c
481
cb += pcs;