/dragonfly/sys/dev/serial/sio/ |
H A D | sio.c | 561 Port_t iobase; in sioprobe() local 982 Port_t iobase; in sioattach() local 2921 siocntxwait(iobase); in siocnopen() 2956 siocntxwait(iobase); 3009 Port_t iobase; in siocnprobe() local 3033 iobase = port; in siocnprobe() 3182 Port_t iobase; in siocncheckc() local 3190 iobase = siocniobase; in siocncheckc() 3215 Port_t iobase; in siocngetc() local 3247 Port_t iobase; in siocnputc() local [all …]
|
/dragonfly/sys/bus/pci/ |
H A D | pci_pci.c | 117 return (sc->iobase > 0 && sc->iobase < sc->iolimit); in pcib_is_io_open() 165 sc->iobase = PCI_PPBIOBASE(pci_read_config(dev, PCIR_IOBASEH_1, 2), in pcib_attach_common() 168 sc->iobase = PCI_PPBIOBASE(0, pci_read_config(dev, PCIR_IOBASEL_1, 1)); in pcib_attach_common() 278 device_printf(dev, " I/O decode 0x%x-0x%x\n", sc->iobase, sc->iolimit); in pcib_attach_common() 410 ok = (start >= sc->iobase && end <= sc->iolimit); in pcib_alloc_resource() 421 if (start < sc->iobase) in pcib_alloc_resource() 422 start = sc->iobase; in pcib_alloc_resource() 431 if (start < sc->iobase && end > sc->iolimit) { in pcib_alloc_resource() 432 start = sc->iobase; in pcib_alloc_resource() 447 name, suffix, start, end, sc->iobase, sc->iolimit); in pcib_alloc_resource()
|
H A D | pcib_private.h | 59 uint32_t iobase; /* base address of port window */ member
|
H A D | pcivar.h | 189 uint32_t iobase; /* base address of port window */ member
|
/dragonfly/sys/dev/powermng/wbsio/ |
H A D | wbsio.c | 214 uint16_t iobase; in wbsio_attach() local 245 iobase = (reg1 << 8) | (reg0 & ~0x7); in wbsio_attach() 246 device_printf(dev, "hardware monitor iobase is 0x%x\n", iobase); in wbsio_attach() 251 if (iobase == 0) { in wbsio_attach() 261 if (bus_set_resource(child, SYS_RES_IOPORT, 0, iobase, 8, -1)) { in wbsio_attach()
|
/dragonfly/sys/dev/misc/nsclpcsio/ |
H A D | nsclpcsio_isa.c | 289 int iobase; in nsclpcsio_isa_attach() local 317 iobase = (nsread(sc->sc_iot, sc->sc_ioh, in nsclpcsio_isa_attach() 320 iobase |= nsread(sc->sc_iot, sc->sc_ioh, in nsclpcsio_isa_attach() 324 kprintf("debugging: iobase = %x\n", iobase); in nsclpcsio_isa_attach() 326 iobase, sio_ld[i].ld_iosize, sio_ld[i].ld_iosize, RF_ACTIVE); in nsclpcsio_isa_attach() 333 sc->sc_ld_ioh[sio_ld[i].ld_num] = iobase; in nsclpcsio_isa_attach()
|
/dragonfly/sys/netgraph7/bluetooth/drivers/bt3c/ |
H A D | ng_bt3c_pccard.c | 616 sc->iobase = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->iobase_rid, in bt3c_pccard_attach() 618 if (sc->iobase == NULL) { in bt3c_pccard_attach() 622 sc->iot = rman_get_bustag(sc->iobase); in bt3c_pccard_attach() 623 sc->ioh = rman_get_bushandle(sc->iobase); in bt3c_pccard_attach() 693 if (sc->iobase != NULL) { in bt3c_pccard_attach() 695 sc->iobase_rid, sc->iobase); in bt3c_pccard_attach() 697 sc->iobase = NULL; in bt3c_pccard_attach() 725 bus_release_resource(dev, SYS_RES_IOPORT, sc->iobase_rid, sc->iobase); in bt3c_pccard_detach() 726 sc->iobase = NULL; in bt3c_pccard_detach()
|
H A D | ng_bt3c_var.h | 65 struct resource *iobase; /* iobase */ member
|
/dragonfly/sys/dev/netif/wi/ |
H A D | if_wi.c | 2067 sc->iobase = bus_alloc_resource(dev, SYS_RES_IOPORT, in wi_alloc() 2071 sc->iobase = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, in wi_alloc() 2075 if (sc->iobase == NULL) { in wi_alloc() 2080 sc->wi_io_addr = rman_get_start(sc->iobase); in wi_alloc() 2081 sc->wi_btag = rman_get_bustag(sc->iobase); in wi_alloc() 2082 sc->wi_bhandle = rman_get_bushandle(sc->iobase); in wi_alloc() 2116 if (sc->iobase != NULL) { in wi_free() 2117 bus_release_resource(dev, SYS_RES_IOPORT, sc->iobase_rid, sc->iobase); in wi_free() 2118 sc->iobase = NULL; in wi_free()
|
H A D | if_wivar.h | 96 struct resource * iobase; member
|
/dragonfly/sys/dev/crypto/tpm/ |
H A D | tpm.c | 969 tpm_legacy_probe(bus_space_tag_t iot, bus_addr_t iobase) in tpm_legacy_probe() argument 976 if (!tpm_enabled || iobase == -1) in tpm_legacy_probe() 980 if (bus_space_map(iot, iobase, 2, 0, &ioh)) in tpm_legacy_probe() 983 ioh = iobase; in tpm_legacy_probe()
|
/dragonfly/sys/dev/netif/pcn/ |
H A D | if_pcn.c | 501 u_int32_t iobase, membase, irq; in pcn_attach() local 504 iobase = pci_read_config(dev, PCN_PCI_LOIO, 4); in pcn_attach() 515 pci_write_config(dev, PCN_PCI_LOIO, iobase, 4); in pcn_attach()
|
/dragonfly/sys/dev/netif/lge/ |
H A D | if_lge.c | 442 uint32_t iobase, membase, irq; in lge_attach() local 445 iobase = pci_read_config(dev, LGE_PCI_LOIO, 4); in lge_attach() 456 pci_write_config(dev, LGE_PCI_LOIO, iobase, 4); in lge_attach()
|
/dragonfly/sys/dev/netif/sf/ |
H A D | if_sf.c | 655 u_int32_t iobase, membase, irq; in sf_attach() local 658 iobase = pci_read_config(dev, SF_PCI_LOIO, 4); in sf_attach() 669 pci_write_config(dev, SF_PCI_LOIO, iobase, 4); in sf_attach()
|
/dragonfly/sys/dev/netif/ste/ |
H A D | if_ste.c | 868 u_int32_t iobase, membase, irq; in ste_attach() local 871 iobase = pci_read_config(dev, STE_PCI_LOIO, 4); in ste_attach() 881 pci_write_config(dev, STE_PCI_LOIO, iobase, 4); in ste_attach()
|
/dragonfly/sys/dev/netif/vr/ |
H A D | if_vr.c | 664 uint32_t iobase, membase, irq; in vr_attach() local 667 iobase = pci_read_config(dev, VR_PCI_LOIO, 4); in vr_attach() 677 pci_write_config(dev, VR_PCI_LOIO, iobase, 4); in vr_attach()
|
/dragonfly/sys/dev/netif/wb/ |
H A D | if_wb.c | 721 uint32_t iobase, membase, irq; in wb_attach() local 724 iobase = pci_read_config(dev, WB_PCI_LOIO, 4); in wb_attach() 734 pci_write_config(dev, WB_PCI_LOIO, iobase, 4); in wb_attach()
|
/dragonfly/sys/dev/netif/rl/ |
H A D | if_rl.c | 750 uint32_t iobase, membase, irq; in rl_attach() local 753 iobase = pci_read_config(dev, RL_PCI_LOIO, 4); in rl_attach() 763 pci_write_config(dev, RL_PCI_LOIO, iobase, 4); in rl_attach()
|
/dragonfly/sys/dev/netif/my/ |
H A D | if_my.c | 782 u_int32_t command, iobase; in my_attach() local 817 iobase = pci_read_config(dev, MY_PCI_LOIO, 4); in my_attach() 818 if (iobase & 0x300) in my_attach()
|
/dragonfly/sys/dev/netif/nge/ |
H A D | if_nge.c | 741 uint32_t iobase, membase, irq; in nge_attach() local 744 iobase = pci_read_config(dev, NGE_PCI_LOIO, 4); in nge_attach() 755 pci_write_config(dev, NGE_PCI_LOIO, iobase, 4); in nge_attach()
|
/dragonfly/sys/dev/netif/fxp/ |
H A D | if_fxp.c | 365 u_int32_t iobase, membase, irq; in fxp_powerstate_d0() local 369 iobase = pci_read_config(dev, FXP_PCI_IOBA, 4); in fxp_powerstate_d0() 380 pci_write_config(dev, FXP_PCI_IOBA, iobase, 4); in fxp_powerstate_d0()
|
/dragonfly/sys/dev/netif/sis/ |
H A D | if_sis.c | 950 uint32_t iobase, membase, irq; in sis_attach() local 953 iobase = pci_read_config(dev, SIS_PCI_LOIO, 4); in sis_attach() 964 pci_write_config(dev, SIS_PCI_LOIO, iobase, 4); in sis_attach()
|
/dragonfly/sys/dev/netif/stge/ |
H A D | if_stge.c | 594 uint32_t iobase, membase, irq; in stge_attach() local 597 iobase = pci_read_config(dev, STGE_PCIR_LOIO, 4); in stge_attach() 608 pci_write_config(dev, STGE_PCIR_LOIO, iobase, 4); in stge_attach()
|
/dragonfly/sys/dev/netif/xl/ |
H A D | if_xl.c | 1228 u_int32_t iobase, membase, irq; in xl_attach() local 1231 iobase = pci_read_config(dev, XL_PCI_LOIO, 4); in xl_attach() 1242 pci_write_config(dev, XL_PCI_LOIO, iobase, 4); in xl_attach()
|
/dragonfly/sys/dev/netif/dc/ |
H A D | if_dc.c | 1616 uint32_t iobase, membase, irq; in dc_acpi() local 1620 iobase = pci_read_config(dev, DC_PCI_CFBIO, 4); in dc_acpi() 1632 pci_write_config(dev, DC_PCI_CFBIO, iobase, 4); in dc_acpi()
|