Lines Matching defs:pdc
1 /* $NetBSD: pdc.c,v 1.4 2019/01/08 19:14:08 christos Exp $ */
3 /* $OpenBSD: pdc.c,v 1.10 1999/05/06 02:27:44 mickey Exp $ */
61 * Utah $Hdr: pdc.c 1.8 92/03/14$
71 #include <machine/pdc.h>
79 * Interface routines to initialize and access the PDC.
82 pdcio_t pdc;
83 int pdcbuf[64] PDC_ALIGNMENT;/* PDC return buffer */
90 * Initialize PDC and related variables.
100 pdc = (pdcio_t)PAGE0->mem_pdc;
102 err = (*pdc)(PDC_STABLE, PDC_STABLE_SIZE, pdcbuf, 0, 0);
105 err = (*pdc)(PDC_STABLE, PDC_STABLE_READ, 0, &sstor, sstorsiz);
120 (void) (*pdc)(PDC_CHASSIS, PDC_CHASSIS_DISP,
125 * Generic READ/WRITE through IODC. Takes pointer to PDC device
290 if ((err = (pdc)(PDC_IODC, PDC_IODC_READ, pdcbuf, io,
309 if ((pdc)(PDC_MEMMAP, PDC_MEMMAP_HPA, &memmap,
320 if ((err = (pdc)(PDC_IODC, PDC_IODC_READ, &pdcbuf, io,
329 if ((err = (pdc)(PDC_IODC, PDC_IODC_READ, pdcbuf, io,
381 if ((err = (pdc)(PDC_IODC, PDC_IODC_READ, pdcbuf, io,
429 if ((err = (*pdc)(PDC_CACHE, PDC_CACHE_DFLT, &pdc_cacheinfo)) < 0) {