HomeSort by: relevance | last modified time | path
    Searched defs:PORT (Results 1 - 3 of 3) sorted by relevancy

  /src/regress/sys/arch/i386/ioperm/
ioperm.c 47 /* arbitrary port to test */
50 #define PORT (IO_TIMER1+TIMER_CNTR0)
53 inb(uint16_t port)
57 __asm __volatile("inb %1, %0" : "=a"(data) : "id"(port));
78 inb(PORT);
115 buf2[PORT / 8 / sizeof(unsigned long)] &=
116 ~(1 << (PORT % (8 * sizeof(unsigned long))));
133 buf2[PORT / 8 / sizeof(unsigned long)] |=
134 (1 << (PORT % (8 * sizeof(unsigned long))));
  /src/regress/sys/arch/i386/iopl/
iopl.c 48 /* arbitrary port to test */
51 #define PORT (IO_TIMER1+TIMER_CNTR0)
54 inb(uint16_t port)
58 __asm __volatile("inb %1, %0" : "=a"(data) : "id"(port));
79 inb(PORT);
  /src/sys/dev/ppbus/
ppbus_gpio.c 51 #define PORT(r, b, i) { PPBUS_R##r##TR, PPBUS_W##r##TR, b, i}
57 } ppbus_port[PPBUS_NPINS] = { /* parallel port wiring: */
58 PORT(C, 0, 1), /* 1: /C0 Output */
59 PORT(D, 0, 0), /* 2: D0 Output */
60 PORT(D, 1, 0), /* 3: D1 Output */
61 PORT(D, 2, 0), /* 4: D2 Output */
62 PORT(D, 3, 0), /* 5: D3 Output */
63 PORT(D, 4, 0), /* 6: D4 Output */
64 PORT(D, 5, 0), /* 7: D5 Output */
65 PORT(D, 6, 0), /* 8: D6 Output *
136 u_char port = ppbus_io(sc->sc_dev, ppbus_port[pin].rreg, NULL, 0, 0); local in function:gpio_ppbus_pin_read
145 u_char port = ppbus_io(sc->sc_dev, ppbus_port[pin].rreg, NULL, 0, 0); local in function:gpio_ppbus_pin_write
    [all...]

Completed in 146 milliseconds