Home
last modified time | relevance | path

Searched full:ioport (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/sys/dev/hptmv/
H A Datapi.h358 #define mGetErrorCode(IOPort) (UCHAR)InPort((PUCHAR)&IOPort->Data+1) argument
359 #define mSetFeaturePort(IOPort,x) OutPort((PUCHAR)&IOPort->Data+1, x) argument
360 #define mSetBlockCount(IOPort,x) OutPort(&IOPort->BlockCount, x) argument
361 #define mGetBlockCount(IOPort) (UCHAR)InPort(&IOPort->BlockCount) argument
362 #define mGetInterruptReason(IOPort) (UCHAR)InPort(&IOPort->BlockCount) argument
363 #define mSetBlockNumber(IOPort,x) OutPort(&IOPort->BlockNumber, x) argument
364 #define mGetBlockNumber(IOPort) (UCHAR)InPort((PUCHAR)&IOPort->BlockNumber) argument
365 #define mGetByteLow(IOPort) (UCHAR)InPort(&IOPort->CylinderLow) argument
366 #define mSetCylinderLow(IOPort,x) OutPort(&IOPort->CylinderLow, x) argument
367 #define mGetByteHigh(IOPort) (UCHAR)InPort(&IOPort->CylinderHigh) argument
[all …]
H A Dgui_lib.c461 pInfo->IoPort = 0; in hpt_get_channel_info()
H A Dhptintf.h324 ULONG IoPort; /* IDE Base Port Address */ member
/freebsd/usr.sbin/bhyve/
H A Dpctestdev.c61 #define IOPORT_NAME "pc-testdev-ioport"
94 struct inout_port debugexit, ioport, irq; in pctestdev_init() local
132 ioport.name = IOPORT_NAME; in pctestdev_init()
133 ioport.port = IOPORT_BASE; in pctestdev_init()
134 ioport.size = IOPORT_LEN; in pctestdev_init()
135 ioport.flags = IOPORT_F_INOUT; in pctestdev_init()
136 ioport.handler = pctestdev_ioport_io; in pctestdev_init()
137 ioport.arg = NULL; in pctestdev_init()
150 err = register_inout(&ioport); in pctestdev_init()
170 (void)unregister_inout(&ioport); in pctestdev_init()
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/
H A Dst,stm32-pinctrl.yaml110 st,bank-ioport:
112 Should correspond to the EXTI IOport selection (EXTI line used
/freebsd/sys/dev/aic7xxx/
H A Dahc_isa.c99 printf("ahc_isa_identify %d: ioport 0x%x " in ahc_isa_identify()
272 error = aic7770_config(ahc, entry, /*unused ioport arg*/0); in ahc_isa_attach()
/freebsd/share/examples/drivers/
H A Dmake_device_driver.sh276 int ioport;
324 u_int32_t ioport;
340 ioport = res[i].ioport;
342 if ((ioport == 0) && (irq == 0))
346 bus_set_resource(child, SYS_RES_IOPORT, 0, ioport, NUMPORTS);
/freebsd/sys/powerpc/psim/
H A Dpsim-tree85 # ./ioport 1
/freebsd/sys/dev/quicc/
H A Dquicc_bfe.h41 int sc_rtype; /* SYS_RES_{IOPORT|MEMORY}. */
/freebsd/sys/dev/scc/
H A Dscc_bfe.h127 int sc_rtype; /* SYS_RES_{IOPORT|MEMORY}. */
/freebsd/sys/dev/nctgpio/
H A Dnctgpio.c753 io2str(uint8_t ioport) in io2str() argument
755 switch (ioport) { in io2str()
773 NCT_VERBOSE_PRINTF(sc->dev, "write %s 0x%x ioport %d\n", in nct_io_set_group()
787 NCT_VERBOSE_PRINTF(sc->dev, "read %s 0x%x ioport %d\n", in nct_io_read()
797 NCT_VERBOSE_PRINTF(sc->dev, "write %s 0x%x ioport %d\n", in nct_io_write()
/freebsd/sys/contrib/device-tree/Bindings/pci/
H A Dhost-generic-pci.yaml22 accessed via an ioport) and laid out with a direct correspondence to the
/freebsd/sys/dev/uart/
H A Duart_bus.h86 int sc_rtype; /* SYS_RES_{IOPORT|MEMORY}. */
/freebsd/sys/dev/igc/
H A Dif_igc.h317 struct resource *ioport; member
H A Dif_igc.c1682 if (sc->ioport != NULL) { in igc_free_pci_resources()
1684 rman_get_rid(sc->ioport), sc->ioport); in igc_free_pci_resources()
1685 sc->ioport = NULL; in igc_free_pci_resources()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dmhi.c13 #include <linux/ioport.h>
/freebsd/sys/dev/e1000/
H A Dif_em.c2450 sc->ioport = bus_alloc_resource_any(dev, SYS_RES_IOPORT, in em_allocate_pci_resources()
2452 if (sc->ioport == NULL) { in em_allocate_pci_resources()
2454 "Unable to allocate bus resource: ioport\n"); in em_allocate_pci_resources()
2459 rman_get_bustag(sc->ioport); in em_allocate_pci_resources()
2461 rman_get_bushandle(sc->ioport); in em_allocate_pci_resources()
2747 if (sc->ioport != NULL) { in em_free_pci_resources()
2749 rman_get_rid(sc->ioport), sc->ioport); in em_free_pci_resources()
2750 sc->ioport = NULL; in em_free_pci_resources()
H A Dif_em.h481 struct resource *ioport; member
/freebsd/sys/dev/hptrr/
H A Dhptintf.h459 HPT_U32 IoPort; /* IDE Base Port Address */ member
467 HPT_U32 IoPort; /* IDE Base Port Address */ member
/freebsd/sys/dev/pccbb/
H A Dpccbb.c137 "Starting ioport for 16-bit cards");
142 "Starting ioport for 32-bit cards");
/freebsd/sys/dev/hpt27xx/
H A Dhptintf.h546 HPT_U32 IoPort; /* IDE Base Port Address */ member
554 HPT_U32 IoPort; /* IDE Base Port Address */ member
/freebsd/sys/dev/hptnr/
H A Dhptintf.h542 HPT_U32 IoPort; /* IDE Base Port Address */ member
550 HPT_U32 IoPort; /* IDE Base Port Address */ member
/freebsd/sys/contrib/device-tree/src/arm64/st/
H A Dstm32mp251.dtsi936 st,bank-ioport = <11>;
/freebsd/contrib/libpcap/
H A Dpcap-dos.c1538 #include "msdos/pm_drvr/ioport.h"
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dstm32mp151.dtsi1969 st,bank-ioport = <11>;

12