/src/sys/arch/i386/pnpbios/ |
fdc_pnpbios.c | 85 struct fdc_pnpbios_softc *pdc = device_private(self); local in function:fdc_pnpbios_attach 86 struct fdc_softc *fdc = &pdc->sc_fdc; 96 &pdc->sc_baseioh)) { 115 fdc->sc_ioh = pdc->sc_baseioh; 120 if (bus_space_subregion(fdc->sc_iot, pdc->sc_baseioh, 2, 4,
|
/src/sys/arch/prep/pnpbus/ |
fdc_pnpbus.c | 87 struct fdc_pnpbus_softc *pdc = device_private(self); local in function:fdc_pnpbus_attach 88 struct fdc_softc *fdc = &pdc->sc_fdc; 95 if (pnpbus_io_map(&pna->pna_res, 0, &fdc->sc_iot, &pdc->sc_baseioh)) { 114 fdc->sc_ioh = pdc->sc_baseioh; 119 if (bus_space_subregion(fdc->sc_iot, pdc->sc_baseioh, 2, 4,
|
/src/sys/dev/fdt/ |
fdt_powerdomain.c | 65 struct fdtbus_powerdomain_controller *pdc; local in function:fdtbus_register_powerdomain_controller 73 pdc = kmem_alloc(sizeof(*pdc), KM_SLEEP); 74 pdc->pdc_dev = dev; 75 pdc->pdc_phandle = phandle; 76 pdc->pdc_funcs = funcs; 77 pdc->pdc_cells = cells; 79 LIST_INSERT_HEAD(&fdtbus_powerdomain_controllers, pdc, pdc_next); 87 struct fdtbus_powerdomain_controller *pdc; local in function:fdtbus_powerdomain_lookup 89 LIST_FOREACH(pdc, &fdtbus_powerdomain_controllers, pdc_next) 109 struct fdtbus_powerdomain_controller *pdc = local in function:fdtbus_powerdomain_enable_internal [all...] |
/src/sys/arch/hppa/stand/common/ |
pdc.c | 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; variable in typeref:typename:pdcio_t 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) [all...] |
/src/sys/arch/vax/boot/boot/ |
if_de.c | 75 static volatile struct de_cdata *dc, *pdc; variable in typeref:typename:volatile struct de_cdata ** 112 pdc = (struct de_cdata *)ubmap(0, (int)dc, sizeof(struct de_cdata)); 116 DE_WCSR(DE_PCSR2, LOWORD(pdc)); 117 DE_WCSR(DE_PCSR3, HIWORD(pdc)); 132 rp->r_segbl = LOWORD(&pdc->dc_rbuf[i][0]); 133 rp->r_segbh = HIWORD(&pdc->dc_rbuf[i][0]); 140 rp->r_segbl = LOWORD(&pdc->dc_xbuf[i][0]); 141 rp->r_segbh = HIWORD(&pdc->dc_xbuf[i][0]); 149 dc->dc_pcbb.pcbb2 = LOWORD(&pdc->dc_udbbuf); 150 dc->dc_pcbb.pcbb4 = HIWORD(&pdc->dc_udbbuf) [all...] |
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
qcom-sdx55.dtsi | 448 pdc: interrupt-controller@b210000 { label 449 compatible = "qcom,sdx55-pdc", "qcom,pdc"; 451 qcom,pdc-ranges = <0 179 52>;
|
/src/sys/dev/qbus/ |
if_de.c | 310 struct de_cdata *dc, *pdc; local in function:deinit 347 pdc = sc->sc_pdedata; 350 dc->dc_pcbb.pcbb2 = LOWORD(&pdc->dc_udbbuf); 351 dc->dc_pcbb.pcbb4 = HIWORD(&pdc->dc_udbbuf); 353 dc->dc_udbbuf.b_tdrbl = LOWORD(&pdc->dc_xrent[0]); 354 dc->dc_udbbuf.b_tdrbh = HIWORD(&pdc->dc_xrent[0]); 357 dc->dc_udbbuf.b_rdrbl = LOWORD(&pdc->dc_rrent[0]); 358 dc->dc_udbbuf.b_rdrbh = HIWORD(&pdc->dc_rrent[0]);
|
/src/sys/dev/acpi/ |
qcomgpio.c | 325 aprint_error_dev(sc->sc_dev, "PDC _DSM failed: %s\n", 333 u_int irq, pdc; local in function:qcomgpio_acpi_fill_pdcmap 346 for (pdc = 0; pdc < sc->sc_npdcmap; pdc++) { 347 if (sc->sc_pdcmap[pdc].pm_irq == irq) { 352 pdc * 64) { 359 sc->sc_pdcmap[pdc].pm_pin = pin; 366 "PDC irq %#x -> pin %d%s%s\n", irq, pin, 368 pdc == sc->sc_npdcmap ? " (unused)" : "") [all...] |
/src/sys/arch/hppa/dev/ |
pdc.c | 1 /* $NetBSD: pdc.c,v 1.7 2025/09/07 21:45:13 thorpej Exp $ */ 3 /* $OpenBSD: pdc.c,v 1.14 2001/04/29 21:05:43 mickey Exp $ */ 32 __KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.7 2025/09/07 21:45:13 thorpej Exp $"); 46 #include <machine/pdc.h> 61 pdcio_t pdc; variable in typeref:typename:pdcio_t 75 CFATTACH_DECL_NEW(pdc, sizeof(pdcsoftc_t), 129 pdc = (pdcio_t)PAGE0->mem_pdc; 135 if ((err = pdc_call((iodcio_t)pdc, 0, PDC_IODC, PDC_IODC_READ, 137 (err = pdc_call((iodcio_t)pdc, 0, PDC_IODC, PDC_IODC_READ, 149 /* XXX make pdc current console * [all...] |
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/qcom/ |
sc7280.dtsi | 16 #include <dt-bindings/reset/qcom,sdm845-pdc.h> 1295 <&pdc 13 IRQ_TYPE_EDGE_RISING>, 1296 <&pdc 12 IRQ_TYPE_EDGE_RISING>; 1371 <&pdc 14 IRQ_TYPE_EDGE_BOTH>, 1372 <&pdc 15 IRQ_TYPE_EDGE_BOTH>, 1373 <&pdc 17 IRQ_TYPE_LEVEL_HIGH>; 1427 pdc: interrupt-controller@b220000 { label 1428 compatible = "qcom,sc7280-pdc", "qcom,pdc"; 1430 qcom,pdc-ranges = <0 480 40>, <40 140 14>, <54 263 1> [all...] |
sm8350.dtsi | 755 pdc: interrupt-controller@b220000 { label 756 compatible = "qcom,sm8350-pdc", "qcom,pdc"; 758 qcom,pdc-ranges = <0 480 40>, <40 140 14>, <54 263 1>, <55 306 4>, 772 interrupts = <&pdc 26 IRQ_TYPE_LEVEL_HIGH>, 773 <&pdc 28 IRQ_TYPE_LEVEL_HIGH>; 783 interrupts = <&pdc 27 IRQ_TYPE_LEVEL_HIGH>, 784 <&pdc 29 IRQ_TYPE_LEVEL_HIGH>; 809 interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; 827 wakeup-parent = <&pdc>; [all...] |
sc7180.dtsi | 21 #include <dt-bindings/reset/qcom,sdm845-pdc.h> 1493 wakeup-parent = <&pdc>; 2774 <&pdc 6 IRQ_TYPE_LEVEL_HIGH>, 2775 <&pdc 8 IRQ_TYPE_LEVEL_HIGH>, 2776 <&pdc 9 IRQ_TYPE_LEVEL_HIGH>; 3177 pdc: interrupt-controller@b220000 { label 3178 compatible = "qcom,sc7180-pdc", "qcom,pdc"; 3180 qcom,pdc-ranges = <0 480 94>, <94 609 31>, <125 63 1>; 3187 compatible = "qcom,sc7180-pdc-global", "qcom,sdm845-pdc-global" [all...] |
sm8250.dtsi | 2080 interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>, 2434 <&pdc 14 IRQ_TYPE_EDGE_BOTH>, 2435 <&pdc 15 IRQ_TYPE_EDGE_BOTH>, 2436 <&pdc 17 IRQ_TYPE_LEVEL_HIGH>; 2485 <&pdc 12 IRQ_TYPE_EDGE_BOTH>, 2486 <&pdc 13 IRQ_TYPE_EDGE_BOTH>, 2487 <&pdc 16 IRQ_TYPE_LEVEL_HIGH>; 2869 pdc: interrupt-controller@b220000 { label 2870 compatible = "qcom,sm8250-pdc", "qcom,pdc"; [all...] |